/*
Theme Name: Denticare Custom Style Overrides
Description: Premium design system, modern typography, glassmorphism headers, and smooth micro-animations for Medisam Dental Clinic.
Version: 1.0.0
*/

/* 1. Import Modern Font */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

/* 2. Global CSS Variables & Variables Override */
:root {
    --font-modern: 'Outfit', sans-serif;
    --font-heading: 'Outfit', sans-serif;
    --primary-color: #0c3e5a !important; /* Premium Deep Medical Blue */
    --accent-teal: #0fa27b !important;   /* Sleek Medical Teal */
    --accent-gold: #c29547 !important;   /* Golden Premium details */
    --light-slate: #f1f5f9 !important;   /* Soft slate gray */
    --medisam-bg: #F7F7F5 !important;    /* Flat off-white */
    --medisam-bg-mist: #F7F7F5 !important; /* Same flat off-white */
    --medisam-surface: rgba(255, 255, 255, 0.92) !important;
    --medisam-surface-strong: #F7F7F5 !important;
    --medisam-border: rgba(12, 62, 90, 0.08) !important;
    --medisam-shadow-luxury: 0 22px 60px rgba(12, 62, 90, 0.10) !important;
    
    /* Box Shadows */
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.04);
    --shadow-medium: 0 10px 30px rgba(12, 62, 90, 0.08);
    --shadow-premium: 0 20px 40px -10px rgba(12, 62, 90, 0.15);
    
    /* Transitions */
    --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-elastic: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

/* Apply Modern Font Globally */
body, 
p, 
li, 
a, 
h1, 
h2, 
h3, 
h4, 
h5, 
h6, 
.bt_bb_headline, 
.bt_bb_headline_tag,
.bt_bb_button, 
.bt_bb_button_text,
.menuPort,
.logo,
.btIconWidgetTitle,
.btIconWidgetText {
    font-family: var(--font-modern) !important;
}

/* 3. Header & Navigation Enhancements (Desktop) */
.mainHeader {
    background: rgba(255, 255, 255, 0.85) !important;
    backdrop-filter: blur(15px) !important;
    -webkit-backdrop-filter: blur(15px) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.03) !important;
    transition: var(--transition-smooth);
}

.mainHeader.btStickyHeaderActive {
    background: rgba(255, 255, 255, 0.95) !important;
    box-shadow: var(--shadow-medium) !important;
}

.menuPort ul.menu > li > a {
    color: var(--primary-color) !important;
    font-weight: 500 !important;
    font-size: 16px !important;
    transition: var(--transition-smooth) !important;
    position: relative;
    padding: 10px 15px !important;
}

/* Modern underline menu slide effect */
.menuPort ul.menu > li > a::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 15px;
    width: 0;
    height: 3px;
    background: var(--accent-teal);
    border-radius: 2px;
    transition: var(--transition-smooth);
}

.menuPort ul.menu > li:hover > a::after {
    width: calc(100% - 30px);
}

.menuPort ul.menu > li:hover > a {
    color: var(--accent-teal) !important;
}

/* Style Submenus */
.menuPort ul.sub-menu {
    border-radius: 12px !important;
    box-shadow: var(--shadow-premium) !important;
    border: 1px solid rgba(12, 62, 90, 0.05) !important;
    background: rgba(255, 255, 255, 0.98) !important;
    backdrop-filter: blur(10px);
    overflow: hidden;
    padding: 10px 0 !important;
}

.menuPort ul.sub-menu li a {
    font-size: 15px !important;
    padding: 12px 20px !important;
    transition: var(--transition-smooth) !important;
}

.menuPort ul.sub-menu li:hover > a {
    background-color: var(--light-slate) !important;
    color: var(--accent-teal) !important;
    padding-left: 25px !important;
}

/* Top bar details */
.topBar {
    background-color: var(--primary-color) !important;
    color: #ffffff !important;
}

.btIconWidgetIcon .bt_bb_icon_holder {
    color: var(--accent-teal) !important;
}

/* 4. Button Styling Redesign */
.bt_bb_button {
    margin-top: 10px;
    margin-bottom: 10px;
}

.bt_bb_button a {
    border-radius: 50px !important;
    font-weight: 600 !important;
    letter-spacing: 0.5px !important;
    padding: 14px 32px !important;
    box-shadow: var(--shadow-soft) !important;
    transition: var(--transition-smooth) !important;
}

/* Filled Button Style */
.bt_bb_button.bt_bb_style_filled a {
    background: linear-gradient(135deg, var(--accent-teal), #0d8c6a) !important;
    color: #ffffff !important;
    border: none !important;
}

.bt_bb_button.bt_bb_style_filled a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(15, 162, 123, 0.3) !important;
}

/* Outline Button Style */
.bt_bb_button.bt_bb_style_outline a {
    border: 2px solid var(--accent-teal) !important;
    background: transparent !important;
    color: var(--accent-teal) !important;
}

.bt_bb_button.bt_bb_style_outline a:hover {
    background: var(--accent-teal) !important;
    color: #ffffff !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(15, 162, 123, 0.2) !important;
}

/* 5. Custom Content Cards Zoom & Shadow overrides */
/* Specifically target column wrappers acting as content block cards */
.bt_bb_column_inner:has(.bt_bb_image):has(.bt_bb_headline),
.bt_bb_column_inner:has(.bt_bb_icon):has(.bt_bb_headline) {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 35px 25px !important;
    box-shadow: var(--shadow-soft) !important;
    border: 1px solid rgba(12, 62, 90, 0.04) !important;
    transition: var(--transition-elastic) !important;
}

.bt_bb_column_inner:has(.bt_bb_image):has(.bt_bb_headline):hover,
.bt_bb_column_inner:has(.bt_bb_icon):has(.bt_bb_headline):hover {
    transform: translateY(-8px) scale(1.01);
    box-shadow: var(--shadow-premium) !important;
    border-color: rgba(15, 162, 123, 0.2) !important;
}

/* 6. Image Styling Zoom */
.bt_bb_image img {
    border-radius: 12px !important;
    transition: var(--transition-smooth) !important;
}

.bt_bb_image:hover img {
    transform: scale(1.04);
    box-shadow: var(--shadow-medium);
}

/* 7. Icon Animation */
.bt_bb_icon {
    transition: var(--transition-smooth) !important;
}

.bt_bb_icon_holder {
    transition: var(--transition-smooth) !important;
}

.bt_bb_icon_holder::before {
    transition: var(--transition-smooth) !important;
}

.bt_bb_column_inner:hover .bt_bb_icon_holder {
    transform: scale(1.15) rotate(8deg);
    color: var(--accent-teal) !important;
}

/* 8. Pricing/Table Lists Overrides */
.bt_bb_price_list {
    background: #ffffff !important;
    border-radius: 16px !important;
    padding: 30px !important;
    box-shadow: var(--shadow-medium) !important;
    border: 1px solid rgba(12, 62, 90, 0.03) !important;
    transition: var(--transition-smooth);
}

.bt_bb_price_list:hover {
    box-shadow: var(--shadow-premium) !important;
}

.bt_bb_price_list ul li {
    padding: 14px 0 !important;
    border-bottom: 1px solid rgba(12, 62, 90, 0.06) !important;
    font-size: 16px !important;
    color: #475569 !important;
}

.bt_bb_price_list ul li:last-child {
    border-bottom: none !important;
}

.bt_bb_price_list ul li:before {
    color: var(--accent-teal) !important;
    font-size: 14px !important;
}

/* 9. Mobile Responsiveness Styling Overrides */
@media (max-width: 991px) {
    /* Sticky bottom call elements on mobile */
    .stickyelements-form {
        border-radius: 12px 12px 0 0 !important;
        box-shadow: 0 -5px 20px rgba(0,0,0,0.1) !important;
    }
}

@media (max-width: 768px) {
    /* Responsive Font Scales */
    h1, .bt_bb_headline_tag {
        font-size: 2.1rem !important;
        line-height: 1.25 !important;
        letter-spacing: -0.5px !important;
    }
    
    h2 {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }
    
    h3 {
        font-size: 1.5rem !important;
    }
    
    /* Spacings */
    .bt_bb_section {
        padding-top: 35px !important;
        padding-bottom: 35px !important;
    }
    
    /* Center text alignments on mobile for hero columns */
    .bt_bb_column_inner_content {
        text-align: center !important;
    }
    
    .bt_bb_button {
        display: block !important;
        width: 100% !important;
        text-align: center !important;
    }
    
    .bt_bb_button a {
        display: inline-block !important;
        width: 85% !important;
    }
    
    /* Safe Scrolling for tables (e.g. implant package tables) */
    .bt_bb_text table, 
    table {
        display: block !important;
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        border-radius: 8px;
    }
    
    /* Mobile Header adjustments */
    .logo img {
        max-height: 48px !important;
        width: auto !important;
    }
    
    /* Adjust columns padding on mobile */
    .bt_bb_column_inner {
        padding: 25px 20px !important;
        margin-bottom: 25px !important;
    }
}

/* Mobile icon dock: Instagram-style glass navigation */
@media (max-width: 991px) {
    .btContentWrap {
        padding-bottom: 88px !important;
    }

    .medisam-mobile-cta {
        right: 14px !important;
        bottom: calc(12px + env(safe-area-inset-bottom)) !important;
        left: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important;
        min-height: 64px !important;
        padding: 8px 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.48) !important;
        border-radius: 28px !important;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.28)),
            rgba(255, 255, 255, 0.42) !important;
        box-shadow:
            0 18px 46px rgba(8, 27, 50, 0.22),
            0 4px 14px rgba(12, 62, 90, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
        -webkit-backdrop-filter: blur(28px) saturate(1.75) !important;
        backdrop-filter: blur(28px) saturate(1.75) !important;
    }

    .medisam-mobile-cta__quick,
    .medisam-mobile-cta__actions {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        min-width: 0 !important;
    }

    .medisam-mobile-cta__quick {
        flex: 3 1 0 !important;
    }

    .medisam-mobile-cta__actions {
        flex: 2 1 0 !important;
    }

    .medisam-mobile-cta__quick-link,
    .medisam-mobile-cta__button {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        min-height: 48px !important;
        width: auto !important;
        height: 48px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 20px !important;
        background: transparent !important;
        color: #0c3e5a !important;
        box-shadow: none !important;
        text-decoration: none !important;
        transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .medisam-mobile-cta__quick-link > span,
    .medisam-mobile-cta__button > span {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .medisam-mobile-cta__quick-link i,
    .medisam-mobile-cta__button i {
        width: 42px !important;
        height: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, 0.34) !important;
        color: currentColor !important;
        font-size: 20px !important;
        line-height: 1 !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.58),
            0 6px 16px rgba(8, 27, 50, 0.08) !important;
    }

    .medisam-mobile-cta__button--whatsapp i {
        color: #14a95f !important;
    }

    .medisam-mobile-cta__button--booking i {
        color: var(--accent-teal) !important;
    }

    .medisam-mobile-cta__quick-link:active,
    .medisam-mobile-cta__button:active {
        transform: scale(0.95) !important;
        background: rgba(255, 255, 255, 0.28) !important;
    }
}

@media (max-width: 420px) {
    .medisam-mobile-cta {
        right: 10px !important;
        left: 10px !important;
        min-height: 60px !important;
        padding: 7px 8px !important;
        border-radius: 24px !important;
    }

    .medisam-mobile-cta__quick-link,
    .medisam-mobile-cta__button {
        min-height: 44px !important;
        height: 44px !important;
        border-radius: 17px !important;
    }

    .medisam-mobile-cta__quick-link i,
    .medisam-mobile-cta__button i {
        width: 38px !important;
        height: 38px !important;
        border-radius: 16px !important;
        font-size: 18px !important;
    }
}

/* 10. Forms, Input & Textarea Modernization */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="search"],
input[type="number"],
input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select,
.wpforms-field input,
.wpforms-field textarea,
.wpforms-field select {
    width: 100%;
    padding: 14px 18px !important;
    border-radius: 12px !important;
    border: 1px solid rgba(12, 62, 90, 0.1) !important;
    background-color: #ffffff !important;
    color: var(--primary-color) !important;
    font-size: 15px !important;
    font-family: var(--font-modern) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
    box-shadow: inset 0 2px 4px rgba(12, 62, 90, 0.02) !important;
}

select,
.wpforms-field select {
    appearance: none !important;
    -webkit-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%230c3e5a' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 18px center !important;
    background-size: 16px !important;
    padding-right: 42px !important;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="number"]:focus,
textarea:focus,
select:focus,
.wpforms-field input:focus,
.wpforms-field textarea:focus,
.wpforms-field select:focus {
    border-color: var(--accent-teal) !important;
    box-shadow: 0 0 0 4px rgba(15, 162, 123, 0.12), inset 0 2px 4px rgba(12, 62, 90, 0.02) !important;
    outline: none !important;
}

/* Style form submit buttons */
input[type="submit"],
.wpforms-submit,
.wpforms-submit-button {
    background: linear-gradient(135deg, var(--accent-teal), #0a8463) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 999px !important;
    padding: 16px 36px !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    letter-spacing: 0.5px !important;
    font-family: var(--font-modern) !important;
    cursor: pointer !important;
    box-shadow: 0 8px 30px rgba(15, 162, 123, 0.25) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

input[type="submit"]:hover,
.wpforms-submit:hover,
.wpforms-submit-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 12px 35px rgba(15, 162, 123, 0.45) !important;
    background: linear-gradient(135deg, #12b78b, #0e9171) !important;
}

/* 11. Medisam mobile UX upgrade */
.medisam-mobile-cta {
    display: none;
}

.medisam-responsive-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    background: #eef5f7;
}

.medisam-responsive-media iframe {
    position: absolute;
    inset: 0;
    width: 100% !important;
    height: 100% !important;
    border: 0;
}

@media (max-width: 991px) {
    .single-portfolio .bt_bb_row_holder:has(.bt_bb_css_image_grid):has(.medisam-responsive-media) {
        flex-direction: column !important;
        align-items: center !important;
        gap: 24px !important;
    }

    .single-portfolio .bt_bb_row_holder:has(.bt_bb_css_image_grid):has(.medisam-responsive-media) > .bt_bb_column {
        flex: 0 0 100% !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    .single-portfolio .bt_bb_row_holder:has(.bt_bb_css_image_grid):has(.medisam-responsive-media) .bt_bb_column_content {
        width: 100% !important;
    }

    .single-portfolio .bt_bb_row_holder:has(.bt_bb_css_image_grid):has(.medisam-responsive-media) .medisam-responsive-media {
        aspect-ratio: 9 / 16;
        width: min(100%, 360px) !important;
        margin: 0 auto !important;
    }
}

.medisam-team-mobile-panel {
    display: none;
}

.medisam-team-intro {
    display: none;
}

.btContent iframe,
.btContent embed,
.btContent object,
.btContent video {
    max-width: 100% !important;
}

.btContent img {
    max-width: 100%;
    height: auto;
}

.btContent [style*="width:"] {
    max-width: 100% !important;
}

.btContent .slick-track[style*="width:"] {
    max-width: none !important;
}

.btContent [style*="min-width:"] {
    min-width: 0 !important;
}

.btContent table {
    border-collapse: separate;
    border-spacing: 0;
}

.btContent table th,
.btContent table td {
    overflow-wrap: anywhere;
}

.bt_bb_content_slider_item .bt_bb_button:has(a[href*="wa.me/905304790855"]) {
    display: none !important;
}

.bt_bb_content_slider_item.medisam-slider-hero-slide {
    position: relative;
    isolation: isolate;
}

.bt_bb_content_slider_item.medisam-slider-hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 74% 34%, rgba(255, 255, 255, 0.12), transparent 28%),
        linear-gradient(90deg, rgba(4, 24, 34, 0.82) 0%, rgba(4, 24, 34, 0.55) 48%, rgba(4, 24, 34, 0.14) 100%);
}

.bt_bb_content_slider_item.medisam-slider-hero-slide .bt_bb_content_slider_item_content {
    position: relative;
    z-index: 2;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* Perfect vertical centering */
    height: 100% !important; /* Full height of 720px desktop / 500px mobile container */
    box-sizing: border-box !important;
}

.bt_bb_content_slider_item.medisam-slider-hero-slide .bt_bb_row_inner {
    display: none !important; /* Hide original builder spacers & elements on hero */
}

.medisam-slider-hero {
    width: min(740px, calc(100% - 48px));
    margin-left: max(24px, 8%);
    margin-top: 0 !important; /* Reset manual offset */
    margin-bottom: 0 !important;
    padding: 0 !important; /* Reset padding to allow exact centering */
    color: #ffffff;
    text-align: left;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.36);
}

