/* ========================================
   FRANCESCA COLLE OSTEOPATA - Modern CSS
   ======================================== */

:root {
    --fc-primary: #3CB4E6;
    --fc-primary-light: #5cc8f0;
    --fc-accent: #c4956a;
    --fc-dark: #1a1a2e;
    --fc-gray: #4a4a5a;
    --fc-light: #f8f9fa;
    --fc-white: #ffffff;
    --fc-border: #e8e8e8;
    --fc-shadow: 0 4px 20px rgba(0,0,0,0.08);
    --fc-shadow-hover: 0 8px 30px rgba(0,0,0,0.12);
    --fc-radius: 12px;
    --fc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Typography --- */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif !important;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-size: 16px !important;
    line-height: 1.7 !important;
    color: var(--fc-gray) !important;
}

/* Headings - Inter everywhere for consistency */
.entry-content-wrapper h1,
.entry-content-wrapper h2,
.entry-content-wrapper h3,
.entry-content-wrapper h4,
.av-special-heading .av-special-heading-tag,
.avia-builder-el-1 h1, .avia-builder-el-1 h2, .avia-builder-el-1 h3,
h1, h2, h3, h4 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    color: var(--fc-dark) !important;
    font-weight: 700 !important;
    letter-spacing: -0.02em;
    line-height: 1.3 !important;
}

.entry-content-wrapper p,
.av_textblock_section p {
    font-family: 'Inter', sans-serif !important;
    line-height: 1.75 !important;
    color: var(--fc-gray) !important;
}

/* --- Header: logo left, menu right --- */
#header {
    background: var(--fc-white) !important;
    box-shadow: 0 2px 15px rgba(0,0,0,0.06) !important;
    border-bottom: none !important;
}

/* Desktop: override Enfold's 50px → 80px, flex-center everything */
@media only screen and (min-width: 990px) {

    /* Main header bar height */
    #top #header_main > .container,
    #top #header_main .av-logo-container,
    .html_top_nav_header .av-logo-container {
        height: 80px !important;
        line-height: 80px !important;
    }

    /* Inner container: flex row, vertically centered */
    #top #header_main .inner-container {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 80px !important;
        padding: 0 !important;
    }

    /* Logo wrapper — flex centered, no extra height/padding */
    #top #header_main .logo,
    #top #header_main .avia-standard-logo {
        display: flex !important;
        align-items: center !important;
        height: auto !important;
        line-height: normal !important;
        flex-shrink: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* Logo image — constrained size */
    #top .logo img,
    #top .avia-standard-logo img {
        max-height: 42px !important;
        width: auto !important;
        height: auto !important;
        max-width: 240px !important;
        display: block !important;
    }

    /* Nav wrapper — flex centered */
    #top #header_main .main_menu {
        display: flex !important;
        align-items: center !important;
        height: 80px !important;
        margin-left: auto !important;
    }

    /* Nav UL */
    #top #header_main .main_menu .av-main-nav {
        display: flex !important;
        align-items: center !important;
        height: 80px !important;
    }

    /* Menu links — same height, vertically centered */
    #top #header_main > .container .main_menu .av-main-nav > li > a {
        height: 80px !important;
        line-height: 80px !important;
        padding: 0 14px !important;
    }

    /* Menu text styling */
    .main_menu .av-main-nav > li > a .avia-menu-text {
        font-family: 'Inter', sans-serif !important;
        font-weight: 500 !important;
        font-size: 12px !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
        color: var(--fc-dark) !important;
    }

    /* Prenota Ora CTA — separator + compact button */
    #top #header_main .av-main-nav > li.fc-menu-cta {
        margin-left: 10px !important;
        padding-left: 14px !important;
        border-left: 1px solid var(--fc-border) !important;
        display: flex !important;
        align-items: center !important;
        height: 80px !important;
    }

    #top #wrap_all #header_main .av-main-nav > li.fc-menu-cta > a {
        all: unset !important;
        cursor: pointer !important;
        display: inline-block !important;
        padding: 8px 20px !important;
        background: #3CB4E6 !important;
        color: #fff !important;
        border-radius: 50px !important;
        font-family: 'Inter', sans-serif !important;
        font-weight: 600 !important;
        font-size: 11px !important;
        letter-spacing: 0.06em !important;
        text-transform: uppercase !important;
        text-decoration: none !important;
        line-height: 1.2 !important;
        white-space: nowrap !important;
        transition: all 0.3s ease !important;
        box-shadow: 0 2px 10px rgba(60, 180, 230, 0.3) !important;
    }

    #top #wrap_all #header_main .av-main-nav > li.fc-menu-cta > a:hover {
        background: var(--fc-primary-light) !important;
    }

    #top #header_main .av-main-nav > li.fc-menu-cta .avia-menu-fx,
    #top #header_main .av-main-nav > li.fc-menu-cta .avia-bullet,
    #top #header_main .av-main-nav > li.fc-menu-cta .avia-arrow-wrap {
        display: none !important;
    }

    .main_menu .av-main-nav > li > a:hover .avia-menu-text,
    .main_menu .av-main-nav > .current-menu-item > a .avia-menu-text {
        color: var(--fc-primary) !important;
    }

    /* Hide search & social icons */
    #menu-item-search,
    #header_main .social_bookmarks {
        display: none !important;
    }

    /* Dropdown */
    .main_menu .av-main-nav .sub-menu {
        background: var(--fc-white) !important;
        border-radius: 12px !important;
        box-shadow: 0 8px 30px rgba(0,0,0,0.12) !important;
        border: 1px solid var(--fc-border) !important;
        padding: 8px !important;
        min-width: 260px !important;
    }

    .main_menu .av-main-nav .sub-menu li a {
        padding: 10px 16px !important;
        height: auto !important;
        line-height: 1.4 !important;
        border-radius: 8px !important;
    }

    .main_menu .av-main-nav .sub-menu li a:hover {
        background: rgba(60, 180, 230, 0.06) !important;
    }

    .main_menu .av-main-nav .sub-menu li a .avia-menu-text {
        font-size: 13px !important;
        text-transform: none !important;
        font-weight: 500 !important;
        letter-spacing: 0 !important;
    }

    .main_menu .av-main-nav .sub-menu li a:hover .avia-menu-text {
        color: var(--fc-primary) !important;
    }
}

/* ========================================
   MOBILE — Apple Liquid Glass Style
   ======================================== */
