/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */
.site-main {
width: 100%;
max-width:100%!important;
background-color:#F8F9FA;
}
.inner-page main ,.inner-page .elementor-57 ,.inner-page .elementor-113 ,.inner-page .elementor-64 ,.inner-page .elementor-101 {
	margin-top:120px;
}

.logged-in .guest-only{
    display:none !important;
}
/* Tighten the restriction for logged-out users */
.login-only {
    display: none !important;
}

/* Re-enable display for logged-in users */
.logged-in .login-only {
    display: block !important;
}

#parent-category,
#child-category{
    width:100%;
    padding:10px;
    margin-bottom:15px;
    border:1px solid #ddd;
    border-radius:6px;
}
.working-hours-wrapper{
    margin-top:20px;
    padding:15px;
    background:#f8f8f8;
    border-radius:10px;
    border:1px solid #e5e5e5;
}

.working-hours-title{
    font-size:18px;
    font-weight:600;
    margin-bottom:10px;
    color:#222;
}

.working-hours-content{
    font-size:15px;
    line-height:1.7;
    color:#555;
}

.working-hours-content strong{
    color:#000;
}
	/* Social Media Row Alignment */
.social-media-wrapper {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #edf2f7;
}

.social-icon {
    
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-flex;
}

.social-icon:hover {
    transform: translateY(-2px);
}

/* Custom color overrides on hover */
.social-icon.facebook {
    color: #1877f2;
}
.social-icon.facebook:hover {
color: #a0aec0;
}

.social-icon.twitter {
    color: #1da1f2;
}
.social-icon.twitter:hover {
    color: #a0aec0;
}

.social-icon.instagram {
    color: #e1306c;
}
.social-icon.instagram:hover {
    color: #a0aec0;
}
/* Custom hover color override for LinkedIn */
.social-icon.linkedin {
    color: #0077b5;
}
.social-icon.linkedin:hover {
    color: #a0aec0;
}
.social-icon.email {
    color: #cc3333;
}
.social-icon.email:hover {
    color: #a0aec0;
}
 /* =========================================
   Single Business Profile Page Styling
   ========================================= */
.directory-profile-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 36px 20px 60px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #334155;
}

/* -----------------------------------------
   1. Top Hero / Header Card
   ----------------------------------------- */
.directory-header {
    background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 32px;
    display: flex;
    align-items: flex-start;
    gap: 28px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

/* Framed Square Logo Badge (Matches Archive Cards) */
.contact-featured-image {
    width: 112px;
    height: 112px;
    flex-shrink: 0;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 18px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.contact-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.directory-header-content {
    flex: 1;
    min-width: 0;
}

.directory-header-content .entry-title {
    margin: 0 0 12px 0;
    font-size: clamp(1.65rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    letter-spacing: -0.02em;
}

/* Category & Verified Badges Row */
.hero-category-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.hero-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background-color: #eff6ff;
    color: #2563eb !important;
    border: 1px solid #bfdbfe;
    border-radius: 999px;
    font-size: 0.825rem;
    font-weight: 600;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.hero-category-badge:hover {
    background-color: #2563eb;
    color: #ffffff !important;
    border-color: #2563eb;
}

.hero-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background-color: #ecfdf5;
    color: #059669;
    border: 1px solid #a7f3d0;
    border-radius: 999px;
    font-size: 0.825rem;
    font-weight: 700;
}

.directory-content {
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    border-top: 1px solid #f1f5f9;
    padding-top: 16px;
}

.directory-content p:last-child {
    margin-bottom: 0;
}

/* =========================================
   Listing Photo Gallery (4 in a Row)
   ========================================= */
.listing-gallery-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.listing-gallery-section .section-heading {
    margin: 0 0 20px 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
}

/* Forces exactly 4 columns on desktop, responsive down to mobile */
.listing-gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.listing-gallery-grid .gallery-item {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.gallery-lightbox-link {
    display: block;
    width: 100%;
    height: 100%;
}

.listing-gallery-grid .gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.listing-gallery-grid .gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.08);
    border-color: #2563eb;
}

.listing-gallery-grid .gallery-item:hover img {
    transform: scale(1.05);
}

/* Tablet & Mobile Breakpoints */
@media (max-width: 900px) {
    .listing-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .listing-gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   Lightbox Modal Popup Styles
   ========================================= */
.gallery-modal-overlay {
    display: none;
    position: fixed;
    z-index: 99999;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.88);
    backdrop-filter: blur(6px);
    align-items: center;
    justify-content: center;
    padding: 20px;
    box-sizing: border-box;
}

.gallery-modal-overlay.active {
    display: flex;
}

.gallery-modal-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    background: #ffffff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35);
    animation: modalPopIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-modal-content img {
    max-width: 100%;
    max-height: 85vh;
    display: block;
    object-fit: contain;
}

.gallery-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    background: rgba(15, 23, 42, 0.75);
    color: #ffffff;
    border: none;
    border-radius: 50%;
    font-size: 22px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s ease;
}

