/* ============================================================
   MFL ELEMENTOR WIDGETS — MASTER STYLESHEET
   Pixel-perfect replica of the React prototype
   Typography: Poppins (headings), Inter (body), Caveat (accents)
   Primary: #0e7490 (teal-600), Accent: #06b6d4 (cyan-500)
   ============================================================ */

/* === RESET & BASE === */
.mfl-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    width: 100%;
}

/* === SHARED TYPOGRAPHY === */
.mfl-subtitle {
    font-family: 'Caveat', cursive !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
    color: #0e7490 !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: 0.02em !important;
}
.mfl-subtitle--light {
    color: #67e8f9 !important;
}

.mfl-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
}
.mfl-title--left { text-align: left !important; }
.mfl-title--light { color: #ffffff !important; }

.mfl-desc {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.05rem !important;
    color: #64748b !important;
    line-height: 1.7 !important;
    max-width: 640px;
    margin: 0 auto;
}

.mfl-section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.mfl-section-footer {
    text-align: center;
    margin-top: 2.5rem;
}

/* === SHARED BUTTONS === */
.mfl-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1.75rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}
.mfl-btn--primary {
    background: linear-gradient(135deg, #0e7490, #0891b2);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(14, 116, 144, 0.3);
}
.mfl-btn--primary:hover {
    background: linear-gradient(135deg, #0c6680, #0780a0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14, 116, 144, 0.4);
    color: #ffffff;
}
.mfl-btn--outline {
    background: transparent;
    color: #0e7490;
    border-color: #0e7490;
}
.mfl-btn--outline:hover {
    background: #0e7490;
    color: #ffffff;
}
.mfl-btn--sm {
    padding: 0.5rem 1.25rem;
    font-size: 0.85rem;
}

/* ── Highlight text: wrap with {curly braces} in any title/subtitle/description ── */
.mfl-highlight {
    color:        var(--mfl-highlight-color,  var(--mfl-accent, #f97316));
    font-family:  var(--mfl-highlight-font,   inherit);
    font-style:   var(--mfl-highlight-style,  inherit);
    font-weight:  var(--mfl-highlight-weight, inherit);
}
/* Force all descendant elements (e.g. <span> returned by shortcodes like
   [ml_location_name]) to inherit their style from the .mfl-highlight parent.
   This ensures shortcode-generated HTML doesn't silently override the user's
   Highlight Font Family / Weight / Style settings. */
.mfl-highlight * {
    font-family: inherit !important;
    font-weight: inherit !important;
    font-style:  inherit !important;
    color:       inherit !important;
}

/* ============================================================
   0. HEADER — Matches React Prototype Exactly
   ============================================================ */

/* ── Top Bar ── */
.mfl-header__topbar {
    background: linear-gradient(135deg, #0a2e3d 0%, #0e3a4f 100%);
    color: rgba(255,255,255,0.85);
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    padding: 0.45rem 0;
    position: relative;
    z-index: 1001;
}
.mfl-header__topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 1.5rem;
}
.mfl-header--boxed .mfl-header__topbar-inner {
    max-width: 1280px;
    margin: 0 auto;
}
.mfl-header__topbar-left {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mfl-header__topbar-right {
    display: flex;
    align-items: center;
    gap: 0;
}
.mfl-header__topbar-item {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255,255,255,0.75);
    font-size: 0.8rem;
    white-space: nowrap;
    text-decoration: none;
    transition: color 0.2s;
}
.mfl-header__topbar-item svg {
    color: #67e8f9;
    flex-shrink: 0;
    width: 14px;
    height: 14px;
}
.mfl-header__topbar-divider {
    padding-left: 1.25rem;
    margin-left: 1.25rem;
    border-left: 1px solid rgba(255,255,255,0.2);
}
.mfl-header__topbar-link {
    cursor: pointer;
}
.mfl-header__topbar-link:hover {
    color: #67e8f9;
}
a.mfl-header__topbar-link {
    text-decoration: none;
}
.mfl-header__topbar-signin svg {
    color: rgba(255,255,255,0.6);
}

/* ── Main Nav ── */
.mfl-header__nav {
    background: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    z-index: 1000;
}
.mfl-header--sticky .mfl-header__nav {
    transition: background 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}
.mfl-header--sticky .mfl-header__nav.mfl-header__nav--scrolled {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(14px) saturate(1.4);
    -webkit-backdrop-filter: blur(14px) saturate(1.4);
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}
.mfl-header__nav-inner {
    display: flex;
    align-items: stretch;
}
.mfl-header--boxed .mfl-header__nav-inner {
    max-width: 1280px;
    margin: 0 auto;
}

/* ── Logo / Brand with Teal Shape ── */
.mfl-header__brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    text-decoration: none;
    color: #1e293b;
    padding: 0.75rem 1.5rem 0.75rem 1rem;
    flex-shrink: 0;
    position: relative;
    z-index: 10;
}
.mfl-header__brand--teal {
    background: #0e7490;
    color: #ffffff;
    padding: 0.85rem 3.5rem 0.85rem 1.5rem;
    border-radius: 0 0 40px 0;
}
@media (min-width: 640px) {
    .mfl-header__brand--teal {
        padding: 1rem 4.5rem 1rem 2rem;
    }
}
@media (min-width: 1024px) {
    .mfl-header__brand--teal {
        padding: 1rem 5rem 1rem 2.5rem;
    }
}
.mfl-header__brand-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    position: relative;
}
@media (min-width: 640px) {
    .mfl-header__brand-icon {
        width: 44px;
        height: 44px;
    }
}
.mfl-header__brand-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.2);
    transform: rotate(-30deg);
}
.mfl-header__heart-icon {
    color: #ffffff;
    fill: #ffffff;
    width: 16px;
    height: 16px;
}
@media (min-width: 640px) {
    .mfl-header__heart-icon {
        width: 20px;
        height: 20px;
    }
}
.mfl-header__brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}
.mfl-header__brand-primary {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    color: #ffffff;
    letter-spacing: -0.01em;
}
@media (min-width: 640px) {
    .mfl-header__brand-primary {
        font-size: 1.25rem;
    }
}
.mfl-header__brand-secondary {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 8px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}
@media (min-width: 640px) {
    .mfl-header__brand-secondary {
        font-size: 9px;
    }
}
.mfl-header__brand-fallback {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
}
.mfl-header__logo-wrap {
    overflow: hidden;
    flex-shrink: 0;
    /* width & height controlled by Elementor sliders via inline style */
}
.mfl-header__logo-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

/* ── Nav Links ── */
.mfl-header__links {
    display: none;
    align-items: center;
    gap: 0;
    flex: 1;
    justify-content: center;
    padding: 0 0.5rem;
}
@media (min-width: 1024px) {
    .mfl-header__links {
        display: flex;
    }
}
.mfl-header__link {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    padding: 1.5rem 0.875rem;
    transition: color 0.2s;
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}
.mfl-header__link:hover {
    color: #0e7490;
}
/* Active menu underline — matches React: teal text + 2px teal bottom border */
.mfl-header__link--active {
    color: #0e7490;
    border-bottom: 2px solid #0e7490;
}
.mfl-header__link--has-children {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}
.mfl-header__chevron {
    transition: transform 0.2s ease;
    flex-shrink: 0;
    color: #94a3b8;
}
.mfl-header__link:hover .mfl-header__chevron {
    color: #0e7490;
}

/* ── Dropdown Menus ── */
.mfl-header__dropdown {
    position: relative;
}
.mfl-header__dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    min-width: 200px;
    background: #ffffff;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12), 0 2px 8px rgba(0,0,0,0.06);
    padding: 0.5rem 0;
    z-index: 1000;
    border: 1px solid rgba(0,0,0,0.06);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s ease, visibility 0.2s ease, transform 0.2s ease;
}
.mfl-header__dropdown:hover .mfl-header__dropdown-menu,
.mfl-header__dropdown-menu:hover {
    display: block;
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}
.mfl-header__dropdown-item {
    display: block;
    padding: 0.55rem 1.25rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 450;
    color: #475569;
    text-decoration: none;
    transition: all 0.15s ease;
    white-space: nowrap;
}
.mfl-header__dropdown-item:hover {
    color: #0e7490;
    background: rgba(14, 116, 144, 0.06);
    padding-left: 1.5rem;
}
.mfl-header__dropdown:hover .mfl-header__chevron {
    transform: rotate(180deg);
}

/* ── CTA Button ── */
.mfl-header__actions {
    display: none;
    align-items: center;
    padding-right: 1rem;
}
@media (min-width: 1024px) {
    .mfl-header__actions {
        display: flex;
    }
}
.mfl-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.65rem 1.5rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #0e7490, #0891b2);
    color: #ffffff !important;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(14, 116, 144, 0.3);
    transition: all 0.3s ease;
    white-space: nowrap;
}
.mfl-header__cta:hover {
    background: linear-gradient(135deg, #0c6680, #0780a0);
    box-shadow: 0 6px 20px rgba(14, 116, 144, 0.4);
    transform: translateY(-1px);
    color: #ffffff !important;
}
.mfl-header__cta svg {
    flex-shrink: 0;
}

/* ── Mobile Toggle ── */
.mfl-header__toggle {
    display: flex;
    background: none;
    border: none;
    color: #475569;
    cursor: pointer;
    padding: 0.5rem;
    margin-left: auto;
    margin-right: 1rem;
}
@media (min-width: 1024px) {
    .mfl-header__toggle {
        display: none;
    }
}

/* ── Mobile Nav ── */
@media (max-width: 1023px) {
    .mfl-header__links.mfl-header__links--open {
        display: flex;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
        z-index: 999;
    }
    .mfl-header__links.mfl-header__links--open .mfl-header__link {
        padding: 0.75rem 1rem;
        border-bottom: none;
    }
    .mfl-header__links.mfl-header__links--open .mfl-header__link--active {
        border-bottom: none;
        background: rgba(14, 116, 144, 0.06);
        border-radius: 0.375rem;
    }
    .mfl-header__dropdown-menu {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: #f8fafc;
        border-radius: 0.375rem;
        margin: 0.25rem 0;
        padding: 0.25rem 0;
        display: none;
        opacity: 1;
        visibility: visible;
    }
    .mfl-header__dropdown.mfl-dropdown--open .mfl-header__dropdown-menu {
        display: block;
    }
    .mfl-header__dropdown-item {
        padding: 0.5rem 1.5rem;
    }
}

/* ── Top Bar Responsive ── */
@media (max-width: 768px) {
    .mfl-header__topbar-left { gap: 0.5rem; }
    .mfl-header__topbar-item { font-size: 0.7rem; }
    .mfl-header__topbar-divider { margin-left: 0.5rem; padding-left: 0.5rem; }
}
@media (max-width: 640px) {
    .mfl-header__topbar-left {
        display: none;
    }
    .mfl-header__topbar-inner {
        justify-content: flex-end;
    }
}
@media (max-width: 480px) {
    .mfl-header__topbar { display: none; }
}

/* ── Elementor override for header ── */
.elementor-widget-mfl_header .elementor-widget-container {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

/* ============================================================
   1. HERO SECTION (v2 — matches React prototype)
   ============================================================ */
.mfl-hero-v2 {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: visible;
    margin-bottom: 0;
}
/* Eliminate gap between hero and next section */
.elementor-widget-mfl_hero {
    margin-bottom: 0 !important;
}
.elementor-widget-mfl_hero + .elementor-widget,
.mfl-hero-v2 + * {
    margin-top: 0 !important;
}
/* Hero bottom edge — no feather/blend effect */

/* Slideshow */
.mfl-hero-v2__slideshow {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}
.mfl-hero-v2__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.2s ease;
    overflow: hidden;
}
.mfl-hero-v2__slide--active {
    opacity: 1;
}
.mfl-hero-v2__slide img,
.mfl-hero-v2__slide video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100%;
    min-width: 100%;
    object-fit: cover;
    object-position: center;
}
.mfl-hero-v2__video {
    display: block;
    position: absolute;
    inset: 0;
}

/* Gradient overlays */
.mfl-hero-v2__overlay-lr {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(12,74,110,0.75), rgba(12,74,110,0.45), transparent);
    z-index: 1;
}
.mfl-hero-v2__overlay-bt {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(12,74,110,0.60), transparent, rgba(12,74,110,0.20));
    z-index: 1;
}

/* Slide indicators — right side */
.mfl-hero-v2__indicators {
    position: absolute;
    right: 2rem;
    top: 50%;
    transform: translateY(-50%);
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    z-index: 30;
    pointer-events: auto;
}
@media (min-width: 1024px) {
    .mfl-hero-v2__indicators { display: flex; }
}
.mfl-hero-v2__indicator-arrow {
    width: 24px;
    height: 24px;
    border: 2px solid rgba(255,255,255,0.4);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    position: relative;
    z-index: 50;
    pointer-events: auto;
    transition: all 0.3s ease;
}
.mfl-hero-v2__indicator-arrow:hover {
    border-color: rgba(255,255,255,0.8);
    background: rgba(255,255,255,0.1);
    transform: scale(1.1);
}
.mfl-hero-v2__indicator-arrow--up:not(:hover) {
    animation: mfl-bounce-up 2s infinite;
}
.mfl-hero-v2__indicator-arrow--down:not(:hover) {
    animation: mfl-bounce-down 2s infinite;
}
@keyframes mfl-bounce-up {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}
@keyframes mfl-bounce-down {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(5px); }
}
.mfl-hero-v2__indicator-line {
    width: 1px;
    height: 16px;
    background: rgba(255,255,255,0.3);
}
.mfl-hero-v2__indicator-dot {
    width: 8px;
    height: 8px;
    border-radius: 9999px;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.mfl-hero-v2__indicator-dot--active {
    background: #ffffff;
    height: 20px;
    width: 8px;
    border-radius: 9999px;
}

/* Content — LEFT aligned, multiple panels */
.mfl-hero-v2__content {
    position: absolute;
    top: 0;
    left: 0;
    right: 5rem;
    bottom: 0;
    z-index: 10;
    display: flex;
    align-items: center;
    padding-top: 0.5rem !important;
    padding-bottom: 2rem !important;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    transform: translateY(20px);
    pointer-events: none;
}
.mfl-hero-v2__content--active {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}
.mfl-hero-v2__text {
    padding: 5rem 1.5rem 14rem;
    margin: 0;
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}
.mfl-hero-v2__subtitle,
[class*="elementor"] .mfl-hero-v2__subtitle,
[class*="elementor"] p.mfl-hero-v2__subtitle,
body .elementor .mfl-hero-v2__subtitle {
    font-family: 'Caveat', cursive !important;
    font-size: 1.5rem !important;
    color: rgba(255,255,255,0.8) !important;
    margin-bottom: 1rem !important;
    font-weight: 400 !important;
    font-style: normal !important;
    letter-spacing: 0.02em !important;
    line-height: 1.4 !important;
}
.mfl-hero-v2__title,
[class*="elementor"] .mfl-hero-v2__title,
[class*="elementor"] h1.mfl-hero-v2__title,
body .elementor .mfl-hero-v2__title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 3.25rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    line-height: 1.05 !important;
    margin-bottom: 2.5rem !important;
    letter-spacing: -0.02em !important;
}
@media (min-width: 768px) {
    .mfl-hero-v2__title { font-size: 4rem !important; }
}
@media (min-width: 1024px) {
    .mfl-hero-v2__title { font-size: 4.5rem !important; }
}

/* Mobile hero: push content down, left-align */
@media (max-width: 767px) {
    .mfl-hero-v2__content {
        right: 0; /* full width — no indent for side indicators */
        align-items: flex-start;
        padding-top: 0;
    }
    .mfl-hero-v2__text {
        padding: 1.5rem 1rem 0rem;
        text-align: left;
    }
    .mfl-hero-v2__title { font-size: 2.5rem !important; }
    .mfl-hero-v2__subtitle { font-size: 1.2rem !important; }
}

/* Buttons */
.mfl-hero-v2__buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}
@media (max-width: 767px) {
    .mfl-hero-v2__buttons { justify-content: flex-start; }
}
.mfl-hero-v2__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.mfl-hero-v2__btn--primary {
    background: #0e7490;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(14,116,144,0.4);
}
.mfl-hero-v2__btn--primary:hover {
    background: #0c6680;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14,116,144,0.5);
    color: #ffffff;
}
.mfl-hero-v2__btn--glass {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(12px);
    color: #ffffff;
    border: 1px solid rgba(255,255,255,0.25);
}
.mfl-hero-v2__btn--glass:hover {
    background: rgba(255,255,255,0.25);
    transform: translateY(-2px);
    color: #ffffff;
}

/* Search Bar — bottom overlapping */
.mfl-hero-v2__search-wrap {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 50%);
    width: 100%;
    max-width: 1024px;
    padding: 0 1rem;
    z-index: 100;
}
.mfl-hero-v2__search-box {
    border-radius: 1rem;
    box-shadow: 0 25px 50px -12px rgba(0,0,0,0.15);
    overflow: hidden;
}

/* Search Tabs */
.mfl-hero-v2__search-tabs {
    display: flex;
    overflow-x: auto;
    border-radius: 1rem 1rem 0 0;
}
.mfl-hero-v2__search-tabs::-webkit-scrollbar { display: none; }
.mfl-hero-v2__search-tabs { -ms-overflow-style: none; scrollbar-width: none; }
.mfl-hero-v2__search-tab {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 0.625rem 1rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.625rem;
    white-space: nowrap;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    background: rgba(255,255,255,0.35);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    color: #ffffff;
    flex: 1 0 auto;
}
@media (min-width: 640px) {
    .mfl-hero-v2__search-tab {
        flex-direction: row;
        gap: 0.5rem;
        padding: 0.875rem 1.25rem;
        font-size: 0.875rem;
    }
}
.mfl-hero-v2__search-tab svg,
.mfl-hero-v2__search-tab i {
    color: #ffffff;
    font-size: 1rem;
}
/* Elementor icon library SVGs — force currentColor fill + consistent sizing */
.mfl-hero-v2__search-tab .e-font-icon-svg {
    fill: currentColor;
    width: 16px;
    height: 16px;
    flex-shrink: 0;
    vertical-align: middle;
}
/* Uploaded image icon */
.mfl-hero-v2__tab-icon-img {
    width: 16px;
    height: 16px;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
    filter: brightness(0) invert(1); /* white on non-active tab */
}
.mfl-hero-v2__search-tab--active {
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(20px);
    color: #0e7490;
    border-bottom: 2px solid transparent;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.mfl-hero-v2__search-tab--active svg,
.mfl-hero-v2__search-tab--active i {
    color: #0e7490;
}
.mfl-hero-v2__search-tab--active .mfl-hero-v2__tab-icon-img {
    filter: none; /* show original colors on active tab */
}
/* Hover: slightly more opaque than base (0.35) but NOT the fully-white active state */
.mfl-hero-v2__search-tab:hover:not(.mfl-hero-v2__search-tab--active) {
    background: rgba(255,255,255,0.55);
    color: #ffffff;
}
.mfl-hero-v2__search-tab:last-child {
    border-radius: 0 1rem 0 0;
}

/* Search Fields */
.mfl-hero-v2__search-fields {
    display: grid;
    grid-template-columns: 1fr;
    align-items: center;
    background: #ffffff;
}
@media (min-width: 768px) {
    .mfl-hero-v2__search-fields {
        grid-template-columns: 1fr auto 1fr auto;
        align-items: center;
    }
}
.mfl-hero-v2__search-field {
    padding: 1.25rem 1.5rem;
}
.mfl-hero-v2__search-field label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #1e293b;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.375rem;
}
.mfl-hero-v2__search-field-inner {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mfl-hero-v2__search-field-inner input {
    width: 100%;
    background: transparent;
    border: none;
    outline: none;
    color: #374151;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
}
.mfl-hero-v2__search-field-inner input::placeholder {
    color: #9ca3af;
}
.mfl-hero-v2__search-divider {
    display: none;
    width: 1px;
    background: #e5e7eb;
    margin: 0.75rem 0;
    align-self: stretch;
}
@media (min-width: 768px) {
    .mfl-hero-v2__search-divider { display: block; }
}
.mfl-hero-v2__detect-btn {
    background: none;
    border: none;
    padding: 0.375rem;
    border-radius: 9999px;
    cursor: pointer;
    color: #9ca3af;
    transition: all 0.2s;
    flex-shrink: 0;
}
.mfl-hero-v2__detect-btn:hover {
    background: rgba(14,116,144,0.1);
    color: #0e7490;
}
.mfl-hero-v2__search-submit {
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: center;
}
.mfl-hero-v2__search-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #0e7490;
    color: #ffffff;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    box-shadow: 0 4px 14px rgba(14,116,144,0.3);
    transition: all 0.3s;
}
.mfl-hero-v2__search-btn:hover {
    background: #0c6680;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14,116,144,0.4);
}

/* Space after hero for the overlapping search bar */
.mfl-hero-v2 + .elementor-section,
.mfl-hero-v2 + .elementor-element {
    padding-top: 7rem;
}

/* ============================================================
   2. CATEGORIES SECTION
   ============================================================ */
.mfl-categories {
    padding: 5rem 0;
    background: #f8fafc;
}
.mfl-categories__grid {
    display: grid;
    gap: 1.5rem;
}
.mfl-categories__grid--grid {
    grid-template-columns: repeat(4, 1fr);
}
.mfl-categories__grid--fan {
    display: flex;
    justify-content: center;
    gap: 0;
    perspective: 1000px;
    padding: 2rem 0;
}
.mfl-categories__card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    width: 180px;
    height: 240px;
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}
.mfl-categories__grid--fan .mfl-categories__card {
    transform: rotate(var(--rotation, 0deg));
    transform-origin: bottom center;
    margin: 0 -0.5rem;
}
.mfl-categories__grid--fan .mfl-categories__card:hover {
    transform: rotate(0deg) translateY(-20px) scale(1.08);
    z-index: 10;
    box-shadow: 0 12px 40px rgba(14, 116, 144, 0.3);
}
.mfl-categories__card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mfl-categories__card-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.mfl-categories__card-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 1.5rem 1rem;
    color: #ffffff;
}
.mfl-categories__card-icon {
    font-size: 2rem;
    display: block;
    margin-bottom: 0.5rem;
}
.mfl-categories__card-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.25rem;
}
.mfl-categories__card-count {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}

/* ============================================================
   3. FEATURED LISTINGS
   ============================================================ */
.mfl-featured {
    padding: 5rem 0;
    background: #ffffff;
}
.mfl-featured__tabs {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.mfl-featured__tab {
    padding: 0.5rem 1.25rem;
    border: 2px solid #e2e8f0;
    background: transparent;
    color: #64748b;
    font-family: 'Inter', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.2s;
}
.mfl-featured__tab--active {
    background: #0e7490;
    border-color: #0e7490;
    color: #ffffff;
}
.mfl-featured__tab:hover:not(.mfl-featured__tab--active) {
    background: #e0f2f7;
    border-color: #0e7490;
    color: #0e7490;
}

/* Carousel */
.mfl-featured__carousel {
    position: relative;
    overflow: hidden;
}
.mfl-featured__track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.mfl-featured__card {
    flex: 0 0 calc(33.333% - 1rem);
    min-width: 0;
}
.mfl-featured__card--3d {
    perspective: 1000px;
}
.mfl-featured__card-inner {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    border: 1px solid #f1f5f9;
}
.mfl-featured__card--3d .mfl-featured__card-inner:hover {
    transform: translateY(-8px) rotateX(2deg);
    box-shadow: 0 20px 40px rgba(14, 116, 144, 0.15);
}
.mfl-featured__card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: linear-gradient(135deg, #e0f2fe, #cffafe);
}
.mfl-featured__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.mfl-featured__card:hover .mfl-featured__card-image img {
    transform: scale(1.05);
}
.mfl-featured__card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}
.mfl-featured__card-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(14, 116, 144, 0.9);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    backdrop-filter: blur(4px);
}
.mfl-featured__card-fav {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
    color: #94a3b8;
}
.mfl-featured__card-fav:hover { color: #ef4444; background: #ffffff; }
.mfl-featured__card-body {
    padding: 1.25rem;
}
.mfl-featured__card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
}
.mfl-featured__card-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.2s;
}
.mfl-featured__card-title a:hover { color: #0e7490; }
.mfl-featured__card-location {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 0.5rem;
}
.mfl-featured__card-rating {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-bottom: 0.75rem;
}
.mfl-featured__card-rating span {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #64748b;
    margin-left: 0.35rem;
}
.mfl-featured__card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0e7490;
    text-decoration: none;
    transition: gap 0.2s;
}
.mfl-featured__card-link:hover { gap: 0.6rem; color: #0c6680; }

/* Carousel Controls */
.mfl-carousel-prev,
.mfl-carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.2s;
    color: #334155;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}
.mfl-carousel-prev { left: -22px; }
.mfl-carousel-next { right: -22px; }
.mfl-carousel-prev:hover,
.mfl-carousel-next:hover {
    background: #0e7490;
    color: #ffffff;
    border-color: #0e7490;
}
.mfl-carousel-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}
.mfl-carousel-dots .mfl-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.2s;
}
.mfl-carousel-dots .mfl-dot--active {
    background: #0e7490;
    width: 24px;
    border-radius: 4px;
}

/* ============================================================
   4. ABOUT SECTION
   ============================================================ */
.mfl-about {
    padding: 5rem 0;
    background: #ffffff;
}
.mfl-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.mfl-about__image-wrap {
    position: relative;
}
.mfl-about__image {
    width: 100%;
    border-radius: 1rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.1);
}
.mfl-about__badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: linear-gradient(135deg, #0e7490, #0891b2);
    color: #ffffff;
    border-radius: 1rem;
    padding: 1.25rem;
    text-align: center;
    box-shadow: 0 8px 24px rgba(14, 116, 144, 0.3);
}
.mfl-about__badge-num {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
}
.mfl-about__badge-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.3;
}
.mfl-about__content .mfl-subtitle { text-align: left; }
.mfl-about__text {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #475569;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}
.mfl-about__text p { margin-bottom: 1rem; }
.mfl-about__features {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
}
.mfl-about__features li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #334155;
    padding: 0.5rem 0;
}
.mfl-about__features li svg { flex-shrink: 0; }
.mfl-about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e2e8f0;
}
.mfl-about__stat { text-align: center; }
.mfl-about__stat-num {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.25rem;
    font-weight: 800;
    color: #0e7490;
}
.mfl-about__stat-label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #64748b;
}

/* ============================================================
   5. BIBLE VERSE
   ============================================================ */
.mfl-bible-verse {
    position: relative;
    padding: 5rem 0;
    background-size: cover;
    background-position: center;
    text-align: center;
}
.mfl-bible-verse__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}
.mfl-bible-verse__content {
    position: relative;
    z-index: 2;
    max-width: 700px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.mfl-bible-verse__icon {
    margin-bottom: 1.5rem;
}
.mfl-bible-verse__text {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: #ffffff;
    line-height: 1.5;
    margin: 0 0 1.5rem;
    font-style: italic;
}
.mfl-bible-verse__ref {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #67e8f9;
    font-weight: 600;
    font-style: normal;
}

/* ============================================================
   6. SERVICE PROVIDERS
   ============================================================ */
.mfl-service-pros {
    padding: 5rem 0;
    background: #f8fafc;
}
.mfl-service-pros__carousel {
    position: relative;
    overflow: hidden;
}
.mfl-service-pros__track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}
.mfl-service-pros__card {
    flex: 0 0 calc(25% - 1.125rem);
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}
.mfl-service-pros__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(14, 116, 144, 0.12);
}
.mfl-service-pros__header {
    height: 100px;
    background: linear-gradient(135deg, #0e7490, #06b6d4);
    background-size: cover;
    background-position: center;
    position: relative;
}
.mfl-service-pros__header-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 116, 144, 0.3);
}
.mfl-service-pros__photo-wrap {
    display: flex;
    justify-content: center;
    margin-top: -2.5rem;
    position: relative;
    z-index: 2;
}
.mfl-service-pros__photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.mfl-service-pros__photo-placeholder {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: #f1f5f9;
    border: 3px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}
.mfl-service-pros__body {
    padding: 1rem 1.25rem 1.5rem;
    text-align: center;
}
.mfl-service-pros__name {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem;
}
.mfl-service-pros__biz {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #0e7490;
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
}
.mfl-service-pros__meta {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #64748b;
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin: 0 0 0.75rem;
}
.mfl-service-pros__meta span { display: flex; align-items: center; gap: 0.25rem; }
.mfl-service-pros__skills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}
.mfl-service-pros__skill {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    background: #f0fdfa;
    color: #0e7490;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    border: 1px solid #ccfbf1;
}
.mfl-service-pros__quote {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #64748b;
    font-style: italic;
    margin: 0 0 0.75rem;
    line-height: 1.5;
}
.mfl-service-pros__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    margin-bottom: 1rem;
}
.mfl-service-pros__rating span {
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    color: #64748b;
    margin-left: 0.35rem;
}
.mfl-service-pros__actions {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

/* Service Categories Grid */
.mfl-service-cats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 3rem;
}
.mfl-service-cats__card {
    position: relative;
    height: 160px;
    border-radius: 0.75rem;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.3s;
}
.mfl-service-cats__card:hover { transform: translateY(-4px); }
.mfl-service-cats__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.mfl-service-cats__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
}
.mfl-service-cats__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem;
    color: #ffffff;
}
.mfl-service-cats__info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
}
.mfl-service-cats__info h4 span {
    font-weight: 400;
    font-size: 0.8rem;
    opacity: 0.8;
}
.mfl-service-cats__cta {
    font-family: 'Inter', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: #67e8f9;
    margin-top: 0.25rem;
    display: block;
}

/* ============================================================
   7. POPULAR LISTINGS
   ============================================================ */
.mfl-popular {
    padding: 5rem 0;
    background: #ffffff;
}
.mfl-popular__grid {
    display: grid;
    gap: 1.5rem;
}
.mfl-popular__grid--2 { grid-template-columns: repeat(2, 1fr); }
.mfl-popular__grid--3 { grid-template-columns: repeat(3, 1fr); }
.mfl-popular__grid--4 { grid-template-columns: repeat(4, 1fr); }
.mfl-popular__card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}
.mfl-popular__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(14, 116, 144, 0.12);
}
.mfl-popular__card-image {
    position: relative;
    height: 180px;
    overflow: hidden;
    background: #1e293b;
}
.mfl-popular__card-image img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
    min-width: 100%;
    min-height: 100%;
    transition: transform 0.4s;
}
.mfl-popular__card:hover .mfl-popular__card-image img { transform: scale(1.05); }
.mfl-popular__card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0f2fe, #cffafe);
}
.mfl-popular__card-fav {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.2s;
}
.mfl-popular__card-fav:hover { color: #ef4444; }
/* Category badge: pill overlay on image */
.mfl-popular__card-badge {
    position: absolute;
    bottom: 0.75rem;
    left: 0.75rem;
    background: rgba(255,255,255,0.92);
    color: #1e293b;
    font-family: 'DM Sans', sans-serif;
    font-size: 0.72rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2;
}
.mfl-popular__card-body {
    padding: 1.25rem;
}
.mfl-popular__card-body h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem !important;
    font-weight: 600;
    margin: 0 0 0.5rem;
}
.mfl-popular__card-body h3 a {
    color: #1e293b;
    text-decoration: none;
}
.mfl-popular__card-body h3 a:hover { color: #0e7490; }
.mfl-popular__card-rating {
    display: flex;
    align-items: center;
    gap: 0.15rem;
    margin-bottom: 0.5rem;
}
.mfl-popular__card-rating span {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #64748b;
    margin-left: 0.35rem;
}
.mfl-popular__card-price {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    color: #0e7490;
    margin-bottom: 0.75rem;
}
.mfl-popular__card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.75rem;
    border-top: 1px solid #f1f5f9;
}
.mfl-popular__card-duration {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #64748b;
}
.mfl-popular__card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0e7490;
    text-decoration: none;
}

/* ============================================================
   8. GALLERY
   ============================================================ */
.mfl-gallery {
    padding: 5rem 0;
    background: #f8fafc;
}
.mfl-gallery__grid--masonry {
    columns: 4;
    column-gap: 1rem;
}
.mfl-gallery__grid--grid {
    display: grid;
    gap: 1rem;
}
.mfl-gallery__grid--cols-2 { grid-template-columns: repeat(2, 1fr); }
.mfl-gallery__grid--cols-3 { grid-template-columns: repeat(3, 1fr); }
.mfl-gallery__grid--cols-4 { grid-template-columns: repeat(4, 1fr); }
.mfl-gallery__grid--cols-5 { grid-template-columns: repeat(5, 1fr); }
.mfl-gallery__item {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    break-inside: avoid;
    margin-bottom: 1rem;
    cursor: pointer;
}
.mfl-gallery__item img {
    width: 100%;
    display: block;
    transition: transform 0.4s;
}
.mfl-gallery__item:hover img { transform: scale(1.05); }
.mfl-gallery__item-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 116, 144, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}
.mfl-gallery__item:hover .mfl-gallery__item-overlay { opacity: 1; }

/* ============================================================
   9. STATS BAR
   ============================================================ */