@media only screen and (max-width: 989px) {

    /* --- Global mobile background --- */
    body, #wrap_all {
        background: #f2f2f7 !important;
    }

    /* --- Mobile Header: frosted glass bar --- */
    #header {
        background: rgba(255, 255, 255, 0.72) !important;
        backdrop-filter: saturate(180%) blur(20px) !important;
        -webkit-backdrop-filter: saturate(180%) blur(20px) !important;
        box-shadow: none !important;
        border-bottom: 0.5px solid rgba(0, 0, 0, 0.12) !important;
    }

    #top #header_main > .container,
    #top #header_main > .container .main_menu .av-main-nav > li > a {
        height: 52px !important;
        line-height: 52px !important;
    }

    .html_top_nav_header .av-logo-container,
    #header_main .container.av-logo-container {
        height: 52px !important;
    }

    #top #header_main .inner-container {
        display: flex !important;
        align-items: center !important;
        height: 52px !important;
    }

    .logo img, .avia-standard-logo img {
        max-height: 34px !important;
        width: auto !important;
    }

    .av-burger-menu-main a {
        height: 52px !important;
        line-height: 52px !important;
    }

    .av-hamburger-inner,
    .av-hamburger-inner::before,
    .av-hamburger-inner::after {
        height: 1.5px !important;
        border-radius: 1px !important;
        background: var(--fc-dark) !important;
        width: 20px !important;
    }

    /* --- Custom Mobile Menu — fixed bottom bar --- */
    /* Hide Enfold's broken overlay + burger button */
    #top .av-burger-overlay {
        display: none !important;
    }
    .av-burger-menu-main {
        display: none !important;
    }

    .fc-mobile-menu {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 999999;
        background: rgba(255, 255, 255, 0.92);
        backdrop-filter: saturate(180%) blur(30px);
        -webkit-backdrop-filter: saturate(180%) blur(30px);
        border-top: 0.5px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.06);
        /* Always visible — remove toggle animation */
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: auto !important;
        padding-bottom: env(safe-area-inset-bottom);
    }

    .fc-mobile-nav {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        padding: 6px 4px 4px;
        gap: 0;
    }

    .fc-mobile-nav a {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        font-family: 'Inter', -apple-system, sans-serif;
        font-size: 9px;
        font-weight: 500;
        letter-spacing: 0.01em;
        color: var(--fc-gray);
        text-decoration: none;
        padding: 4px 2px;
        border-radius: 8px;
        transition: color 0.15s ease;
        flex: 1;
        min-width: 0;
    }

    .fc-mobile-nav a:active,
    .fc-mobile-nav a.fc-tab-active {
        color: var(--fc-primary);
    }

    .fc-mobile-nav .fc-tab-icon {
        width: 22px;
        height: 22px;
        margin-bottom: 2px;
    }

    /* Hide elements not needed in tab bar */
    .fc-mobile-group-label,
    .fc-mobile-sub {
        display: none !important;
    }

    .fc-mobile-nav .fc-mobile-cta {
        color: var(--fc-primary);
        background: none;
        font-weight: 600;
        box-shadow: none;
        margin-top: 0;
        font-size: 9px;
    }

    /* Servizi popup above tab bar */
    .fc-tab-popup {
        position: absolute;
        bottom: 100%;
        left: 50%;
        transform: translateX(-50%);
        width: calc(100vw - 32px);
        max-width: 320px;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: saturate(180%) blur(30px);
        -webkit-backdrop-filter: saturate(180%) blur(30px);
        border-radius: 16px;
        border: 0.5px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.12);
        padding: 8px;
        margin-bottom: 8px;
        display: none;
        flex-direction: column;
        gap: 2px;
    }

    .fc-tab-popup--open {
        display: flex;
    }

    .fc-tab-popup a {
        display: block;
        font-family: 'Inter', -apple-system, sans-serif;
        font-size: 15px;
        font-weight: 500;
        color: var(--fc-dark);
        text-decoration: none;
        padding: 12px 16px;
        border-radius: 10px;
        transition: background 0.15s ease;
    }

    .fc-tab-popup a:active {
        background: rgba(0, 0, 0, 0.05);
    }

    /* Position popup relative to nav */
    .fc-mobile-nav {
        position: relative;
    }

    /* Add bottom padding to body so content isn't behind tab bar */
    body {
        padding-bottom: 64px !important;
    }

    /* Move WhatsApp button above the tab bar */
    .joinchat {
        bottom: 70px !important;
    }
    #scroll-top-link {
        bottom: 70px !important;
    }

    /* ========================
       HERO — mobile overrides (important to beat desktop defaults below)
       ======================== */
    .fc-hero {
        height: 85vh !important;
        min-height: 480px !important;
        max-height: 640px !important;
    }

    .fc-hero-overlay {
        background: linear-gradient(
            180deg,
            rgba(10, 22, 40, 0.3) 0%,
            rgba(10, 22, 40, 0.1) 35%,
            rgba(10, 22, 40, 0.75) 100%
        ) !important;
    }

    .fc-hero-content {
        padding: 0 24px 40px !important;
        text-align: center !important;
        max-width: none !important;
    }

    .fc-hero-subtitle {
        font-size: 12px !important;
        letter-spacing: 0.12em !important;
    }

    .fc-hero-title {
        font-size: 28px !important;
        line-height: 1.2 !important;
    }

    .fc-hero-desc {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 24px !important;
        max-width: 320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    .fc-hero-dots {
        justify-content: center !important;
    }

    .fc-hero-btns {
        flex-direction: column !important;
        gap: 10px !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }

    .fc-hero-btn {
        display: block !important;
        width: 100% !important;
        border-radius: 14px !important;
        padding: 16px 24px !important;
        font-size: 16px !important;
    }

    .fc-hero-btn.primary {
        box-shadow: 0 4px 16px rgba(60, 180, 230, 0.35) !important;
    }

    /* ========================
       CONTENT SECTIONS
       ======================== */

    /* Soft iOS-like background for all sections */
    .avia-section {
        padding: 28px 0 !important;
        background-color: #f2f2f7 !important;
    }

    /* Override any dark/colored section backgrounds to glass */
    .avia-section.main_color {
        background: #f2f2f7 !important;
    }

    /* Content containers — add padding */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* Force all Enfold columns to full width */
    .av_one_fourth,
    .av_two_third,
    .av_four_fifth,
    .av_one_fifth,
    .av_one_third,
    .av_one_half {
        width: 100% !important;
        margin-left: 0 !important;
        padding: 0 !important;
    }

    .flex_column_table {
        display: flex !important;
        flex-direction: column !important;
    }

    .flex_column_table_cell {
        width: 100% !important;
        display: block !important;
    }

    .av-equal-height-column-flextable,
    .av-equal-height-column {
        min-height: 0 !important;
    }

    /* ========================
       GLASS CARD for text blocks
       ======================== */
    .av_textblock_section {
        background: rgba(255, 255, 255, 0.72) !important;
        backdrop-filter: blur(20px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
        border-radius: 16px !important;
        border: 0.5px solid rgba(255, 255, 255, 0.7) !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04),
                    0 8px 24px rgba(0, 0, 0, 0.04),
                    inset 0 0.5px 0 rgba(255, 255, 255, 0.9) !important;
        padding: 20px !important;
        margin-bottom: 12px !important;
    }

    /* Section headings inside glass cards */
    .avia_textblock h2 {
        font-family: 'Inter', -apple-system, sans-serif !important;
        font-size: 1.3rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.02em !important;
        color: var(--fc-dark) !important;
        margin-bottom: 8px !important;
        line-height: 1.3 !important;
    }

    .avia_textblock h3 {
        font-family: 'Inter', -apple-system, sans-serif !important;
        font-size: 1.05rem !important;
        font-weight: 600 !important;
        color: var(--fc-dark) !important;
        margin-bottom: 6px !important;
    }

    .avia_textblock p {
        font-size: 15px !important;
        line-height: 1.55 !important;
        color: var(--fc-gray) !important;
        letter-spacing: -0.01em !important;
    }

    .avia_textblock ul,
    .avia_textblock ol {
        padding-left: 18px !important;
        font-size: 15px !important;
    }

    .avia_textblock li {
        margin-bottom: 6px !important;
        line-height: 1.45 !important;
        color: var(--fc-gray) !important;
    }

    /* "L'osteopatia è per tutti" special heading */
    .hptitle1, #title1 {
        font-family: 'Inter', -apple-system, sans-serif !important;
        font-size: 1.3rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.02em !important;
        line-height: 1.3 !important;
    }

    /* ========================
       IMAGES
       ======================== */
    .avia-image-container {
        margin-bottom: 12px !important;
    }

    .avia-image-container img,
    .av-image-caption-overlay img {
        width: 100% !important;
        height: auto !important;
        border-radius: 16px !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
    }

    /* ========================
       ICON BOXES / CARDS
       ======================== */
    .av-icon-box-top .iconbox_content_container,
    .avia-icon-box {
        background: rgba(255, 255, 255, 0.72) !important;
        backdrop-filter: blur(20px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
        border-radius: 16px !important;
        border: 0.5px solid rgba(255, 255, 255, 0.7) !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04),
                    0 8px 24px rgba(0, 0, 0, 0.04),
                    inset 0 0.5px 0 rgba(255, 255, 255, 0.9) !important;
        padding: 20px !important;
        margin-bottom: 12px !important;
    }

    /* ========================
       BUTTONS
       ======================== */
    .avia-button,
    a.avia-button {
        border-radius: 14px !important;
        padding: 14px 28px !important;
        font-family: 'Inter', -apple-system, sans-serif !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        letter-spacing: -0.01em !important;
        text-transform: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
    }

    /* ========================
       HR / DIVIDERS
       ======================== */
    .hr-default .hr-inner,
    .hr-invisible {
        border-color: transparent !important;
        margin: 4px 0 !important;
    }

    /* ========================
       GOOGLE MAPS
       ======================== */
    .av_gmaps_wrap iframe,
    .widget .textwidget iframe {
        border-radius: 16px !important;
        box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06) !important;
        width: 100% !important;
        height: 180px !important;
    }

    /* ========================
       FOOTER
       ======================== */
    #footer {
        background: var(--fc-dark) !important;
        padding: 28px 0 !important;
    }

    #footer .flex_column {
        width: 100% !important;
        padding: 0 !important;
        margin-bottom: 20px !important;
    }

    #footer .widget {
        background: rgba(255, 255, 255, 0.06) !important;
        border-radius: 16px !important;
        padding: 16px !important;
        margin-bottom: 12px !important;
        border: 0.5px solid rgba(255, 255, 255, 0.08) !important;
    }

    #footer .widgettitle {
        font-family: 'Inter', -apple-system, sans-serif !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #fff !important;
        margin-bottom: 10px !important;
    }

    #footer .widget p,
    #footer .widget a,
    #footer .textwidget {
        font-size: 14px !important;
        line-height: 1.5 !important;
        color: rgba(255, 255, 255, 0.7) !important;
    }

    #footer .widget a {
        color: rgba(255, 255, 255, 0.9) !important;
    }

    .socket_color {
        background: rgba(20, 20, 37, 0.95) !important;
        border-top: 0.5px solid rgba(255, 255, 255, 0.08) !important;
        padding: 12px 0 !important;
        font-size: 12px !important;
    }

    /* ========================
       REVIEWS — glass cards
       ======================== */
    .fc-reviews-section {
        background: #f2f2f7 !important;
        border-top: none !important;
        padding: 28px 0 24px !important;
    }

    .fc-review-card {
        background: rgba(255, 255, 255, 0.72) !important;
        backdrop-filter: blur(20px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(150%) !important;
        border-radius: 16px !important;
        border: 0.5px solid rgba(255, 255, 255, 0.7) !important;
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04),
                    0 8px 24px rgba(0, 0, 0, 0.04),
                    inset 0 0.5px 0 rgba(255, 255, 255, 0.9) !important;
    }

    .fc-reviews-badge {
        background: rgba(255, 255, 255, 0.72) !important;
        backdrop-filter: blur(12px) !important;
        -webkit-backdrop-filter: blur(12px) !important;
        border: 0.5px solid rgba(255, 255, 255, 0.7) !important;
        border-radius: 50px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04) !important;
    }

    .fc-reviews-cta {
        border-radius: 14px !important;
        font-size: 15px !important;
        padding: 14px 32px !important;
    }

    .fc-reviews-title {
        font-family: 'Inter', -apple-system, sans-serif !important;
        font-size: 1.3rem !important;
        font-weight: 700 !important;
        letter-spacing: -0.02em !important;
    }

    /* Original Enfold tab section hidden via JS — no CSS needed */

    /* av_section_1 original content is hidden by JS — no CSS needed */

    /* Original Enfold tab section hidden via JS — no CSS needed */

    /* Original Enfold tab section hidden via JS */
}