.gallery-modal-close:hover {
    background: #2563eb;
}

@keyframes modalPopIn {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* -----------------------------------------
   2. Two-Column Contact & Map Grid
   ----------------------------------------- */
.directory-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-bottom: 36px;
}

.card-contact,
.card-location {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    display: flex;
    flex-direction: column;
}

.card-title {
    margin: 0 0 20px 0;
    padding-bottom: 14px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    display: flex;
    align-items: center;
}

/* Contact Info Rows */
.info-label {
    margin: 14px 0 4px 0;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #64748b;
}

.info-label:first-of-type {
    margin-top: 0;
}

.info-value {
    margin: 0 0 10px 0;
    font-size: 0.975rem;
    font-weight: 500;
    color: #0f172a;
    line-height: 1.5;
    word-break: break-word;
}

.info-value a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
}

.info-value a:hover {
    text-decoration: underline;
}

/* Working Hours Box */
.working-hours-wrapper {
    margin-top: 16px;
    padding: 16px;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
}

.working-hours-title {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f172a;
    margin-bottom: 10px;
}

.working-hours-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
    font-size: 0.9rem;
    color: #475569;
}

.working-hours-content .today-highlight {
    background-color: #eff6ff;
    color: #1d4ed8;
    font-weight: 700;
    padding: 6px 10px;
    border-radius: 6px;
    border-left: 3px solid #2563eb;
}

/* Social Media & Email Icon Pills */
.social-media-wrapper {
    margin-top: auto;
    padding-top: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background-color: #f1f5f9;
    color: #334155 !important;
    border: 1px solid #e2e8f0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.social-icon svg {
    width: 18px;
    height: 18px;
}

.social-icon:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.2);
}

/* Google Map Container */
.map-wrapper {
    flex: 1;
    min-height: 320px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    background-color: #f8fafc;
    display: flex;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    min-height: 340px;
    display: block;
}

.map-placeholder {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-style: italic;
    font-size: 0.95rem;
}

/* -----------------------------------------
   3. Dynamic FAQ Accordion Section
   ----------------------------------------- */
.listing-faq-section {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 32px;
    margin-bottom: 28px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.listing-faq-section .section-heading {
    margin: 0 0 22px 0;
    font-size: 1.4rem;
    font-weight: 800;
    color: #0f172a;
}

.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background-color: #ffffff;
    overflow: hidden;
    transition: border-color 0.2s ease;
}

.faq-accordion-item[open] {
    border-color: #bfdbfe;
    background-color: #f8fafc;
}

.faq-accordion-trigger {
    list-style: none;
    padding: 16px 20px;
    font-size: 1rem;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    user-select: none;
}

.faq-accordion-trigger::-webkit-details-marker {
    display: none;
}

.faq-accordion-trigger:hover {
    color: #2563eb;
}

/* Pure CSS Plus/Minus Indicator for .faq-icon-state */
.faq-icon-state {
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 6px;
    background-color: #eff6ff;
    color: #2563eb;
    flex-shrink: 0;
}

.faq-icon-state::before,
.faq-icon-state::after {
    content: "";
    position: absolute;
    background-color: currentColor;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: transform 0.2s ease;
}

.faq-icon-state::before {
    width: 10px;
    height: 2px;
}

.faq-icon-state::after {
    width: 2px;
    height: 10px;
}

.faq-accordion-item[open] .faq-icon-state::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-accordion-panel {
    padding: 0 20px 18px 20px;
    font-size: 0.95rem;
    line-height: 1.65;
    color: #475569;
}

.faq-accordion-panel p {
    margin: 0;
}

.faq-link {
    color: #2563eb;
    font-weight: 600;
    text-decoration: none;
}

.faq-link:hover {
    text-decoration: underline;
}

/* -----------------------------------------
   4. Bottom Tags Section
   ----------------------------------------- */