.mfl-stats {
    padding: 3rem 0;
}
.mfl-stats--teal {
    background: linear-gradient(135deg, #0e7490, #0891b2);
    color: #ffffff;
}
.mfl-stats--dark {
    background: #0f172a;
    color: #ffffff;
}
/* Old grid layout (kept for backward compat) */
.mfl-stats__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
}
.mfl-stats__item { text-align: center; }
.mfl-stats__icon { font-size: 1.5rem; display: block; margin-bottom: 0.5rem; }
.mfl-stats__number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
}
.mfl-stats__label {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    opacity: 0.8;
}
.mfl-stats__divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.3);
}
.mfl-stats--transparent .mfl-stats__divider { background: #e2e8f0; }
.mfl-stats--transparent .mfl-stats__number { color: #0e7490; }
.mfl-stats--transparent .mfl-stats__label { color: #64748b; }

/* ── Stats V2 - Overlapping Circles (Reference Design) ── */
/* Stats V2 — Overlapping circles with staggered heights (matches Tourm reference EXACTLY) */
.mfl-stats-v2 {
    padding: 5rem 0 4rem;
    background: #edf7f8;
    position: relative;
    overflow: hidden;
}
.mfl-stats-v2__container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 1100px;
    margin: 0 auto;
    padding: 2rem 2rem;
    position: relative;
    z-index: 1;
}
.mfl-stats-v2__circle-wrap {
    flex-shrink: 0;
    position: relative;
}
/* Staggered: odd = LOW (pushed down), even = HIGH (stays up) */
.mfl-stats-v2__circle-wrap:nth-child(odd) {
    margin-top: 60px;
}
.mfl-stats-v2__circle-wrap:nth-child(even) {
    margin-top: 0;
}
.mfl-stats-v2__circle {
    border-radius: 50%;
    border: var(--mfl-stats-inner-bw, 10px) solid var(--mfl-stats-inner-bc, #ffffff);
    box-shadow: 0 0 0 var(--mfl-stats-outer-bw, 2px) var(--mfl-stats-outer-bc, #0e9aa7);
    background: radial-gradient(circle at 40% 35%, #e8f9fb 0%, #cff0f3 55%, #b8e8ed 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.4s ease;
}
.mfl-stats-v2__circle:hover {
    transform: scale(1.06);
    z-index: 10;
    box-shadow: 0 0 0 var(--mfl-stats-outer-bw, 2px) var(--mfl-stats-outer-bc, #0e9aa7), 0 8px 28px rgba(14, 154, 167, 0.2);
}
/* Small dot accent on the border ring — uses outer border color */
.mfl-stats-v2__dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--mfl-stats-outer-bc, #0e9aa7);
    z-index: 2;
}
/* Odd circles (low): dot at bottom-center */
.mfl-stats-v2__circle-wrap:nth-child(odd) .mfl-stats-v2__dot {
    bottom: -4px;
    left: 50%;
    transform: translateX(-50%);
}
/* Even circles (high): dot at top-right */
.mfl-stats-v2__circle-wrap:nth-child(even) .mfl-stats-v2__dot {
    top: -4px;
    right: 20%;
    left: auto;
    bottom: auto;
}
.mfl-stats-v2__circle-inner {
    text-align: center;
    padding: 1rem;
}
.mfl-stats-v2 .mfl-stats__number {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1a1a;
    line-height: 1.1;
}
.mfl-stats-v2__label {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    color: #3a3a3a;
    margin-top: 6px;
    letter-spacing: 0.01em;
}
/* Decorative elements */
.mfl-stats-v2__deco {
    position: absolute;
    z-index: 0;
    pointer-events: none;
}
.mfl-stats-v2__deco--balloons {
    top: 10%;
    left: 5%;
}
.mfl-stats-v2__deco--palm {
    bottom: 3%;
    left: 2%;
}
.mfl-stats-v2__deco--anchor {
    top: 6%;
    right: 3%;
}
@media (max-width: 768px) {
    .mfl-stats-v2 { padding: 3rem 0 2.5rem; }
    .mfl-stats-v2__container {
        flex-wrap: wrap;
        gap: 1rem;
        justify-content: center;
    }
    .mfl-stats-v2__container {
        flex-wrap: wrap;
        gap: 1rem;
    }
    .mfl-stats-v2__circle-wrap {
        margin-top: 0 !important;
    }
    .mfl-stats-v2__circle {
        width: 140px !important;
        height: 140px !important;
    }
    .mfl-stats-v2 .mfl-stats__number {
        font-size: 1.6rem;
    }
    .mfl-stats-v2__label {
        font-size: 0.7rem;
    }
    .mfl-stats-v2__deco {
        display: none;
    }
}
@media (max-width: 480px) {
    .mfl-stats-v2__circle {
        width: 120px !important;
        height: 120px !important;
    }
    .mfl-stats-v2 .mfl-stats__number {
        font-size: 1.3rem;
    }
}

/* ============================================================
   10. COMMUNITY LEADERS
   ============================================================ */
.mfl-leaders {
    padding: 5rem 0;
    background: #ffffff;
}
.mfl-leaders__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}
.mfl-leaders__card {
    text-align: center;
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}
.mfl-leaders__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(14, 116, 144, 0.12);
}
.mfl-leaders__photo-wrap { margin-bottom: 1rem; }
.mfl-leaders__photo {
    width: 96px;
    height: 96px;
    border-radius: 50% !important;
    object-fit: cover;
    border: 3px solid #e0f2fe;
    aspect-ratio: 1 / 1 !important;
    display: block;
}
.mfl-leaders__photo-placeholder {
    width: 96px;
    height: 96px;
    border-radius: 50% !important;
    background: #f1f5f9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1 / 1 !important;
}
.mfl-leaders__name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem;
}
.mfl-leaders__role {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #0e7490;
    margin: 0 0 0.5rem;
}
.mfl-leaders__bio {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}
.mfl-leaders__social {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}
.mfl-leaders__social a {
    color: #94a3b8;
    transition: color 0.2s;
}
.mfl-leaders__social a:hover { color: #0e7490; }

/* ============================================================
   11. TESTIMONIALS
   ============================================================ */
/* ── Testimonials V2 — Tourm-style light blue cards with quotation marks ── */
.mfl-testi-v2 {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.mfl-testi-v2__header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 2rem;
}
.mfl-testi-v2__subtitle {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: #0e7490;
    margin-bottom: 0.25rem;
}
.mfl-testi-v2__title {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: #475569 !important;
}
/* Decorative elements */
.mfl-testi-v2__deco {
    position: absolute;
    z-index: 0;
}
.mfl-testi-v2__deco--plane {
    top: 8%;
    left: 5%;
}
.mfl-testi-v2__deco--circle-br {
    bottom: 5%;
    right: 5%;
}
/* Carousel */
.mfl-testi-v2__carousel {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}
.mfl-testi-v2__track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 1rem 0;
}
.mfl-testi-v2__track::-webkit-scrollbar { display: none; }
/* Card */
.mfl-testi-v2__card {
    flex: 0 0 calc(33.333% - 1rem);
    background: #eef8f9;
    border-radius: 1rem;
    padding: 1.75rem 1.75rem 5.5rem;
    position: relative;
    scroll-snap-align: start;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mfl-testi-v2__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(14, 154, 167, 0.12);
}
/* Card top: avatar + name + stars */
.mfl-testi-v2__card-top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1rem;
}
.mfl-testi-v2__card-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
/* Avatar wrapper — carries size/position/shape CSS vars set by widget controls */
.mfl-testi-v2__avatar-wrap {
    position: relative;
    flex-shrink: 0;
    width: var(--mfl-testi-photo-size, 64px);
    height: var(--mfl-testi-photo-size, 64px);
    order: var(--mfl-testi-photo-order, -1);
    border-radius: var(--mfl-testi-photo-radius, 50%);
}
.mfl-testi-v2__avatar {
    width: var(--mfl-testi-photo-size, 64px);
    height: var(--mfl-testi-photo-size, 64px);
    border-radius: var(--mfl-testi-photo-radius, 50%);
    object-fit: cover;
    border: 2px solid #ffffff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block;
}
.mfl-testi-v2__avatar-placeholder {
    width: var(--mfl-testi-photo-size, 64px);
    height: var(--mfl-testi-photo-size, 64px);
    border-radius: var(--mfl-testi-photo-radius, 50%);
    background: linear-gradient(135deg, #0e9aa7, #06b6d4);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
}
.mfl-testi-v2__author-info {
    display: flex;
    flex-direction: column;
}
.mfl-testi-v2__name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}
.mfl-testi-v2__role {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #64748b;
}
.mfl-testi-v2__stars {
    display: flex;
    gap: 2px;
    flex-shrink: 0;
    margin-top: 4px;
}
/* Quote text */
.mfl-testi-v2__quote {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #475569;
    line-height: 1.7;
    margin: 0;
}
/* Quotation mark badge — centered on the avatar circle */
.mfl-testi-v2__quote-mark {
    position: absolute;
    bottom: -6px;
    right: -6px;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: #0e9aa7;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 1.2rem;
    font-weight: 700;
    line-height: 1;
    padding-bottom: 3px;
    z-index: 1;
    pointer-events: none;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
/* Dots */
.mfl-testi-v2__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 2.5rem;
}
.mfl-testi-v2__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}
.mfl-testi-v2__dot.active {
    background: #0e9aa7;
    width: 12px;
    height: 12px;
}
/* Keep old classes for backward compat */
.mfl-testimonials { padding: 5rem 0; background: #f8fafc; }
.mfl-testimonials__carousel { position: relative; overflow: hidden; }
.mfl-testimonials__track { display: flex; gap: 1.5rem; transition: transform 0.5s ease; }
.mfl-testimonials__card { flex: 0 0 calc(33.333% - 1rem); background: #ffffff; border-radius: 1rem; padding: 2rem; box-shadow: 0 4px 20px rgba(0,0,0,0.06); border: 1px solid #f1f5f9; transition: all 0.3s; }
.mfl-testimonials__card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(14, 116, 144, 0.1); }
.mfl-testimonials__quote-icon { margin-bottom: 1rem; }
.mfl-testimonials__rating { display: flex; gap: 0.15rem; margin-bottom: 1rem; }
.mfl-testimonials__text { font-family: 'Inter', sans-serif; font-size: 0.95rem; color: #475569; line-height: 1.7; margin: 0 0 1.5rem; font-style: italic; }
.mfl-testimonials__author { display: flex; align-items: center; gap: 0.75rem; }
.mfl-testimonials__avatar { width: 48px; height: 48px; border-radius: 50%; object-fit: cover; }
.mfl-testimonials__avatar-placeholder { width: 48px; height: 48px; border-radius: 50%; background: linear-gradient(135deg, #0e7490, #06b6d4); color: #ffffff; display: flex; align-items: center; justify-content: center; font-family: 'Poppins', sans-serif; font-weight: 700; font-size: 1.1rem; }
.mfl-testimonials__name { display: block; font-family: 'Poppins', sans-serif; font-size: 0.95rem; font-weight: 600; color: #1e293b; }
.mfl-testimonials__role { font-family: 'Inter', sans-serif; font-size: 0.8rem; color: #64748b; }
/* Responsive v2 testimonials */
@media (max-width: 1024px) {
    .mfl-testi-v2__card { flex: 0 0 calc(50% - 0.75rem); }
}
@media (max-width: 768px) {
    .mfl-testi-v2 { padding: 3rem 0; }
    .mfl-testi-v2__card { flex: 0 0 85%; }
    .mfl-testi-v2__title { font-size: 1.5rem; }
    .mfl-testi-v2__deco { display: none; }
}
@media (max-width: 480px) {
    .mfl-testi-v2__card { flex: 0 0 92%; }
}

/* ── Testimonials Style 2: Split (image left / slides right) ── */
.mfl-testi-v2--style2 .mfl-testi-v2__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(14, 116, 144, 0.12);
}
.mfl-testi-v2--style2 .mfl-testi-v2__split-image {
    position: relative;
    min-height: 480px;
    background: #e0f2f7;
    display: flex;
    align-items: center;
    justify-content: center;
}
.mfl-testi-v2--style2 .mfl-testi-v2__split-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.mfl-testi-v2--style2 .mfl-testi-v2__split-img-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #64748b;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    text-align: center;
    padding: 2rem;
    z-index: 1;
}
.mfl-testi-v2--style2 .mfl-testi-v2__split-slider {
    background: #f0fafa;
    padding: 3rem 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.5rem;
}
.mfl-testi-v2--style2 .mfl-testi-v2__split-slide { display: none; }
.mfl-testi-v2--style2 .mfl-testi-v2__split-slide.active {
    display: block;
    animation: mfl-testi-fade-in 0.4s ease;
}
.mfl-testi-v2--style2 .mfl-testi-v2__split-quote {
    font-size: 1rem;
    font-style: italic;
    color: #334155;
    line-height: 1.8;
    margin: 0 0 1.5rem;
}
.mfl-testi-v2--style2 .mfl-testi-v2__split-footer {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.mfl-testi-v2--style2 .mfl-testi-v2__split-nav {
    display: flex;
    gap: 0.5rem;
}
.mfl-testi-v2--style2 .mfl-testi-v2__split-prev,
.mfl-testi-v2--style2 .mfl-testi-v2__split-next {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #0e9aa7;
    background: transparent;
    color: #0e9aa7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    padding: 0;
    flex-shrink: 0;
}
.mfl-testi-v2--style2 .mfl-testi-v2__split-prev:hover,
.mfl-testi-v2--style2 .mfl-testi-v2__split-next:hover {
    background: #0e9aa7;
    color: #fff;
}
.mfl-testi-v2--style2 .mfl-testi-v2__dots {
    margin-top: 0;
    justify-content: flex-start;
}
@media (max-width: 900px) {
    .mfl-testi-v2--style2 .mfl-testi-v2__split { grid-template-columns: 1fr; }
    .mfl-testi-v2--style2 .mfl-testi-v2__split-image { min-height: 280px; }
    .mfl-testi-v2--style2 .mfl-testi-v2__split-slider { padding: 2rem 1.75rem; }
    .mfl-testi-v2--style2 .mfl-testi-v2__dots { justify-content: center; }
}
@media (max-width: 480px) {
    .mfl-testi-v2--style2 .mfl-testi-v2__split-image { min-height: 220px; }
    .mfl-testi-v2--style2 .mfl-testi-v2__split-slider { padding: 1.5rem 1.25rem; }
}

/* ── Testimonials Style 3: Full-width single slide ── */
.mfl-testi-v2--style3 .mfl-testi-v2__stage {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}
.mfl-testi-v2--style3 .mfl-testi-v2__stage-track {
    flex: 1;
    min-width: 0;
}
.mfl-testi-v2--style3 .mfl-testi-v2__stage-slide {
    display: none;
    text-align: center;
    padding: 1rem 0;
}
.mfl-testi-v2--style3 .mfl-testi-v2__stage-slide.active {
    display: block;
    animation: mfl-testi-fade-in 0.4s ease;
}
.mfl-testi-v2--style3 .mfl-testi-v2__stage-quote-icon {
    color: #0e9aa7;
    margin-bottom: 1rem;
}
.mfl-testi-v2--style3 .mfl-testi-v2__stage-quote {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    line-height: 1.85;
    color: #334155;
    font-style: italic;
    margin: 0 auto 2rem;
    max-width: 660px;
}
.mfl-testi-v2--style3 .mfl-testi-v2__stage-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}
.mfl-testi-v2--style3 .mfl-testi-v2__stage-author .mfl-testi-v2__author-info {
    text-align: left;
}
.mfl-testi-v2--style3 .mfl-testi-v2__stage-prev,
.mfl-testi-v2--style3 .mfl-testi-v2__stage-next {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid #0e9aa7;
    background: transparent;
    color: #0e9aa7;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s;
    padding: 0;
}
.mfl-testi-v2--style3 .mfl-testi-v2__stage-prev:hover,
.mfl-testi-v2--style3 .mfl-testi-v2__stage-next:hover {
    background: #0e9aa7;
    color: #fff;
}
.mfl-testi-v2--style3 .mfl-testi-v2__dots { margin-top: 2rem; }
@media (max-width: 768px) {
    .mfl-testi-v2--style3 .mfl-testi-v2__stage { padding: 0 2rem; gap: 0.5rem; }
    .mfl-testi-v2--style3 .mfl-testi-v2__stage-prev,
    .mfl-testi-v2--style3 .mfl-testi-v2__stage-next { width: 36px; height: 36px; }
    .mfl-testi-v2--style3 .mfl-testi-v2__stage-quote { font-size: 0.95rem; }
}
@media (max-width: 480px) {
    .mfl-testi-v2--style3 .mfl-testi-v2__stage { padding: 0 1rem; }
    .mfl-testi-v2--style3 .mfl-testi-v2__stage-quote { font-size: 0.875rem; line-height: 1.7; }
    .mfl-testi-v2--style3 .mfl-testi-v2__stage-author { flex-direction: column; }
    .mfl-testi-v2--style3 .mfl-testi-v2__stage-author .mfl-testi-v2__author-info { text-align: center; }
}

/* Shared fade animation for styles 2 & 3 */
@keyframes mfl-testi-fade-in {
    from { opacity: 0; transform: translateY(6px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   12. BLOG POSTS
   ============================================================ */
.mfl-blog {
    padding: 5rem 0;
    background: #ffffff;
}
.mfl-blog__grid {
    display: grid;
    gap: 1.5rem;
}
.mfl-blog__grid--2 { grid-template-columns: repeat(2, 1fr); }
.mfl-blog__grid--3 { grid-template-columns: repeat(3, 1fr); }
.mfl-blog__grid--4 { grid-template-columns: repeat(4, 1fr); }
.mfl-blog__card {
    background: #ffffff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid #f1f5f9;
    transition: all 0.3s;
}
.mfl-blog__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 30px rgba(14, 116, 144, 0.12);
}
.mfl-blog__card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.mfl-blog__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s;
}
.mfl-blog__card:hover .mfl-blog__card-image img { transform: scale(1.05); }
.mfl-blog__card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #e0f2fe, #cffafe);
}
.mfl-blog__card-cat {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(14, 116, 144, 0.9);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
}
.mfl-blog__card-body { padding: 1.25rem; }
.mfl-blog__card-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 0.75rem;
}
.mfl-blog__card-date,
.mfl-blog__card-author {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #64748b;
}
.mfl-blog__card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    margin: 0 0 0.5rem;
    line-height: 1.4;
}
.mfl-blog__card-title a {
    color: #1e293b;
    text-decoration: none;
}
.mfl-blog__card-title a:hover { color: #0e7490; }
.mfl-blog__card-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 1rem;
}
.mfl-blog__card-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0e7490;
    text-decoration: none;
}
.mfl-blog__card-link:hover { gap: 0.6rem; }
.mfl-blog__empty {
    grid-column: 1 / -1;
    text-align: center;
    color: #94a3b8;
    font-family: 'Inter', sans-serif;
    padding: 3rem;
}

/* ── Blog V2 — Tourm-style: light blue bg, decorative balloons, large images ── */
.mfl-blog-v2 {
    padding: 5rem 0 4rem;
    background-color: #e8f4f6;
    position: relative;
    overflow: hidden;
}
.mfl-blog-v2__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 2;
}
/* Decorative balloons */
.mfl-blog-v2__deco {
    position: absolute;
    z-index: 1;
    pointer-events: none;
}
.mfl-blog-v2__deco--balloon1 {
    left: 3%;
    bottom: 30%;
}
.mfl-blog-v2__deco--balloon2 {
    left: 8%;
    bottom: 10%;
}
.mfl-blog-v2__deco--balloon3 {
    left: 5%;
    bottom: 50%;
}
/* Header row */
.mfl-blog-v2__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 2.5rem;
}
.mfl-blog-v2__header-left {
    flex: 1;
}
.mfl-blog-v2__subtitle {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: #0e7490;
    margin: 0 0 0.25rem 0;
}
.mfl-blog-v2__title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #475569 !important;
    margin: 0;
    line-height: 1.2;
}
.mfl-blog-v2__view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    font-weight: 500;
    color: #1e293b;
    text-decoration: none;
    border: 1.5px solid #cbd5e1;
    border-radius: 2rem;
    padding: 0.6rem 1.5rem;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}
.mfl-blog-v2__view-all:hover {
    background: #0e7490;
    color: #ffffff !important;
    border-color: #0e7490;
}
/* Grid */
.mfl-blog-v2__grid {
    display: grid;
    gap: 2rem;
}
.mfl-blog-v2__grid--2 { grid-template-columns: repeat(2, 1fr); }
.mfl-blog-v2__grid--3 { grid-template-columns: repeat(3, 1fr); }
.mfl-blog-v2__grid--4 { grid-template-columns: repeat(4, 1fr); }
/* Card */
.mfl-blog-v2__card {
    background: transparent;
    transition: transform 0.3s ease;
}
.mfl-blog-v2__card:hover {
    transform: translateY(-4px);
}
.mfl-blog-v2__card-image {
    border-radius: 0.75rem;
    overflow: hidden;
    height: 240px;
    margin-bottom: 1rem;
}
.mfl-blog-v2__card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.mfl-blog-v2__card:hover .mfl-blog-v2__card-image img {
    transform: scale(1.05);
}
.mfl-blog-v2__card-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #d4eef0, #bae6fd);
}
.mfl-blog-v2__card-body {
    padding: 0;
}
.mfl-blog-v2__card-meta {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 0.5rem;
}
.mfl-blog-v2__meta-sep {
    color: #cbd5e1;
}
.mfl-blog-v2__card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem !important;
    font-weight: 600;
    margin: 0 0 0.75rem;
    line-height: 1.4;
}
.mfl-blog-v2__card-title a {
    color: #1e293b;
    text-decoration: none;
}
.mfl-blog-v2__card-title a:hover {
    color: #0e7490;
}
.mfl-blog-v2__card-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0 0 0.75rem;
}
.mfl-blog-v2__read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #ffffff;
    background: #0e7490;
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    text-decoration: none;
    transition: all 0.3s ease;
}
.mfl-blog-v2__read-more:hover {
    background: #0c5f73;
    color: #fff !important;
    gap: 0.7rem;
}
/* Responsive */
@media (max-width: 1024px) {
    .mfl-blog-v2__grid--3 { grid-template-columns: repeat(2, 1fr); }
    .mfl-blog-v2__grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .mfl-blog-v2 { padding: 3rem 0 2.5rem; }
    .mfl-blog-v2__header { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .mfl-blog-v2__title { font-size: 1.6rem; }
    .mfl-blog-v2__grid--3,
    .mfl-blog-v2__grid--2 { grid-template-columns: 1fr; }
    .mfl-blog-v2__card-image { height: 175px; }
    .mfl-blog-v2__deco { display: none; }
}

/* ============================================================
   13. NEWSLETTER
   ============================================================ */
.mfl-newsletter {
    padding: 5rem 0;
    text-align: center;
}
.mfl-newsletter--teal {
    background: linear-gradient(135deg, #0c4a5e, #0e7490);
}
.mfl-newsletter--dark {
    background: #0f172a;
}
.mfl-newsletter--light {
    background: #f0fdfa;
}
.mfl-newsletter__content {
    max-width: 600px;
    margin: 0 auto;
}
.mfl-newsletter__desc {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    margin-bottom: 2rem;
}
.mfl-newsletter--light .mfl-newsletter__desc { color: #64748b; }
.mfl-newsletter--light .mfl-title--light { color: #1e293b; }
.mfl-newsletter--light .mfl-subtitle--light { color: #0e7490; }
.mfl-newsletter__form {
    display: flex;
    gap: 0.5rem;
    max-width: 480px;
    margin: 0 auto;
}
.mfl-newsletter__input-wrap {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
    border-radius: 9999px !important;
    padding: 0.75rem 1.25rem;
}
.mfl-newsletter--light .mfl-newsletter__input-wrap {
    background: #ffffff;
    border-color: #e2e8f0;
}
.mfl-newsletter__input-wrap svg { color: rgba(255,255,255,0.6); flex-shrink: 0; }
.mfl-newsletter--light .mfl-newsletter__input-wrap svg { color: #94a3b8; }
.mfl-newsletter__input-wrap input {
    background: transparent;
    border: none;
    outline: none;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    width: 100%;
}
.mfl-newsletter--light .mfl-newsletter__input-wrap input { color: #1e293b; }
.mfl-newsletter__input-wrap input::placeholder { color: rgba(255,255,255,0.5); }
.mfl-newsletter--light .mfl-newsletter__input-wrap input::placeholder { color: #94a3b8; }
.mfl-newsletter__btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #06b6d4, #0891b2);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 9999px !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s;
    white-space: nowrap;
}
.mfl-newsletter__btn:hover { transform: translateY(-2px); }
.mfl-newsletter__privacy {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.5);
    margin-top: 1rem;
}
.mfl-newsletter--light .mfl-newsletter__privacy { color: #94a3b8; }

/* ============================================================
   14. PARTNERS
   ============================================================ */
.mfl-partners {
    padding: 4rem 0;
    background: #f8fafc;
}
.mfl-partners__wrap { overflow: hidden; }
.mfl-partners__wrap--marquee .mfl-partners__track {
    display: flex;
    gap: 3rem;
    animation: mfl-marquee 30s linear infinite;
    width: max-content;
}
.mfl-partners__wrap--static .mfl-partners__track {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.mfl-partners__item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 160px;
    padding: 1rem 2rem;
    background: #ffffff;
    border-radius: 0.75rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s;
    text-decoration: none;
    flex-shrink: 0;
}
.mfl-partners__item:hover {
    border-color: #0e7490;
    box-shadow: 0 4px 12px rgba(14, 116, 144, 0.1);
}
.mfl-partners__item img {
    max-height: 40px;
    width: auto;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s;
}
.mfl-partners__item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}
.mfl-partners__name {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #64748b;
    white-space: nowrap;
}
@keyframes mfl-marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ============================================================
   15. FOOTER
   ============================================================ */

/* ── Newsletter Top Section (teal gradient) ── */
.mfl-footer__newsletter-top {
    position: relative;
    background: linear-gradient(135deg, #0e7490 0%, #0891b2 60%, #06b6d4 100%);
    padding: 5rem 0 0;
    text-align: center;
    overflow: hidden;
}
.mfl-footer__newsletter-top-inner {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    padding-bottom: 4rem;
}
.mfl-footer__newsletter-eyebrow {
    font-family: var(--mfl-font-script, 'Caveat', cursive);
    font-size: 1.5rem;
    color: #ffffff;
    margin: 0 0 0.5rem;
}
.mfl-footer__newsletter-heading {
    font-family: var(--mfl-font-heading, 'Poppins', sans-serif);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.75rem;
    line-height: 1.2;
}
.mfl-footer__newsletter-desc {
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-size: 1rem;
    color: rgba(255,255,255,0.85);
    margin: 0 0 2rem;
    line-height: 1.6;
}
.mfl-footer__newsletter-form {
    display: flex;
    gap: 0;
    max-width: 520px;
    margin: 0 auto 1.5rem;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 999px;
    padding: 4px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.mfl-footer__newsletter-form input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    padding: 0.65rem 1.25rem;
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-size: 0.9rem;
    color: #ffffff;
    min-width: 0;
}
.mfl-footer__newsletter-form input[type="email"] {
    border-radius: 999px !important;
}
.mfl-footer__newsletter-form input::placeholder {
    color: rgba(255,255,255,0.65);
}
.mfl-footer__newsletter-form button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #f97316;
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 0.65rem 1.5rem;
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s, box-shadow 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.mfl-footer__newsletter-form button:hover {
    background: #ea6c0a;
    box-shadow: 0 4px 16px rgba(249,115,22,0.4);
}
.mfl-footer__newsletter-badges {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.mfl-footer__newsletter-badges span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-size: 0.8rem;
    color: rgba(255,255,255,0.8);
}
.mfl-footer__newsletter-badges span svg {
    color: rgba(255,255,255,0.9);
    flex-shrink: 0;
}
/* Wave at bottom of newsletter → dark footer */
.mfl-footer__newsletter-wave {
    line-height: 0;
    position: relative;
    z-index: 1;
}
.mfl-footer__newsletter-wave svg {
    width: 100%;
    height: 80px;
    display: block;
}

/* ── Main Footer (dark) ── */
.mfl-footer__main {
    background: #0a2e3d;
    color: #ffffff;
    padding: 3.5rem 0 0;
}
.mfl-footer {
    background: #0a2e3d;
    color: #ffffff;
}
.mfl-footer__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2.5rem;
    padding-bottom: 3rem;
}
/* Brand column */
.mfl-footer__brand-name {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
}
.mfl-footer__brand-name span {
    font-family: var(--mfl-font-heading, 'Poppins', sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff !important;
}
.mfl-footer__brand-highlight {
    color: #06b6d4 !important;
}
.mfl-footer__logo {
    max-height: 40px;
    margin-bottom: 1rem;
    display: block;
}
.mfl-footer__tagline {
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    line-height: 1.7;
    margin: 0 0 1.25rem;
}
/* Contact info */
.mfl-footer__contact p {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-size: 0.85rem;
    color: rgba(255,255,255,0.6);
    margin: 0 0 0.6rem;
    line-height: 1.5;
}
.mfl-footer__contact p svg {
    flex-shrink: 0;
    margin-top: 0.15rem;
    color: rgba(255,255,255,0.5);
}
.mfl-footer__contact a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
}
.mfl-footer__contact a:hover { color: #67e8f9; }
/* Link columns */
.mfl-footer__col-title {
    font-family: var(--mfl-font-heading, 'Poppins', sans-serif) !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 1.1rem !important;
    letter-spacing: 0.01em;
}
.mfl-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.mfl-footer__links li { margin-bottom: 0.65rem; }
.mfl-footer__links a {
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.mfl-footer__links a:hover { color: #67e8f9; }
/* Bottom bar */
.mfl-footer__bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 0 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    gap: 1rem;
    flex-wrap: wrap;
}
.mfl-footer__bottom-copy {
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-size: 0.82rem;
    color: rgba(255,255,255,0.45);
    margin: 0;
}
.mfl-footer__bottom-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}
.mfl-footer__social {
    display: flex;
    gap: 0.4rem;
}
.mfl-footer__social a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.6);
    transition: all 0.2s;
    text-decoration: none;
}
.mfl-footer__social a:hover {
    background: rgba(14,116,144,0.6);
    color: #ffffff;
}
.mfl-footer__back-top {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #0e7490;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-left: 0.5rem;
    transition: background 0.2s, transform 0.2s;
    flex-shrink: 0;
}
.mfl-footer__back-top:hover {
    background: #0891b2;
    transform: translateY(-2px);
}
/* Bottom bar brand identity (optional) */
.mfl-footer__bottom-left {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}
.mfl-footer__bottom-brand {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}
.mfl-footer__bottom-logo {
    height: 24px;
    width: auto;
    object-fit: contain;
}
.mfl-footer__bottom-brand-name {
    font-family: var(--mfl-font-heading, 'Poppins', sans-serif);
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.75);
    line-height: 1;
}
.mfl-footer__bottom-brand-name .mfl-footer__brand-highlight {
    color: #06b6d4;
}
/* Newsletter: form builder embed */
.mfl-newsletter__builder-form {
    width: 100%;
    max-width: 560px;
    margin: 0 auto;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .mfl-footer__grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
    .mfl-footer__brand {
        grid-column: 1 / -1;
    }
}
@media (max-width: 640px) {
    .mfl-footer__newsletter-top {
        padding-top: 3.5rem;
    }
    .mfl-footer__newsletter-form {
        flex-direction: column;
        border-radius: 12px;
        padding: 0.5rem;
        gap: 0.5rem;
    }
    .mfl-footer__newsletter-form input {
        padding: 0.65rem 1rem;
        border-radius: 8px;
        background: rgba(255,255,255,0.1);
    }
    .mfl-footer__newsletter-form button {
        justify-content: center;
        border-radius: 8px;
        padding: 0.75rem 1.5rem;
    }
    .mfl-footer__newsletter-badges {
        gap: 0.75rem;
    }
    .mfl-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.75rem;
    }
    .mfl-footer__brand {
        grid-column: 1 / -1;
    }
    .mfl-footer__bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .mfl-footer__bottom-right {
        width: 100%;
        justify-content: space-between;
    }
}

/* ============================================================
   16. SERVICE CATEGORIES SECTION
   ============================================================ */
.mfl-service-cats-section {
    padding: 5rem 0;
    background: #f8fafc;
}
.mfl-service-cats-section__grid {
    display: grid;
    gap: 1rem;
}
.mfl-service-cats-section__grid--2 { grid-template-columns: repeat(2, 1fr); }
.mfl-service-cats-section__grid--3 { grid-template-columns: repeat(3, 1fr); }
.mfl-service-cats-section__grid--4 { grid-template-columns: repeat(4, 1fr); }
.mfl-service-cats-section__grid--5 { grid-template-columns: repeat(5, 1fr); }
.mfl-service-cats-section__grid--6 { grid-template-columns: repeat(6, 1fr); }

/* Mason layout mode */
.mfl-service-cats-section__grid--mason {
    grid-auto-rows: 90px;
    grid-auto-flow: dense;
}
.mfl-service-cats-section__grid--mason .mfl-service-cats-section__card {
    height: auto;
    grid-row: span 2;
}
.mfl-service-cats-section__grid--mason .mfl-service-cats-section__card:nth-child(5n+1) { grid-row: span 2; }
.mfl-service-cats-section__grid--mason .mfl-service-cats-section__card:nth-child(5n+2) { grid-row: span 2; }
.mfl-service-cats-section__grid--mason .mfl-service-cats-section__card:nth-child(5n+3) { grid-row: span 3; }
.mfl-service-cats-section__grid--mason .mfl-service-cats-section__card:nth-child(5n+4) { grid-row: span 2; }
.mfl-service-cats-section__grid--mason .mfl-service-cats-section__card:nth-child(5n+5) { grid-row: span 2; }

.mfl-service-cats-section__card {
    position: relative;
    height: 180px;
    border-radius: 0.75rem;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: transform 0.3s;
}
.mfl-service-cats-section__card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.mfl-service-cats-section__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}
.mfl-service-cats-section__card:hover img {
    transform: scale(1.05);
}
.mfl-service-cats-section__placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #94a3b8, #64748b);
}
.mfl-service-cats-section__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, rgba(0,0,0,0.1) 60%, rgba(0,0,0,0) 100%);
}
.mfl-service-cats-section__info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1.25rem;
    color: #ffffff;
}
.mfl-service-cats-section__info h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.3;
}
.mfl-service-cats-section__count {
    font-weight: 400;
    font-size: 0.85rem;
    opacity: 0.85;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .mfl-hero__title { font-size: 2.75rem; }
    .mfl-about__grid { grid-template-columns: 1fr; gap: 2rem; }
    .mfl-leaders__grid { grid-template-columns: repeat(2, 1fr); }
    .mfl-footer__grid { grid-template-columns: repeat(3, 1fr); }
    .mfl-featured__card { flex: 0 0 calc(50% - 0.75rem); }
    .mfl-testimonials__card { flex: 0 0 calc(50% - 0.75rem); }
    .mfl-service-pros__card { flex: 0 0 calc(33.333% - 1rem); }
    .mfl-service-cats { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .mfl-hero { min-height: 70vh; }
    .mfl-hero__title { font-size: 2.25rem; }
    .mfl-hero__search-bar { flex-direction: column; }
    .mfl-hero__stats { flex-direction: column; gap: 1rem; }
    .mfl-hero__stat-divider { width: 40px; height: 1px; }
    .mfl-title { font-size: 2rem; }
    .mfl-categories__grid--fan { flex-wrap: wrap; justify-content: center; }
    .mfl-categories__grid--fan .mfl-categories__card { transform: none !important; margin: 0.5rem; }
    .mfl-categories__grid--grid { grid-template-columns: repeat(2, 1fr); }
    .mfl-featured__card { flex: 0 0 calc(100% - 0rem); }
    .mfl-testimonials__card { flex: 0 0 100%; }
    .mfl-service-pros__card { flex: 0 0 calc(50% - 0.75rem); }
    .mfl-popular__grid--4,
    .mfl-popular__grid--3 { grid-template-columns: repeat(2, 1fr); }
    .mfl-blog__grid--3,
    .mfl-blog__grid--4 { grid-template-columns: repeat(2, 1fr); }
    .mfl-leaders__grid { grid-template-columns: 1fr 1fr; }
    .mfl-footer__grid { grid-template-columns: 1fr 1fr; }
    .mfl-newsletter__form { flex-direction: column; }
    .mfl-gallery__grid--masonry { columns: 2; }
    .mfl-service-cats-section__grid--6,
    .mfl-service-cats-section__grid--5,
    .mfl-service-cats-section__grid--4,
    .mfl-service-cats-section__grid--3 { grid-template-columns: repeat(2, 1fr); }
    .mfl-service-cats-section__grid--mason { grid-auto-rows: 80px; }
    .mfl-about__stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
}

@media (max-width: 480px) {
    .mfl-hero__title { font-size: 1.75rem; }
    .mfl-title { font-size: 1.5rem; }
    .mfl-subtitle { font-size: 1.75rem; }
    .mfl-categories__grid--grid { grid-template-columns: 1fr; }
    .mfl-popular__grid--4,
    .mfl-popular__grid--3,
    .mfl-popular__grid--2 { grid-template-columns: 1fr; }
    .mfl-blog__grid--3,
    .mfl-blog__grid--2 { grid-template-columns: 1fr; }
    .mfl-leaders__grid { grid-template-columns: 1fr; }
    .mfl-footer__grid { grid-template-columns: 1fr; }
    .mfl-footer__bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
    .mfl-service-pros__card { flex: 0 0 100%; }
    .mfl-gallery__grid--masonry { columns: 1; }
    .mfl-service-cats-section__grid--6,
    .mfl-service-cats-section__grid--5,
    .mfl-service-cats-section__grid--4,
    .mfl-service-cats-section__grid--3,
    .mfl-service-cats-section__grid--2 { grid-template-columns: 1fr; }
    .mfl-service-cats-section__grid--mason .mfl-service-cats-section__card { grid-row: span 2 !important; }
    .mfl-about__stats { grid-template-columns: 1fr; }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.mfl-animate-ready {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.mfl-animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Stagger children animations */
.mfl-categories__grid .mfl-animate-in:nth-child(1) { transition-delay: 0.05s; }
.mfl-categories__grid .mfl-animate-in:nth-child(2) { transition-delay: 0.1s; }
.mfl-categories__grid .mfl-animate-in:nth-child(3) { transition-delay: 0.15s; }
.mfl-categories__grid .mfl-animate-in:nth-child(4) { transition-delay: 0.2s; }
.mfl-categories__grid .mfl-animate-in:nth-child(5) { transition-delay: 0.25s; }
.mfl-categories__grid .mfl-animate-in:nth-child(6) { transition-delay: 0.3s; }
.mfl-categories__grid .mfl-animate-in:nth-child(7) { transition-delay: 0.35s; }
.mfl-categories__grid .mfl-animate-in:nth-child(8) { transition-delay: 0.4s; }

/* ============================================================
   ELEMENTOR OVERRIDES — Ensure MFL widgets display properly
   ============================================================ */
.elementor-widget-mfl_hero .elementor-widget-container,
.elementor-widget-mfl_categories .elementor-widget-container,
.elementor-widget-mfl_featured .elementor-widget-container,
.elementor-widget-mfl_about .elementor-widget-container,
.elementor-widget-mfl_bible_verse .elementor-widget-container,
.elementor-widget-mfl_service_pros .elementor-widget-container,
.elementor-widget-mfl_popular .elementor-widget-container,
.elementor-widget-mfl_gallery .elementor-widget-container,
.elementor-widget-mfl_stats .elementor-widget-container,
.elementor-widget-mfl_leaders .elementor-widget-container,
.elementor-widget-mfl_testimonials .elementor-widget-container,
.elementor-widget-mfl_blog .elementor-widget-container,
.elementor-widget-mfl_newsletter .elementor-widget-container,
.elementor-widget-mfl_partners .elementor-widget-container,
.elementor-widget-mfl_footer .elementor-widget-container,
.elementor-widget-mfl_service_categories .elementor-widget-container {
    width: 100%;
    max-width: none;
    padding: 0;
    margin: 0;
}

/* Remove Elementor section default padding when using MFL full-width widgets */
.elementor-section.mfl-full-width > .elementor-container {
    max-width: 100%;
    padding: 0;
}
.elementor-section.mfl-full-width > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding: 0;
}

/* Override MyListing theme defaults that might interfere */
.mfl-hero a,
.mfl-footer a,
.mfl-newsletter a {
    text-decoration: none;
}
.mfl-hero h1, .mfl-hero h2, .mfl-hero h3,
.mfl-footer h1, .mfl-footer h2, .mfl-footer h3, .mfl-footer h4 {
    margin: 0;
    padding: 0;
}


/* ============================================================
   LISTING CATEGORIES - FAN STYLE (REACT MATCH)
   Tilted cards: rotations [-8,-5,-2,0,2,5,8], offsets [30,15,5,0,5,15,30]
   Two hover buttons: View Listings + Post Listing
   ============================================================ */

.mfl-cat-fan {
    padding: 8rem 0 3rem;
    background: linear-gradient(160deg, #0c4a6e 0%, #0e6585 50%, #0f7a9c 100%);
    position: relative;
    overflow-x: clip;
}

.mfl-cat-fan__container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Decorative water drops */
.mfl-cat-fan__deco {
    position: absolute;
    color: rgba(255, 255, 255, 0.05);
    display: none;
}
@media (min-width: 768px) {
    .mfl-cat-fan__deco { display: block; }
}
.mfl-cat-fan__deco--1 {
    top: 5rem;
    left: 2rem;
    animation: mfl-cat-float1 6s ease-in-out infinite;
}
.mfl-cat-fan__deco--2 {
    top: 4rem;
    left: 5rem;
    color: rgba(255, 255, 255, 0.04);
    animation: mfl-cat-float2 5s ease-in-out infinite 1s;
}

@keyframes mfl-cat-float1 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-10px) rotate(5deg); }
}
@keyframes mfl-cat-float2 {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-8px) rotate(-5deg); }
}