/* ========================
   FLOATING BUTTONS — no overlap (global)
   ======================== */
/* WhatsApp: bottom-right, smaller */
.joinchat {
    --s: 50px !important;
}
.joinchat__button {
    width: 50px !important;
    height: 50px !important;
}
.joinchat__button__open svg {
    width: 26px !important;
    height: 26px !important;
}

/* Scroll-to-top: bottom-left */
#scroll-top-link {
    right: auto !important;
    left: 16px !important;
    bottom: 16px !important;
    width: 40px !important;
    height: 40px !important;
    line-height: 40px !important;
    font-size: 14px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(12px) !important;
    -webkit-backdrop-filter: blur(12px) !important;
    color: var(--fc-dark) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1) !important;
    border: 0.5px solid rgba(0, 0, 0, 0.08) !important;
}

/* ========================================
   GDPR COOKIE BANNER
   ======================================== */
.fc-cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999999;
    padding: 16px;
    animation: fc-cookie-slide-up 0.4s ease;
}

@keyframes fc-cookie-slide-up {
    from { transform: translateY(100%); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.fc-cookie-inner {
    max-width: 520px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: saturate(180%) blur(30px);
    -webkit-backdrop-filter: saturate(180%) blur(30px);
    border-radius: 20px;
    border: 0.5px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 0 0 0.5px rgba(0, 0, 0, 0.06);
    padding: 20px;
}

.fc-cookie-text strong {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--fc-primary);
    display: block;
    margin-bottom: 6px;
}

.fc-cookie-text p {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.78rem;
    line-height: 1.5;
    color: var(--fc-gray);
    margin: 0 0 16px;
}

.fc-cookie-actions {
    display: flex;
    gap: 8px;
}

.fc-cookie-btn {
    all: unset;
    cursor: pointer;
    flex: 1;
    text-align: center;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    padding: 12px 16px;
    border-radius: 12px;
    transition: all 0.2s ease;
}

.fc-cookie-btn--accept {
    background: var(--fc-primary);
    color: #fff;
    box-shadow: 0 2px 10px rgba(60, 180, 230, 0.3);
}

.fc-cookie-btn--accept:active {
    background: var(--fc-primary-light);
}

.fc-cookie-btn--reject {
    background: rgba(0, 0, 0, 0.05);
    color: var(--fc-gray);
}

.fc-cookie-btn--reject:active {
    background: rgba(0, 0, 0, 0.1);
}

/* ========================================
   INNER PAGES — modern layout
   ======================================== */
.fc-page {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px 40px;
}

.fc-page-hero {
    text-align: center;
    padding: 40px 0 24px;
}

.fc-page-h1 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--fc-dark) !important;
    margin: 0 0 12px;
    line-height: 1.2;
}