.medisam-slider-hero__eyebrow {
    width: fit-content;
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-bottom: 16px; /* Optimized spacing */
    padding: 6px 16px;
    border: 1px solid rgba(15, 162, 123, 0.4);
    border-radius: 999px;
    background: linear-gradient(90deg, rgba(15, 162, 123, 0.25) 0%, rgba(255, 255, 255, 0.08) 100%);
    color: #ffffff;
    font-family: var(--font-modern) !important;
    font-size: 11px; /* Proportioned eyebrow size */
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 1px;
    text-transform: uppercase;
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.medisam-slider-hero__title {
    max-width: 720px;
    margin: 0;
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-size: 48px; /* Proportioned premium title size */
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.5px;
}

.medisam-slider-hero__copy {
    max-width: 620px;
    margin: 16px 0 0; /* Optimized spacing */
    color: rgba(255, 255, 255, 0.91);
    font-family: var(--font-modern) !important;
    font-size: 16px; /* Proportioned description size */
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: 0;
}

.medisam-slider-hero__chips,
.medisam-slider-hero__proofs {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.medisam-slider-hero__chips {
    margin-top: 24px;
}

.medisam-slider-hero__chip {
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff !important;
    font-family: var(--font-modern) !important;
    font-size: 13.5px;
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: 0;
    text-decoration: none !important;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.2);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Highlight the primary action button */
.medisam-slider-hero__chip[href*="termin-buchen"] {
    background: linear-gradient(135deg, var(--accent-teal), #0d8064) !important;
    border: 1px solid rgba(15, 162, 123, 0.4) !important;
    box-shadow: 0 8px 30px rgba(15, 162, 123, 0.35) !important;
}

.medisam-slider-hero__chip:hover,
.medisam-slider-hero__chip:focus-visible {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px 0 rgba(0, 0, 0, 0.3);
    transform: translateY(-2px) scale(1.02);
}

.medisam-slider-hero__chip[href*="termin-buchen"]:hover,
.medisam-slider-hero__chip[href*="termin-buchen"]:focus-visible {
    background: linear-gradient(135deg, #12b78b, #0e9171) !important;
    border-color: rgba(18, 183, 139, 0.6) !important;
    box-shadow: 0 12px 35px rgba(15, 162, 123, 0.5) !important;
    transform: translateY(-2px) scale(1.02);
}

.medisam-slider-hero__proofs {
    margin-top: 16px;
}

.medisam-slider-hero__proof {
    min-height: 32px;
    display: inline-flex;
    align-items: center;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(3, 38, 51, 0.56);
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-modern) !important;
    font-size: 11.5px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0;
}

.btContent a:focus-visible,
.btContent button:focus-visible,
.mainHeader a:focus-visible,
.mainHeader button:focus-visible,
.medisam-mobile-cta a:focus-visible {
    outline: 3px solid rgba(15, 162, 123, 0.35) !important;
    outline-offset: 3px !important;
}

@media (max-width: 991px) {
    html,
    body,
    .btPageWrap,
    .btContentWrap {
        max-width: 100%;
        overflow-x: hidden !important;
    }

    .btHorizontalMenuTrigger,
    .btVerticalMenuTrigger {
        min-width: 48px !important;
        min-height: 48px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        padding: 8px !important;
    }

    .menuPort nav ul li a,
    .btVerticalMenuContent nav ul li a,
    .btMenuVertical .menuPort ul li a {
        min-height: 48px !important;
        display: flex !important;
        align-items: center !important;
        width: 100% !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    .menuPort ul.sub-menu li a {
        padding-left: 26px !important;
    }

    .btContentWrap {
        padding-bottom: 136px;
    }

    .btSiteFooter {
        padding-bottom: 0;
    }

    .medisam-mobile-cta {
        position: fixed;
        right: 12px;
        bottom: calc(12px + env(safe-area-inset-bottom));
        left: 12px;
        z-index: 999998;
        display: grid;
        grid-template-rows: auto auto;
        gap: 8px;
        padding: 9px;
        border: 1px solid rgba(255, 255, 255, 0.52);
        border-radius: 24px;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.38)),
            rgba(255, 255, 255, 0.46);
        box-shadow:
            0 18px 44px rgba(12, 62, 90, 0.24),
            inset 0 1px 0 rgba(255, 255, 255, 0.74);
        -webkit-backdrop-filter: blur(22px) saturate(1.45);
        backdrop-filter: blur(22px) saturate(1.45);
    }

    .medisam-mobile-cta__topbar,
    .medisam-mobile-cta__quick,
    .medisam-mobile-cta__actions {
        display: grid;
        gap: 8px;
    }

    .medisam-mobile-cta__topbar {
        grid-template-columns: minmax(78px, 0.82fr) minmax(0, 3fr);
        align-items: stretch;
    }

    .medisam-mobile-cta__quick {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .medisam-mobile-cta__actions {
        grid-template-columns: 1fr 1fr;
    }

    .medisam-mobile-cta__language,
    .medisam-mobile-cta__quick-link {
        min-height: 38px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
        padding: 0 9px;
        border: 1px solid rgba(255, 255, 255, 0.42);
        border-radius: 999px;
        background: rgba(255, 255, 255, 0.42);
        color: #0c3e5a !important;
        font-family: var(--font-modern) !important;
        font-size: 12px;
        font-weight: 800;
        line-height: 1;
        text-decoration: none !important;
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.64);
        transition: transform 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
        -webkit-tap-highlight-color: transparent;
        white-space: nowrap;
        min-width: 0;
    }

    .medisam-mobile-cta__language {
        overflow: visible;
    }

    .medisam-mobile-cta__language-fallback {
        min-width: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 6px;
    }

    .medisam-mobile-cta__language.has-language-widget .medisam-mobile-cta__language-fallback {
        display: none;
    }

    .medisam-mobile-cta__language .gtranslate_wrapper {
        width: 100% !important;
        height: 38px !important;
        min-height: 38px !important;
        padding: 0 7px !important;
        border: 0 !important;
        border-radius: 999px !important;
        background: transparent !important;
        box-shadow: none !important;
        transform: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    .medisam-mobile-cta__language .gtranslate_wrapper:hover {
        transform: none !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .medisam-mobile-cta__language .gt_switcher-popup {
        width: 100% !important;
        justify-content: center !important;
        gap: 5px !important;
    }

    .medisam-mobile-cta__language .gtranslate_wrapper img {
        width: 18px !important;
        height: 18px !important;
        min-width: 18px !important;
        min-height: 18px !important;
    }

    .medisam-mobile-cta__language .gtranslate_wrapper .gt_switcher-popup span:not([style*="bold"]) {
        display: inline-block !important;
        max-width: 44px;
        overflow: hidden;
        color: #0c3e5a !important;
        font-size: 11px !important;
        font-weight: 800 !important;
        line-height: 1 !important;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .medisam-mobile-cta__language .gtranslate_wrapper .gt_switcher-popup span[style*="bold"] {
        margin-left: 0 !important;
        color: var(--accent-teal) !important;
    }

    .medisam-mobile-cta__language:active,
    .medisam-mobile-cta__quick-link:active {
        transform: scale(0.97);
        background: rgba(255, 255, 255, 0.62);
    }

    .medisam-mobile-cta__language i,
    .medisam-mobile-cta__quick-link i {
        color: var(--accent-teal);
        font-size: 13px;
        line-height: 1;
    }

    .medisam-mobile-cta__button {
        min-height: 48px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 9px;
        border-radius: 16px;
        color: #ffffff !important;
        font-family: var(--font-modern) !important;
        font-size: 14px;
        font-weight: 800;
        line-height: 1;
        text-decoration: none !important;
        box-shadow: 0 10px 22px rgba(12, 62, 90, 0.18);
        transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
        -webkit-tap-highlight-color: transparent;
    }

    .medisam-mobile-cta__button:active {
        transform: translateY(1px) scale(0.99);
        box-shadow: 0 5px 14px rgba(12, 62, 90, 0.14);
    }

    .medisam-mobile-cta__button i {
        font-size: 18px;
        line-height: 1;
    }

    .medisam-mobile-cta__button--whatsapp {
        background: linear-gradient(135deg, #25d366, #128c7e);
    }

    .medisam-mobile-cta__button--booking {
        background: linear-gradient(135deg, var(--accent-teal), #0c3e5a);
    }

    .medisam-smile-gallery-section,
    .medisam-team-section,
    #meistgefragte-verfahren {
        scroll-margin-top: 78px;
    }

    .mystickyelements-fixed.mystickyelements-position-mobile-bottom {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .medisam-slider-hero {
        width: min(680px, calc(100% - 40px));
        margin-left: 24px !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    .medisam-slider-hero__title {
        max-width: 620px;
        font-size: 38px !important;
        line-height: 1.15 !important;
    }

    .medisam-slider-hero__copy {
        max-width: 560px;
        font-size: 15px !important;
        line-height: 1.45 !important;
    }
}

@media (max-width: 768px) {
    .bt_bb_content_slider_item.medisam-slider-hero-slide {
        min-height: 500px !important;
        height: 500px !important;
        background-image: url("/wp-content/uploads/2020/02/img-slider-03.jpg") !important;
        background-position: 72% center !important;
        background-size: cover !important;
    }

    .bt_bb_content_slider_item.medisam-slider-hero-slide::after {
        background:
            linear-gradient(180deg, rgba(4, 24, 34, 0.72) 0%, rgba(4, 24, 34, 0.44) 44%, rgba(4, 24, 34, 0.82) 100%),
            linear-gradient(90deg, rgba(4, 24, 34, 0.82) 0%, rgba(4, 24, 34, 0.56) 58%, rgba(4, 24, 34, 0.22) 100%);
    }

    .bt_bb_content_slider_item.medisam-slider-hero-slide .bt_bb_content_slider_item_content {
        min-height: 0 !important;
        height: 100% !important;
    }

    .medisam-slider-hero {
        width: calc(100% - 32px);
        margin: 0 auto !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding: 0 !important;
        transform: none !important;
    }

    .medisam-slider-hero__eyebrow {
        min-height: 28px;
        margin-bottom: 8px;
        padding: 5px 10px;
        font-size: 11px !important;
    }

    .medisam-slider-hero__title {
        max-width: 320px;
        font-size: 28px !important; /* Proportioned mobile heading */
        line-height: 1.15 !important;
    }

    .medisam-slider-hero__copy {
        max-width: 320px;
        margin-top: 8px;
        font-size: 14px !important; /* Proportioned mobile description */
        line-height: 1.4 !important;
    }

    .medisam-slider-hero__chips {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-top: 12px;
    }

    .medisam-slider-hero__chip {
        min-height: 36px;
        padding: 8px 9px;
        font-size: 11.5px !important;
        text-align: center;
    }

    .medisam-slider-hero__proofs {
        gap: 6px;
        margin-top: 10px;
    }

    .medisam-slider-hero__proof {
        min-height: 24px;
        padding: 5px 8px;
        font-size: 9.5px !important;
    }

    .mystickyelements-fixed.mystickyelements-position-screen-right {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    #sticky-social-icons-container {
        display: none !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    .medisam-team-section {
        position: relative;
        z-index: 3;
        margin-top: -292px !important;
        padding-bottom: 96px !important;
        background: linear-gradient(180deg, transparent 0, transparent 190px, #F7F7F5 190px, #F7F7F5 100%);
        touch-action: pan-y;
        user-select: none;
        -webkit-user-select: none;
    }

    .medisam-team-section .bt_bb_port,
    .medisam-team-section .bt_bb_cell,
    .medisam-team-section .bt_bb_cell_inner {
        width: 100% !important;
        max-width: 100% !important;
    }

    .medisam-team-section .bt_bb_cell {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .medisam-team-intro {
        width: calc(100% - 32px);
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 14px;
        margin: 0 auto 14px;
        padding: 16px 16px 12px;
        border: 1px solid rgba(12, 62, 90, 0.08);
        border-radius: 18px;
        background: rgba(255, 255, 255, 0.92);
        box-shadow: 0 16px 42px rgba(12, 62, 90, 0.1);
    }

    .medisam-team-intro__eyebrow {
        display: block;
        margin-bottom: 5px;
        color: var(--accent-teal);
        font-family: var(--font-modern) !important;
        font-size: 11px !important;
        font-weight: 800;
        line-height: 1.1;
    }

    .medisam-team-intro h2 {
        margin: 0;
        color: var(--primary-color);
        font-family: var(--font-heading) !important;
        font-size: 20px !important;
        font-weight: 800;
        line-height: 1.08 !important;
        letter-spacing: 0;
    }

    .medisam-team-intro p {
        margin: 7px 0 0;
        color: #536b75;
        font-family: var(--font-modern) !important;
        font-size: 12px;
        font-weight: 500;
        line-height: 1.35;
    }

    .medisam-team-intro__hint {
        flex: 0 0 auto;
        display: inline-flex;
        align-items: center;
        min-height: 28px;
        padding: 7px 10px;
        border-radius: 999px;
        background: rgba(15, 162, 123, 0.1);
        color: #0d8064;
        font-family: var(--font-modern) !important;
        font-size: 10px;
        font-weight: 800;
        line-height: 1;
        white-space: nowrap;
    }

    .medisam-team-section .bt_bb_cell_inner {
        position: relative;
        width: 100% !important;
        min-height: 650px;
        display: block !important;
        overflow: visible;
        padding: 28px 0 42px !important;
        perspective: 1200px;
    }

    .medisam-team-section .bt_bb_cell_inner::-webkit-scrollbar {
        height: 0;
    }

    .medisam-team-section .bt_bb_row,
    .medisam-team-section .bt_bb_row_holder {
        display: contents !important;
    }

    .medisam-team-card {
        position: absolute !important;
        top: 28px;
        left: 50%;
        width: min(calc(100vw - 86px), 330px) !important;
        max-width: min(calc(100vw - 86px), 330px) !important;
        margin: 0 !important;
        padding: 0 !important;
        transform-origin: center 62%;
        transition:
            transform 0.58s cubic-bezier(0.22, 1, 0.36, 1),
            filter 0.42s ease,
            opacity 0.42s ease;
        will-change: transform, opacity;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
    }

    .medisam-team-card--featured {
        z-index: 5;
        transform: translate3d(-50%, 18px, 0) rotate(0deg) scale(1) !important;
    }

    .medisam-team-card--back-left,
    .medisam-team-card--back-right {
        z-index: 2;
        cursor: pointer;
        pointer-events: auto;
        opacity: 0.58 !important;
        filter: saturate(0.9) brightness(0.96) !important;
    }

    .medisam-team-card--back-left:focus-visible,
    .medisam-team-card--back-right:focus-visible {
        outline: 3px solid rgba(15, 162, 123, 0.65);
        outline-offset: 6px;
    }

    .medisam-team-card--back-left {
        transform: translate3d(-92%, 0, 0) rotate(-8deg) scale(0.84) !important;
    }

    .medisam-team-card--back-right {
        transform: translate3d(-8%, 0, 0) rotate(8deg) scale(0.84) !important;
    }

    .medisam-team-card--deck-extra {
        display: none !important;
    }

    .medisam-team-card .bt_bb_column_content {
        width: 100%;
        height: 100%;
        display: grid;
        grid-template-rows: auto 1fr;
        padding: 0 !important;
        overflow: hidden;
        border: 1px solid rgba(12, 62, 90, 0.08);
        border-radius: 22px;
        background: #ffffff;
        box-shadow: 0 18px 45px rgba(12, 62, 90, 0.14);
        transform: translateZ(0);
    }

    .medisam-team-card--back-left .bt_bb_column_content,
    .medisam-team-card--back-right .bt_bb_column_content {
        box-shadow: 0 24px 60px rgba(12, 62, 90, 0.12);
    }

    .medisam-team-card__media,
    .medisam-team-card .bt_bb_image,
    .medisam-team-card .bt_bb_image > span,
    .medisam-team-card .bt_bb_image > a {
        position: relative;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 5;
        display: block !important;
        justify-self: stretch;
        margin-right: 0 !important;
        margin-left: 0 !important;
        overflow: hidden;
        border-radius: 22px 22px 0 0 !important;
        background: #071923;
        box-shadow: none;
    }

    .medisam-team-card img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover;
        object-position: center top;
        border-radius: 22px 22px 0 0 !important;
        transform: none !important;
    }

    .medisam-team-card .bt_bb_image_content {
        display: none !important;
    }

    .medisam-team-card .bt_bb_separator {
        display: none !important;
    }

    .medisam-team-card__languages,
    .medisam-team-card .bt_bb_headline_superheadline {
        width: fit-content;
        display: inline-flex !important;
        margin: 0 0 6px !important;
        padding: 5px 8px;
        border-radius: 999px;
        background: rgba(15, 162, 123, 0.12);
        color: #0d8064 !important;
        font-family: var(--font-modern) !important;
        font-size: 9.5px !important;
        font-weight: 800 !important;
        line-height: 1.1 !important;
    }

    .medisam-team-card .bt_bb_headline {
        margin: 0 !important;
        color: var(--primary-color) !important;
    }

    .medisam-team-card__name,
    .medisam-team-card .bt_bb_headline_tag {
        margin: 0 !important;
        color: var(--primary-color) !important;
        font-family: var(--font-heading) !important;
        font-size: 17px !important;
        font-weight: 800 !important;
        line-height: 1.08 !important;
        letter-spacing: 0;
    }

    .medisam-team-card__role,
    .medisam-team-card .bt_bb_headline_subheadline {
        margin-top: 5px !important;
        color: #536b75 !important;
        font-family: var(--font-modern) !important;
        font-size: 11px !important;
        font-weight: 700 !important;
        line-height: 1.25 !important;
    }

    .medisam-team-mobile-panel {
        width: 100%;
        min-height: 184px;
        display: grid;
        grid-template-rows: auto auto 1fr auto;
        align-content: start;
        box-sizing: border-box;
        padding: 16px 16px 17px;
        border-top: 1px solid rgba(12, 62, 90, 0.06);
        background: #ffffff;
    }

    .medisam-team-mobile-panel__language {
        width: fit-content;
        max-width: 100%;
        min-height: 28px;
        display: inline-flex;
        align-items: center;
        margin: 0 0 11px;
        padding: 6px 12px;
        border-radius: 999px;
        background: rgba(15, 162, 123, 0.12);
        color: #0d8064;
        font-family: var(--font-modern) !important;
        font-size: 11px;
        font-weight: 800;
        line-height: 1.1;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .medisam-team-mobile-panel__name {
        margin: 0;
        color: var(--primary-color);
        font-family: var(--font-heading) !important;
        font-size: 22px !important;
        font-weight: 800;
        line-height: 1.12 !important;
        letter-spacing: 0;
    }

    .medisam-team-mobile-panel__role {
        margin: 9px 0 0;
        color: #536b75;
        font-family: var(--font-modern) !important;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.25;
    }

    .medisam-team-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 12px;
        align-self: end;
        margin-top: 18px;
    }

    .medisam-team-actions__link {
        min-width: 0;
        min-height: 54px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 0 10px;
        border-radius: 16px;
        background: rgba(12, 62, 90, 0.08);
        color: var(--primary-color) !important;
        font-family: var(--font-modern) !important;
        font-size: 16px;
        font-weight: 800;
        line-height: 1;
        text-decoration: none !important;
        text-align: center;
        white-space: nowrap;
    }

    .medisam-team-actions__link--primary {
        background: linear-gradient(135deg, var(--accent-teal), #0c3e5a);
        color: #ffffff !important;
    }

    .medisam-brand-section {
        padding-bottom: 56px !important;
        overflow: hidden;
    }

    .medisam-brand-stack-row {
        width: 100vw;
        margin-top: 10px;
        margin-left: calc(50% - 50vw);
    }

    .medisam-brand-stack,
    .medisam-brand-marquee {
        position: relative;
        width: 100%;
        min-height: 196px;
        display: block !important;
        margin: 0 !important;
        overflow: hidden;
        isolation: isolate;
    }

    .medisam-brand-marquee {
        padding: 8px 0 18px;
        -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
        mask-image: linear-gradient(90deg, transparent 0, #000 9%, #000 91%, transparent 100%);
    }

    .medisam-brand-marquee__track {
        width: max-content;
        display: flex !important;
        align-items: stretch;
        gap: 16px;
        padding: 0;
        transform: translate3d(0, 0, 0);
        will-change: transform;
    }

    .medisam-brand-card {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        flex: 0 0 clamp(210px, 64vw, 280px) !important;
        width: clamp(210px, 64vw, 280px) !important;
        max-width: clamp(210px, 64vw, 280px) !important;
        margin: 0 !important;
        padding: 0 !important;
        z-index: 1;
        transform: none !important;
        opacity: 1 !important;
        cursor: default;
        transition: none;
    }

    .medisam-brand-card .bt_bb_column_inner_content {
        position: relative;
        min-height: 156px;
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 24px 28px !important;
        overflow: hidden;
        border: 1px solid rgba(12, 62, 90, 0.08);
        border-radius: 16px;
        background:
            linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(250, 253, 254, 0.98));
        box-shadow:
            0 18px 38px rgba(12, 62, 90, 0.12),
            0 -1px 0 rgba(255, 255, 255, 0.92) inset;
    }

    .medisam-brand-card .bt_bb_column_inner_content::before {
        content: "";
        position: absolute;
        top: 0;
        left: 24px;
        width: 88px;
        height: 9px;
        border-radius: 0 0 999px 999px;
        background: linear-gradient(90deg, rgba(15, 162, 123, 0.42), rgba(129, 217, 239, 0.58));
    }

    .medisam-brand-card .bt_bb_image {
        width: 100% !important;
        margin: 0 !important;
    }

    .medisam-brand-card .bt_bb_image:hover img {
        box-shadow: none;
        transform: none !important;
    }

    .medisam-brand-card .bt_bb_image span {
        display: flex !important;
        align-items: center;
        justify-content: center;
        min-height: 104px;
    }

    .medisam-brand-card img {
        width: auto !important;
        max-width: min(52vw, 220px) !important;
        max-height: 86px !important;
        object-fit: contain !important;
        margin: 0 auto !important;
        transform: none !important;
        filter: saturate(0.96) contrast(1.02);
    }

    @media (prefers-reduced-motion: reduce) {
        .medisam-brand-marquee {
            overflow-x: auto;
            -webkit-mask-image: none;
            mask-image: none;
            scroll-snap-type: x proximity;
        }

        .medisam-brand-marquee__track {
            transform: none !important;
        }

        .medisam-brand-card {
            scroll-snap-align: center;
        }
    }

    .medisam-team-overlap-anchor {
        position: relative;
        z-index: 1;
        width: 100vw;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        padding-bottom: 0 !important;
        overflow: hidden !important;
    }

    .medisam-team-overlap-anchor .bt_bb_port,
    .medisam-team-overlap-anchor .bt_bb_cell,
    .medisam-team-overlap-anchor .bt_bb_cell_inner,
    .medisam-team-overlap-anchor .bt_bb_row,
    .medisam-team-overlap-anchor .bt_bb_column,
    .medisam-team-overlap-anchor .bt_bb_column_content,
    .medisam-team-overlap-photo,
    .medisam-team-overlap-photo > span,
    .medisam-team-overlap-photo > a {
        position: relative;
        width: 100vw !important;
        max-width: 100vw !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
        display: block !important;
        overflow: hidden;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    .medisam-team-overlap-photo {
        z-index: 1;
    }

    .medisam-team-overlap-photo img {
        width: 100vw !important;
        max-width: 100vw !important;
        height: clamp(240px, 58vw, 320px) !important;
        display: block !important;
        object-fit: cover !important;
        object-position: center !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        transform: none !important;
    }

    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="url"],
    input[type="search"],
    input[type="number"],
    textarea,
    select,
    .wpcf7 input,
    .wpcf7 textarea,
    .wpcf7 select {
        min-height: 48px !important;
        font-size: 16px !important;
    }

    input[type="submit"],
    .wpcf7-submit,
    .wpforms-submit,
    .wpforms-submit-button {
        min-height: 50px !important;
        width: 100%;
    }

    .medisam-responsive-table,
    .medisam-responsive-table tbody,
    .medisam-responsive-table tr,
    .medisam-responsive-table td,
    .medisam-responsive-table th {
        display: block !important;
        width: 100% !important;
    }

    .bt_bb_text table.medisam-responsive-table,
    table.medisam-responsive-table {
        overflow-x: clip !important; overflow-y: visible !important;
        border: 0 !important;
        background: transparent !important;
    }

    .medisam-responsive-table thead,
    .medisam-responsive-table tr:first-child {
        display: none !important;
    }

    .medisam-responsive-table tr {
        margin: 0 0 14px !important;
        padding: 12px 14px !important;
        border: 1px solid rgba(12, 62, 90, 0.1) !important;
        border-radius: 12px !important;
        background: #ffffff !important;
        box-shadow: var(--shadow-soft) !important;
    }

    .medisam-responsive-table td {
        min-height: 42px;
        display: grid !important;
        grid-template-columns: minmax(110px, 42%) 1fr;
        gap: 12px;
        align-items: start;
        padding: 10px 0 !important;
        border: 0 !important;
        border-bottom: 1px solid rgba(12, 62, 90, 0.08) !important;
        text-align: right !important;
    }

    .medisam-responsive-table td:last-child {
        border-bottom: 0 !important;
    }

    .medisam-responsive-table td::before {
        content: attr(data-label);
        color: var(--primary-color);
        font-weight: 700;
        text-align: left;
    }

    .bt_bb_column_inner:has(.bt_bb_image):has(.bt_bb_headline):hover,
    .bt_bb_column_inner:has(.bt_bb_icon):has(.bt_bb_headline):hover,
    .bt_bb_image:hover img,
    .bt_bb_button.bt_bb_style_filled a:hover,
    .bt_bb_button.bt_bb_style_outline a:hover {
        transform: none !important;
    }
}

@media (max-width: 420px) {
    .medisam-slider-hero {
        width: calc(100% - 30px);
        padding-top: 46px;
        padding-bottom: 24px;
    }

    .medisam-slider-hero__title {
        font-size: 23px !important;
    }

    .medisam-slider-hero__copy {
        font-size: 11.5px !important;
    }

    .medisam-slider-hero__chip {
        min-height: 34px;
        font-size: 10.5px !important;
    }

    .medisam-slider-hero__proof {
        font-size: 9px !important;
    }

    .medisam-mobile-cta {
        right: 8px;
        left: 8px;
        gap: 7px;
        padding: 7px;
        border-radius: 20px;
    }

    .medisam-mobile-cta__topbar,
    .medisam-mobile-cta__quick,
    .medisam-mobile-cta__actions {
        gap: 6px;
    }

    .medisam-mobile-cta__topbar {
        grid-template-columns: minmax(72px, 0.8fr) minmax(0, 3fr);
    }

    .medisam-mobile-cta__language,
    .medisam-mobile-cta__quick-link {
        min-height: 35px;
        gap: 5px;
        padding: 0 6px;
        font-size: 11px;
    }

    .medisam-mobile-cta__language .gtranslate_wrapper {
        height: 35px !important;
        min-height: 35px !important;
        padding: 0 5px !important;
    }

    .medisam-mobile-cta__language .gtranslate_wrapper .gt_switcher-popup span:not([style*="bold"]) {
        max-width: 36px;
        font-size: 10px !important;
    }

    .medisam-mobile-cta__button {
        min-height: 46px;
        gap: 7px;
        border-radius: 14px;
        font-size: 13px;
    }
}

/* Fix: Remove stray closing braces from previous edit */

/* ==============================================================
   UI UX PRO MAX v2.0 — DRAMATIC VISUAL OVERHAUL
   Aggressively overrides theme defaults for maximum visual impact
   ============================================================== */

/* ---------------------------------------------------------------
   A. ANIMATED GRADIENT HERO BACKGROUND
   Replaces the flat blue section with a living, breathing gradient
--------------------------------------------------------------- */
.bt_bb_section:first-of-type {
    background: linear-gradient(135deg, #0c3e5a 0%, #051c2a 100%) !important;
    position: relative;
    overflow: hidden;
}

.bt_bb_section:first-of-type::before {
    content: '';
    position: absolute;
    top: -60%;
    left: -60%;
    width: 220%;
    height: 220%;
    background:
        radial-gradient(circle at 30% 40%, rgba(15, 162, 123, 0.4), transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(12, 62, 90, 0.3), transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(194, 149, 71, 0.15), transparent 40%);
    animation: aurora-breathe 12s ease-in-out infinite alternate;
    z-index: 0;
    pointer-events: none;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.bt_bb_section:first-of-type > * {
    position: relative;
    z-index: 1;
}

@keyframes aurora-breathe {
    0% { transform: translate(0, 0) rotate(0deg) scale(1); opacity: 0.7; }
    50% { transform: translate(-3%, 3%) rotate(2deg) scale(1.05); opacity: 1; }
    100% { transform: translate(3%, -2%) rotate(-1deg) scale(1.02); opacity: 0.8; }
}

/* ---------------------------------------------------------------
   B. SECTION WAVE DIVIDERS
   Curved transitions between sections for premium flow
--------------------------------------------------------------- */
.bt_bb_section + .bt_bb_section {
    margin-top: -2px;
}

.bt_bb_section.bt_bb_color_scheme_2 {
    position: relative;
}

.bt_bb_section.bt_bb_color_scheme_2::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 0;
    width: 100%;
    height: 40px;
    background: inherit;
    clip-path: ellipse(55% 100% at 50% 100%);
    z-index: 2;
}

/* ---------------------------------------------------------------
   C. DRAMATIC GLASSMORPHISM CARDS
   Visible frosted glass with colored accents and depth
--------------------------------------------------------------- */
.bt_bb_column_inner:has(.bt_bb_image):has(.bt_bb_headline),
.bt_bb_column_inner:has(.bt_bb_icon):has(.bt_bb_headline),
.bt_bb_column_inner.glass-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.85)) !important;
    backdrop-filter: blur(20px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
    border: 1px solid rgba(15, 162, 123, 0.15) !important;
    border-radius: 20px !important;
    padding: 35px 25px !important;
    box-shadow:
        0 8px 32px rgba(12, 62, 90, 0.08),
        0 2px 8px rgba(15, 162, 123, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
    position: relative;
    overflow: hidden;
}

/* Prevent empty glass cards from ruining the hero slider */
.bt_bb_content_slider_item .glass-card {
    background: transparent !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
}
.bt_bb_content_slider_item .glass-card::before {
    display: none !important;
}

/* Animated gradient border-top accent */
.bt_bb_column_inner:has(.bt_bb_image):has(.bt_bb_headline)::before,
.bt_bb_column_inner:has(.bt_bb_icon):has(.bt_bb_headline)::before,
.bt_bb_column_inner.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-teal), #14b88e, var(--accent-gold), var(--accent-teal));
    background-size: 300% 100%;
    animation: gradient-slide 4s linear infinite;
    border-radius: 20px 20px 0 0;
    z-index: 2;
}

@keyframes gradient-slide {
    0% { background-position: 0% 50%; }
    100% { background-position: 300% 50%; }
}

/* Dramatic hover lift with glow */
.bt_bb_column_inner:has(.bt_bb_image):has(.bt_bb_headline):hover,
.bt_bb_column_inner:has(.bt_bb_icon):has(.bt_bb_headline):hover,
.bt_bb_column_inner.glass-card:hover {
    transform: translateY(-12px) scale(1.02) !important;
    box-shadow:
        0 20px 50px rgba(12, 62, 90, 0.15),
        0 8px 20px rgba(15, 162, 123, 0.12),
        0 0 30px rgba(15, 162, 123, 0.08) !important;
    border-color: var(--accent-teal) !important;
}

/* Icon pop on card hover */
.bt_bb_column_inner:hover .bt_bb_icon_holder {
    transform: scale(1.25) rotate(10deg) !important;
    color: var(--accent-teal) !important;
    filter: drop-shadow(0 4px 8px rgba(15, 162, 123, 0.3));
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* ---------------------------------------------------------------
   D. GRADIENT TEXT — DRAMATIC & VISIBLE
   Only on light-background scheme_2 sections, NOT on elements
   with inline white text or dark backgrounds (scheme_1, scheme_18, etc.)
   NOTE: BoldBuilder puts both .bt_bb_color_scheme_2 AND .bt_bb_headline
   on the SAME <header> element, so we need BOTH compound (no space)
   and descendant (space) selectors.
--------------------------------------------------------------- */
/* Compound: when scheme + headline are on same element */
.bt_bb_color_scheme_2.bt_bb_headline:not([style*="color:rgb(255"]):not([style*="color: rgb(255"]) h2,
.bt_bb_color_scheme_2.bt_bb_headline:not([style*="color:rgb(255"]):not([style*="color: rgb(255"]) h3 {
    background: linear-gradient(135deg, #0c3e5a 0%, #0fa27b 50%, #0d8c6a 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block;
    letter-spacing: -0.02em;
}
/* Descendant: when headline is inside a scheme_2 section */
.bt_bb_color_scheme_2 .bt_bb_headline:not([style*="color:rgb(255"]):not([style*="color: rgb(255"]) h2,
.bt_bb_color_scheme_2 .bt_bb_headline:not([style*="color:rgb(255"]):not([style*="color: rgb(255"]) h3 {
    background: linear-gradient(135deg, #0c3e5a 0%, #0fa27b 50%, #0d8c6a 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    display: inline-block;
    letter-spacing: -0.02em;
}

/* White text headlines: protect on dark sections AND inline-white-styled headlines */
/* Compound selectors (same element) */
.bt_bb_color_scheme_1.bt_bb_headline h1,
.bt_bb_color_scheme_1.bt_bb_headline h2,
.bt_bb_color_scheme_1.bt_bb_headline h3,
.bt_bb_color_scheme_18.bt_bb_headline h1,
.bt_bb_color_scheme_18.bt_bb_headline h2,
.bt_bb_color_scheme_18.bt_bb_headline h3,
/* Descendant selectors (child element) */
.bt_bb_color_scheme_1 .bt_bb_headline h1,
.bt_bb_color_scheme_1 .bt_bb_headline h2,
.bt_bb_color_scheme_1 .bt_bb_headline h3,
.bt_bb_color_scheme_18 .bt_bb_headline h1,
.bt_bb_color_scheme_18 .bt_bb_headline h2,
.bt_bb_color_scheme_18 .bt_bb_headline h3,
/* Any headline with explicit white color */
.bt_bb_headline[style*="color:rgb(255"] h1,
.bt_bb_headline[style*="color:rgb(255"] h2,
.bt_bb_headline[style*="color:rgb(255"] h3,
.bt_bb_headline[style*="color: rgb(255"] h1,
.bt_bb_headline[style*="color: rgb(255"] h2,
.bt_bb_headline[style*="color: rgb(255"] h3 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

/* ---------------------------------------------------------------
   E. GLOWING CTA BUTTONS
   Neon-glow effect on primary action buttons
--------------------------------------------------------------- */
.bt_bb_button.bt_bb_style_filled a {
    background: linear-gradient(135deg, #0fa27b 0%, #14b88e 50%, #0d8c6a 100%) !important;
    background-size: 200% 200% !important;
    animation: btn-gradient-shift 3s ease infinite;
    color: #ffffff !important;
    border: none !important;
    border-radius: 50px !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px !important;
    padding: 16px 36px !important;
    box-shadow: 0 4px 15px rgba(15, 162, 123, 0.3) !important;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: relative;
    overflow: hidden;
}

@keyframes btn-gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.bt_bb_button.bt_bb_style_filled a:hover {
    transform: translateY(-4px) scale(1.03) !important;
    box-shadow:
        0 10px 30px rgba(15, 162, 123, 0.4),
        0 0 40px rgba(15, 162, 123, 0.15) !important;
}

/* Outline buttons get a premium border-glow */
.bt_bb_button.bt_bb_style_outline a {
    border: 2px solid var(--accent-teal) !important;
    border-radius: 50px !important;
    background: transparent !important;
    color: var(--accent-teal) !important;
    font-weight: 600 !important;
    padding: 14px 32px !important;
    box-shadow: 0 0 0 rgba(15, 162, 123, 0) !important;
    transition: all 0.35s ease !important;
}

.bt_bb_button.bt_bb_style_outline a:hover {
    background: linear-gradient(135deg, #0fa27b, #14b88e) !important;
    color: #ffffff !important;
    transform: translateY(-4px) !important;
    box-shadow: 0 8px 25px rgba(15, 162, 123, 0.35) !important;
    border-color: transparent !important;
}

/* ---------------------------------------------------------------
   F. SCROLL-REVEAL ANIMATIONS
   Handled by JavaScript IntersectionObserver in functions.php
   (medisam_visual_dom_enhancer) for proper viewport detection
--------------------------------------------------------------- */

/* ---------------------------------------------------------------
   G. PREMIUM FOOTER STYLING
   Dark gradient footer with modern aesthetics
--------------------------------------------------------------- */
.btFooterWidgets {
    background: linear-gradient(180deg, #0a2a3d 0%, #071e2c 100%) !important;
    border-top: 3px solid var(--accent-teal) !important;
    padding-top: 60px !important;
}

.btFooterWidgets .btBox h4,
.btFooterWidgets .btBox .widget-title {
    color: #ffffff !important;
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 15px;
}

.btFooterWidgets .btBox h4::after,
.btFooterWidgets .btBox .widget-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-teal), transparent);
    border-radius: 2px;
}

.btFooterWidgets a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: all 0.3s ease !important;
}

.btFooterWidgets a:hover {
    color: var(--accent-teal) !important;
    padding-left: 5px !important;
}

/* ---------------------------------------------------------------
   H. ACCORDION / FAQ PREMIUM STYLING
--------------------------------------------------------------- */
.bt_bb_accordion .bt_bb_accordion_item {
    background: linear-gradient(145deg, #ffffff, #f8fafc) !important;
    border-radius: 14px !important;
    margin-bottom: 12px !important;
    border: 1px solid rgba(12, 62, 90, 0.06) !important;
    overflow: hidden;
    transition: all 0.3s ease !important;
}

.bt_bb_accordion .bt_bb_accordion_item:hover {
    box-shadow: 0 6px 20px rgba(12, 62, 90, 0.08) !important;
    border-color: rgba(15, 162, 123, 0.2) !important;
}

.bt_bb_accordion .bt_bb_accordion_item .bt_bb_accordion_item_title {
    font-weight: 600 !important;
    padding: 20px 25px !important;
    font-size: 17px !important;
}

.bt_bb_accordion .bt_bb_accordion_item.on {
    border-color: var(--accent-teal) !important;
    box-shadow: 0 8px 25px rgba(15, 162, 123, 0.1) !important;
}

/* ---------------------------------------------------------------
   I. IMAGE GALLERY PREMIUM HOVER
--------------------------------------------------------------- */
.bt_bb_image {
    border-radius: 16px !important;
    overflow: hidden;
}

.bt_bb_image img {
    border-radius: 16px !important;
    transition: all 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
}

.bt_bb_image:hover img {
    transform: scale(1.08) !important;
    filter: brightness(1.05) contrast(1.05);
}

/* ---------------------------------------------------------------
   J. LATEST POSTS / BLOG CARDS
--------------------------------------------------------------- */
.bt_bb_latest_posts .bt_bb_latest_posts_item {
    border-radius: 16px !important;
    overflow: hidden;
    transition: all 0.4s ease !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06) !important;
}

.bt_bb_latest_posts .bt_bb_latest_posts_item:hover {
    transform: translateY(-8px) !important;
    box-shadow: 0 15px 40px rgba(12, 62, 90, 0.12) !important;
}

@media (max-width: 767px) {
    .medisam-compact-blog-section {
        padding-top: 48px !important;
        padding-bottom: 74px !important;
        background:
            linear-gradient(180deg, #ffffff 0%, #f7fcfe 46%, #ffffff 100%) !important;
    }

    .medisam-compact-blog-section .bt_bb_port,
    .medisam-compact-blog-section .bt_bb_cell,
    .medisam-compact-blog-section .bt_bb_cell_inner {
        max-width: 100% !important;
    }

    .medisam-compact-blog-section .bt_bb_cell_inner {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .medisam-compact-blog-section .bt_bb_headline {
        margin-bottom: 18px !important;
    }

    .medisam-compact-blog-section .bt_bb_headline_tag {
        font-size: 32px !important;
        line-height: 1.08 !important;
        letter-spacing: 0 !important;
    }

    .medisam-compact-blog-section .bt_bb_separator {
        display: none !important;
    }

    .medisam-compact-blog-list {
        display: flex !important;
        flex-direction: column !important;
        gap: 18px !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .medisam-compact-blog-list .bt_bb_latest_posts_item,
    .medisam-compact-blog-list.bt_bb_columns_4 .bt_bb_latest_posts_item {
        float: none !important;
        display: grid !important;
        grid-template-columns: minmax(136px, 43%) minmax(0, 1fr) !important;
        align-items: center !important;
        gap: 16px !important;
        width: 100% !important;
        min-height: 148px !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow-x: clip !important; overflow-y: visible !important;
        background: rgba(255, 255, 255, 0.9) !important;
        border: 1px solid rgba(12, 62, 90, 0.05) !important;
        border-radius: 20px !important;
        box-shadow: 0 14px 34px rgba(12, 62, 90, 0.08) !important;
        transform: none !important;
        transition: transform 0.28s ease, box-shadow 0.28s ease !important;
    }

    .medisam-compact-blog-list .bt_bb_latest_posts_item:hover {
        transform: translateY(-2px) !important;
        box-shadow: 0 18px 42px rgba(12, 62, 90, 0.12) !important;
    }

    .medisam-compact-blog-list .bt_bb_latest_posts_item_image {
        position: relative !important;
        width: 100% !important;
        aspect-ratio: 1.32 / 1 !important;
        min-height: 132px !important;
        margin: 0 !important;
        overflow: hidden !important;
        border-radius: 18px !important;
        box-shadow: 0 10px 26px rgba(12, 62, 90, 0.1) !important;
        background: #e9f4f7 !important;
    }

    .medisam-compact-blog-list .bt_bb_latest_posts_item_image a {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
    }

    .medisam-compact-blog-list .bt_bb_latest_posts_item_image img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        object-fit: cover !important;
        border-radius: 18px !important;
        transform: none !important;
        filter: saturate(1.04) contrast(1.02) !important;
    }

    .medisam-compact-blog-date {
        position: absolute !important;
        top: 10px !important;
        left: 10px !important;
        z-index: 2 !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        min-width: 70px !important;
        height: 30px !important;
        padding: 0 12px !important;
        border-radius: 999px !important;
        background: rgba(255, 255, 255, 0.92) !important;
        color: #0c3e5a !important;
        font-size: 12px !important;
        font-weight: 700 !important;
        line-height: 1 !important;
        word-spacing: 2px !important;
        box-shadow: 0 8px 20px rgba(12, 62, 90, 0.12) !important;
    }

    .medisam-compact-blog-list .bt_bb_latest_posts_item_content {
        min-width: 0 !important;
        padding: 8px 10px 8px 0 !important;
    }

    .medisam-compact-blog-meta {
        margin: 0 0 7px !important;
        color: rgba(12, 62, 90, 0.58) !important;
        font-size: 12px !important;
        font-weight: 600 !important;
        line-height: 1.2 !important;
    }

    .medisam-compact-blog-list .bt_bb_latest_posts_item_title {
        margin: 0 0 8px !important;
        padding: 0 !important;
        font-size: 18px !important;
        line-height: 1.18 !important;
        font-weight: 800 !important;
        letter-spacing: 0 !important;
    }

    .medisam-compact-blog-list .bt_bb_latest_posts_item_title a {
        display: -webkit-box !important;
        overflow: hidden !important;
        color: #101820 !important;
        text-decoration: none !important;
        -webkit-line-clamp: 3 !important;
        -webkit-box-orient: vertical !important;
    }

    .medisam-compact-blog-list .bt_bb_latest_posts_item_excerpt {
        display: -webkit-box !important;
        overflow: hidden !important;
        margin: 0 !important;
        color: rgba(16, 24, 32, 0.72) !important;
        font-size: 11.5px !important;
        line-height: 1.45 !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }
}

@media (max-width: 430px) {
    .medisam-compact-blog-section .bt_bb_cell_inner {
        padding-right: 12px !important;
        padding-left: 12px !important;
    }

    .medisam-compact-blog-list .bt_bb_latest_posts_item,
    .medisam-compact-blog-list.bt_bb_columns_4 .bt_bb_latest_posts_item {
        grid-template-columns: 130px minmax(0, 1fr) !important;
        gap: 13px !important;
        min-height: 136px !important;
        border-radius: 18px !important;
    }

    .medisam-compact-blog-list .bt_bb_latest_posts_item_image {
        min-height: 128px !important;
        border-radius: 16px !important;
    }

    .medisam-compact-blog-list .bt_bb_latest_posts_item_image img {
        border-radius: 16px !important;
    }

    .medisam-compact-blog-list .bt_bb_latest_posts_item_title {
        font-size: 16px !important;
        line-height: 1.17 !important;
    }

    .medisam-compact-blog-list .bt_bb_latest_posts_item_excerpt {
        display: none !important;
    }
}

/* ---------------------------------------------------------------
   J2. MOBILE SMILE GALLERY — COVER + THUMBNAIL RAIL
--------------------------------------------------------------- */
.medisam-smile-gallery-card {
    transition: var(--transition-smooth) !important;
}

.medisam-smile-gallery-card:hover {
    transform: translateY(-5px);
}

.medisam-smile-gallery-card .bt_bb_grid_item_inner {
    border-radius: 24px !important;
    background: var(--medisam-surface) !important;
    border: 1px solid var(--medisam-border) !important;
    box-shadow: var(--medisam-shadow-luxury) !important;
    overflow: hidden !important;
    display: flex !important;
    flex-direction: column !important;
    height: 100% !important;
    transition: var(--transition-smooth) !important;
}

.medisam-smile-gallery-media {
    position: relative !important;
    display: block !important;
    width: 100% !important;
    height: auto !important;
    overflow: hidden !important;
    border-radius: 24px 24px 0 0 !important;
    background: #101820 !important;
}

.medisam-smile-gallery-main {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    overflow: hidden !important;
}

.medisam-smile-gallery-main img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    transition: opacity 0.22s ease, transform 0.36s ease, filter 0.36s ease !important;
}

.medisam-smile-gallery-image--swapping {
    opacity: 0.35 !important;
    transform: scale(1.025) !important;
    filter: blur(3px) saturate(0.92) !important;
}

.medisam-smile-gallery-thumbs {
    position: absolute !important;
    right: 14px !important;
    top: 14px !important;
    z-index: 10 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 8px !important;
    background: transparent !important;
    width: auto !important;
    padding: 0 !important;
    margin: 0 !important;
}

.medisam-smile-gallery-thumb {
    display: block !important;
    width: 52px !important;
    height: 52px !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    appearance: none !important;
    border: 2px solid rgba(255, 255, 255, 0.4) !important;
    border-radius: 12px !important;
    background: rgba(255, 255, 255, 0.2) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15) !important;
    cursor: pointer !important;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.medisam-smile-gallery-thumb img {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    border-radius: 10px !important;
    opacity: 0.9 !important;
}

.medisam-smile-gallery-thumb:not(.is-active) {
    opacity: 0.75 !important;
}

.medisam-smile-gallery-thumb.is-active {
    border-color: var(--accent-teal) !important;
    box-shadow: 0 0 12px rgba(15, 162, 123, 0.5), 0 4px 12px rgba(0, 0, 0, 0.25) !important;
    transform: scale(1.08) !important;
    opacity: 1 !important;
}

.medisam-smile-gallery-thumb:hover {
    transform: translateY(-1px) scale(1.04) !important;
    border-color: rgba(255, 255, 255, 0.8) !important;
    opacity: 1 !important;
}

.medisam-smile-gallery-thumb:focus-visible {
    outline: 3px solid rgba(15, 162, 123, 0.35) !important;
    outline-offset: 2px !important;
}

.medisam-smile-gallery-card .bt_bb_grid_item_post_content {
    padding: 24px !important;
    background: var(--medisam-surface) !important;
    border-top: 1px solid var(--medisam-border) !important;
    flex-grow: 1 !important;
}

.medisam-smile-gallery-card .bt_bb_grid_item_category {
    font-size: 11px !important;
    text-transform: uppercase !important;
    letter-spacing: 1.5px !important;
    font-weight: 700 !important;
    color: var(--accent-teal) !important;
    margin-bottom: 8px !important;
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px !important;
}

.medisam-smile-gallery-card .bt_bb_grid_item_category a {
    color: var(--accent-teal) !important;
    background: var(--medisam-bg-mist) !important;
    padding: 4px 10px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(15, 162, 123, 0.15) !important;
    text-decoration: none !important;
    transition: var(--transition-smooth) !important;
}

.medisam-smile-gallery-card .bt_bb_grid_item_category a:hover {
    background: var(--accent-teal) !important;
    color: #ffffff !important;
    border-color: var(--accent-teal) !important;
}

.medisam-smile-gallery-card .bt_bb_grid_item_post_title {
    font-size: 19px !important;
    font-weight: 800 !important;
    color: var(--primary-color) !important;
    margin: 6px 0 0 !important;
    letter-spacing: -0.3px !important;
}

@media (max-width: 767px) {
    .medisam-smile-gallery-section {
        overflow: hidden !important;
    }

    .medisam-smile-gallery-section .bt_bb_cell_inner {
        padding-right: 18px !important;
        padding-left: 18px !important;
    }

    .medisam-smile-gallery-main img {
        min-height: 360px !important;
    }
}

@media (max-width: 430px) {
    .medisam-smile-gallery-section .bt_bb_cell_inner {
        padding-right: 14px !important;
        padding-left: 14px !important;
    }

    .medisam-smile-gallery-main img {
        min-height: 320px !important;
    }

    .medisam-smile-gallery-thumbs {
        right: 10px !important;
        top: 10px !important;
        gap: 6px !important;
    }

    .medisam-smile-gallery-thumb {
        width: 44px !important;
        height: 44px !important;
        border-radius: 10px !important;
    }

    .medisam-smile-gallery-thumb img {
        border-radius: 8px !important;
    }

    .medisam-smile-gallery-card .bt_bb_grid_item_post_content {
        padding: 18px 20px 20px !important;
    }
}

/* ---------------------------------------------------------------
   K. GLOBAL SECTION BACKGROUNDS — ALTERNATING PREMIUM
--------------------------------------------------------------- */
.bt_bb_section.bt_bb_color_scheme_2:nth-of-type(even) {
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%) !important;
}

.bt_bb_section.bt_bb_color_scheme_2:nth-of-type(odd) {
    background: #ffffff !important;
}

/* ---------------------------------------------------------------
   L. ACCESSIBILITY: REDUCED MOTION
--------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ---------------------------------------------------------------
   H. PREMIUM LANGUAGE SELECTOR (GTranslate)
   Modern glassmorphism pill for the top bar
--------------------------------------------------------------- */
/* Glassmorphism Wrapper Pill */
.gtranslate_wrapper {
    background: rgba(255, 255, 255, 0.72) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    border-radius: 999px !important;
    padding: 5px 12px 5px 6px !important;
    box-shadow: 
        0 8px 32px rgba(12, 62, 90, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.4) !important;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    display: inline-flex !important;
    align-items: center !important;
    height: 34px !important; /* Perfect height alignment */
    box-sizing: border-box !important;
}

.gtranslate_wrapper:hover {
    background: rgba(255, 255, 255, 0.92) !important;
    border-color: rgba(15, 162, 123, 0.4) !important;
    box-shadow: 
        0 12px 36px rgba(12, 62, 90, 0.18),
        0 0 20px rgba(15, 162, 123, 0.1) !important;
    transform: translateY(-1px) scale(1.02);
}

/* Base style for the switcher link inside */
.gtranslate_wrapper .gt_switcher-popup {
    display: inline-flex !important;
    align-items: center !important;
    text-decoration: none !important;
    gap: 6px !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    height: 100% !important;
}

/* Flag image */
.gtranslate_wrapper img {
    border-radius: 50% !important; /* Circular flags for modern premium feel */
    margin: 0 !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    object-fit: cover !important;
    border: 1.5px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1) !important;
}

/* Ensure the text is visible and styled properly */
.gtranslate_wrapper .gt_switcher-popup span:not([style*="bold"]) {
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    font-family: var(--font-modern), sans-serif !important;
    font-size: 13px !important;
    text-decoration: none !important;
    display: inline-block !important;
    line-height: 1 !important;
}

/* Adjust the arrow indicator */
.gtranslate_wrapper .gt_switcher-popup span[style*="bold"] {
    color: var(--primary-color) !important;
    font-size: 8px !important;
    margin-left: 2px !important;
    opacity: 0.6 !important;
    display: inline-block !important;
}

/* The dropdown menu popup */
.gt_white_content {
    position: absolute !important;
    top: 100% !important;
    right: 0 !important;
    left: auto !important;
    margin-top: 8px !important;
    background: rgba(10, 42, 61, 0.95) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3) !important;
    overflow: hidden !important;
    padding: 10px !important;
    width: max-content !important;
}

/* Dropdown languages grid */
.gt_languages {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px !important;
    padding: 4px !important;
}

/* Dropdown items */
.gt_languages a {
    color: rgba(255, 255, 255, 0.85) !important;
    padding: 8px 12px !important;
    border-radius: 8px !important;
    transition: all 0.2s ease !important;
    display: flex !important;
    align-items: center !important;
    text-decoration: none !important;
    gap: 8px !important;
    font-family: var(--font-modern), sans-serif !important;
    font-size: 12.5px !important;
    font-weight: 600 !important;
}

.gt_languages a:hover,
.gt_languages a.gt-current-lang {
    background: rgba(15, 162, 123, 0.25) !important;
    color: #ffffff !important;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.gt_languages a img {
    width: 18px !important;
    height: 18px !important;
}

/* Hide language text on mobile to prevent header overlap */
@media (max-width: 768px) {
    .gtranslate_wrapper {
        padding: 5px 6px 5px 6px !important;
        height: 32px !important;
    }
    .gtranslate_wrapper .gt_switcher-popup span:not([style*="bold"]) {
        display: none !important;
    }
    .gtranslate_wrapper .gt_switcher-popup span[style*="bold"] {
        margin-left: 0 !important;
    }
    .gt_white_content {
        max-width: 80vw !important;
        z-index: 1000001 !important;
    }
    .medisam-mobile-cta,
    .medisam-mobile-cta__topbar,
    .medisam-mobile-cta__language,
    .medisam-mobile-cta__language .gtranslate_wrapper {
        overflow-x: clip !important; overflow-y: visible !important;
    }
    .medisam-mobile-cta__language .gt_black_overlay {
        z-index: 999997 !important;
    }
    .medisam-mobile-cta__language .gt_white_content {
        position: fixed !important;
        top: auto !important;
        right: 10px !important;
        bottom: calc(124px + env(safe-area-inset-bottom)) !important;
        left: 10px !important;
        width: auto !important;
        max-width: calc(100vw - 20px) !important;
        height: auto !important;
        max-height: 54vh !important;
        margin: 0 !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        z-index: 1000002 !important;
    }
    .gt_languages {
        grid-template-columns: 1fr !important;
    }
    .medisam-mobile-cta__language .gt_languages {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        max-height: none !important;
        overflow-x: clip !important; overflow-y: visible !important;
    }
    .medisam-mobile-cta__language .gtranslate_wrapper {
        padding: 0 5px !important;
        height: 35px !important;
    }
    .medisam-mobile-cta__language .gtranslate_wrapper .gt_switcher-popup span:not([style*="bold"]) {
        display: inline-block !important;
    }
}

/* ==============================================================
   INNER PAGE UI/UX IMPROVEMENTS v1.0
   Premium enhancements for all subpages
   ============================================================== */

/* ---------------------------------------------------------------
   M. INNER PAGE HERO BANNER
   Premium gradient banner for the first section of inner pages
--------------------------------------------------------------- */
.medisam-page-hero {
    position: relative !important;
    overflow: hidden !important;
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

.medisam-page-hero::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    right: -20% !important;
    width: 80% !important;
    height: 200% !important;
    background: radial-gradient(circle, rgba(15, 162, 123, 0.12), transparent 60%) !important;
    pointer-events: none !important;
    z-index: 0 !important;
}

.medisam-page-hero > * {
    position: relative !important;
    z-index: 1 !important;
}

/* Page hero title styling */
.medisam-page-hero .bt_bb_headline h1,
.medisam-page-hero .bt_bb_headline h2 {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    font-size: clamp(32px, 5vw, 52px) !important;
    line-height: 1.1 !important;
    letter-spacing: -0.02em !important;
}

/* Hero subtitle */
.medisam-page-hero .bt_bb_headline_subheadline {
    font-family: var(--font-modern) !important;
    font-size: clamp(14px, 2vw, 18px) !important;
    font-weight: 500 !important;
    line-height: 1.6 !important;
    opacity: 0.85 !important;
    margin-top: 8px !important;
}

/* Superheadline as eyebrow */
.medisam-page-hero .bt_bb_headline_superheadline {
    display: inline-block !important;
    font-family: var(--font-modern) !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    margin-bottom: 12px !important;
}

/* Wave divider on page hero */
.medisam-page-hero::after {
    content: '' !important;
    position: absolute !important;
    bottom: -1px !important;
    left: 0 !important;
    right: 0 !important;
    height: 50px !important;
    background: #ffffff !important;
    clip-path: ellipse(55% 100% at 50% 100%) !important;
    z-index: 2 !important;
}

/* Dark hero section wave - match next section bg */
.medisam-page-hero.bt_bb_color_scheme_1::after,
.medisam-page-hero.bt_bb_color_scheme_18::after {
    background: var(--light-slate) !important;
}

/* Light hero section wave - use white */
.medisam-page-hero.bt_bb_color_scheme_2::after {
    background: #ffffff !important;
}

/* ---------------------------------------------------------------
   N. BREADCRUMB MODERNIZATION
--------------------------------------------------------------- */
.medisam-breadcrumb {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.18) !important;
    margin-bottom: 20px !important;
    font-family: var(--font-modern) !important;
    font-size: 13px !important;
    font-weight: 600 !important;
}

.medisam-breadcrumb a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.medisam-breadcrumb a:hover {
    color: #ffffff !important;
}

.medisam-breadcrumb__separator {
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 10px !important;
}

.medisam-breadcrumb__current {
    color: #ffffff !important;
}

/* Light section breadcrumbs */
.bt_bb_color_scheme_2 .medisam-breadcrumb {
    background: rgba(12, 62, 90, 0.06) !important;
    border-color: rgba(12, 62, 90, 0.1) !important;
}

.bt_bb_color_scheme_2 .medisam-breadcrumb a {
    color: var(--primary-color) !important;
    opacity: 0.6 !important;
}

.bt_bb_color_scheme_2 .medisam-breadcrumb a:hover {
    opacity: 1 !important;
}

.bt_bb_color_scheme_2 .medisam-breadcrumb__separator {
    color: rgba(12, 62, 90, 0.3) !important;
}

.bt_bb_color_scheme_2 .medisam-breadcrumb__current {
    color: var(--primary-color) !important;
}

/* ---------------------------------------------------------------
   O. INNER PAGE CONTENT TYPOGRAPHY
   Premium text styling for treatment/detail pages
--------------------------------------------------------------- */
/* Body text in inner pages */
body.medisam-inner-page .bt_bb_text p {
    font-family: var(--font-modern) !important;
    font-size: 16px !important;
    line-height: 1.75 !important;
    color: #475569 !important;
    letter-spacing: 0.01em !important;
}

/* First paragraph emphasis */
body.medisam-inner-page .medisam-page-hero + .bt_bb_section .bt_bb_text p:first-of-type {
    font-size: 18px !important;
    font-weight: 500 !important;
    color: #334155 !important;
    line-height: 1.7 !important;
}

/* Inner page section headlines */
body.medisam-inner-page .bt_bb_section:not(.medisam-page-hero) .bt_bb_headline h2 {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    font-size: clamp(24px, 3.5vw, 38px) !important;
    line-height: 1.15 !important;
    letter-spacing: -0.02em !important;
}

body.medisam-inner-page .bt_bb_section:not(.medisam-page-hero) .bt_bb_headline h3 {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: clamp(20px, 2.5vw, 28px) !important;
    line-height: 1.2 !important;
}

body.medisam-inner-page .bt_bb_section:not(.medisam-page-hero) .bt_bb_headline h4 {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: clamp(18px, 2vw, 22px) !important;
    line-height: 1.25 !important;
}

/* List styling upgrade */
body.medisam-inner-page .bt_bb_text ul {
    list-style: none !important;
    padding-left: 0 !important;
}

body.medisam-inner-page .bt_bb_text ul li {
    position: relative !important;
    padding-left: 28px !important;
    margin-bottom: 10px !important;
    line-height: 1.65 !important;
}

body.medisam-inner-page .bt_bb_text ul li::before {
    content: '✓' !important;
    position: absolute !important;
    left: 0 !important;
    top: 0 !important;
    color: var(--accent-teal) !important;
    font-weight: 800 !important;
    font-size: 16px !important;
}

/* Ordered list styling */
body.medisam-inner-page .bt_bb_text ol {
    counter-reset: medisam-counter !important;
    list-style: none !important;
    padding-left: 0 !important;
}

body.medisam-inner-page .bt_bb_text ol li {
    counter-increment: medisam-counter !important;
    position: relative !important;
    padding-left: 40px !important;
    margin-bottom: 14px !important;
    line-height: 1.65 !important;
}

body.medisam-inner-page .bt_bb_text ol li::before {
    content: counter(medisam-counter) !important;
    position: absolute !important;
    left: 0 !important;
    top: -1px !important;
    width: 28px !important;
    height: 28px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 50% !important;
    background: linear-gradient(135deg, var(--accent-teal), #14b88e) !important;
    color: #ffffff !important;
    font-family: var(--font-modern) !important;
    font-size: 13px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

/* Blockquote premium styling */
body.medisam-inner-page blockquote,
body.medisam-inner-page .bt_bb_text blockquote {
    position: relative !important;
    margin: 30px 0 !important;
    padding: 30px 35px !important;
    background: linear-gradient(145deg, rgba(241, 245, 249, 0.8), rgba(255, 255, 255, 0.9)) !important;
    border: 1px solid rgba(15, 162, 123, 0.12) !important;
    border-left: 4px solid var(--accent-teal) !important;
    border-radius: 0 16px 16px 0 !important;
    font-family: var(--font-modern) !important;
    font-size: 17px !important;
    font-weight: 500 !important;
    font-style: italic !important;
    line-height: 1.7 !important;
    color: #334155 !important;
    box-shadow: var(--shadow-soft) !important;
}

body.medisam-inner-page blockquote::before {
    content: '"' !important;
    position: absolute !important;
    top: -10px !important;
    left: 20px !important;
    font-size: 60px !important;
    color: var(--accent-teal) !important;
    font-family: Georgia, serif !important;
    line-height: 1 !important;
    opacity: 0.3 !important;
}

/* ---------------------------------------------------------------
   P. SEPARATOR PREMIUM STYLING
--------------------------------------------------------------- */
body.medisam-inner-page .bt_bb_separator {
    position: relative !important;
}

body.medisam-inner-page .bt_bb_separator .bt_bb_separator_inner {
    background: linear-gradient(90deg, transparent, rgba(15, 162, 123, 0.3), var(--accent-teal), rgba(15, 162, 123, 0.3), transparent) !important;
    height: 2px !important;
    border: none !important;
    border-radius: 999px !important;
}

/* ---------------------------------------------------------------
   Q. COUNTER/STATS PREMIUM STYLING
--------------------------------------------------------------- */
.bt_bb_counter .bt_bb_counter_content {
    font-family: var(--font-heading) !important;
    font-size: clamp(36px, 5vw, 56px) !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal)) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    line-height: 1.1 !important;
}

.bt_bb_counter .bt_bb_counter_text {
    font-family: var(--font-modern) !important;
    font-size: 14px !important;
    font-weight: 600 !important;
    color: #536b75 !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    margin-top: 8px !important;
}

/* ---------------------------------------------------------------
   R. GOOGLE MAPS PREMIUM FRAME
--------------------------------------------------------------- */
.bt_bb_google_maps {
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-premium) !important;
    border: 1px solid rgba(12, 62, 90, 0.08) !important;
}

.bt_bb_google_maps iframe {
    border-radius: 20px !important;
}

/* ---------------------------------------------------------------
   S. BEFORE/AFTER GALLERY STYLING
--------------------------------------------------------------- */
.bt_bb_before_after_image {
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-premium) !important;
    transition: var(--transition-smooth) !important;
}

.bt_bb_before_after_image:hover {
    box-shadow: 0 25px 50px rgba(12, 62, 90, 0.18) !important;
    transform: translateY(-4px) !important;
}

/* Before/After slider handle */
.bt_bb_before_after_image .twentytwenty-handle {
    background: linear-gradient(135deg, var(--accent-teal), #14b88e) !important;
    border: 3px solid #ffffff !important;
    border-radius: 50% !important;
    box-shadow: 0 4px 20px rgba(15, 162, 123, 0.4) !important;
    width: 44px !important;
    height: 44px !important;
}

.bt_bb_before_after_image .twentytwenty-handle::before,
.bt_bb_before_after_image .twentytwenty-handle::after {
    background: #ffffff !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2) !important;
}

/* Before/After labels */
.bt_bb_before_after_image .twentytwenty-before-label::before,
.bt_bb_before_after_image .twentytwenty-after-label::before {
    font-family: var(--font-modern) !important;
    font-weight: 700 !important;
    font-size: 13px !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    background: rgba(12, 62, 90, 0.75) !important;
    backdrop-filter: blur(8px) !important;
    border-radius: 999px !important;
    padding: 8px 16px !important;
}

/* ---------------------------------------------------------------
   T. SIDEBAR PREMIUM STYLING
--------------------------------------------------------------- */
.btSidebar .btBox,
.btSidebar .widget {
    background: linear-gradient(145deg, #ffffff, #f8fafc) !important;
    border-radius: 16px !important;
    border: 1px solid rgba(12, 62, 90, 0.06) !important;
    padding: 24px !important;
    margin-bottom: 20px !important;
    box-shadow: var(--shadow-soft) !important;
    transition: var(--transition-smooth) !important;
    position: relative !important;
    overflow: hidden !important;
}

.btSidebar .btBox::before,
.btSidebar .widget::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 3px !important;
    background: linear-gradient(90deg, var(--accent-teal), #14b88e, var(--accent-gold)) !important;
    border-radius: 16px 16px 0 0 !important;
}

.btSidebar .btBox:hover,
.btSidebar .widget:hover {
    box-shadow: var(--shadow-medium) !important;
    border-color: rgba(15, 162, 123, 0.15) !important;
}

.btSidebar .btBox h4,
.btSidebar .widget-title {
    font-family: var(--font-heading) !important;
    font-size: 18px !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
    border-bottom: 1px solid rgba(12, 62, 90, 0.08) !important;
}

/* Sidebar menu items */
.btSidebar ul li a {
    display: flex !important;
    align-items: center !important;
    padding: 10px 12px !important;
    border-radius: 10px !important;
    color: #475569 !important;
    font-family: var(--font-modern) !important;
    font-size: 14px !important;
    font-weight: 500 !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.btSidebar ul li a:hover,
.btSidebar ul li.current_page_item a,
.btSidebar ul li.current-menu-item a {
    background: rgba(15, 162, 123, 0.08) !important;
    color: var(--accent-teal) !important;
    padding-left: 16px !important;
    font-weight: 600 !important;
}

/* Sidebar recent posts */
.btSidebar .widget_recent_entries li {
    border-bottom: 1px solid rgba(12, 62, 90, 0.06) !important;
    padding-bottom: 12px !important;
    margin-bottom: 12px !important;
}

.btSidebar .widget_recent_entries li:last-child {
    border-bottom: none !important;
}

/* ---------------------------------------------------------------
   U. CONTACT INFO CARDS
--------------------------------------------------------------- */
.medisam-contact-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.95), rgba(241, 245, 249, 0.85)) !important;
    backdrop-filter: blur(16px) !important;
    -webkit-backdrop-filter: blur(16px) !important;
    border: 1px solid rgba(15, 162, 123, 0.12) !important;
    border-radius: 20px !important;
    padding: 30px !important;
    box-shadow: var(--shadow-medium) !important;
    transition: var(--transition-elastic) !important;
}

.medisam-contact-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-premium) !important;
    border-color: var(--accent-teal) !important;
}

/* Contact icon styling */
.medisam-contact-card .bt_bb_icon_holder {
    width: 56px !important;
    height: 56px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: linear-gradient(135deg, var(--accent-teal), #14b88e) !important;
    border-radius: 16px !important;
    color: #ffffff !important;
    font-size: 24px !important;
    box-shadow: 0 8px 20px rgba(15, 162, 123, 0.25) !important;
    margin-bottom: 16px !important;
}

/* ---------------------------------------------------------------
   V. SERVICE IMAGE HOVER OVERLAY
--------------------------------------------------------------- */
.bt_bb_service_image {
    border-radius: 20px !important;
    overflow: hidden !important;
    position: relative !important;
    box-shadow: var(--shadow-medium) !important;
    transition: var(--transition-smooth) !important;
}

.bt_bb_service_image::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(180deg, transparent 40%, rgba(12, 62, 90, 0.7) 100%) !important;
    opacity: 0 !important;
    transition: opacity 0.4s ease !important;
    border-radius: 20px !important;
    pointer-events: none !important;
}

.bt_bb_service_image:hover {
    box-shadow: var(--shadow-premium) !important;
    transform: translateY(-4px) !important;
}

.bt_bb_service_image:hover::after {
    opacity: 1 !important;
}

/* ---------------------------------------------------------------
   W. INNER PAGE CTA SECTIONS
   Full-width gradient CTA strips between content
--------------------------------------------------------------- */
.medisam-inner-cta {
    background: linear-gradient(135deg, #0c3e5a 0%, #051c2a 100%) !important;
    position: relative !important;
    overflow: hidden !important;
}

.medisam-inner-cta::before {
    content: '' !important;
    position: absolute !important;
    top: -50% !important;
    right: -20% !important;
    width: 60% !important;
    height: 200% !important;
    background: radial-gradient(circle, rgba(194, 149, 71, 0.1), transparent 60%) !important;
    pointer-events: none !important;
}

.medisam-inner-cta .bt_bb_headline h2,
.medisam-inner-cta .bt_bb_headline h3 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.15) !important;
}

.medisam-inner-cta .bt_bb_text p {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* ---------------------------------------------------------------
   X. REVIEWS/TESTIMONIALS PREMIUM STYLING
--------------------------------------------------------------- */
/* Google reviews widget styling */
.google-reviews-carousel .wp-google-review,
.google-reviews .wp-google-review,
.grw-review-inner,
.glsr-review {
    background: linear-gradient(145deg, #ffffff, #f8fafc) !important;
    border: 1px solid rgba(12, 62, 90, 0.06) !important;
    border-radius: 20px !important;
    padding: 28px !important;
    box-shadow: var(--shadow-soft) !important;
    transition: var(--transition-smooth) !important;
    position: relative !important;
}

.google-reviews-carousel .wp-google-review:hover,
.google-reviews .wp-google-review:hover,
.grw-review-inner:hover,
.glsr-review:hover {
    transform: translateY(-6px) !important;
    box-shadow: var(--shadow-premium) !important;
    border-color: rgba(15, 162, 123, 0.2) !important;
}

/* Review star ratings */
.wp-google-stars .wp-star,
.glsr-star {
    color: var(--accent-gold) !important;
}

/* Review text */
.wp-google-review .wp-google-text,
.grw-review-text,
.glsr-review-text {
    font-family: var(--font-modern) !important;
    font-size: 15px !important;
    line-height: 1.7 !important;
    color: #475569 !important;
    font-style: italic !important;
}

/* Reviewer name */
.wp-google-review .wp-google-name,
.grw-reviewer-name,
.glsr-review-author {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    color: var(--primary-color) !important;
}

/* Overall rating display */
.google-rating-score,
.grw-summary-rating {
    font-family: var(--font-heading) !important;
    font-size: 48px !important;
    font-weight: 800 !important;
    background: linear-gradient(135deg, var(--accent-gold), #d4a84b) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

/* ---------------------------------------------------------------
   Y. INNER PAGE ICONS UPGRADE
--------------------------------------------------------------- */
body.medisam-inner-page .bt_bb_icon:not(.medisam-contact-card .bt_bb_icon) .bt_bb_icon_holder {
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

body.medisam-inner-page .bt_bb_icon:not(.medisam-contact-card .bt_bb_icon):hover .bt_bb_icon_holder {
    transform: scale(1.15) rotate(5deg) !important;
    filter: drop-shadow(0 4px 12px rgba(15, 162, 123, 0.3)) !important;
}

/* ---------------------------------------------------------------
   Z. INNER PAGE SECTION SPACING & POLISH
--------------------------------------------------------------- */
/* Consistent section padding */
body.medisam-inner-page .bt_bb_section {
    padding-top: 60px !important;
    padding-bottom: 60px !important;
}

/* First section (hero) uses its own padding */
body.medisam-inner-page .medisam-page-hero {
    padding-top: 60px !important;
    padding-bottom: 80px !important;
}

/* Section spacing between adjacent sections */
body.medisam-inner-page .bt_bb_section + .bt_bb_section {
    margin-top: 0 !important;
}

/* ---------------------------------------------------------------
   AA. PRICE LIST PREMIUM UPGRADE
--------------------------------------------------------------- */
body.medisam-inner-page .bt_bb_price_list .bt_bb_price_list_inner {
    background: linear-gradient(145deg, #ffffff, #f8fafc) !important;
    border-radius: 16px !important;
    overflow: hidden !important;
    border: 1px solid rgba(12, 62, 90, 0.06) !important;
    box-shadow: var(--shadow-soft) !important;
}

body.medisam-inner-page .bt_bb_price_list .bt_bb_price_list_title {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 17px !important;
    color: var(--primary-color) !important;
}

body.medisam-inner-page .bt_bb_price_list .bt_bb_price_list_price {
    font-family: var(--font-heading) !important;
    font-weight: 800 !important;
    color: var(--accent-teal) !important;
}

/* ---------------------------------------------------------------
   AB. FEATURES TABLE PREMIUM
--------------------------------------------------------------- */
.bt_bb_features_table {
    border-radius: 20px !important;
    overflow: hidden !important;
    box-shadow: var(--shadow-medium) !important;
}

.bt_bb_features_table .bt_bb_features_table_head {
    background: linear-gradient(135deg, var(--primary-color), #0a6e5c) !important;
    color: #ffffff !important;
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
}

.bt_bb_features_table .bt_bb_features_table_body li {
    border-bottom: 1px solid rgba(12, 62, 90, 0.06) !important;
    padding: 14px 20px !important;
    font-family: var(--font-modern) !important;
    transition: background 0.2s ease !important;
}

.bt_bb_features_table .bt_bb_features_table_body li:hover {
    background: rgba(15, 162, 123, 0.04) !important;
}

/* ---------------------------------------------------------------
   AC. INNER PAGE MOBILE RESPONSIVE
--------------------------------------------------------------- */
@media (max-width: 991px) {
    body.medisam-inner-page .bt_bb_section {
        padding-top: 40px !important;
        padding-bottom: 40px !important;
    }

    body.medisam-inner-page .medisam-page-hero {
        padding-top: 40px !important;
        padding-bottom: 60px !important;
    }

    .medisam-page-hero::after {
        height: 30px !important;
    }

    body.medisam-inner-page .bt_bb_text p {
        font-size: 15px !important;
    }

    .medisam-contact-card {
        padding: 20px !important;
    }

    .medisam-breadcrumb {
        font-size: 12px !important;
        padding: 6px 12px !important;
    }

    /* Disable hover transforms on mobile */
    .bt_bb_before_after_image:hover,
    .bt_bb_service_image:hover,
    .medisam-contact-card:hover {
        transform: none !important;
    }
}

@media (max-width: 768px) {
    body.medisam-inner-page .bt_bb_section {
        padding-top: 30px !important;
        padding-bottom: 30px !important;
    }

    body.medisam-inner-page .medisam-page-hero {
        padding-top: 30px !important;
        padding-bottom: 50px !important;
    }

    .medisam-page-hero::after {
        height: 20px !important;
    }

    body.medisam-inner-page blockquote,
    body.medisam-inner-page .bt_bb_text blockquote {
        padding: 20px 22px !important;
        margin: 20px 0 !important;
        font-size: 15px !important;
    }

    .btSidebar .btBox,
    .btSidebar .widget {
        padding: 18px !important;
    }

    body.medisam-inner-page .bt_bb_counter .bt_bb_counter_content {
        font-size: 36px !important;
    }
}

/* ==============================================================
   SCOTT STYLE PREMIUM MOBILE MENU (FULL-SCREEN OVERLAY)
   ============================================================== */

/* 1. Hide default unwanted elements in mobile menu */
body.btMenuVerticalOn .btBelowLogoArea .topBarInMenu,
body.btMenuVerticalOn .menuPort .btTopBox,
body.btMenuVerticalOn .btMenuVertical .btBelowLogoArea {
    display: none !important;
}

/* 2. Neutralize the default sliding sidebar container (.mainHeader) */
@media (max-width: 1199px) {
    body.btMenuVerticalLeft .mainHeader,
    body.btMenuVerticalRight .mainHeader {
        transform: none !important;
        transition: none !important;
        width: 100vw !important;
        height: 100vh !important;
        background: transparent !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        pointer-events: none !important;
        box-shadow: none !important;
        left: 0 !important;
        top: 0 !important;
    }

    /* Transform the menuPort to full-screen glassmorphism */
    .btMenuVerticalLeft .menuPort,
    .btMenuVerticalRight .menuPort {
        width: 100vw !important;
        height: 100vh !important;
        max-width: 100vw !important;
        top: 0 !important;
        left: 0 !important;
        position: fixed !important;
        background: rgba(255, 255, 255, 0) !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        padding: 0 !important;
        margin: 0 !important;
        z-index: 99999 !important;
        box-shadow: none !important;
        border: none !important;
        
        /* Hidden state */
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
        transform: none !important;
        transition: opacity 0.4s ease, visibility 0.4s ease, background 0.4s ease, backdrop-filter 0.4s ease, -webkit-backdrop-filter 0.4s ease !important;
    }

    body.btMenuVerticalOn .btMenuVerticalLeft .menuPort,
    body.btMenuVerticalOn .btMenuVerticalRight .menuPort {
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: rgba(255, 255, 255, 0.98) !important;
        backdrop-filter: blur(15px) !important;
        -webkit-backdrop-filter: blur(15px) !important;
    }
}

/* Stop body from moving entirely to avoid slide-back animation on close */
@media (max-width: 1199px) {
    body.btMenuVerticalLeft .btContentWrap,
    body.btMenuVerticalLeft .btVerticalHeaderTop,
    body.btMenuVerticalLeft .btSiteFooter,
    body.btMenuVerticalRight .btContentWrap,
    body.btMenuVerticalRight .btVerticalHeaderTop,
    body.btMenuVerticalRight .btSiteFooter {
        transform: none !important;
        transition: none !important;
    }
}

/* Hide duplicate header elements from the old drawer on mobile */
@media (max-width: 1199px) {
    /* Hide the logo and trigger inside the drawer */
    .btMenuVerticalLeft .mainHeader .btLogoArea.menuHolder > .port > .logo,
    .btMenuVerticalLeft .mainHeader .btLogoArea.menuHolder > .port > .btHorizontalMenuTrigger,
    .btMenuVerticalRight .mainHeader .btLogoArea.menuHolder > .port > .logo,
    .btMenuVerticalRight .mainHeader .btLogoArea.menuHolder > .port > .btHorizontalMenuTrigger {
        display: none !important;
    }

    /* Hide the bottom footer in the mobile menu (contact widgets) */
    .btMenuVerticalLeft .mainHeader .btSidebar,
    .btMenuVerticalLeft .mainHeader .topTools,
    .btMenuVerticalLeft .mainHeader .topBar,
    .btMenuVerticalRight .mainHeader .btSidebar,
    .btMenuVerticalRight .mainHeader .topTools,
    .btMenuVerticalRight .mainHeader .topBar {
        display: none !important;
    }
}

/* 3. Center the navigation and remove default padding */
body.btMenuVerticalOn .menuPort {
    width: 100vw !important;
    height: auto !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

body.btMenuVerticalOn .menuPort nav {
    width: 100% !important;
    padding: 0 20px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin-top: 0 !important; 
}

/* 4. Giant typography for menu items */
body.btMenuVerticalOn .menuPort nav ul.menu {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

body.btMenuVerticalOn .menuPort nav ul.menu > li {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
    margin-bottom: 25px !important;
    opacity: 0; /* for animation */
    transform: translateY(20px);
}

/* Animate items when menu is open */
body.btMenuVerticalOn .menuPort nav ul.menu > li {
    animation: menuSlideUpFade 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards !important;
}

/* SubToggler Styling (Arrow for dropdowns) */
body.btMenuVerticalOn .menuPort nav ul.menu > li > .subToggler {
    position: relative !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    top: auto !important;
    right: auto !important;
    margin-left: 10px !important;
    font-size: 28px !important;
    color: var(--primary-color, #0c3e5a) !important;
    opacity: 0.8 !important;
    padding: 0 !important;
    z-index: 10 !important;
}

body.btMenuVerticalOn .menuPort nav ul.menu > li > .subToggler:hover {
    color: var(--accent-teal, #0fa27b) !important;
    opacity: 1 !important;
}

/* Stagger delays for up to 10 menu items */
body.btMenuVerticalOn .menuPort nav ul.menu > li:nth-child(1) { animation-delay: 0.1s !important; }
body.btMenuVerticalOn .menuPort nav ul.menu > li:nth-child(2) { animation-delay: 0.15s !important; }
body.btMenuVerticalOn .menuPort nav ul.menu > li:nth-child(3) { animation-delay: 0.2s !important; }
body.btMenuVerticalOn .menuPort nav ul.menu > li:nth-child(4) { animation-delay: 0.25s !important; }
body.btMenuVerticalOn .menuPort nav ul.menu > li:nth-child(5) { animation-delay: 0.3s !important; }
body.btMenuVerticalOn .menuPort nav ul.menu > li:nth-child(6) { animation-delay: 0.35s !important; }
body.btMenuVerticalOn .menuPort nav ul.menu > li:nth-child(7) { animation-delay: 0.4s !important; }
body.btMenuVerticalOn .menuPort nav ul.menu > li:nth-child(8) { animation-delay: 0.45s !important; }

@keyframes menuSlideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.btMenuVerticalOn .menuPort nav ul.menu > li > a {
    font-family: var(--font-modern, 'Outfit', sans-serif) !important;
    font-size: 42px !important;
    font-weight: 700 !important;
    color: var(--primary-color, #0c3e5a) !important;
    line-height: 1.1 !important;
    padding: 5px 0 !important;
    display: inline-block !important;
    text-align: center !important;
    letter-spacing: -1px !important;
    transition: color 0.3s ease !important;
    width: auto !important;
    min-height: auto !important;
}

body.btMenuVerticalOn .menuPort nav ul.menu > li > a:hover {
    color: var(--accent-teal, #0fa27b) !important;
}

/* Remove default pseudo underline on hover in mobile menu */
body.btMenuVerticalOn .menuPort ul.menu > li > a::after {
    display: none !important;
}

/* 5. Sub-menu styling for mobile (keep it clean) */
body.btMenuVerticalOn .menuPort nav ul.sub-menu {
    flex: 1 1 100% !important; /* Force it to next line */
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    backdrop-filter: none !important;
    padding: 10px 0 0 0 !important;
    margin: 0 !important;
    display: none; /* Hide by default, BoldThemes JS will toggle display block */
}

body.btMenuVerticalOn .menuPort nav ul.menu > li.on > a,
body.btMenuVerticalOn .menuPort nav ul.menu > li.on {
    background: transparent !important;
    box-shadow: none !important;
}

body.btMenuVerticalOn .menuPort nav ul.sub-menu > li {
    text-align: center !important;
    margin-bottom: 15px !important;
    background: transparent !important;
}

body.btMenuVerticalOn .menuPort nav ul.sub-menu > li > a {
    font-size: 20px !important;
    font-weight: 500 !important;
    color: var(--primary-color, #0c3e5a) !important;
    padding: 0 !important;
    display: inline-block !important;
    justify-content: center !important;
    background: transparent !important;
}

/* 6. Reposition Close Button */
body.btMenuVerticalOn .btVerticalHeaderTop {
    z-index: 100000 !important;
    position: relative !important;
}

.btMenuVerticalOn .btVerticalMenuTrigger {
    position: fixed !important;
    top: 25px !important;
    right: 25px !important;
    z-index: 100001 !important; /* Above the menu overlay */
    background: rgba(255,255,255,0.9) !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1) !important;
}

.btMenuVerticalOn .btVerticalMenuTrigger .bt_bb_icon {
    margin: 0 !important;
}

.btMenuVerticalOn .btVerticalMenuTrigger .bt_bb_icon::before,
.btMenuVerticalOn .btVerticalMenuTrigger .bt_bb_icon::after,
.btMenuVerticalOn .btVerticalMenuTrigger .bt_bb_icon * {
    color: var(--primary-color, #0c3e5a) !important;
    border-color: var(--primary-color, #0c3e5a) !important;
    background-color: var(--primary-color, #0c3e5a) !important;
}

/* Adjust sizes for smaller phones */
@media (max-width: 400px) {
    body.btMenuVerticalOn .menuPort nav ul.menu > li > a {
        font-size: 34px !important;
    }
}

/* Mobile menu blur fix: keep the page sharp and target the real body state. */
@media (max-width: 1199px) {
    body.btMenuVerticalLeft .btContentWrap,
    body.btMenuVerticalRight .btContentWrap,
    body.btMenuVerticalOn.btMenuVerticalLeft .btContentWrap,
    body.btMenuVerticalOn.btMenuVerticalRight .btContentWrap,
    body.btMenuVerticalLeft .btVerticalHeaderTop,
    body.btMenuVerticalRight .btVerticalHeaderTop,
    body.btMenuVerticalOn.btMenuVerticalLeft .btVerticalHeaderTop,
    body.btMenuVerticalOn.btMenuVerticalRight .btVerticalHeaderTop,
    body.btMenuVerticalLeft .btSiteFooter,
    body.btMenuVerticalRight .btSiteFooter,
    body.btMenuVerticalOn.btMenuVerticalLeft .btSiteFooter,
    body.btMenuVerticalOn.btMenuVerticalRight .btSiteFooter {
        left: 0 !important;
        width: 100vw !important;
        min-width: 100vw !important;
        max-width: 100vw !important;
        filter: none !important;
        transform: none !important;
        transition: none !important;
    }

    body.btMenuVerticalLeft .menuPort,
    body.btMenuVerticalRight .menuPort {
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }

    body.btMenuVerticalOn.btMenuVerticalLeft .menuPort,
    body.btMenuVerticalOn.btMenuVerticalRight .menuPort {
        width: 100vw !important;
        height: 100vh !important;
        min-height: 100vh !important;
        position: fixed !important;
        inset: 0 !important;
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: auto !important;
        background: rgba(255, 255, 255, 0.96) !important;
        filter: none !important;
        transform: none !important;
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }

    body.btMenuVerticalOn .menuPort nav,
    body.btMenuVerticalOn .menuPort nav ul,
    body.btMenuVerticalOn .menuPort nav ul.menu,
    body.btMenuVerticalOn .menuPort nav ul.menu > li,
    body.btMenuVerticalOn .menuPort nav ul.menu > li > a {
        visibility: visible !important;
        pointer-events: auto !important;
        filter: none !important;
    }
}

/* ==============================================================
   U. FOOTER "ANGEBOT EINHOLEN" WHITE BACKGROUND
   ============================================================== */
.btSiteFooter .bt_bb_section:nth-of-type(1) {
    background: #ffffff !important;
    background-color: #ffffff !important;
    background-image: none !important;
    border-top: 1px solid rgba(12, 62, 90, 0.08) !important;
}

/* Disable the animated aurora background pseudo-element inherited from first-of-type rules */
.btSiteFooter .bt_bb_section:nth-of-type(1)::before {
    display: none !important;
    content: none !important;
}

/* Service box title, link, and text colors inside white section */
.btSiteFooter .bt_bb_section:nth-of-type(1) .bt_bb_service_content_title a,
.btSiteFooter .bt_bb_section:nth-of-type(1) .bt_bb_service_content_title {
    color: #0c3e5a !important;
    font-weight: 700 !important;
}

.btSiteFooter .bt_bb_section:nth-of-type(1) .bt_bb_service_content_text {
    color: #475569 !important;
}

/* Service box icon wrapper background and icon colors */
.btSiteFooter .bt_bb_section:nth-of-type(1) .bt_bb_service .bt_bb_icon_holder {
    background-color: rgba(15, 162, 123, 0.08) !important;
    color: var(--accent-teal) !important;
}

/* Bookimed certificate container outline on white background */
.btSiteFooter .bt_bb_section:nth-of-type(1) #bookimed-widget .bookimed-widget__certificate {
    background: #ffffff !important;
    border: 1px solid rgba(12, 62, 90, 0.08) !important;
    box-shadow: 0 10px 30px rgba(12, 62, 90, 0.06) !important;
}

@media (max-width: 768px) {
    .btContent .medisam-team-overlap-anchor,
    .btContent .medisam-team-overlap-anchor .bt_bb_port,
    .btContent .medisam-team-overlap-anchor .bt_bb_cell,
    .btContent .medisam-team-overlap-anchor .bt_bb_cell_inner,
    .btContent .medisam-team-overlap-anchor .bt_bb_row,
    .btContent .medisam-team-overlap-anchor .bt_bb_row_holder,
    .btContent .medisam-team-overlap-anchor .bt_bb_column,
    .btContent .medisam-team-overlap-anchor .bt_bb_column_content,
    .btContent .medisam-team-overlap-anchor .medisam-team-overlap-photo,
    .btContent .medisam-team-overlap-anchor .medisam-team-overlap-photo > span,
    .btContent .medisam-team-overlap-anchor .medisam-team-overlap-photo > a,
    .btContent .medisam-team-overlap-anchor .medisam-team-overlap-photo img {
        border-radius: 0 !important;
        box-shadow: none !important;
        clip-path: inset(0 round 0) !important;
        overflow: hidden !important;
    }

    .btContent .medisam-team-overlap-anchor .medisam-team-overlap-photo img,
    .btContent .medisam-team-overlap-anchor .medisam-team-overlap-photo:hover img {
        width: 100vw !important;
        max-width: 100vw !important;
        height: clamp(240px, 58vw, 320px) !important;
        object-fit: cover !important;
        object-position: center !important;
        transform: none !important;
    }
}

/* ---------------------------------------------------------------
   FLAT OFF-WHITE BACKGROUND LAYER
   Single solid kırık beyaz for all page backgrounds (footer excluded).
--------------------------------------------------------------- */
html,
body,
.btContentWrap,
.btContent,
.bt_bb_wrapper {
    background: #F7F7F5 !important;
}

.btContent {
    color: #16384b;
}

.mainHeader {
    background: rgba(247, 247, 245, 0.92) !important;
    border-bottom-color: rgba(12, 62, 90, 0.07) !important;
    box-shadow: 0 14px 38px rgba(12, 62, 90, 0.07) !important;
}

.mainHeader.btStickyHeaderActive {
    background: rgba(247, 247, 245, 0.97) !important;
    box-shadow: 0 18px 46px rgba(12, 62, 90, 0.11) !important;
}

.btContent .bt_bb_section:not(:first-of-type):not(.bt_bb_color_scheme_1):not(.medisam-page-hero):not(.medisam-team-overlap-anchor) {
    background: #F7F7F5 !important;
}

.btContent .bt_bb_section.bt_bb_color_scheme_18:not(.medisam-page-hero),
.btContent .bt_bb_section.bt_bb_color_scheme_2:not(.medisam-page-hero),
.bt_bb_section.bt_bb_color_scheme_2:nth-of-type(even),
.bt_bb_section.bt_bb_color_scheme_2:nth-of-type(odd) {
    background: #F7F7F5 !important;
}

.medisam-brand-section,
.medisam-compact-blog-section,
.medisam-smile-gallery-section {
    background: #F7F7F5 !important;
}

.medisam-team-section {
    background: #F7F7F5 !important;
}

.bt_bb_column_inner:has(.bt_bb_image):has(.bt_bb_headline),
.bt_bb_column_inner:has(.bt_bb_icon):has(.bt_bb_headline),
.medisam-reviews-container,
.medisam-brand-card .bt_bb_column_inner_content,
.medisam-compact-blog-card,
.medisam-contact-card,
body.medisam-inner-page .bt_bb_price_list .bt_bb_price_list_inner,
body.medisam-inner-page blockquote,
body.medisam-inner-page .bt_bb_text blockquote {
    background:
        linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 253, 248, 0.78)) !important;
    border-color: var(--medisam-border) !important;
    box-shadow: var(--medisam-shadow-luxury) !important;
}

.bt_bb_accordion.bt_bb_style_simple .bt_bb_accordion_item,
.bt_bb_accordion .bt_bb_accordion_item {
    overflow: hidden;
    border: 1px solid var(--medisam-border) !important;
    border-radius: 16px !important;
    background: var(--medisam-surface) !important;
    box-shadow: 0 8px 30px rgba(12, 62, 90, 0.04) !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bt_bb_accordion .bt_bb_accordion_item + .bt_bb_accordion_item {
    margin-top: 12px !important;
}

.bt_bb_accordion .bt_bb_accordion_item .bt_bb_accordion_item_title {
    background: transparent !important;
    color: var(--primary-color) !important;
    font-weight: 700 !important;
    padding: 18px 24px !important;
    font-size: 16px !important;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.bt_bb_accordion .bt_bb_accordion_item:hover {
    border-color: rgba(15, 162, 123, 0.3) !important;
    box-shadow: 0 12px 35px rgba(12, 62, 90, 0.08) !important;
    transform: translateY(-1px);
}

.bt_bb_accordion .bt_bb_accordion_item.on {
    border-color: var(--accent-teal) !important;
    box-shadow: 0 12px 40px rgba(15, 162, 123, 0.15) !important;
}

.bt_bb_accordion .bt_bb_accordion_item.on .bt_bb_accordion_item_title {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-teal)) !important;
    color: #ffffff !important;
}

.bt_bb_accordion .bt_bb_accordion_item .bt_bb_accordion_item_title::after {
    color: var(--accent-teal) !important;
    transition: transform 0.3s ease, color 0.3s ease !important;
}

.bt_bb_accordion .bt_bb_accordion_item.on .bt_bb_accordion_item_title::after {
    color: #ffffff !important;
}

.bt_bb_accordion .bt_bb_accordion_item .bt_bb_accordion_item_content {
    background: rgba(255, 255, 255, 0.95) !important;
    color: var(--primary-color) !important;
    padding: 24px !important;
    border-top: 1px solid var(--medisam-border) !important;
}

.btContent .bt_bb_headline_tag,
.btContent h2,
.btContent h3 {
    letter-spacing: 0 !important;
}

.bt_bb_separator.bt_bb_border_style_none::after,
.bt_bb_headline.bt_bb_dash_bottom .bt_bb_headline_content::after {
    box-shadow: 0 0 22px rgba(129, 217, 239, 0.30) !important;
}

@media (max-width: 768px) {
    html,
    body,
    .btContentWrap,
    .btContent,
    .bt_bb_wrapper {
        background: #F7F7F5 !important;
    }

    .btContent .bt_bb_section:not(:first-of-type):not(.bt_bb_color_scheme_1):not(.medisam-page-hero):not(.medisam-team-overlap-anchor) {
        background: #F7F7F5 !important;
    }

    .medisam-reviews-container,
    .medisam-brand-card .bt_bb_column_inner_content,
    .medisam-team-card .bt_bb_column_content {
        box-shadow: 0 18px 46px rgba(12, 62, 90, 0.13) !important;
    }
}

.medisam-smile-gallery-section .bt_bb_cell_inner,
.medisam-brand-section .bt_bb_cell_inner,
.medisam-compact-blog-section .bt_bb_cell_inner {
    background: transparent !important;
}

.medisam-smile-gallery-card .bt_bb_grid_item_inner,
.medisam-smile-gallery-card .bt_bb_grid_item_post_content {
    background: #FFFFFF !important;
}

/* Brand Section Logo Grayscale Hover transition */
.medisam-brand-section img {
    filter: grayscale(1) opacity(0.55);
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

.medisam-brand-section img:hover {
    filter: grayscale(0) opacity(1);
    transform: scale(1.03);
}

/* ==============================================================
   ABSOLUTE FLAT BACKGROUND OVERRIDES
   Completely removes all background gradients/colors from sections,
   rows, columns, cells, and their pseudo-elements.
   Footer is explicitly excluded.
   ============================================================== */
.btContent .bt_bb_section:not(.medisam-page-hero),
.btContentWrap .bt_bb_section:not(.medisam-page-hero),
.bt_bb_wrapper .bt_bb_section:not(.medisam-page-hero),
.bt_bb_section:not(.medisam-page-hero):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section),
.bt_bb_row:not(.medisam-page-hero .bt_bb_row):not(.btSiteFooter .bt_bb_row):not(.btFooterWidgets .bt_bb_row),
.bt_bb_column:not(.medisam-page-hero .bt_bb_column):not(.btSiteFooter .bt_bb_column):not(.btFooterWidgets .bt_bb_column),
.bt_bb_column_inner:not(.medisam-page-hero .bt_bb_column_inner):not(.btSiteFooter .bt_bb_column_inner):not(.btFooterWidgets .bt_bb_column_inner):not(.medisam-brand-card .bt_bb_column_inner_content),
.bt_bb_cell:not(.medisam-page-hero .bt_bb_cell):not(.btSiteFooter .bt_bb_cell):not(.btFooterWidgets .bt_bb_cell) {
    background-color: #F7F7F5 !important;
    background-image: none !important;
    background: #F7F7F5 !important;
}

/* Remove gradient overlays generated by pseudo-elements on sections, rows, cells */
.btContent .bt_bb_section:not(.medisam-page-hero)::before,
.btContent .bt_bb_section:not(.medisam-page-hero)::after,
.btContentWrap .bt_bb_section:not(.medisam-page-hero)::before,
.btContentWrap .bt_bb_section:not(.medisam-page-hero)::after,
.bt_bb_wrapper .bt_bb_section:not(.medisam-page-hero)::before,
.bt_bb_wrapper .bt_bb_section:not(.medisam-page-hero)::after,
.bt_bb_section:not(.medisam-page-hero):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section)::before,
.bt_bb_section:not(.medisam-page-hero):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section)::after,
.bt_bb_row:not(.medisam-page-hero .bt_bb_row):not(.btSiteFooter .bt_bb_row):not(.btFooterWidgets .bt_bb_row)::before,
.bt_bb_row:not(.medisam-page-hero .bt_bb_row):not(.btSiteFooter .bt_bb_row):not(.btFooterWidgets .bt_bb_row)::after,
.bt_bb_column:not(.medisam-page-hero .bt_bb_column):not(.btSiteFooter .bt_bb_column):not(.btFooterWidgets .bt_bb_column)::before,
.bt_bb_column:not(.medisam-page-hero .bt_bb_column):not(.btSiteFooter .bt_bb_column):not(.btFooterWidgets .bt_bb_column)::after,
.bt_bb_column_inner:not(.medisam-page-hero .bt_bb_column_inner):not(.btSiteFooter .bt_bb_column_inner):not(.btFooterWidgets .bt_bb_column_inner):not(.medisam-brand-card .bt_bb_column_inner_content)::before,
.bt_bb_column_inner:not(.medisam-page-hero .bt_bb_column_inner):not(.btSiteFooter .bt_bb_column_inner):not(.btFooterWidgets .bt_bb_column_inner):not(.medisam-brand-card .bt_bb_column_inner_content)::after,
.bt_bb_cell:not(.medisam-page-hero .bt_bb_cell):not(.btSiteFooter .bt_bb_cell):not(.btFooterWidgets .bt_bb_cell)::before,
.bt_bb_cell:not(.medisam-page-hero .bt_bb_cell):not(.btSiteFooter .bt_bb_cell):not(.btFooterWidgets .bt_bb_cell)::after {
    background-color: transparent !important;
    background-image: none !important;
    background: transparent !important;
}

/* ==============================================================
   FORM SECTION: DARK NAVY BLUE FOOTER STYLE BACKGROUND
   ============================================================== */
.btContent .bt_bb_section:has(form),
.btContentWrap .bt_bb_section:has(form),
.bt_bb_wrapper .bt_bb_section:has(form),
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) {
    background: linear-gradient(180deg, #0a2a3d 0%, #071e2c 100%) !important;
    background-color: #0a2a3d !important;
    background-image: linear-gradient(180deg, #0a2a3d 0%, #071e2c 100%) !important;
}

/* Force inner rows, columns, and cells to be transparent inside the form section */
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_row,
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_column,
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_column_inner,
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_cell {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* Ensure text inside form section is readable (white/light) */
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_headline h1,
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_headline h2,
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_headline h3,
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_headline h4,
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_headline .bt_bb_headline_content_span,
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_headline_content,
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_headline_superheadline,
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_headline_subheadline,
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .wpforms-field-label,
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) p,
.bt_bb_section:has(form):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) span:not(select *):not(input *):not(textarea *) {
    color: #ffffff !important;
}

/* Homepage offer form: match footer navy background */
body.home .btContent .bt_bb_section:has(.wpcf7) {
    background: #081b32 !important;
    background-color: #081b32 !important;
    background-image: none !important;
}

body.home .btContent .bt_bb_section:has(.wpcf7) .bt_bb_cell,
body.home .btContent .bt_bb_section:has(.wpcf7) .bt_bb_cell_inner,
body.home .btContent .bt_bb_section:has(.wpcf7) .bt_bb_row,
body.home .btContent .bt_bb_section:has(.wpcf7) .bt_bb_row_holder,
body.home .btContent .bt_bb_section:has(.wpcf7) .bt_bb_column,
body.home .btContent .bt_bb_section:has(.wpcf7) .bt_bb_column_content {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

body.home .btContent .bt_bb_section:has(.wpcf7) .bt_bb_headline,
body.home .btContent .bt_bb_section:has(.wpcf7) .bt_bb_headline *,
body.home .btContent .bt_bb_section:has(.wpcf7) p {
    color: #ffffff !important;
    text-shadow: none !important;
}

body.home .btContent .bt_bb_section.bt_bb_color_scheme_18:has(.wpcf7):not(.medisam-page-hero):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) {
    background: #081b32 !important;
    background-color: #081b32 !important;
    background-image: none !important;
}

body.home .btContent .bt_bb_section.bt_bb_color_scheme_18:has(.wpcf7):not(.medisam-page-hero):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_cell,
body.home .btContent .bt_bb_section.bt_bb_color_scheme_18:has(.wpcf7):not(.medisam-page-hero):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_row,
body.home .btContent .bt_bb_section.bt_bb_color_scheme_18:has(.wpcf7):not(.medisam-page-hero):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_column:not(.btSiteFooter .bt_bb_column):not(.btFooterWidgets .bt_bb_column),
body.home .btContent .bt_bb_section.bt_bb_color_scheme_18:has(.wpcf7):not(.medisam-page-hero):not(.btSiteFooter .bt_bb_section):not(.btFooterWidgets .bt_bb_section) .bt_bb_column_content {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}

/* ---------------------------------------------------------------
   INNER PAGE READABILITY FIX
   Keeps premium dark treatment pages readable on mobile and desktop.
--------------------------------------------------------------- */
body.medisam-inner-page .medisam-page-hero {
    color: #eef8f6 !important;
    background:
        radial-gradient(circle at 86% 10%, rgba(129, 217, 239, 0.13), transparent 24rem),
        linear-gradient(180deg, #0b3449 0%, #082738 100%) !important;
}

body.medisam-inner-page .medisam-page-hero .bt_bb_cell_inner,
body.medisam-inner-page .medisam-page-hero .bt_bb_column_content {
    color: #eef8f6 !important;
}

body.medisam-inner-page .medisam-page-hero .bt_bb_text,
body.medisam-inner-page .medisam-page-hero .bt_bb_text p,
body.medisam-inner-page .medisam-page-hero .bt_bb_text li,
body.medisam-inner-page .medisam-page-hero .bt_bb_text span,
body.medisam-inner-page .medisam-page-hero .bt_bb_text em {
    color: rgba(244, 251, 250, 0.92) !important;
    font-size: clamp(15.5px, 1.35vw, 17px) !important;
    line-height: 1.78 !important;
    letter-spacing: 0 !important;
}

body.medisam-inner-page .medisam-page-hero .bt_bb_text p {
    max-width: 72ch !important;
    margin-bottom: 1.05em !important;
}

body.medisam-inner-page .medisam-page-hero .bt_bb_text strong,
body.medisam-inner-page .medisam-page-hero .bt_bb_text b {
    color: #ffffff !important;
    font-weight: 800 !important;
}

body.medisam-inner-page .medisam-page-hero .bt_bb_headline,
body.medisam-inner-page .medisam-page-hero .bt_bb_headline_tag,
body.medisam-inner-page .medisam-page-hero .bt_bb_headline_content,
body.medisam-inner-page .medisam-page-hero .bt_bb_headline_content span,
body.medisam-inner-page .medisam-page-hero h1,
body.medisam-inner-page .medisam-page-hero h2,
body.medisam-inner-page .medisam-page-hero h3,
body.medisam-inner-page .medisam-page-hero h4 {
    color: #ffffff !important;
    -webkit-text-fill-color: #ffffff !important;
    background: none !important;
    text-shadow: 0 8px 28px rgba(0, 0, 0, 0.20) !important;
}

body.medisam-inner-page .medisam-page-hero h2,
body.medisam-inner-page .medisam-page-hero .bt_bb_headline h2 {
    margin-top: 1.25em !important;
    margin-bottom: 0.25em !important;
    font-size: clamp(28px, 4.6vw, 46px) !important;
    line-height: 1.08 !important;
}

body.medisam-inner-page .medisam-page-hero h3,
body.medisam-inner-page .medisam-page-hero .bt_bb_headline h3 {
    margin-top: 1.15em !important;
    margin-bottom: 0.35em !important;
    color: #c9f3f0 !important;
    -webkit-text-fill-color: #c9f3f0 !important;
    font-size: clamp(22px, 3vw, 32px) !important;
    font-weight: 800 !important;
}

body.medisam-inner-page .medisam-page-hero .bt_bb_text ul,
body.medisam-inner-page .medisam-page-hero .bt_bb_text ol {
    max-width: 72ch !important;
    margin: 20px 0 28px !important;
    padding: 18px 18px 18px 20px !important;
    border: 1px solid rgba(255, 255, 255, 0.10) !important;
    border-radius: 18px !important;
    background: rgba(255, 255, 255, 0.055) !important;
    box-shadow: 0 18px 44px rgba(0, 0, 0, 0.12) !important;
}

body.medisam-inner-page .medisam-page-hero .bt_bb_text ul li,
body.medisam-inner-page .medisam-page-hero .bt_bb_text ol li {
    color: rgba(244, 251, 250, 0.90) !important;
    margin-bottom: 12px !important;
}

body.medisam-inner-page .medisam-page-hero .bt_bb_text ul li::before {
    color: #42d7a8 !important;
    text-shadow: 0 0 18px rgba(66, 215, 168, 0.35) !important;
}

body.medisam-inner-page .medisam-page-hero .bt_bb_text ol li::before {
    background: linear-gradient(135deg, #42d7a8, #81d9ef) !important;
    color: #082738 !important;
}

body.medisam-inner-page .medisam-page-hero .bt_bb_image img {
    border-radius: 10px !important;
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.18) !important;
}

body.medisam-inner-page .medisam-page-hero .bt_bb_separator {
    opacity: 0.72 !important;
}

@media (max-width: 768px) {
    body.medisam-inner-page .medisam-page-hero {
        padding-top: 38px !important;
        padding-bottom: 84px !important;
    }

    body.medisam-inner-page .medisam-page-hero .bt_bb_cell {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.medisam-inner-page .medisam-page-hero .bt_bb_cell_inner {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 18px !important;
        padding-left: 18px !important;
    }

    body.medisam-inner-page .medisam-page-hero .bt_bb_row_holder {
        width: 100% !important;
        margin-right: 0 !important;
        margin-left: 0 !important;
    }

    body.medisam-inner-page .medisam-page-hero .bt_bb_column.bt_bb_padding_normal,
    body.medisam-inner-page .medisam-page-hero .bt_bb_column {
        width: 100% !important;
        max-width: 100% !important;
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    body.medisam-inner-page .medisam-page-hero .bt_bb_text,
    body.medisam-inner-page .medisam-page-hero .bt_bb_text p,
    body.medisam-inner-page .medisam-page-hero .bt_bb_text li {
        font-size: 15.5px !important;
        line-height: 1.72 !important;
    }

    body.medisam-inner-page .medisam-page-hero .bt_bb_text ul,
    body.medisam-inner-page .medisam-page-hero .bt_bb_text ol {
        padding: 16px 15px 16px 17px !important;
        border-radius: 16px !important;
    }

    body.medisam-inner-page .medisam-page-hero h2,
    body.medisam-inner-page .medisam-page-hero .bt_bb_headline h2 {
        font-size: 30px !important;
        line-height: 1.12 !important;
    }

    body.medisam-inner-page .medisam-page-hero h3,
    body.medisam-inner-page .medisam-page-hero .bt_bb_headline h3 {
        font-size: 24px !important;
        line-height: 1.18 !important;
    }
}

@media (max-width: 768px) {
    body.medisam-inner-page .btContent .bt_bb_section.bt_bb_layout_boxed_1200.medisam-page-hero > .bt_bb_port > .bt_bb_cell {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
    }

    body.medisam-inner-page .btContent .bt_bb_section.bt_bb_layout_boxed_1200.medisam-page-hero > .bt_bb_port > .bt_bb_cell > .bt_bb_cell_inner {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }
}

/* Keep blockquote text dark and legible even inside the dark page hero section */
body.medisam-inner-page .medisam-page-hero blockquote,
body.medisam-inner-page .medisam-page-hero .bt_bb_text blockquote,
body.medisam-inner-page .medisam-page-hero blockquote p,
body.medisam-inner-page .medisam-page-hero .bt_bb_text blockquote p,
body.medisam-inner-page .medisam-page-hero blockquote span,
body.medisam-inner-page .medisam-page-hero .bt_bb_text blockquote span {
    color: #334155 !important;
}

/* Bold Timeline Text Color Overrides for Readability */
.bold_timeline_container,
.bold_timeline_container * {
    --boldthemes-default-item-color: #334155 !important;
}

.bold_timeline_container .bold_timeline_item,
.bold_timeline_container .bold_timeline_item_inner,
.bold_timeline_container .bold_timeline_item_header,
.bold_timeline_container .bold_timeline_item_content,
.bold_timeline_container .bold_timeline_item_title,
.bold_timeline_container .bold_timeline_item_text,
.bold_timeline_container .bold_timeline_item_text-content,
.bold_timeline_container .bold_timeline_item p,
.bold_timeline_container .bold_timeline_item span,
.bold_timeline_container .bold_timeline_item h1,
.bold_timeline_container .bold_timeline_item h2,
.bold_timeline_container .bold_timeline_item h3,
.bold_timeline_container .bold_timeline_item h4 {
    color: #334155 !important;
}

.bold_timeline_container .bold_timeline_item_title {
    color: #0c3e5a !important; /* Premium Deep Medical Blue */
    font-weight: 700 !important;
}

/* Reiseplan timeline readability */
body.page-id-162 .bold_timeline_container,
body.page-id-162 .bold_timeline_container * {
    text-shadow: none !important;
}

body.page-id-162 .bold_timeline_item {
    background: #ffffff !important;
    border: 1px solid rgba(15, 162, 123, 0.28) !important;
    border-radius: 0 !important;
    box-shadow: 0 22px 60px rgba(12, 62, 90, 0.12) !important;
}

body.page-id-162 .bold_timeline_item_header,
body.page-id-162 .bold_timeline_item_content,
body.page-id-162 .bold_timeline_item_text,
body.page-id-162 .bold_timeline_item_text_inner {
    background: transparent !important;
}

body.page-id-162 .bold_timeline_item_header_supertitle {
    color: #0f766e !important;
    font-weight: 700 !important;
}

body.page-id-162 .bold_timeline_item_header_title,
body.page-id-162 .bold_timeline_item h1,
body.page-id-162 .bold_timeline_item h2,
body.page-id-162 .bold_timeline_item h3,
body.page-id-162 .bold_timeline_item h4 {
    color: #0c3e5a !important;
    font-weight: 800 !important;
}

body.page-id-162 .bold_timeline_item p,
body.page-id-162 .bold_timeline_item li,
body.page-id-162 .bold_timeline_item span,
body.page-id-162 .bold_timeline_item_text_inner,
body.page-id-162 .bold_timeline_item_text_inner * {
    color: #334155 !important;
}

body.page-id-162 .bold_timeline_item ol,
body.page-id-162 .bold_timeline_item ul {
    background: rgba(248, 250, 252, 0.96) !important;
    border: 1px solid rgba(12, 62, 90, 0.08) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
}

body.page-id-162 .bold_timeline_item li::marker {
    color: #0f766e !important;
    font-weight: 800 !important;
}

body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_container,
body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_container * {
    text-shadow: none !important;
}

body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item_header_supertitle {
    color: #0f766e !important;
    font-weight: 800 !important;
}

body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item_header_title,
body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item h1,
body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item h2,
body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item h3,
body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item h4 {
    color: #0c3e5a !important;
    text-shadow: none !important;
}

body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item p,
body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item li,
body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item span,
body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item em,
body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item_text_inner,
body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item_text_inner * {
    color: #334155 !important;
}

body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item ol,
body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item ul {
    background: #f8fafc !important;
    border: 1px solid rgba(12, 62, 90, 0.1) !important;
    box-shadow: none !important;
}

body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item_header_supertitle {
    color: #0f766e !important;
}

body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item_header p.bold_timeline_item_header_supertitle {
    color: #0f766e !important;
}

body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item li strong,
body.page-id-162.medisam-inner-page .medisam-page-hero .bt_bb_text .bold_timeline_item li b {
    color: #0c3e5a !important;
    display: block !important;
    font-weight: 800 !important;
    margin-bottom: 4px !important;
}

/* ==============================================================
   DESKTOP ONLY PREMIUM UX & AESTHETIC ENHANCEMENTS
   Enclosed in min-width: 992px to ensure mobile view is completely unaffected.
   ============================================================== */
@media (min-width: 992px) {
    /* 1. Header Navigation Underline Glow & Submenu Slide */
    .menuPort ul.menu > li > a::after {
        box-shadow: 0 0 6px rgba(15, 162, 123, 0.6);
    }
    
    .menuPort ul.menu li:hover > ul.sub-menu {
        animation: medisamSubmenuFadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    }
    
    @keyframes medisamSubmenuFadeIn {
        from {
            opacity: 0;
            transform: translateY(12px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .menuPort ul.sub-menu li a {
        transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), color 0.25s ease !important;
    }
    
    .menuPort ul.sub-menu li:hover > a {
        transform: translateX(6px) !important;
    }

    /* 2. Hero Section - CTA Button & Eyebrow Animations */
    @keyframes medisamEyebrowPulse {
        0%, 100% { 
            box-shadow: 0 4px 15px rgba(15, 162, 123, 0.15); 
            border-color: rgba(15, 162, 123, 0.3); 
        }
        50% { 
            box-shadow: 0 4px 28px rgba(15, 162, 123, 0.45); 
            border-color: rgba(15, 162, 123, 0.75); 
        }
    }
    
    .medisam-slider-hero__eyebrow {
        animation: medisamEyebrowPulse 4s infinite ease-in-out;
    }
    
    @keyframes medisamCtaFloat {
        0%, 100% { transform: translateY(0); }
        50% { transform: translateY(-4px); }
    }
    
    .medisam-slider-hero__chip[href*="termin-buchen"] {
        animation: medisamCtaFloat 5s infinite ease-in-out;
    }
    
    .medisam-slider-hero__chip[href*="termin-buchen"]:hover {
        animation: none !important;
        transform: translateY(-3px) scale(1.02) !important;
        box-shadow: 0 12px 35px rgba(15, 162, 123, 0.5) !important;
    }

    /* 3. Lächeln-Galerie (Doctor/Team) & General Card Hover Updates */
    .medisam-smile-gallery-section .bt_bb_grid_item_post_thumbnail a {
        display: block !important;
        width: 100% !important;
        aspect-ratio: 1 / 1 !important; /* Reserves space for square images before JS loads them */
        overflow: hidden !important;
        position: relative !important;
    }
    
    .medisam-smile-gallery-section .bt_bb_grid_item_post_thumbnail a img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }

    .medisam-smile-gallery-card {
        margin-bottom: 30px !important; /* Extra spacing to prevent vertical squishing */
    }

    .medisam-smile-gallery-section .bt_bb_css_post_grid_content {
        align-items: start !important;
        gap: clamp(36px, 3vw, 56px) clamp(28px, 2.4vw, 44px) !important;
    }

    .medisam-smile-gallery-section .bt_bb_grid_item,
    .medisam-smile-gallery-card {
        align-self: start !important;
        height: auto !important;
        min-height: 0 !important;
        overflow-x: clip !important; overflow-y: visible !important;
    }

    .medisam-smile-gallery-card .bt_bb_grid_item_inner {
        height: auto !important;
        min-height: 100% !important;
    }

    .medisam-smile-gallery-card .bt_bb_grid_item_post_content {
        min-height: 178px !important;
        padding: 26px 34px 32px !important;
    }

    .medisam-smile-gallery-card .bt_bb_grid_item_category {
        row-gap: 10px !important;
    }

    .medisam-smile-gallery-card .bt_bb_grid_item_post_title {
        clear: both !important;
        display: block !important;
        line-height: 1.18 !important;
    }

    .medisam-smile-gallery-card:hover {
        transform: translateY(-8px) scale(1.01) !important;
        box-shadow: var(--shadow-premium) !important;
    }
    
    .medisam-smile-gallery-card:hover img {
        transform: scale(1.05) !important;
    }
    
    .bt_bb_column_inner:has(.bt_bb_image):has(.bt_bb_headline):hover,
    .bt_bb_column_inner:has(.bt_bb_icon):has(.bt_bb_headline):hover {
        box-shadow: 0 22px 50px rgba(12, 62, 90, 0.08), 0 4px 20px rgba(15, 162, 123, 0.04) !important;
        border-color: rgba(15, 162, 123, 0.22) !important;
    }

    /* Restoring Gutter/Spacing for the two left-side cards (Get Free Quotation, etc.) */
    .bt_bb_row_inner .bt_bb_row_inner_holder {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 25px !important;
    }

    .bt_bb_row_inner .bt_bb_row_inner_holder > .bt_bb_column_inner.col-md-6,
    .bt_bb_row_inner .bt_bb_row_inner_holder > .bt_bb_column_inner.col-lg-6,
    .bt_bb_row_inner .bt_bb_row_inner_holder > .bt_bb_column_inner.col-xl-6 {
        flex: 1 1 0% !important;
        max-width: none !important;
        width: auto !important;
        padding-left: 20px !important;
        padding-right: 20px !important;
        box-sizing: border-box !important;
    }

    /* 4. Booking Form Focus Highlights */
    .btContent .bt_bb_section:has(form) input:focus,
    .btContent .bt_bb_section:has(form) select:focus,
    .btContent .bt_bb_section:has(form) textarea:focus {
        border-color: var(--accent-teal) !important;
        box-shadow: 0 0 18px rgba(15, 162, 123, 0.25) !important;
    }

    /* 5. FAQ Accordion Item Micro-Interactions */
    .bt_bb_accordion_item_title {
        transition: padding-left 0.3s cubic-bezier(0.16, 1, 0.3, 1), color 0.3s ease !important;
    }
    
    .bt_bb_accordion_item_title:hover {
        color: var(--accent-teal) !important;
        padding-left: 8px !important;
    }

    /* 6. Blog Post Hover Micro-interactions */
    .bt_bb_latest_posts_item {
        transition: var(--transition-smooth) !important;
    }
    
    .bt_bb_latest_posts_item .bt_bb_latest_posts_item_image {
        overflow: hidden !important;
        border-radius: 14px !important;
    }
    
    .bt_bb_latest_posts_item .bt_bb_latest_posts_item_image img {
        transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
    }
    
    .bt_bb_latest_posts_item:hover .bt_bb_latest_posts_item_image img {
        transform: scale(1.06) !important;
    }
    
    .bt_bb_latest_posts_item:hover {
        transform: translateY(-4px) !important;
    }

    /* 7. Dark Section / Staff Portrait Spotlight Glow Effects */
    .bt_bb_section[style*="background-color: #000000"] .bt_bb_image,
    .bt_bb_section[style*="background-color: rgb(0, 0, 0)"] .bt_bb_image,
    .medisam-dark-section .bt_bb_image {
        position: relative;
        overflow: hidden;
        border-radius: 12px;
        transition: var(--transition-smooth) !important;
    }
    
    .bt_bb_section[style*="background-color: #000000"] .bt_bb_image img,
    .bt_bb_section[style*="background-color: rgb(0, 0, 0)"] .bt_bb_image img,
    .medisam-dark-section .bt_bb_image img {
        filter: grayscale(0.15) brightness(0.92);
        transition: var(--transition-smooth) !important;
    }
    
    .bt_bb_section[style*="background-color: #000000"] .bt_bb_image:hover img,
    .bt_bb_section[style*="background-color: rgb(0, 0, 0)"] .bt_bb_image:hover img,
    .medisam-dark-section .bt_bb_image:hover img {
        filter: grayscale(0) brightness(1.06);
        transform: scale(1.04) !important;
    }
    
    .bt_bb_section[style*="background-color: #000000"] .bt_bb_image::after,
    .bt_bb_section[style*="background-color: rgb(0, 0, 0)"] .bt_bb_image::after,
    .medisam-dark-section .bt_bb_image::after {
        content: '';
        position: absolute;
        inset: 0;
        border: 2px solid transparent;
        border-radius: 12px;
        pointer-events: none;
        transition: var(--transition-smooth) !important;
        box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.65);
        z-index: 2;
    }
    
    .bt_bb_section[style*="background-color: #000000"] .bt_bb_image:hover::after,
    .bt_bb_section[style*="background-color: rgb(0, 0, 0)"] .bt_bb_image:hover::after,
    .medisam-dark-section .bt_bb_image:hover::after {
        border-color: rgba(15, 162, 123, 0.45);
        box-shadow: inset 0 0 12px rgba(15, 162, 123, 0.2), 0 0 35px rgba(15, 162, 123, 0.35);
    }
}

/* Mobile footer correction: keep the real lower footer navy.
   The first footer CTA section stays white by design. */
@media (max-width: 768px) {
    .btSiteFooter,
    .btSiteFooter .bt_bb_wrapper,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2),
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) .bt_bb_port,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) .bt_bb_cell,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) .bt_bb_cell_inner,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) .bt_bb_row,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) .bt_bb_row_holder,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) .bt_bb_column,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) .bt_bb_column_content,
    .btSiteFooter > footer,
    .btSiteFooter .btSiteFooterWidgets,
    .btSiteFooter .btSiteFooterWidgets .port,
    .btSiteFooter #boldSiteFooterWidgetsRow,
    .btSiteFooter #boldSiteFooterWidgetsRow .bt_bb_column,
    .btSiteFooter #boldSiteFooterWidgetsRow .bt_bb_column_content {
        background: #081b32 !important;
        background-color: #081b32 !important;
        background-image: none !important;
    }

    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) *,
    .btSiteFooter > footer *,
    .btSiteFooter .btSiteFooterWidgets * {
        color: rgba(255, 255, 255, 0.86) !important;
    }

    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) h1,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) h2,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) h3,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) h4,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) h5,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) h6,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) .bt_bb_headline_content,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) .bt_bb_working_hours_inner_title,
    .btSiteFooter > footer h1,
    .btSiteFooter > footer h2,
    .btSiteFooter > footer h3,
    .btSiteFooter > footer h4,
    .btSiteFooter > footer h5,
    .btSiteFooter > footer h6 {
        color: #ffffff !important;
    }

    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) a,
    .btSiteFooter > footer a,
    .btSiteFooter .btSiteFooterWidgets a {
        color: #ffffff !important;
    }

    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) .bt_bb_separator.bt_bb_border_style_solid,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) .bt_bb_separator.bt_bb_border_style_solid::before,
    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) .bt_bb_separator.bt_bb_border_style_solid::after {
        border-color: rgba(255, 255, 255, 0.12) !important;
        background: rgba(255, 255, 255, 0.12) !important;
    }

    .btSiteFooter .bt_bb_section:nth-of-type(n + 2) .bt_bb_icon_holder,
    .btSiteFooter > footer .bt_bb_icon_holder {
        background-color: rgba(255, 255, 255, 0.1) !important;
        color: #ffffff !important;
    }

    .btSiteFooter {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }

    .btSiteFooter > footer,
    .btSiteFooter .btSiteFooterWidgets,
    .btSiteFooter .btSiteFooterWidgets .port,
    .btSiteFooter #boldSiteFooterWidgetsRow {
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
    }
}