/* Header */
.mfl-cat-fan__header {
    text-align: center;
    margin-bottom: 2.5rem;
    color: #ffffff; /* inherit-safe default for description text on dark bg */
}

.mfl-cat-fan__subtitle {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: #0e7490;
    margin: 0 0 0.5rem 0;
}

.mfl-cat-fan__title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}
@media (min-width: 640px) {
    .mfl-cat-fan__title { font-size: 3rem; }
}

/* ===== DESKTOP: Fan Layout ===== */
.mfl-cat-fan__desktop {
    display: none;
}
@media (min-width: 768px) {
    .mfl-cat-fan__desktop { display: block; }
    .mfl-cat-fan__mobile { display: none !important; }
}

/* Desktop clips the slide horizontally while letting fan rotations and outer-card overflow show.
   -200px top/bottom: fan rotations can bleed outside desktop height.
   -120px left/right: outer fan cards that slightly exceed the container width stay visible;
   off-screen sliding cards (parked at ±2000+ px) are still hidden by the site viewport. */
.mfl-cat-fan__desktop {
    clip-path: inset(-200px -120px);
}

/* Slider — contains the absolutely-positioned card deck */
.mfl-cat-fan__slider {
    position: relative;
    width: 100%;
    min-height: 340px;
}

/* Cards deck — position:relative makes it the containing block for absolute cards */
.mfl-cat-fan__cards {
    position: relative;
    min-height: 340px;
}

/* Individual card — absolute so it can slide freely without disrupting layout */
.mfl-cat-fan__card {
    position: absolute;
    left: calc(50% - 5.5rem); /* base: card center = container center; JS adds translateX fan offset */
    top: 1.5rem;
    width: 11rem;
    cursor: pointer;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
}

.mfl-cat-fan__card-inner {
    width: 11rem;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    position: relative;
    aspect-ratio: 3/4;
    transition: box-shadow 0.3s ease;
    background: #2a2a2a;
    line-height: 0;
}

.mfl-cat-fan__card:hover .mfl-cat-fan__card-inner {
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
}

/* Hover lift+scale handled by JS mouseenter/mouseleave to preserve translateX fan offset */

/* Card image — !important overrides Elementor's .elementor img { height: auto } */
.mfl-cat-fan__card-img {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    transition: transform 0.7s ease;
    display: block;
}

.mfl-cat-fan__card:hover .mfl-cat-fan__card-img {
    transform: scale(1.1);
}

/* Count badge - white pill */
.mfl-cat-fan__badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    padding: 0.45rem 0.9rem;
    border-radius: 9999px;
    background: rgba(255, 255, 255, 0.95);
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0e7490;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 5;
    min-width: 2.25rem;
    text-align: center;
}

/* Dark overlay on hover */
.mfl-cat-fan__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0);
    transition: background 0.3s ease;
    z-index: 2;
}

.mfl-cat-fan__card:hover .mfl-cat-fan__overlay {
    background: rgba(0, 0, 0, 0.5);
}

/* Two buttons on hover */
.mfl-cat-fan__buttons {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 3;
}

.mfl-cat-fan__card:hover .mfl-cat-fan__buttons,
.mfl-cat-fan--btns-always .mfl-cat-fan__buttons {
    opacity: 1;
}

.mfl-cat-fan__btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.45rem 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mfl-cat-fan__btn--view {
    background: #ffffff !important;
    color: #0e7490 !important;
}

.mfl-cat-fan__btn--view:hover {
    background: #f0f9ff !important;
    color: #0e7490 !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22);
}

.mfl-cat-fan__btn--post {
    background: #0e7490 !important;
    color: #ffffff !important;
}

.mfl-cat-fan__btn--post:hover {
    background: #0c6680 !important;
    color: #ffffff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
}

/* Card label — below card */
.mfl-cat-fan__card-label {
    text-align: center;
    padding: 0;
    margin-top: 0.75rem;
}

.mfl-cat-fan__card-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 1.2rem !important;
    color: #ffffff;
    margin: 0;
    transition: color 0.3s ease;
}

.mfl-cat-fan__card:hover .mfl-cat-fan__card-name {
    color: rgba(255, 255, 255, 0.85);
}

.mfl-cat-fan__card-more {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.55);
    margin: 0.25rem 0 0 0;
}

/* Paged navigation — arrows + dots — only rendered by PHP when num_pages > 1 */
.mfl-cat-fan__nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin-top: 2rem;
}

.mfl-cat-fan__dots {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mfl-cat-fan__arrow {
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    border: 1.5px solid rgba(14, 116, 144, 0.4);
    background: transparent;
    color: #0e7490;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    padding: 0;
}

.mfl-cat-fan__arrow:hover {
    background: #0e7490;
    color: #ffffff;
    border-color: #0e7490;
}

.mfl-cat-fan__dot {
    width: 0.625rem;
    height: 0.625rem;
    border-radius: 9999px;
    border: none;
    background: #94a3b8;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.mfl-cat-fan__dot:hover {
    background: #64748b;
}

.mfl-cat-fan__dot--active {
    background: #0e7490;
    width: 1.5rem;
}

/* ===== MOBILE: Horizontal Scroll ===== */
.mfl-cat-fan__mobile {
    display: block;
}
@media (min-width: 768px) {
    .mfl-cat-fan__mobile { display: none !important; }
}

.mfl-cat-fan__scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding: 0 0.5rem 1.5rem;
    scroll-snap-type: x mandatory;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.mfl-cat-fan__scroll::-webkit-scrollbar {
    display: none;
}

.mfl-cat-fan__mobile-card {
    flex-shrink: 0;
    scroll-snap-align: center;
}

.mfl-cat-fan__mobile-inner {
    width: 10rem;
    overflow: hidden;
    border-radius: 1rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
    position: relative;
    aspect-ratio: 3/4;
}

.mfl-cat-fan__mobile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mfl-cat-fan__mobile-gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6), transparent);
}

.mfl-cat-fan__mobile-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.75rem;
    z-index: 2;
}

.mfl-cat-fan__mobile-name {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    color: #ffffff !important;
    font-size: 0.875rem;
    margin: 0 0 0.5rem 0;
}

.mfl-cat-fan__mobile-btns {
    display: flex;
    gap: 0.5rem;
}

.mfl-cat-fan__mobile-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    font-size: 0.625rem;
    font-weight: 700;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.mfl-cat-fan__mobile-btn--view {
    background: #ffffff;
    color: #0e7490;
}

.mfl-cat-fan__mobile-btn--post,
.mfl-cat-fan__mobile-btn--post:hover,
.mfl-cat-fan__mobile-btn--post:focus {
    background: #0e7490;
    color: #ffffff !important;
}

.mfl-cat-fan__swipe-hint {
    text-align: center;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 0.5rem 0 0 0;
}

/* ===== Responsive adjustments ===== */
@media (max-width: 1200px) {
    .mfl-cat-fan__card-inner {
        width: 10rem;
    }
    .mfl-cat-fan__cards {
        gap: 0.75rem;
    }
}

@media (max-width: 900px) {
    .mfl-cat-fan__card-inner {
        width: 9rem;
    }
    .mfl-cat-fan__cards {
        gap: 0.75rem;
        padding: 1rem;
    }
    .mfl-cat-fan__btn {
        font-size: 0.6rem;
        padding: 0.4rem 0.45rem;
    }
}

/* ========================================
   BIBLE VERSE CAROUSEL
   ======================================== */

.mfl-bible-verse {
    position: relative;
    padding: 5rem 0;
    overflow: hidden;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mfl-bible-verse .mfl-container {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* Bible Icon */
.mfl-bible-verse__icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 2rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.9);
}

.mfl-bible-verse__icon svg {
    width: 40px;
    height: 40px;
}

/* Carousel */
.mfl-bible-verse__carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    min-height: 200px;
}

.mfl-bible-verse__slide {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.mfl-bible-verse__slide.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

/* Quote */
.mfl-bible-verse__quote {
    font-size: 2rem;
    font-style: italic;
    color: #ffffff;
    line-height: 1.6;
    margin: 0 0 1.5rem;
    font-weight: 300;
    letter-spacing: 0.02em;
}

/* Reference */
.mfl-bible-verse__reference {
    font-family: 'Caveat', cursive;
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-style: normal;
    display: block;
}

/* Navigation Arrows */
.mfl-bible-verse__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(4px);
}

.mfl-bible-verse__nav:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-50%) scale(1.05);
}

.mfl-bible-verse__nav--prev {
    left: 2rem;
}

.mfl-bible-verse__nav--next {
    right: 2rem;
}

/* Indicators */
.mfl-bible-verse__indicators {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 2.5rem;
}

.mfl-bible-verse__indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.mfl-bible-verse__indicator.active {
    background: #0e7490;
    width: 32px;
    border-radius: 5px;
}

.mfl-bible-verse__indicator:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Responsive */
@media (max-width: 768px) {
    .mfl-bible-verse {
        padding: 4rem 0;
    }
    
    .mfl-bible-verse__quote {
        font-size: 1.5rem;
    }
    
    .mfl-bible-verse__reference {
        font-size: 1.25rem;
    }
    
    .mfl-bible-verse__nav {
        width: 40px;
        height: 40px;
    }
    
    .mfl-bible-verse__nav--prev {
        left: 1rem;
    }
    
    .mfl-bible-verse__nav--next {
        right: 1rem;
    }
    
    .mfl-bible-verse__icon {
        width: 60px;
        height: 60px;
    }
    
    .mfl-bible-verse__icon svg {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 480px) {
    .mfl-bible-verse__quote {
        font-size: 1.25rem;
    }
    
    .mfl-bible-verse__reference {
        font-size: 1rem;
    }
}


/* ========================================
   SERVICE PROS SECTION
   ======================================== */

.mfl-service-pros {
    padding: 5rem 0;
    background: #f8fafc;
}

.mfl-service-pros .mfl-subtitle {
    color: #f97316;
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.mfl-service-pros .mfl-title .highlight {
    color: #f97316;
}

.mfl-service-pros .mfl-desc {
    color: #64748b;
    font-size: 1.125rem;
    max-width: 600px;
    margin: 0 auto 3rem;
}

/* Carousel */
.mfl-service-pros__carousel {
    position: relative;
    overflow: hidden;
    margin-bottom: 3rem;
}

.mfl-service-pros__track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s ease;
}

/* Pro Card */
.mfl-service-pros__card {
    flex: 0 0 calc(33.333% - 1rem);
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mfl-service-pros__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
}

/* Header with Background */
.mfl-service-pros__header {
    position: relative;
    height: 120px;
    background: linear-gradient(135deg, #0e7490 0%, #06b6d4 100%);
    background-size: cover;
    background-position: center;
}

.mfl-service-pros__header-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.3) 100%);
}

/* Badges */
.mfl-service-pros__badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    right: 1rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    z-index: 2;
}

.mfl-service-pros__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mfl-service-pros__badge--category {
    background: rgba(255, 255, 255, 0.9);
    color: #1e293b;
}

.mfl-service-pros__badge--featured {
    background: #f97316;
    color: #ffffff;
}

.mfl-service-pros__badge--verified {
    background: #3b82f6;
    color: #ffffff;
}

.mfl-service-pros__badge svg {
    width: 12px;
    height: 12px;
}

/* Photo */
.mfl-service-pros__photo-wrap {
    position: relative;
    width: 80px;
    height: 80px;
    margin: -40px auto 0;
    z-index: 3;
}

.mfl-service-pros__photo,
.mfl-service-pros__photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 4px solid #ffffff;
    object-fit: cover;
}

.mfl-service-pros__photo-placeholder {
    background: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
}

/* Body */
.mfl-service-pros__body {
    padding: 1rem 1.5rem 1.5rem;
    text-align: center;
}

.mfl-service-pros__name {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem;
}

.mfl-service-pros__biz {
    display: block;
    color: #0e7490;
    font-size: 0.875rem;
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.2s ease;
}

.mfl-service-pros__biz:hover {
    color: #06b6d4;
}

.mfl-service-pros__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #64748b;
    margin: 0.5rem 0;
}

.mfl-service-pros__meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.mfl-service-pros__meta svg {
    width: 12px;
    height: 12px;
    color: #94a3b8;
}

/* Skills */
.mfl-service-pros__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
    margin: 1rem 0;
}

.mfl-service-pros__skill {
    padding: 0.25rem 0.75rem;
    background: #f1f5f9;
    color: #475569;
    font-size: 0.75rem;
    border-radius: 9999px;
}

/* Quote */
.mfl-service-pros__quote {
    font-style: italic;
    color: #64748b;
    font-size: 0.875rem;
    margin: 1rem 0;
    line-height: 1.6;
}

/* Rating */
.mfl-service-pros__rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    margin: 1rem 0;
}

.mfl-service-pros__rating svg {
    width: 14px;
    height: 14px;
}

.mfl-service-pros__rating span {
    font-size: 0.875rem;
    color: #64748b;
    margin-left: 0.5rem;
}

/* Actions */
.mfl-service-pros__actions {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1.5rem;
}

.mfl-service-pros__actions .mfl-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
}

.mfl-service-pros__actions .mfl-btn svg {
    width: 14px;
    height: 14px;
}

.mfl-service-pros__actions .mfl-btn--primary {
    background: #f97316;
    color: #ffffff;
    border: 2px solid #f97316;
}

.mfl-service-pros__actions .mfl-btn--primary:hover {
    background: #ea580c;
    border-color: #ea580c;
}

.mfl-service-pros__actions .mfl-btn--outline {
    background: transparent;
    color: #0e7490;
    border: 2px solid #0e7490;
}

.mfl-service-pros__actions .mfl-btn--outline:hover {
    background: #0e7490;
    color: #ffffff;
}

.mfl-service-pros__actions .mfl-btn--secondary {
    background: #0e7490;
    color: #ffffff;
    border: 2px solid #0e7490;
}

.mfl-service-pros__actions .mfl-btn--secondary:hover {
    background: #06b6d4;
    border-color: #06b6d4;
}

/* Service Categories Grid */
.mfl-service-cats {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.mfl-service-cats__card {
    position: relative;
    height: 200px;
    border-radius: 12px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.mfl-service-cats__card:hover {
    transform: scale(1.02);
}

.mfl-service-cats__card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mfl-service-cats__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.6) 100%);
}

.mfl-service-cats__info {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    color: #ffffff;
    z-index: 2;
}

.mfl-service-cats__info h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 0.5rem;
}

.mfl-service-cats__info h4 span {
    font-weight: 400;
    opacity: 0.9;
}

.mfl-service-cats__cta {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #f97316;
}

/* Responsive */
@media (max-width: 1024px) {
    .mfl-service-pros__card {
        flex: 0 0 calc(50% - 0.75rem);
    }
}

@media (max-width: 768px) {
    .mfl-service-pros {
        padding: 3rem 0;
    }
    
    .mfl-service-pros__card {
        flex: 0 0 100%;
    }
    
    .mfl-service-cats {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 1rem;
    }
}


/* ========================================
   ABOUT SECTION
   ======================================== */

.mfl-about {
    position: relative;
    padding: 5rem 0;
    background: #ffffff;
    overflow: hidden;
}

/* Water Drop Decorations */
.mfl-about__decorations {
    position: absolute;
    top: 2rem;
    left: 2rem;
    pointer-events: none;
    z-index: 1;
}

.mfl-about__drop {
    position: absolute;
    background: #bae6fd;
    border-radius: 50% 50% 50% 0;
    opacity: 0.6;
    animation: float 6s ease-in-out infinite;
}

.mfl-about__drop--1 {
    width: 60px;
    height: 60px;
    top: 0;
    left: 0;
    transform: rotate(-45deg);
    animation-delay: 0s;
}

.mfl-about__drop--2 {
    width: 40px;
    height: 40px;
    top: 80px;
    left: 20px;
    transform: rotate(-30deg);
    animation-delay: 2s;
}

.mfl-about__drop--3 {
    width: 30px;
    height: 30px;
    top: 40px;
    left: 80px;
    transform: rotate(-60deg);
    animation-delay: 4s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(-45deg);
    }
    50% {
        transform: translateY(-20px) rotate(-45deg);
    }
}

/* Grid Layout */
.mfl-about__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

/* Image Collage */
.mfl-about__images {
    position: relative;
}

.mfl-about__collage {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1rem;
    max-width: 550px;
}

.mfl-about__collage-item {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.mfl-about__collage-item--1 {
    grid-column: 1;
    grid-row: 1 / 3;
}

.mfl-about__collage-item--2 {
    grid-column: 2;
    grid-row: 1;
}

.mfl-about__collage-item--3 {
    grid-column: 2;
    grid-row: 2;
}

.mfl-about__collage-item--4 {
    grid-column: 1 / 3;
    grid-row: 3;
    display: none; /* Only show 3 images in main collage */
}

.mfl-about__collage-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Content */
.mfl-about__content {
    position: relative;
}

.mfl-about .mfl-subtitle {
    color: #0e7490;
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.mfl-about .mfl-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.mfl-about__desc {
    color: #64748b;
    font-size: 1.125rem;
    line-height: 1.7;
    margin-bottom: 2rem;
}

/* Portrait with Rating */
.mfl-about__portrait-wrap {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 2rem 0 2rem auto;
}

.mfl-about__portrait {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #ffffff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.mfl-about__rating-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #f97316;
    color: #ffffff;
    padding: 0.5rem 0.75rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-weight: 700;
    font-size: 0.875rem;
    box-shadow: 0 4px 12px rgba(249, 115, 22, 0.4);
}

.mfl-about__rating-badge svg {
    width: 16px;
    height: 16px;
}

.mfl-about__emoji {
    position: absolute;
    bottom: -10px;
    left: -20px;
    font-size: 2rem;
    animation: bounce 2s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Features */
.mfl-about__features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.mfl-about__feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.mfl-about__feature-icon {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    background: #e0f2fe;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0e7490;
}

.mfl-about__feature-icon svg {
    width: 24px;
    height: 24px;
}

.mfl-about__feature-content {
    flex: 1;
}

.mfl-about__feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem;
}

.mfl-about__feature-desc {
    font-size: 1rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .mfl-about__grid {
        gap: 3rem;
    }

    .mfl-about .mfl-title {
        font-size: 2rem;
    }

    .mfl-about__collage {
        max-width: 450px;
    }
}

@media (max-width: 768px) {
    .mfl-about {
        padding: 3rem 0;
    }

    .mfl-about__grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .mfl-about .mfl-title {
        font-size: 1.75rem;
    }

    .mfl-about__collage {
        max-width: 100%;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

    .mfl-about__collage-item--1 {
        grid-row: 1;
    }

    .mfl-about__portrait-wrap {
        margin: 2rem auto;
    }

    .mfl-about__features {
        gap: 1.5rem;
    }

    .mfl-about__feature-icon {
        width: 45px;
        height: 45px;
    }

    .mfl-about__feature-title {
        font-size: 1.125rem;
    }

    .mfl-about__feature-desc {
        font-size: 0.9375rem;
    }
}
/* ============================================================
   SERVICE PROS V2 - Matches React Screenshot
   ============================================================ */

.mfl-service-pros-v2 {
    padding: 5rem 0;
    background: #ffffff;
}

/* Header - Centered */
.mfl-service-pros-v2__header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.mfl-service-pros-v2__subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #0e7490;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin: 0 0 0.75rem 0;
}

.mfl-service-pros-v2__title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.mfl-service-pros-v2__title .highlight {
    color: #0e7490;
}

.mfl-service-pros-v2__description {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    color: #64748b;
    margin: 0;
}

/* Service Pro Cards - Top Row */
.mfl-service-pros-v2__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto 4rem auto;
    padding: 0 2rem;
}

.mfl-service-pro-card-v2 {
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: visible;
    position: relative;
    transition: all 0.3s ease;
}

.mfl-service-pro-card-v2:hover {
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

/* Teal Header */
.mfl-service-pro-card-v2__header {
    height: 120px;
    background: #0e7490;
    border-radius: 1rem 1rem 0 0;
}

/* Avatar - Overlapping Header */
.mfl-service-pro-card-v2__avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: #ffffff;
    border: 4px solid #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: -50px auto 0 auto;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.mfl-service-pro-card-v2__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mfl-service-pro-card-v2__avatar svg {
    color: #94a3b8;
}

/* Card Content */
.mfl-service-pro-card-v2__content {
    padding: 1.5rem;
    text-align: center;
}

.mfl-service-pro-card-v2__name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.75rem 0;
}

/* Rating Stars */
.mfl-service-pro-card-v2__rating {
    display: flex;
    justify-content: center;
    gap: 0.25rem;
    margin-bottom: 1.5rem;
}

.mfl-service-pro-card-v2__rating svg {
    width: 20px;
    height: 20px;
}

/* Buttons */
.mfl-service-pro-card-v2__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 0.75rem;
}

.mfl-service-pro-card-v2__btn:last-child {
    margin-bottom: 0;
}

/* Orange Call Button */
.mfl-service-pro-card-v2__btn--call {
    background: #ff6b35;
    color: #ffffff;
    border: none;
}

.mfl-service-pro-card-v2__btn--call:hover {
    background: #ff5722;
}

/* White Message Button */
.mfl-service-pro-card-v2__btn--message {
    background: #ffffff;
    color: #0e7490;
    border: 2px solid #e2e8f0;
}

.mfl-service-pro-card-v2__btn--message:hover {
    border-color: #0e7490;
    background: #f0f9ff;
}

/* Teal Profile Button */
.mfl-service-pro-card-v2__btn--profile {
    background: #0e7490;
    color: #ffffff;
    border: none;
}

.mfl-service-pro-card-v2__btn--profile:hover {
    background: #0c6680;
}

/* Category Cards - Bottom Grid */
.mfl-service-pros-v2__categories {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mfl-service-category-card-v2 {
    position: relative;
    height: 180px;
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mfl-service-category-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.mfl-service-category-card-v2__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mfl-service-category-card-v2:hover .mfl-service-category-card-v2__image {
    transform: scale(1.1);
}

/* Dark Overlay */
.mfl-service-category-card-v2__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.3) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.mfl-service-category-card-v2__content {
    position: absolute;
    inset: 0;
    z-index: 2;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.mfl-service-category-card-v2__name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
}

.mfl-service-category-card-v2__count {
    font-weight: 400;
    opacity: 0.9;
}

.mfl-service-category-card-v2__link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: #ff6b35;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Responsive */
@media (max-width: 1024px) {
    .mfl-service-pros-v2__cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .mfl-service-pros-v2__categories {
        grid-template-columns: repeat(3, 1fr);
    }

    .mfl-service-pros-v2__title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    .mfl-service-pros-v2 {
        padding: 3rem 0;
    }

    .mfl-service-pros-v2__cards {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .mfl-service-pros-v2__categories {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }

    .mfl-service-pros-v2__title {
        font-size: 1.875rem;
    }

    .mfl-service-category-card-v2 {
        height: 150px;
    }
}

@media (max-width: 480px) {
    .mfl-service-pros-v2__categories {
        grid-template-columns: 1fr;
    }
}
/* ============================================================
   SERVICE PROS - REACT MATCH
   Exact match to React prototype design
   ============================================================ */

/* Import Caveat font for cursive subtitle */
@import url('https://fonts.googleapis.com/css2?family=Caveat:wght@400;600;700&display=swap');

.mfl-service-pros {
    background: #f8fafc;
}
.mfl-service-pros-react {
    padding: 5rem 0;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Header - Centered */
.mfl-service-pros-react__header {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.mfl-service-pros-react__subtitle {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    font-weight: 600;
    color: #f97316;
    margin: 0 0 0.5rem 0;
}

.mfl-service-pros-react__title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    line-height: 1.2;
}

.mfl-service-pros-react__title .highlight {
    color: #ff6b35;
}

.mfl-service-pros-react__description {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    color: #64748b;
    margin: 0;
}

/* Featured Pros Carousel */
.mfl-featured-pros-carousel {
    position: relative;
    margin: 0 auto 4rem auto;
    overflow: visible;
}

.mfl-featured-pros-carousel__track {
    display: flex;
    align-items: flex-start;
    border-radius: 1.5rem;
    transition: transform 0.5s ease;
    will-change: transform;
}

/* Featured Pro Card - each card fills 100% of visible carousel area */
.mfl-featured-pro-card {
    flex: 0 0 100%;
    min-width: 0;
    min-height: 480px;
    background: #ffffff;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    position: relative;
    box-sizing: border-box;
}

/* Background Image */
.mfl-featured-pro-card__bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 320px;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.mfl-featured-pro-card__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        transparent 65%
    );
}

/* Badges */
.mfl-featured-pro-card__badges {
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.mfl-featured-pro-card__badge {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.mfl-featured-pro-card__badge--featured {
    background: #ff6b35;
    color: #ffffff;
}

.mfl-featured-pro-card__badge--verified {
    background: #ffffff;
    color: #0e7490;
    border: 2px solid #e2e8f0;
}

/* Category Tag */
.mfl-featured-pro-card__category {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: #ffffff;
    color: #1e293b;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 600;
    z-index: 10;
}

/* Content - Two Column Layout */
.mfl-featured-pro-card__content {
    position: relative;
    z-index: 5;
    padding: 240px 2.5rem 2rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 2rem;
}

/* Left Column */
.mfl-featured-pro-card__left {
    display: flex;
    gap: 1.25rem;
}

.mfl-featured-pro-card__photo {
    flex-shrink: 0;
    width: 110px;
    height: 110px;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 4px solid #ffffff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-top: -40px;
}

.mfl-featured-pro-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mfl-featured-pro-card__info {
    flex: 1;
}

.mfl-featured-pro-card__name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.mfl-featured-pro-card__business {
    font-family: 'Poppins', sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: #0e7490;
    text-decoration: none;
    display: inline-block;
    margin-bottom: 0.75rem;
}

.mfl-featured-pro-card__business:hover {
    text-decoration: underline;
}

.mfl-featured-pro-card__meta {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.mfl-featured-pro-card__location,
.mfl-featured-pro-card__experience {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #64748b;
}

.mfl-featured-pro-card__location svg,
.mfl-featured-pro-card__experience svg {
    color: #94a3b8;
}

/* Skills */
.mfl-featured-pro-card__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.mfl-featured-pro-card__skill {
    padding: 0.4rem 1rem;
    background: #e0f2fe;
    color: #0e7490;
    border-radius: 2rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    font-weight: 500;
}

/* Testimonial */
.mfl-featured-pro-card__testimonial {
    background: #f8fafc;
    border-left: 4px solid #0e7490;
    padding: 1.25rem;
    border-radius: 0.5rem;
    position: relative;
}

.mfl-featured-pro-card__quote-icon {
    position: absolute;
    top: 1rem;
    left: 1rem;
    color: #cbd5e1;
}

.mfl-featured-pro-card__quote {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-style: italic;
    color: #475569;
    margin: 0 0 0.5rem 0;
    padding-left: 2rem;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mfl-featured-pro-card__author {
    font-family: 'Poppins', sans-serif;
    font-size: 0.875rem;
    color: #0e7490;
    font-weight: 600;
    margin: 0;
    padding-left: 2rem;
}

/* Right Column */
.mfl-featured-pro-card__right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 1rem;
    min-width: 220px;
}

.mfl-featured-pro-card__rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mfl-featured-pro-card__stars {
    display: flex;
    gap: 0.15rem;
}

.mfl-featured-pro-card__rating-text {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #64748b;
    white-space: nowrap;
}

.mfl-featured-pro-card__rating-text strong {
    color: #1e293b;
    font-size: 1.125rem;
}

.mfl-featured-pro-card__actions {
    display: flex;
    flex-direction: row;
    gap: 0.75rem;
}

.mfl-featured-pro-card__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.7rem 1.5rem;
    border-radius: 9999px;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mfl-featured-pro-card__btn--call {
    background: #0e7490;
    color: #ffffff;
}

.mfl-featured-pro-card__btn--call:hover {
    background: #0c6680;
}

.mfl-featured-pro-card__btn--message {
    background: #ffffff;
    color: #0e7490;
    border: 2px solid #e2e8f0;
}

.mfl-featured-pro-card__btn--message:hover {
    border-color: #0e7490;
    background: #f0f9ff;
}

.mfl-featured-pro-card__btn--profile {
    background: none;
    border: none;
    color: #0e7490;
    padding: 0;
    font-size: 0.9rem;
    font-weight: 600;
    position: absolute;
    bottom: 1.5rem;
    right: 2rem;
}

.mfl-featured-pro-card__btn--profile:hover {
    text-decoration: underline;
}

/* View Full Profile Link */
.mfl-featured-pro-card__view-profile {
    position: absolute;
    bottom: 1.5rem;
    right: 2.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #0e7490;
    text-decoration: none;
    z-index: 10;
}

.mfl-featured-pro-card__view-profile:hover {
    text-decoration: underline;
}

/* Carousel Navigation — positioned on card image area */
.mfl-featured-pros-carousel__nav {
    position: absolute;
    top: 180px;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 20;
}

.mfl-featured-pros-carousel__nav:hover {
    background: #0e7490;
    border-color: #0e7490;
}

.mfl-featured-pros-carousel__nav:hover svg {
    color: #ffffff;
}

.mfl-featured-pros-carousel__nav--prev {
    left: 1rem;
}

.mfl-featured-pros-carousel__nav--next {
    right: 1rem;
}

.mfl-featured-pros-carousel__nav svg {
    color: #64748b;
}

/* Carousel Dots */
.mfl-featured-pros-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.mfl-featured-pros-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mfl-featured-pros-carousel__dot.active {
    background: #0e7490;
    width: 32px;
    border-radius: 5px;
}

/* Service Categories Grid */
.mfl-service-categories-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mfl-service-category-card-simple {
    position: relative;
    border-radius: 0.75rem;
    overflow: hidden;
    text-decoration: none;
    transition: all 0.3s ease;
    min-height: 180px;
}

.mfl-service-category-card-simple:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.mfl-service-category-card-simple img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.mfl-service-category-card-simple:hover img {
    transform: scale(1.1);
}

.mfl-service-category-card-simple__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.6) 100%
    );
    z-index: 1;
}

.mfl-service-category-card-simple__name {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    z-index: 2;
}

/* Responsive */
@media (max-width: 1200px) {
    .mfl-featured-pro-card__content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding-bottom: 3.5rem;
    }

    .mfl-featured-pro-card__right {
        min-width: auto;
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 1rem;
    }

    .mfl-featured-pro-card__actions {
        flex-direction: row;
    }

    .mfl-featured-pro-card__btn--profile {
        position: static;
    }

    .mfl-service-categories-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .mfl-service-category-card-simple {
        min-height: 150px;
    }
}

@media (max-width: 768px) {
    .mfl-service-pros-react {
        padding: 3rem 0;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .mfl-service-pros-react__subtitle {
        font-size: 2rem;
    }

    .mfl-service-pros-react__title {
        font-size: 2rem;
    }

    .mfl-featured-pro-card__bg {
        height: 240px;
    }

    .mfl-featured-pro-card__content {
        padding: 180px 1.5rem 3rem 1.5rem;
    }

    .mfl-featured-pros-carousel__nav {
        top: 140px;
    }

    .mfl-featured-pro-card__left {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .mfl-featured-pro-card__photo {
        margin-top: -30px;
    }

    .mfl-featured-pro-card__meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    .mfl-featured-pro-card__actions {
        flex-direction: column;
    }

    .mfl-featured-pro-card__btn--profile {
        position: static;
        margin-top: 0.5rem;
    }

    .mfl-service-categories-grid {
        grid-template-columns: repeat(2, 1fr);
        padding: 0 1rem;
    }
}

@media (max-width: 480px) {
    .mfl-featured-pro-card__bg {
        height: 200px;
    }

    .mfl-featured-pro-card__content {
        padding: 150px 1rem 3rem 1rem;
    }

    .mfl-featured-pros-carousel__nav {
        top: 120px;
        width: 36px;
        height: 36px;
    }

    .mfl-featured-pro-card__name {
        font-size: 1.25rem;
    }

    .mfl-service-categories-grid {
        grid-template-columns: 1fr;
    }

    .mfl-featured-pro-card__badges {
        flex-direction: column;
        gap: 0.5rem;
    }
}
/* ============================================================
   ABOUT SECTION V2 - PDF Design Match
   Three-column: Organic images left, content center, person right
   ============================================================ */

.mfl-about-v2 {
    padding: 5rem 0;
    background: #ffffff;
}

.mfl-about-v2__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.mfl-about-v2__header {
    text-align: center;
    margin-bottom: 3rem;
}

.mfl-about-v2__grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 0.8fr;
    gap: 3rem;
    align-items: center;
}

/* ======================
   LEFT: Three image shapes — flex layout
   Tall pill (left) + stacked circle / rounded-rect (right)
   ====================== */
.mfl-about-v2__images-col {
    position: relative;
    display: flex;
    gap: 10px;
    height: 440px;
}

/* Vertical pill / capsule — left side, ~55% width
   Rounded top AND bottom; straight sides in between */
.mfl-about-v2__img-pill {
    flex: 0 0 55%;
    height: 100%;
    border-radius: 500px;
    overflow: hidden;
}
.mfl-about-v2__img-pill img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Right sub-column: blob on top, blob below */
.mfl-about-v2__img-stack {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
}

/* Top-right blob — 3 corners heavily rounded, bottom-left flat/sharp */
.mfl-about-v2__img-circle {
    width: 100%;
    aspect-ratio: 1 / 1;
    flex-shrink: 0;
    border-radius: 50% 50% 50% 5%;
    overflow: hidden;
}
.mfl-about-v2__img-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Bottom-right blob — 3 corners heavily rounded, top-left flat/sharp */
.mfl-about-v2__img-rect {
    flex: 1;
    min-height: 0;
    border-radius: 5% 50% 50% 50%;
    overflow: hidden;
}
.mfl-about-v2__img-rect img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Decorative SVGs — absolutely positioned, on top of images */
.mfl-about-v2__deco {
    position: absolute;
    z-index: 3;
    opacity: 0.45;
    pointer-events: none;
}
.mfl-about-v2__deco--cross {
    top: -8px;
    left: 8px;
}
.mfl-about-v2__deco--heart {
    bottom: 6%;
    left: -10px;
}
.mfl-about-v2__deco--community {
    bottom: -4px;
    left: 48%;
}
.mfl-about-v2__deco--anchor {
    top: 5%;
    right: 2%;
}

/* ======================
   CENTER: Content
   ====================== */
.mfl-about-v2__content-col {
    padding: 1rem 0;
}

.mfl-about-v2__description {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #64748b;
    line-height: 1.7;
    margin: 0 0 2rem 0;
}

/* Features */
.mfl-about-v2__features {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2rem;
}

.mfl-about-v2__feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.mfl-about-v2__feature-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f2fe, #cffafe);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0e7490;
}

.mfl-about-v2__feature-text h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.mfl-about-v2__feature-text p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
}

/* CTA Button — pill shape */
.mfl-about-v2__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2.25rem;
    background: #0e7490;
    color: #ffffff;
    border-radius: 9999px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}
.mfl-about-v2__cta:hover {
    background: #0c6577;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(14, 116, 144, 0.3);
}

/* ======================
   RIGHT: Person Cutout
   ====================== */
.mfl-about-v2__person-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 440px;
}

.mfl-about-v2__person-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