.fc-page-hero-sub {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.05rem;
    color: var(--fc-gray);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
}

.fc-page-section {
    margin-bottom: 32px;
}

.fc-page-section h2 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: var(--fc-dark) !important;
    margin: 0 0 12px;
}

.fc-page-section h3 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fc-dark) !important;
    margin: 0 0 6px;
}

.fc-page-section p {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--fc-gray);
    margin: 0 0 12px;
}

.fc-page-section ul {
    padding-left: 0;
    list-style: none;
    margin: 8px 0;
}

.fc-page-section li {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--fc-gray);
    padding: 6px 0 6px 20px;
    position: relative;
}

.fc-page-section li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 13px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--fc-primary);
}

/* Age grid */
.fc-age-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 32px;
}

.fc-age-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 18px;
    border: 0.5px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06), inset 0 0.5px 0 rgba(255,255,255,0.9);
    padding: 24px;
}

.fc-age-badge {
    display: inline-block;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--fc-primary);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.fc-age-card h3 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fc-dark) !important;
    margin: 0 0 8px;
}

.fc-age-card p {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--fc-gray);
    margin: 0 0 10px;
}

.fc-age-card ul { padding-left: 0; list-style: none; margin: 0; }
.fc-age-card li {
    font-size: 0.83rem;
    line-height: 1.5;
    color: var(--fc-gray);
    padding: 4px 0 4px 16px;
    position: relative;
}
.fc-age-card li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 11px;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--fc-primary);
}

/* Steps */
.fc-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.fc-step {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 14px;
    border: 0.5px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
    padding: 16px;
}

.fc-step-num {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    background: var(--fc-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
}

.fc-step h3 { margin: 0 0 4px; font-size: 0.95rem; }
.fc-step p { margin: 0; font-size: 0.85rem; line-height: 1.5; }

/* FAQ */
.fc-faq { display: flex; flex-direction: column; gap: 8px; }

.fc-faq-item {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 14px;
    border: 0.5px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
    overflow: hidden;
}

.fc-faq-item summary {
    cursor: pointer;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--fc-dark);
    padding: 16px 20px;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.fc-faq-item summary::-webkit-details-marker { display: none; }
.fc-faq-item summary::after {
    content: '+';
    font-size: 1.2rem;
    color: var(--fc-primary);
    transition: transform 0.2s ease;
}
.fc-faq-item[open] summary::after {
    content: '-';
}

.fc-faq-item p {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.88rem;
    line-height: 1.65;
    color: var(--fc-gray);
    padding: 0 20px 16px;
    margin: 0;
}

/* CTA */
.fc-page-cta {
    text-align: center;
    background: var(--fc-dark);
    border-radius: 20px;
    padding: 32px 24px;
    margin-top: 40px;
}

.fc-page-cta h2 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    color: #fff !important;
    font-size: 1.4rem;
    margin: 0 0 8px;
}

.fc-page-cta p {
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    margin: 0 0 20px;
}

.fc-page-cta-btns {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.fc-page-btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 14px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s ease;
}

.fc-page-btn--primary {
    background: var(--fc-primary);
    color: #fff !important;
    box-shadow: 0 4px 16px rgba(60,180,230,0.3);
}

.fc-page-btn--secondary {
    background: rgba(255,255,255,0.12);
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.2);
}

/* Single blog post — Apple Newsroom style */

/* Hide Enfold's default post elements */
.single-post .post-entry .blog-meta,
.single-post .post-entry .post-meta-infos,
.single-post .post-entry .blog-tags,
.single-post .post-entry .blog-author,
.single-post .post-entry .comment-count,
.single-post .post-entry .post-categories,
.single-post .av-post-nav,
.single-post .related_posts,
.single-post .sidebar {
    display: none !important;
}
.single-post .content {
    width: 100% !important;
}

/* Article wrapper */
.single-post .entry-content-wrapper {
    max-width: 720px !important;
    margin: 0 auto !important;
    padding: 0 24px 40px !important;
}

/* Title */
.single-post .entry-title {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 2.6rem !important;
    font-weight: 800 !important;
    letter-spacing: -0.035em !important;
    line-height: 1.15 !important;
    color: var(--fc-dark) !important;
    margin: 0 0 20px !important;
    text-align: left !important;
}

/* Date line under title */
.single-post .post-meta-infos .date-container {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.85rem !important;
    color: var(--fc-gray) !important;
}

/* Content typography */
.single-post .entry-content p {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1.1rem !important;
    line-height: 1.85 !important;
    color: #1d1d1f !important;
    margin-bottom: 24px !important;
    letter-spacing: -0.003em;
}

.single-post .entry-content h2 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1.65rem !important;
    font-weight: 700 !important;
    color: var(--fc-dark) !important;
    margin: 48px 0 16px !important;
    letter-spacing: -0.025em;
    line-height: 1.25;
}

.single-post .entry-content h3 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: var(--fc-dark) !important;
    margin: 32px 0 12px !important;
}

.single-post .entry-content ul,
.single-post .entry-content ol {
    padding-left: 24px !important;
    margin-bottom: 24px !important;
}

.single-post .entry-content li {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1.05rem !important;
    line-height: 1.8 !important;
    color: #1d1d1f !important;
    margin-bottom: 8px !important;
}

.single-post .entry-content strong {
    color: var(--fc-dark) !important;
    font-weight: 600;
}

/* Images — full bleed within column */
.single-post .entry-content img {
    width: 100% !important;
    height: auto !important;
    border-radius: 12px !important;
    margin: 8px 0 32px !important;
}

/* Links */
.single-post .entry-content a:not(.fc-blog-post-cta-btn) {
    color: #06c !important;
    text-decoration: none !important;
}
.single-post .entry-content a:not(.fc-blog-post-cta-btn):hover {
    text-decoration: underline !important;
}

/* HR / source separator */
.single-post .entry-content hr {
    border: none !important;
    border-top: 1px solid #d2d2d7 !important;
    margin: 40px 0 24px !important;
}

/* Source attribution at bottom */
.single-post .entry-content > p:last-of-type em {
    font-size: 0.88rem !important;
    color: #86868b !important;
}

/* Background */
.single-post #main,
.single-post .container_wrap {
    background: #fff !important;
}