/* Final mobile icon dock override: Instagram-style glass navigation */
@media (max-width: 991px) {
    .btContentWrap {
        padding-bottom: 88px !important;
    }

    .medisam-mobile-cta {
        right: 14px !important;
        bottom: calc(12px + env(safe-area-inset-bottom)) !important;
        left: 14px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        gap: 0 !important;
        min-height: 64px !important;
        padding: 8px 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.48) !important;
        border-radius: 28px !important;
        background:
            linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(255, 255, 255, 0.28)),
            rgba(255, 255, 255, 0.42) !important;
        box-shadow:
            0 18px 46px rgba(8, 27, 50, 0.22),
            0 4px 14px rgba(12, 62, 90, 0.12),
            inset 0 1px 0 rgba(255, 255, 255, 0.78) !important;
        -webkit-backdrop-filter: blur(28px) saturate(1.75) !important;
        backdrop-filter: blur(28px) saturate(1.75) !important;
    }

    .medisam-mobile-cta__quick,
    .medisam-mobile-cta__actions {
        display: flex !important;
        align-items: center !important;
        gap: 0 !important;
        min-width: 0 !important;
    }

    .medisam-mobile-cta__quick {
        flex: 3 1 0 !important;
    }

    .medisam-mobile-cta__actions {
        flex: 2 1 0 !important;
    }

    .medisam-mobile-cta__quick-link,
    .medisam-mobile-cta__button {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        min-height: 48px !important;
        width: auto !important;
        height: 48px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        gap: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        border-radius: 20px !important;
        background: transparent !important;
        color: #0c3e5a !important;
        box-shadow: none !important;
        text-decoration: none !important;
        transition: transform 0.18s ease, background-color 0.18s ease, color 0.18s ease !important;
        -webkit-tap-highlight-color: transparent !important;
    }

    .medisam-mobile-cta__quick-link > span,
    .medisam-mobile-cta__button > span {
        position: absolute !important;
        width: 1px !important;
        height: 1px !important;
        padding: 0 !important;
        overflow: hidden !important;
        clip: rect(0, 0, 0, 0) !important;
        white-space: nowrap !important;
        border: 0 !important;
    }

    .medisam-mobile-cta__quick-link i,
    .medisam-mobile-cta__button i {
        width: 42px !important;
        height: 42px !important;
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        border-radius: 18px !important;
        background: rgba(255, 255, 255, 0.34) !important;
        color: currentColor !important;
        font-size: 20px !important;
        line-height: 1 !important;
        box-shadow:
            inset 0 1px 0 rgba(255, 255, 255, 0.58),
            0 6px 16px rgba(8, 27, 50, 0.08) !important;
    }

    .medisam-mobile-cta__button--whatsapp i {
        color: #14a95f !important;
    }

    .medisam-mobile-cta__button--booking i {
        color: var(--accent-teal) !important;
    }

    .medisam-mobile-cta__quick-link:active,
    .medisam-mobile-cta__button:active {
        transform: scale(0.95) !important;
        background: rgba(255, 255, 255, 0.28) !important;
    }
}