/* Tall pill background behind person */
.mfl-about-v2__person-bg {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 82%;
    height: 90%;
    border-radius: 200px;
    background: linear-gradient(180deg, #cffafe 0%, #e0f7fa 60%, #f0fdfa 100%);
    z-index: 0;
}

.mfl-about-v2__person-img {
    position: relative;
    z-index: 1;
    max-height: 470px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    object-position: bottom center;
}

.mfl-about-v2__person-badge {
    position: absolute;
    top: 12%;
    right: 0;
    background: #ffffff;
    border-radius: 1rem;
    padding: 0.5rem 0.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    z-index: 2;
    text-align: center;
}

.mfl-about-v2__badge-value {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
}

.mfl-about-v2__badge-emojis {
    display: flex;
    gap: 2px;
    justify-content: center;
    font-size: 0.75rem;
}

/* ======================
   RESPONSIVE
   ====================== */
@media (max-width: 1024px) {
    .mfl-about-v2__grid {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
    .mfl-about-v2__person-col {
        display: none;
    }
    .mfl-about-v2__images-col {
        height: 380px;
    }
}

@media (max-width: 768px) {
    .mfl-about-v2 {
        padding: 2.5rem 0;
    }
    .mfl-about-v2__grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .mfl-about-v2__images-col {
        height: 300px;
        max-width: 380px;
        margin: 0 auto;
    }
    .mfl-about-v2__header {
        margin-bottom: 1.5rem;
    }
    .mfl-about-v2__content-col {
        text-align: center;
    }
    .mfl-about-v2__features {
        align-items: center;
    }
    .mfl-about-v2__feature {
        text-align: left;
    }
    .mfl-about-v2__cta {
        justify-content: center;
        width: 100%;
        text-align: center;
    }
    .mfl-about-v2__deco {
        display: none;
    }
}

/* Phone portrait — show only pill, hide stacked images */
@media (max-width: 480px) {
    .mfl-about-v2 {
        padding: 2rem 0;
    }
    .mfl-about-v2__container {
        padding: 0 1rem;
    }
    .mfl-about-v2__header {
        margin-bottom: 1rem;
    }
    .mfl-about-v2__header .mfl-title {
        font-size: 1.5rem;
    }
    .mfl-about-v2__images-col {
        height: 280px;
        max-width: 260px;
        justify-content: center;
    }
    .mfl-about-v2__img-stack {
        display: none;
    }
    .mfl-about-v2__img-pill {
        flex: 0 0 100%;
        max-width: 260px;
    }
    .mfl-about-v2__description {
        font-size: 0.9rem;
    }
    .mfl-about-v2__feature-icon {
        width: 38px;
        height: 38px;
    }
    .mfl-about-v2__feature-text h3 {
        font-size: 0.95rem;
    }
    .mfl-about-v2__feature-text p {
        font-size: 0.8rem;
    }
    .mfl-about-v2__cta {
        padding: 0.75rem 1.5rem;
        font-size: 0.9rem;
        width: 100%;
        justify-content: center;
    }
}

/* ============================================================
   COMMUNITY LEADERS - REACT MATCH
   Circular images with role badges and social icons
   ============================================================ */

/* ── Leaders V2 — Tourm-style: patterned bg, white cards, circular overlapping photos ── */
.mfl-leaders-v2 {
    padding: 5rem 0 4rem;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}
.mfl-leaders-v2__header {
    text-align: center;
    margin-bottom: 4rem;
}
.mfl-leaders-v2__subtitle {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: #0e7490;
    margin: 0 0 0.25rem 0;
}
.mfl-leaders-v2__title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #475569 !important;
    margin: 0;
}
.mfl-leaders-v2__desc {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    color: #64748b;
    max-width: 600px;
    margin: 0.75rem auto 0;
}
/* Carousel wrapper — contains arrows + grid */
.mfl-leaders-v2__carousel-wrap {
    position: relative;
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 3rem;
}
/* Grid */
.mfl-leaders-v2__grid {
    display: flex;
    justify-content: center;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    /* padding-top gives room above photo circles so the 6px hover translateY
       doesn't get clipped; padding-bottom prevents shadow clipping at bottom */
    padding: 12px 1rem 8px;
    flex-wrap: nowrap;
    overflow: hidden;
}
/* Fade-in animation for carousel pages */
@keyframes mflLeaderFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* Card wrapper — holds photo + card body */
.mfl-leaders-v2__card-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 240px;
    min-width: 200px;
    flex-shrink: 0;
    position: relative;
    padding-top: 0;
    /* isolation: isolate creates a proper stacking context so z-index works
       between photo-circle (z-index:2) and card (z-index:1) */
    isolation: isolate;
    transition: transform 0.3s ease;
}
.mfl-leaders-v2__card-wrap:hover {
    transform: translateY(-6px);
}
/* Active/hover card: teal fill to match reference design */
.mfl-leaders-v2__card-wrap:hover .mfl-leaders-v2__card {
    background: #0e9aa7;
    box-shadow: 0 8px 28px rgba(14, 154, 167, 0.35);
    border-bottom: 3px solid transparent;
}
.mfl-leaders-v2__card-wrap:hover .mfl-leaders-v2__name,
.mfl-leaders-v2__card-wrap:hover .mfl-leaders-v2__name a,
.mfl-leaders-v2__card-wrap:hover .mfl-leaders-v2__role {
    color: #ffffff !important;
}
.mfl-leaders-v2__card-wrap:hover .mfl-leaders-v2__org {
    color: #c8f0f3 !important;
}
.mfl-leaders-v2__card-wrap:hover .mfl-leaders-v2__social-icon {
    border-color: rgba(255,255,255,0.6);
    color: #ffffff;
}
.mfl-leaders-v2__card-wrap:hover .mfl-leaders-v2__social-icon:hover {
    background: rgba(255,255,255,0.2);
}
/* Navigation Arrows */
.mfl-leaders-v2__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 1.5px solid #0e9aa7;
    color: #0e9aa7;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 3;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.mfl-leaders-v2__arrow:hover {
    background: #0e9aa7;
    color: #ffffff;
    transform: translateY(-50%) scale(1.08);
}
.mfl-leaders-v2__arrow--prev {
    left: 0;
}
.mfl-leaders-v2__arrow--next {
    right: 0;
}
/* Circular photo overlapping card — absolute to avoid flex paint-order cutoff */
.mfl-leaders-v2__photo-circle {
    /* Size + overlap driven by CSS custom properties set inline by the widget.
       --leaders-photo-size  : base diameter (default 140px)
       --leaders-photo-scale : responsive scale factor (1 desktop, 0.857 tablet, 0.714 mobile)
       Computed effective size = size × scale */
    width:  calc(var(--leaders-photo-size, 140px) * var(--leaders-photo-scale, 1));
    height: calc(var(--leaders-photo-size, 140px) * var(--leaders-photo-scale, 1));
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    flex-shrink: 0;
    /* Pull card up so the bottom half of the circle overlaps the card */
    margin-bottom: calc(var(--leaders-photo-size, 140px) * var(--leaders-photo-scale, 1) / -2);
    z-index: 2;
    box-shadow: 0 4px 20px rgba(0,0,0,0.12);
    background: #d4eef0;
    border-style: solid;
    border-width: var(--leaders-photo-border, 3px);
    border-color: var(--leaders-photo-border-color, #ffffff);
}
/* The <a> wrapping the photo is inline by default — make it block so height:100% works */
.mfl-leaders-v2__photo-circle a {
    display: block;
    width: 100%;
    height: 100%;
}
.mfl-leaders-v2__photo {
    display: block;
    width: 100%;
    height: 100% !important; /* override .elementor img { height: auto } */
    object-fit: cover;
    object-position: var(--leaders-photo-pos, center top);
}
.mfl-leaders-v2__photo-placeholder {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0e7490;
}
/* Card body — position:relative + z-index:1 so photo-circle (z-index:2) paints above it */
.mfl-leaders-v2__card {
    background: #ffffff;
    border-radius: 1rem;
    /* padding-top = half the effective circle size + 24px breathing room */
    padding: calc(var(--leaders-photo-size, 140px) * var(--leaders-photo-scale, 1) / 2 + 24px) 1.5rem 1.5rem;
    text-align: center;
    width: 100%;
    box-shadow: 0 4px 16px rgba(0,0,0,0.06);
    border-bottom: 3px solid transparent;
    position: relative;
    z-index: 1;
    transition: background 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.mfl-leaders-v2__info {
    margin-bottom: 0.75rem;
}
.mfl-leaders-v2__name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.2rem 0;
}
.mfl-leaders-v2__role {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
}
.mfl-leaders-v2__org {
    font-family: 'Inter', sans-serif;
    font-size: 0.78rem;
    color: #0e9aa7;
    margin: 0.2rem 0 0;
    font-weight: 500;
}
/* Name link styling */
.mfl-leaders-v2__name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}
.mfl-leaders-v2__name a:hover {
    color: #0e9aa7;
}
/* Social icons row */
.mfl-leaders-v2__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 0.75rem;
}
.mfl-leaders-v2__social-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1.5px solid #7ecdd1;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0e9aa7;
    transition: all 0.3s ease;
    text-decoration: none;
}
.mfl-leaders-v2__social-icon:hover {
    background: #0e9aa7;
    color: #ffffff;
    border-color: #0e9aa7;
    transform: translateY(-2px);
}
/* Pagination dots */
.mfl-leaders-v2__dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2.5rem;
}
.mfl-leaders-v2__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.3s ease;
}
.mfl-leaders-v2__dot.active {
    background: #0e9aa7;
    width: 12px;
    height: 12px;
}
/* Keep old classes for backward compat */
.mfl-leaders-react { padding: 5rem 0; background: #ffffff; }
.mfl-leaders-react__container { max-width: 1400px; margin: 0 auto; padding: 0 2rem; }
.mfl-leaders-react__header { text-align: center; margin-bottom: 3.5rem; }
.mfl-leaders-react__subtitle { font-family: 'Caveat', cursive; font-size: 2rem; color: #0e7490; margin: 0 0 0.5rem 0; }
.mfl-leaders-react__title { font-family: 'Poppins', sans-serif; font-size: 2.5rem; font-weight: 700; color: #1e293b; margin: 0; }
.mfl-leaders-react__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2.5rem; margin-bottom: 2rem; }
.mfl-leaders-react__grid[data-columns="2"] { grid-template-columns: repeat(2, 1fr); }
.mfl-leaders-react__grid[data-columns="3"] { grid-template-columns: repeat(3, 1fr); }
.mfl-leaders-react__grid[data-columns="5"] { grid-template-columns: repeat(5, 1fr); }
.mfl-leaders-react__card { text-align: center; transition: transform 0.3s ease; }
.mfl-leaders-react__card:hover { transform: translateY(-8px); }
.mfl-leaders-react__photo-wrap { position: relative; width: 180px; height: 180px; margin: 0 auto 1.5rem; }
.mfl-leaders-react__photo, .mfl-leaders-react__photo-placeholder { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.mfl-leaders-react__photo-placeholder { background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%); display: flex; align-items: center; justify-content: center; color: #0e7490; }
.mfl-leaders-react__role-badge { position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); background: #0e7490; color: #ffffff; padding: 0.4rem 1rem; border-radius: 2rem; font-family: 'Poppins', sans-serif; font-size: 0.75rem; font-weight: 600; white-space: nowrap; box-shadow: 0 4px 12px rgba(14, 116, 144, 0.3); }
.mfl-leaders-react__info { margin-bottom: 1rem; }
.mfl-leaders-react__name { font-family: 'Poppins', sans-serif; font-size: 1.125rem; font-weight: 600; color: #1e293b; margin: 0 0 0.4rem 0; }
.mfl-leaders-react__organization { font-family: 'Poppins', sans-serif; font-size: 0.875rem; color: #0e7490; margin: 0; }
.mfl-leaders-react__social { display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.mfl-leaders-react__social-icon { width: 32px; height: 32px; border-radius: 50%; background: #f1f5f9; display: flex; align-items: center; justify-content: center; color: #64748b; transition: all 0.3s ease; }
.mfl-leaders-react__social-icon:hover { background: #0e7490; color: #ffffff; transform: translateY(-2px); }
.mfl-leaders-react__indicators { display: flex; align-items: center; justify-content: center; gap: 0.5rem; margin-top: 2rem; }
.mfl-leaders-react__indicator { width: 10px; height: 10px; border-radius: 50%; background: #cbd5e1; border: none; padding: 0; cursor: pointer; transition: all 0.3s ease; }
.mfl-leaders-react__indicator.active { background: #0e7490; width: 28px; border-radius: 5px; }
.mfl-leaders-react__indicator:hover { background: #94a3b8; }
/* Responsive Leaders V2
   --leaders-photo-scale reduces the circle size proportionally at each breakpoint.
   photo-circle width/height/margin-bottom and card padding-top all derive from this. */
@media (max-width: 1024px) {
    .mfl-leaders-v2 { --leaders-photo-scale: 0.857; } /* ~120/140 */
    .mfl-leaders-v2__grid { gap: 1.5rem; }
    .mfl-leaders-v2__card-wrap { width: 200px; min-width: 180px; padding-top: 0; }
    .mfl-leaders-v2__card { padding-right: 1rem; padding-bottom: 1.25rem; padding-left: 1rem; }
    .mfl-leaders-v2__carousel-wrap { padding: 0 2.5rem; }
    .mfl-leaders-v2__arrow { width: 38px; height: 38px; }
    .mfl-leaders-react__grid { grid-template-columns: repeat(3, 1fr) !important; gap: 2rem; }
    .mfl-leaders-react__photo-wrap { width: 150px; height: 150px; }
}
@media (max-width: 768px) {
    .mfl-leaders-v2 { --leaders-photo-scale: 0.714; padding: 3rem 0 2.5rem; } /* ~100/140 */
    .mfl-leaders-v2__grid { gap: 1.5rem; padding: 0 0.5rem; }
    .mfl-leaders-v2__card-wrap { width: 180px; min-width: 160px; padding-top: 0; }
    .mfl-leaders-v2__card { padding-right: 0.75rem; padding-bottom: 1rem; padding-left: 0.75rem; }
    .mfl-leaders-v2__title { font-size: 1.6rem; }
    .mfl-leaders-v2__carousel-wrap { padding: 0 1rem; }
    .mfl-leaders-v2__arrow { width: 34px; height: 34px; }
    .mfl-leaders-v2__arrow--prev { left: -4px; }
    .mfl-leaders-v2__arrow--next { right: -4px; }
    .mfl-leaders-react { padding: 3rem 0; }
    .mfl-leaders-react__container { padding: 0 1rem; }
    .mfl-leaders-react__grid { grid-template-columns: repeat(2, 1fr) !important; gap: 1.5rem; }
    .mfl-leaders-react__title { font-size: 2rem; }
    .mfl-leaders-react__photo-wrap { width: 130px; height: 130px; }
    .mfl-leaders-react__role-badge { font-size: 0.7rem; padding: 0.3rem 0.8rem; }
}
@media (max-width: 480px) {
    .mfl-leaders-v2__grid { flex-direction: column; align-items: center; gap: 2rem; }
    .mfl-leaders-v2__card-wrap { width: calc(100vw - 4rem); max-width: 280px; min-width: unset; padding-top: 0; }
    .mfl-leaders-v2__carousel-wrap { padding: 0 0.75rem; }
    .mfl-leaders-v2__arrow { display: none; }
    .mfl-leaders-react__grid { grid-template-columns: 1fr !important; }
}
/* ============================================================
   FEATURED LISTINGS - 3D STACKED CAROUSEL (REACT MATCH)
   ============================================================ */

.mfl-featured-react {
    padding: 5rem 0;
    background: #ffffff;
    position: relative;
    overflow: hidden;
}

.mfl-featured-react__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header with Tabs */
.mfl-featured-react__header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 4rem;
    gap: 2rem;
}

.mfl-featured-react__header-left {
    flex: 1;
}

.mfl-featured-react__subtitle {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: #0e7490;
    margin: 0 0 0.5rem 0;
}

.mfl-featured-react__title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #475569 !important;
    margin: 0;
}

/* Filter Tabs */
.mfl-featured-react__tabs {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    align-items: center;
}

.mfl-featured-react__tab {
    padding: 0.6rem 1.5rem;
    border-radius: 2rem;
    border: 1px solid rgba(14, 116, 144, 0.18);
    background: rgba(255, 255, 255, 0.35);
    backdrop-filter: blur(12px) saturate(1.4);
    -webkit-backdrop-filter: blur(12px) saturate(1.4);
    color: #0e7490;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.mfl-featured-react__tab:hover {
    background: rgba(14, 116, 144, 0.1);
    border-color: rgba(14, 116, 144, 0.3);
    color: #0e7490;
}

.mfl-featured-react__tab.active {
    background: #0e7490;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(14, 116, 144, 0.3);
}

/* Carousel Wrapper */
.mfl-featured-react__carousel-wrapper {
    position: relative;
    margin: 0 auto;
}

/* 3D Carousel */
.mfl-featured-react__carousel {
    position: relative;
    width: 100%;
    height: 420px;
    perspective: 1500px;
    transform-style: preserve-3d;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Card */
.mfl-featured-react__card {
    position: absolute;
    width: 560px;
    height: 380px;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: grab;
    user-select: none;
}

.mfl-featured-react__card:active {
    cursor: grabbing;
}

/* Card Positions */
.mfl-featured-react__card.left {
    transform: translateX(-440px) translateZ(-150px) rotateY(18deg) scale(0.88);
    opacity: 1;
    filter: brightness(0.85);
    z-index: 1;
}

.mfl-featured-react__card.center {
    transform: translateX(0) translateZ(0) rotateY(0deg) scale(1);
    opacity: 1;
    z-index: 3;
}

.mfl-featured-react__card.right {
    transform: translateX(440px) translateZ(-150px) rotateY(-18deg) scale(0.88);
    opacity: 1;
    filter: brightness(0.85);
    z-index: 1;
}

.mfl-featured-react__card.hidden {
    transform: translateX(0) translateZ(-400px) scale(0.5);
    opacity: 0;
    z-index: 0;
    pointer-events: none;
}

/* Card Image — !important overrides Elementor's .elementor img { height: auto } */
.mfl-featured-react__card-image {
    position: absolute !important;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    object-fit: cover !important;
    display: block;
}

/* Card Overlay */
.mfl-featured-react__card-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%) !important;
    color: #ffffff;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.mfl-featured-react__card.center .mfl-featured-react__card-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.4) 50%, transparent 100%) !important;
    border-radius: 0;
    box-shadow: none;
}

.mfl-featured-react__card.center .mfl-featured-react__card-title {
    color: #ffffff;
}

.mfl-featured-react__card.center .mfl-featured-react__card-count {
    color: rgba(255, 255, 255, 0.8);
}

.mfl-featured-react__card.center .mfl-featured-react__card-button {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
}

.mfl-featured-react__card.center .mfl-featured-react__card-button:hover {
    background: rgba(255, 255, 255, 0.3);
    color: #ffffff !important;
    border-color: rgba(255, 255, 255, 0.5);
}

.mfl-featured-react__card-meta {
    display: inline-block;
    background: rgba(14,116,144,0.85);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
    backdrop-filter: blur(4px);
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.mfl-featured-react__card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.35rem 0;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.mfl-featured-react__card-count {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.85) !important;
    margin: 0 0 1rem 0;
}

.mfl-featured-react__card-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 2rem;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mfl-featured-react__card-button:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
    color: #ffffff !important;
    transform: translateX(4px);
}

/* Navigation Arrows */
.mfl-featured-react__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid rgba(14, 116, 144, 0.3);
    background: rgba(255, 255, 255, 0.95);
    color: #0e7490;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    opacity: 0;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.mfl-featured-react__carousel-wrapper:hover .mfl-featured-react__nav {
    opacity: 1;
}

.mfl-featured-react__nav:hover {
    background: #0e7490;
    color: #ffffff;
    border-color: #0e7490;
    box-shadow: 0 6px 24px rgba(14, 116, 144, 0.4);
    transform: translateY(-50%) scale(1.1);
}

.mfl-featured-react__nav--prev {
    left: 2rem;
}

.mfl-featured-react__nav--next {
    right: 2rem;
}

/* Carousel Dots */
.mfl-featured-react__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.mfl-featured-react__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.mfl-featured-react__dot:hover {
    background: #94a3b8;
}

.mfl-featured-react__dot.active {
    background: #0e7490;
    width: 28px;
    border-radius: 5px;
}

/* Status Text (Showing X listings) */
.mfl-featured-react__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
    flex-wrap: wrap;
}

.mfl-featured-react__status-tab {
    color: #0e7490;
    font-weight: 600;
}

.mfl-featured-react__status-sep {
    color: #cbd5e1;
}

.mfl-featured-react__status-link {
    color: #0e7490;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.mfl-featured-react__status-link:hover {
    color: #0c5e73;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 1200px) {
    .mfl-featured-react__card {
        width: 480px;
        height: 340px;
    }

    .mfl-featured-react__carousel {
        height: 380px;
    }

    .mfl-featured-react__card.left {
        transform: translateX(-380px) translateZ(-120px) rotateY(16deg) scale(0.88);
    }

    .mfl-featured-react__card.right {
        transform: translateX(380px) translateZ(-120px) rotateY(-16deg) scale(0.88);
    }
}

@media (max-width: 1024px) {
    .mfl-featured-react__header {
        flex-direction: column;
        align-items: flex-start;
    }

    .mfl-featured-react__tabs {
        width: 100%;
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .mfl-featured-react {
        padding: 3rem 0;
    }

    .mfl-featured-react__container {
        padding: 0 1rem;
    }

    .mfl-featured-react__title {
        font-size: 2rem;
    }

    .mfl-featured-react__card {
        width: calc(100vw - 3rem);
        max-width: 500px;
        height: 320px;
    }

    .mfl-featured-react__carousel {
        height: 360px;
    }

    .mfl-featured-react__card.left {
        transform: translateX(-85%) translateZ(-80px) rotateY(12deg) scale(0.85);
    }

    .mfl-featured-react__card.right {
        transform: translateX(85%) translateZ(-80px) rotateY(-12deg) scale(0.85);
    }

    .mfl-featured-react__card-title {
        font-size: 1.25rem;
    }

    .mfl-featured-react__card-overlay {
        padding: 1.5rem 1.25rem;
    }

    .mfl-featured-react__card-button {
        display: inline-flex !important;
        font-size: 0.8rem;
        padding: 0.5rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .mfl-featured-react__card {
        width: calc(100vw - 2rem);
        max-width: 360px;
        height: 300px;
    }

    .mfl-featured-react__carousel {
        height: 340px;
    }

    /* Show only center card on mobile */
    .mfl-featured-react__card.left,
    .mfl-featured-react__card.right {
        opacity: 0;
        pointer-events: none;
    }
}
/* ================================================================
   RECENT LISTINGS CAROUSEL
   ================================================================ */
.mfl-recent {
    padding: 80px 0;
    position: relative;
    overflow: visible;
    background: #fafafa;
}

/* Header */
.mfl-recent__header {
    max-width: 1280px;
    margin: 0 auto 40px;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
}
.mfl-recent__header-left {
    max-width: 500px;
}
.mfl-recent__subtitle {
    font-family: 'Caveat', cursive;
    font-size: 2rem;
    color: #0e7490;
    margin: 0 0 4px;
    line-height: 1.2;
}
.mfl-recent__title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 700;
    color: #475569 !important;
    margin: 0 0 8px;
    line-height: 1.2;
}
.mfl-recent__desc {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #64748b;
    margin: 0;
    line-height: 1.6;
}

/* Filter Tabs */
.mfl-recent__tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.mfl-recent__tab {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 8px 20px;
    border-radius: 50px;
    border: 1.5px solid #e2e8f0;
    background: #fff;
    color: #475569;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.mfl-recent__tab:hover {
    border-color: #0e7490;
    color: #0e7490;
    background: #f0fdfa;
}
.mfl-recent__tab.active {
    background: #0e7490;
    color: #fff;
    border-color: #0e7490;
}

/* Carousel Wrapper */
.mfl-recent__carousel-wrap {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Arrows */
.mfl-recent__arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0e7490;
    transition: all 0.3s ease;
}
.mfl-recent__arrow:hover {
    background: #0e7490;
    color: #fff;
    border-color: #0e7490;
    box-shadow: 0 6px 20px rgba(14,116,144,0.3);
}
.mfl-recent__arrow--prev { left: -8px; }
.mfl-recent__arrow--next { right: -8px; }

/* Carousel Track */
.mfl-recent__carousel {
    overflow: hidden;
    border-radius: 16px;
}
.mfl-recent__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    gap: 20px;
}

/* Cards */
.mfl-recent__card {
    flex: 0 0 calc(25% - 15px);
    min-width: calc(25% - 15px);
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
}
/* Cards Per Row — driven by data-cols on .mfl-recent__carousel */
.mfl-recent__carousel[data-cols="3"] .mfl-recent__card {
    flex: 0 0 calc(33.333% - 14px);
    min-width: calc(33.333% - 14px);
}
.mfl-recent__carousel[data-cols="5"] .mfl-recent__card {
    flex: 0 0 calc(20% - 16px);
    min-width: calc(20% - 16px);
}
.mfl-recent__card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

/* Card Image */
.mfl-recent__card-img-wrap {
    position: relative;
    height: 200px;
    overflow: hidden;
    margin: 0;
    border-radius: 0;
}
.mfl-recent__card-img {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover !important;
    object-position: center !important;
    transition: transform 0.5s ease;
}
.mfl-recent__card:hover .mfl-recent__card-img {
    transform: scale(1.08);
}

/* Heart Button */
.mfl-recent__heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255,255,255,0.9);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #94a3b8;
    transition: all 0.3s ease;
    z-index: 2;
    backdrop-filter: blur(4px);
}
.mfl-recent__heart:hover {
    color: #ef4444;
    background: #fff;
    transform: scale(1.1);
}
.mfl-recent__heart.active {
    color: #ef4444;
}
.mfl-recent__heart.active svg {
    fill: #ef4444;
}

/* Category Badge */
.mfl-recent__badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(14,116,144,0.9);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    z-index: 2;
    backdrop-filter: blur(4px);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* NEW Tag */
.mfl-recent__new-tag {
    position: absolute;
    bottom: 10px;
    left: 10px;
    background: #f97316;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 4px;
    z-index: 2;
    letter-spacing: 1px;
}

/* Card Body */
.mfl-recent__card-body {
    padding: 16px;
}
.mfl-recent__card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem !important;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 6px;
    line-height: 1.3;
}
.mfl-recent__card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}
.mfl-recent__card-title a:hover {
    color: #0e7490;
}

/* Location */
.mfl-recent__card-location {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    color: #94a3b8;
    margin: 0 0 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}
.mfl-recent__card-location svg {
    flex-shrink: 0;
    color: #0e7490;
}

/* Meta (Rating + Price) */
.mfl-recent__card-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.mfl-recent__card-rating {
    display: flex;
    align-items: center;
    gap: 2px;
}
.mfl-recent__card-rating span {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e293b;
    margin-left: 4px;
}
.mfl-recent__card-price {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 600;
    color: #0e7490;
    background: #f0fdfa;
    padding: 2px 10px;
    border-radius: 6px;
}

/* Card Footer */
.mfl-recent__card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}
.mfl-recent__card-date {
    font-family: 'Poppins', sans-serif;
    font-size: 0.75rem;
    color: #94a3b8;
}
.mfl-recent__card-link {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem;
    font-weight: 600;
    color: #0e7490;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 4px;
    transition: all 0.3s ease;
}
.mfl-recent__card-link:hover {
    color: #0c5f75;
    gap: 8px;
}

/* Dots */
.mfl-recent__dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 32px;
}
.mfl-recent__dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #cbd5e1;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.mfl-recent__dot.active {
    background: #0e7490;
    width: 24px;
    border-radius: 4px;
}

/* View All */
.mfl-recent__view-all-wrap {
    text-align: center;
    margin-top: 32px;
}
.mfl-recent__view-all {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: #0e7490;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(14,116,144,0.3);
}
.mfl-recent__view-all:hover {
    background: #0c5f75;
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(14,116,144,0.4);
    gap: 12px;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .mfl-recent__card {
        flex: 0 0 calc(33.333% - 14px);
        min-width: calc(33.333% - 14px);
    }
    .mfl-recent__header {
        flex-direction: column;
        align-items: flex-start;
    }
}
@media (max-width: 768px) {
    .mfl-recent { padding: 50px 0; }
    .mfl-recent__title { font-size: 1.8rem; }
    /* Card widths driven by data-cols-mobile Elementor setting */
    .mfl-recent__carousel[data-cols-mobile="1"] .mfl-recent__card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    .mfl-recent__carousel[data-cols-mobile="2"] .mfl-recent__card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
}
@media (max-width: 480px) {
    /* Card widths driven by data-cols-mobile Elementor setting */
    .mfl-recent__carousel[data-cols-mobile="1"] .mfl-recent__card {
        flex: 0 0 100%;
        min-width: 100%;
    }
    .mfl-recent__carousel[data-cols-mobile="2"] .mfl-recent__card {
        flex: 0 0 calc(50% - 10px);
        min-width: calc(50% - 10px);
    }
    .mfl-recent__card-img-wrap { height: 160px; }
}


/* ============================================================
   HEADER — MyListing Integration Icons (User, Cart, Messages)
   ============================================================ */
.mfl-header__actions {
    display: none;
    align-items: center;
    gap: 0.5rem;
    padding-right: 1rem;
    margin-left: auto;
}
@media (min-width: 1024px) {
    .mfl-header__actions {
        display: flex;
    }
}

/* Icon Buttons (Messages, Cart, Notifications, User) */
.mfl-header__icon-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    color: #475569;
    text-decoration: none;
    transition: all 0.2s ease;
    position: relative;
    background: transparent;
}
.mfl-header__icon-btn:hover {
    background: rgba(14, 116, 144, 0.08);
    color: #0e7490;
}
.mfl-header__icon-btn svg {
    flex-shrink: 0;
}

/* Badge (notification count) */
.mfl-header__badge {
    position: absolute;
    top: 2px;
    right: 2px;
    min-width: 16px;
    height: 16px;
    padding: 0 4px;
    border-radius: 8px;
    background: #ef4444;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 16px;
    text-align: center;
}

/* User Avatar in Nav */
.mfl-header__user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid rgba(14, 116, 144, 0.3);
    object-fit: cover;
}
.mfl-header__user-btn:hover .mfl-header__user-avatar {
    border-color: #0e7490;
}

/* Top Bar User (logged in) */
.mfl-header__topbar-user {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.mfl-header__topbar-avatar {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 1px solid rgba(255,255,255,0.3);
    object-fit: cover;
}


/* ============================================================
   MOBILE BOTTOM NAVIGATION BAR
   Replaces footer on mobile, fixed at bottom of screen
   ============================================================ */
.mfl-mobile-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
}
@media (max-width: 1023px) {
    .mfl-mobile-nav {
        display: block;
    }
    /* Hide footer on mobile when mobile nav is active */
    .mfl-footer {
        padding-bottom: 80px;
    }
}
.mfl-mobile-nav__inner {
    display: flex;
    align-items: center;
    justify-content: space-around;
    background: rgba(255,255,255,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0,0,0,0.06);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.06);
    padding: 0.4rem 0.5rem;
    padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px));
}
.mfl-mobile-nav__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    padding: 0.35rem 0.75rem;
    border-radius: 0.75rem;
    text-decoration: none;
    color: var(--mfl-mobnav-inactive, #9ca3af);
    transition: all 0.2s ease;
    -webkit-tap-highlight-color: transparent;
}
.mfl-mobile-nav__item:active {
    transform: scale(0.92);
}
.mfl-mobile-nav__item--active {
    color: var(--mfl-mobnav-active, #0e7490);
}
.mfl-mobile-nav__item--active .mfl-mobile-nav__icon svg {
    stroke-width: 2.5;
}

/* Center "Post" button — elevated */
.mfl-mobile-nav__item--center {
    position: relative;
    margin-top: -18px;
    padding-top: 0;
    padding-bottom: 0.2rem;
}
.mfl-mobile-nav__item--center .mfl-mobile-nav__icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0e7490, #0891b2);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(14, 116, 144, 0.35);
    color: #ffffff;
}
.mfl-mobile-nav__item--center .mfl-mobile-nav__icon svg {
    color: #ffffff;
    stroke: #ffffff;
}
.mfl-mobile-nav__item--center .mfl-mobile-nav__label {
    color: #0e7490;
    font-weight: 600;
}
/* Ensure Post button always has teal color from page load */
.mfl-mobile-nav__item--center .mfl-mobile-nav__icon,
.mfl-mobile-nav__item[href*="post"] .mfl-mobile-nav__icon {
    background: linear-gradient(135deg, #0e7490, #0891b2) !important;
    color: #ffffff !important;
}
.mfl-mobile-nav__item--center .mfl-mobile-nav__icon svg,
.mfl-mobile-nav__item[href*="post"] .mfl-mobile-nav__icon svg {
    color: #ffffff !important;
    stroke: #ffffff !important;
}

.mfl-mobile-nav__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* Regular nav icons — lift + spring on hover/tap */
.mfl-mobile-nav__item:not(.mfl-mobile-nav__item--center):hover .mfl-mobile-nav__icon {
    transform: translateY(-3px) scale(1.15);
}
.mfl-mobile-nav__item:not(.mfl-mobile-nav__item--center):active .mfl-mobile-nav__icon {
    transform: scale(0.85);
    transition: transform 0.08s ease;
}
/* Post/FAB trigger teal circle — scale + lift shadow on hover, squish on tap */
.mfl-mobile-nav__fab-wrapper .mfl-fab-trigger:hover .mfl-mobile-nav__icon {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 24px rgba(14, 116, 144, 0.55) !important;
}
.mfl-mobile-nav__fab-wrapper .mfl-fab-trigger:active .mfl-mobile-nav__icon {
    transform: scale(0.92);
    transition: transform 0.08s ease;
}
.mfl-mobile-nav__label {
    font-family: 'Inter', sans-serif;
    font-size: 10px;
    font-weight: 500;
    line-height: 1;
}

/* ── FAB Flyout Menu ── */
.mfl-mobile-nav__fab-wrapper {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    overflow: visible;
}

/* ── Solid half-circle backdrop ──
   Fixed px radius = always a true semicircle, never an ellipse. */
.mfl-fab-backdrop {
    position: fixed;
    left: calc(50% - 185px);
    bottom: 56px;
    width: 370px;
    height: 185px;
    background: var(--fab-bg, #0e7490);
    border-radius: 185px 185px 0 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 9998;
}
.mfl-mobile-nav__fab-wrapper.is-open .mfl-fab-backdrop {
    opacity: 1;
    pointer-events: auto;
}

/* Scrim — dark overlay behind FAB when open */
.mfl-fab-scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.15);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 9997;
}
.mfl-mobile-nav__fab-wrapper.is-open .mfl-fab-scrim {
    opacity: 1;
    pointer-events: auto;
}

.mfl-fab-items {
    /* Grouping container — not positioned; children use position:fixed directly */
    pointer-events: none;
}

.mfl-fab-item {
    /* position:fixed with viewport-unit left ensures correct placement
       regardless of whether an ancestor (e.g. backdrop-filter on nav inner)
       creates a new containing block */
    position: fixed;
    /* Item layout (bottom→top): 14px label + 4px gap + 44px button = 62px total.
       Button CENTER is 40px above the item's bottom edge.
       To place button CENTER at the arc point (56px above viewport bottom + fab-y),
       set item bottom = (56 - 40)px + fab-y = 16px + fab-y.
       All button centers will then be exactly 115px from the arc origin. */
    bottom: calc(16px + var(--fab-y, 80px));
    left: calc(50vw + var(--fab-x, 0px));   /* 50vw = always viewport center */
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none !important;
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    -webkit-tap-highlight-color: transparent !important;
    pointer-events: none;
    transform: translate(-50%, 12px) scale(0.4);
    opacity: 0;
    z-index: 99999;
    transition:
        transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
        opacity   0.25s ease;
    transition-delay: var(--fab-delay, 0s);
}
.mfl-fab-item:hover,
.mfl-fab-item:focus,
.mfl-fab-item:focus-visible,
.mfl-fab-item:active {
    outline: none !important;
    border: none !important;
    box-shadow: none !important;
    text-decoration: none !important;
}
.mfl-mobile-nav__fab-wrapper.is-open .mfl-fab-item {
    transform: translate(-50%, 0) scale(1);
    opacity: 1;
    pointer-events: auto;
}

.mfl-fab-item__btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--fab-item-color, rgba(255,255,255,0.2));
    color: #ffffff;
    transition: transform 0.2s cubic-bezier(0.34, 1.56, 0.64, 1),
                box-shadow 0.2s ease,
                filter 0.2s ease;
}
.mfl-mobile-nav__fab-wrapper.is-open .mfl-fab-item:hover .mfl-fab-item__btn {
    transform: scale(1.18);
    filter: brightness(1.15);
    box-shadow: 0 6px 20px rgba(0,0,0,0.35);
}
.mfl-mobile-nav__fab-wrapper.is-open .mfl-fab-item:active .mfl-fab-item__btn {
    transform: scale(1.12);
    box-shadow: 0 8px 24px rgba(0,0,0,0.4);
    transition: transform 0.08s ease;
}
.mfl-fab-item__btn i {
    font-size: 16px;
    color: #ffffff;
}
.mfl-fab-item__btn svg {
    width: 18px;
    height: 18px;
    color: #ffffff;
    fill: currentColor;
}

.mfl-fab-item__label {
    font-size: 10px;
    font-weight: 600;
    color: #ffffff;
    white-space: nowrap;
    letter-spacing: 0.3px;
}

/* ── Compact mode (7+ items) — smaller icons to prevent arc overlap ── */
.mfl-fab-items--compact .mfl-fab-item__btn {
    width: 36px;
    height: 36px;
    font-size: 14px;
}
.mfl-fab-items--compact .mfl-fab-item__btn i {
    font-size: 14px;
}
.mfl-fab-items--compact .mfl-fab-item__btn svg {
    width: 15px;
    height: 15px;
}
.mfl-fab-items--compact .mfl-fab-item__label {
    font-size: 9px;
}