@media only screen and (max-width: 989px) {
    .single-post .entry-title {
        font-size: 1.75rem !important;
    }
    .single-post .entry-content p {
        font-size: 1rem !important;
        line-height: 1.75 !important;
    }
    .single-post .entry-content h2 {
        font-size: 1.35rem !important;
        margin: 36px 0 12px !important;
    }
    .single-post .entry-content-wrapper {
        padding: 0 16px 32px !important;
    }
}

/* Article header elements */
.fc-article-back {
    display: inline-block;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.88rem;
    font-weight: 500;
    color: #06c !important;
    text-decoration: none !important;
    margin-bottom: 20px;
}
.fc-article-back:hover {
    text-decoration: underline !important;
}

.fc-article-date {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.88rem;
    color: #86868b;
    margin-bottom: 32px;
}

/* Blog post CTA */
.fc-blog-post-cta {
    background: var(--fc-dark, #1a1a2e);
    border-radius: 20px;
    padding: 32px 24px;
    text-align: center;
    margin: 32px 0;
}

.fc-blog-post-cta h3,
.single-post .fc-blog-post-cta h3,
.single-post .entry-content .fc-blog-post-cta h3 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 8px !important;
}

.fc-blog-post-cta p,
.single-post .fc-blog-post-cta p,
.single-post .entry-content .fc-blog-post-cta p {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.9rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 0 16px !important;
}

/* Force white text on CTA button — nuclear specificity */
.fc-blog-post-cta .fc-blog-post-cta-btn,
.fc-blog-post-cta a,
.fc-blog-post-cta a:link,
.fc-blog-post-cta a:visited,
.fc-blog-post-cta a:active,
.single-post .fc-blog-post-cta a,
.single-post .entry-content .fc-blog-post-cta a,
.single-post .entry-content .fc-blog-post-cta a:link,
.single-post .entry-content .fc-blog-post-cta a:visited,
.entry-content-wrapper .fc-blog-post-cta a,
a.fc-blog-post-cta-btn {
    display: inline-block !important;
    padding: 12px 28px !important;
    background: #3CB4E6 !important;
    color: #fff !important;
    border-radius: 14px !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-weight: 600 !important;
    font-size: 0.9rem !important;
    text-decoration: none !important;
    box-shadow: 0 4px 16px rgba(60, 180, 230, 0.3) !important;
}

.fc-blog-post-cta a:hover,
.single-post .entry-content .fc-blog-post-cta a:hover {
    background: #5cc8f0 !important;
    color: #fff !important;
    text-decoration: none !important;
}

/* Blog card grid — Apple Newsroom style */
.fc-blog-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    max-width: 900px;
    margin: 0 auto;
}

.fc-blog-card {
    position: relative;
    display: flex;
    text-decoration: none !important;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-color: var(--fc-dark);
    min-height: 240px;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.fc-blog-card:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

/* Hero card — full width, taller */
.fc-blog-card--hero {
    grid-column: 1 / -1;
    min-height: 360px;
}

.fc-blog-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 50%, rgba(0,0,0,0.05) 100%);
    border-radius: 20px;
}

.fc-blog-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    width: 100%;
}

.fc-blog-card--hero .fc-blog-card-content {
    padding: 36px;
}

.fc-blog-card-date {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.7rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 6px;
}

.fc-blog-card-title {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1.15rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 !important;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.fc-blog-card--hero .fc-blog-card-title {
    font-size: 1.6rem !important;
}

@media only screen and (max-width: 989px) {
    .fc-blog-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    .fc-blog-card {
        min-height: 200px !important;
    }
    .fc-blog-card--hero {
        min-height: 260px !important;
    }
    .fc-blog-card--hero .fc-blog-card-title {
        font-size: 1.3rem !important;
    }
    .fc-blog-card-content {
        padding: 20px !important;
    }
}

/* Booking form */
.fc-form-wrap {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 20px;
    border: 0.5px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06), inset 0 0.5px 0 rgba(255,255,255,0.9);
    padding: 28px;
}

.fc-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    margin-bottom: 14px;
}

.fc-form-field {
    margin-bottom: 14px;
}

.fc-form-row .fc-form-field {
    margin-bottom: 0;
}

.fc-form-field label {
    display: block;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--fc-dark);
    margin-bottom: 6px;
}

.fc-req { color: var(--fc-primary); }

.fc-form-field input,
.fc-form-field select,
.fc-form-field textarea {
    width: 100%;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.9rem;
    color: var(--fc-dark);
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    padding: 12px 14px;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    -webkit-appearance: none;
    box-sizing: border-box;
}

.fc-form-field input:focus,
.fc-form-field select:focus,
.fc-form-field textarea:focus {
    outline: none;
    border-color: var(--fc-primary);
    box-shadow: 0 0 0 3px rgba(60, 180, 230, 0.15);
}

.fc-form-field textarea {
    resize: vertical;
    min-height: 80px;
}

.fc-form-submit {
    all: unset;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: center;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    color: #fff;
    background: var(--fc-primary);
    padding: 14px;
    border-radius: 14px;
    box-shadow: 0 4px 16px rgba(60, 180, 230, 0.3);
    transition: background 0.2s ease, transform 0.2s ease;
    box-sizing: border-box;
    margin-top: 4px;
}

.fc-form-submit:hover { background: var(--fc-primary-light); }
.fc-form-submit:active { transform: scale(0.98); }
.fc-form-submit:disabled { opacity: 0.6; cursor: not-allowed; }

.fc-form-msg {
    text-align: center;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.88rem;
    margin-top: 12px;
    padding: 0 8px;
    min-height: 20px;
}

.fc-form-msg--ok { color: #49B170; font-weight: 600; }
.fc-form-msg--err { color: #E6007E; font-weight: 600; }

@media only screen and (max-width: 989px) {
    .fc-form-wrap { padding: 20px !important; }
    .fc-form-row { grid-template-columns: 1fr !important; }
}

/* Contatti — contact cards + sede cards */
.fc-contact-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin-bottom: 8px;
}

.fc-contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    text-decoration: none !important;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 18px;
    border: 0.5px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06), inset 0 0.5px 0 rgba(255,255,255,0.9);
    padding: 24px 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fc-contact-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.06), 0 12px 32px rgba(0,0,0,0.1);
}

.fc-contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: rgba(60, 180, 230, 0.1);
    color: var(--fc-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.fc-contact-card h3 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--fc-dark) !important;
    margin: 0 0 4px;
}

.fc-contact-card p {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.8rem;
    color: var(--fc-gray);
    margin: 0;
}

.fc-sede-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.fc-sede-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 18px;
    border: 0.5px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06);
    padding: 24px;
    overflow: hidden;
}

.fc-sede-badge {
    display: inline-block;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--fc-primary);
    padding: 4px 10px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.fc-sede-card h3 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fc-dark) !important;
    margin: 0 0 4px;
}

.fc-sede-address {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.88rem;
    color: var(--fc-gray);
    margin: 0 0 16px;
}

.fc-sede-map {
    margin-bottom: 12px;
    border-radius: 14px;
    overflow: hidden;
}

.fc-sede-directions {
    display: inline-block;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--fc-primary) !important;
    text-decoration: none !important;
}