.post-tags-container {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.tags-label {
    font-size: 0.875rem;
    font-weight: 700;
    color: #0f172a;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tags-list a {
    display: inline-block;
    padding: 4px 12px;
    background-color: #f1f5f9;
    color: #475569 !important;
    border-radius: 6px;
    font-size: 0.825rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.tags-list a:hover {
    background-color: #0f172a;
    color: #ffffff !important;
}

/* -----------------------------------------
   5. Mobile & Tablet Responsive Adjustments
   ----------------------------------------- */
@media (max-width: 860px) {
    .directory-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .directory-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        padding: 24px 20px;
    }

    .hero-category-list {
        justify-content: center;
    }

    .directory-content {
        text-align: left;
    }

    .card-contact,
    .card-location,
    .listing-faq-section {
        padding: 22px 18px;
    }
}

/* =========================================
   Modern Business Directory Archive Header
   ========================================= */
.directory-archive-header {
    background: linear-gradient(135deg, #f8fafc 0%, #eff6ff 100%);
    border-bottom: 1px solid #e2e8f0;
    padding: 48px 20px;
    margin-bottom: 32px;
    text-align: center;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

.directory-archive-header .header-container {
    max-width: 820px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

/* Reorders the badge so it appears neatly ABOVE the title */
.directory-archive-header .header-badge {
    order: -1;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 6px 14px;
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #0f172a;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
}

/* Adds a crisp emerald green "verified" status dot */
.directory-archive-header .header-badge::before {
    content: "";
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.18);
}

/* Archive Title ("Category: Plumber") */
.directory-archive-header .archive-title {
    margin: 0;
    font-size: clamp(1.85rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #475569; /* Slightly softer tone for "Category:" prefix */
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Highlights the actual category name ("Plumber") */
.directory-archive-header .archive-title span {
    color: #0f172a;
    position: relative;
    display: inline-block;
}

/* Optional: Clean styling if a category description exists */
.directory-archive-header .archive-description-text {
    max-width: 640px;
    margin: 4px auto 0 auto;
    font-size: 1rem;
    line-height: 1.6;
    color: #475569;
}

.directory-archive-header .archive-description-text p {
    margin: 0;
}

/* Mobile Adjustments */
@media (max-width: 600px) {
    .directory-archive-header {
        padding: 36px 16px;
        margin-bottom: 24px;
    }
}
/* =========================================
   Professional Business Directory Styling
   ========================================= */
.directory-archive-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 20px 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
}

/* Responsive Grid Layout */
.directory-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 28px;
}

/* Individual Card */
.directory-listing-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.directory-listing-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.09);
    border-color: #cbd5e1;
}
.listing-image-wrapper {
    position: relative;
    width: 100%;
    height: 120px;
    /* Soft, subtle modern gradient backdrop */
    background: linear-gradient(135deg, #f1f5f9 0%, #e2e8f0 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
}

/* Framed White Square Container for the Logo */
.listing-image-wrapper a {
    width: 84px;
    height: 84px;
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px; /* Smooth modern rounded corners */
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.06); /* Soft elevation shadow */
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

/* Hover lift on the logo badge itself */
.directory-listing-card:hover .listing-image-wrapper a {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 18px rgba(15, 23, 42, 0.1);
}

/* Keeps the square logo crisp and well-proportioned inside the badge */
.listing-featured-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

nav.pagination {
    max-width: 1240px;
    margin: 44px auto 20px auto;
    padding: 0 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 16px;
}

nav.pagination .nav-previous a,
nav.pagination .nav-next a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 11px 22px;
    background-color: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    font-size: 0.925rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.04);
    transition: all 0.2s ease;
}

/* Hover State */
nav.pagination .nav-previous a:hover,
nav.pagination .nav-next a:hover {
    background-color: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 14px rgba(37, 99, 235, 0.2);
}

/* Arrow Animation on Hover */
nav.pagination .meta-nav {
    display: inline-block;
    transition: transform 0.2s ease;
    line-height: 1;
}

nav.pagination .nav-previous a:hover .meta-nav {
    transform: translateX(-3px);
}

nav.pagination .nav-next a:hover .meta-nav {
    transform: translateX(3px);
}

/* Mobile Responsive Stacking */
@media (max-width: 480px) {
    nav.pagination {
        gap: 12px;
    }

    nav.pagination .nav-previous,
    nav.pagination .nav-next {
        flex: 1;
    }

    nav.pagination .nav-previous a,
    nav.pagination .nav-next a {
        width: 100%;
        padding: 11px 14px;
    }
}
/* Matching clean fallback icon if a business has no logo */
.listing-placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    background: transparent;
}