/* Trigger button — default shows + icon */
.mfl-fab-trigger {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
    width: 100%;
    -webkit-tap-highlight-color: transparent;
    position: relative;
    z-index: 10000;
}
/* Remove inline descender gap — centres + SVG perfectly inside teal circle */
.mfl-mobile-nav__fab-wrapper .mfl-fab-trigger .mfl-fab-plus-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 0;
}
/* Default: hide × icon */
.mfl-mobile-nav__fab-wrapper .mfl-fab-trigger .mfl-fab-close-icon {
    display: none !important;
}
/* When open: white circle, hide +, show × */
.mfl-mobile-nav__fab-wrapper.is-open .mfl-fab-trigger.mfl-mobile-nav__item--center .mfl-mobile-nav__icon {
    background: #ffffff !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.18) !important;
}
.mfl-mobile-nav__fab-wrapper.is-open .mfl-fab-trigger .mfl-fab-plus-icon {
    display: none !important;
}
.mfl-mobile-nav__fab-wrapper.is-open .mfl-fab-trigger .mfl-fab-close-icon {
    display: block !important;
    color: var(--fab-bg, #0e7490) !important;
    stroke: var(--fab-bg, #0e7490) !important;
}
/* ── END FAB Flyout Menu ── */


/* ============================================================
   CONTACT PAGE WIDGET
   ============================================================ */
.mfl-contact {
    font-family: 'Inter', sans-serif;
}

/* Hero Banner */
.mfl-contact__hero {
    background: linear-gradient(135deg, rgba(14,116,144,0.9), rgba(26,35,50,0.92));
    background-size: cover;
    background-position: center;
    padding: 5rem 1.5rem;
    text-align: center;
    position: relative;
}
.mfl-contact__hero-inner {
    max-width: 700px;
    margin: 0 auto;
}
.mfl-contact__hero-badge {
    display: inline-block;
    font-family: 'Caveat', cursive;
    font-size: 1.35rem;
    color: #67e8f9;
    margin-bottom: 0.75rem;
}
.mfl-contact__hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 1rem;
}
.mfl-contact__hero-subtitle {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
}

/* Info Cards */
.mfl-contact__cards {
    padding: 3rem 1.5rem;
    margin-top: -2.5rem;
    position: relative;
    z-index: 10;
}
.mfl-contact__cards-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.mfl-contact__card {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: all 0.3s ease;
}
.mfl-contact__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}
.mfl-contact__card-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.mfl-contact__card-icon--phone { background: rgba(14,116,144,0.1); color: #0e7490; }
.mfl-contact__card-icon--email { background: rgba(6,182,212,0.1); color: #06b6d4; }
.mfl-contact__card-icon--location { background: rgba(245,158,11,0.1); color: #f59e0b; }
.mfl-contact__card-icon--clock { background: rgba(139,92,246,0.1); color: #8b5cf6; }
.mfl-contact__card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}
.mfl-contact__card-text {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 0.75rem;
}
.mfl-contact__card-link {
    font-size: 0.875rem;
    font-weight: 600;
    color: #0e7490;
    text-decoration: none;
    transition: color 0.2s;
}
.mfl-contact__card-link:hover {
    color: #0891b2;
}

/* Form + Map Section */
.mfl-contact__main {
    padding: 3rem 1.5rem 4rem;
    background: #f8fafc;
}
.mfl-contact__main-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    max-width: 1200px;
    margin: 0 auto;
}
.mfl-contact__form-wrapper {
    background: #ffffff;
    border-radius: 1rem;
    padding: 2.5rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}
.mfl-contact__form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 0.5rem;
}
.mfl-contact__form-subtitle {
    font-size: 0.9rem;
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}
.mfl-contact__form-body {
    /* Bit Form styles will render here */
}
.mfl-contact__form-placeholder {
    padding: 2rem;
    text-align: center;
    color: #94a3b8;
    font-style: italic;
}

/* Style Bit Form inputs to match our design */
.mfl-contact__form-body .bit-form input[type="text"],
.mfl-contact__form-body .bit-form input[type="email"],
.mfl-contact__form-body .bit-form input[type="tel"],
.mfl-contact__form-body .bit-form textarea,
.mfl-contact__form-body .bit-form select,
.mfl-contact__form-body input[type="text"],
.mfl-contact__form-body input[type="email"],
.mfl-contact__form-body input[type="tel"],
.mfl-contact__form-body textarea,
.mfl-contact__form-body select {
    font-family: 'Inter', sans-serif !important;
    border: 1px solid #e2e8f0 !important;
    border-radius: 0.5rem !important;
    padding: 0.75rem 1rem !important;
    transition: border-color 0.2s !important;
}
.mfl-contact__form-body input:focus,
.mfl-contact__form-body textarea:focus,
.mfl-contact__form-body select:focus {
    border-color: #0e7490 !important;
    box-shadow: 0 0 0 3px rgba(14,116,144,0.1) !important;
    outline: none !important;
}
.mfl-contact__form-body button[type="submit"],
.mfl-contact__form-body .bit-form button[type="submit"] {
    background: linear-gradient(135deg, #0e7490, #0891b2) !important;
    color: #ffffff !important;
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    padding: 0.75rem 2rem !important;
    border-radius: 0.5rem !important;
    border: none !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 14px rgba(14,116,144,0.3) !important;
}
.mfl-contact__form-body button[type="submit"]:hover,
.mfl-contact__form-body .bit-form button[type="submit"]:hover {
    background: linear-gradient(135deg, #0c6680, #0780a0) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 20px rgba(14,116,144,0.4) !important;
}

/* Map */
.mfl-contact__map-wrapper {
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    min-height: 400px;
    background: #f1f5f9;
}
.mfl-contact__map-wrapper iframe {
    display: block;
}
.mfl-contact__map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    color: #94a3b8;
    gap: 1rem;
}

/* Social */
.mfl-contact__social {
    margin-top: 1.5rem;
    text-align: center;
}
.mfl-contact__social-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
}
.mfl-contact__social-links {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
}
.mfl-contact__social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(14,116,144,0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0e7490;
    text-decoration: none;
    transition: all 0.2s;
}
.mfl-contact__social-link:hover {
    background: #0e7490;
    color: #ffffff;
    transform: translateY(-2px);
}

/* Contact Page Responsive */
@media (max-width: 1024px) {
    .mfl-contact__cards-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
    .mfl-contact__hero { padding: 3rem 1rem; }
    .mfl-contact__hero-title { font-size: 2rem; }
    .mfl-contact__cards-grid { grid-template-columns: 1fr; }
    .mfl-contact__main-grid { grid-template-columns: 1fr; }
    .mfl-contact__form-wrapper { padding: 1.5rem; }
}


/* ============================================================
   SITE-WIDE CSS OVERRIDES — MyListing Theme Consistency
   Ensures explore page, single listing, and all pages match
   our Poppins/Inter/teal design system
   ============================================================ */

/* ── Google Fonts Import (if not already loaded) ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Inter:wght@300;400;450;500;600;700&family=Caveat:wght@500;600;700&display=swap');

/* ── Global Font Override for MyListing ── */
body.theme-my-listing,
body.wp-theme-my-listing {
    font-family: 'Inter', sans-serif !important;
}

body.theme-my-listing h1,
body.theme-my-listing h2,
body.theme-my-listing h3,
body.theme-my-listing h4,
body.theme-my-listing h5,
body.theme-my-listing h6,
body.wp-theme-my-listing h1,
body.wp-theme-my-listing h2,
body.wp-theme-my-listing h3,
body.wp-theme-my-listing h4,
body.wp-theme-my-listing h5,
body.wp-theme-my-listing h6 {
    font-family: 'Poppins', sans-serif !important;
}

/* ── Explore Page Overrides ── */

/* Finder title "What are you looking for?" */
.finder-container .finder-title,
.finder-container .finder-search h2,
.cts-explore .finder-title,
.explore-head .finder-title h2,
.explore-head h2.case27-primary-text {
    font-family: 'Poppins', sans-serif !important;
    color: #475569 !important;
    font-weight: 700 !important;
    font-size: 1.35rem !important;
    letter-spacing: -0.01em !important;
    margin: 0 !important;
}

/* Explore type tabs (Marketplace, Services, Jobs, etc.) */
.finder-container .explore-head .finder-tabs a,
.finder-container .explore-head .finder-tabs .tab-item,
.explore-types-topbar .type-tab a,
.explore-types a,
.explore-types .type-info h4 {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    font-size: 0.8rem !important;
    transition: all 0.2s ease !important;
}
.explore-types a .type-info {
    display: flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
}
.explore-types a .type-info i {
    font-size: 0.85rem !important;
}
.explore-types a .type-info h4 {
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.2 !important;
}
.finder-container .explore-head .finder-tabs a.active,
.finder-container .explore-head .finder-tabs .tab-item.active,
.explore-types-topbar .type-tab.active a {
    color: #ffffff !important;
    background: #0e7490 !important;
    border-bottom: none !important;
    border-radius: 2rem !important;
    text-decoration: none !important;
}
.finder-container .explore-head .finder-tabs a.active i,
.finder-container .explore-head .finder-tabs .tab-item.active i,
.explore-types-topbar .type-tab.active a i {
    color: #ffffff !important;
}
.finder-container .explore-head .finder-tabs a:hover,
.explore-types-topbar .type-tab a:hover {
    color: #0e7490 !important;
}
/* Remove the expanding bottom-line underline on active/hover type tabs */
.explore-head .explore-types > div::after {
    display: none !important;
}

/* Listing Cards on Explore */
.lf-item-container {
    border-radius: 0.75rem !important;
    overflow: hidden !important;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06) !important;
    border: 1px solid rgba(0,0,0,0.04) !important;
    transition: all 0.3s ease !important;
}
.lf-item-container:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1) !important;
    transform: translateY(-3px) !important;
}
.lf-item-container .lf-item .listing-title h4,
.lf-item-container .lf-item .listing-title a {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
}
.lf-item-container .lf-item .listing-details li {
    font-family: 'Inter', sans-serif !important;
    color: #64748b !important;
}

/* Filters Sidebar */
.finder-container .finder-search .form-group label,
.finder-container .finder-search .finder-label {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    color: #475569 !important;
}
.finder-container .finder-search input[type="text"],
.finder-container .finder-search select,
.finder-container .finder-search .select2-container .select2-selection {
    font-family: 'Inter', sans-serif !important;
    border-radius: 0.5rem !important;
    border-color: #e2e8f0 !important;
    transition: border-color 0.2s !important;
}
.finder-container .finder-search input[type="text"]:focus,
.finder-container .finder-search select:focus {
    border-color: #0e7490 !important;
    box-shadow: 0 0 0 3px rgba(14,116,144,0.1) !important;
}

/* Search / Reset buttons */
.finder-container .finder-search .buttons-wrapper a.search-btn,
.finder-container .finder-search .buttons-wrapper .finder-search-btn {
    background: linear-gradient(135deg, #0e7490, #0891b2) !important;
    color: #ffffff !important;
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    border: none !important;
    transition: all 0.3s ease !important;
}
.finder-container .finder-search .buttons-wrapper a.search-btn:hover {
    background: linear-gradient(135deg, #0c6680, #0780a0) !important;
}

/* Listing Type checkboxes */
.finder-container .finder-search .form-group .radio-button label,
.finder-container .finder-search .form-group .checkbox label {
    font-family: 'Inter', sans-serif !important;
}

/* Price range slider */
.finder-container .noUi-connect {
    background: #0e7490 !important;
}
.finder-container .noUi-handle {
    border-color: #0e7490 !important;
}

/* ── Single Listing Page Overrides ── */

/* Listing header/title */
.single-listing .listing-cover .cover-buttons,
.single-listing .profile-header .profile-name h1,
.single-listing .profile-header .profile-name h2,
.single-listing .listing-title-bar h1,
.single-listing .listing-title-bar h2,
.single-listing .profile-cover-content h1 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
}

/* Listing tabs */
.single-listing .profile-header .profile-menu .profile-menu-item a,
.single-listing .listing-tabs .nav-tabs a {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    transition: color 0.2s !important;
}
.single-listing .profile-header .profile-menu .profile-menu-item.active a,
.single-listing .listing-tabs .nav-tabs li.active a {
    color: #0e7490 !important;
    border-bottom-color: #0e7490 !important;
}

/* Listing content */
.single-listing .tab-content,
.single-listing .listing-details-section {
    font-family: 'Inter', sans-serif !important;
}
.single-listing .listing-details-section h3,
.single-listing .listing-details-section h4 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    color: #475569 !important;
}

/* Listing action buttons */
.single-listing .profile-header .buttons .btn,
.single-listing .listing-actions .btn {
    font-family: 'Inter', sans-serif !important;
    font-weight: 500 !important;
    border-radius: 0.5rem !important;
    transition: all 0.2s ease !important;
}
.single-listing .profile-header .buttons .btn-primary,
.single-listing .listing-actions .btn-primary {
    background: #0e7490 !important;
    border-color: #0e7490 !important;
}
.single-listing .profile-header .buttons .btn-primary:hover,
.single-listing .listing-actions .btn-primary:hover {
    background: #0c6680 !important;
    border-color: #0c6680 !important;
}

/* Quick view button */
.lf-item-container .lf-item .overlay-buttons a,
.listing-preview .overlay-buttons a {
    border-radius: 50% !important;
    transition: all 0.2s ease !important;
}
.lf-item-container .lf-item .overlay-buttons a:hover,
.listing-preview .overlay-buttons a:hover {
    background: #0e7490 !important;
    color: #ffffff !important;
}

/* ── MyListing Default Header Override ── */
/* When our custom header is used, hide the MyListing default header */
body.theme-my-listing .header-container:not(.mfl-header__nav-inner),
body.theme-my-listing #c27-site-header:not(.mfl-header) {
    /* Only hide if our MFL header is present on the page */
}
body.mfl-has-custom-header .header-container,
body.mfl-has-custom-header #c27-site-header {
    display: none !important;
}

/* ── Pagination ── */
.finder-container .pagination a,
.finder-container .pagination span {
    font-family: 'Inter', sans-serif !important;
    border-radius: 0.375rem !important;
}
.finder-container .pagination .active a,
.finder-container .pagination .active span {
    background: #0e7490 !important;
    border-color: #0e7490 !important;
}

/* ── WooCommerce Overrides ── */
.woocommerce h1, .woocommerce h2, .woocommerce h3 {
    font-family: 'Poppins', sans-serif !important;
}
.woocommerce .button,
.woocommerce .btn {
    font-family: 'Inter', sans-serif !important;
    border-radius: 0.5rem !important;
}
.woocommerce .button.alt,
.woocommerce .btn-primary {
    background: #0e7490 !important;
    border-color: #0e7490 !important;
}

/* ── User Dashboard Overrides ── */
.cts-dashboard h2,
.cts-dashboard h3,
.dashboard-page h2,
.dashboard-page h3 {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
}
.cts-dashboard .nav-tabs a,
.dashboard-page .nav-tabs a {
    font-family: 'Inter', sans-serif !important;
}
.cts-dashboard .nav-tabs .active a,
.dashboard-page .nav-tabs .active a {
    color: #0e7490 !important;
    border-bottom-color: #0e7490 !important;
}


/* ============================================================
   MOBILE RESPONSIVE — Reduced Whitespace Between Sections
   ============================================================ */
@media (max-width: 768px) {
    /* Reduce section padding on mobile */
    .mfl-hero-v2 { min-height: 70vh; }
    
    .mfl-categories { padding: 30px 0 !important; }
    .mfl-categories .mfl-section-header { margin-bottom: 1.5rem !important; }
    
    .mfl-featured { padding: 30px 0 !important; }
    .mfl-featured .mfl-section-header { margin-bottom: 1.5rem !important; }
    
    .mfl-about { padding: 30px 0 !important; }
    
    .mfl-bible { padding: 30px 0 !important; }
    
    .mfl-service-pros { padding: 30px 0 !important; }
    
    .mfl-popular { padding: 30px 0 !important; }
    
    .mfl-gallery { padding: 30px 0 !important; }
    
    .mfl-stats { padding: 30px 0 !important; }
    
    .mfl-leaders { padding: 30px 0 !important; }
    
    .mfl-testimonials { padding: 30px 0 !important; }
    
    .mfl-partners { padding: 30px 0 !important; }
    
    .mfl-blog { padding: 30px 0 !important; }
    
    .mfl-newsletter { padding: 30px 0 !important; }
    
    .mfl-recent { padding: 30px 0 !important; }
    
    /* Reduce title sizes on mobile */
    .mfl-title { font-size: 1.75rem !important; }
    .mfl-subtitle { font-size: 1.75rem !important; }
    .mfl-desc { font-size: 0.95rem !important; }
    
    /* Reduce section header spacing */
    .mfl-section-header { margin-bottom: 1.5rem !important; }
    
    /* Ensure body has bottom padding for mobile nav */
    body.theme-my-listing,
    body.wp-theme-my-listing {
        padding-bottom: 70px !important;
    }
}

@media (max-width: 480px) {
    /* Even tighter on very small screens */
    .mfl-categories,
    .mfl-featured,
    .mfl-about,
    .mfl-bible,
    .mfl-service-pros,
    .mfl-popular,
    .mfl-gallery,
    .mfl-stats,
    .mfl-leaders,
    .mfl-testimonials,
    .mfl-partners,
    .mfl-blog,
    .mfl-newsletter,
    .mfl-recent {
        padding: 24px 0 !important;
    }
    
    .mfl-title { font-size: 1.5rem !important; }
    .mfl-hero-v2 { min-height: 60vh; }
    
    /* Contact page tighter */
    .mfl-contact__hero { padding: 2.5rem 1rem; }
    .mfl-contact__hero-title { font-size: 1.75rem; }
}

/* ── Ensure all MFL widgets have consistent box-sizing ── */
.mfl-header *,
.mfl-mobile-nav *,
.mfl-contact * {
    box-sizing: border-box;
}


/* ============================================================
   NEARBY LISTINGS WIDGET
   ============================================================ */
.mfl-nearby {
    padding: 60px 0;
}

/* Location Permission Banner */
.mfl-nearby__location-banner {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, rgba(14,116,144,0.06), rgba(6,182,212,0.06));
    border: 1px solid rgba(14,116,144,0.15);
    border-radius: 0.75rem;
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
}
.mfl-nearby__location-banner.mfl-nearby--hidden {
    display: none;
}
.mfl-nearby__location-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(14,116,144,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.mfl-nearby__location-text {
    flex: 1;
}
.mfl-nearby__location-text strong {
    display: block;
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
}
.mfl-nearby__location-text span {
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #64748b;
}
.mfl-nearby__location-btn {
    background: linear-gradient(135deg, #0e7490, #0891b2);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.6rem 1.25rem;
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(14,116,144,0.25);
}
.mfl-nearby__location-btn:hover {
    background: linear-gradient(135deg, #0c6680, #0780a0);
    transform: translateY(-1px);
}

/* Grid */
/* ── Filter Bar ── */
.mfl-nearby__filter-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem 2rem;
    margin-bottom: 1.75rem;
}

/* Type Tabs */
.mfl-nearby__type-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.mfl-nearby__type-tab {
    padding: 0.45rem 1.1rem;
    border-radius: 2rem;
    border: 1.5px solid #cbd5e1;
    background: transparent;
    color: #475569;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}
.mfl-nearby__type-tab:hover {
    border-color: #0e7490;
    color: #0e7490;
}
.mfl-nearby__type-tab.active {
    background: #0e7490;
    border-color: #0e7490;
    color: #fff;
}

/* Distance Slider */
.mfl-nearby__distance-control {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    min-width: 200px;
}
.mfl-nearby__distance-label {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: #475569;
    cursor: default;
}
.mfl-nearby__distance-slider {
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, #0e7490 0%, #0e7490 var(--mfl-slider-pct, 47%), #e2e8f0 var(--mfl-slider-pct, 47%), #e2e8f0 100%);
    border-radius: 2px;
    outline: none;
    cursor: pointer;
}
.mfl-nearby__distance-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0e7490;
    border: 2px solid #fff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.2);
    cursor: pointer;
}
.mfl-nearby__distance-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0e7490;
    border: 2px solid #fff;
    cursor: pointer;
}
.mfl-nearby__distance-ticks {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    color: #94a3b8;
}

/* Listing Cards */
.mfl-nearby__card {
    display: block;
    border-radius: 0.75rem;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    transition: transform 0.25s, box-shadow 0.25s;
    text-decoration: none;
    color: inherit;
}
.mfl-nearby__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.mfl-nearby__card-image {
    position: relative;
    height: 180px;
    background-size: cover;
    background-position: center;
    background-color: #e2e8f0;
}
.mfl-nearby__card-type {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    background: rgba(14,116,144,0.85);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.6rem;
    border-radius: 1rem;
    letter-spacing: 0.03em;
    backdrop-filter: blur(4px);
}
.mfl-nearby__card-dist {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 0.2rem 0.55rem;
    border-radius: 1rem;
    backdrop-filter: blur(4px);
}
.mfl-nearby__card-body {
    padding: 1rem 1.1rem;
}
.mfl-nearby__card-title {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.35rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.mfl-nearby__card-location {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.mfl-nearby__empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem;
    color: #64748b;
    font-size: 0.95rem;
}

/* ── Grid ── */
.mfl-nearby__grid {
    display: grid;
    grid-template-columns: repeat(var(--mfl-nearby-cols, 3), 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}
.mfl-nearby__shortcode-wrapper {
    margin-bottom: 2rem;
}
/* Override the shortcode output to use our grid */
.mfl-nearby__shortcode-wrapper .mylisting-nearby-grid,
.mfl-nearby__shortcode-wrapper .nearby-listings-grid {
    display: grid !important;
    grid-template-columns: repeat(var(--mfl-nearby-cols, 3), 1fr) !important;
    gap: 1.5rem !important;
}

/* Loading State */
.mfl-nearby__loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: #64748b;
}
.mfl-nearby__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid #e2e8f0;
    border-top-color: #0e7490;
    border-radius: 50%;
    animation: mfl-spin 0.8s linear infinite;
    margin: 0 auto 1rem;
}
@keyframes mfl-spin {
    to { transform: rotate(360deg); }
}

/* Map */
.mfl-nearby__map-container {
    border-radius: 0.75rem;
    overflow: hidden;
    height: 350px;
    margin-bottom: 2rem;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}

/* View All */
.mfl-nearby__footer {
    text-align: center;
    margin-top: 1rem;
}
.mfl-nearby__view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #0e7490;
    text-decoration: none;
    padding: 0.75rem 2rem;
    border: 2px solid #0e7490;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}
.mfl-nearby__view-all:hover {
    background: #0e7490;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(14,116,144,0.3);
}

/* Responsive */
@media (max-width: 1024px) {
    .mfl-nearby__grid,
    .mfl-nearby__shortcode-wrapper .mylisting-nearby-grid,
    .mfl-nearby__shortcode-wrapper .nearby-listings-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .mfl-nearby__filter-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .mfl-nearby__distance-control {
        width: 100%;
        min-width: 0;
    }
}
@media (max-width: 768px) {
    .mfl-nearby { padding: 30px 0; }
    .mfl-nearby__location-banner {
        flex-direction: column;
        text-align: center;
    }
    .mfl-nearby__grid,
    .mfl-nearby__shortcode-wrapper .mylisting-nearby-grid,
    .mfl-nearby__shortcode-wrapper .nearby-listings-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .mfl-nearby__card-image { height: 140px; }
    .mfl-nearby__map-container { height: 250px; }
}
@media (max-width: 480px) {
    .mfl-nearby__grid {
        grid-template-columns: 1fr !important;
    }
}


/* ============================================================
   FEATURED LISTINGS STATUS TEXT
   ============================================================ */
.mfl-featured-react__status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 1.5rem;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #64748b;
}
.mfl-featured-react__status-tab {
    color: #0e7490;
    font-weight: 600;
}
.mfl-featured-react__status-sep {
    color: #cbd5e1;
}
.mfl-featured-react__status-link {
    color: #0e7490;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
.mfl-featured-react__status-link:hover {
    color: #0c6680;
    text-decoration: underline;
}

/* ============================================================
   ABOUT SECTION CTA BUTTON
   ============================================================ */
.mfl-about-react__cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 1.5rem;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, #0e7490, #0891b2);
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    border-radius: 0.5rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(14,116,144,0.25);
}
.mfl-about-react__cta:hover {
    background: linear-gradient(135deg, #0c6680, #0780a0);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(14,116,144,0.35);
    color: #ffffff;
    text-decoration: none;
}
.mfl-about-react__cta svg {
    transition: transform 0.3s ease;
}
.mfl-about-react__cta:hover svg {
    transform: translateX(4px);
}

/* ============================================================
   LEADERS DESCRIPTION & NAV ARROWS
   ============================================================ */
.mfl-leaders-react__desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    color: #64748b;
    max-width: 600px;
    margin: 0.5rem auto 0;
    line-height: 1.6;
}
.mfl-leaders-react__nav-arrows {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 1.5rem;
}
.mfl-leaders-react__arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #fff;
    border: 1.5px solid #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0e7490;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.mfl-leaders-react__arrow:hover {
    background: #0e7490;
    color: #fff;
    border-color: #0e7490;
}

/* ============================================================
   FOOTER NEWSLETTER SECTION
   ============================================================ */
.mfl-footer__newsletter {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
    text-align: center;
}
.mfl-footer__newsletter-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem;
}
.mfl-footer__newsletter-desc {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    max-width: 500px;
    margin: 0 auto 1.25rem;
    line-height: 1.6;
}
.mfl-footer__newsletter-form {
    display: flex;
    max-width: 480px;
    margin: 0 auto;
    gap: 0;
}
.mfl-footer__newsletter-form input[type="email"] {
    flex: 1;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255,255,255,0.2);
    border-right: none;
    border-radius: 0.5rem 0 0 0.5rem;
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.2s;
}
.mfl-footer__newsletter-form input[type="email"]::placeholder {
    color: rgba(255,255,255,0.5);
}
.mfl-footer__newsletter-form input[type="email"]:focus {
    border-color: #06b6d4;
}
.mfl-footer__newsletter-form button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #0e7490, #0891b2);
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    border: none;
    border-radius: 0 0.5rem 0.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}
.mfl-footer__newsletter-form button:hover {
    background: linear-gradient(135deg, #0c6680, #0780a0);
}
@media (max-width: 480px) {
    .mfl-footer__newsletter-form {
        flex-direction: column;
        gap: 8px;
    }
    .mfl-footer__newsletter-form input[type="email"] {
        border-right: 1px solid rgba(255,255,255,0.2);
        border-radius: 0.5rem;
    }
    .mfl-footer__newsletter-form button {
        border-radius: 0.5rem;
        justify-content: center;
    }
}

/* ============================================================
   EXPLORE PAGE — Enhanced CSS Fixes
   ============================================================ */

/* Fix listing card titles — white text for readability */
.lf-item-container .lf-item .listing-title h4,
.lf-item-container .lf-item .listing-title a,
.lf-item-container .lf-item .lf-head h4 a,
.lf-item-container .lf-item .lf-head h4,
.results-view .lf-item-container h4,
.results-view .lf-item-container h4 a {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
    line-height: 1.4 !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}
.lf-item-container .lf-item .listing-title a:hover,
.lf-item-container .lf-item .lf-head h4 a:hover,
.results-view .lf-item-container h4 a:hover {
    color: #e0f2fe !important;
}

/* Fix sidebar filter headings — too large and weird */
.finder-container .finder-search h5,
.finder-container .finder-search .form-section-title,
.finder-container .finder-search .form-group > label:first-child,
.finder-container .finder-search .finder-label,
.explore-sidebar h5,
.explore-sidebar .form-section-title,
.explore-sidebar .widget-title,
body .finder-container .finder-search h5,
body .explore-sidebar h5 {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.3 !important;
}

/* Fix "If Clothing Selected" and similar conditional headings */
.finder-container .finder-search h4,
.explore-sidebar h4,
body .finder-container .finder-search h4 {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin-bottom: 0.5rem !important;
}

/* Fix "Filter by location" heading */
.finder-container .finder-search h3,
.explore-sidebar h3 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin-bottom: 0.75rem !important;
}

/* Improve contrast on listing card details */
.lf-item-container .lf-item .listing-details li,
.lf-item-container .lf-item .lf-body .listing-details li,
.lf-item-container .lf-item .lf-body li {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8rem !important;
    color: #64748b !important;
}

/* Fix listing card action icons — improve contrast */
.lf-item-container .lf-item .lf-body .listing-details li i,
.lf-item-container .lf-item .lf-body .listing-details li .icon {
    color: #94a3b8 !important;
    font-size: 0.85rem !important;
}

/* Fix price badge on listing cards */
.lf-item-container .lf-item .lf-head .listing-price,
.lf-item-container .listing-price {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    font-size: 0.85rem !important;
    background: rgba(14,116,144,0.9) !important;
    color: #ffffff !important;
    border-radius: 0.375rem !important;
    padding: 4px 10px !important;
}

/* Fix listing card overlay text on images — improve readability */
.lf-item-container .lf-item .lf-head .overlay .listing-title,
.lf-item-container .lf-item .lf-head .overlay h4,
.lf-item-container .lf-item .lf-head .overlay h4 a {
    font-size: 0.9rem !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5) !important;
}

/* Fix location text on listing cards */
.lf-item-container .lf-item .lf-head .lf-item-info .lf-item-info-value,
.lf-item-container .lf-item .lf-head .listing-address {
    font-size: 0.8rem !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4) !important;
}

/* Ensure explore page uses our MFL header/footer, hide MyListing defaults */
body.mfl-has-custom-header .c27-site-header,
body.mfl-has-custom-header #c27-site-header,
body.mfl-has-custom-header .header-container:not(.mfl-header__nav-inner) {
    display: none !important;
}
body.mfl-has-custom-footer .c27-site-footer,
body.mfl-has-custom-footer #c27-site-footer,
body.mfl-has-custom-footer .footer-container:not(.mfl-footer) {
    display: none !important;
}

/* Fix radio buttons and checkboxes in sidebar */
.finder-container .finder-search .form-group input[type="radio"],
.finder-container .finder-search .form-group input[type="checkbox"] {
    accent-color: #0e7490 !important;
}

/* Fix dropdown selects in sidebar */
.finder-container .finder-search .form-group select,
.finder-container .finder-search .form-group .select2-container--default .select2-selection--single {
    font-size: 0.85rem !important;
    padding: 8px 12px !important;
    border-radius: 0.5rem !important;
}

/* Fix "Showing X results" text */
.finder-container .results-header,
.finder-container .showing-results,
.finder-container .results-count {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    color: #64748b !important;
}

/* Fix map toggle and view buttons */
.finder-container .results-header .view-buttons a,
.finder-container .results-header .view-buttons button {
    border-radius: 0.375rem !important;
    transition: all 0.2s !important;
}
.finder-container .results-header .view-buttons a.active,
.finder-container .results-header .view-buttons button.active {
    background: #0e7490 !important;
    color: #ffffff !important;
}

/* Fix "Search as I move the map" checkbox */
.finder-container .map-container .map-search-on-move label {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8rem !important;
}

/* Listing card action buttons (quick view, favorite, etc.) */
.lf-item-container .lf-item .lf-body .listing-actions a,
.lf-item-container .lf-item .lf-body .listing-actions button {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    color: #64748b !important;
    transition: all 0.2s !important;
}
.lf-item-container .lf-item .lf-body .listing-actions a:hover,
.lf-item-container .lf-item .lf-body .listing-actions button:hover {
    background: #0e7490 !important;
    color: #ffffff !important;
    border-color: #0e7490 !important;
}


/* ============================================================
   ADDITIONAL FIXES FROM PDF VERIFICATION
   ============================================================ */

/* Listing Categories - Image fills entire card (no white border at bottom) */
.mfl-categories__card-img {
    object-fit: cover !important;
    object-position: center !important;
}
.mfl-categories__card-overlay {
    background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.7) 100%) !important;
}

/* Featured Listings - Image fills card, remove dark gradient, blur unfocused */
.mfl-featured-react__card-img,
.mfl-featured__card-img {
    object-fit: cover !important;
    object-position: center !important;
}
.mfl-featured-react__card.center,
.mfl-featured__card.center {
    filter: none;
    opacity: 1;
}

/* Popular Listings - Title truncation with ellipsis */
.mfl-popular__card-title,
.mfl-popular-react__card-title {
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    line-height: 1.4 !important;
    max-height: 2.8em !important;
}

/* Community Leaders - Round circle image crop */
.mfl-leaders-react__card-img,
.mfl-leaders__card-img,
.mfl-leaders-react__card-photo,
.mfl-leaders__card-photo {
    border-radius: 50% !important;
    object-fit: cover !important;
    aspect-ratio: 1 / 1 !important;
}
.mfl-leaders-react__card-img-wrap,
.mfl-leaders__card-img-wrap {
    border-radius: 50% !important;
    overflow: hidden !important;
    aspect-ratio: 1 / 1 !important;
}

/* ============================================================
   SERVICE CATEGORIES - MASONRY LAYOUT (staggered brick pattern)
   ============================================================ */
.mfl-service-categories-masonry {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 85px;
    grid-auto-flow: dense;
    gap: 0.75rem;
}

.mfl-service-cat-mason {
    position: relative;
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none;
    display: block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mfl-service-cat-mason--tall {
    grid-row: span 3;
}

.mfl-service-cat-mason--short {
    grid-row: span 2;
}

.mfl-service-cat-mason:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.mfl-service-cat-mason img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mfl-service-cat-mason:hover img {
    transform: scale(1.08);
}

.mfl-service-cat-mason__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.05) 0%,
        rgba(0, 0, 0, 0.55) 100%
    );
    z-index: 1;
    transition: background 0.3s ease;
}

.mfl-service-cat-mason:hover .mfl-service-cat-mason__overlay {
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.1) 0%,
        rgba(0, 0, 0, 0.65) 100%
    );
}

.mfl-service-cat-mason__content {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    right: 1.25rem;
    z-index: 2;
}

.mfl-service-cat-mason__name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.3;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.mfl-service-cat-mason__count {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.85);
    margin-left: 0.25rem;
}

@media (max-width: 1200px) {
    .mfl-service-categories-masonry {
        grid-template-columns: repeat(3, 1fr);
        grid-auto-rows: 85px;
    }
}

@media (max-width: 768px) {
    .mfl-service-categories-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 80px;
    }
    .mfl-service-cat-mason__name {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .mfl-service-categories-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 75px;
    }
    .mfl-service-cat-mason--tall,
    .mfl-service-cat-mason--short {
        grid-row: span 2;
    }
}

/* About Section - Image morph shapes (clip-path for organic shapes) */
.mfl-about-react__image-1,
.mfl-about__image-1 {
    clip-path: polygon(30% 0%, 70% 0%, 100% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 0% 30%);
}
.mfl-about-react__image-2,
.mfl-about__image-2 {
    clip-path: circle(50% at 50% 50%);
}
.mfl-about-react__image-3,
.mfl-about__image-3 {
    clip-path: ellipse(45% 50% at 50% 50%);
}
.mfl-about-react__images img,
.mfl-about__images img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Ensure all card images have proper aspect ratio and cover */
.mfl-featured-react__card,
.mfl-popular-react__card,
.mfl-recent__card,
.mfl-service-pro-card {
    overflow: hidden;
}
.mfl-featured-react__card img,
.mfl-popular-react__card img,
.mfl-recent__card img,
.mfl-service-pro-card img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* Fix any remaining title truncation issues across all widgets */
.mfl-featured-react__card-title,
.mfl-popular-react__card-title,
.mfl-recent__card-title,
.mfl-blog__card-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ============================================================
   v2.3.0 — EXPLORE PAGE, SINGLE PAGE & GLOBAL HEADER FIXES
   ============================================================ */

/* ── EXPLORE PAGE: Filter Sidebar Fixes ── */