@media only screen and (max-width: 989px) {
    .fc-contact-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }
    .fc-contact-card {
        flex-direction: row !important;
        text-align: left !important;
        gap: 14px !important;
        padding: 16px !important;
    }
    .fc-contact-icon {
        margin-bottom: 0 !important;
        flex-shrink: 0;
    }
    .fc-sede-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
}

/* Chips (tags) */
.fc-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.fc-chip {
    display: inline-block;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.82rem;
    font-weight: 500;
    color: var(--fc-dark);
    background: rgba(60, 180, 230, 0.08);
    border: 1px solid rgba(60, 180, 230, 0.15);
    padding: 6px 14px;
    border-radius: 50px;
}
.fc-chip--pink {
    background: rgba(230, 0, 126, 0.06);
    border-color: rgba(230, 0, 126, 0.12);
    color: #E6007E;
}
.fc-chip--green {
    background: rgba(73, 177, 112, 0.08);
    border-color: rgba(73, 177, 112, 0.15);
    color: #49B170;
}

/* Chi Sono — photo + timeline */
.fc-chisono-photo {
    margin-bottom: 20px;
}

.fc-chisono-img {
    width: 160px;
    height: auto;
    border-radius: 18px;
    object-fit: contain;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 3px solid #fff;
}

.fc-timeline {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.fc-timeline-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 14px;
    border: 0.5px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 4px 12px rgba(0,0,0,0.04);
    padding: 16px;
}

.fc-timeline-year {
    flex: 0 0 56px;
    text-align: center;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: var(--fc-primary);
    background: rgba(60, 180, 230, 0.08);
    padding: 6px 4px;
    border-radius: 8px;
    line-height: 1.3;
}

.fc-timeline-item h3 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.92rem;
    font-weight: 700;
    color: var(--fc-dark) !important;
    margin: 0 0 2px;
}

.fc-timeline-item p {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.83rem;
    line-height: 1.5;
    color: var(--fc-gray);
    margin: 0;
}

/* Hide sidebar widget area — NOT the container class */
.sidebar.sidebar_right,
.sidebar.sidebar_left {
    display: none !important;
}
/* Make content full width when sidebar is hidden */
.content {
    width: 100% !important;
    margin-right: 0 !important;
}

/* Mobile inner pages */
@media only screen and (max-width: 989px) {
    .fc-page { padding: 0 16px 32px; }
    .fc-page-hero { padding: 24px 0 16px; }
    .fc-page-h1 { font-size: 1.6rem; }
    .fc-page-hero-sub { font-size: 0.92rem; }
    .fc-age-grid { grid-template-columns: 1fr; gap: 12px; }
    .fc-page-cta-btns { flex-direction: column; }
    .fc-page-btn { text-align: center; }
}

/* Hide custom mobile menu on desktop */
@media only screen and (min-width: 990px) {
    .fc-mobile-menu {
        display: none !important;
    }
}

/* --- Buttons --- */
.avia-button,
a.avia-button {
    font-family: 'Inter', sans-serif !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    letter-spacing: 0.03em !important;
    text-transform: uppercase !important;
    padding: 12px 28px !important;
    border-radius: 50px !important;
    transition: var(--fc-transition) !important;
}

.avia-button:hover,
a.avia-button:hover {
    transform: translateY(-1px) !important;
}

/* --- Cards & Content Blocks --- */
.av-icon-box-top .iconbox_content_container,
.avia-icon-box {
    background: var(--fc-white) !important;
    border-radius: var(--fc-radius) !important;
    padding: 28px !important;
    box-shadow: var(--fc-shadow) !important;
    transition: var(--fc-transition) !important;
    border: 1px solid var(--fc-border) !important;
}

.av-icon-box-top .iconbox_content_container:hover,
.avia-icon-box:hover {
    transform: translateY(-3px) !important;
    box-shadow: var(--fc-shadow-hover) !important;
}

/* --- Images --- */
.avia-image-container img,
.av-image-caption-overlay img {
    border-radius: var(--fc-radius) !important;
}

/* --- Footer --- */
#footer {
    background: var(--fc-dark) !important;
}

.socket_color {
    background: #141425 !important;
    border-top: 1px solid rgba(255,255,255,0.1) !important;
}

/* --- Google Maps --- */
.av_gmaps_wrap iframe {
    border-radius: var(--fc-radius) !important;
    overflow: hidden !important;
}

/* --- Links inside content --- */
.entry-content-wrapper a:not(.avia-button) {
    color: var(--fc-primary) !important;
    transition: color 0.2s ease !important;
}

.entry-content-wrapper a:not(.avia-button):hover {
    color: var(--fc-primary-light) !important;
}


/* ========================================
   HERO BANNER — replaces LayerSlider globally
   ======================================== */

/* Hide LayerSlider everywhere — collapse completely */
.avia-layerslider,
.avia-layerslider.fullsize,
.avia-layerslider-wrap,
#av_layerslider_1,
#layer_slider_1,
.ls-wp-container,
.ls-container {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    max-height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
    padding: 0 !important;
}

/* Hero — desktop defaults */
.fc-hero {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 500px;
    max-height: 720px;
    overflow: hidden;
    background: #0a1628;
}

.fc-hero-img {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: center 30%;
    opacity: 0;
    transition: opacity 1.5s ease;
}

.fc-hero-img.active {
    opacity: 1;
}

.fc-hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 22, 40, 0.35) 0%,
        rgba(10, 22, 40, 0.15) 35%,
        rgba(10, 22, 40, 0.75) 100%
    );
    z-index: 2;
}

.fc-hero-content {
    position: absolute;
    bottom: 0;
    left: 0; right: 0;
    padding: 0 80px 64px;
    z-index: 3;
    text-align: left;
    max-width: 800px;
}

.fc-hero-subtitle {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.75) !important;
    margin-bottom: 12px;
}

.fc-hero-title {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff !important;
    margin-bottom: 12px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.fc-hero-desc {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 17px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 32px;
    max-width: 520px;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}

.fc-hero-btns {
    display: flex;
    flex-direction: row;
    gap: 14px;
}

.fc-hero-btn {
    display: inline-block;
    padding: 16px 36px;
    border-radius: 50px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-decoration: none;
    transition: transform 0.2s ease, opacity 0.2s ease, box-shadow 0.2s ease;
}

.fc-hero-btn:hover {
    transform: translateY(-2px);
}

.fc-hero-btn:active {
    transform: scale(0.97);
    opacity: 0.9;
}

.fc-hero-btn.primary {
    background: #3CB4E6;
    color: #fff;
    box-shadow: 0 4px 20px rgba(60, 180, 230, 0.35);
}

.fc-hero-btn.primary:hover {
    box-shadow: 0 6px 28px rgba(60, 180, 230, 0.5);
    color: #fff;
}

.fc-hero-btn.secondary {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.25);
}

.fc-hero-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* Hero dots — desktop */
.fc-hero-dots {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}

.fc-hero-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
}

.fc-hero-dots span.active {
    background: #fff;
    width: 24px;
    border-radius: 4px;
}

/* ========================================
   "PERCHE SCEGLIERE" + "AREE DI INTERVENTO" — slider cards
   ======================================== */