/* Card Content Body */
.listing-card-body {
    padding: 22px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

/* Business Title */
.listing-title {
    margin: 0 0 10px 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.35;
}

.listing-title a {
    color: #0f172a;
    text-decoration: none;
    transition: color 0.2s ease;
}

.listing-title a:hover {
    color: #2563eb;
}

/* Short Description */
.listing-excerpt {
    color: #475569;
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 18px;
}

/* Meta Rows (Phone & Website) */
.listing-meta-group {
    border-top: 1px solid #f1f5f9;
    padding-top: 14px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.listing-meta-row {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #334155;
}

.meta-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 6px;
    background-color: #eff6ff;
    color: #2563eb;
    flex-shrink: 0;
}

.meta-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.meta-text a {
    color: #334155;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.meta-text a:hover {
    color: #2563eb;
    text-decoration: underline;
}

.meta-muted {
    color: #94a3b8;
    font-style: italic;
    font-size: 0.85rem;
}

/* Bottom Action Button (Pinned to bottom) */
.listing-action-wrapper {
    margin-top: auto;
}

.btn-view-details {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 11px 18px;
    background-color: #0f172a;
    color: #ffffff !important;
    font-size: 0.925rem;
    font-weight: 600;
    text-decoration: none !important;
    border-radius: 8px;
    transition: background-color 0.2s ease, transform 0.15s ease;
    box-sizing: border-box;
}

.btn-view-details:hover {
    background-color: #2563eb;
}

.btn-view-details svg {
    transition: transform 0.2s ease;
}

.btn-view-details:hover svg {
    transform: translateX(3px);
}

/* Pagination Controls */
.directory-pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.directory-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #334155;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.2s ease;
}

.directory-pagination .page-numbers:hover {
    border-color: #2563eb;
    color: #2563eb;
}

.directory-pagination .page-numbers.current {
    background: #2563eb;
    border-color: #2563eb;
    color: #ffffff;
}



body #wpuf-login-form label {
    display: block;
    font-size: large;
    font-weight: 500;
    margin-bottom: 10px;
}

.elementor-element.elementor-element-85972d0.elementor-widget.elementor-widget-shortcode {
    background-color: #f1f1f1!important;
    border: 1px solid #c7c7c9;
    border-radius: 10px;
    padding: 20px;
}

.elementor-element.elementor-element-4c5c336.elementor-widget.elementor-widget-shortcode {
	background-color: #f1f1f1!important;
    border: 1px solid #c7c7c9;
    border-radius: 10px;
    padding: 20px;
}




/* ==========================================================================
   NATIVE CSS ACCORDION / FAQ DESIGNS new css
   ========================================================================== */
.listing-faq-section {
margin-top:30px}
.accordion-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Individual Drawer Item Styles */
.faq-accordion-item {
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    background: #ffffff;
    overflow: hidden;
    transition: all 0.2s ease-in-out;
}

.faq-accordion-item[open] {
    border-color: #cbd5e1;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

/* Accordion Trigger Panel Headers */
.faq-accordion-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    list-style: none; /* Removes native standard browser arrows */
    user-select: none;
    transition: background-color 0.2s;
}

/* Standardizes custom navigation item overrides for WebKit */
.faq-accordion-trigger::-webkit-details-marker {
    display: none;
}

.faq-accordion-trigger:hover {
    background-color: #f8fafc;
    color: #0f172a;
}

/* Dynamic CSS Drop Arrow Styling */
.faq-icon-state {
    position: relative;
    width: 20px;
    height: 20px;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.faq-icon-state::before,
.faq-icon-state::after {
    content: '';
    position: absolute;
    background-color: #64748b;
    transition: transform 0.2s ease;
}

/* Horizontal line component */
.faq-icon-state::before {
    top: 9px;
    left: 2px;
    width: 16px;
    height: 2px;
}

/* Vertical line component */
.faq-icon-state::after {
    top: 2px;
    left: 9px;
    width: 2px;
    height: 16px;
}

/* Rotates and hides lines automatically when parent details toggle to [open] */
.faq-accordion-item[open] .faq-icon-state {
    transform: rotate(45deg);
}
.faq-accordion-item[open] .faq-accordion-trigger {
    background-color: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

/* Interior Panel Spacing */
.faq-accordion-panel {
    padding: 20px 24px;
    background: #ffffff;
}

.faq-accordion-panel p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.65;
    color: #475569;
}
/* Category Container Layout */
.hero-category-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 14px;
}

/* Category Badge Styling (Pill format) */
.hero-category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.08);
    color: #0f172a;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 6px 14px;
    border-radius: 9999px;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.15);
    transition: all 0.2s ease;
	 box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-category-badge svg {
    opacity: 0.7;
    color: #0f172a;
}