/* GLOBAL: Remove ALL gray borders from filter sidebar */
.search-filters,
.search-filters .form-group,
.search-filters .form-section,
.search-filters .filter-wrapper,
.search-filters .filter-block,
.search-filters .widget,
.search-filters .widget-title,
.search-filters fieldset,
.search-filters legend,
.search-filters .form-group > div,
.search-filters .md-group,
.search-filters .form-group.md-group,
.search-filters .explore-filter-toggle,
.finder-container .search-filters,
.finder-container .search-filters .form-group,
.finder-container .search-filters .form-section,
body .search-filters .form-group,
body .search-filters .form-section,
body .search-filters fieldset {
    border: none !important;
    border-top: none !important;
    border-bottom: none !important;
    border-left: none !important;
    border-right: none !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Remove borders from filter container and sidebar wrapper */
.explore-sidebar,
.finder-container .finder-search,
.finder-container .search-filters,
body .explore-sidebar,
body .finder-search {
    border: none !important;
    box-shadow: none !important;
}

/* Remove borders from multi-choice dropdowns specifically */
.search-filters .choices,
.search-filters .choices__inner,
.search-filters .choices__list--dropdown {
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    outline: none !important;
}

/* Remove borders from price range section */
.search-filters .range-slider-wrapper,
.search-filters .noUi-target {
    border: none !important;
    box-shadow: none !important;
}

/* Remove border/box from filter section headings (h3) */
.search-filters h3,
.finder-container .search-filters h3,
body .search-filters h3,
.cts-explore .search-filters h3 {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    border: none !important;
    border-bottom: none !important;
    box-shadow: none !important;
    background: none !important;
    padding: 0 !important;
    margin: 1rem 0 0.5rem 0 !important;
    text-transform: none !important;
}

/* Remove border from filter labels */
.search-filters .form-group > label,
.search-filters .form-group > label:first-child,
.finder-container .search-filters .form-group > label {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    color: #64748b !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border: none !important;
    background: none !important;
    padding: 0 0 0.25rem 0 !important;
    margin-bottom: 0.25rem !important;
}

/* Fix filter input boxes — clean borders, no ugly outlines */
.search-filters .form-group input[type="text"],
.search-filters .form-group input[type="search"],
.search-filters .form-group input[type="number"],
.search-filters .form-group select,
.search-filters .form-group textarea,
.search-filters .form-group .select2-container--default .select2-selection--single,
.search-filters .form-group .select2-container--default .select2-selection--multiple {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    border: none !important;
    border-bottom: 1px solid #e2e8f0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #334155 !important;
    padding: 0.5rem 0 !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    outline: none !important;
    box-shadow: none !important;
}
.search-filters .form-group input:focus,
.search-filters .form-group select:focus,
.search-filters .form-group textarea:focus,
.search-filters .form-group .select2-container--open .select2-selection {
    border-color: #0e7490 !important;
    border-bottom-color: #0e7490 !important;
    box-shadow: none !important;
}

/* Fix floating label slide-up animation — keep it inside the box */
.search-filters .form-group .md-group label,
.search-filters .form-group.md-group > label,
.search-filters .md-group > label {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    transform: none !important;
    font-size: 0.75rem !important;
    color: #475569 !important;
    pointer-events: none !important;
    transition: none !important;
    margin-bottom: 0.25rem !important;
    display: block !important;
}
/* When focused, keep label in place — don't slide up */
.search-filters .form-group.md-group.active > label,
.search-filters .form-group.md-group.has-value > label,
.search-filters .md-group.active > label,
.search-filters .md-group.has-value > label {
    top: 0 !important;
    transform: none !important;
    font-size: 0.7rem !important;
    color: #0e7490 !important;
}

.md-group select[multiple]~.select2-container--focus~label {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
}

/* Fix radio buttons and checkboxes styling */
.search-filters .form-group .radio-button,
.search-filters .form-group .checkbox-button {
    margin-bottom: 0.25rem !important;
}
.search-filters .form-group .radio-button label,
.search-filters .form-group .checkbox-button label,
.search-filters .form-group label.radio-button,
.search-filters .form-group label.checkbox {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    color: #475569 !important;
    text-transform: none !important;
    letter-spacing: 0 !important;
    cursor: pointer !important;
}
.search-filters .form-group input[type="radio"],
.search-filters .form-group input[type="checkbox"] {
    accent-color: #0e7490 !important;
    width: 16px !important;
    height: 16px !important;
}

/* Fix select2 dropdown styling */
.search-filters .select2-container--default .select2-selection--single .select2-selection__rendered {
    font-size: 0.85rem !important;
    color: #334155 !important;
    line-height: 1.5 !important;
}
.search-filters .select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 50% !important;
    transform: translateY(-50%) !important;
}

/* Fix Search and Reset buttons */
.search-filters .buttons-wrapper a,
.search-filters .buttons-wrapper button,
.search-filters .form-group.submit-form a,
body .search-filters a.search-btn {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border-radius: 0.5rem !important;
    padding: 0.6rem 1.25rem !important;
    transition: all 0.2s ease !important;
}
.search-filters a.search-btn,
.search-filters button.search-btn {
    background: linear-gradient(135deg, #0e7490, #0891b2) !important;
    color: #ffffff !important;
    border: none !important;
}
.search-filters a.search-btn:hover,
.search-filters button.search-btn:hover {
    background: linear-gradient(135deg, #0c6680, #0780a0) !important;
}
.search-filters a.reset-btn,
.search-filters button.reset-btn {
    color: #64748b !important;
    background: transparent !important;
    font-weight: 500 !important;
}

/* Fix price range slider */
.search-filters .noUi-connect {
    background: #0e7490 !important;
}
.search-filters .noUi-handle {
    border-color: #0e7490 !important;
    box-shadow: 0 2px 6px rgba(14,116,144,0.2) !important;
}

/* ── EXPLORE PAGE: Listing Card Info Text Fixes ── */

/* Card info section below image — lighter text, better contrast */
.lf-item-container .lf-item-info,
.lf-item-container .lf-item .lf-item-info {
    padding: 0.75rem !important;
}

/* Card title in info section */
.lf-item-container .lf-item-info h4,
.lf-item-container .lf-item-info h4 a,
.lf-item-container .lf-item-info .listing-preview-title,
.lf-item-container .lf-item-info .listing-preview-title a,
h4.case27-primary-text.listing-preview-title,
h4.case27-primary-text.listing-preview-title a {
    font-family: 'Poppins', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    line-height: 1.4 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 0.25rem !important;
}
.lf-item-container .lf-item-info h4 a:hover,
.lf-item-container .lf-item-info .listing-preview-title a:hover {
    color: #0e7490 !important;
}

/* Info fields (category, condition, price row) */
.lf-item-container .info-fields-wrapper,
.lf-item-container .lf-item .info-fields-wrapper {
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 0.5rem !important;
    margin-top: 0.25rem !important;
}
.lf-item-container .info-fields-wrapper .info-field,
.lf-item-container .lf-item .info-fields-wrapper .info-field {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.75rem !important;
    color: #64748b !important;
}
.lf-item-container .info-fields-wrapper .info-field .info-field-icon {
    color: #94a3b8 !important;
    font-size: 0.8rem !important;
}
.lf-item-container .info-fields-wrapper .info-field .info-field-name {
    font-size: 0.7rem !important;
    color: #94a3b8 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
}
.lf-item-container .info-fields-wrapper .info-field .info-field-value {
    font-size: 0.8rem !important;
    color: #475569 !important;
    font-weight: 500 !important;
}

/* Listing card action buttons row */
.lf-item-container .lf-item-info .listing-actions,
.lf-item-container .lf-item .lf-item-info .listing-actions {
    border-top: 1px solid #f1f5f9 !important;
    padding-top: 0.5rem !important;
    margin-top: 0.25rem !important;
    display: flex !important;
    gap: 0.5rem !important;
}
.lf-item-container .lf-item-info .listing-actions a,
.lf-item-container .lf-item-info .listing-actions button {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 1px solid #e2e8f0 !important;
    background: #fff !important;
    color: #94a3b8 !important;
    font-size: 0.8rem !important;
    transition: all 0.2s !important;
}
.lf-item-container .lf-item-info .listing-actions a:hover,
.lf-item-container .lf-item-info .listing-actions button:hover {
    background: #0e7490 !important;
    color: #ffffff !important;
    border-color: #0e7490 !important;
}

/* ── EXPLORE PAGE: Results Header ── */
.finder-container .results-header,
.finder-container .showing-results,
.results-view .results-header {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8rem !important;
    color: #64748b !important;
}

/* ── EXPLORE PAGE: Filters/Categories tabs ── */
.search-filters .tab-content-filters .nav-tabs,
.search-filters [role="tablist"] {
    border-bottom: 1px solid #e2e8f0 !important;
    margin-bottom: 0.75rem !important;
}
.search-filters .tab-content-filters .nav-tabs a,
.search-filters [role="tab"] {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.8rem !important;
    font-weight: 500 !important;
    color: #64748b !important;
    padding: 0.5rem 0.75rem !important;
    border: none !important;
    background: none !important;
}
.search-filters .tab-content-filters .nav-tabs a.active,
.search-filters [role="tab"][aria-selected="true"] {
    color: #0e7490 !important;
    border-bottom: 2px solid #0e7490 !important;
}

/* ── SINGLE LISTING PAGE FIXES ── */

/* Single page title — should be white text on dark cover */
.single-job_listing .page-head h1,
.single-job_listing .page-head h1.case27-primary-text,
.single-job_listing .listing-cover h1,
.single-job_listing .listing-cover h1.case27-primary-text,
.single-job_listing .profile-cover-content h1,
.single-job_listing .profile-cover-content h1.case27-primary-text,
.single-job_listing .cover-content h1,
.single-job_listing .cover-content h1.case27-primary-text,
body.single-job_listing h1.case27-primary-text {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.75rem !important;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0,0,0,0.3) !important;
}
/* Edit listing link inside title */
body.single-job_listing h1.case27-primary-text .edit-listing,
body.single-job_listing h1.case27-primary-text .edit-listing i {
    color: #ffffff !important;
    opacity: 0.8 !important;
}
body.single-job_listing h1.case27-primary-text .edit-listing:hover,
body.single-job_listing h1.case27-primary-text .edit-listing:hover i {
    opacity: 1 !important;
}

/* Single page tagline/description below title */
.single-job_listing .page-head .listing-tagline,
.single-job_listing .listing-cover .listing-tagline,
.single-job_listing .profile-cover-content .listing-tagline,
.single-job_listing .cover-content .listing-tagline,
.single-job_listing .page-head .listing-address,
.single-job_listing .listing-cover .listing-address,
.single-job_listing .profile-cover-content .listing-address,
.single-job_listing .cover-content .listing-address,
body.single-job_listing .listing-tagline,
body.single-job_listing .listing-quick-info {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 400 !important;
    color: rgba(255,255,255,0.85) !important;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2) !important;
}

/* Single page category badges */
.single-job_listing .listing-cover .listing-cat,
.single-job_listing .profile-cover-content .listing-cat,
body.single-job_listing .listing-cat {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.75rem !important;
    font-weight: 500 !important;
    background: rgba(14,116,144,0.85) !important;
    color: #ffffff !important;
    border-radius: 1rem !important;
    padding: 0.25rem 0.75rem !important;
}

/* ── GLOBAL HEADER — Force MFL Header on ALL Pages ── */

/* 
   The MFL header widget only renders on pages where it's placed in Elementor.
   For other pages (explore, single listing, etc.), we need the plugin to 
   inject the header globally. This is handled via PHP in the main plugin file.
   
   Below we ensure the MyListing default header is styled consistently
   when the MFL header is NOT present.
*/

/* Style the MyListing default header to match MFL design */
body.theme-my-listing .c27-main-header,
body.theme-my-listing #c27-site-header,
body.theme-my-listing .header-container {
    font-family: 'Inter', sans-serif !important;
}

/* Default header nav links */
body.theme-my-listing .main-nav > ul > li > a,
body.theme-my-listing .header-container .main-nav a {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}
body.theme-my-listing .main-nav > ul > li > a:hover {
    color: #0e7490 !important;
}

/* Default header search box */
body.theme-my-listing .header-search input,
body.theme-my-listing .header-container input[type="search"] {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    border-radius: 2rem !important;
    border: 1px solid #e2e8f0 !important;
}

/* Default header buttons */
body.theme-my-listing .header-container .btn-primary,
body.theme-my-listing .header-container .btn-primary-1 {
    background: #0e7490 !important;
    border-color: #0e7490 !important;
    border-radius: 0.5rem !important;
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
}

/* ── GLOBAL: Sticky Header with Glassmorphism ── */

/* Make the default MyListing header sticky on scroll */
body.theme-my-listing .c27-main-header,
body.theme-my-listing #c27-site-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 999 !important;
    transition: background 0.3s ease, box-shadow 0.3s ease, backdrop-filter 0.3s ease !important;
}

/* Glassmorphism effect when scrolled — applied via JS */
body.theme-my-listing .c27-main-header.mfl-scrolled,
body.theme-my-listing #c27-site-header.mfl-scrolled,
body.theme-my-listing .header-container.mfl-scrolled {
    background: rgba(255,255,255,0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08) !important;
}

/* ── EXPLORE PAGE: Explore head background ── */
.explore-head,
.cts-explore .explore-head {
    background: #f8fafc !important;
    padding: 1rem 1.5rem !important;
    border-bottom: 1px solid #e2e8f0 !important;
}

/* ── EXPLORE PAGE: Map container ── */
.finder-container .map-container .map-search-on-move label {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.75rem !important;
    color: #64748b !important;
}

/* ── Fix Explore page pagination ── */
.finder-container .pagination,
.results-view .pagination {
    margin-top: 1.5rem !important;
}
.finder-container .pagination a,
.finder-container .pagination span,
.results-view .pagination a,
.results-view .pagination span {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    border-radius: 0.375rem !important;
    padding: 0.4rem 0.75rem !important;
    transition: all 0.2s !important;
}
.finder-container .pagination .active a,
.finder-container .pagination .active span,
.results-view .pagination .active a {
    background: #0e7490 !important;
    border-color: #0e7490 !important;
    color: #ffffff !important;
}

/* ── Fix Explore page "Showing X results" and back/forward arrows ── */
.results-view .results-header .result-count,
.results-view .results-header .showing-results {
    font-size: 0.8rem !important;
    color: #64748b !important;
}
.results-view .results-header .results-nav a,
.results-view .results-header .results-nav button {
    color: #64748b !important;
    font-size: 0.9rem !important;
}
.results-view .results-header .results-nav a:hover {
    color: #0e7490 !important;
}


/* ============================================================
   GLOBAL MYLISTING OVERRIDES - EXPLORE & SINGLE PAGES
   v2.8.0 — CORRECTED SELECTORS from live page inspection
   ============================================================ */

/* ── 1. GLOBAL HEADER — Sticky + Glassmorphism on ALL Pages ── */
.c27-main-header {
    position: sticky !important;
    top: 0 !important;
    z-index: 1000 !important;
    background: rgba(255, 255, 255, 0.9) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06) !important;
    transition: all 0.3s ease !important;
}
.c27-main-header.header-scroll-hide {
    position: sticky !important;
    top: 0 !important;
}
.c27-main-header.header-scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.1) !important;
}

/* ── 2. "WHAT ARE YOU LOOKING FOR?" — Reduce Size ── */
.finder-title,
.explore-head .finder-title,
.explore-types .finder-title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.75rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
}

@media (max-width: 768px) {
    .finder-title,
    .explore-head .finder-title,
    .explore-types .finder-title {
        font-size: 1.25rem !important;
    }
}

/* ── 3. LISTING TYPE TABS — Correct Selectors ── */
.explore-types.cts-carousel {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    gap: 0.25rem !important;
}
.explore-types .item {
    list-style: none !important;
}
.explore-types .item a {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 500 !important;
    padding: 0.5rem 1rem !important;
    border-radius: 2rem !important;
    background: #f1f5f9 !important;
    color: #475569 !important;
    border: none !important;
    transition: all 0.3s ease !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    white-space: nowrap !important;
}
.explore-types .item a:hover {
    background: #e2e8f0 !important;
    color: #0e7490 !important;
}
.explore-types .item.active a {
    background: #0e7490 !important;
    color: #ffffff !important;
    font-weight: 600 !important;
    text-decoration: none !important;
    border-bottom: none !important;
}
.explore-types .item.active a i,
.explore-types .item.active a .type-info i,
.explore-types .item.active a .type-info h4 {
    color: #ffffff !important;
}
.explore-types .item a i {
    font-size: 0.9rem !important;
}

/* ── 4. LISTING CARDS — Correct Selectors (.lf-item-container) ── */
/* Already handled in v2.3.0 section above with correct selectors */

/* ── 5. FILTER SIDEBAR — Already handled in v2.3.0 section with correct .search-filters selectors ── */

/* ── 6. SINGLE LISTING PAGE — Correct Selectors from Live Inspection ── */

/* Title: h1.case27-primary-text inside .profile-name */
.profile-name h1.case27-primary-text,
body.single-job_listing .profile-name h1.case27-primary-text,
.profile-name.has-tagline h1.case27-primary-text {
    font-family: 'Poppins', sans-serif !important;
    font-weight: 700 !important;
    font-size: 1.75rem !important;
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4) !important;
    line-height: 1.3 !important;
}

/* Tagline: h2.profile-tagline inside .pa-below-title */
.profile-name .pa-below-title,
.profile-name h2.profile-tagline,
.profile-name .listing-tagline-field,
body.single-job_listing h2.profile-tagline,
body.single-job_listing .listing-tagline-field {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75), 0 2px 10px rgba(0, 0, 0, 0.45) !important;
}

/* Cover section */
.featured-section.profile-cover,
.profile-cover-gallery {
    position: relative !important;
}

/* Price badge on single listing */
.profile-name .listing-price,
.main-info-desktop .listing-price {
    font-family: 'Inter', sans-serif !important;
    font-weight: 700 !important;
    color: #0e7490 !important;
}

/* Bookmark and CTA buttons */
.main-info-desktop .buttons-nav li a,
.profile-name + .buttons-nav li a {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    border-radius: 0.5rem !important;
}

@media (max-width: 768px) {
    .profile-name h1.case27-primary-text,
    body.single-job_listing .profile-name h1.case27-primary-text {
        font-size: 1.35rem !important;
    }
    .profile-name h2.profile-tagline,
    body.single-job_listing h2.profile-tagline {
        font-size: 0.95rem !important;
    }
}

/* ── 7. GLOBAL HEADER — Correct .c27-main-header Selectors ── */
/* Header navigation links */
.c27-main-header .main-nav > ul > li > a {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
    color: #475569 !important;
    transition: all 0.3s ease !important;
}
.c27-main-header .main-nav > ul > li > a:hover {
    color: #0e7490 !important;
}

/* Header CTA / Add a listing button — ALWAYS teal regardless of skin */
.c27-main-header .header-button a,
.c27-main-header .header-button a.buttons,
.c27-main-header .header-button a.buttons.button-1,
.c27-main-header .header-button a.buttons.button-2,
.c27-main-header .header-cta a {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    border-radius: 2rem !important;
    transition: all 0.3s ease !important;
    background: linear-gradient(135deg, #0e7490, #0891b2) !important;
    color: #ffffff !important;
    border: none !important;
    box-shadow: 0 2px 10px rgba(14, 116, 144, 0.3) !important;
}
.c27-main-header .header-button a:hover,
.c27-main-header .header-button a.buttons:hover,
.c27-main-header .header-cta a:hover {
    background: linear-gradient(135deg, #0c6680, #0780a0) !important;
    box-shadow: 0 4px 16px rgba(14, 116, 144, 0.4) !important;
    transform: translateY(-1px);
    color: #ffffff !important;
}

/* Header search bar */
.c27-main-header .header-search input {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.85rem !important;
    border-radius: 2rem !important;
}

/* ── 8. EXPLORE PAGE — Listing card hover & rounded corners ── */
.lf-item-container {
    transition: all 0.3s ease !important;
    border-radius: 0.75rem !important;
    overflow: hidden !important;
}
/* Card image: only top corners rounded, bottom corners flat */
.lf-item-container .lf-item .lf-head,
.lf-item-container .lf-item .lf-head .overlay,
.lf-item-container .lf-item .lf-head img,
.lf-item-container .lf-item .listing-preview-gallery,
.lf-item-container .lf-item .listing-preview-gallery img {
    border-radius: 0.75rem 0.75rem 0 0 !important;
}
.lf-item-container:hover {
    transform: translateY(-3px) !important;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1) !important;
}

/* ── 9. EXPLORE HEAD — Background & spacing ── */
.explore-head {
    background: #f8fafc !important;
    padding: 1.5rem 0 !important;
}

/* ── END GLOBAL MYLISTING OVERRIDES v2.8.0 ── */


/* ============================================================
   MOBILE-SPECIFIC FIXES - v2.5.0
   Hero text, search simplification, footer, menu, nav bar
   ============================================================ */

/* ── 1. HERO TITLE on Tablet ── */
@media (max-width: 1024px) {
    .mfl-hero-v2__content {
        right: 1rem !important; /* reduce right offset from 5rem on tablets */
    }
}
/* ── HERO TITLE on Mobile ── */
@media (max-width: 768px) {
    .mfl-hero-v2__title,
    [class*="elementor"] .mfl-hero-v2__title,
    [class*="elementor"] h1.mfl-hero-v2__title,
    body .elementor .mfl-hero-v2__title {
        font-size: 2rem !important;
        line-height: 1.1 !important;
        margin-bottom: 1.25rem !important;
    }
    .mfl-hero-v2__subtitle,
    [class*="elementor"] .mfl-hero-v2__subtitle,
    [class*="elementor"] p.mfl-hero-v2__subtitle,
    body .elementor .mfl-hero-v2__subtitle {
        font-size: 1.35rem !important;
        margin-bottom: 0.75rem !important;
    }
    /* Push hero content below fixed header on mobile */
    .mfl-hero-v2__content {
        padding-top: 0.5rem !important;
        padding-bottom: 2rem !important;
    }
}
@media (max-width: 480px) {
    .mfl-hero-v2__title,
    [class*="elementor"] .mfl-hero-v2__title,
    [class*="elementor"] h1.mfl-hero-v2__title,
    body .elementor .mfl-hero-v2__title {
        font-size: 1.75rem !important;
        line-height: 1.12 !important;
        margin-bottom: 1rem !important;
    }
    .mfl-hero-v2__subtitle,
    [class*="elementor"] .mfl-hero-v2__subtitle {
        font-size: 1.25rem !important;
    }
}

/* ── 2. HERO BUTTONS — Hidden/Cut Off on Mobile ── */
@media (max-width: 768px) {
    .mfl-hero-v2__buttons {
        gap: 0.65rem !important;
        flex-wrap: wrap !important;
    }
    .mfl-hero-v2__btn {
        padding: 0.7rem 1.25rem !important;
        font-size: 0.8rem !important;
        gap: 0.35rem !important;
    }
    .mfl-hero-v2__btn svg {
        width: 14px !important;
        height: 14px !important;
    }
}
@media (max-width: 480px) {
    .mfl-hero-v2__buttons {
        gap: 0.5rem !important;
    }
    .mfl-hero-v2__btn {
        padding: 0.6rem 1rem !important;
        font-size: 0.75rem !important;
    }
    .mfl-hero-v2 {
        min-height: 45vh !important;
        max-height: 50vh !important;
    }
    .mfl-hero-v2__content {
        padding-top: 2rem !important;
        padding-bottom: 1.5rem !important;
    }
}

/* ── 3. HERO SEARCH — Simplify on Mobile (Keyword Only, No Tabs) ── */
@media (max-width: 768px) {
    /* Hide search tabs on mobile */
    .mfl-hero-v2__search-tabs {
        display: none !important;
    }
    /* Hide location field on mobile */
    .mfl-hero-v2__search-divider {
        display: none !important;
    }
    .mfl-hero-v2__search-field:nth-child(3) {
        display: none !important;
    }
    /* Also target by the location field specifically */
    .mfl-hero-v2__search-field:has(input[name="search_location"]) {
        display: none !important;
    }
    /* Simplified search box */
    .mfl-hero-v2__search-box {
        border-radius: 0.75rem !important;
        box-shadow: 0 10px 30px rgba(0,0,0,0.12) !important;
    }
    .mfl-hero-v2__search-fields {
        grid-template-columns: 1fr !important;
    }
    .mfl-hero-v2__search-field {
        padding: 0.75rem 1rem !important;
    }
    .mfl-hero-v2__search-field label {
        font-size: 0.65rem !important;
        margin-bottom: 0.25rem !important;
    }
    .mfl-hero-v2__search-field-inner input {
        font-size: 0.85rem !important;
    }
    .mfl-hero-v2__search-submit {
        padding: 0.5rem 0.75rem 0.75rem !important;
    }
    .mfl-hero-v2__search-btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.85rem !important;
        border-radius: 0.5rem !important;
    }
    /* Reduce hero height on mobile to show more content */
    .mfl-hero-v2 {
        min-height: 50vh !important;
        max-height: 55vh !important;
    }
    /* Adjust hero content positioning on mobile */
    .mfl-hero-v2__content {
        padding-top: 0 !important;
        padding-bottom: 2rem !important;
    }
    /* Reduce search bar overlap */
    .mfl-hero-v2__search-wrap {
        max-width: 100% !important;
        padding: 0 0.75rem !important;
    }
    /* More space after hero on mobile — search bar overhangs further */
    .mfl-hero-v2 + .elementor-section,
    .mfl-hero-v2 + .elementor-element {
        padding-top: 10rem !important;
    }
    /* Blog — single column on mobile */
    .mfl-blog__grid--2,.mfl-blog__grid--3,.mfl-blog__grid--4,
    .mfl-blog-v2__grid--2,.mfl-blog-v2__grid--3,.mfl-blog-v2__grid--4 {
        grid-template-columns: 1fr !important;
    }
    /* Popular — single column on mobile */
    .mfl-popular__grid--2,.mfl-popular__grid--3,.mfl-popular__grid--4 {
        grid-template-columns: 1fr !important;
    }
    /* Carousel slides full-width on mobile */
    .mfl-blog-v2 .swiper-slide,
    .mfl-popular .swiper-slide { width: 100% !important; }
}

/* ── Mobile listing type selector — hidden on desktop, shown on mobile ── */
.mfl-hero-v2__mobile-type-field {
    display: none;
}
@media (max-width: 768px) {
    .mfl-hero-v2__mobile-type-field {
        display: block !important;
    }
    .mfl-hero-v2__mobile-type-select {
        width: 100%;
        background: transparent;
        border: none;
        outline: none;
        font-family: inherit;
        font-size: 0.85rem;
        color: #374151;
        cursor: pointer;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        padding-right: 1.5rem;
    }
    .mfl-hero-v2__mobile-type-field .mfl-hero-v2__search-field-inner {
        position: relative;
    }
    .mfl-hero-v2__mobile-type-field .mfl-hero-v2__search-field-inner::after {
        content: '';
        position: absolute;
        right: 0.5rem;
        top: 50%;
        transform: translateY(-50%);
        width: 0;
        height: 0;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 5px solid #0e7490;
        pointer-events: none;
    }
}

/* ── 4. FOOTER — Hide Address on Mobile, Hide Entire Footer ── */
@media (max-width: 1023px) {
    /* Hide the address line in footer on mobile */
    .mfl-footer__contact p:last-child,
    .mfl-footer__contact p:has(svg + *:contains("Ave")),
    .mfl-footer .mfl-footer__contact p:nth-child(3) {
        display: none !important;
    }
    
    /* Hide the entire footer on mobile — replaced by mobile nav bar */
    .mfl-footer {
        display: none !important;
    }
    
    /* Also hide MyListing's default footer on mobile */
    footer.site-footer,
    .site-footer,
    #site-footer {
        display: none !important;
    }
    
    /* Add bottom padding to body for mobile nav bar */
    body {
        padding-bottom: 70px !important;
    }
}

/* ── 5. MOBILE HAMBURGER MENU — Right-side slide drawer ──
   Element is teleported to <body> by JS, so position:fixed is
   always relative to the viewport (unaffected by parent transforms).
   ─────────────────────────────────────────────────────────────── */

/* Backdrop — sits behind the drawer panel */
.mfl-header__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.5);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9997;
}
.mfl-header__backdrop--visible {
    display: block;
}

/* ── Drawer header row: "Menu" title + × button (in flex row, not absolute) ── */
.mfl-header__drawer-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem 1rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.07);
    background: linear-gradient(135deg, rgba(14,116,144,0.05) 0%, transparent 100%);
    flex-shrink: 0;
}
.mfl-header__drawer-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    letter-spacing: 0.01em;
}
.mfl-header__close-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(14, 116, 144, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #0e7490;
    flex-shrink: 0;
    transition: background 0.2s ease;
    padding: 0;
}
.mfl-header__close-btn:hover {
    background: rgba(14, 116, 144, 0.18);
}

/* Prevent body scroll when drawer is open */
body.mfl-menu-open {
    overflow: hidden !important;
}

/* ── Nav link icon — desktop: subtle, small; mobile drawer: normal ── */
.mfl-header__link-icon {
    flex-shrink: 0;
    color: #94a3b8;
    transition: color 0.2s ease;
    /* Show small icons on desktop nav */
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
    margin-right: 0.3rem;
}
.mfl-header__link:hover .mfl-header__link-icon,
.mfl-header__link--active .mfl-header__link-icon {
    color: #0e7490;
}
/* Desktop nav: keep icons small and subtle */
@media (min-width: 1024px) {
    .mfl-header__link {
        display: inline-flex !important;
        align-items: center !important;
        gap: 0.3rem !important;
    }
    .mfl-header__link-icon {
        width: 15px !important;
        height: 15px !important;
    }
}