.fc-section-heading {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.75rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    color: var(--fc-dark);
    text-align: center;
    margin: 0 0 20px;
    line-height: 1.3;
}

/* --- Shared slider dots --- */
.fc-slider-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
}
.fc-slider-dot.active {
    background: var(--fc-primary);
    width: 20px;
    border-radius: 3px;
}
.fc-why-dots,
.fc-areas-dots {
    display: none;
    justify-content: center;
    gap: 5px;
    padding-top: 14px;
}

/* ========================
   PERCHE SCEGLIERE
   ======================== */
/* Reduce gap between hero and first section — homepage only */
.home #main {
    padding-top: 0 !important;
}
#av_section_1,
#av_section_1.avia-section,
#av_section_1.container_wrap {
    padding-top: 0 !important;
    margin-top: 0 !important;
    padding-bottom: 0 !important;
}
#av_section_1 .container {
    padding-top: 0 !important;
}
.avia-section.el_after_av_layerslider {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.fc-why-section {
    padding: 8px 0 16px;
}

/* Desktop: 3 columns */
.fc-why-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.fc-why-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 20px;
    border: 0.5px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.9);
    padding: 28px 24px;
    text-align: left;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fc-why-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.06),
        0 12px 32px rgba(0, 0, 0, 0.1),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.9);
}

.fc-why-accent {
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--fc-primary);
    border-radius: 4px 0 0 4px;
}

.fc-why-card h3 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--fc-dark);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.fc-why-card p {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--fc-gray);
    margin: 0;
}

/* ========================
   AREE DI INTERVENTO
   ======================== */
.fc-areas-section {
    padding: 8px 0 40px;
}

/* Desktop: 6-col grid so last 2 cards center under top 3 */
.fc-areas-track {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.fc-area-card {
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 18px;
    border: 0.5px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.9);
    padding: 24px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fc-area-card:hover {
    transform: translateY(-2px);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.06),
        0 12px 32px rgba(0, 0, 0, 0.1),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.9);
}

/* First 3 cards: span 2 cols each */
.fc-areas-track .fc-area-card:nth-child(1) { grid-column: 1 / 3; }
.fc-areas-track .fc-area-card:nth-child(2) { grid-column: 3 / 5; }
.fc-areas-track .fc-area-card:nth-child(3) { grid-column: 5 / 7; }
/* Last 2 cards: span 2 cols each, offset by 1 to center */
.fc-areas-track .fc-area-card:nth-child(4) { grid-column: 2 / 4; }
.fc-areas-track .fc-area-card:nth-child(5) { grid-column: 4 / 6; }

.fc-area-img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    margin: 0 auto 12px;
    display: block;
    opacity: 0.7;
    filter: grayscale(20%);
}

.fc-area-card h3 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--fc-dark);
    margin: 0 0 6px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.fc-area-card p {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.82rem;
    line-height: 1.5;
    color: var(--fc-gray);
    margin: 0;
}

/* ========================
   MOBILE — horizontal sliders
   ======================== */
@media only screen and (max-width: 989px) {
    .fc-section-heading {
        font-size: 1.3rem !important;
        margin-bottom: 16px !important;
        padding: 0 16px !important;
    }

    .fc-why-dots,
    .fc-areas-dots {
        display: flex !important;
    }

    /* --- Why slider --- */
    .fc-why-section {
        padding: 6px 0 10px !important;
    }

    .fc-why-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding: 8px 20px 8px !important;
        scrollbar-width: none !important;
        max-width: none !important;
    }
    .fc-why-track::-webkit-scrollbar { display: none !important; }

    .fc-why-card {
        flex: 0 0 80vw !important;
        min-width: 80vw !important;
        scroll-snap-align: start !important;
        padding: 22px 20px !important;
        border-radius: 16px !important;
    }

    .fc-why-card:last-child {
        margin-right: 16px !important;
    }

    .fc-why-card h3 {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
    }

    .fc-why-card p {
        font-size: 0.85rem !important;
        line-height: 1.55 !important;
    }

    /* --- Areas slider --- */
    .fc-areas-section {
        padding: 4px 0 28px !important;
    }

    .fc-areas-track {
        display: flex !important;
        flex-wrap: nowrap !important;
        overflow-x: auto !important;
        overflow-y: hidden !important;
        -webkit-overflow-scrolling: touch !important;
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding: 8px 20px 8px !important;
        scrollbar-width: none !important;
        max-width: none !important;
    }
    .fc-areas-track::-webkit-scrollbar { display: none !important; }

    .fc-area-card {
        flex: 0 0 70vw !important;
        min-width: 70vw !important;
        scroll-snap-align: start !important;
        padding: 20px 18px !important;
        border-radius: 16px !important;
        text-align: center !important;
    }

    .fc-area-card:last-child {
        margin-right: 16px !important;
    }

    .fc-area-img {
        width: 40px !important;
        height: 40px !important;
        margin-bottom: 10px !important;
    }

    .fc-area-card h3 {
        font-size: 0.92rem !important;
    }

    .fc-area-card p {
        font-size: 0.8rem !important;
        line-height: 1.45 !important;
    }
}

/* ========================================
   "L'OSTEOPATIA È PER TUTTI" — card slider
   ======================================== */
.fc-tutti-section {
    padding: 40px 0 32px;
}

/* Desktop: horizontal scroll, 3 visible */
.fc-tutti-track {
    display: flex;
    gap: 16px;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
}
.fc-tutti-track::-webkit-scrollbar { display: none; }

.fc-tutti-card {
    flex: 0 0 calc(33.333% - 11px);
    min-width: 280px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 20px;
    border: 0.5px solid rgba(255, 255, 255, 0.7);
    box-shadow:
        0 1px 3px rgba(0, 0, 0, 0.04),
        0 8px 24px rgba(0, 0, 0, 0.06),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.9);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.fc-tutti-card:hover {
    transform: translateY(-3px);
    box-shadow:
        0 2px 6px rgba(0, 0, 0, 0.06),
        0 12px 32px rgba(0, 0, 0, 0.1),
        inset 0 0.5px 0 rgba(255, 255, 255, 0.9);
}

.fc-tutti-img-wrap {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.fc-tutti-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.fc-tutti-body {
    padding: 20px;
}

.fc-tutti-body h3 {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--fc-dark);
    margin: 0 0 8px;
    letter-spacing: -0.01em;
}

.fc-tutti-body p {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--fc-gray);
    margin: 0;
}

/* Expandable content */
.fc-tutti-more {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
}

.fc-tutti-more p {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.85rem;
    line-height: 1.6;
    color: var(--fc-gray);
    margin: 0 0 10px;
}

.fc-tutti-more p:last-child {
    margin-bottom: 0;
}

.fc-tutti-toggle {
    all: unset;
    cursor: pointer;
    display: inline-block;
    margin-top: 12px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--fc-primary);
    transition: color 0.2s ease;
}

.fc-tutti-toggle:hover {
    color: var(--fc-primary-light);
}

.fc-tutti-dots {
    display: none;
    justify-content: center;
    gap: 5px;
    padding-top: 14px;
}