/* Patient story reels under the home slider */
.medisam-story-reels {
    position: relative;
    padding: 26px 0 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(245, 250, 252, 0.92));
    overflow: hidden;
}

.medisam-story-reels__inner {
    width: min(1180px, calc(100% - 36px));
    margin: 0 auto;
    display: grid;
    grid-template-columns: minmax(220px, 0.9fr) minmax(0, 1.7fr);
    align-items: center;
    gap: 28px;
}

.medisam-story-reels__eyebrow {
    display: inline-flex;
    margin-bottom: 8px;
    color: var(--accent-teal);
    font-family: var(--font-modern), sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0;
    text-transform: uppercase;
}

.medisam-story-reels__title {
    margin: 0;
    color: #0c3e5a;
    font-family: var(--font-display), serif;
    font-size: clamp(24px, 3vw, 40px);
    line-height: 1.08;
}

.medisam-story-reels__copy {
    max-width: 430px;
    margin: 10px 0 0;
    color: rgba(8, 27, 50, 0.72);
    font-family: var(--font-modern), sans-serif;
    font-size: 15px;
    line-height: 1.55;
}

.medisam-story-reels__rail {
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    gap: 18px;
    overflow-x: auto;
    padding: 8px 4px 10px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.medisam-story-reels__rail::-webkit-scrollbar {
    display: none;
}

.medisam-story-reels__item {
    flex: 0 0 auto;
    width: 112px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #0c3e5a;
    cursor: pointer;
    font-family: var(--font-modern), sans-serif;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}

.medisam-story-reels__ring {
    position: relative;
    width: 104px;
    height: 104px;
    display: grid;
    place-items: center;
    margin: 0 auto 10px;
    border-radius: 50%;
    background:
        linear-gradient(#ffffff, #ffffff) padding-box,
        linear-gradient(135deg, #ff2d74, #ffb000 48%, #0fa27b 100%) border-box;
    border: 4px solid transparent;
    box-shadow:
        0 12px 30px rgba(12, 62, 90, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.88);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.medisam-story-reels__preview {
    width: 100%;
    height: 100%;
    display: block;
    border-radius: 50%;
    object-fit: cover;
    background: #081b32;
}

.medisam-story-reels__play {
    position: absolute;
    inset: auto 8px 8px auto;
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.86);
    color: #0c3e5a;
    box-shadow: 0 6px 16px rgba(8, 27, 50, 0.2);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
}

.medisam-story-reels__play i {
    margin-left: 2px;
    font-size: 11px;
}

.medisam-story-reels__label {
    display: block;
    color: rgba(8, 27, 50, 0.82);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.18;
}

.medisam-story-reels__item:hover .medisam-story-reels__ring,
.medisam-story-reels__item:focus-visible .medisam-story-reels__ring {
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(12, 62, 90, 0.24);
}

.medisam-story-modal {
    position: fixed;
    inset: 0;
    z-index: 1000003;
    display: grid;
    place-items: center;
    padding: 24px;
    background: rgba(5, 18, 30, 0.78);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
}

.medisam-story-modal__frame {
    width: min(390px, 86vw);
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 28px;
    background: #000;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.48);
}

.medisam-story-modal__video {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.medisam-story-modal__close {
    position: fixed;
    top: max(18px, env(safe-area-inset-top));
    right: 18px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    color: #081b32;
    cursor: pointer;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.22);
}

.medisam-story-modal__caption {
    position: fixed;
    bottom: max(18px, env(safe-area-inset-bottom));
    left: 50%;
    transform: translateX(-50%);
    color: #ffffff;
    font-family: var(--font-modern), sans-serif;
    font-size: 13px;
    font-weight: 800;
}

@media (max-width: 768px) {
    .medisam-story-reels {
        padding: 18px 0 10px;
    }

    .medisam-story-reels__inner {
        width: 100%;
        display: block;
    }

    .medisam-story-reels__header {
        padding: 0 18px;
    }

    .medisam-story-reels__copy {
        display: none;
    }

    .medisam-story-reels__title {
        font-size: 24px;
    }

    .medisam-story-reels__rail {
        justify-content: flex-start;
        gap: 14px;
        padding: 12px 18px 10px;
        scroll-padding-inline: 18px;
    }

    .medisam-story-reels__item {
        width: 86px;
    }

    .medisam-story-reels__ring {
        width: 78px;
        height: 78px;
        border-width: 3px;
        margin-bottom: 8px;
    }

    .medisam-story-reels__play {
        width: 23px;
        height: 23px;
        right: 4px;
        bottom: 4px;
    }

    .medisam-story-reels__label {
        font-size: 10px;
    }

    .medisam-story-modal {
        padding: 12px;
    }

    .medisam-story-modal__frame {
        width: min(390px, 94vw);
        border-radius: 24px;
    }
}

@media (max-width: 420px) {
    .medisam-mobile-cta {
        right: 10px !important;
        left: 10px !important;
        min-height: 60px !important;
        padding: 7px 8px !important;
        border-radius: 24px !important;
    }

    .medisam-mobile-cta__quick-link,
    .medisam-mobile-cta__button {
        min-height: 44px !important;
        height: 44px !important;
        border-radius: 17px !important;
    }

    .medisam-mobile-cta__quick-link i,
    .medisam-mobile-cta__button i {
        width: 38px !important;
        height: 38px !important;
        border-radius: 16px !important;
        font-size: 18px !important;
    }
}

/* Mobile story rail: overlay the hero first, then pin like a social stories bar */
@media (max-width: 768px) {
    body.home .medisam-story-reels {
        position: sticky !important;
        top: max(0px, env(safe-area-inset-top)) !important;
        z-index: 99980 !important;
        margin-top: -112px !important;
        padding: 8px 0 9px !important;
        isolation: isolate;
        background:
            linear-gradient(180deg, rgba(8, 27, 50, 0.74), rgba(8, 27, 50, 0.48));
        border-top: 1px solid rgba(255, 255, 255, 0.28);
        border-bottom: 1px solid rgba(255, 255, 255, 0.18);
        box-shadow:
            0 18px 42px rgba(5, 18, 30, 0.24),
            inset 0 1px 0 rgba(255, 255, 255, 0.18);
        -webkit-backdrop-filter: blur(22px) saturate(1.55);
        backdrop-filter: blur(22px) saturate(1.55);
    }

    body.home .medisam-story-reels::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: -1;
        background:
            radial-gradient(circle at 14% 0%, rgba(255, 255, 255, 0.2), transparent 34%),
            linear-gradient(90deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
        pointer-events: none;
    }

    body.home .medisam-story-reels__inner {
        width: 100% !important;
        max-width: none !important;
        display: block !important;
    }

    body.home .medisam-story-reels__header {
        display: none !important;
    }

    body.home .medisam-story-reels__rail {
        justify-content: flex-start !important;
        gap: 12px !important;
        padding: 6px 14px 3px !important;
        scroll-padding-inline: 14px !important;
        -webkit-overflow-scrolling: touch;
    }

    body.home .medisam-story-reels__item {
        width: 80px !important;
        color: #ffffff !important;
    }

    body.home .medisam-story-reels__ring {
        width: 72px !important;
        height: 72px !important;
        margin-bottom: 7px !important;
        border-width: 3px !important;
        box-shadow:
            0 10px 28px rgba(0, 0, 0, 0.25),
            inset 0 1px 0 rgba(255, 255, 255, 0.72);
    }

    body.home .medisam-story-reels__play {
        width: 22px !important;
        height: 22px !important;
        right: 4px !important;
        bottom: 4px !important;
    }

    body.home .medisam-story-reels__label {
        color: rgba(255, 255, 255, 0.94) !important;
        font-size: 10px !important;
        line-height: 1.12 !important;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.42);
    }
}

@media (max-width: 420px) {
    body.home .medisam-story-reels {
        margin-top: -106px !important;
    }

    body.home .medisam-story-reels__rail {
        gap: 10px !important;
        padding-inline: 12px !important;
    }

    body.home .medisam-story-reels__item {
        width: 76px !important;
    }

    body.home .medisam-story-reels__ring {
        width: 68px !important;
        height: 68px !important;
    }
}

/* Fix sticky behavior inside theme wrappers */
@media (max-width: 768px) {
    body.home .btContentWrap,
    body.home .btContentHolder,
    body.home .btContent {
        overflow-x: clip !important; overflow-y: visible !important;
    }
}

@media (max-width: 768px) {
    html, body, body.home .btPageWrap, body.home .btContentWrap, body.home .btContentHolder, body.home .btContent, body.home .bt_bb_section {
        overflow-x: clip !important; overflow-y: visible !important;
        clip-path: none !important;
    }
}

/* Fix video aspect ratio and gap inside story ring */
.medisam-story-reels__preview {
    position: absolute !important;
    top: 3px !important;
    left: 3px !important;
    width: calc(100% - 6px) !important;
    height: calc(100% - 6px) !important;
    max-width: none !important;
    object-fit: cover !important;
    border-radius: 50% !important;
}

/* Custom FontAwesome class support */
.fa, .fab, .fas { font-family: "FontAwesome" !important; font-style: normal !important; font-weight: normal !important; display: inline-block; }
.fa-play::before { content: "\f04b" !important; }
.fa-image::before { content: "\f03e" !important; }
.fa-star::before { content: "\f005" !important; }
.fa-users::before { content: "\f0c0" !important; }
.fa-whatsapp::before { content: "\f232" !important; }
.fa-calendar::before { content: "\f073" !important; }

/* --- Scroll Reveal Animation - CLS Prevention --- */

/* Initial hidden state, applied only when javascript is active */
.js-active .bt_bb_section,
.js-active .bt_bb_column_inner,
.js-active .bt_bb_latest_posts_item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

/* Exclude above-the-fold elements from being hidden initially */
.js-active .btSiteHeader .bt_bb_section,
.js-active .btSiteFooter .bt_bb_section,
.js-active .btFooterWidgets .bt_bb_section,
.js-active .medisam-page-hero,
.js-active .medisam-page-hero .bt_bb_column_inner,
.js-active .bt_bb_content_slider,
.js-active .bt_bb_content_slider .bt_bb_column_inner,
.js-active .bt_bb_section:first-of-type,
.js-active .bt_bb_section:first-of-type .bt_bb_column_inner {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
}

/* Revealed State */
.js-active .reveal-visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}


/* --- Bookimed Widget CSS Custom Overrides --- */
@font-face {
    font-family: "Inter Regular";
    src: url("https://assets.bookimed.com/partners/widget/fonts/Inter-Regular.ttf");
    font-display: swap;
}
.bookimed-widget ~ a{
    color: #737373;
    font-family: "Inter Regular";
    display: inline-block;
    margin-top: 16px;
    margin-bottom: 16px;
    margin-left: 16px;
}
.bookimed-widget{
    font-family: "Inter Regular";
}
.bookimed-widget .iti__flag {
    -webkit-box-shadow: 0 0 1px 0 #888;
    box-shadow: 0 0 1px 0 #888;
    background-image: url(https://assets.bookimed.com/partners/flags.png);
    background-repeat: no-repeat;
    background-color: #dbdbdb;
    margin: 0 10px;
    height: 11px;
}
.bookimed-widget .swiper-button-prev {
    width: 32px;
    height: 32px;
    border-radius: 100%;
    border: 1px solid #aba9a9;
    background: #ffffff;
}
.bookimed-widget .swiper-button-next {
    width: 32px;
    height: 32px;
    border-radius: 100%;
    border: 1px solid #aba9a9;
    background: #ffffff;
}
.bookimed-widget .swiper-button-prev:after {
    font-size: 14px;
    color: #aba9a9;
}
.bookimed-widget .swiper-button-next:after {
    font-size: 14px;
    color: #aba9a9;
}
.bookimed-widget .swiper-button-prev:after {
    position: relative;
    left: 0;
}
.bookimed-widget .swiper-button-next:after {
    position: relative;
    left: 1px;
}
.bookimed-widget .swiper-button-prev {
    left: 0;
}
.bookimed-widget .swiper-button-next {
    right: 0;
}
.bookimed-widget .bookimed-widget__certificate {
    display: flex;
    justify-content: center;
}
.bookimed-widget .bookimed-widget__certificate-content {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    padding: 30px 16px;
    background: #FAFAFA;
    gap: 40px;
}
.bookimed-widget .bookimed-widget__certificate-logo {
    max-width: 205px;
    height: 45px;
    margin: 0;
}
.bookimed-widget .bookimed-widget__certificate-logo-black{
    display: block;
}
.bookimed-widget .bookimed-widget__certificate-logo-white{
    display: none;
}
.bookimed-widget .bookimed-widget__certificate-item {
    flex-grow: 0;
    flex-shrink: 1;
    color: #14532D;
}
.bookimed-widget .bookimed-widget__certificate-author-name {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 22px;
    line-height: 32px;
}
.bookimed-widget .bookimed-widget__certificate-author-name > a {
    text-decoration: none;
    color: #14532D;
}
.bookimed-widget .bookimed-widget__certificate-author-image {
    display: block;
    width: 20px;
    height: 20px;
    object-fit: cover;
    margin-bottom: 3px;
}
.bookimed-widget .bookimed-widget__certificate-info {
    font-size: 18px;
    line-height: 24px;
}
.bookimed-widget .bookimed-widget__certificate-info-date {
    font-weight: 500;
}

.bookimed-widget .bookimed-widget__review {
    display: flex;
    justify-content: center;
}
.bookimed-widget .bookimed-widget__review-content {
    width: 100%;
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
}
.bookimed-widget .bookimed-widget__review-left {
    width: 205px;
}
.bookimed-widget .bookimed-widget__review-golden-star {
    width: 19px;
    height: 19px;
}
.bookimed-widget .bookimed-widget__review-info {
    font-size: 12px;
    line-height: 18px;
    color: #404040;
    padding-bottom: 15px;
}
.bookimed-widget .bookimed-widget__review-info a{
    color: #404040;
}
.bookimed-widget .bookimed-widget__review-logo {
    display: block;
    max-width: 205px;
}
.bookimed-widget .bookimed-widget__review-logo-white {
    display: none;
}
.bookimed-widget .bookimed-widget__review-rating-counter {
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
    margin-left: 7px;
}
.bookimed-widget .bookimed-widget__review-right {
    width: calc(100% - 300px);
}
.bookimed-widget .bookimed-widget__review-item {
    font-weight: 300;
    font-size: 16px;
    background: #FAFAFA;
    border-radius: 32px;
    padding: 36px 16px;
}
.bookimed-widget .bookimed-widget__review-rating {
    display: flex;
}
.bookimed-widget .bookimed-widget__review-rating-star {
    width: 15px;
    height: 15px;
}
.bookimed-widget .bookimed-widget__review-title {
    font-weight: 600;
    line-height: 24px;
    color: #171717;
    padding: 18px 0 8px 0;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    height: 50px;
}
.bookimed-widget .bookimed-widget__review-main-text {
    font-size: 14px;
    line-height: 20px;
    color: #171717;
    height: 80px;
    overflow: hidden;
}
.bookimed-widget .bookimed-widget__review-author {
    line-height: 24px;
    color: #ffffff;
    padding: 16px 0 6px 0;
}
.bookimed-widget .bookimed-widget__review-location {
    display: flex;
    align-items: center;
    font-weight: 500;
    font-size: 14px;
    line-height: 16px;
    color: #737373;
}
.bookimed-widget .bookimed-widget__review-flag {
    width: 20px;
    height: 15px;
    margin-right: 6px;
}

@media screen and (max-width: 1024px) {
    .bookimed-widget .bookimed-widget__certificate-content {
        flex-wrap: wrap;
    }
    .bookimed-widget .bookimed-widget__certificate-logo-white {
        margin-left: 40px;
    }
    .bookimed-widget .bookimed-widget__certificate-item {
        width: 100%;
    }

    .bookimed-widget .bookimed-widget__review-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 40px;
    }
    .bookimed-widget .bookimed-widget__review-left {
        width: 100%;
        padding: 0 16px;
    }
    .bookimed-widget .bookimed-widget__review-right {
        width: 100%;
    }
}
@media screen and (max-width: 767px) {
    .bookimed-widget .bookimed-widget__review-item {
        margin: 0 16px;
    }
}
@media screen and (max-width: 480px) {
    .bookimed-widget .bookimed-widget__certificate-info {
        font-size: 16px;
    }
    .bookimed-widget .bookimed-widget__certificate-logo-white {
        margin-left: 15px;
    }
}

.bookimed-widget--dark .bookimed-widget__certificate-logo-black{
    display: none;
}
.bookimed-widget--dark .bookimed-widget__certificate-logo-white{
    display: block;
}
.bookimed-widget--dark .bookimed-widget__review-logo-black {
    display: none;
}
.bookimed-widget--dark .bookimed-widget__review-logo-white {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.bookimed-widget--dark .bookimed-widget__certificate-content {
    background: #18162E;
}
.bookimed-widget--dark .bookimed-widget__certificate-item {
    color: #fff;
}

.bookimed-widget--dark .bookimed-widget__review-content {
    background: #18162E;
}
.bookimed-widget--dark .bookimed-widget__review-item {
    background: #22242F;
}
.bookimed-widget--dark .bookimed-widget__review-left {
    color: #fff;
}
.bookimed-widget--dark .bookimed-widget__review-info {
    color: #fff;
}
.bookimed-widget--dark .bookimed-widget__review-info a{
    color: #fff;
}
.bookimed-widget--dark .bookimed-widget__review-title {
    color: #F4F4F6;
}
.bookimed-widget--dark .bookimed-widget__review-main-text {
    color: #C8C9D0;
}
.bookimed-widget--dark .bookimed-widget__certificate-author-name > a {
    color: #DEDFE3;
}
.bookimed-widget--dark .bookimed-widget__review-location {
    color: #9C9EAB;
}
.bookimed-widget--dark .swiper-button-prev {
    background: #22242F;
}
.bookimed-widget--dark .swiper-button-next {
    background: #22242F;
}
.bookimed-widget--dark .swiper-button-next:after {
    font-size: 14px;
    color: #ffffff;
}
.bookimed-widget--dark .swiper-button-prev:after {
    font-size: 14px;
    color: #ffffff;
}
.bookimed-widget--dark .swiper-button-prev:after {
    position: relative;
    left: 0;
}
.bookimed-widget--dark .swiper-button-next:after {
    position: relative;
    left: 1px;
}
.bookimed-widget--dark .swiper-button-prev {
    left: 0;
}
.bookimed-widget--dark .swiper-button-next {
    right: 0;
}




/* --- Swiper Bundle CSS Custom Overrides (For Bookimed Widget) --- */
@font-face{font-family:swiper-icons;font-display:swap;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{backgroun