/* ── Slide-out drawer (element teleported to <body> when open) ── */
@media (max-width: 1023px) {
    .mfl-header__links.mfl-header__links--open {
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        right: 0 !important;
        left: unset !important;
        bottom: 0 !important;
        width: min(320px, 86vw) !important;
        background: #ffffff !important;
        flex-direction: column !important;
        padding: 0 0 80px 0 !important;   /* bottom clears the fixed FAB bar */
        box-shadow: -8px 0 32px rgba(0, 0, 0, 0.18) !important;
        border-radius: 16px 0 0 16px !important;
        z-index: 9998 !important;
        overflow-y: auto !important;
        overflow-x: hidden !important;
        align-items: stretch !important;
        gap: 0 !important;
    }

    /* Nav links in drawer: flex row with icon + text */
    .mfl-header__links.mfl-header__links--open .mfl-header__link {
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        padding: 0.875rem 1.5rem !important;
        font-family: 'Poppins', sans-serif !important;
        font-size: 0.95rem !important;
        font-weight: 500 !important;
        color: #475569 !important;
        width: 100% !important;
        border-radius: 0 !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
        transition: background 0.15s ease, color 0.15s ease, padding-left 0.15s ease !important;
        text-decoration: none !important;
    }
    .mfl-header__links.mfl-header__links--open .mfl-header__link-icon {
        width: 18px !important;
        height: 18px !important;
        color: #64748b !important;
        flex-shrink: 0 !important;
        margin-right: 0 !important;
    }
    .mfl-header__links.mfl-header__links--open .mfl-header__link-text {
        flex: 1 !important;
    }
    .mfl-header__links.mfl-header__links--open .mfl-header__link:hover {
        background: rgba(14, 116, 144, 0.05) !important;
        color: #0e7490 !important;
        padding-left: 1.75rem !important;
    }
    .mfl-header__links.mfl-header__links--open .mfl-header__link:hover .mfl-header__link-icon {
        color: #0e7490 !important;
    }
    .mfl-header__links.mfl-header__links--open .mfl-header__link--active {
        color: #0e7490 !important;
        border-left: 3px solid #0e7490 !important;
        background: rgba(14, 116, 144, 0.06) !important;
        font-weight: 600 !important;
        border-bottom-color: rgba(14, 116, 144, 0.08) !important;
    }
    .mfl-header__links.mfl-header__links--open .mfl-header__link--active .mfl-header__link-icon {
        color: #0e7490 !important;
    }

    /* Dropdown inside the drawer */
    .mfl-header__links.mfl-header__links--open .mfl-header__dropdown {
        width: 100% !important;
        flex-shrink: 0 !important;
    }
    .mfl-header__links.mfl-header__links--open .mfl-header__dropdown-menu {
        display: none !important;
        position: static !important;
        transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-shadow: none !important;
        border: none !important;
        background: rgba(14, 116, 144, 0.03) !important;
        border-radius: 0 !important;
        padding: 0 !important;
        width: 100% !important;
        min-width: unset !important;
    }
    .mfl-header__links.mfl-header__links--open .mfl-dropdown--open .mfl-header__dropdown-menu {
        display: block !important;
    }
    .mfl-header__links.mfl-header__links--open .mfl-header__dropdown-item {
        padding: 0.65rem 1.5rem 0.65rem 3.25rem !important;
        font-size: 0.875rem !important;
        color: #475569 !important;
        text-align: left !important;
        border-radius: 0 !important;
        white-space: normal !important;
        display: block !important;
    }
    .mfl-header__links.mfl-header__links--open .mfl-header__dropdown-item:hover {
        background: rgba(14, 116, 144, 0.06) !important;
        color: #0e7490 !important;
        padding-left: 3.5rem !important;
    }

    /* "Add Listing" CTA cloned into drawer bottom */
    .mfl-header__cta--drawer {
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0.5rem !important;
        margin: 1.5rem 1.25rem 1.5rem !important;
        padding: 0.9rem 1.5rem !important;
        border-radius: 999px !important;
        font-family: 'Poppins', sans-serif !important;
        font-weight: 600 !important;
        font-size: 0.9rem !important;
        background: linear-gradient(135deg, #0e7490, #0891b2) !important;
        color: #ffffff !important;
        text-decoration: none !important;
        box-shadow: 0 4px 14px rgba(14, 116, 144, 0.3) !important;
        text-align: center !important;
        flex-shrink: 0 !important;
    }
    .mfl-header__cta--drawer:hover {
        background: linear-gradient(135deg, #0c6680, #0780a0) !important;
        color: #ffffff !important;
    }
    .mfl-header__cta--drawer svg {
        color: #ffffff !important;
        stroke: #ffffff !important;
        flex-shrink: 0 !important;
    }
    /* Spacer to push CTA to bottom */
    .mfl-header__links.mfl-header__links--open::after {
        content: '' !important;
        display: block !important;
        flex: 1 !important;
        min-height: 1rem !important;
    }

    /* Sign In / Register auth buttons in mobile drawer */
    .mfl-header__mobile-auth {
        display: flex !important;
        gap: 10px !important;
        padding: 14px 20px 10px !important;
        border-top: 1px solid rgba(14, 116, 144, 0.1) !important;
        flex-shrink: 0 !important;
    }
    .mfl-header__mobile-auth-btn {
        flex: 1 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 7px !important;
        padding: 10px 12px !important;
        border-radius: 10px !important;
        font-family: 'Poppins', sans-serif !important;
        font-size: 0.85rem !important;
        font-weight: 600 !important;
        text-decoration: none !important;
        transition: all 0.2s ease !important;
    }
    .mfl-header__mobile-auth-btn--signin {
        background: rgba(14, 116, 144, 0.08) !important;
        color: #0e7490 !important;
        border: 1.5px solid rgba(14, 116, 144, 0.3) !important;
    }
    .mfl-header__mobile-auth-btn--signin:hover {
        background: rgba(14, 116, 144, 0.15) !important;
        color: #0e7490 !important;
    }
    .mfl-header__mobile-auth-btn--register {
        background: #0e7490 !important;
        color: #ffffff !important;
        border: 1.5px solid #0e7490 !important;
    }
    .mfl-header__mobile-auth-btn--register:hover {
        background: #0c6880 !important;
        color: #ffffff !important;
    }

    /* Logged-in user profile in mobile drawer — pushed to bottom */
    .mfl-header__mobile-user {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 0.25rem !important;
        padding: 1rem 1.5rem 1rem !important;
        border-top: 1px solid rgba(14, 116, 144, 0.1) !important;
        flex-shrink: 0 !important;
        order: 100 !important;
    }
    .mfl-header__mobile-auth {
        order: 100 !important;
    }
    .mfl-header__mobile-user-profile {
        display: flex !important;
        align-items: center !important;
        gap: 0.75rem !important;
        text-decoration: none !important;
        color: #1e293b !important;
        font-weight: 600 !important;
        font-size: 0.95rem !important;
        font-family: 'Poppins', sans-serif !important;
        width: 100% !important;
    }
    .mfl-header__mobile-user-profile:hover {
        color: #0e7490 !important;
    }
    .mfl-header__mobile-user-avatar {
        width: 44px !important;
        height: 44px !important;
        border-radius: 50% !important;
        object-fit: cover !important;
        border: 2px solid rgba(14, 116, 144, 0.2) !important;
        flex-shrink: 0 !important;
    }
    .mfl-header__mobile-user-name {
        flex: 1 !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    .mfl-header__mobile-user-signout {
        display: block !important;
        margin-left: calc(44px + 0.75rem) !important;
        font-size: 0.85rem !important;
        color: #64748b !important;
        text-decoration: none !important;
    }
    .mfl-header__mobile-user-signout:hover {
        color: #ef4444 !important;
        text-decoration: underline !important;
    }
}

/* Hidden on desktop — only shown inside open drawer on mobile */
.mfl-header__mobile-auth,
.mfl-header__mobile-user {
    display: none;
}

/* ── 6. MOBILE NAV BAR — Always Fixed, Never Disappears ──
   The element is teleported to <body> by JS, so position:fixed
   is always relative to the viewport.
   ─────────────────────────────────────────────────────────── */
.mfl-mobile-nav {
    /* Hardened defaults — JS will reinforce with inline styles */
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 99999 !important;
    transform: none !important;
}
@media (max-width: 1023px) {
    .mfl-mobile-nav {
        display: block !important;
    }
    .mfl-mobile-nav__inner {
        display: flex !important;
        align-items: center !important;
        justify-content: space-around !important;
        background: rgba(255, 255, 255, 0.96) !important;
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        border-top: 1px solid rgba(0, 0, 0, 0.06) !important;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08) !important;
        padding: 0.4rem 0.5rem !important;
        padding-bottom: calc(0.4rem + env(safe-area-inset-bottom, 0px)) !important;
    }
    .mfl-mobile-nav__item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 2px !important;
        padding: 0.3rem 0.5rem !important;
        text-decoration: none !important;
        color: var(--mfl-mobnav-inactive, #9ca3af) !important;
        flex: 1 !important;
        min-width: 0 !important;
    }
    .mfl-mobile-nav__item--active {
        color: var(--mfl-mobnav-active, #0e7490) !important;
    }
    /* Center Post button — big round elevated teal circle */
    .mfl-mobile-nav__item--center {
        margin-top: -18px !important;
        padding-top: 0 !important;
        padding-bottom: 0.2rem !important;
    }
    .mfl-mobile-nav__item--center .mfl-mobile-nav__icon {
        width: 50px !important;
        height: 50px !important;
        border-radius: 50% !important;
        background: linear-gradient(135deg, #0e7490, #0891b2) !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        box-shadow: 0 4px 16px rgba(14, 116, 144, 0.4) !important;
        color: #ffffff !important;
    }
    .mfl-mobile-nav__item--center .mfl-mobile-nav__icon svg {
        color: #ffffff !important;
        stroke: #ffffff !important;
        width: 26px !important;
        height: 26px !important;
    }
    .mfl-mobile-nav__item--center .mfl-mobile-nav__label {
        color: #0e7490 !important;
        font-weight: 600 !important;
    }
    .mfl-mobile-nav__label {
        font-size: 10px !important;
        font-weight: 500 !important;
        line-height: 1 !important;
    }
}

/* ── 7. MOBILE HEADER — Moved to child theme style.css Section 33 ── */

/* ── 8. HERO CONTENT POSITIONING ON MOBILE ── */
@media (max-width: 768px) {
    .mfl-hero-v2__content {
        right: 0 !important; /* remove right offset (indicators hidden on mobile) */
        padding-left: 1.25rem !important;
        padding-right: 1.25rem !important;
        padding-bottom: 8rem !important; /* Space for search bar */
    }
    
    .mfl-hero-v2__text {
        max-width: 100% !important;
    }
    
    /* Slide indicators — smaller on mobile */
    .mfl-hero-v2__indicators {
        display: none !important; /* Hide vertical indicators on mobile */
    }
}

/* ── 9. GENERAL MOBILE TYPOGRAPHY FIXES ── */
@media (max-width: 768px) {
    /* Section headings */
    .mfl-section-title,
    [class*="mfl-"] h2 {
        font-size: 1.5rem !important;
    }
    
    /* Section subtitles */
    .mfl-section-subtitle,
    [class*="mfl-"] .mfl-section-subtitle {
        font-size: 1.75rem !important;
    }
    
    /* Container padding */
    .mfl-container {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
}

/* ── 10. HIDE MYLISTING DEFAULT FOOTER ADDRESS ON MOBILE ── */
@media (max-width: 1023px) {
    /* Target the address that shows "463 7th Ave, NY 10018, USA" */
    .footer-widget .widget_text:has(svg[viewBox*="20 10"]),
    .footer-widget .address-widget,
    .site-footer .footer-address,
    .site-footer .widget_text .textwidget p:has(.fa-map-marker),
    .site-footer .widget_text .textwidget p:has(.mi),
    /* Broader selector for address-like content in footer */
    .site-footer .textwidget p:last-child {
        display: none !important;
    }
}

/* ── END MOBILE FIXES ── */


/* ============================================================
   CRITICAL: GLOBAL HORIZONTAL OVERFLOW FIX - v2.6.0
   Prevents entire page from scrolling left/right on mobile.
   NOTE: Do NOT use max-width: 100vw !important on Elementor
   containers — it overrides Boxed container width settings.
   ============================================================ */
html,
body {
    overflow-x: hidden !important;
}

/* Major non-Elementor containers */
.site-content,
.page-content,
#page,
#content,
.entry-content {
    overflow-x: hidden !important;
}
/* Only clip Elementor sections that DON'T contain 3D carousels */
.elementor-section:not(:has(.mfl-featured-react)),
.elementor-column-wrap:not(:has(.mfl-featured-react)),
.elementor-widget-wrap:not(:has(.mfl-featured-react)) {
    overflow-x: hidden !important;
}
/* For browsers that don't support :has(), use a fallback class */
.elementor-section.mfl-no-overflow,
.elementor-column-wrap.mfl-no-overflow,
.elementor-widget-wrap.mfl-no-overflow {
    overflow-x: hidden !important;
}

/* ── Fix specific overflow culprits ── */

/* Hero section — use overflow-x:clip to prevent horizontal scroll but allow search bar to show below */
.mfl-hero-v2 {
    overflow-x: clip !important;
    overflow-y: visible !important;
}

/* Featured 3D Carousel — DO NOT use overflow:hidden, it kills 3D perspective!
   Instead, the carousel-wrapper clips the sides while the carousel keeps perspective */
.mfl-featured-react {
    overflow: visible !important;
}
.mfl-featured-react__carousel-wrapper {
    overflow: visible !important;
    position: relative;
}
/* Use clip-path on the outer section to prevent horizontal scroll without killing 3D */
.elementor-section:has(.mfl-featured-react) {
    clip-path: inset(0 0 0 0);
}
/* Add transform-style to preserve 3D through the hierarchy */
.mfl-featured-react,
.mfl-featured-react__carousel-wrapper,
.mfl-featured-react__carousel {
    transform-style: preserve-3d !important;
}

/* Service Pros carousel — clip horizontal (non-active slides) but allow vertical growth */
.mfl-featured-pros-carousel {
    overflow-x: hidden !important;
    overflow-y: visible !important;
    height: auto !important;
}

/* Carousel nav arrows — clip them inside container */
@media (max-width: 768px) {
    .mfl-carousel-prev,
    .mfl-featured-pros-carousel__nav--prev {
        left: 4px !important;
    }
    .mfl-carousel-next,
    .mfl-featured-pros-carousel__nav--next {
        right: 4px !important;
    }
    .mfl-recent__arrow--prev {
        left: 2px !important;
    }
    .mfl-recent__arrow--next {
        right: 2px !important;
    }
}

/* Service Pro card — don't let it overflow */
.mfl-service-pro-card-v2 {
    overflow: hidden !important;
}

/* ── Featured 3D Carousel — Better Mobile Layout ── */
@media (max-width: 480px) {
    /* On small mobile, make center card take full width */
    .mfl-featured-react__card {
        width: calc(100vw - 3rem) !important;
        max-width: 320px !important;
        height: 300px !important;
    }

    /* Hide left/right cards completely */
    .mfl-featured-react__card.left,
    .mfl-featured-react__card.right {
        transform: translateX(0) scale(0) !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .mfl-featured-react__carousel-wrapper {
        height: 400px !important;
        overflow: hidden !important;
    }
}

@media (max-width: 768px) {
    /* Reduce the left/right card translateX to stay within viewport */
    .mfl-featured-react__card.left {
        transform: translateX(-200px) translateZ(-100px) rotateY(15deg) scale(0.75) !important;
        opacity: 0.4 !important;
    }
    .mfl-featured-react__card.right {
        transform: translateX(200px) translateZ(-100px) rotateY(-15deg) scale(0.75) !important;
        opacity: 0.4 !important;
    }
    
    /* Featured Listings tabs — wrap on mobile so no tags are cut off */
    .mfl-featured-react__tabs {
        flex-wrap: wrap !important;
        overflow-x: visible !important;
        justify-content: center !important;
        gap: 0.5rem !important;
    }
    .mfl-featured-react__tab {
        font-size: 0.8rem !important;
        padding: 0.45rem 1rem !important;
    }
}

/* ── Bible Verse Section — Mobile Responsive ── */
@media (max-width: 768px) {
    .mfl-bible-verse {
        padding: 2.5rem 0 !important;
    }
    .mfl-bible-verse__container {
        padding: 0 1rem !important;
    }
    .mfl-bible-verse__slide {
        padding: 1.5rem !important;
    }
    .mfl-bible-verse__text {
        font-size: 1.1rem !important;
        line-height: 1.6 !important;
    }
    .mfl-bible-verse__reference {
        font-size: 0.9rem !important;
    }
    /* Nav arrows inside the container */
    .mfl-bible-verse__nav {
        display: none !important; /* Hide arrows on mobile, use swipe instead */
    }
}

/* ── All Carousel Containers — Ensure Overflow Hidden ── */
[class*="carousel"],
[class*="__track"],
[class*="slider"] {
    max-width: 100% !important;
}

/* ── Partners/Logos Ticker — Prevent Overflow ── */
.mfl-partners__track-wrapper {
    overflow: hidden !important;
}

/* ── About Section — Mobile Fix ── */
@media (max-width: 768px) {
    .mfl-about-v2 {
        overflow: hidden !important;
    }
    .mfl-about-v2__grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── Stats Section — Mobile Fix ── */
@media (max-width: 768px) {
    .mfl-stats {
        overflow: hidden !important;
    }
    .mfl-stats__circles {
        flex-wrap: wrap !important;
        justify-content: center !important;
        gap: 1.5rem !important;
    }
    .mfl-stats__circle {
        width: 120px !important;
        height: 120px !important;
    }
    .mfl-stats__number {
        font-size: 1.5rem !important;
    }
}

/* ── Service Categories Masonry — Mobile Fix ── */
@media (max-width: 768px) {
    .mfl-service-categories-masonry {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 100px !important;
    }
}
@media (max-width: 480px) {
    .mfl-service-categories-masonry {
        grid-template-columns: repeat(2, 1fr) !important;
        grid-auto-rows: 90px !important;
    }
}

/* ── Testimonials — Mobile Fix ── */
@media (max-width: 768px) {
    .mfl-testimonials {
        overflow: hidden !important;
    }
}

/* ── Newsletter — Mobile Fix ── */
@media (max-width: 768px) {
    .mfl-newsletter {
        overflow: hidden !important;
    }
}

/* ── END OVERFLOW FIXES ── */


/* ============================================================
   SERVICE PRO CAROUSEL — MOBILE REDESIGN v2.7.0
   Compact card layout for mobile, proper swipe, no page scroll
   ============================================================ */

/* ── Mobile: Compact Card Layout ── */
@media (max-width: 768px) {
    /* Carousel container — tighter padding, clip sides only */
    .mfl-featured-pros-carousel {
        padding: 0 1rem 1rem !important;
        overflow-x: hidden !important;
        overflow-y: visible !important;
        height: auto !important;
    }

    /* Track — allow overflow so card heights are never clipped */
    .mfl-featured-pros-carousel__track {
        overflow: visible !important;
        align-items: flex-start !important;
    }

    /* Card — compact with smaller bg image */
    .mfl-featured-pro-card {
        border-radius: 1rem !important;
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08) !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    .mfl-featured-pro-card__bg {
        height: 150px !important;
        border-radius: 1rem 1rem 0 0 !important;
    }

    .mfl-featured-pro-card__bg-overlay {
        background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.2) 0%,
            transparent 65%
        ) !important;
    }

    /* Badges — smaller */
    .mfl-featured-pro-card__badges {
        top: 0.75rem !important;
        left: 0.75rem !important;
        gap: 0.4rem !important;
    }

    .mfl-featured-pro-card__badge {
        padding: 0.3rem 0.65rem !important;
        font-size: 0.6rem !important;
    }

    .mfl-featured-pro-card__category {
        top: 0.75rem !important;
        right: 2rem !important;
        padding: 0.3rem 1rem 0.3rem 0.85rem !important;
        font-size: 0.7rem !important;
        max-width: calc(100% - 4rem) !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }

    /* Content — compact, single column, consistent padding */
    .mfl-featured-pro-card__content {
        padding: 110px 1.5rem 1.5rem 1.25rem !important;
        grid-template-columns: 1fr !important;
        gap: 0.5rem !important;
    }

    /* Left section — wraps so skills go full width */
    .mfl-featured-pro-card__left {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        text-align: left !important;
        gap: 0.75rem !important;
    }

    .mfl-featured-pro-card__photo {
        width: 56px !important;
        height: 56px !important;
        border-radius: 50% !important;
        border-width: 2px !important;
        flex-shrink: 0 !important;
    }

    .mfl-featured-pro-card__name {
        font-size: 1rem !important;
        margin-bottom: 0.15rem !important;
    }

    .mfl-featured-pro-card__business {
        font-size: 0.8rem !important;
        margin-bottom: 0.35rem !important;
    }

    /* Meta — inline, smaller */
    .mfl-featured-pro-card__meta {
        flex-direction: row !important;
        gap: 0.75rem !important;
        margin-bottom: 0.5rem !important;
    }

    .mfl-featured-pro-card__location,
    .mfl-featured-pro-card__experience {
        font-size: 0.75rem !important;
    }

    .mfl-featured-pro-card__location svg,
    .mfl-featured-pro-card__experience svg {
        width: 12px !important;
        height: 12px !important;
    }

    /* Skills — full width row, smaller pills */
    .mfl-featured-pro-card__skills {
        width: 100% !important;
        gap: 0.3rem !important;
        margin-bottom: 0.5rem !important;
    }

    .mfl-featured-pro-card__skill {
        padding: 0.2rem 0.6rem !important;
        font-size: 0.7rem !important;
    }

    /* Testimonial — compact */
    .mfl-featured-pro-card__testimonial {
        padding: 0.75rem !important;
        border-left-width: 3px !important;
    }

    .mfl-featured-pro-card__quote {
        font-size: 0.8rem !important;
        padding-left: 1.25rem !important;
        /* Limit to 3 lines */
        display: -webkit-box !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
        overflow: hidden !important;
    }

    .mfl-featured-pro-card__quote-icon {
        top: 0.5rem !important;
        left: 0.5rem !important;
    }

    .mfl-featured-pro-card__quote-icon svg {
        width: 14px !important;
        height: 14px !important;
    }

    .mfl-featured-pro-card__author {
        font-size: 0.75rem !important;
        padding-left: 1.25rem !important;
    }

    /* Right column — horizontal action buttons */
    .mfl-featured-pro-card__right {
        min-width: auto !important;
        width: 100% !important;
        align-items: stretch !important;
        gap: 0.5rem !important;
    }

    .mfl-featured-pro-card__rating {
        text-align: left !important;
    }

    .mfl-featured-pro-card__stars {
        justify-content: flex-start !important;
        gap: 0.15rem !important;
    }

    .mfl-featured-pro-card__stars svg {
        width: 14px !important;
        height: 14px !important;
    }

    .mfl-featured-pro-card__rating-text {
        font-size: 0.8rem !important;
    }

    .mfl-featured-pro-card__rating-text strong {
        font-size: 0.9rem !important;
    }

    /* Action buttons — side by side, compact */
    .mfl-featured-pro-card__actions {
        flex-direction: row !important;
        gap: 0.5rem !important;
        width: 100% !important;
    }

    .mfl-featured-pro-card__btn {
        font-size: 0.75rem !important;
        padding: 0.55rem 0.75rem !important;
        border-radius: 0.5rem !important;
        flex: 1 !important;
    }

    .mfl-featured-pro-card__btn svg {
        width: 14px !important;
        height: 14px !important;
    }

    /* View profile link — inline, not absolute */
    .mfl-featured-pro-card__view-profile {
        position: static !important;
        font-size: 0.8rem !important;
        justify-content: center !important;
        padding: 0.5rem 0 !important;
    }

    /* Nav arrows — smaller on mobile */
    .mfl-featured-pros-carousel__nav {
        width: 32px !important;
        height: 32px !important;
    }

    .mfl-featured-pros-carousel__nav svg {
        width: 16px !important;
        height: 16px !important;
    }

    .mfl-featured-pros-carousel__nav--prev {
        left: 0 !important;
    }

    .mfl-featured-pros-carousel__nav--next {
        right: 0 !important;
    }

    /* Dots — smaller */
    .mfl-featured-pros-carousel__dots {
        margin-top: 1rem !important;
        gap: 0.35rem !important;
    }

    .mfl-featured-pros-carousel__dot {
        width: 8px !important;
        height: 8px !important;
    }

    .mfl-featured-pros-carousel__dot.active {
        width: 24px !important;
    }

    /* Fix featured pro card display on mobile */
    .mfl-featured-pro-card {
        min-width: 85vw !important;
        max-width: 85vw !important;
        overflow: visible !important;
    }
    .mfl-featured-pro-card__image {
        height: 200px !important;
    }
    .mfl-featured-pro-card__content {
        padding: 110px 1.5rem 1.5rem 1.25rem !important;
    }
    .mfl-featured-pro-card__name {
        font-size: 1.1rem !important;
    }
    .mfl-featured-pro-card__category {
        font-size: 0.85rem !important;
    }
    .mfl-featured-pro-card__description {
        font-size: 0.9rem !important;
        line-height: 1.4 !important;
    }

    /* Section subtitle */
    .mfl-service-pros-react__subtitle {
        font-size: 1.75rem !important;
    }

    .mfl-service-pros-react__title {
        font-size: 1.5rem !important;
    }

    .mfl-service-pros-react__description {
        font-size: 0.85rem !important;
    }
}

/* ── Extra Small Screens ── */
@media (max-width: 400px) {
    .mfl-featured-pro-card__bg {
        height: 130px !important;
        border-radius: 1rem 1rem 0 0 !important;
    }

    .mfl-featured-pro-card__content {
        padding: 10px 2rem 0.75rem 0.75rem !important;
    }

    .mfl-featured-pro-card__photo {
        width: 48px !important;
        height: 48px !important;
    }

    .mfl-featured-pro-card__name {
        font-size: 0.9rem !important;
    }

    .mfl-featured-pro-card__business {
        font-size: 0.75rem !important;
    }

    /* Hide testimonial on very small screens to save space */
    .mfl-featured-pro-card__testimonial {
        display: none !important;
    }

    /* Stack action buttons vertically on very small screens */
    .mfl-featured-pro-card__actions {
        flex-direction: column !important;
    }
}

/* ── END SERVICE PRO MOBILE REDESIGN ── */


/* ============================================================
   COMPREHENSIVE MOBILE AUDIT FIX — v2.7.0
   Covers: Testimonials, Partners, Newsletter, Gallery, Leaders,
   Popular Listings, Blog, Stats, Nearby, Categories, About, 
   Section Headers, and general spacing
   ============================================================ */

/* ── SECTION HEADERS — Mobile ── */
@media (max-width: 768px) {
    .mfl-section-header {
        margin-bottom: 1.5rem !important;
        padding: 0 1rem !important;
    }
    .mfl-section-title,
    .mfl-title {
        font-size: 1.5rem !important;
        line-height: 1.3 !important;
    }
    .mfl-section-subtitle,
    .mfl-subtitle {
        font-size: 1.75rem !important;
    }
    .mfl-desc {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
    }
}

/* ── TESTIMONIALS — Mobile ── */
@media (max-width: 768px) {
    .mfl-testimonials {
        padding: 3rem 0 !important;
    }
    .mfl-testimonials__card {
        flex: 0 0 85% !important;
        min-width: 85% !important;
        padding: 1.25rem !important;
    }
    .mfl-testimonials__text {
        font-size: 0.85rem !important;
        line-height: 1.6 !important;
        margin-bottom: 1rem !important;
    }
    .mfl-testimonials__avatar,
    .mfl-testimonials__avatar-placeholder {
        width: 40px !important;
        height: 40px !important;
        font-size: 0.9rem !important;
    }
    .mfl-testimonials__name {
        font-size: 0.85rem !important;
    }
    .mfl-testimonials__role {
        font-size: 0.7rem !important;
    }
    .mfl-testimonials__carousel {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        scrollbar-width: none !important;
    }
    .mfl-testimonials__carousel::-webkit-scrollbar { display: none !important; }
    .mfl-testimonials__card { scroll-snap-align: start !important; }
}
@media (max-width: 480px) {
    .mfl-testimonials__card {
        flex: 0 0 92% !important;
        min-width: 92% !important;
    }
}

/* ── PARTNERS — Mobile ── */
@media (max-width: 768px) {
    .mfl-partners {
        padding: 2.5rem 0 !important;
    }
    .mfl-partners__item {
        min-width: 100px !important;
        padding: 0.75rem !important;
    }
    .mfl-partners__item img {
        max-height: 32px !important;
    }
    .mfl-partners__name {
        font-size: 0.7rem !important;
    }
    .mfl-partners__track-wrapper {
        overflow: hidden !important;
    }
}

/* ── NEWSLETTER — Mobile ── */
@media (max-width: 768px) {
    .mfl-newsletter {
        padding: 3rem 1rem !important;
    }
    .mfl-newsletter__content {
        max-width: 100% !important;
    }
    .mfl-newsletter__desc {
        font-size: 0.85rem !important;
    }
    .mfl-newsletter__form {
        flex-direction: column !important;
        gap: 0.75rem !important;
    }
    .mfl-newsletter__input-wrap {
        width: 100% !important;
        border-radius: 9999px !important;
    }
    .mfl-newsletter__input-wrap input {
        font-size: 0.85rem !important;
        padding: 0.75rem 0.75rem 0.75rem 2.5rem !important;
    }
    .mfl-newsletter__btn {
        width: 100% !important;
        padding: 0.75rem 1.5rem !important;
        font-size: 0.85rem !important;
        border-radius: 9999px !important;
    }
    .mfl-newsletter__privacy {
        font-size: 0.7rem !important;
    }
}

/* ── GALLERY — Mobile ── */
@media (max-width: 768px) {
    .mfl-gallery {
        padding: 3rem 0 !important;
    }
    .mfl-gallery__grid--grid,
    .mfl-gallery__grid--masonry {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.5rem !important;
        padding: 0 0.5rem !important;
    }
    .mfl-gallery__grid--cols-3,
    .mfl-gallery__grid--cols-4,
    .mfl-gallery__grid--cols-5 {
        grid-template-columns: repeat(2, 1fr) !important;
    }
    .mfl-gallery__item {
        border-radius: 0.5rem !important;
    }
}
@media (max-width: 480px) {
    .mfl-gallery__grid--grid,
    .mfl-gallery__grid--masonry {
        grid-template-columns: 1fr !important;
    }
}

/* ── LEADERS — Mobile ── */
@media (max-width: 768px) {
    .mfl-leaders,
    .mfl-leaders-react {
        padding: 3rem 0 !important;
    }
    .mfl-leaders__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 1rem !important;
        padding: 0 1rem !important;
    }
    .mfl-leaders__card {
        padding: 1.25rem 1rem !important;
    }
    .mfl-leaders__avatar {
        width: 64px !important;
        height: 64px !important;
    }
    .mfl-leaders__name {
        font-size: 0.9rem !important;
    }
    .mfl-leaders__role {
        font-size: 0.75rem !important;
    }
    .mfl-leaders__social a {
        width: 28px !important;
        height: 28px !important;
    }
}
@media (max-width: 480px) {
    .mfl-leaders__grid {
        grid-template-columns: 1fr !important;
        max-width: 320px !important;
        margin: 0 auto !important;
    }
}

/* ── POPULAR LISTINGS — Mobile ── */
@media (max-width: 768px) {
    .mfl-popular,
    .mfl-popular-react {
        padding: 3rem 0 !important;
    }
    .mfl-popular__grid,
    .mfl-popular__grid--3,
    .mfl-popular__grid--4 {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0 0.75rem !important;
    }
}
@media (max-width: 480px) {
    .mfl-popular__grid,
    .mfl-popular__grid--2,
    .mfl-popular__grid--3,
    .mfl-popular__grid--4 {
        grid-template-columns: 1fr !important;
        padding: 0 1rem !important;
    }
}

/* ── POPULAR CARD BODY — Mobile: rating + price inline ── */
@media (max-width: 768px) {
    .mfl-popular__card-body {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 0.2rem 0.65rem !important;
    }
    .mfl-popular__card-body h3 {
        width: 100% !important;
        margin-bottom: 0.25rem !important;
    }
    .mfl-popular__card-rating {
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }
    .mfl-popular__card-price {
        font-size: 0.9rem !important;
        margin-bottom: 0 !important;
        flex-shrink: 0 !important;
    }
    .mfl-popular__card-footer {
        width: 100% !important;
        margin-top: 0.35rem !important;
    }
}

/* ── BLOG — Mobile ── */
@media (max-width: 768px) {
    .mfl-blog {
        padding: 3rem 0 !important;
    }
    .mfl-blog__grid,
    .mfl-blog__grid--3,
    .mfl-blog__grid--4 {
        grid-template-columns: 1fr !important;
        gap: 1.25rem !important;
        padding: 0 1rem !important;
    }
    .mfl-blog__card-img {
        height: 180px !important;
    }
    .mfl-blog__card-body {
        padding: 1rem !important;
    }
    .mfl-blog__card-title {
        font-size: 1rem !important;
    }
    .mfl-blog__card-excerpt {
        font-size: 0.8rem !important;
        -webkit-line-clamp: 2 !important;
    }
    .mfl-blog__card-meta {
        font-size: 0.7rem !important;
    }
}

/* ── STATS — Mobile ── */
@media (max-width: 768px) {
    .mfl-stats,
    .mfl-stats-v2 {
        padding: 3rem 0 !important;
    }
    .mfl-stats-v2__circles {
        gap: 1rem !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
    }
    .mfl-stats-v2__circle {
        width: 120px !important;
        height: 120px !important;
    }
    .mfl-stats-v2__number {
        font-size: 1.5rem !important;
    }
    .mfl-stats-v2__label {
        font-size: 0.65rem !important;
    }
    /* Hide decorative elements on mobile */
    .mfl-stats-v2__deco {
        display: none !important;
    }
}
@media (max-width: 480px) {
    .mfl-stats-v2__circle {
        width: 100px !important;
        height: 100px !important;
    }
    .mfl-stats-v2__number {
        font-size: 1.25rem !important;
    }
}

/* ── NEARBY LISTINGS — Mobile ── */
@media (max-width: 768px) {
    .mfl-nearby {
        padding: 3rem 0 !important;
    }
    .mfl-nearby__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0 0.75rem !important;
    }
    .mfl-nearby__card {
        border-radius: 0.75rem !important;
    }
    .mfl-nearby__card-img {
        height: 140px !important;
    }
    .mfl-nearby__card-body {
        padding: 0.75rem !important;
    }
    .mfl-nearby__card-title {
        font-size: 0.85rem !important;
    }
    .mfl-nearby__card-meta {
        font-size: 0.7rem !important;
    }
    .mfl-nearby__shortcode-wrapper .mylisting-nearby-grid,
    .mfl-nearby__shortcode-wrapper .nearby-listings-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}
@media (max-width: 480px) {
    .mfl-nearby__grid {
        grid-template-columns: 1fr !important;
    }
    .mfl-nearby__shortcode-wrapper .mylisting-nearby-grid,
    .mfl-nearby__shortcode-wrapper .nearby-listings-grid {
        grid-template-columns: 1fr !important;
    }
}

/* ── CATEGORIES — Mobile ── */
@media (max-width: 768px) {
    .mfl-categories {
        padding: 3rem 0 !important;
    }
    .mfl-categories__grid {
        gap: 0.75rem !important;
        padding: 0 0.75rem !important;
    }
    .mfl-categories__card {
        padding: 1rem !important;
    }
    .mfl-categories__icon {
        width: 40px !important;
        height: 40px !important;
        font-size: 1.25rem !important;
    }
    .mfl-categories__name {
        font-size: 0.8rem !important;
    }
    .mfl-categories__count {
        font-size: 0.7rem !important;
    }
    /* Fan layout — 2 cols on mobile */
    .mfl-cat-fan__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
    }
}
@media (max-width: 480px) {
    .mfl-cat-fan__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ── ABOUT SECTION — Mobile ── */
@media (max-width: 768px) {
    .mfl-about,
    .mfl-about-react,
    .mfl-about-v2 {
        padding: 2.5rem 0 !important;
    }
    .mfl-about-v2__container {
        padding: 0 1rem !important;
    }
    .mfl-about-v2__grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
    }
    .mfl-about-v2__person-col {
        display: none !important;
    }
    .mfl-about-v2__images-col {
        height: 300px !important;
        max-width: 380px !important;
        margin: 0 auto !important;
    }
    .mfl-about-v2__header {
        margin-bottom: 1.5rem !important;
    }
    .mfl-about-v2__content-col {
        text-align: center !important;
    }
    .mfl-about-v2__features {
        align-items: center !important;
    }
    .mfl-about-v2__feature {
        text-align: left !important;
    }
    .mfl-about-v2__cta {
        justify-content: center !important;
        width: 100% !important;
    }
}
/* ── ABOUT SECTION — Phone portrait ── */
@media (max-width: 480px) {
    .mfl-about-v2 {
        padding: 2rem 0 !important;
    }
    .mfl-about-v2__header {
        margin-bottom: 1rem !important;
    }
    .mfl-about-v2__header .mfl-title {
        font-size: 1.5rem !important;
    }
    .mfl-about-v2__images-col {
        height: 280px !important;
        max-width: 260px !important;
        justify-content: center !important;
    }
    .mfl-about-v2__img-stack {
        display: none !important;
    }
    .mfl-about-v2__img-pill {
        flex: 0 0 100% !important;
        max-width: 260px !important;
    }
    .mfl-about-v2__description {
        font-size: 0.9rem !important;
    }
    .mfl-about-v2__feature-icon {
        width: 38px !important;
        height: 38px !important;
    }
    .mfl-about-v2__feature-text h3 {
        font-size: 0.95rem !important;
    }
    .mfl-about-v2__feature-text p {
        font-size: 0.8rem !important;
    }
    .mfl-about-v2__cta {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
    }
}

/* ── BIBLE VERSE — Mobile (additional) ── */
@media (max-width: 768px) {
    .mfl-bible-verse {
        padding: 3rem 1rem !important;
    }
    .mfl-bible-verse__quote {
        font-size: 1.25rem !important;
        line-height: 1.5 !important;
        padding: 0 0.5rem !important;
    }
    .mfl-bible-verse__reference {
        font-size: 1rem !important;
    }
    .mfl-bible-verse__indicators {
        gap: 0.3rem !important;
    }
    .mfl-bible-verse__indicator {
        width: 8px !important;
        height: 8px !important;
    }
}

/* ── CONTACT PAGE — Mobile ── */
@media (max-width: 768px) {
    .mfl-contact {
        padding: 3rem 0 !important;
    }
    .mfl-contact__grid {
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        padding: 0 1rem !important;
    }
    .mfl-contact__form-card {
        padding: 1.25rem !important;
    }
    .mfl-contact__info-card {
        padding: 1.25rem !important;
    }
}

/* ── LISTING CATEGORIES (Elementor widget) — Mobile ── */
@media (max-width: 768px) {
    .mfl-listing-categories {
        padding: 3rem 0 !important;
    }
    .mfl-listing-categories__grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 0.75rem !important;
        padding: 0 0.75rem !important;
    }
    .mfl-listing-categories__card {
        min-height: 120px !important;
    }
    .mfl-listing-categories__card-name {
        font-size: 0.8rem !important;
    }
    .mfl-listing-categories__card-count {
        font-size: 0.7rem !important;
    }
}
@media (max-width: 480px) {
    .mfl-listing-categories__grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }
}

/* ── GENERAL MOBILE SPACING & OVERFLOW ── */
@media (max-width: 768px) {
    /* Reduce all section padding */
    .elementor-section {
        overflow-x: hidden !important;
    }
    
    /* Ensure containers don't overflow */
    .mfl-container {
        padding: 0 1rem !important;
        overflow-x: hidden !important;
    }

    /* All carousels — ensure overflow hidden */
    [class*="carousel"] {
        overflow: hidden !important;
    }

    /* Carousel arrows — hide on mobile, use swipe instead */
    .mfl-carousel-prev,
    .mfl-carousel-next {
        display: none !important;
    }

    /* All grids — prevent overflow */
    [class*="__grid"] {
        max-width: 100% !important;
        overflow-x: hidden !important;
    }

    /* Buttons — compact on mobile */
    .mfl-btn {
        padding: 0.6rem 1.25rem !important;
        font-size: 0.8rem !important;
    }
    .mfl-btn--sm {
        padding: 0.4rem 0.85rem !important;
        font-size: 0.7rem !important;
    }

    /* Footer — ensure hidden on mobile (replaced by mobile nav) */
    .mfl-footer {
        display: none !important;
    }

    /* Body bottom padding for mobile nav bar */
    body {
        padding-bottom: 70px !important;
    }
}

/* ── END COMPREHENSIVE MOBILE AUDIT FIX ── */


/* ============================================================
   SERVICE PROS WIDGET
   Featured pros carousel + service categories masonry grid
   ============================================================ */

/* ── Widget Container & Header ── */
.mfl-service-pros {
    padding: 4rem 0;
    background: #f8f7f4;
}
.mfl-service-pros-react {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.mfl-service-pros-react__header {
    text-align: center;
    margin-bottom: 3rem;
}
.mfl-service-pros-react__subtitle {
    font-family: 'Caveat', cursive !important;
    font-size: 2rem !important;
    font-weight: 600 !important;
    color: #f97316 !important;
    margin-bottom: 0.5rem !important;
    letter-spacing: 0.02em !important;
}
.mfl-service-pros-react__title {
    font-family: 'Poppins', sans-serif !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    line-height: 1.2 !important;
    margin-bottom: 1rem !important;
}
.mfl-service-pros-react__title .highlight {
    color: #0e7490;
    font-style: italic;
}
.mfl-service-pros-react__description {
    font-family: 'Inter', sans-serif !important;
    font-size: 1.05rem !important;
    color: #64748b !important;
    line-height: 1.7 !important;
    max-width: 640px;
    margin: 0 auto;
}

/* ── Featured Pros Carousel ── */
.mfl-featured-pros-carousel {
    position: relative;
    overflow: hidden;
    margin: 0 auto 3rem;
    max-width: 1100px;
}
.mfl-featured-pros-carousel__track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Individual Pro Card (image-top + white-content layout) ── */
.mfl-featured-pro-card {
    position: relative;
    background: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-sizing: border-box;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
}

/* ── Image banner (top section, NOT full-bleed) ── */
.mfl-featured-pro-card__bg {
    position: relative;
    height: 210px;
    background-size: cover;
    background-position: center;
    overflow: hidden;
    /* Counteract the 12px JS card padding so image goes edge-to-edge */
    margin: 0 -12px;
    width: calc(100% + 24px);
}
.mfl-featured-pro-card__bg-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2) 0%, rgba(0,0,0,0.05) 60%, rgba(0,0,0,0.2) 100%);
}

/* ── Badges (overlaid on image) ── */
.mfl-featured-pro-card__badges {
    position: absolute;
    top: 1rem;
    left: 1.25rem;
    display: flex;
    gap: 0.5rem;
    z-index: 10;
}
.mfl-featured-pro-card__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.3rem 0.7rem;
    border-radius: 2rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.mfl-featured-pro-card__badge--featured {
    background: rgba(14, 116, 144, 0.9);
    color: #ffffff;
}
.mfl-featured-pro-card__badge--verified {
    background: rgba(5, 150, 105, 0.9);
    color: #ffffff;
}

/* ── Category Tag (overlaid on image, top right) ── */
.mfl-featured-pro-card__category {
    position: absolute;
    top: 1rem;
    right: 1.25rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    padding: 0.3rem 0.8rem;
    border-radius: 2rem;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.78rem;
    font-weight: 500;
    z-index: 10;
}

/* ── White Content Area ── */
.mfl-featured-pro-card__content {
    position: relative;
    background: #ffffff;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 1.25rem 1.75rem 1.25rem 1.5rem;
    box-sizing: border-box;
}
.mfl-featured-pro-card__left {
    flex: 1;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    min-width: 0;
}
.mfl-featured-pro-card__right {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.75rem;
}

/* ── Profile Photo (overlaps image/content boundary) ── */
.mfl-featured-pro-card__photo {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #ffffff;
    flex-shrink: 0;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -36px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.mfl-featured-pro-card__photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── Info Panel (dark text on white) ── */
.mfl-featured-pro-card__info {
    color: #1e293b;
    min-width: 0;
}
.mfl-featured-pro-card__name {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #475569 !important;
    margin: 0 0 0.2rem !important;
    line-height: 1.3;
}
.mfl-featured-pro-card__business {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem;
    color: #0e7490 !important;
    text-decoration: none;
    font-weight: 500;
    display: block;
    margin-bottom: 0.4rem;
}
.mfl-featured-pro-card__business:hover {
    color: #0c5e73 !important;
    text-decoration: underline;
}

/* ── Meta (location, experience) ── */
.mfl-featured-pro-card__meta {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 0.6rem;
    flex-wrap: wrap;
}
.mfl-featured-pro-card__location,
.mfl-featured-pro-card__experience {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.82rem;
    color: #64748b;
}
.mfl-featured-pro-card__location svg,
.mfl-featured-pro-card__experience svg {
    color: #0e7490;
    flex-shrink: 0;
}

/* ── Skills Tags (grey pills on white) ── */
.mfl-featured-pro-card__skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem;
    margin-bottom: 0.65rem;
}
.mfl-featured-pro-card__skill {
    padding: 0.18rem 0.55rem;
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    border-radius: 1rem;
    font-size: 0.73rem;
    color: #475569;
    font-family: 'Inter', sans-serif;
}