/* Mobile */
@media only screen and (max-width: 989px) {
    .fc-tutti-section {
        padding: 28px 0 24px !important;
        background: #f2f2f7 !important;
    }

    .fc-tutti-track {
        scroll-snap-type: x mandatory !important;
        gap: 12px !important;
        padding: 8px 20px 12px !important;
        max-width: none !important;
        margin-left: -4px !important;
        margin-right: -4px !important;
    }

    .fc-tutti-card {
        flex: 0 0 80vw !important;
        min-width: 80vw !important;
        scroll-snap-align: start !important;
        border-radius: 16px !important;
    }

    .fc-tutti-card:last-child {
        margin-right: 16px !important;
    }

    .fc-tutti-img-wrap {
        height: 160px !important;
    }

    .fc-tutti-body {
        padding: 16px !important;
    }

    .fc-tutti-body h3 {
        font-size: 1rem !important;
        margin-bottom: 6px !important;
    }

    .fc-tutti-body p {
        font-size: 0.82rem !important;
        line-height: 1.55 !important;
    }

    .fc-tutti-dots {
        display: flex !important;
    }
}

/* Also hide original Enfold tab section styling that leaks */
.av-tab-section-outer-wrap[style*="display: none"] + div .fc-tutti-section {
    margin-top: 0;
}

/* --- Smooth scroll & selection --- */
html {
    scroll-behavior: smooth;
}

::selection {
    background: var(--fc-primary);
    color: var(--fc-white);
}

/* ========================================
   MOBILE TYPOGRAPHY
   ======================================== */

@media only screen and (max-width: 989px) {
    body {
        font-size: 15px !important;
        font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
        -webkit-text-size-adjust: 100% !important;
    }
}

@media only screen and (max-width: 767px) {
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}

/* ========================================
   MODERN FOOTER
   ======================================== */
.fc-footer {
    padding: 32px 0;
}

.fc-footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 24px;
    max-width: 960px;
    margin: 0 auto;
    padding: 0 24px;
}

.fc-footer-col h3 {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    color: #fff !important;
    margin: 0 0 12px !important;
    letter-spacing: -0.01em;
}

.fc-footer-link {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8) !important;
    text-decoration: none !important;
    padding: 6px 0;
    transition: color 0.2s ease;
}

.fc-footer-link:hover {
    color: #fff !important;
}

.fc-footer-link svg {
    flex-shrink: 0;
    opacity: 0.6;
}

.fc-footer-note {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.5);
    margin: 10px 0 0;
    font-style: italic;
}

.fc-footer-sede p {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 0 8px;
    line-height: 1.5;
}

.fc-footer-map-link {
    display: inline-block;
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--fc-primary) !important;
    text-decoration: none !important;
    transition: opacity 0.2s ease;
}

.fc-footer-map-link:hover {
    opacity: 0.8;
}

@media only screen and (max-width: 989px) {
    .fc-footer-inner {
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        text-align: center !important;
        padding: 0 16px !important;
    }

    .fc-footer-link {
        justify-content: center !important;
    }

    .fc-footer-col {
        background: rgba(255, 255, 255, 0.06) !important;
        border-radius: 16px !important;
        padding: 20px !important;
        border: 0.5px solid rgba(255, 255, 255, 0.08) !important;
    }
}

/* ========================================
   FC GOOGLE REVIEWS (custom mu-plugin)
   ======================================== */
.fc-reviews-section {
    background: #f2f2f7;
    padding: 40px 0 35px;
    margin-top: 0;
    border-top: none;
}

.fc-reviews-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
    overflow: visible;
}

.fc-reviews-title {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: var(--fc-dark, #1a1a2e) !important;
    margin-bottom: 14px !important;
    letter-spacing: -0.03em;
}

.fc-reviews-summary {
    margin-bottom: 24px;
}

.fc-reviews-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 8px 18px;
    border-radius: 50px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    border: 0.5px solid rgba(255, 255, 255, 0.7);
    font-family: "Inter", sans-serif;
}

.fc-rating-number {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--fc-dark, #1a1a2e);
}

.fc-rating-count {
    font-size: 0.8rem;
    color: #5f6368;
}

/* Slider container */
.fc-reviews-slider {
    position: relative;
    margin-bottom: 22px;
    overflow: visible;
}

.fc-reviews-track {
    display: flex;
    flex-wrap: nowrap;
    gap: 14px;
    overflow-x: scroll;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scroll-snap-type: x proximity;
    scrollbar-width: none;
    padding: 4px 24px 12px;
    margin-left: -24px;
    margin-right: -24px;
    text-align: left;
    touch-action: pan-x;
}

.fc-reviews-track::-webkit-scrollbar {
    display: none;
}

.fc-review-card {
    flex: 0 0 320px;
    min-width: 320px;
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.72);
    backdrop-filter: blur(20px) saturate(150%);
    -webkit-backdrop-filter: blur(20px) saturate(150%);
    border-radius: 18px;
    padding: 18px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px rgba(0,0,0,0.06), inset 0 0.5px 0 rgba(255,255,255,0.9);
    border: 0.5px solid rgba(255, 255, 255, 0.7);
}

/* Last card — extra padding so it scrolls fully into view */
.fc-review-card:last-child {
    margin-right: 24px;
}

/* Dot indicators */
.fc-reviews-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    padding-top: 8px;
}

.fc-reviews-dots .fc-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.fc-reviews-dots .fc-dot.active {
    background: var(--fc-primary);
    transform: scale(1.3);
}

.fc-review-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.fc-review-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.fc-review-avatar-placeholder {
    background: var(--fc-primary, #1a5c5e);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.85rem;
    font-family: "Inter", sans-serif;
}

.fc-review-meta {
    display: flex;
    flex-direction: column;
}

.fc-review-author {
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--fc-dark, #1a1a2e);
    font-family: "Inter", sans-serif;
}

.fc-review-stars {
    margin-bottom: 4px;
    font-size: 0.85rem;
}

.fc-review-text {
    font-size: 0.8rem;
    line-height: 1.5;
    color: #3c4043;
    font-family: "Inter", sans-serif;
    margin: 0;
}

.fc-reviews-cta {
    display: inline-block;
    padding: 12px 28px;
    background: var(--fc-primary);
    color: #fff !important;
    border-radius: 14px;
    text-decoration: none !important;
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 0.85rem;
    transition: background 0.3s ease, transform 0.2s ease;
    box-shadow: 0 4px 16px rgba(60, 180, 230, 0.25);
}

.fc-reviews-cta:hover {
    background: var(--fc-primary-light);
    transform: translateY(-1px);
    color: #fff !important;
}

@media screen and (max-width: 989px) {
    .fc-review-card {
        flex: 0 0 280px !important;
        min-width: 280px !important;
    }
    .fc-reviews-title {
        font-size: 1.4rem !important;
    }
}

@media screen and (max-width: 767px) {
    .fc-review-card {
        flex: 0 0 82vw !important;
        min-width: 82vw !important;
    }
    .fc-reviews-section {
        padding: 30px 0 25px;
    }
    .fc-reviews-badge {
        flex-wrap: wrap;
        justify-content: center;
    }
}