/* Hover Effect for Hero Category Badges */
.hero-category-badge:hover {
    background: #ffffff;
    color: #0f172a;
    border-color: #ffffff;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-category-badge:hover svg {
    color: #0f172a;
}
.directory-content{
	margin-top:10px;
}
/* Adjust layout alignment for mobile screens */
@media (max-width: 768px) {
    .hero-badge-row,
    .hero-category-list {
        justify-content: center;
    }
	.inner-page main , .inner-page .elementor-57 ,.inner-page .elementor-113 ,.inner-page .elementor-64 ,.inner-page .elementor-101 {
	margin-top:170px;
}
	.directory-archive-container{
		padding:20px;
	}
}


/*  new css */

.hero-verified-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	background-color: #e8f5e9;
	color: #2e7d32;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 20px;
	border: 1px solid #a5d6a7;
}
.social-icon.tiktok {
    color: #000000!important;
}
.social-icon.youtube {
    color: #FF0033!important;
}
.social-icon.pinterest  {
    color: #E60023!important;
}

.directory-content a , .listing-faq-section a {
    color: #000ecf!important;
}

.working-hours-content div {
    margin-bottom: 4px;
}

.working-hours-content .today-highlight {
    font-weight: bold;
    color: #0073aa; /* Change accent text color */
  
}
.wpuf-form-add.wpuf-theme-style {
    max-width: 820px;
    margin: 40px auto;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #334155;
    box-sizing: border-box;
}

/* Form Fields List */
.wpuf-form-add ul.wpuf-form {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.wpuf-form-add ul.wpuf-form li.wpuf-el {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Field Labels */
.wpuf-form-add .wpuf-label label {
    font-size: 0.925rem;
    font-weight: 700;
    color: #0f172a;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.wpuf-form-add .wpuf-label .required {
    color: #ef4444;
    font-weight: 700;
}

/* Text Inputs, URLs, Emails, Textareas & Dropdowns */
.wpuf-form-add input[type="text"],
.wpuf-form-add input[type="email"],
.wpuf-form-add input[type="url"],
.wpuf-form-add select,
.wpuf-form-add textarea {
    width: 100%;
    padding: 12px 16px;
    background-color: #f8fafc;
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    font-size: 0.95rem;
    color: #0f172a;
    transition: all 0.2s ease;
    box-sizing: border-box;
}

.wpuf-form-add input[type="text"]:focus,
.wpuf-form-add input[type="email"]:focus,
.wpuf-form-add input[type="url"]:focus,
.wpuf-form-add select:focus,
.wpuf-form-add textarea:focus {
    outline: none;
    border-color: #2563eb;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Placeholder Styling */
.wpuf-form-add ::placeholder {
    color: #94a3b8;
    opacity: 1;
}

/* Helper & Help Text */
.wpuf-form-add .wpuf-help {
    font-size: 0.825rem;
    color: #64748b;
    margin-top: 4px;
}

/* File Upload & Logo Selector Buttons */
.wpuf-form-add .wpuf-attachment-upload-filelist .button,
.wpuf-form-add .wpuf-insert-image {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background-color: #f1f5f9 !important;
    color: #0f172a !important;
    border: 1px solid #cbd5e1 !important;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: none !important;
    cursor: pointer;
    transition: all 0.2s ease;
}

.wpuf-form-add .wpuf-attachment-upload-filelist .button:hover,
.wpuf-form-add .wpuf-insert-image:hover {
    background-color: #2563eb !important;
    color: #ffffff !important;
    border-color: #2563eb !important;
}

/* Rich Text Editor Container Fixes */
.wpuf-form-add .wp-editor-wrap {
    border: 1px solid #cbd5e1;
    border-radius: 10px;
    overflow: hidden;
    background: #f8fafc;
}

.wpuf-form-add .mce-tinymce {
    border: none !important;
}

/* reCAPTCHA Wrapper Box */
.wpuf-form-add li.wpuf-el.recaptcha {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    padding: 16px;
    border-radius: 10px;
    display: flex;
    justify-content: center;
}

/* Submit Button Row */
.wpuf-form-add li.wpuf-submit {
    margin-top: 12px;
    padding-top: 20px;
    border-top: 1px solid #f1f5f9;
}

.wpuf-form-add .wpuf-submit-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background-color: #0f172a !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.wpuf-form-add .wpuf-submit-button:hover:not(:disabled) {
    background-color: #2563eb !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(37, 99, 235, 0.25);
}

.wpuf-form-add .wpuf-submit-button:disabled {
    background-color: #94a3b8 !important;
    cursor: not-allowed;
    opacity: 0.7;
    transform: none;
    box-shadow: none;
}

/* Mobile Responsive Tweaks */
@media (max-width: 768px) {
    .wpuf-form-add.wpuf-theme-style {
        padding: 24px 16px;
        margin: 16px;
        border: none;
        box-shadow: none;
        background: transparent;
    }
}