/* ── Testimonial (light blue quote box) ── */
.mfl-featured-pro-card__testimonial {
    background: #f0f9ff;
    border-left: 3px solid #67e8f9;
    padding: 0.6rem 0.85rem 0.6rem 0.75rem;
    border-radius: 0 0.5rem 0.5rem 0;
    margin-top: 0.5rem;
    position: relative;
}
.mfl-featured-pro-card__quote-icon {
    display: none;
}
.mfl-featured-pro-card__quote {
    font-size: 0.85rem;
    color: #334155;
    font-style: italic;
    line-height: 1.5;
    margin: 0 0 0.2rem;
}
.mfl-featured-pro-card__author {
    font-size: 0.78rem;
    color: #64748b;
    margin: 0;
}

/* ── Rating ── */
.mfl-featured-pro-card__rating {
    text-align: right;
}
.mfl-featured-pro-card__stars {
    display: flex;
    gap: 2px;
    justify-content: flex-end;
    margin-bottom: 0.2rem;
}
.mfl-featured-pro-card__rating-text {
    font-size: 0.82rem;
    color: #475569;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}
.mfl-featured-pro-card__rating-text strong {
    color: #1e293b;
}

/* ── Action Buttons ── */
.mfl-featured-pro-card__actions {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}
.mfl-featured-pro-card__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.55rem 1.2rem;
    border-radius: 2rem;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    text-decoration: none !important;
    transition: all 0.25s ease;
    white-space: nowrap;
    cursor: pointer;
    border: 1px solid transparent;
}
.mfl-featured-pro-card__btn--call {
    background: #0e7490;
    color: #ffffff !important;
    border-color: #0e7490;
}
.mfl-featured-pro-card__btn--call:hover {
    background: #0c5e73;
    border-color: #0c5e73;
    color: #ffffff !important;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(14, 116, 144, 0.35);
}
.mfl-featured-pro-card__btn--message {
    background: #ffffff;
    border-color: #e2e8f0;
    color: #334155 !important;
}
.mfl-featured-pro-card__btn--message:hover {
    background: #f8fafc;
    border-color: #0e7490;
    color: #0e7490 !important;
    transform: translateY(-1px);
}
.mfl-featured-pro-card__btn--profile {
    background: transparent;
    border-color: transparent;
    color: #0e7490 !important;
    font-size: 0.82rem;
    padding-left: 0;
    padding-right: 0;
    justify-content: flex-end;
}
.mfl-featured-pro-card__btn--profile:hover {
    color: #0c5e73 !important;
    text-decoration: underline !important;
    transform: none;
}

/* ── Carousel Nav Arrows ── */
.mfl-featured-pros-carousel__nav {
    position: absolute;
    top: 105px; /* centre of the 210px image banner */
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.9);
    color: #0e7490;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
    opacity: 1;
    transition: all 0.3s ease;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
    padding: 0;
}
.mfl-featured-pros-carousel__nav:hover {
    background: #0e7490;
    color: #ffffff;
    border-color: #0e7490;
    box-shadow: 0 6px 24px rgba(14, 116, 144, 0.4);
    transform: translateY(-50%) scale(1.08);
}
.mfl-featured-pros-carousel__nav--prev { left: 1.5rem; }
.mfl-featured-pros-carousel__nav--next { right: 1.5rem; }
.mfl-featured-pros-carousel__nav[disabled] {
    opacity: 0.25 !important;
    pointer-events: none;
}

/* ── Carousel Dots ── */
.mfl-featured-pros-carousel__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.5rem;
}
.mfl-featured-pros-carousel__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    border: none;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}
.mfl-featured-pros-carousel__dot:hover {
    background: #94a3b8;
}
.mfl-featured-pros-carousel__dot.active {
    background: #0e7490;
    width: 28px;
    border-radius: 5px;
}

/* ── Service Categories Masonry Grid ── */
.mfl-service-categories-masonry {
    columns: 4;
    column-gap: 1rem;
    margin-top: 3rem;
}
.mfl-service-cat-mason {
    display: block;
    position: relative;
    break-inside: avoid;
    margin-bottom: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    text-decoration: none !important;
    color: #ffffff !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.mfl-service-cat-mason:hover,
.mfl-service-cat-mason:focus,
.mfl-service-cat-mason:visited {
    color: #ffffff !important;
    text-decoration: none !important;
}
.mfl-service-cat-mason:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}
.mfl-service-cat-mason--tall img { height: 320px; }
.mfl-service-cat-mason--short img { height: 220px; }
.mfl-service-cat-mason img {
    width: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}
.mfl-service-cat-mason:hover img {
    transform: scale(1.05);
}
.mfl-service-cat-mason__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0) 100%);
    transition: background 0.3s ease;
}
.mfl-service-cat-mason:hover .mfl-service-cat-mason__overlay {
    background: linear-gradient(to top, rgba(14,116,144,0.8) 0%, rgba(14,116,144,0.2) 50%, rgba(0,0,0,0) 100%);
}
.mfl-service-cat-mason__content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.25rem;
    z-index: 5;
}
.mfl-service-cat-mason__name {
    font-family: 'Poppins', sans-serif !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin: 0 !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}
.mfl-service-cat-mason__count {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    font-family: 'Inter', sans-serif;
}

/* ── Purple hover prevention inside widget ── */
.mfl-service-pros-react__header a:hover { color: #0e7490 !important; }
.mfl-service-categories-masonry a:hover { color: #ffffff !important; }

/* ── Service Pros Responsive ── */
@media (max-width: 1024px) {
    .mfl-service-categories-masonry { columns: 3; }
    .mfl-featured-pro-card__content { gap: 1rem; }
    .mfl-featured-pro-card__right {
        align-items: flex-start;
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.6rem;
    }
    .mfl-featured-pro-card__actions {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .mfl-featured-pro-card__btn--profile { width: 100%; }
}
@media (max-width: 768px) {
    .mfl-service-categories-masonry { columns: 2; }
    .mfl-featured-pro-card__bg {
        height: 150px !important;
        border-radius: 1rem 1rem 0 0 !important;
    }
    .mfl-featured-pro-card__category {
        right: 2rem !important;
        max-width: calc(100% - 4rem) !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
        white-space: nowrap !important;
    }
    .mfl-featured-pro-card__content {
        flex-direction: column;
        padding: 110px 1.5rem 1.5rem 1.25rem !important;
        gap: 0.5rem !important;
    }
    .mfl-featured-pro-card__left {
        flex-direction: row !important;
        flex-wrap: wrap !important;
        align-items: flex-start !important;
        gap: 0.75rem !important;
    }
    .mfl-featured-pro-card__photo {
        width: 56px !important;
        height: 56px !important;
        margin-top: -28px;
        flex-shrink: 0 !important;
    }
    .mfl-featured-pro-card__info {
        flex: 1 !important;
        min-width: 0 !important;
    }
    .mfl-featured-pro-card__skills {
        /* Pull left by photo (56px) + gap (0.75rem) so skills span full card width */
        margin-left: calc(-56px - 0.75rem) !important;
        width: calc(100% + 56px + 0.75rem) !important;
        gap: 0.35rem !important;
        margin-bottom: 0.25rem !important;
        margin-top: 0.25rem !important;
    }
    .mfl-featured-pro-card__skill {
        padding: 0.25rem 0.7rem !important;
        font-size: 0.72rem !important;
    }
    .mfl-featured-pro-card__name { font-size: 1.05rem !important; }
    .mfl-featured-pro-card__business { font-size: 0.82rem !important; }
    .mfl-featured-pro-card__right {
        width: 100% !important;
    }
    .mfl-service-pros-react__title { font-size: 1.75rem !important; }
    .mfl-featured-pros-carousel__nav { width: 36px; height: 36px; }
    .mfl-featured-pros-carousel__nav--prev { left: 0.5rem; }
    .mfl-featured-pros-carousel__nav--next { right: 0.5rem; }
}
@media (max-width: 480px) {
    .mfl-service-categories-masonry { columns: 1; }
    .mfl-service-cat-mason--tall img,
    .mfl-service-cat-mason--short img { height: 200px; }
    .mfl-featured-pro-card__bg { height: 130px !important; border-radius: 1rem 1rem 0 0 !important; }
    .mfl-featured-pro-card__content { padding: 10px 2rem 0.75rem 0.75rem !important; }
    .mfl-featured-pro-card__photo { width: 48px !important; height: 48px !important; margin-top: -24px; }
    .mfl-featured-pro-card__testimonial { display: none; }
    .mfl-featured-pros-carousel__nav { display: none; }
    .mfl-service-pros { padding: 2rem 0; }
    .mfl-featured-pro-card__btn { font-size: 0.78rem; padding: 0.45rem 0.9rem; }
}

/* ── END SERVICE PROS WIDGET ── */


/* ═══════════════════════════════════════════════════════════════════════════
   EXPLORE PAGE — MFL Visual Enhancement (CSS only)
   Layout fully handled by MyListing. We only add colors, fonts, radii, shadows.
   Scope: .cts-explore (MyListing's root class on explore template divs)
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Hide default MyListing header/footer on explore page ── */
body.page-id-186 .c27-main-header,
body.page-id-186 #c27-site-header {
    display: none !important;
}
body.page-id-186 .c27-site-footer,
body.page-id-186 #c27-site-footer,
body.page-id-186 footer.footer {
    display: none !important;
}

/* ── Type Tabs: glassmorphism inactive, solid teal active ── */
.cts-explore .explore-types .item {
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    transition: background 0.22s, color 0.22s, border-color 0.22s, box-shadow 0.22s;
}

.cts-explore .explore-types .item a {
    color: var(--mfl-primary, #0e7490);
    text-decoration: none;
}

.cts-explore .explore-types .item i {
    color: var(--mfl-primary, #0e7490) !important;
    opacity: 0.85;
}

.cts-explore .explore-types .item .type-info {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.cts-explore .explore-types .item .type-info h4 {
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-size: 0.82rem;
    font-weight: 500;
    margin: 0;
    color: var(--mfl-primary, #0e7490);
}

.cts-explore .explore-types .item:hover {
    border-color: rgba(14,116,144,0.4);
    background: rgba(255,255,255,0.35);
    box-shadow: 0 2px 12px rgba(14,116,144,0.15);
}

.cts-explore .explore-types .item:hover a,
.cts-explore .explore-types .item:hover .type-info h4 {
    color: var(--mfl-primary, #0e7490);
}

.cts-explore .explore-types .item.active {
    background: var(--mfl-primary, #0e7490) !important;
    border-color: var(--mfl-primary, #0e7490) !important;
    box-shadow: 0 2px 10px rgba(14,116,144,0.3);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.cts-explore .explore-types .item.active a,
.cts-explore .explore-types .item.active .type-info h4 {
    color: #ffffff !important;
}

.cts-explore .explore-types .item.active i {
    color: #ffffff !important;
    opacity: 1;
}

/* Override the accent underline on type tabs */
.cts-explore .explore-head .explore-types > div::after {
    background: var(--mfl-primary, #0e7490) !important;
}

/* Remove fixed height on type tab links */
.cts-explore .explore-head .explore-types > div > a {
    height: auto !important;
}

/* ── Listing Cards: full-bleed image, dark gradient, white text ── */
/* Rounded top corners only — no radius on lower corners */
.cts-explore .lf-item-container {
    border-radius: 12px 12px 0 0 !important;
    overflow: hidden;
    box-shadow: 0 1px 4px rgba(0,0,0,0.07), 0 2px 12px rgba(0,0,0,0.04);
    transition: box-shadow 0.2s, transform 0.2s;
}

.cts-explore .lf-item-container:hover {
    box-shadow: 0 4px 20px rgba(14,116,144,0.14), 0 2px 8px rgba(0,0,0,0.08);
    transform: translateY(-2px);
}

/* Make the lf-item fill available space with relative positioning */
.cts-explore .lf-item {
    position: relative;
}

/* Background image covers the entire card visual area */
.cts-explore .lf-item .lf-background {
    background-size: cover !important;
    background-position: center !important;
}

/* Gallery slides also cover */
.cts-explore .lf-item .pc-slider .single-slide {
    object-fit: cover;
}

/* No border-radius on the image section itself */
.cts-explore .lf-item {
    border-radius: 0 !important;
}

/* --- Cards WITH background images: dark gradient + white text --- */
/* Only override overlay when card has a cover image or gallery */
.cts-explore .lf-item:has(.lf-background) .overlay,
.cts-explore .lf-item:has(.pc-slider) .overlay {
    background: linear-gradient(to bottom, transparent 45%, rgba(0,0,0,0.45) 100%) !important;
    opacity: 1 !important;
}

/* Title: white only on cards with images */
.cts-explore .lf-item:has(.lf-background) .listing-preview-title,
.cts-explore .lf-item:has(.lf-background) .listing-preview-title a,
.cts-explore .lf-item:has(.pc-slider) .listing-preview-title,
.cts-explore .lf-item:has(.pc-slider) .listing-preview-title a {
    font-family: var(--mfl-font-heading, 'Poppins', sans-serif) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}

/* Avatar border: white only on cards with images */
.cts-explore .lf-item:has(.lf-background) .lf-avatar,
.cts-explore .lf-item:has(.pc-slider) .lf-avatar {
    border: 2px solid rgba(255,255,255,0.6);
    border-radius: 50%;
}

/* Info fields: white only on cards with images */
.cts-explore .lf-item:has(.lf-background) .lf-item-info .info-field,
.cts-explore .lf-item:has(.lf-background) .lf-item-info .info-field span,
.cts-explore .lf-item:has(.lf-background) .lf-item-info .info-field i,
.cts-explore .lf-item:has(.pc-slider) .lf-item-info .info-field,
.cts-explore .lf-item:has(.pc-slider) .lf-item-info .info-field span,
.cts-explore .lf-item:has(.pc-slider) .lf-item-info .info-field i {
    color: rgba(255,255,255,0.9) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-size: 0.78rem;
}

/* Tagline: white only on cards with images */
.cts-explore .lf-item:has(.lf-background) .lf-item-info h6,
.cts-explore .lf-item:has(.pc-slider) .lf-item-info h6 {
    color: rgba(255,255,255,0.85) !important;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* --- Cards WITHOUT images: static layout with proper avatar spacing --- */
.cts-explore .lf-item:not(:has(.lf-background)):not(:has(.pc-slider)) {
    height: auto !important;
    min-height: 75px !important;
}

.cts-explore .lf-item:not(:has(.lf-background)):not(:has(.pc-slider)) .lf-item-info {
    position: static !important;
    background: #ffffff !important;
    padding: 15px 15px 10px 75px !important;
    color: #475569 !important;
    overflow: visible !important;
}

.cts-explore .lf-item:not(:has(.lf-background)):not(:has(.pc-slider)) .lf-avatar {
    position: absolute !important;
    top: 15px !important;
    left: 15px !important;
    width: 50px !important;
    height: 50px !important;
}

/* Title: dark for imageless cards */
.cts-explore .lf-item:not(:has(.lf-background)):not(:has(.pc-slider)) .listing-preview-title,
.cts-explore .lf-item:not(:has(.lf-background)):not(:has(.pc-slider)) .listing-preview-title a {
    font-family: var(--mfl-font-heading, 'Poppins', sans-serif) !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-shadow: none !important;
}

/* Info fields + contact: dark */
.cts-explore .lf-item:not(:has(.lf-background)):not(:has(.pc-slider)) .lf-item-info .info-field,
.cts-explore .lf-item:not(:has(.lf-background)):not(:has(.pc-slider)) .lf-item-info .info-field span,
.cts-explore .lf-item:not(:has(.lf-background)):not(:has(.pc-slider)) .lf-item-info .info-field i,
.cts-explore .lf-item:not(:has(.lf-background)):not(:has(.pc-slider)) .lf-item-info .lf-contact li,
.cts-explore .lf-item:not(:has(.lf-background)):not(:has(.pc-slider)) .lf-item-info .lf-contact li i {
    color: #475569 !important;
    text-shadow: none !important;
}

/* Tagline: dark */
.cts-explore .lf-item:not(:has(.lf-background)):not(:has(.pc-slider)) .lf-item-info h6 {
    color: #64748b !important;
    text-shadow: none !important;
}

/* Hide the empty overlay on imageless cards */
.cts-explore .lf-item:not(:has(.lf-background)):not(:has(.pc-slider)) .overlay {
    display: none !important;
}

/* Card footer: clean divider, rounded bottom corners */
.cts-explore .lf-item-container .c27-footer-section {
    border-top-color: #f3f4f6;
}

/* Category badge rounded */
.cts-explore .c27-listing-preview-category-list .cat-icon {
    border-radius: 6px !important;
}

/* Card footer text */
.cts-explore .c27-footer-section .category-name {
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-size: 0.78rem;
}

/* ── Filter sidebar: teal overrides (replaces all purple/accent) ── */

/* Sidebar tabs: teal active state */
.cts-explore .sidebar-tabs li.active a {
    color: var(--mfl-primary, #0e7490) !important;
    border-color: var(--mfl-primary, #0e7490) !important;
}

/* Remove gray underlines on inputs — use clean bordered inputs instead */
.cts-explore .finder-search .md-group select,
.cts-explore .finder-search .form-group input[type="text"],
.cts-explore .finder-search .form-group input[type="number"],
.cts-explore .finder-search .form-group select {
    border: 1px solid #e5e7eb !important;
    border-bottom: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-size: 0.85rem;
    background: #ffffff !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}
/* md-group input & search input: no border override */
.cts-explore .finder-search .md-group input,
.cts-explore .finder-search .form-group input[type="search"] {
    border: none !important;
    border-radius: 10px !important;
    padding: 8px 12px !important;
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-size: 0.85rem;
    background: #ffffff !important;
    transition: border-color 0.2s, box-shadow 0.2s;
}

/* Focus state: teal */
.cts-explore .finder-search .form-group input:focus,
.cts-explore .finder-search .form-group select:focus {
    border-color: var(--mfl-primary, #0e7490) !important;
    box-shadow: 0 0 0 3px rgba(14,116,144,0.1) !important;
    background: #ffffff;
}

/* Search button: teal + pill shape */
.cts-explore .finder-search .buttons.button-2,
.cts-explore .finder-search a.buttons.button-2,
.cts-explore .finder-search .c27-explore-search-button,
.cts-explore .finder-search button[type="submit"] {
    background: var(--mfl-primary, #0e7490) !important;
    border-color: var(--mfl-primary, #0e7490) !important;
    border-radius: 999px !important;
    color: #ffffff !important;
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-weight: 600;
    transition: background 0.2s, box-shadow 0.2s;
}

.cts-explore .finder-search .buttons.button-2:hover,
.cts-explore .finder-search a.buttons.button-2:hover,
.cts-explore .finder-search .c27-explore-search-button:hover,
.cts-explore .finder-search button[type="submit"]:hover {
    background: #0c6980 !important;
    box-shadow: 0 2px 8px rgba(14,116,144,0.25);
}

/* Reset button: pill shape, teal outline */
.cts-explore .finder-search .reset-results-27 {
    border-radius: 999px !important;
    border: 1.5px solid var(--mfl-primary, #0e7490) !important;
    color: var(--mfl-primary, #0e7490) !important;
    background: transparent !important;
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-weight: 500;
    padding: 6px !important;
    transition: background 0.2s, color 0.2s;
}

.cts-explore .finder-search .reset-results-27:hover {
    background: rgba(14,116,144,0.08) !important;
}

/* Space below Reset Filters button — bottom padding so it doesn't hug the edge */
.cts-explore .finder-search .form-group.fc-search {
    padding-bottom: 2rem !important;
}

/* Load more button: teal + pill */
.cts-explore .finder-search .buttons.button-5,
.cts-explore .buttons.button-5 {
    border-radius: 999px !important;
    color: var(--mfl-primary, #0e7490) !important;
    border-color: var(--mfl-primary, #0e7490) !important;
}

/* Checkboxes/radios: teal accent */
.cts-explore .finder-search input[type="radio"],
.cts-explore .finder-search input[type="checkbox"] {
    accent-color: var(--mfl-primary, #0e7490) !important;
}

/* MD checkbox labels: teal active state */
.cts-explore .finder-search .md-checkbox input:checked + label::before {
    background-color: var(--mfl-primary, #0e7490) !important;
    border-color: var(--mfl-primary, #0e7490) !important;
}

/* Rating filter active: teal */
.cts-explore .rating-filter .rating-option.active {
    background-color: var(--mfl-primary, #0e7490) !important;
    border-color: var(--mfl-primary, #0e7490) !important;
}

/* Slider range: teal */
.cts-explore .form-group .radius .ui-slider-horizontal .ui-slider-range,
.cts-explore .form-group .ui-slider-horizontal .ui-slider-range {
    background-color: var(--mfl-primary, #0e7490) !important;
}

/* Range list active: teal */
.cts-explore .range-list a.active {
    background: var(--mfl-primary, #0e7490) !important;
}
.cts-explore .range-list a:hover {
    color: #ffffff !important;
}

/* Active type icon on explore head: teal */
.cts-explore .explore-head .explore-types > div.active i {
    color: #ffffff !important;
}

/* Finding/loading icon: teal */
.cts-explore .finding-icon i {
    color: var(--mfl-primary, #0e7490) !important;
}

/* Filter labels: clean styling */
.cts-explore .finder-search .form-group > label {
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-size: 0.78rem;
    font-weight: 600 !important;
    color: #475569;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* Select2 dropdowns: teal focus + clean borders */
.cts-explore .finder-search .select2-container--default .select2-selection--single {
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    min-height: 0 !important;
    height: auto !important;
}
.cts-explore .finder-search .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 8px 30px 8px 12px !important;
    line-height: 1.3 !important;
}

.cts-explore .finder-search .select2-container--default.select2-container--focus .select2-selection--single,
.cts-explore .finder-search .select2-container--default.select2-container--open .select2-selection--single {
    border-color: var(--mfl-primary, #0e7490) !important;
    box-shadow: 0 0 0 3px rgba(14,116,144,0.1) !important;
}

/* ── Sort select styling ── */
.cts-explore .fl-head .sort-results select {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
    font-family: var(--mfl-font-body, 'DM Sans', sans-serif);
    font-size: 0.82rem;
}

.cts-explore .fl-head .sort-results select:focus {
    border-color: var(--mfl-primary, #0e7490);
}

/* ── Pagination: teal active ── */
.cts-explore .finder-pagination .active .btn,
.cts-explore .finder-pagination .active a {
    background: var(--mfl-primary, #0e7490) !important;
    border-color: var(--mfl-primary, #0e7490) !important;
    color: #ffffff !important;
}

/* ── Google Maps infowindow: rounded ── */
.cts-explore .gm-style .gm-style-iw-c {
    border-radius: 12px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15) !important;
}

/* ── Responsive: 768px ── */
@media (max-width: 768px) {
    .cts-explore .explore-types .item {
        padding: 0.28rem 0.7rem;
    }

    .cts-explore .explore-types .item .type-info h4 {
        font-size: 0.78rem;
    }
}

/* ── Item Listing Category (dropdown-hierarchy): label ABOVE the select box ── */
/* The child theme template (templates/explore/filters/dropdown-hierarchy.php)
   removes 'md-group' from the container class, so the parent theme's
   :not(.md-group) rules give us: position:relative + padding-top:11px on the
   container, and position:absolute + top:0 on the label — label is ALWAYS above.
   These rules below add border/style to match ITEM CONDITION. */

/* Container: ensure correct padding and border-box */
body .cts-explore .cts-term-hierarchy.form-group:not(.md-group) {
    padding-top: 14px !important;
    margin-bottom: 10px !important;
}

/* Reduce base form-group gap in the explore sidebar (overrides parent's 20px) */
body .cts-explore .finder-search .form-group,
body .cts-explore .search-filters .form-group {
    margin-bottom: 10px !important;
}

/* Label: always above — reinforce the parent theme's :not(.md-group) rule */
body .cts-explore .cts-term-hierarchy.form-group:not(.md-group) > label {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    pointer-events: none !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1.4 !important;
    transform: none !important;
    transition: none !important;
}

/* .select-wrapper: full width */
body .cts-term-hierarchy .select-wrapper {
    display: block !important;
    width: 100% !important;
}

/* Select2 box: bordered + rounded to match ITEM CONDITION */
body .cts-term-hierarchy .select2-container {
    width: 100% !important;
}

body .cts-term-hierarchy .select2-container--default .select2-selection--single {
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    min-height: 0 !important;
    height: auto !important;
    position: relative !important;
}

body .cts-term-hierarchy .select2-container--default .select2-selection--single .select2-selection__rendered {
    padding: 8px 28px 8px 12px !important;
    line-height: 1.3 !important;
    font-size: 0.85rem !important;
    color: #334155 !important;
}

body .cts-term-hierarchy .select2-container--default .select2-selection--single .select2-selection__placeholder {
    color: #94a3b8 !important;
}

body .cts-term-hierarchy .select2-container--default.select2-container--open .select2-selection--single,
body .cts-term-hierarchy .select2-container--default.select2-container--focus .select2-selection--single {
    border-color: var(--mfl-primary, #0e7490) !important;
    box-shadow: 0 0 0 3px rgba(14,116,144,0.1) !important;
}

/* ── Hide solid black Select2 default arrow on ALL sidebar dropdowns ── */
body .search-filters .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none !important;
}

/* ── CSS chevron on hierarchy filter — via ::after on the selection box ── */
body .cts-term-hierarchy .select2-container--default .select2-selection--single::after {
    content: "" !important;
    position: absolute !important;
    right: 12px !important;
    top: 50% !important;
    width: 6px !important;
    height: 6px !important;
    border-right: 2px solid #94a3b8 !important;
    border-bottom: 2px solid #94a3b8 !important;
    transform: translateY(-60%) rotate(45deg) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

/* ── CSS chevron on regular dropdown filters (ITEM CONDITION, etc.) ── */
body .search-filters .form-group.dropdown-filter.md-group {
    position: relative !important;
}

body .search-filters .form-group.dropdown-filter.md-group::after {
    content: "" !important;
    position: absolute !important;
    right: 14px !important;
    bottom: 16px !important;
    width: 7px !important;
    height: 7px !important;
    border-right: 2px solid #94a3b8 !important;
    border-bottom: 2px solid #94a3b8 !important;
    transform: rotate(45deg) !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

/* ── Location Filter: icon INSIDE the bordered input, vertically centered ── */
body .location-filter.md-group {
    position: relative !important;
}

body .location-filter.md-group > input[type="text"] {
    padding-right: 36px !important;
    border: 1px solid #e5e7eb !important;
    border-radius: 10px !important;
    background: #ffffff !important;
    padding-top: 8px !important;
    padding-bottom: 8px !important;
}

/* Use top: 50% + translateY for reliable vertical centering
   regardless of container height. Also add visibility + z-index
   guards since the icon went invisible in screenshot 2. */
body .location-filter.md-group > i.geocode-location,
body .location-filter.md-group > .geocode-location {
    display: inline-block !important;
    visibility: visible !important;
    position: absolute !important;
    right: 10px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    bottom: auto !important;
    left: auto !important;
    font-size: 18px !important;
    line-height: 1 !important;
    color: var(--mfl-primary, #0e7490) !important;
    cursor: pointer !important;
    z-index: 5 !important;
    pointer-events: all !important;
    width: auto !important;
    opacity: 1 !important;
}

body .location-filter.md-group > .geocode-location:hover {
    opacity: 0.7 !important;
    transform: translateY(-50%) !important;
}

/* ── More space between location filter and search button ── */
body .search-filters .location-filter.md-group,
body .search-filters .proximity-filter,
body .search-filters .proximity-slider {
    margin-bottom: 1.25rem !important;
}

/* ── Explore container: full viewport — prevent footer cutoff ── */
/* regular.php: .cts-explore IS .finder-container (same element)        */
/* Vue.js containerStyles() always inlines top:0, overriding the theme's */
/* top:89px. We only need to enforce the correct height.                  */
.cts-explore.finder-container {
    height: calc(100vh - 70px) !important;
}

/* ── Explore scroll panels: enable mouse-wheel scroll (desktop only) ── */
/* finder-listings gets overflow-y:scroll only in an IE11-specific       */
/* @media (-ms-high-contrast) block — modern Chrome/Firefox ignore it.  */
/* Desktop: force overflow-y:scroll so the results/filter panels scroll. */
/* Mobile: leave default so the page scrolls normally.                   */
@media (min-width: 1024px) {
    .cts-explore.finder-container .finder-search {
        overflow-y: scroll !important;
    }

    .cts-explore.finder-container .finder-listings {
        overflow-y: scroll !important;
        height: calc(100% - 61px) !important;
    }

    .cts-explore.finder-container .finder-map {
        height: calc(100% - 61px) !important;
    }
}

/* ── END EXPLORE PAGE ── */

/* ── AUTH PAGE: social login separator ── */
.mfl-social-separator {
    text-align: center;
    color: #4b5563;
    font-size: 0.78rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin: 20px 0 10px;
    position: relative;
}

/* "Connect with" label above Google button */
p.connect-with {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    color: #4b5563 !important;
    text-align: center !important;
    margin: 16px 0 8px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
}

/* Google button container — pill shape + teal ring + shadow */
.cts-social-login-wrapper .cts-google-signin {
    border-radius: 9999px !important;
    overflow: hidden;
    border: 2px solid #0e7490;
    box-shadow: 0 2px 12px rgba(14, 116, 144, 0.25);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.cts-social-login-wrapper .cts-google-signin:hover {
    box-shadow: 0 4px 18px rgba(14, 116, 144, 0.4);
    transform: translateY(-1px);
}
/* Auth page: stop vertical centering so tab position is stable when form height changes */
.sign-in-wrapper .login-container {
    align-items: flex-start !important;
    padding-top: 70px !important;
}
/* ── END AUTH PAGE ── */

/* ============================================================
   POPULAR LISTINGS CAROUSEL (updated in v2.35.12)
   ============================================================
   Layout:
     .mfl-popular__carousel  — positioned wrapper, side padding holds arrows
       ├── .mfl-carousel-prev   — in left padding zone, no card overlap
       ├── .mfl-popular__track-wrap  — overflow:hidden clips slides
       │     └── .mfl-popular__track  — flex row, transform applied here
       ├── .mfl-carousel-next   — in right padding zone
       └── .mfl-carousel-dots
   ============================================================ */
.mfl-popular__carousel {
    position: relative;
    padding: 0 56px 2.5rem; /* 56px sides = 44px arrow + 12px buffer; bottom for dots */
}
.mfl-popular__track-wrap {
    overflow: hidden; /* clipping lives here, NOT on the outer carousel */
}
.mfl-popular__track {
    display: flex;
    gap: 1.5rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Arrows live in the padding zone — not overlapping any card */
.mfl-popular__carousel .mfl-carousel-prev { left: 4px; }
.mfl-popular__carousel .mfl-carousel-next { right: 4px; }

/* Desktop card widths (gap = 1.5rem)
   Formula: (100% - (N-1) × 1.5rem) / N */
.mfl-popular__carousel--desktop-2 .mfl-popular__card { flex: 0 0 calc(50% - 0.75rem); min-width: 0; }
.mfl-popular__carousel--desktop-3 .mfl-popular__card { flex: 0 0 calc(33.333% - 1rem);  min-width: 0; }
.mfl-popular__carousel--desktop-4 .mfl-popular__card { flex: 0 0 calc(25% - 1.125rem); min-width: 0; }

/* Tablet overrides ≤1024px */
@media (max-width: 1024px) {
    .mfl-popular__carousel--tablet-1 .mfl-popular__card { flex: 0 0 100%; }
    .mfl-popular__carousel--tablet-2 .mfl-popular__card { flex: 0 0 calc(50% - 0.75rem); }
    .mfl-popular__carousel--tablet-3 .mfl-popular__card { flex: 0 0 calc(33.333% - 1rem); }
}

/* Mobile overrides ≤768px */
@media (max-width: 768px) {
    /* Remove side padding so cards are truly full-width; arrows overlay card edges */
    .mfl-popular__carousel { padding: 0 0 2.5rem !important; }
    .mfl-popular__carousel .mfl-carousel-prev { left: 8px !important; }
    .mfl-popular__carousel .mfl-carousel-next { right: 8px !important; }
    .mfl-popular__carousel--mobile-1 .mfl-popular__card { flex: 0 0 100% !important; }
    .mfl-popular__carousel--mobile-2 .mfl-popular__card { flex: 0 0 calc(50% - 0.75rem) !important; }
    /* Shorter image on mobile for a more compact card */
    .mfl-popular__card-image { height: 155px !important; }
}

/* Grid-desktop mode: ≥1025px — wrap like a grid, no arrows needed */
@media (min-width: 1025px) {
    .mfl-popular__carousel--grid-desktop {
        padding: 0 0 2.5rem; /* remove side padding — no arrows */
    }
    .mfl-popular__carousel--grid-desktop .mfl-popular__track-wrap {
        overflow: visible;
    }
    .mfl-popular__carousel--grid-desktop .mfl-popular__track {
        flex-wrap: wrap;
        transform: none !important;
        transition: none;
    }
    .mfl-popular__carousel--grid-desktop .mfl-carousel-prev,
    .mfl-popular__carousel--grid-desktop .mfl-carousel-next,
    .mfl-popular__carousel--grid-desktop .mfl-carousel-dots { display: none !important; }
    .mfl-popular__carousel--grid-desktop.mfl-popular__carousel--desktop-2 .mfl-popular__card { flex: 0 0 calc(50% - 0.75rem); }
    .mfl-popular__carousel--grid-desktop.mfl-popular__carousel--desktop-3 .mfl-popular__card { flex: 0 0 calc(33.333% - 1rem); }
    .mfl-popular__carousel--grid-desktop.mfl-popular__carousel--desktop-4 .mfl-popular__card { flex: 0 0 calc(25% - 1.125rem); }
}

/* ============================================================
   BLOG V2 CAROUSEL (updated in v2.35.12)
   ============================================================ */
.mfl-blog-v2__carousel {
    position: relative;
    padding: 0 56px 2.5rem;
}
.mfl-blog-v2__track-wrap {
    overflow: hidden;
}
.mfl-blog-v2__track {
    display: flex;
    gap: 2rem;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.mfl-blog-v2__carousel .mfl-carousel-prev { left: 4px; }
.mfl-blog-v2__carousel .mfl-carousel-next { right: 4px; }

/* Desktop card widths (gap = 2rem)
   Formula: (100% - (N-1) × 2rem) / N */
.mfl-blog-v2__carousel--desktop-2 .mfl-blog-v2__card { flex: 0 0 calc(50% - 1rem);         min-width: 0; }
.mfl-blog-v2__carousel--desktop-3 .mfl-blog-v2__card { flex: 0 0 calc(33.333% - 1.333rem); min-width: 0; }
.mfl-blog-v2__carousel--desktop-4 .mfl-blog-v2__card { flex: 0 0 calc(25% - 1.5rem);       min-width: 0; }

/* Tablet overrides ≤1024px */
@media (max-width: 1024px) {
    .mfl-blog-v2__carousel--tablet-1 .mfl-blog-v2__card { flex: 0 0 100%; }
    .mfl-blog-v2__carousel--tablet-2 .mfl-blog-v2__card { flex: 0 0 calc(50% - 1rem); }
    .mfl-blog-v2__carousel--tablet-3 .mfl-blog-v2__card { flex: 0 0 calc(33.333% - 1.333rem); }
}

/* Mobile overrides ≤768px */
@media (max-width: 768px) {
    /* Remove side padding so cards are truly full-width; arrows overlay card edges */
    .mfl-blog-v2__carousel { padding: 0 0 2.5rem !important; }
    .mfl-blog-v2__carousel .mfl-carousel-prev { left: 8px !important; }
    .mfl-blog-v2__carousel .mfl-carousel-next { right: 8px !important; }
    .mfl-blog-v2__carousel--mobile-1 .mfl-blog-v2__card { flex: 0 0 100% !important; }
    .mfl-blog-v2__carousel--mobile-2 .mfl-blog-v2__card { flex: 0 0 calc(50% - 1rem) !important; }
}

/* Grid-desktop mode */
@media (min-width: 1025px) {
    .mfl-blog-v2__carousel--grid-desktop {
        padding: 0 0 2.5rem;
    }
    .mfl-blog-v2__carousel--grid-desktop .mfl-blog-v2__track-wrap {
        overflow: visible;
    }
    .mfl-blog-v2__carousel--grid-desktop .mfl-blog-v2__track {
        flex-wrap: wrap;
        transform: none !important;
        transition: none;
    }
    .mfl-blog-v2__carousel--grid-desktop .mfl-carousel-prev,
    .mfl-blog-v2__carousel--grid-desktop .mfl-carousel-next,
    .mfl-blog-v2__carousel--grid-desktop .mfl-carousel-dots { display: none !important; }
    .mfl-blog-v2__carousel--grid-desktop.mfl-blog-v2__carousel--desktop-2 .mfl-blog-v2__card { flex: 0 0 calc(50% - 1rem); }
    .mfl-blog-v2__carousel--grid-desktop.mfl-blog-v2__carousel--desktop-3 .mfl-blog-v2__card { flex: 0 0 calc(33.333% - 1.333rem); }
    .mfl-blog-v2__carousel--grid-desktop.mfl-blog-v2__carousel--desktop-4 .mfl-blog-v2__card { flex: 0 0 calc(25% - 1.5rem); }
}
/* ── END CAROUSEL ADDITIONS ── */
