@charset "UTF-8";

/* Fonts */
:root {
    --base-font-size: 16px;
    --default-font: "Anuphan", system-ui, sans-serif;   /* ฟอนต์เนื้อหา */
    --heading-font: "Anuphan", system-ui, sans-serif;    /* ฟอนต์หัวข้อ */
    --nav-font: "Anuphan", system-ui, sans-serif;      /* ฟอนต์เมนู */
    --body-font: "Sarabun", system-ui, sans-serif;      /* ฟอนต์ custom เฉพาะส่วน */
}

/* Global Colors - The following color variables are used throughout the website. Updating them here will change the color scheme of the entire website */
:root {
    --background-color: #ffffff; /* Background color for the entire website, including individual sections */
    --default-color: #000000; /* Default color used for the majority of the text content across the entire website */
    --heading-color: #843895; /* Color for headings, subheadings and title throughout the website */
    --accent-color: #000000; /* Accent color that represents your brand on the website. It's used for buttons, links, and other elements that need to stand out */
    --accent-color-purple: #843895;
    --accent-color-pink: #ec008b;
    --accent-color-green: #72c9c2;
    --accent-color-yellow: #e2ae0d;
    --surface-color: #ffffff; /* The surface color is used as a background of boxed elements within sections, such as cards, icon boxes, or other elements that require a visual separation from the global background. */
    --contrast-color: #ffffff; /* Contrast color for text, ensuring readability against backgrounds of accent, heading, or default colors. */
}

/* Nav Menu Colors - The following color variables are used specifically for the navigation menu. They are separate from the global colors to allow for more customization options */
:root {
    --nav-color: #000000; /* The default color of the main navmenu links */
    --nav-hover-color: #843895; /* Applied to main navmenu links when they are hovered over or active */
    --nav-mobile-background-color: #ffffff; /* Used as the background color for mobile navigation menu */
    --nav-dropdown-background-color: #ffffff; /* Used as the background color for dropdown items that appear when hovering over primary navigation items */
    --nav-dropdown-color: #000000; /* Used for navigation links of the dropdown items in the navigation menu. */
    --nav-dropdown-hover-color: #843895; /* Similar to --nav-hover-color, this color is applied to dropdown navigation links when they are hovered over. */
}

/* Color Presets - These classes override global colors when applied to any section or element, providing reuse of the sam color scheme. */
  #cc-main {
    /* 1. z-index — keep it behind your popup's 99999 */
    --cc-z-index: 99998;

    /* 2. Look & feel */
    --cc-font-family: inherit; /* match your site's font instead of the default */
    --cc-modal-border-radius: 1rem;
    --cc-btn-border-radius: 0.5rem;
    --cc-modal-transition-duration: 0.3s;

    /* Buttons — swap these hex values for your brand colors */
    --cc-btn-primary-bg: #6d28d9;
    --cc-btn-primary-border-color: #6d28d9;
    --cc-btn-primary-hover-bg: #5b21b6;
    --cc-btn-primary-hover-border-color: #5b21b6;
    --cc-btn-secondary-bg: #f3f4f6;
    --cc-btn-secondary-hover-bg: #e5e7eb;

    /* Toggle switches match primary color */
    --cc-toggle-on-bg: var(--cc-btn-primary-bg);
  }

  /* Extra polish on top of the variable system */
  #cc-main .cm {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  }
  
.light-background {
    --background-color: #f4f8ff;
    --surface-color: #ffffff;
}

.dark-background {
    --background-color: #021418;
    --default-color: #ffffff;
    --heading-color: #ffffff;
    --surface-color: #11262a;
    --contrast-color: #ffffff;
}

/* Smooth scroll */
:root {
    scroll-behavior: smooth;
}

html{
    font-size:var(--base-font-size);
}

    /* Panel */
    .acc-panel {
        width: 290px;
        padding: 1rem;
        border: none;
        border-radius: 1rem;
        margin-top: .5rem !important;
    }

    .acc-panel-header {
        display: flex;
        align-items: center;
        gap: .75rem;
        padding-bottom: .75rem;
        margin-bottom: .75rem;
        border-bottom: 1px solid #eee;
    }
    .acc-panel-icon {
        width: 60px;
        height: 60px;
        flex-shrink: 0;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        border-radius: 12px;
        border: none ;
        background: var(--acc-purple-soft);
        color: var(--acc-purple);
        font-size: 1.2rem;
    }
    .acc-panel-title {
        font-weight: 600;
        font-size: .95rem;
        line-height: 1.2;
    }
    .acc-panel-sub {
        font-size: .75rem;
        color: #6c757d;
    }

    .acc-section { margin-bottom: .85rem; }

    .acc-section-label {
        display: flex;
        justify-content: space-between;
        align-items: center;
        font-size: .8rem;
        font-weight: 600;
        color: #495057;
        margin-bottom: .4rem;
    }
    .acc-size-badge {
        font-size: .7rem;
        font-weight: 600;
        color: var(--acc-purple);
        background: var(--acc-purple-soft);
        border-radius: 999px;
        padding: .15rem .55rem;
    }

    .acc-font-btn {
        border: 1px solid var(--acc-purple-border);
        color: var(--acc-purple);
        background: #fff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 1px;
        padding: .35rem 0;
    }
    .acc-font-btn:hover { background: var(--acc-purple-soft); color: var(--acc-purple); }
    .acc-font-btn:disabled { opacity: .35; }
    .acc-a-sm { font-size: .75rem; font-weight: 600; }
    .acc-a-md { font-size: .95rem; font-weight: 600; }
    .acc-a-lg { font-size: 1.15rem; font-weight: 600; }

    .acc-switch { padding-top: .15rem; padding-bottom: .15rem; }
    .acc-switch .form-check-label { font-size: .85rem; color: #333; cursor: pointer; }
    .acc-switch .form-check-input { cursor: pointer; }
    .acc-switch .form-check-input:checked {
        background-color: var(--acc-purple);
        border-color: var(--acc-purple);
    }
    .acc-switch .form-check-input:focus { box-shadow: 0 0 0 .2rem rgba(106, 27, 154, .15); }

    /* Reset */
    .acc-reset {
        width: 100%;
        font-size: .8rem;
        color: #6c757d;
        background: #f8f9fa;
        border: none;
        border-radius: .6rem;
        padding: .45rem;
    }
    .acc-reset:hover { background: #eee; color: #333; }
/* 
    html.acc-high-contrast body {
        filter: contrast(1.15);
    } */

    html.acc-high-contrast main,
    html.acc-high-contrast footer {
        filter: contrast(1.15);
    }

/*--------------------------------------------------------------
# General Styling & Shared Classes
--------------------------------------------------------------*/
body {
    color: var(--default-color);
    background-color: var(--background-color);
    font-family: var(--default-font);
}

a {
    color: var(--accent-color);
    text-decoration: none;
    transition: 0.3s;
}

    a:hover {
        color: color-mix(in srgb, var(--accent-color), transparent 25%);
        text-decoration: none;
    }

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--heading-font);
}

/*--------------------------------------------------------------
# Global Header
--------------------------------------------------------------*/
.header {
    --background-color: rgba(255, 255, 255, 0);
    color: var(--default-color);
    transition: all 0.5s;
    z-index: 997;
    background-color: var(--background-color);
    box-shadow: 0px 0 18px rgba(0, 0, 0, 0.1);
}

    .header .topbar {
        background-color: var(--accent-color);
        height: 40px;
        padding: 0;
        font-size: 14px;
        transition: all 0.5s;
    }

        .header .topbar .contact-info i {
            font-style: normal;
            color: var(--contrast-color);
        }

            .header .topbar .contact-info i a,
            .header .topbar .contact-info i span {
                padding-left: 5px;
                color: var(--contrast-color);
            }

@media (max-width: 575px) {

    .header .topbar .contact-info i a,
    .header .topbar .contact-info i span {
        font-size: 13px;
    }
}

.header .topbar .contact-info i a {
    line-height: 0;
    transition: 0.3s;
}

    .header .topbar .contact-info i a:hover {
        color: var(--contrast-color);
        text-decoration: underline;
    }

.header .topbar .social-links a {
    color: color-mix(in srgb, var(--contrast-color), transparent 40%);
    line-height: 0;
    transition: 0.3s;
    margin-left: 20px;
}

    .header .topbar .social-links a:hover {
        color: var(--contrast-color);
    }

.header .branding {
    min-height: 60px;
    padding: 10px 0;
}

.header .logo {
    line-height: 1;
}

    .header .logo img {
        max-height: 36px;
        margin-right: 8px;
    }

    .header .logo h1 {
        font-size: 30px;
        margin: 0;
        font-weight: 600;
        color: var(--heading-color);
    }

.scrolled .header .topbar {
    height: 0;
    visibility: hidden;
    overflow: hidden;
}

.research-post__download-stats {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
    margin-top: 0.7rem;
}

.research-post__downloads-count {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.45;
    color: #000000;
}

.gallery__button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.gallery__button-icon {
    font-size: 0.95em;
    line-height: 1;
    transition: transform 0.25s ease;
}

.gallery__button:hover .gallery__button-icon {
    transform: translateX(3px);
}


.research-post__downloads-count i {
    color: var(--accent-color-purple, #843895);
}

.research-post__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--default-color, #3c4049), transparent 88%);
}

.research-post__footer .research-post__views {
    margin: 0;
}

.logo .sitename {
    padding: 10px;
    font-family: var(--heading-font);
    color: var(--heading-color);
    font-size: 20px;
    font-weight: 600;
}

/* Global Header on Scroll
------------------------------*/
.scrolled .header {
    --background-color: #ffffff;
}




/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/* Desktop Navigation */
@media (min-width: 1200px) {
    .navmenu {
        padding: 0;
    }

        .navmenu ul {
            margin: 0;
            padding: 0;
            display: flex;
            list-style: none;
            align-items: center;
        }

        .navmenu li {
            position: relative;
        }

        .navmenu > ul > li {
            white-space: nowrap;
            padding: 15px 14px;
        }

            .navmenu > ul > li:last-child {
                padding-right: 0;
            }

        .navmenu a,
        .navmenu a:focus {
            color: var(--nav-color);
            font-size: 15px;
            padding: 0 2px;
            font-family: var(--nav-font);
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
            position: relative;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
                transition: 0.3s;
            }

        /* Underline runs under text only (not chevron / full link width) */
        .navmenu > ul > li > a > span {
            position: relative;
            display: inline-block;
        }

        .navmenu > ul > li > a > span:before {
            content: "";
            position: absolute;
            height: 2px;
            bottom: -6px;
            left: 0;
            width: 0;
            background-color: var(--accent-color-purple);
            visibility: hidden;
            transition: width 0.3s ease-in-out, visibility 0.3s ease-in-out;
        }

        .navmenu > ul > li > a:hover > span:before,
        .navmenu > ul > li:hover > a > span:before,
        .navmenu > ul > li > a.active > span:before,
        .navmenu > ul > li.active > a > span:before {
            visibility: visible;
            width: 100%;
        }

        .navmenu li:hover > a,
        .navmenu .active,
        .navmenu .active:focus {
            color: var(--nav-hover-color);
        }

        .navmenu .dropdown ul {
            margin: 0;
            padding: 10px 0;
            background: var(--nav-dropdown-background-color);
            display: block;
            position: absolute;
            visibility: hidden;
            left: 14px;
            top: 130%;
            opacity: 0;
            transition: 0.3s;
            border-radius: 4px;
            z-index: 99;
            box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.1);
        }

            .navmenu .dropdown ul li {
                min-width: 200px;
            }

            .navmenu .dropdown ul a {
                padding: 10px 20px;
                font-size: 15px;
                text-transform: none;
                color: var(--nav-dropdown-color);
            }

                .navmenu .dropdown ul a i {
                    font-size: 12px;
                }

                .navmenu .dropdown ul a:hover,
                .navmenu .dropdown ul .active:hover,
                .navmenu .dropdown ul li:hover > a {
                    color: var(--nav-dropdown-hover-color);
                }

        .navmenu .dropdown:hover > ul {
            opacity: 1;
            top: 100%;
            visibility: visible;
        }

        /* Nested flyout menus (level 3+) open to the left of their parent item */
        .navmenu .dropdown > ul .dropdown > ul {
            top: 0;
            left: auto;
            right: 100%;
            margin-right: 4px;
            visibility: hidden;
            opacity: 0;
            z-index: 100;
        }

        .navmenu .dropdown > ul .dropdown:hover > ul {
            opacity: 1;
            top: 0;
            visibility: visible;
        }
}

/* Mobile Navigation */
@media (max-width: 1199px) {
    .mobile-nav-toggle {
        color: var(--nav-color);
        font-size: 28px;
        line-height: 0;
        margin-right: 10px;
        cursor: pointer;
        transition: color 0.3s;
    }

    .navmenu {
        padding: 0;
        z-index: 9997;
         justify-content: flex-end !important;
    }

        .navmenu ul {
            display: none;
            list-style: none;
            position: absolute;
            inset: 60px 20px 20px 20px;
            padding: 10px 0;
            margin: 0;
            border-radius: 6px;
            background-color: var(--nav-mobile-background-color);
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
            box-shadow: none;
            overflow-y: auto;
            transition: 0.3s;
            z-index: 9998;
        }

        .navmenu a,
        .navmenu a:focus {
            color: var(--nav-dropdown-color);
            padding: 10px 20px;
            font-family: var(--nav-font);
            font-size: 17px;
            font-weight: 500;
            display: flex;
            align-items: center;
            justify-content: space-between;
            white-space: nowrap;
            transition: 0.3s;
        }

            .navmenu a i,
            .navmenu a:focus i {
                font-size: 12px;
                line-height: 0;
                margin-left: 5px;
                width: 30px;
                height: 30px;
                display: flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                transition: 0.3s;
                background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
            }

                .navmenu a i:hover,
                .navmenu a:focus i:hover {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                }

            .navmenu a:hover,
            .navmenu .active,
            .navmenu .active:focus {
                color: var(--nav-dropdown-hover-color);
            }

                .navmenu .active i,
                .navmenu .active:focus i {
                    background-color: var(--accent-color);
                    color: var(--contrast-color);
                    transform: rotate(180deg);
                }

        .navmenu .dropdown ul {
            position: static;
            display: none;
            z-index: 99;
            padding: 10px 0;
            margin: 10px 20px;
            background-color: var(--nav-dropdown-background-color);
            transition: all 0.5s ease-in-out;
        }

            .navmenu .dropdown ul ul {
                background-color: rgba(33, 37, 41, 0.1);
            }

        .navmenu .dropdown > .dropdown-active {
            display: block;
            background-color: rgba(33, 37, 41, 0.03);
        }

    .mobile-nav-active {
        overflow: hidden;
    }

        .mobile-nav-close {
            display: none;
        }

        body.mobile-nav-active .mobile-nav-close {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            position: fixed;
            top: 72px;
            right: 28px;
            z-index: 10001;
            width: 44px;
            height: 44px;
            padding: 0;
            margin: 0;
            border: 1px solid rgba(0, 0, 0, 0.08);
            border-radius: 50%;
            background: #fff;
            color: #212529;
            font-size: 1.75rem;
            line-height: 1;
            cursor: pointer;
            box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
        }

        body.mobile-nav-active .header-actions .mobile-nav-toggle {
            visibility: hidden;
            pointer-events: none;
        }

        .mobile-nav-active .navmenu {
            position: fixed;
            overflow: hidden;
            inset: 0;
            width: 100% !important;
            max-width: none;
            background: rgba(33, 37, 41, 0.8);
            transition: 0.3s;
            z-index: 9998;
        }

            .mobile-nav-active .navmenu > ul {
                display: block;
                padding-top: 2.75rem;
            }
            
}

/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
    position: fixed;
    inset: 0;
    z-index: 9999;
    overflow: hidden;
    background-color: var(--background-color);
    transition: all 0.6s ease-out;
    width: 100%;
    height: 100vh;
}

    #preloader:before,
    #preloader:after {
        content: "";
        position: absolute;
        border: 4px solid var(--accent-color);
        border-radius: 50%;
        animation: animate-preloader 2s cubic-bezier(0, 0.2, 0.8, 1) infinite;
    }

    #preloader:after {
        animation-delay: -0.5s;
    }

@keyframes animate-preloader {
    0% {
        width: 10px;
        height: 10px;
        top: calc(50% - 5px);
        left: calc(50% - 5px);
        opacity: 1;
    }

    100% {
        width: 72px;
        height: 72px;
        top: calc(50% - 36px);
        left: calc(50% - 36px);
        opacity: 0;
    }
}

/*--------------------------------------------------------------
# Scroll Top Button
--------------------------------------------------------------*/
.scroll-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 15px;
    bottom: -15px;
    z-index: 99999;
    appearance: none;
    border: 0;
    padding: 0;
    cursor: pointer;
    background-color: var(--accent-color-purple);
    width: 44px;
    height: 44px;
    border-radius: 50px;
    transition: all 0.4s;
}

    .scroll-top i {
        font-size: 24px;
        color: var(--contrast-color);
        line-height: 0;
    }

    .scroll-top:hover {
        background-color: color-mix(in srgb, var(--accent-color-purple), transparent 20%);
        color: var(--contrast-color);
    }

    .scroll-top.active {
        visibility: visible;
        opacity: 1;
        bottom: 15px;
    }


    /* Block Grid – Image block card (มุมมน + soft shadow) */
.block-grid-image {
    margin: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 16px;
    background: var(--surface-color, #fff);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.block-grid-image__img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
    [data-aos-delay] {
        transition-delay: 0 !important;
    }
}

/*--------------------------------------------------------------
# Global Page Titles & Breadcrumbs
--------------------------------------------------------------*/
.page-title {
    color: var(--default-color);
    background-color: var(--background-color);
    position: relative;
    padding-top: 100px;
}

    .page-title .heading {
        padding: 80px 0;
    }

        .page-title .heading h1 {
            font-size: 38px;
            font-weight: 500;
        }

    .page-title nav {
        background-color: color-mix(in srgb, var(--default-color), transparent 96%);
        padding: 20px 0;
    }

        .page-title nav ol {
            display: flex;
            flex-wrap: wrap;
            list-style: none;
            padding: 0;
            margin: 0;
            font-size: 16px;
            font-weight: 400;
        }

            .page-title nav ol li + li {
                padding-left: 10px;
            }

                .page-title nav ol li + li::before {
                    content: "/";
                    display: inline-block;
                    padding-right: 10px;
                    color: color-mix(in srgb, var(--default-color), transparent 70%);
                }

/*--------------------------------------------------------------
# Global Sections
--------------------------------------------------------------*/
section,
.section {
    color: var(--default-color);
    background-color: var(--background-color);
    padding: 0 0;
    scroll-margin-top: 90px;
    overflow: clip;
}

@media (max-width: 1199px) {

    section,
    .section {
        scroll-margin-top: 66px;
    }
}

/*--------------------------------------------------------------
# Global Section Titles
--------------------------------------------------------------*/
.section-title {
    text-align: center;
    padding-bottom: 60px;
    position: relative;
}

    .section-title h2 {
        font-size: 32px;
        font-weight: 500;
        margin-bottom: 20px;
        padding-bottom: 20px;
        position: relative;
    }

        .section-title h2:before {
            content: "";
            position: absolute;
            display: block;
            width: 160px;
            height: 1px;
            background: color-mix(in srgb, var(--default-color), transparent 60%);
            left: 0;
            right: 0;
            bottom: 1px;
            margin: auto;
        }

        .section-title h2::after {
            content: "";
            position: absolute;
            display: block;
            width: 60px;
            height: 3px;
            background: var(--accent-color);
            left: 0;
            right: 0;
            bottom: 0;
            margin: auto;
        }

    .section-title p {
        margin-bottom: 0;
    }

/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 95%) 100%);
    overflow: hidden;
}

    .hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: url("../img/bg/abstract-bg-3.webp") center/cover;
        opacity: 0.08;
        z-index: 0;
    }

    .hero .container {
        position: relative;
        z-index: 1;
    }

    .hero .hero-content {
        padding: 2rem 0;
    }

        .hero .hero-content .trust-badges {
            display: flex;
            gap: 1.5rem;
            flex-wrap: wrap;
        }

            .hero .hero-content .trust-badges .badge-item {
                display: flex;
                align-items: center;
                gap: 0.5rem;
                padding: 0.5rem 1rem;
                background: color-mix(in srgb, var(--accent-color), transparent 90%);
                border-radius: 50px;
                color: var(--accent-color);
                font-size: 0.875rem;
                font-weight: 500;
            }

                .hero .hero-content .trust-badges .badge-item i {
                    font-size: 1rem;
                }

@media (max-width: 576px) {
    .hero .hero-content .trust-badges {
        gap: 0.75rem;
    }

        .hero .hero-content .trust-badges .badge-item {
            font-size: 0.75rem;
            padding: 0.4rem 0.8rem;
        }
}

.hero .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin: 1.5rem 0;
    color: var(--heading-color);
}

    .hero .hero-content h1 .highlight {
        color: var(--accent-color);
        position: relative;
    }

        .hero .hero-content h1 .highlight::after {
            content: "";
            position: absolute;
            bottom: 0;
            left: 0;
            right: 0;
            height: 3px;
            background: var(--accent-color);
            border-radius: 2px;
        }

@media (max-width: 992px) {
    .hero .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero .hero-content h1 {
        font-size: 2rem;
    }
}

.hero .hero-content .hero-description {
    font-size: 1.125rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-bottom: 2rem;
    max-width: 500px;
}

.hero .hero-content .hero-stats {
    display: flex;
    gap: 2rem;
}

    .hero .hero-content .hero-stats .stat-item {
        text-align: left;
    }

        .hero .hero-content .hero-stats .stat-item h3 {
            font-size: 2rem;
            font-weight: 700;
            color: var(--accent-color);
            margin: 0;
            line-height: 1;
        }

        .hero .hero-content .hero-stats .stat-item p {
            color: color-mix(in srgb, var(--default-color), transparent 30%);
            margin: 0.25rem 0 0 0;
            font-size: 0.875rem;
            font-weight: 500;
        }

@media (max-width: 576px) {
    .hero .hero-content .hero-stats {
        gap: 1rem;
    }

        .hero .hero-content .hero-stats .stat-item h3 {
            font-size: 1.5rem;
        }
}

.hero .hero-content .hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

    .hero .hero-content .hero-actions .btn {
        padding: 1rem 2rem;
        font-weight: 600;
        border-radius: 50px;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
        transition: all 0.3s ease;
        border: 2px solid transparent;
    }

        .hero .hero-content .hero-actions .btn.btn-primary {
            background: var(--accent-color);
            color: var(--contrast-color);
        }

            .hero .hero-content .hero-actions .btn.btn-primary:hover {
                background: color-mix(in srgb, var(--accent-color), black 10%);
                transform: translateY(-2px);
            }

        .hero .hero-content .hero-actions .btn.btn-outline {
            color: var(--accent-color);
            border-color: var(--accent-color);
            background: transparent;
        }

            .hero .hero-content .hero-actions .btn.btn-outline:hover {
                background: var(--accent-color);
                color: var(--contrast-color);
            }

@media (max-width: 576px) {
    .hero .hero-content .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

        .hero .hero-content .hero-actions .btn {
            text-align: center;
            justify-content: center;
        }
}

.hero .hero-content .emergency-contact {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: color-mix(in srgb, var(--surface-color), transparent 50%);
    border: 1px solid color-mix(in srgb, var(--accent-color), transparent 80%);
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

    .hero .hero-content .emergency-contact .emergency-icon {
        width: 50px;
        height: 50px;
        background: var(--accent-color);
        color: var(--contrast-color);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.25rem;
    }

    .hero .hero-content .emergency-contact .emergency-info small {
        display: block;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        font-size: 0.75rem;
        margin-bottom: 0.25rem;
    }

    .hero .hero-content .emergency-contact .emergency-info strong {
        color: var(--heading-color);
        font-size: 1.125rem;
        font-weight: 600;
    }

.hero .hero-visual {
    position: relative;
    height: 600px;
}

    .hero .hero-visual .main-image {
        position: relative;
        height: 100%;
        border-radius: 20px;
        overflow: hidden;
        box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
    }

        .hero .hero-visual .main-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .hero .hero-visual .main-image .floating-card {
            position: absolute;
            background: var(--surface-color);
            padding: 1.5rem;
            border-radius: 16px;
            box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
            backdrop-filter: blur(10px);
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        }

            .hero .hero-visual .main-image .floating-card.appointment-card {
                top: 20px;
                right: 20px;
                display: flex;
                align-items: center;
                gap: 1rem;
                min-width: 200px;
            }

                .hero .hero-visual .main-image .floating-card.appointment-card .card-icon {
                    width: 50px;
                    height: 50px;
                    background: color-mix(in srgb, var(--accent-color), transparent 90%);
                    color: var(--accent-color);
                    border-radius: 12px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    font-size: 1.25rem;
                }

                .hero .hero-visual .main-image .floating-card.appointment-card .card-content h6 {
                    margin: 0 0 0.25rem 0;
                    color: var(--heading-color);
                    font-weight: 600;
                    font-size: 0.875rem;
                }

                .hero .hero-visual .main-image .floating-card.appointment-card .card-content p {
                    margin: 0 0 0.25rem 0;
                    color: var(--default-color);
                    font-weight: 600;
                    font-size: 1rem;
                }

                .hero .hero-visual .main-image .floating-card.appointment-card .card-content small {
                    color: color-mix(in srgb, var(--default-color), transparent 40%);
                    font-size: 0.75rem;
                }

            .hero .hero-visual .main-image .floating-card.rating-card {
                bottom: 20px;
                left: 20px;
                text-align: center;
                min-width: 140px;
            }

                .hero .hero-visual .main-image .floating-card.rating-card .rating-stars {
                    color: #ffc107;
                    margin-bottom: 0.5rem;
                }

                    .hero .hero-visual .main-image .floating-card.rating-card .rating-stars i {
                        font-size: 1rem;
                    }

                .hero .hero-visual .main-image .floating-card.rating-card h6 {
                    margin: 0 0 0.25rem 0;
                    color: var(--heading-color);
                    font-weight: 700;
                    font-size: 1.125rem;
                }

                .hero .hero-visual .main-image .floating-card.rating-card small {
                    color: color-mix(in srgb, var(--default-color), transparent 40%);
                    font-size: 0.75rem;
                }

@media (max-width: 768px) {
    .hero .hero-visual .main-image .floating-card.appointment-card {
        right: 10px;
        top: 10px;
        padding: 1rem;
        min-width: 160px;
    }

    .hero .hero-visual .main-image .floating-card.rating-card {
        left: 10px;
        bottom: 10px;
        padding: 1rem;
        min-width: 120px;
    }
}

.hero .hero-visual .background-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}

    .hero .hero-visual .background-elements .element {
        position: absolute;
        border-radius: 50%;
        background: var(--accent-color);
        opacity: 0.1;
    }

        .hero .hero-visual .background-elements .element.element-1 {
            width: 200px;
            height: 200px;
            top: -50px;
            left: -50px;
            animation: float1 6s ease-in-out infinite;
        }

        .hero .hero-visual .background-elements .element.element-2 {
            width: 150px;
            height: 150px;
            bottom: -30px;
            right: -30px;
            animation: float2 8s ease-in-out infinite;
        }

        .hero .hero-visual .background-elements .element.element-3 {
            width: 100px;
            height: 100px;
            top: 50%;
            left: -25px;
            transform: translateY(-50%);
            animation: float3 7s ease-in-out infinite;
        }

@media (max-width: 992px) {
    .hero .hero-visual {
        height: 400px;
        margin-top: 2rem;
    }
}

/*--------------------------------------------------------------
# Hero Banner Carousel (Block Grid)
--------------------------------------------------------------*/
.hero-banner.section {
    padding: 0;
    overflow: hidden;
    background-color: var(--heading-color);
}

.container > .hero-banner.section,
.container .hero-banner.section {
    width: 100vw;
    max-width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
}

.home-blocks .umb-block-grid__layout-container {
    row-gap: 1.25rem;
}

.section.home-blocks {
    padding-top: 1.25rem;
    padding-bottom: 1.25rem;
}

/* Home page: compact vertical spacing */
.home-page .section.home-blocks {
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.home-page .home-blocks .umb-block-grid__layout-container {
    row-gap: 1.5rem;
}

.home-page .call-to-action.section {
    padding: 2.5rem 0;
}

/* Home page: tighter gap between section headings and cards */
.home-page .spl {
    margin-top: 0.35rem;
    margin-bottom: 0.35rem;
}

.home-page .spl .gallery__heading-group,
.home-page .pods-block .gallery__heading-group,
.home-page .gallery-block .gallery__heading-group {
    margin-bottom: 0.35rem;
}

.home-page .spl .gallery__heading,
.home-page .pods-block .gallery__heading,
.home-page .gallery-block .gallery__heading {
    margin-bottom: 0;
}

.home-page .pods-block .gallery__section--intro,
.home-page .gallery-block .gallery__section--intro {
    margin-bottom: 0.5rem;
}

.home-page .pods-block .gallery__secondary-heading,
.home-page .gallery-block .gallery__secondary-heading {
    margin-top: 0.15rem;
}

.home-page .pods-carousel {
    margin-top: 0;
}

.hero-banner__carousel {
    position: relative;
}

.hero-banner__slide {
    position: relative;
}

.hero-banner__media {
    position: relative;
    width: 100%;
    height: clamp(420px, 72vh, 760px);
    overflow: hidden;
    background: var(--heading-color);
}

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

.hero-banner__video {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
}

    .hero-banner__video iframe {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        border: 0;
    }

.hero-banner__overlay {
    position: absolute;
    inset: 0;
    background: transparent;
    z-index: 1;
    pointer-events: none;
}

.hero-banner__video-file {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: #000;
}

.hero-banner__container {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-banner__content {
    max-width: 680px;
    padding: 2rem 0;
    pointer-events: auto;
}

    .hero-banner__content h1 {
        color: var(--contrast-color);
        font-size: clamp(2rem, 4vw, 3.5rem);
        font-weight: 700;
        line-height: 1.15;
        margin: 0 0 1rem;
    }

    .hero-banner__content .hero-banner__eyebrow {
        display: inline-block;
        margin: 0 0 0.75rem;
        padding: 0.45rem 1rem;
        border-radius: 50px;
        background: color-mix(in srgb, var(--accent-color), transparent 15%);
        color: var(--contrast-color);
        font-size: 0.95rem;
        font-weight: 600;
        letter-spacing: 0.02em;
    }

    .hero-banner__content .hero-description {
        color: color-mix(in srgb, var(--contrast-color), transparent 8%);
        font-size: clamp(1rem, 1.6vw, 1.125rem);
        line-height: 1.7;
        margin-bottom: 1.5rem;
        max-width: 560px;
    }

    .hero-banner__content .hero-actions {
        margin-bottom: 0;
    }

        .hero-banner__content .hero-actions .btn.btn-primary {
            background: var(--accent-color);
            color: var(--contrast-color);
            border: 2px solid transparent;
            border-radius: 50px;
            padding: 0.9rem 1.75rem;
            font-weight: 600;
            transition: all 0.3s ease;
        }

            .hero-banner__content .hero-actions .btn.btn-primary:hover {
                background: color-mix(in srgb, var(--accent-color), black 10%);
                transform: translateY(-2px);
            }

.hero-banner__indicators {
    margin-bottom: 1.25rem;
    gap: 0.35rem;
    z-index: 3;
}

    .hero-banner__indicators [data-bs-target] {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 0;
        background-color: color-mix(in srgb, var(--contrast-color), transparent 55%);
        opacity: 1;
        transition: transform 0.2s ease, background-color 0.2s ease;
    }

        .hero-banner__indicators [data-bs-target].active {
            background-color: var(--accent-color-purple);
            transform: scale(1.1);
        }

.hero-banner__control {
    width: auto;
    height: auto;
    min-width: 2.5rem;
    min-height: 2.5rem;
    top: 50%;
    transform: translateY(-50%);
    border: none;
    border-radius: 0;
    background: transparent;
    opacity: 1;
    z-index: 3;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

    .hero-banner__control:hover,
    .hero-banner__control:focus {
        background: transparent;
        opacity: 1;
        transform: translateY(-50%) scale(1.12);
    }

    .hero-banner__control .carousel-control-prev-icon,
    .hero-banner__control .carousel-control-next-icon {
        width: 2.25rem;
        height: 2.25rem;
        filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.45));
    }

    .hero-banner__control.carousel-control-prev {
        left: 1rem;
    }

    .hero-banner__control.carousel-control-next {
        right: 1rem;
    }

.banner-slide-preview {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.banner-slide-preview__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 8px;
    font-size: 0.875rem;
    flex-shrink: 0;
}

@media (max-width: 992px) {
    .hero-banner__media {
        height: clamp(360px, 58vh, 560px);
    }

    .hero-banner__content {
        max-width: 100%;
    }
}

@media (max-width: 576px) {
    .hero-banner__media {
        height: clamp(320px, 52vh, 480px);
    }

   .hero-banner__overlay {
    background: transparent;
}

    .hero-banner__container {
        align-items: flex-end;
        padding-bottom: 1rem;
    }

    .hero-banner__content {
        padding: 1rem 0 0.5rem;
    }

    .hero-banner__control {
        display: none;
    }
}

@keyframes float1 {

    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes float2 {

    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }

    50% {
        transform: translateY(-15px) rotate(-180deg);
    }
}

@keyframes float3 {

    0%, 100% {
        transform: translateY(-50%) rotate(0deg);
    }

    50% {
        transform: translateY(-70%) rotate(180deg);
    }
}

/*--------------------------------------------------------------
# Home About Section
--------------------------------------------------------------*/
.home-about {
    padding: 100px 0;
    background-color: var(--surface-color);
}

    .home-about .about-content .section-heading {
        font-size: 2.5rem;
        font-weight: 300;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }

@media (max-width: 768px) {
    .home-about .about-content .section-heading {
        font-size: 2rem;
    }
}

.home-about .about-content .lead-text {
    font-size: 1.25rem;
    font-weight: 300;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
    margin-bottom: 1.5rem;
}

.home-about .about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    margin-bottom: 2.5rem;
}

.home-about .about-content .stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

@media (max-width: 576px) {
    .home-about .about-content .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.home-about .about-content .stats-grid .stat-item {
    text-align: center;
}

    .home-about .about-content .stats-grid .stat-item .stat-number {
        font-size: 2.5rem;
        font-weight: 300;
        color: var(--accent-color);
        display: block;
        line-height: 1;
    }

        .home-about .about-content .stats-grid .stat-item .stat-number::after {
            content: "+";
            font-size: 1.5rem;
            margin-left: 2px;
        }

    .home-about .about-content .stats-grid .stat-item .stat-label {
        font-size: 0.95rem;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin-top: 0.5rem;
        font-weight: 400;
    }

.home-about .about-content .cta-section {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}

    .home-about .about-content .cta-section .btn-primary {
        background-color: var(--accent-color);
        color: var(--contrast-color);
        padding: 12px 30px;
        font-size: 1rem;
        font-weight: 400;
        text-decoration: none;
        border-radius: 6px;
        transition: all 0.3s ease;
    }

        .home-about .about-content .cta-section .btn-primary:hover {
            background-color: color-mix(in srgb, var(--accent-color), black 10%);
            transform: translateY(-2px);
            color: var(--contrast-color);
        }

    .home-about .about-content .cta-section .btn-secondary {
        color: var(--heading-color);
        text-decoration: none;
        font-weight: 500;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: all 0.3s ease;
    }

        .home-about .about-content .cta-section .btn-secondary i {
            font-size: 1.5rem;
            color: var(--accent-color);
        }

        .home-about .about-content .cta-section .btn-secondary:hover {
            color: var(--accent-color);
            transform: translateX(5px);
        }

.home-about .about-visual {
    position: relative;
}

    .home-about .about-visual .main-image {
        border-radius: 8px;
        overflow: hidden;
        box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
    }

        .home-about .about-visual .main-image img {
            width: 100%;
            height: auto;
            transition: transform 0.3s ease;
        }

        .home-about .about-visual .main-image:hover img {
            transform: scale(1.05);
        }

    .home-about .about-visual .floating-card {
        position: absolute;
        bottom: -30px;
        left: -30px;
        background-color: var(--surface-color);
        padding: 1.5rem;
        border-radius: 8px;
        box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 90%);
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
    }

@media (max-width: 768px) {
    .home-about .about-visual .floating-card {
        position: static;
        margin-top: 2rem;
        left: auto;
        bottom: auto;
    }
}

.home-about .about-visual .floating-card .card-content {
    display: flex;
    align-items: center;
    gap: 1rem;
}

    .home-about .about-visual .floating-card .card-content .icon {
        background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
        width: 50px;
        height: 50px;
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

        .home-about .about-visual .floating-card .card-content .icon i {
            color: var(--accent-color);
            font-size: 1.5rem;
        }

    .home-about .about-visual .floating-card .card-content .card-text h4 {
        font-size: 1rem;
        font-weight: 600;
        margin-bottom: 0.25rem;
        line-height: 1.2;
    }

    .home-about .about-visual .floating-card .card-content .card-text p {
        font-size: 0.875rem;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        margin: 0;
        line-height: 1.4;
    }

.home-about .about-visual .experience-badge {
    position: absolute;
    top: 20px;
    right: -20px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    padding: 1.25rem;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 15px 40px color-mix(in srgb, var(--accent-color), transparent 70%);
}

@media (max-width: 768px) {
    .home-about .about-visual .experience-badge {
        position: static;
        margin-bottom: 2rem;
        right: auto;
        top: auto;
        display: inline-block;
    }
}

.home-about .about-visual .experience-badge .badge-content .years {
    display: block;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1;
}

.home-about .about-visual .experience-badge .badge-content .text {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    margin-top: 0.25rem;
    opacity: 0.9;
}

@media (max-width: 992px) {
    .home-about {
        padding: 80px 0;
    }

        .home-about .row {
            text-align: center;
        }

        .home-about .about-content .stats-grid {
            margin: 2rem 0;
        }
}

/*--------------------------------------------------------------
# Featured Departments Section
--------------------------------------------------------------*/
.featured-departments .specialty-card {
    background: var(--surface-color);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 40px color-mix(in srgb, var(--default-color), transparent 92%);
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .featured-departments .specialty-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
    }

.featured-departments .specialty-content {
    padding: 40px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.featured-departments .specialty-meta {
    margin-bottom: 15px;
}

    .featured-departments .specialty-meta .specialty-label {
        display: inline-block;
        background: color-mix(in srgb, var(--accent-color), transparent 90%);
        color: var(--accent-color);
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        padding: 8px 16px;
        border-radius: 20px;
    }

.featured-departments h3 {
    font-size: 28px;
    font-weight: 300;
    color: var(--heading-color);
    margin-bottom: 20px;
    line-height: 1.3;
}

.featured-departments .specialty-card p {
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 25px;
    flex: 1;
}

.featured-departments .specialty-features {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

    .featured-departments .specialty-features span {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: color-mix(in srgb, var(--default-color), transparent 15%);
    }

        .featured-departments .specialty-features span i {
            color: var(--accent-color);
            font-size: 16px;
        }

.featured-departments .specialty-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--accent-color);
    font-weight: 400;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .featured-departments .specialty-link:hover {
        color: color-mix(in srgb, var(--accent-color), transparent 20%);
        transform: translateX(5px);
    }

    .featured-departments .specialty-link i {
        transition: transform 0.3s ease;
    }

    .featured-departments .specialty-link:hover i {
        transform: translateX(3px);
    }

.featured-departments .specialty-visual {
    height: 250px;
    position: relative;
    overflow: hidden;
}

    .featured-departments .specialty-visual img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

    .featured-departments .specialty-visual .visual-overlay {
        position: absolute;
        top: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        background: color-mix(in srgb, var(--contrast-color), transparent 10%);
        border-radius: 50%;
        display: flex;
        align-items: center;
        justify-content: center;
        backdrop-filter: blur(10px);
    }

        .featured-departments .specialty-visual .visual-overlay i {
            color: var(--accent-color);
            font-size: 24px;
        }

.featured-departments .specialty-card:hover .specialty-visual img {
    transform: scale(1.08);
}

.featured-departments .department-highlight {
    background: var(--surface-color);
    border-radius: 16px;
    padding: 40px 30px;
    height: 100%;
    text-align: center;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
    transition: all 0.3s ease;
}

    .featured-departments .department-highlight:hover {
        border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
        transform: translateY(-3px);
    }

.featured-departments .highlight-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #667eea 30%));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

    .featured-departments .highlight-icon i {
        color: var(--contrast-color);
        font-size: 32px;
    }

.featured-departments h4 {
    font-size: 22px;
    font-weight: 400;
    color: var(--heading-color);
    margin-bottom: 15px;
}

.featured-departments .department-highlight p {
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.featured-departments .highlight-list {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
}

    .featured-departments .highlight-list li {
        padding: 8px 0;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        font-size: 14px;
        position: relative;
    }

        .featured-departments .highlight-list li:before {
            content: "→";
            color: var(--accent-color);
            font-weight: bold;
            margin-right: 10px;
        }

.featured-departments .highlight-cta {
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

    .featured-departments .highlight-cta:hover {
        color: color-mix(in srgb, var(--accent-color), transparent 20%);
    }

.featured-departments .emergency-banner {
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), #667eea 30%));
    border-radius: 20px;
    padding: 40px;
    margin-top: 60px;
    color: var(--contrast-color);
}

    .featured-departments .emergency-banner h3 {
        color: var(--contrast-color);
        font-size: 28px;
        font-weight: 400;
        margin-bottom: 10px;
    }

    .featured-departments .emergency-banner p {
        color: color-mix(in srgb, var(--contrast-color), transparent 15%);
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 0;
    }

.featured-departments .emergency-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--contrast-color);
    color: var(--accent-color);
    padding: 16px 30px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
}

    .featured-departments .emergency-btn:hover {
        background: color-mix(in srgb, var(--contrast-color), transparent 10%);
        transform: translateY(-2px);
        color: var(--accent-color);
    }

    .featured-departments .emergency-btn i {
        font-size: 18px;
    }

@media (max-width: 992px) {
    .featured-departments .specialty-card {
        flex-direction: column;
    }

    .featured-departments .specialty-visual {
        height: 200px;
        order: -1;
    }
}

@media (max-width: 768px) {
    .featured-departments .specialty-content {
        padding: 30px 25px;
    }

    .featured-departments h3 {
        font-size: 24px;
    }

    .featured-departments .department-highlight {
        padding: 30px 20px;
        text-align: center;
    }

    .featured-departments .highlight-icon {
        width: 60px;
        height: 60px;
        margin-bottom: 20px;
    }

        .featured-departments .highlight-icon i {
            font-size: 24px;
        }

    .featured-departments h4 {
        font-size: 20px;
    }

    .featured-departments .emergency-banner {
        padding: 30px 25px;
        text-align: center;
    }

        .featured-departments .emergency-banner h3 {
            font-size: 24px;
            margin-bottom: 15px;
        }

        .featured-departments .emergency-banner .emergency-btn {
            margin-top: 20px;
            padding: 14px 25px;
            font-size: 15px;
        }
}

/*--------------------------------------------------------------
# Featured Services Section
--------------------------------------------------------------*/
.featured-services {
    padding: 100px 0;
}

    .featured-services .featured-service-main {
        height: 100%;
        display: flex;
        flex-direction: column;
    }

    .featured-services .service-image-wrapper {
        position: relative;
        height: 400px;
        overflow: hidden;
        border-radius: 8px;
    }

        .featured-services .service-image-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s ease;
        }

        .featured-services .service-image-wrapper:hover img {
            transform: scale(1.02);
        }

    .featured-services .service-overlay {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 20%) 0%, transparent 70%);
        display: flex;
        align-items: flex-start;
        justify-content: flex-start;
        padding: 40px;
    }

    .featured-services .service-badge {
        background: var(--surface-color);
        padding: 16px 24px;
        border-radius: 50px;
        display: flex;
        align-items: center;
        gap: 12px;
        box-shadow: 0 8px 25px color-mix(in srgb, var(--default-color), transparent 90%);
    }

        .featured-services .service-badge i {
            font-size: 20px;
            color: var(--accent-color);
        }

        .featured-services .service-badge span {
            font-weight: 500;
            color: var(--heading-color);
            font-size: 14px;
        }

    .featured-services .service-details {
        padding: 40px 0 0 0;
    }

        .featured-services .service-details h2 {
            font-size: 32px;
            font-weight: 300;
            line-height: 1.3;
            margin-bottom: 24px;
            color: var(--heading-color);
        }

        .featured-services .service-details p {
            font-size: 16px;
            line-height: 1.7;
            color: color-mix(in srgb, var(--default-color), transparent 15%);
            margin-bottom: 32px;
        }

    .featured-services .main-cta {
        display: inline-flex;
        align-items: center;
        padding: 0;
        color: var(--accent-color);
        text-decoration: none;
        font-weight: 400;
        font-size: 16px;
        position: relative;
        transition: all 0.3s ease;
    }

        .featured-services .main-cta::after {
            content: "";
            position: absolute;
            bottom: -2px;
            left: 0;
            width: 100%;
            height: 1px;
            background: var(--accent-color);
            transition: transform 0.3s ease;
        }

        .featured-services .main-cta:hover {
            color: var(--heading-color);
        }

            .featured-services .main-cta:hover::after {
                transform: scaleX(1.1);
            }

    .featured-services .services-sidebar {
        height: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
        padding-left: 60px;
    }

    .featured-services .service-item {
        padding: 32px 0;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 92%);
        display: flex;
        gap: 20px;
        transition: all 0.3s ease;
    }

        .featured-services .service-item:last-child {
            border-bottom: none;
        }

        .featured-services .service-item:hover {
            transform: translateX(8px);
        }

    .featured-services .service-icon-wrapper {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        background: color-mix(in srgb, var(--accent-color), transparent 92%);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        transition: all 0.3s ease;
    }

        .featured-services .service-icon-wrapper i {
            font-size: 20px;
            color: var(--accent-color);
            transition: all 0.3s ease;
        }

.service-item:hover .featured-services .service-icon-wrapper {
    background: var(--accent-color);
    transform: scale(1.1);
}

    .service-item:hover .featured-services .service-icon-wrapper i {
        color: var(--contrast-color);
    }

.featured-services .service-info {
    flex: 1;
}

    .featured-services .service-info h4 {
        font-size: 18px;
        font-weight: 400;
        margin-bottom: 8px;
        color: var(--heading-color);
        line-height: 1.4;
    }

    .featured-services .service-info p {
        font-size: 14px;
        line-height: 1.6;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin-bottom: 12px;
    }

.featured-services .service-link {
    font-size: 13px;
    color: var(--accent-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

    .featured-services .service-link:hover {
        color: var(--heading-color);
    }

.featured-services .specialties-grid {
    margin-top: 80px;
}

.featured-services .specialty-card {
    text-align: center;
    transition: transform 0.3s ease;
}

    .featured-services .specialty-card:hover {
        transform: translateY(-5px);
    }

        .featured-services .specialty-card:hover .specialty-image img {
            transform: scale(1.05);
        }

.featured-services .specialty-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 20px;
    position: relative;
}

    .featured-services .specialty-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

.featured-services .specialty-content h5 {
    font-size: 16px;
    font-weight: 400;
    color: var(--heading-color);
    margin-bottom: 8px;
}

.featured-services .specialty-content span {
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    line-height: 1.5;
}

@media (max-width: 992px) {
    .featured-services .services-sidebar {
        padding-left: 0;
        margin-top: 40px;
    }

    .featured-services .service-details h2 {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .featured-services {
        padding: 60px 0;
    }

        .featured-services .service-image-wrapper {
            height: 280px;
        }

        .featured-services .service-overlay {
            padding: 24px;
        }

        .featured-services .service-details {
            padding-top: 24px;
        }

            .featured-services .service-details h2 {
                font-size: 24px;
            }

            .featured-services .service-details p {
                font-size: 15px;
            }

        .featured-services .service-item {
            padding: 24px 0;
        }

        .featured-services .specialties-grid {
            margin-top: 50px;
        }

        .featured-services .specialty-image {
            width: 80px;
            height: 80px;
            margin-bottom: 16px;
        }

        .featured-services .specialty-content h5 {
            font-size: 14px;
        }

        .featured-services .specialty-content span {
            font-size: 12px;
        }
}

/*--------------------------------------------------------------
# Find A Doctor Section
--------------------------------------------------------------*/
.find-a-doctor .search-section {
    max-width: 100%;
    margin: 0 auto;
}

    .find-a-doctor .search-section .search-title {
        font-size: 2.5rem;
        font-weight: 300;
        color: var(--heading-color);
        margin-bottom: 1rem;
        letter-spacing: -0.02em;
        line-height: 1.2;
    }

    .find-a-doctor .search-section .search-subtitle {
        font-size: 1.125rem;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        margin-bottom: 3rem;
        line-height: 1.6;
        font-weight: 300;
    }

    .find-a-doctor .search-section .search-form .search-input-group {
        display: flex;
        align-items: stretch;
        background: var(--surface-color);
        border-radius: 60px;
        padding: 8px;
        box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 94%);
        transition: all 0.4s ease;
    }

        .find-a-doctor .search-section .search-form .search-input-group:focus-within {
            box-shadow: 0 25px 80px color-mix(in srgb, var(--accent-color), transparent 90%);
        }

    .find-a-doctor .search-section .search-form .input-wrapper,
    .find-a-doctor .search-section .search-form .select-wrapper {
        position: relative;
        flex: 1;
        display: flex;
        align-items: center;
    }

        .find-a-doctor .search-section .search-form .input-wrapper i,
        .find-a-doctor .search-section .search-form .select-wrapper i {
            position: absolute;
            left: 20px;
            color: color-mix(in srgb, var(--default-color), transparent 40%);
            font-size: 1.1rem;
            z-index: 2;
        }

    .find-a-doctor .search-section .search-form .form-control,
    .find-a-doctor .search-section .search-form .form-select {
        border: none;
        background: transparent;
        padding: 20px 20px 20px 50px;
        font-size: 1rem;
        color: var(--default-color);
        border-radius: 0;
    }

        .find-a-doctor .search-section .search-form .form-control:focus,
        .find-a-doctor .search-section .search-form .form-select:focus {
            box-shadow: none;
            background: transparent;
        }

        .find-a-doctor .search-section .search-form .form-control::placeholder,
        .find-a-doctor .search-section .search-form .form-select::placeholder {
            color: color-mix(in srgb, var(--default-color), transparent 50%);
            font-weight: 300;
        }

    .find-a-doctor .search-section .search-form .search-btn {
        background: var(--accent-color);
        color: var(--contrast-color);
        border: none;
        border-radius: 50px;
        padding: 18px 32px;
        font-weight: 500;
        font-size: 1rem;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
        white-space: nowrap;
    }

        .find-a-doctor .search-section .search-form .search-btn:hover {
            background: color-mix(in srgb, var(--accent-color), black 10%);
            transform: translateY(-2px);
            box-shadow: 0 10px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
        }

        .find-a-doctor .search-section .search-form .search-btn i {
            font-size: 1.1rem;
        }

.find-a-doctor .doctors-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.find-a-doctor .doctor-profile {
    background: var(--surface-color);
    border-radius: 24px;
    padding: 2rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 95%);
}

    .find-a-doctor .doctor-profile:hover {
        transform: translateY(-8px);
        box-shadow: 0 25px 60px color-mix(in srgb, var(--default-color), transparent 88%);
        border-color: color-mix(in srgb, var(--accent-color), transparent 80%);
    }

    .find-a-doctor .doctor-profile .profile-header {
        display: flex;
        align-items: flex-start;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
    }

        .find-a-doctor .doctor-profile .profile-header .doctor-avatar {
            position: relative;
            flex-shrink: 0;
        }

            .find-a-doctor .doctor-profile .profile-header .doctor-avatar img {
                width: 80px;
                height: 80px;
                border-radius: 20px;
                object-fit: cover;
            }

            .find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator {
                position: absolute;
                bottom: -2px;
                right: -2px;
                width: 20px;
                height: 20px;
                border-radius: 50%;
                border: 3px solid var(--surface-color);
            }

                .find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator.available {
                    background: #10b981;
                }

                .find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator.busy {
                    background: #f59e0b;
                }

                .find-a-doctor .doctor-profile .profile-header .doctor-avatar .status-indicator.offline {
                    background: color-mix(in srgb, var(--default-color), transparent 40%);
                }

        .find-a-doctor .doctor-profile .profile-header .doctor-details {
            flex: 1;
        }

            .find-a-doctor .doctor-profile .profile-header .doctor-details h4 {
                font-size: 1.375rem;
                font-weight: 500;
                color: var(--heading-color);
                margin-bottom: 0.5rem;
                line-height: 1.3;
            }

            .find-a-doctor .doctor-profile .profile-header .doctor-details .specialty-tag {
                display: inline-block;
                background: color-mix(in srgb, var(--accent-color), transparent 90%);
                color: var(--accent-color);
                font-size: 0.875rem;
                font-weight: 500;
                padding: 4px 12px;
                border-radius: 12px;
                margin-bottom: 0.75rem;
            }

            .find-a-doctor .doctor-profile .profile-header .doctor-details .experience-info {
                display: flex;
                align-items: center;
                gap: 0.5rem;
                color: color-mix(in srgb, var(--default-color), transparent 30%);
                font-size: 0.9rem;
            }

                .find-a-doctor .doctor-profile .profile-header .doctor-details .experience-info i {
                    color: color-mix(in srgb, var(--accent-color), transparent 20%);
                    font-size: 1rem;
                }

    .find-a-doctor .doctor-profile .rating-section {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
    }

        .find-a-doctor .doctor-profile .rating-section .stars {
            display: flex;
            gap: 2px;
        }

            .find-a-doctor .doctor-profile .rating-section .stars i {
                color: #fbbf24;
                font-size: 1rem;
            }

        .find-a-doctor .doctor-profile .rating-section .rating-score {
            font-weight: 600;
            font-size: 1.125rem;
            color: var(--heading-color);
        }

        .find-a-doctor .doctor-profile .rating-section .review-count {
            color: color-mix(in srgb, var(--default-color), transparent 40%);
            font-size: 0.875rem;
        }

    .find-a-doctor .doctor-profile .action-buttons {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
    }

        .find-a-doctor .doctor-profile .action-buttons .btn-secondary,
        .find-a-doctor .doctor-profile .action-buttons .btn-primary {
            padding: 12px 20px;
            border-radius: 12px;
            font-weight: 500;
            font-size: 0.9rem;
            text-align: center;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid;
        }

            .find-a-doctor .doctor-profile .action-buttons .btn-secondary:hover,
            .find-a-doctor .doctor-profile .action-buttons .btn-primary:hover {
                transform: translateY(-1px);
                text-decoration: none;
            }

        .find-a-doctor .doctor-profile .action-buttons .btn-secondary {
            background: transparent;
            color: var(--default-color);
            border-color: color-mix(in srgb, var(--default-color), transparent 80%);
        }

            .find-a-doctor .doctor-profile .action-buttons .btn-secondary:hover {
                background: color-mix(in srgb, var(--default-color), transparent 95%);
                color: var(--default-color);
                border-color: color-mix(in srgb, var(--default-color), transparent 70%);
            }

        .find-a-doctor .doctor-profile .action-buttons .btn-primary {
            background: var(--accent-color);
            color: var(--contrast-color);
            border-color: var(--accent-color);
        }

            .find-a-doctor .doctor-profile .action-buttons .btn-primary:hover {
                background: color-mix(in srgb, var(--accent-color), black 10%);
                border-color: color-mix(in srgb, var(--accent-color), black 10%);
                color: var(--contrast-color);
            }

.find-a-doctor .btn-view-all {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 16px 32px;
    background: transparent;
    color: var(--accent-color);
    border: 2px solid var(--accent-color);
    border-radius: 50px;
    font-weight: 500;
    font-size: 1.1rem;
    text-decoration: none;
    transition: all 0.3s ease;
}

    .find-a-doctor .btn-view-all:hover {
        background: var(--accent-color);
        color: var(--contrast-color);
        transform: translateY(-2px);
        text-decoration: none;
        box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
    }

    .find-a-doctor .btn-view-all i {
        transition: transform 0.3s ease;
    }

    .find-a-doctor .btn-view-all:hover i {
        transform: translateX(4px);
    }

@media (max-width: 768px) {
    .find-a-doctor .search-section .search-title {
        font-size: 2rem;
    }

    .find-a-doctor .search-section .search-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .find-a-doctor .search-section .search-input-group {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
        border-radius: 24px;
    }

        .find-a-doctor .search-section .search-input-group .search-btn {
            border-radius: 16px;
            justify-content: center;
        }

        .find-a-doctor .search-section .search-input-group .form-control,
        .find-a-doctor .search-section .search-input-group .form-select {
            padding: 16px 20px;
        }

        .find-a-doctor .search-section .search-input-group .input-wrapper i,
        .find-a-doctor .search-section .search-input-group .select-wrapper i {
            display: none;
        }

    .find-a-doctor .doctors-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 2.5rem;
    }

    .find-a-doctor .doctor-profile {
        padding: 1.5rem;
    }

        .find-a-doctor .doctor-profile .profile-header {
            gap: 1rem;
        }

            .find-a-doctor .doctor-profile .profile-header .doctor-avatar img {
                width: 60px;
                height: 60px;
            }

            .find-a-doctor .doctor-profile .profile-header .doctor-details h4 {
                font-size: 1.25rem;
            }

        .find-a-doctor .doctor-profile .action-buttons {
            grid-template-columns: 1fr;
            gap: 0.5rem;
        }
}

@media (max-width: 576px) {
    .find-a-doctor .search-section .search-title {
        font-size: 1.75rem;
    }

    .find-a-doctor .doctor-profile {
        border-radius: 16px;
        padding: 1.25rem;
    }
}

/*--------------------------------------------------------------
# Call To Action Section
--------------------------------------------------------------*/
.call-to-action {
    padding: 120px 0 100px;
}

    .call-to-action .hero-content {
        margin-bottom: 120px;
    }

        .call-to-action .hero-content .content-wrapper {
            padding-right: 40px;
        }

@media (max-width: 992px) {
    .call-to-action .hero-content .content-wrapper {
        padding-right: 0;
        margin-bottom: 60px;
        text-align: center;
    }
}

.call-to-action .hero-content h1 {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 30px;
    color: var(--heading-color);
}

@media (max-width: 768px) {
    .call-to-action .hero-content h1 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .call-to-action .hero-content h1 {
        font-size: 2rem;
    }
}

.call-to-action .hero-content p {
    font-size: 18px;
    line-height: 1.8;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    margin-bottom: 50px;
}

.call-to-action .hero-content .cta-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media (max-width: 992px) {
    .call-to-action .hero-content .cta-wrapper {
        align-items: center;
    }
}

.call-to-action .hero-content .cta-wrapper .primary-cta,
.call-to-action .hero-content .cta-wrapper .secondary-cta {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s ease;
    width: fit-content;
}

    .call-to-action .hero-content .cta-wrapper .primary-cta span,
    .call-to-action .hero-content .cta-wrapper .secondary-cta span {
        margin-right: 8px;
    }

    .call-to-action .hero-content .cta-wrapper .primary-cta i,
    .call-to-action .hero-content .cta-wrapper .secondary-cta i {
        font-size: 14px;
        transition: transform 0.3s ease;
    }

    .call-to-action .hero-content .cta-wrapper .primary-cta:hover i,
    .call-to-action .hero-content .cta-wrapper .secondary-cta:hover i {
        transform: translateX(4px);
    }

.call-to-action .hero-content .cta-wrapper .primary-cta {
    color: var(--accent-color);
    border-bottom: 1px solid var(--accent-color);
    padding-bottom: 2px;
}

    .call-to-action .hero-content .cta-wrapper .primary-cta:hover {
        color: color-mix(in srgb, var(--accent-color), black 20%);
        border-color: color-mix(in srgb, var(--accent-color), black 20%);
    }

.call-to-action .hero-content .cta-wrapper .secondary-cta {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

    .call-to-action .hero-content .cta-wrapper .secondary-cta:hover {
        color: var(--default-color);
    }

.call-to-action .hero-content .image-container {
    position: relative;
}

    .call-to-action .hero-content .image-container img {
        width: 100%;
        height: 500px;
        object-fit: cover;
        border-radius: 4px;
    }

@media (max-width: 768px) {
    .call-to-action .hero-content .image-container img {
        height: 300px;
    }
}

.call-to-action .features-section {
    margin-bottom: 120px;
}

    .call-to-action .features-section .feature-block {
        padding: 60px 40px;
        text-align: left;
        border-right: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        height: 100%;
    }

@media (max-width: 992px) {
    .call-to-action .features-section .feature-block {
        border-right: none;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        text-align: center;
    }
}

.call-to-action .features-section .feature-block:last-child {
    border-right: none;
}

@media (max-width: 992px) {
    .call-to-action .features-section .feature-block:last-child {
        border-bottom: none;
    }
}

.call-to-action .features-section .feature-block .feature-icon {
    margin-bottom: 30px;
}

    .call-to-action .features-section .feature-block .feature-icon i {
        font-size: 2.5rem;
        color: var(--accent-color);
    }

.call-to-action .features-section .feature-block h3 {
    font-size: 1.4rem;
    font-weight: 400;
    margin-bottom: 20px;
    color: var(--heading-color);
}

.call-to-action .features-section .feature-block p {
    font-size: 15px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-bottom: 0;
}

.call-to-action .contact-block {
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
    padding: 60px 40px;
    border-radius: 4px;
}

    .call-to-action .contact-block .contact-content h2 {
        font-size: 2rem;
        font-weight: 300;
        margin-bottom: 20px;
        color: var(--heading-color);
    }

@media (max-width: 768px) {
    .call-to-action .contact-block .contact-content h2 {
        font-size: 1.6rem;
    }
}

.call-to-action .contact-block .contact-content p {
    font-size: 16px;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .call-to-action .contact-block .contact-content p {
        margin-bottom: 30px;
    }
}

.call-to-action .contact-block .contact-actions {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

@media (max-width: 992px) {
    .call-to-action .contact-block .contact-actions {
        align-items: center;
    }
}

.call-to-action .contact-block .contact-actions .emergency-call {
    display: inline-flex;
    align-items: center;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    padding: 15px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

    .call-to-action .contact-block .contact-actions .emergency-call i {
        margin-right: 10px;
        font-size: 16px;
    }

    .call-to-action .contact-block .contact-actions .emergency-call:hover {
        background-color: color-mix(in srgb, var(--accent-color), black 15%);
        transform: translateY(-2px);
    }

.call-to-action .contact-block .contact-actions .contact-link {
    color: color-mix(in srgb, var(--default-color), transparent 40%);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

    .call-to-action .contact-block .contact-actions .contact-link:hover {
        color: var(--default-color);
    }

@media (max-width: 992px) {
    .call-to-action .contact-block {
        text-align: center;
    }
}

/*--------------------------------------------------------------
# About Section
--------------------------------------------------------------*/
.about {
    padding: 100px 0;
}

    .about .about-content h2 {
        font-size: 2.8rem;
        font-weight: 300;
        margin-bottom: 2rem;
        line-height: 1.3;
    }

    .about .about-content p.lead {
        font-size: 1.25rem;
        font-weight: 300;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        margin-bottom: 2rem;
        line-height: 1.7;
    }

    .about .about-content p {
        font-size: 1.1rem;
        line-height: 1.8;
        margin-bottom: 3rem;
        color: color-mix(in srgb, var(--default-color), transparent 15%);
    }

    .about .stats-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
        margin-top: 2rem;
    }

@media (max-width: 576px) {
    .about .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.about .stats-grid .stat-item {
    text-align: center;
    padding: 1.5rem;
    border-radius: 8px;
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    transition: transform 0.3s ease;
}

    .about .stats-grid .stat-item:hover {
        transform: translateY(-5px);
    }

    .about .stats-grid .stat-item .stat-number {
        display: block;
        font-size: 2.5rem;
        font-weight: 300;
        color: var(--accent-color);
        margin-bottom: 0.5rem;
    }

    .about .stats-grid .stat-item .stat-label {
        font-size: 0.9rem;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        font-weight: 500;
    }

.about .image-wrapper {
    position: relative;
}

    .about .image-wrapper .main-image {
        border-radius: 12px;
        box-shadow: 0 20px 60px color-mix(in srgb, var(--default-color), transparent 85%);
    }

    .about .image-wrapper .floating-image {
        position: absolute;
        bottom: -30px;
        right: -30px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        overflow: hidden;
        border: 8px solid var(--surface-color);
        box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 80%);
    }

@media (max-width: 768px) {
    .about .image-wrapper .floating-image {
        width: 150px;
        height: 150px;
        bottom: -20px;
        right: -20px;
        border-width: 6px;
    }
}

.about .image-wrapper .floating-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.about .values-section {
    margin-top: 120px;
}

    .about .values-section h3 {
        font-size: 2.2rem;
        font-weight: 300;
        margin-bottom: 1rem;
    }

    .about .values-section .section-description {
        font-size: 1.1rem;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin-bottom: 4rem;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.7;
    }

    .about .values-section .value-item {
        text-align: center;
        padding: 2rem 1rem;
        transition: transform 0.3s ease;
    }

        .about .values-section .value-item:hover {
            transform: translateY(-5px);
        }

        .about .values-section .value-item .value-icon {
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: color-mix(in srgb, var(--accent-color), transparent 90%);
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 1.5rem;
            transition: all 0.3s ease;
        }

            .about .values-section .value-item .value-icon i {
                font-size: 2rem;
                color: var(--accent-color);
            }

        .about .values-section .value-item h4 {
            font-size: 1.3rem;
            font-weight: 400;
            margin-bottom: 1rem;
        }

        .about .values-section .value-item p {
            font-size: 1rem;
            line-height: 1.7;
            color: color-mix(in srgb, var(--default-color), transparent 25%);
            margin: 0;
        }

        .about .values-section .value-item:hover .value-icon {
            background: var(--accent-color);
            transform: scale(1.1);
        }

            .about .values-section .value-item:hover .value-icon i {
                color: var(--contrast-color);
            }

.about .certifications-section {
    margin-top: 80px;
    padding: 4rem 0;
    background: color-mix(in srgb, var(--accent-color), transparent 98%);
    border-radius: 16px;
}

    .about .certifications-section h3 {
        font-size: 2rem;
        font-weight: 300;
        margin-bottom: 1rem;
    }

    .about .certifications-section .section-description {
        font-size: 1.1rem;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin-bottom: 3rem;
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
        line-height: 1.7;
    }

    .about .certifications-section .certification-item {
        padding: 1.5rem;
        background: var(--surface-color);
        border-radius: 12px;
        text-align: center;
        transition: all 0.3s ease;
        height: 120px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 2rem;
    }

        .about .certifications-section .certification-item:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 85%);
        }

        .about .certifications-section .certification-item img {
            max-height: 60px;
            max-width: 100%;
            opacity: 0.7;
            transition: opacity 0.3s ease;
            filter: grayscale(100%);
        }

        .about .certifications-section .certification-item:hover img {
            opacity: 1;
            filter: grayscale(0%);
        }

@media (max-width: 992px) {
    .about {
        padding: 80px 0;
    }

        .about .about-content {
            margin-bottom: 3rem;
        }

            .about .about-content h2 {
                font-size: 2.4rem;
            }

        .about .values-section {
            margin-top: 80px;
        }

        .about .image-wrapper .floating-image {
            position: relative;
            bottom: auto;
            right: auto;
            margin: 2rem auto 0;
            display: block;
        }
}

@media (max-width: 768px) {
    .about .about-content h2 {
        font-size: 2rem;
    }

    .about .stats-grid .stat-item .stat-number {
        font-size: 2rem;
    }

    .about .values-section .value-item {
        margin-bottom: 2rem;
    }

    .about .certifications-section {
        margin-top: 60px;
        padding: 3rem 1rem;
    }
}

/*--------------------------------------------------------------
# Departments Tabs Section
--------------------------------------------------------------*/
.departments-tabs .section-label {
    color: var(--accent-color);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 0;
    display: block;
}

.departments-tabs .medical-specialties {
    margin-top: 3rem;
}

.departments-tabs .specialty-navigation {
    margin-bottom: 2rem;
}

    .departments-tabs .specialty-navigation .nav-pills {
        flex-wrap: wrap;
        gap: 0;
        justify-content: center;
    }

@media (max-width: 768px) {
    .departments-tabs .specialty-navigation .nav-pills {
        flex-direction: column;
        gap: 0.5rem;
    }
}

.departments-tabs .specialty-navigation .department-tab {
    background-color: color-mix(in srgb, var(--default-color), transparent 95%);
    border: none;
    border-radius: 0;
    color: var(--default-color);
    font-size: 1.2rem;
    font-weight: 600;
    padding: 2rem 1.5rem;
    position: relative;
    transition: all 0.3s ease;
    flex: 1;
    text-align: center;
}

@media (max-width: 992px) {
    .departments-tabs .specialty-navigation .department-tab {
        font-size: 1rem;
        padding: 1.5rem 1rem;
    }
}

@media (max-width: 768px) {
    .departments-tabs .specialty-navigation .department-tab {
        width: 100%;
        margin-bottom: 0;
    }
}

.departments-tabs .specialty-navigation .department-tab:hover {
    background-color: color-mix(in srgb, var(--accent-color), transparent 10%);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

.departments-tabs .specialty-navigation .department-tab.active {
    background-color: var(--accent-color);
    color: var(--contrast-color);
}

    .departments-tabs .specialty-navigation .department-tab.active::after {
        content: "";
        position: absolute;
        bottom: -12px;
        left: 50%;
        transform: translateX(-50%);
        width: 0;
        height: 0;
        border-left: 12px solid transparent;
        border-right: 12px solid transparent;
        border-top: 12px solid var(--accent-color);
    }

@media (max-width: 768px) {
    .departments-tabs .specialty-navigation .department-tab.active::after {
        display: none;
    }
}

.departments-tabs .department-content {
    background-color: var(--surface-color);
    border-radius: 12px;
    box-shadow: 0 10px 30px color-mix(in srgb, var(--default-color), transparent 90%);
    padding: 3rem;
    margin-top: 1.5rem;
}

@media (max-width: 768px) {
    .departments-tabs .department-content {
        padding: 2rem 1.5rem;
    }
}

.departments-tabs .department-layout {
    align-items: stretch;
}

.departments-tabs .department-image {
    height: 100%;
    border-radius: 8px;
    overflow: hidden;
}

    .departments-tabs .department-image img {
        height: 100%;
        object-fit: cover;
        transition: transform 0.3s ease;
    }

        .departments-tabs .department-image img:hover {
            transform: scale(1.05);
        }

@media (max-width: 992px) {
    .departments-tabs .department-image {
        height: 300px;
        margin-bottom: 2rem;
    }
}

.departments-tabs .department-info {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 992px) {
    .departments-tabs .department-info {
        height: auto;
    }
}

.departments-tabs .department-title {
    color: var(--heading-color);
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .departments-tabs .department-title {
        font-size: 1.8rem;
    }
}

.departments-tabs .department-description {
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.departments-tabs .service-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2rem;
    padding: 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

    .departments-tabs .service-item:hover {
        background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
        transform: translateY(-2px);
    }

.departments-tabs .service-icon {
    background-color: var(--accent-color);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
}

    .departments-tabs .service-icon i {
        color: var(--contrast-color);
        font-size: 1.5rem;
    }

.departments-tabs .service-content {
    flex: 1;
}

    .departments-tabs .service-content h4 {
        color: var(--heading-color);
        font-size: 1.1rem;
        font-weight: 600;
        margin-bottom: 0.5rem;
        text-transform: uppercase;
    }

    .departments-tabs .service-content p {
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        font-size: 0.95rem;
        line-height: 1.5;
        margin-bottom: 0;
    }

.departments-tabs .tab-pane {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
}

    .departments-tabs .tab-pane.show.active {
        opacity: 1;
        transform: translateY(0);
    }

/*--------------------------------------------------------------
# Departments Section
--------------------------------------------------------------*/
.departments .department-card {
    position: relative;
    background-color: var(--surface-color);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.4s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}

    .departments .department-card:hover {
        transform: translateY(-8px);
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.08);
    }

        .departments .department-card:hover .department-image img {
            transform: scale(1.05);
        }

        .departments .department-card:hover .department-icon {
            transform: scale(1.1);
            color: var(--contrast-color);
            background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), var(--heading-color) 20%));
        }

        .departments .department-card:hover .learn-more {
            color: var(--accent-color);
        }

            .departments .department-card:hover .learn-more i {
                transform: translateX(5px);
            }

.departments .department-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 85%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    font-size: 24px;
    transition: all 0.4s ease;
    z-index: 2;
}

.departments .department-image {
    position: relative;
    height: 240px;
    overflow: hidden;
}

    .departments .department-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.4s ease;
    }

.departments .department-content {
    padding: 30px 25px 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

    .departments .department-content h3 {
        font-size: 22px;
        font-weight: 300;
        margin-bottom: 15px;
        color: var(--heading-color);
        font-family: var(--heading-font);
        line-height: 1.3;
    }

    .departments .department-content p {
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        font-size: 15px;
        line-height: 1.7;
        margin-bottom: 20px;
        flex: 1;
    }

    .departments .department-content .learn-more {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--heading-color);
        text-decoration: none;
        font-size: 14px;
        font-weight: 500;
        transition: all 0.3s ease;
        margin-top: auto;
    }

        .departments .department-content .learn-more span {
            font-family: var(--heading-font);
        }

        .departments .department-content .learn-more i {
            font-size: 12px;
            transition: transform 0.3s ease;
        }

@media (max-width: 768px) {
    .departments .department-card {
        margin-bottom: 20px;
    }

    .departments .department-image {
        height: 200px;
    }

    .departments .department-content {
        padding: 25px 20px 20px;
    }

        .departments .department-content h3 {
            font-size: 20px;
        }

        .departments .department-content p {
            font-size: 14px;
        }

    .departments .department-icon {
        width: 50px;
        height: 50px;
        top: 15px;
        right: 15px;
        font-size: 20px;
    }
}

/*--------------------------------------------------------------
# Department Details Section
--------------------------------------------------------------*/
.department-details .department-hero {
    padding: 2rem 0;
}

    .department-details .department-hero .badge-wrap {
        margin-bottom: 1.5rem;
    }

        .department-details .department-hero .badge-wrap .specialty-badge {
            display: inline-block;
            padding: 0.5rem 1rem;
            background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
            color: var(--accent-color);
            font-size: 0.875rem;
            font-weight: 500;
            border-radius: 20px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

    .department-details .department-hero .department-title {
        font-size: 3.5rem;
        font-weight: 300;
        line-height: 1.1;
        color: var(--heading-color);
        margin-bottom: 1.5rem;
        letter-spacing: -0.02em;
    }

    .department-details .department-hero .department-intro {
        font-size: 1.125rem;
        line-height: 1.7;
        color: color-mix(in srgb, var(--default-color), transparent 25%);
        margin-bottom: 3rem;
        max-width: 90%;
    }

    .department-details .department-hero .key-highlights {
        display: flex;
        gap: 2.5rem;
        margin-bottom: 3rem;
        flex-wrap: wrap;
    }

        .department-details .department-hero .key-highlights .highlight-item {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
        }

            .department-details .department-hero .key-highlights .highlight-item .highlight-number {
                font-size: 2.25rem;
                font-weight: 300;
                color: var(--accent-color);
                line-height: 1;
                margin-bottom: 0.25rem;
            }

            .department-details .department-hero .key-highlights .highlight-item .highlight-text {
                font-size: 0.875rem;
                color: color-mix(in srgb, var(--default-color), transparent 40%);
                text-transform: uppercase;
                letter-spacing: 0.5px;
                font-weight: 500;
            }

    .department-details .department-hero .action-group {
        display: flex;
        gap: 2rem;
        align-items: center;
        flex-wrap: wrap;
    }

        .department-details .department-hero .action-group .btn-primary {
            background-color: var(--accent-color);
            color: var(--contrast-color);
            padding: 1rem 2.5rem;
            border-radius: 0;
            font-weight: 400;
            font-size: 1rem;
            text-decoration: none;
            transition: all 0.3s ease;
            border: 1px solid var(--accent-color);
        }

            .department-details .department-hero .action-group .btn-primary:hover {
                background-color: color-mix(in srgb, var(--accent-color), black 15%);
                transform: translateX(5px);
            }

        .department-details .department-hero .action-group .btn-secondary {
            display: flex;
            align-items: center;
            gap: 0.75rem;
            color: var(--default-color);
            text-decoration: none;
            font-weight: 400;
            font-size: 1rem;
            transition: all 0.3s ease;
        }

            .department-details .department-hero .action-group .btn-secondary i {
                transition: transform 0.3s ease;
            }

            .department-details .department-hero .action-group .btn-secondary:hover {
                color: var(--accent-color);
            }

                .department-details .department-hero .action-group .btn-secondary:hover i {
                    transform: translateX(3px);
                }

@media (max-width: 768px) {
    .department-details .department-hero .department-title {
        font-size: 2.5rem;
    }

    .department-details .department-hero .key-highlights {
        gap: 1.5rem;
    }

    .department-details .department-hero .action-group {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
}

.department-details .department-visual .image-container {
    position: relative;
    height: 100%;
    min-height: 500px;
}

    .department-details .department-visual .image-container .primary-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 0;
    }

    .department-details .department-visual .image-container .floating-card {
        position: absolute;
        bottom: 2rem;
        left: 2rem;
        background-color: var(--surface-color);
        padding: 1.5rem;
        border-radius: 12px;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        max-width: 280px;
    }

        .department-details .department-visual .image-container .floating-card .card-icon {
            width: 50px;
            height: 50px;
            background-color: var(--accent-color);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1rem;
        }

            .department-details .department-visual .image-container .floating-card .card-icon i {
                font-size: 1.5rem;
                color: var(--contrast-color);
            }

        .department-details .department-visual .image-container .floating-card .card-content h4 {
            font-size: 1.125rem;
            font-weight: 600;
            color: var(--heading-color);
            margin-bottom: 0.5rem;
        }

        .department-details .department-visual .image-container .floating-card .card-content p {
            font-size: 0.875rem;
            color: color-mix(in srgb, var(--default-color), transparent 30%);
            margin-bottom: 0;
            line-height: 1.5;
        }

@media (max-width: 991px) {
    .department-details .department-visual {
        margin-top: 3rem;
    }

        .department-details .department-visual .image-container {
            min-height: 400px;
        }

            .department-details .department-visual .image-container .floating-card {
                bottom: 1rem;
                left: 1rem;
                max-width: 250px;
            }

    /* .logo .sitename {
        display: none;
    } */
}

.department-details .services-overview {
    margin-top: 8rem;
    margin-bottom: 6rem;
}

    .department-details .services-overview .overview-header {
        text-align: center;
        margin-bottom: 4rem;
    }

        .department-details .services-overview .overview-header h3 {
            font-size: 2.5rem;
            font-weight: 300;
            color: var(--heading-color);
            margin-bottom: 1.5rem;
            letter-spacing: -0.01em;
        }

        .department-details .services-overview .overview-header p {
            font-size: 1.125rem;
            line-height: 1.7;
            color: color-mix(in srgb, var(--default-color), transparent 25%);
            max-width: 600px;
            margin: 0 auto;
        }

    .department-details .services-overview .services-grid .service-item {
        text-align: left;
        padding: 2rem 0;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        transition: all 0.3s ease;
    }

        .department-details .services-overview .services-grid .service-item:hover {
            padding-left: 1rem;
        }

            .department-details .services-overview .services-grid .service-item:hover .service-icon {
                background-color: var(--accent-color);
            }

                .department-details .services-overview .services-grid .service-item:hover .service-icon i {
                    color: var(--contrast-color);
                }

        .department-details .services-overview .services-grid .service-item .service-icon {
            width: 60px;
            height: 60px;
            background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            margin-bottom: 1.5rem;
            transition: all 0.3s ease;
        }

            .department-details .services-overview .services-grid .service-item .service-icon i {
                font-size: 1.5rem;
                color: var(--accent-color);
                transition: color 0.3s ease;
            }

        .department-details .services-overview .services-grid .service-item h4 {
            font-size: 1.25rem;
            font-weight: 500;
            color: var(--heading-color);
            margin-bottom: 1rem;
        }

        .department-details .services-overview .services-grid .service-item p {
            color: color-mix(in srgb, var(--default-color), transparent 30%);
            line-height: 1.6;
            margin-bottom: 0;
        }

.department-details .expert-care-section {
    margin-top: 6rem;
}

    .department-details .expert-care-section .expert-image img {
        width: 100%;
        height: auto;
        border-radius: 0;
    }

    .department-details .expert-care-section .expert-content {
        padding-left: 3rem;
    }

        .department-details .expert-care-section .expert-content h3 {
            font-size: 2.25rem;
            font-weight: 300;
            color: var(--heading-color);
            margin-bottom: 1.5rem;
            letter-spacing: -0.01em;
        }

        .department-details .expert-care-section .expert-content .lead {
            font-size: 1.125rem;
            line-height: 1.7;
            color: color-mix(in srgb, var(--default-color), transparent 20%);
            margin-bottom: 2.5rem;
        }

        .department-details .expert-care-section .expert-content .expertise-list {
            margin-bottom: 3rem;
        }

            .department-details .expert-care-section .expert-content .expertise-list .expertise-item {
                display: flex;
                align-items: center;
                gap: 1rem;
                margin-bottom: 1rem;
            }

                .department-details .expert-care-section .expert-content .expertise-list .expertise-item i {
                    color: var(--accent-color);
                    font-size: 1.125rem;
                    flex-shrink: 0;
                }

                .department-details .expert-care-section .expert-content .expertise-list .expertise-item span {
                    color: color-mix(in srgb, var(--default-color), transparent 15%);
                    line-height: 1.6;
                }

        .department-details .expert-care-section .expert-content .contact-info .contact-item {
            display: flex;
            align-items: center;
            gap: 1rem;
            margin-bottom: 1.5rem;
        }

            .department-details .expert-care-section .expert-content .contact-info .contact-item i {
                width: 40px;
                height: 40px;
                background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
                color: var(--accent-color);
                border-radius: 8px;
                display: flex;
                align-items: center;
                justify-content: center;
                flex-shrink: 0;
            }

            .department-details .expert-care-section .expert-content .contact-info .contact-item div {
                display: flex;
                flex-direction: column;
            }

                .department-details .expert-care-section .expert-content .contact-info .contact-item div .contact-label {
                    font-size: 0.875rem;
                    color: color-mix(in srgb, var(--default-color), transparent 40%);
                    margin-bottom: 0.25rem;
                }

                .department-details .expert-care-section .expert-content .contact-info .contact-item div .contact-value {
                    font-weight: 500;
                    color: var(--default-color);
                }

@media (max-width: 991px) {
    .department-details .expert-care-section .expert-content {
        padding-left: 0;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .department-details .expert-care-section .expert-content h3 {
        font-size: 1.875rem;
    }
}

/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/
.services {
    padding: 80px 0;
}

    .services .service-item {
        background: var(--surface-color);
        border-radius: 15px;
        overflow: hidden;
        box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
        transition: all 0.3s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
    }

        .services .service-item:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
        }

    .services .service-image {
        position: relative;
        height: 250px;
        overflow: hidden;
    }

        .services .service-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .services .service-image .service-overlay {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(45deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
            opacity: 0;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.3s ease;
        }

            .services .service-image .service-overlay i {
                font-size: 3rem;
                color: var(--contrast-color);
                transform: scale(0.7);
                transition: transform 0.3s ease;
            }

        .services .service-image:hover img {
            transform: scale(1.05);
        }

        .services .service-image:hover .service-overlay {
            opacity: 0.9;
        }

            .services .service-image:hover .service-overlay i {
                transform: scale(1);
            }

    .services .service-content {
        padding: 30px 25px;
        flex: 1;
        display: flex;
        flex-direction: column;
    }

        .services .service-content h3 {
            color: var(--heading-color);
            font-size: 1.5rem;
            font-weight: 600;
            margin-bottom: 15px;
            line-height: 1.3;
        }

        .services .service-content p {
            color: color-mix(in srgb, var(--default-color), transparent 20%);
            font-size: 0.95rem;
            line-height: 1.6;
            margin-bottom: 20px;
            flex: 1;
        }

        .services .service-content .service-features {
            display: flex;
            flex-wrap: wrap;
            gap: 15px;
            margin-bottom: 25px;
        }

            .services .service-content .service-features .feature-item {
                display: flex;
                align-items: center;
                font-size: 0.85rem;
                color: var(--default-color);
            }

                .services .service-content .service-features .feature-item i {
                    color: var(--accent-color);
                    font-size: 0.75rem;
                    margin-right: 8px;
                }

        .services .service-content .service-btn {
            display: inline-flex;
            align-items: center;
            justify-content: space-between;
            width: 100%;
            padding: 15px 20px;
            background: color-mix(in srgb, var(--accent-color), transparent 5%);
            color: var(--contrast-color);
            text-decoration: none;
            border-radius: 8px;
            font-weight: 500;
            transition: all 0.3s ease;
            margin-top: auto;
        }

            .services .service-content .service-btn i {
                font-size: 0.9rem;
                transition: transform 0.3s ease;
            }

            .services .service-content .service-btn:hover {
                background: var(--accent-color);
                color: var(--contrast-color);
            }

                .services .service-content .service-btn:hover i {
                    transform: translateX(5px);
                }

@media (max-width: 768px) {
    .services {
        padding: 60px 0;
    }

        .services .service-image {
            height: 200px;
        }

        .services .service-content {
            padding: 25px 20px;
        }

            .services .service-content h3 {
                font-size: 1.3rem;
            }

            .services .service-content p {
                font-size: 0.9rem;
            }

            .services .service-content .service-features .feature-item {
                font-size: 0.8rem;
            }
}

@media (max-width: 576px) {
    .services .service-features {
        flex-direction: column;
        gap: 10px;
    }

        .services .service-features .feature-item {
            justify-content: flex-start;
        }
}

/*--------------------------------------------------------------
# Service Details 2 Section
--------------------------------------------------------------*/
.service-details-2 .service-header .service-category span {
    display: inline-block;
    background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), transparent 20%));
    color: var(--contrast-color);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 2rem;
}

.service-details-2 .service-header h2 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    line-height: 1.15;
}

@media (max-width: 768px) {
    .service-details-2 .service-header h2 {
        font-size: 2.2rem;
    }
}

.service-details-2 .service-header .lead {
    font-size: 1.25rem;
    color: color-mix(in srgb, var(--default-color), transparent 25%);
    font-weight: 400;
    line-height: 1.5;
}

.service-details-2 .service-details .detail-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

    .service-details-2 .service-details .detail-item .icon-wrapper {
        width: 60px;
        height: 60px;
        background: linear-gradient(135deg, var(--accent-color), color-mix(in srgb, var(--accent-color), black 15%));
        border-radius: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
        box-shadow: 0 8px 25px color-mix(in srgb, var(--accent-color), transparent 70%);
    }

        .service-details-2 .service-details .detail-item .icon-wrapper i {
            font-size: 1.5rem;
            color: var(--contrast-color);
        }

    .service-details-2 .service-details .detail-item .content h4 {
        font-size: 1.3rem;
        margin-bottom: 0.8rem;
        font-weight: 600;
        color: var(--heading-color);
    }

    .service-details-2 .service-details .detail-item .content p {
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        line-height: 1.6;
        margin: 0;
    }

.service-details-2 .service-visual {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
}

    .service-details-2 .service-visual img {
        border-radius: 20px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .service-details-2 .service-visual .visual-overlay {
        position: absolute;
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .service-details-2 .service-visual .stats-card {
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        border-radius: 16px;
        padding: 1.5rem;
        display: flex;
        justify-content: space-around;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    }

        .service-details-2 .service-visual .stats-card .stat {
            text-align: center;
        }

            .service-details-2 .service-visual .stats-card .stat .number {
                display: block;
                font-size: 1.8rem;
                font-weight: 700;
                color: var(--accent-color);
                line-height: 1;
            }

            .service-details-2 .service-visual .stats-card .stat .label {
                display: block;
                font-size: 0.9rem;
                color: color-mix(in srgb, var(--default-color), transparent 30%);
                font-weight: 500;
                margin-top: 0.3rem;
            }

.service-details-2 .service-overview {
    background: var(--surface-color);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

    .service-details-2 .service-overview h3 {
        font-size: 2rem;
        margin-bottom: 1.5rem;
        font-weight: 600;
    }

@media (max-width: 768px) {
    .service-details-2 .service-overview h3 {
        font-size: 1.6rem;
    }
}

.service-details-2 .service-overview p {
    font-size: 1.1rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
    margin-bottom: 2rem;
}

.service-details-2 .service-overview .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

@media (max-width: 576px) {
    .service-details-2 .service-overview .features-grid {
        grid-template-columns: 1fr;
    }
}

.service-details-2 .service-overview .features-grid .feature {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    background: color-mix(in srgb, var(--accent-color), transparent 95%);
    border-radius: 12px;
}

    .service-details-2 .service-overview .features-grid .feature i {
        color: var(--accent-color);
        font-size: 1.2rem;
    }

    .service-details-2 .service-overview .features-grid .feature span {
        font-weight: 500;
        color: var(--heading-color);
    }

.service-details-2 .service-overview .treatment-areas {
    background: color-mix(in srgb, var(--default-color), transparent 97%);
    padding: 2rem;
    border-radius: 16px;
}

    .service-details-2 .service-overview .treatment-areas h4 {
        font-size: 1.3rem;
        margin-bottom: 1.5rem;
        color: var(--heading-color);
        font-weight: 600;
    }

    .service-details-2 .service-overview .treatment-areas .condition-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.8rem;
    }

        .service-details-2 .service-overview .treatment-areas .condition-tags .tag {
            background: var(--surface-color);
            color: color-mix(in srgb, var(--default-color), transparent 10%);
            padding: 0.6rem 1.2rem;
            border-radius: 25px;
            font-size: 0.9rem;
            font-weight: 500;
            border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
            transition: all 0.3s ease;
        }

            .service-details-2 .service-overview .treatment-areas .condition-tags .tag:hover {
                background: var(--accent-color);
                color: var(--contrast-color);
                border-color: var(--accent-color);
                transform: translateY(-2px);
            }

@media (max-width: 992px) {
    .service-details-2 .service-overview {
        padding: 2rem;
    }

        .service-details-2 .service-overview .treatment-areas {
            margin-top: 2rem;
        }
}

.service-details-2 .action-card {
    background: var(--surface-color);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    height: 100%;
    border: 2px solid transparent;
    transition: all 0.3s ease;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
}

    .service-details-2 .action-card.primary {
        border-color: var(--accent-color);
        background: linear-gradient(135deg, var(--surface-color), color-mix(in srgb, var(--accent-color), transparent 97%));
    }

        .service-details-2 .action-card.primary .card-header i {
            color: var(--accent-color);
        }

        .service-details-2 .action-card.primary .btn-action {
            background: var(--accent-color);
            color: var(--contrast-color);
        }

            .service-details-2 .action-card.primary .btn-action:hover {
                background: color-mix(in srgb, var(--accent-color), black 10%);
                transform: translateY(-3px);
            }

    .service-details-2 .action-card.secondary {
        border-color: color-mix(in srgb, var(--heading-color), transparent 70%);
    }

        .service-details-2 .action-card.secondary .card-header i {
            color: var(--heading-color);
        }

        .service-details-2 .action-card.secondary .btn-action {
            background: transparent;
            color: var(--default-color);
            border: 2px solid color-mix(in srgb, var(--default-color), transparent 50%);
        }

            .service-details-2 .action-card.secondary .btn-action:hover {
                color: var(--accent-color);
                border-color: var(--accent-color);
                transform: translateY(-3px);
            }

    .service-details-2 .action-card.tertiary {
        border-color: color-mix(in srgb, var(--default-color), transparent 80%);
    }

        .service-details-2 .action-card.tertiary .card-header i {
            color: color-mix(in srgb, var(--default-color), transparent 20%);
        }

        .service-details-2 .action-card.tertiary .btn-action {
            background: transparent;
            color: var(--default-color);
            border: 2px solid color-mix(in srgb, var(--default-color), transparent 50%);
        }

            .service-details-2 .action-card.tertiary .btn-action:hover {
                color: var(--accent-color);
                border-color: var(--accent-color);
                transform: translateY(-3px);
            }

    .service-details-2 .action-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    }

    .service-details-2 .action-card .card-header {
        margin-bottom: 1rem;
    }

        .service-details-2 .action-card .card-header i {
            font-size: 2.5rem;
            margin-bottom: 1rem;
            display: block;
        }

        .service-details-2 .action-card .card-header h4 {
            font-size: 1.3rem;
            font-weight: 600;
            margin: 0;
        }

    .service-details-2 .action-card p {
        color: color-mix(in srgb, var(--default-color), transparent 25%);
        margin-bottom: 2rem;
        line-height: 1.5;
    }

    .service-details-2 .action-card .card-footer .btn-action {
        display: inline-block;
        padding: 12px 28px;
        border-radius: 30px;
        text-decoration: none;
        font-weight: 600;
        transition: all 0.3s ease;
        margin-bottom: 1rem;
        width: 100%;
    }

    .service-details-2 .action-card .card-footer .availability {
        display: block;
        font-size: 0.85rem;
        color: color-mix(in srgb, var(--default-color), transparent 40%);
        font-weight: 500;
    }

@media (max-width: 768px) {
    .service-details-2 .service-header {
        margin-bottom: 3rem;
    }

        .service-details-2 .service-header .service-category span {
            margin-bottom: 1rem;
        }

    .service-details-2 .service-details {
        margin-bottom: 3rem;
    }

        .service-details-2 .service-details .detail-item {
            margin-bottom: 2rem;
        }

    .service-details-2 .visual-overlay {
        position: static !important;
        margin-top: 1rem;
    }

        .service-details-2 .visual-overlay .stats-card {
            background: var(--surface-color);
            backdrop-filter: none;
        }
}

/*--------------------------------------------------------------
# Doctors Section
--------------------------------------------------------------*/
.doctors .doctor-card {
    background: var(--surface-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px color-mix(in srgb, var(--default-color), transparent 90%);
}

    .doctors .doctor-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 80%);
    }

        .doctors .doctor-card:hover .doctor-overlay {
            opacity: 1;
        }

.doctors .doctor-image {
    position: relative;
    margin-bottom: 25px;
    overflow: hidden;
    border-radius: 50%;
    width: 150px;
    height: 150px;
    margin: 0 auto 25px;
}

    .doctors .doctor-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 50%;
    }

.doctors .doctor-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

    .doctors .doctor-overlay .social-links {
        display: flex;
        gap: 10px;
    }

        .doctors .doctor-overlay .social-links a {
            width: 35px;
            height: 35px;
            background: var(--contrast-color);
            color: var(--accent-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            transition: all 0.3s ease;
        }

            .doctors .doctor-overlay .social-links a:hover {
                background: var(--accent-color);
                color: var(--contrast-color);
            }

            .doctors .doctor-overlay .social-links a i {
                font-size: 16px;
            }

.doctors .doctor-content h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--heading-color);
}

.doctors .doctor-content .specialty {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
}

.doctors .doctor-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.doctors .doctor-meta {
    margin-bottom: 20px;
}

    .doctors .doctor-meta .experience,
    .doctors .doctor-meta .department {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        font-size: 13px;
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin-bottom: 8px;
    }

        .doctors .doctor-meta .experience i,
        .doctors .doctor-meta .department i {
            color: var(--accent-color);
            font-size: 14px;
        }

    .doctors .doctor-meta .department {
        margin-bottom: 0;
    }

.doctors .btn-appointment {
    background: var(--accent-color);
    color: var(--contrast-color);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

    .doctors .btn-appointment:hover {
        background: color-mix(in srgb, var(--accent-color) 90%, black 15%);
        color: var(--contrast-color);
        transform: translateY(-2px);
    }

@media (max-width: 768px) {
    .doctors .doctor-card {
        padding: 20px;
    }

    .doctors .doctor-image {
        width: 120px;
        height: 120px;
    }

    .doctors .doctor-content h4 {
        font-size: 20px;
    }

    .doctors .doctor-content .specialty {
        font-size: 14px;
    }

    .doctors .doctor-content p {
        font-size: 13px;
    }

    .doctors .btn-appointment {
        padding: 10px 25px;
        font-size: 13px;
    }
}

/*--------------------------------------------------------------
# Appointmnet Section
--------------------------------------------------------------*/
.appointmnet .booking-wrapper {
    background-color: var(--surface-color);
    border-radius: 15px;
    padding: 60px 40px;
    box-shadow: 0 5px 25px color-mix(in srgb, var(--default-color), transparent 90%);
}

.appointmnet .booking-header {
    margin-bottom: 50px;
}

    .appointmnet .booking-header h2 {
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 20px;
        color: var(--heading-color);
    }

    .appointmnet .booking-header p {
        font-size: 1.1rem;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        max-width: 600px;
        margin: 0 auto;
    }

.appointmnet .booking-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 50px;
    padding: 30px 0;
}

    .appointmnet .booking-steps .step {
        text-align: center;
        flex: 1;
        max-width: 200px;
        position: relative;
    }

        .appointmnet .booking-steps .step:not(:last-child)::after {
            content: "";
            position: absolute;
            top: 30px;
            right: -15px;
            width: 30px;
            height: 2px;
            background-color: var(--accent-color);
            z-index: 1;
        }

        .appointmnet .booking-steps .step .step-icon {
            width: 60px;
            height: 60px;
            background-color: var(--accent-color);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 15px;
            position: relative;
            z-index: 2;
        }

            .appointmnet .booking-steps .step .step-icon i {
                font-size: 24px;
                color: var(--contrast-color);
            }

        .appointmnet .booking-steps .step .step-content h4 {
            font-size: 1.1rem;
            font-weight: 600;
            margin-bottom: 8px;
            color: var(--heading-color);
        }

        .appointmnet .booking-steps .step .step-content p {
            font-size: 0.9rem;
            color: color-mix(in srgb, var(--default-color), transparent 30%);
            margin: 0;
        }

@media (max-width: 768px) {
    .appointmnet .booking-steps {
        flex-direction: column;
        gap: 20px;
    }

        .appointmnet .booking-steps .step {
            max-width: none;
        }

            .appointmnet .booking-steps .step:not(:last-child)::after {
                display: none;
            }
}

.appointmnet .appointment-form .php-email-form input[type=text],
.appointmnet .appointment-form .php-email-form input[type=email],
.appointmnet .appointment-form .php-email-form input[type=tel],
.appointmnet .appointment-form .php-email-form input[type=date],
.appointmnet .appointment-form .php-email-form select,
.appointmnet .appointment-form .php-email-form textarea {
    color: var(--default-color);
    background-color: transparent;
    font-size: 14px;
    border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
    border-radius: 8px;
    padding: 15px;
    transition: all 0.3s ease;
}

    .appointmnet .appointment-form .php-email-form input[type=text]:focus,
    .appointmnet .appointment-form .php-email-form input[type=email]:focus,
    .appointmnet .appointment-form .php-email-form input[type=tel]:focus,
    .appointmnet .appointment-form .php-email-form input[type=date]:focus,
    .appointmnet .appointment-form .php-email-form select:focus,
    .appointmnet .appointment-form .php-email-form textarea:focus {
        border-color: var(--accent-color);
        box-shadow: 0 0 0 0.2rem color-mix(in srgb, var(--accent-color), transparent 80%);
        outline: none;
    }

    .appointmnet .appointment-form .php-email-form input[type=text]::placeholder,
    .appointmnet .appointment-form .php-email-form input[type=email]::placeholder,
    .appointmnet .appointment-form .php-email-form input[type=tel]::placeholder,
    .appointmnet .appointment-form .php-email-form input[type=date]::placeholder,
    .appointmnet .appointment-form .php-email-form select::placeholder,
    .appointmnet .appointment-form .php-email-form textarea::placeholder {
        color: color-mix(in srgb, var(--default-color), transparent 70%);
    }

.appointmnet .appointment-form .php-email-form .form-select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23343a40' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
}

.appointmnet .appointment-form .php-email-form .btn-book {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    width: 100%;
    cursor: pointer;
}

    .appointmnet .appointment-form .php-email-form .btn-book:hover {
        background-color: color-mix(in srgb, var(--accent-color), black 10%);
        transform: translateY(-2px);
    }

    .appointmnet .appointment-form .php-email-form .btn-book:active {
        transform: translateY(0);
    }

.appointmnet .emergency-info {
    margin-top: 30px;
    padding: 20px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
    border-radius: 8px;
    text-align: center;
}

    .appointmnet .emergency-info p {
        margin: 0;
        color: var(--heading-color);
        font-size: 0.9rem;
    }

        .appointmnet .emergency-info p i {
            color: #dc3545;
            margin-right: 8px;
        }

        .appointmnet .emergency-info p strong {
            color: #dc3545;
            font-weight: 700;
        }

@media (max-width: 768px) {
    .appointmnet .booking-wrapper {
        padding: 40px 25px;
    }

    .appointmnet .booking-header h2 {
        font-size: 2rem;
    }
}

/*--------------------------------------------------------------
# Featured Testimonials Section
--------------------------------------------------------------*/
.featured-testimonials .testimonial-item {
    background-color: color-mix(in srgb, var(--default-color), transparent 96%);
    padding: 24px;
    border-radius: 8px;
    transition: all 0.3s;
}

    .featured-testimonials .testimonial-item .stars {
        margin-bottom: 16px;
        color: #f7b50d;
    }

        .featured-testimonials .testimonial-item .stars i {
            font-size: 18px;
            margin: 0 2px;
        }

    .featured-testimonials .testimonial-item p {
        font-size: 15px;
        font-style: italic;
        margin: 0 0 20px 0;
    }

    .featured-testimonials .testimonial-item .profile {
        display: flex;
        align-items: center;
        gap: 16px;
    }

        .featured-testimonials .testimonial-item .profile .testimonial-img {
            width: 48px;
            height: 48px;
            border-radius: 50%;
            object-fit: cover;
        }

        .featured-testimonials .testimonial-item .profile .info h4 {
            font-size: 16px;
            font-weight: 600;
            margin: 0 0 4px 0;
        }

            .featured-testimonials .testimonial-item .profile .info h4 i {
                font-size: 14px;
                color: var(--accent-color);
                margin-left: 4px;
            }

        .featured-testimonials .testimonial-item .profile .info span {
            font-size: 14px;
            color: color-mix(in srgb, var(--default-color), transparent 30%);
        }

.featured-testimonials .swiper-wrapper {
    height: auto !important;
}

.featured-testimonials .swiper-pagination {
    margin-top: 30px;
    position: relative;
}

    .featured-testimonials .swiper-pagination .swiper-pagination-bullet {
        width: 8px;
        height: 8px;
        background-color: color-mix(in srgb, var(--default-color), transparent 70%);
        opacity: 1;
    }

        .featured-testimonials .swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
            background-color: var(--accent-color);
            width: 20px;
            border-radius: 4px;
        }

@media (max-width: 1199.98px) {
    .featured-testimonials .testimonial-item {
        margin: 0;
    }
}

/*--------------------------------------------------------------
# Testimonials Section
--------------------------------------------------------------*/
.testimonials .testimonial-item {
    background-color: var(--surface-color);
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .testimonials .testimonial-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    }

    .testimonials .testimonial-item .stars {
        margin-bottom: 15px;
        color: #FFD700;
    }

        .testimonials .testimonial-item .stars i {
            margin-right: 2px;
        }

    .testimonials .testimonial-item p {
        font-size: 16px;
        line-height: 1.6;
        margin-bottom: 25px;
        color: var(--default-color);
    }

    .testimonials .testimonial-item .testimonial-footer {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

        .testimonials .testimonial-item .testimonial-footer .testimonial-author {
            display: flex;
            align-items: center;
        }

            .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
                width: 50px;
                height: 50px;
                border-radius: 50%;
                object-fit: cover;
                margin-right: 15px;
                border: 3px solid color-mix(in srgb, var(--accent-color), transparent 80%);
            }

            .testimonials .testimonial-item .testimonial-footer .testimonial-author div h5 {
                margin: 0 0 5px;
                font-size: 18px;
                font-weight: 600;
                color: var(--heading-color);
            }

            .testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
                font-size: 14px;
                color: color-mix(in srgb, var(--default-color), transparent 30%);
            }

        .testimonials .testimonial-item .testimonial-footer .quote-icon {
            font-size: 36px;
            color: color-mix(in srgb, var(--accent-color), transparent 70%);
            line-height: 1;
        }

            .testimonials .testimonial-item .testimonial-footer .quote-icon i {
                transform: scaleX(-1);
            }

@media (max-width: 768px) {
    .testimonials .testimonial-item {
        padding: 25px 20px;
    }

        .testimonials .testimonial-item p {
            font-size: 15px;
            margin-bottom: 20px;
        }

        .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
            width: 45px;
            height: 45px;
        }

        .testimonials .testimonial-item .testimonial-footer .testimonial-author div h5 {
            font-size: 16px;
        }

        .testimonials .testimonial-item .testimonial-footer .testimonial-author div span {
            font-size: 13px;
        }

        .testimonials .testimonial-item .testimonial-footer .quote-icon {
            font-size: 30px;
        }
}

@media (max-width: 576px) {
    .testimonials .testimonial-item {
        padding: 20px 15px;
    }

        .testimonials .testimonial-item .testimonial-footer .testimonial-author img {
            width: 40px;
            height: 40px;
            margin-right: 10px;
        }
}

/*--------------------------------------------------------------
# Gallery Section
--------------------------------------------------------------*/
.gallery .gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
}

    .gallery .gallery-item img {
        transition: 0.3s;
    }

.gallery .gallery-links {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: all ease-in-out 0.3s;
    background: rgba(0, 0, 0, 0.6);
    z-index: 3;
}

    .gallery .gallery-links .preview-link,
    .gallery .gallery-links .details-link {
        font-size: 20px;
        color: rgba(255, 255, 255, 0.5);
        transition: 0.3s;
        line-height: 1.2;
        margin: 30px 8px 0 8px;
    }

        .gallery .gallery-links .preview-link:hover,
        .gallery .gallery-links .details-link:hover {
            color: #ffffff;
        }

    .gallery .gallery-links .details-link {
        font-size: 30px;
        line-height: 0;
    }

.gallery .gallery-item:hover .gallery-links {
    opacity: 1;
}

.gallery .gallery-item:hover .preview-link,
.gallery .gallery-item:hover .details-link {
    margin-top: 0;
}

.gallery .gallery-item:hover img {
    transform: scale(1.1);
}

.glightbox-clean .gslide-description {
    background: #272727;
}

.glightbox-clean .gslide-title {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/*--------------------------------------------------------------
# Faq Section
--------------------------------------------------------------*/
.faq .faq-item {
    margin-bottom: 0;
    border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

    .faq .faq-item:last-child {
        border-bottom: none;
    }

    .faq .faq-item.faq-active .faq-header .faq-number {
        color: var(--accent-color);
        font-weight: 500;
    }

    .faq .faq-item.faq-active .faq-header h4 {
        color: var(--accent-color);
    }

    .faq .faq-item.faq-active .faq-header .faq-toggle {
        color: var(--accent-color);
        transform: rotate(0deg);
    }

        .faq .faq-item.faq-active .faq-header .faq-toggle i.bi-plus {
            opacity: 0;
            transform: rotate(90deg);
        }

        .faq .faq-item.faq-active .faq-header .faq-toggle i.bi-dash {
            opacity: 1;
            transform: rotate(0deg);
        }

    .faq .faq-item.faq-active .faq-content {
        grid-template-rows: 1fr;
        visibility: visible;
        opacity: 1;
    }

    .faq .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-plus {
        opacity: 1;
        transform: rotate(0deg);
    }

    .faq .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-dash {
        opacity: 0;
        transform: rotate(-90deg);
    }

    .faq .faq-item .faq-header {
        display: flex;
        align-items: center;
        padding: 40px 0;
        cursor: pointer;
        gap: 0;
        transition: all 0.3s ease;
    }

        .faq .faq-item .faq-header:hover .faq-number {
            transform: scale(1.1);
        }

        .faq .faq-item .faq-header:hover .faq-toggle {
            transform: scale(1.1);
        }

        .faq .faq-item .faq-header .faq-number {
            flex-shrink: 0;
            width: 80px;
            font-family: var(--heading-font);
            font-size: 1.1rem;
            font-weight: 300;
            color: color-mix(in srgb, var(--default-color), transparent 50%);
            transition: all 0.3s ease;
            letter-spacing: -0.02em;
        }

        .faq .faq-item .faq-header h4 {
            flex: 1;
            margin: 0;
            font-family: var(--heading-font);
            font-size: 1.25rem;
            font-weight: 300;
            color: var(--heading-color);
            transition: all 0.3s ease;
            line-height: 1.5;
            letter-spacing: -0.01em;
            margin-right: 20px;
        }

        .faq .faq-item .faq-header .faq-toggle {
            flex-shrink: 0;
            width: 24px;
            height: 24px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: color-mix(in srgb, var(--default-color), transparent 40%);
            font-size: 18px;
            transition: all 0.3s ease;
            position: relative;
        }

            .faq .faq-item .faq-header .faq-toggle i {
                position: absolute;
                transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
            }

    .faq .faq-item .faq-content {
        display: grid;
        grid-template-rows: 0fr;
        transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        visibility: hidden;
        opacity: 0;
    }

        .faq .faq-item .faq-content .content-inner {
            padding: 0 80px 40px 80px;
            overflow: hidden;
        }

            .faq .faq-item .faq-content .content-inner p {
                margin: 0;
                color: color-mix(in srgb, var(--default-color), transparent 25%);
                line-height: 1.8;
                font-size: 1rem;
                font-weight: 300;
            }

@media (max-width: 768px) {
    .faq .faq-item .faq-header {
        padding: 30px 0;
    }

        .faq .faq-item .faq-header .faq-number {
            width: 60px;
            font-size: 1rem;
        }

        .faq .faq-item .faq-header h4 {
            font-size: 1.1rem;
            margin-right: 15px;
        }

        .faq .faq-item .faq-header .faq-toggle {
            width: 20px;
            height: 20px;
            font-size: 16px;
        }

    .faq .faq-item .faq-content .content-inner {
        padding: 0 60px 30px 60px;
    }

        .faq .faq-item .faq-content .content-inner p {
            font-size: 0.95rem;
        }
}

@media (max-width: 576px) {
    .faq .faq-item .faq-header {
        padding: 25px 0;
    }

        .faq .faq-item .faq-header .faq-number {
            width: 50px;
            font-size: 0.9rem;
        }

        .faq .faq-item .faq-header h4 {
            font-size: 1rem;
            margin-right: 10px;
        }

    .faq .faq-item .faq-content .content-inner {
        padding: 0 50px 25px 50px;
    }

        .faq .faq-item .faq-content .content-inner p {
            font-size: 0.9rem;
        }
}

/*--------------------------------------------------------------
# FAQ Block (content page accordion)
--------------------------------------------------------------*/
.faq-block__heading {
    margin: 0 0 1.5rem;
    font-family: var(--heading-font);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: var(--default-color);
    line-height: 1.3;
}

.faq-block .faq-item .faq-header {
    padding: 1.5rem 0;
}

.faq-block .faq-item .faq-header h4,
.faq-block .faq-item.faq-active .faq-header h4 {
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--default-color);
}

.faq-block .faq-item .faq-header .faq-toggle,
.faq-block .faq-item.faq-active .faq-header .faq-toggle {
    color: var(--accent-color-purple, #843895);
}

.faq-block .faq-item .faq-content .content-inner {
    padding: 0 2rem 1.5rem 0;
}

.faq-block .faq-item .faq-content .content-inner p {
    color: var(--default-color);
    font-weight: 400;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .faq-block .faq-item .faq-header {
        padding: 1.25rem 0;
    }

    .faq-block .faq-item .faq-content .content-inner {
        padding: 0 0 1.25rem 0;
    }
}

@media (max-width: 576px) {
    .faq-block .faq-item .faq-header h4 {
        font-size: 1rem;
    }
}

/*--------------------------------------------------------------
# Accordion block (card-style, brand purple)
--------------------------------------------------------------*/
.faq-accordion {
    --accordion-brand: var(--accent-color-purple, #843895);
    --accordion-brand-soft: color-mix(in srgb, var(--accent-color-purple, #843895), transparent 90%);
    --accordion-brand-mid: color-mix(in srgb, var(--accent-color-purple, #843895), transparent 82%);
    --accordion-content-bg: color-mix(in srgb, var(--accent-color-purple, #843895), transparent 96%);
    --accordion-radius: 0.75rem;
    margin: 0;
}

.faq-accordion .faq-accordion__item,
.faq-accordion .faq-item {
    margin: 0;
    border: none;
    border-bottom: none;
    border-radius: var(--accordion-radius);
    overflow: hidden;
    background: transparent;
    transition: none;
}

.faq-accordion .faq-item:last-child {
    border-bottom: none;
}

.faq-accordion .faq-accordion__header,
.faq-accordion .faq-item .faq-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.75rem 1.1rem;
    margin: 0;
    border-radius: 0;
    background: var(--accordion-brand-soft);
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.faq-accordion .faq-item .faq-header:hover {
    background: var(--accordion-brand-mid);
}

.faq-accordion .faq-item .faq-header:hover .faq-toggle {
    transform: none;
}

.faq-accordion .faq-accordion__title,
.faq-accordion .faq-item .faq-header h4,
.faq-accordion .faq-item.faq-active .faq-header h4 {
    flex: 1;
    margin: 0;
    margin-right: 0;
    font-family: var(--heading-font);
    font-size: 1.0625rem;
    font-weight: 700;
    line-height: 1.45;
    letter-spacing: 0;
    color: var(--accordion-brand);
    transition: color 0.2s ease;
}

.faq-accordion .faq-accordion__toggle,
.faq-accordion .faq-item .faq-header .faq-toggle,
.faq-accordion .faq-item.faq-active .faq-header .faq-toggle {
    position: relative;
    flex-shrink: 0;
    width: 2.5rem;
    height: 2.5rem; 
    border-radius: 50%;
    background: var(--accordion-brand);
    color: var(--contrast-color, #fff);
    font-size: 1.5rem;
    line-height: 1;
    transform: none;
    box-shadow: none;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.faq-accordion .faq-item .faq-header .faq-toggle i {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    transition: opacity 0.15s ease;
}

.faq-accordion .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-plus {
    opacity: 1;
    transform: none;
}

.faq-accordion .faq-item:not(.faq-active) .faq-header .faq-toggle i.bi-dash {
    opacity: 0;
    transform: none;
}

.faq-accordion .faq-item.faq-active .faq-accordion__header,
.faq-accordion .faq-item.faq-active .faq-header {
    background: var(--accordion-brand);
    border-radius: 0;
}

.faq-accordion .faq-item.faq-active .faq-header h4,
.faq-accordion .faq-item.faq-active .faq-accordion__title {
    color: var(--contrast-color, #fff);
}

.faq-accordion .faq-item.faq-active .faq-header .faq-toggle {
    background: #ffffff;
    color: var(--accordion-brand);
    box-shadow: none;
    transform: none;
}

.faq-accordion .faq-item.faq-active .faq-header .faq-toggle i.bi-plus {
    opacity: 0;
    transform: none;
}

.faq-accordion .faq-item.faq-active .faq-header .faq-toggle i.bi-dash {
    opacity: 1;
    transform: none;
}

.faq-accordion .faq-accordion__content,
.faq-accordion .faq-item .faq-content {
    display: grid;
    grid-template-rows: 0fr;
    overflow: hidden;
    background: var(--accordion-content-bg);
    border-radius: 0;
    transition: grid-template-rows 0.3s ease;
}

.faq-accordion .faq-item.faq-active .faq-content {
    grid-template-rows: 1fr;
}

.faq-accordion .faq-accordion__body,
.faq-accordion .faq-item .faq-content .content-inner {
    min-height: 0;
    overflow: hidden;
    padding: 0 1.25rem;
}

.faq-accordion .faq-item.faq-active .faq-content .content-inner {
    padding: 1.15rem 1.25rem 1.35rem;
}

.faq-accordion .faq-item .faq-content .content-inner p {
    margin: 0 0 0.75rem;
    color: color-mix(in srgb, var(--default-color), transparent 12%);
    font-weight: 400;
    line-height: 1.8;
}

.faq-accordion .faq-item .faq-content .content-inner p:last-child {
    margin-bottom: 0;
}

.faq-accordion .faq-item .faq-content .content-inner strong,
.faq-accordion .faq-item .faq-content .content-inner b {
    color: var(--default-color);
    font-weight: 700;
}

@media (max-width: 768px) {
    .faq-accordion .faq-item .faq-header {
        padding: 0.65rem 1rem;
    }

    .faq-accordion .faq-item.faq-active .faq-content .content-inner {
        padding: 1rem 1rem 1.25rem;
    }
}

@media (max-width: 576px) {
    .faq-accordion .faq-item .faq-header h4 {
        font-size: 0.9375rem;
    }

    .faq-accordion .faq-item .faq-header .faq-toggle {
        width: 2.25rem;
        height: 2.25rem;
        font-size: 1.35rem;
    }
}

/* FAQ block (additem list) reuses the accordion card look */
.faq-accordion .faq-block__list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

/* Accordion items sit closer than default Block Grid row-gap */
.umb-block-grid__layout-item[data-content-element-type-alias="Accordion"] {
    align-self: start;
}

.umb-block-grid__layout-item[data-content-element-type-alias="Accordion"] + .umb-block-grid__layout-item[data-content-element-type-alias="Accordion"] {
    margin-top: calc(-1 * var(--umb-block-grid--row-gap, 1rem) + 0.7rem);
}

.content-page-body__article > .umb-block-grid > .umb-block-grid__layout-container > .umb-block-grid__layout-item[data-content-element-type-alias="Accordion"] + .umb-block-grid__layout-item[data-content-element-type-alias="Accordion"] {
    margin-top: -0.3rem;
}

/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact .contact-info-wrapper {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact .contact-info-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

    .contact .contact-info-item .info-icon {
        flex-shrink: 0;
        width: 60px;
        height: 60px;
        border-radius: 50%;
        background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
        display: flex;
        align-items: center;
        justify-content: center;
    }

        .contact .contact-info-item .info-icon i {
            font-size: 24px;
            color: var(--accent-color);
        }

    .contact .contact-info-item .info-content h3 {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .contact .contact-info-item .info-content p {
        margin-bottom: 5px;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        line-height: 1.7;
    }

        .contact .contact-info-item .info-content p:last-child {
            margin-bottom: 0;
        }

.contact .contact-form-card {
    background-color: var(--surface-color);
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
}

    .contact .contact-form-card h2 {
        font-size: 28px;
        font-weight: 600;
        margin-bottom: 10px;
    }

    .contact .contact-form-card p {
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        line-height: 1.7;
        margin-bottom: 30px;
    }

    .contact .contact-form-card .form-control {
        border-radius: 8px;
        border: 1px solid color-mix(in srgb, var(--default-color), transparent 80%);
        padding: 15px 20px;
        height: calc(3.5rem + 2px);
        background-color: var(--surface-color);
        color: var(--default-color);
        margin-bottom: 20px;
    }

        .contact .contact-form-card .form-control:focus {
            border-color: var(--accent-color);
            box-shadow: 0 0 0 0.25rem color-mix(in srgb, var(--accent-color), transparent 90%);
        }

        .contact .contact-form-card .form-control::placeholder {
            color: color-mix(in srgb, var(--default-color), transparent 40%);
        }

    .contact .contact-form-card textarea.form-control {
        min-height: 150px;
        margin-bottom: 25px;
    }

.contact .btn-submit {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border: none;
    padding: 15px 30px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    width: 100%;
}

    .contact .btn-submit:hover {
        background-color: color-mix(in srgb, var(--accent-color), transparent 15%);
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    }

.contact .map-container {
    position: relative;
    margin-top: 50px;
    padding: 0;
}

    .contact .map-container .map-overlay {
        position: absolute;
        top: -30px;
        left: 0;
        right: 0;
        height: 60px;
        background: linear-gradient(to bottom, var(--background-color), transparent);
        z-index: 10;
    }

    .contact .map-container iframe {
        display: block;
        width: 100%;
        height: 500px;
        border: 0;
        border-radius: 12px;
        box-shadow: 0 5px 25px rgba(0, 0, 0, 0.05);
    }

@media (max-width: 992px) {
    .contact .contact-form-card {
        padding: 30px;
    }

    .contact .map-container {
        margin-top: 40px;
    }

        .contact .map-container .map-overlay {
            top: -25px;
            height: 50px;
        }

        .contact .map-container iframe {
            height: 450px;
        }
}

@media (max-width: 768px) {
    .contact .contact-info-wrapper {
        gap: 25px;
    }

    .contact .contact-info-item {
        gap: 15px;
    }

        .contact .contact-info-item .info-icon {
            width: 50px;
            height: 50px;
        }

    .contact .contact-form-card {
        padding: 25px;
    }

        .contact .contact-form-card h2 {
            font-size: 24px;
        }

    .contact .map-container {
        margin-top: 30px;
    }

        .contact .map-container .map-overlay {
            top: -20px;
            height: 40px;
        }

        .contact .map-container iframe {
            height: 400px;
        }
}

@media (max-width: 576px) {
    .contact .contact-form-card {
        padding: 20px;
    }

    .contact .map-container {
        margin-top: 25px;
    }

        .contact .map-container .map-overlay {
            top: -15px;
            height: 30px;
        }

        .contact .map-container iframe {
            height: 350px;
            border-radius: 8px;
        }
}

/*--------------------------------------------------------------
# Terms Of Service Section
--------------------------------------------------------------*/
.terms-of-service .tos-header {
    margin-bottom: 60px;
}

    .terms-of-service .tos-header .last-updated {
        display: inline-block;
        padding: 8px 20px;
        background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
        border-radius: 30px;
        color: var(--accent-color);
        font-size: 0.95rem;
        margin-bottom: 20px;
    }

    .terms-of-service .tos-header h2 {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }

    .terms-of-service .tos-header p {
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        font-size: 1.1rem;
        max-width: 700px;
        margin: 0 auto;
    }

.terms-of-service .tos-content .content-section {
    margin-bottom: 50px;
    scroll-margin-top: 100px;
}

    .terms-of-service .tos-content .content-section:last-child {
        margin-bottom: 0;
    }

    .terms-of-service .tos-content .content-section h3 {
        font-size: 1.8rem;
        margin-bottom: 20px;
        color: var(--heading-color);
    }

    .terms-of-service .tos-content .content-section p {
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        line-height: 1.7;
        margin-bottom: 20px;
    }

        .terms-of-service .tos-content .content-section p:last-child {
            margin-bottom: 0;
        }

    .terms-of-service .tos-content .content-section .info-box {
        display: flex;
        align-items: flex-start;
        gap: 15px;
        padding: 20px;
        background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
        border-radius: 15px;
        margin-top: 20px;
    }

        .terms-of-service .tos-content .content-section .info-box i {
            font-size: 1.5rem;
            color: var(--accent-color);
            flex-shrink: 0;
        }

        .terms-of-service .tos-content .content-section .info-box p {
            margin: 0;
            font-size: 0.95rem;
        }

    .terms-of-service .tos-content .content-section .list-items {
        list-style: none;
        padding: 0;
        margin: 20px 0;
    }

        .terms-of-service .tos-content .content-section .list-items li {
            position: relative;
            padding-left: 25px;
            margin-bottom: 12px;
            color: color-mix(in srgb, var(--default-color), transparent 20%);
        }

            .terms-of-service .tos-content .content-section .list-items li:last-child {
                margin-bottom: 0;
            }

            .terms-of-service .tos-content .content-section .list-items li::before {
                content: "";
                position: absolute;
                left: 0;
                top: 10px;
                width: 6px;
                height: 6px;
                border-radius: 50%;
                background-color: var(--accent-color);
            }

    .terms-of-service .tos-content .content-section .alert-box {
        display: flex;
        gap: 20px;
        padding: 25px;
        background-color: var(--surface-color);
        border-radius: 15px;
        border-left: 4px solid var(--accent-color);
        margin-top: 20px;
    }

        .terms-of-service .tos-content .content-section .alert-box i {
            font-size: 2rem;
            color: var(--accent-color);
            flex-shrink: 0;
        }

        .terms-of-service .tos-content .content-section .alert-box .alert-content h5 {
            font-size: 1.1rem;
            margin-bottom: 8px;
        }

        .terms-of-service .tos-content .content-section .alert-box .alert-content p {
            margin: 0;
            font-size: 0.95rem;
        }

    .terms-of-service .tos-content .content-section .prohibited-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 20px;
    }

@media (max-width: 576px) {
    .terms-of-service .tos-content .content-section .prohibited-list {
        grid-template-columns: 1fr;
    }
}

.terms-of-service .tos-content .content-section .prohibited-list .prohibited-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background-color: var(--surface-color);
    border-radius: 12px;
}

    .terms-of-service .tos-content .content-section .prohibited-list .prohibited-item i {
        color: #dc3545;
        font-size: 1.2rem;
    }

    .terms-of-service .tos-content .content-section .prohibited-list .prohibited-item span {
        font-size: 0.95rem;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
    }

.terms-of-service .tos-content .content-section .disclaimer-box {
    background-color: var(--surface-color);
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
}

    .terms-of-service .tos-content .content-section .disclaimer-box p {
        margin-bottom: 15px;
        font-weight: 500;
    }

    .terms-of-service .tos-content .content-section .disclaimer-box ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }

        .terms-of-service .tos-content .content-section .disclaimer-box ul li {
            position: relative;
            padding-left: 25px;
            margin-bottom: 12px;
            color: color-mix(in srgb, var(--default-color), transparent 20%);
            font-size: 0.95rem;
        }

            .terms-of-service .tos-content .content-section .disclaimer-box ul li:last-child {
                margin-bottom: 0;
            }

            .terms-of-service .tos-content .content-section .disclaimer-box ul li::before {
                content: "•";
                position: absolute;
                left: 8px;
                color: var(--accent-color);
            }

.terms-of-service .tos-content .content-section .notice-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background-color: color-mix(in srgb, var(--accent-color), transparent 95%);
    border-radius: 15px;
    margin-top: 20px;
}

    .terms-of-service .tos-content .content-section .notice-box i {
        font-size: 1.5rem;
        color: var(--accent-color);
        flex-shrink: 0;
    }

    .terms-of-service .tos-content .content-section .notice-box p {
        margin: 0;
        font-size: 0.95rem;
    }

.terms-of-service .tos-contact {
    margin-top: 60px;
}

    .terms-of-service .tos-contact .contact-box {
        background: linear-gradient(135deg, color-mix(in srgb, var(--accent-color), transparent 95%) 0%, color-mix(in srgb, var(--accent-color), transparent 98%) 100%);
        border-radius: 20px;
        padding: 40px;
        display: flex;
        align-items: center;
        gap: 30px;
    }

@media (max-width: 576px) {
    .terms-of-service .tos-contact .contact-box {
        flex-direction: column;
        text-align: center;
    }
}

.terms-of-service .tos-contact .contact-box .contact-icon {
    width: 60px;
    height: 60px;
    background-color: var(--accent-color);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .terms-of-service .tos-contact .contact-box .contact-icon i {
        font-size: 1.8rem;
        color: var(--contrast-color);
    }

.terms-of-service .tos-contact .contact-box .contact-content {
    flex: 1;
}

    .terms-of-service .tos-contact .contact-box .contact-content h4 {
        font-size: 1.4rem;
        margin-bottom: 8px;
    }

    .terms-of-service .tos-contact .contact-box .contact-content p {
        color: color-mix(in srgb, var(--default-color), transparent 30%);
        margin-bottom: 15px;
    }

    .terms-of-service .tos-contact .contact-box .contact-content .contact-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        padding: 12px 25px;
        background-color: var(--accent-color);
        color: var(--contrast-color);
        border-radius: 30px;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s;
    }

        .terms-of-service .tos-contact .contact-box .contact-content .contact-link:hover {
            transform: translateY(-2px);
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        }

@media print {
    .terms-of-service .tos-contact {
        display: none;
    }

    .terms-of-service .content-section {
        page-break-inside: avoid;
    }
}

/*--------------------------------------------------------------
# Privacy Section
--------------------------------------------------------------*/
.privacy {
    font-size: 1rem;
    line-height: 1.7;
}

    .privacy .privacy-header {
        margin-bottom: 60px;
        text-align: center;
        border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
        padding-bottom: 40px;
    }

        .privacy .privacy-header .header-content {
            max-width: 800px;
            margin: 0 auto;
        }

            .privacy .privacy-header .header-content .last-updated {
                font-size: 0.95rem;
                color: color-mix(in srgb, var(--default-color), transparent 40%);
                margin-bottom: 20px;
            }

            .privacy .privacy-header .header-content h1 {
                font-size: 2.8rem;
                color: var(--heading-color);
                margin-bottom: 20px;
                font-weight: 600;
            }

            .privacy .privacy-header .header-content .intro-text {
                font-size: 1.2rem;
                color: color-mix(in srgb, var(--default-color), transparent 20%);
                line-height: 1.6;
            }

    .privacy .privacy-content {
        max-width: 800px;
        margin: 0 auto 60px;
    }

        .privacy .privacy-content .content-section {
            margin-bottom: 50px;
        }

            .privacy .privacy-content .content-section:last-child {
                margin-bottom: 0;
            }

            .privacy .privacy-content .content-section h2 {
                font-size: 1.8rem;
                color: var(--heading-color);
                margin-bottom: 25px;
                font-weight: 600;
            }

            .privacy .privacy-content .content-section h3 {
                font-size: 1.4rem;
                color: var(--heading-color);
                margin: 30px 0 20px;
                font-weight: 500;
            }

            .privacy .privacy-content .content-section p {
                margin-bottom: 20px;
            }

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

            .privacy .privacy-content .content-section ul {
                list-style: none;
                padding: 0;
                margin: 0 0 20px;
            }

                .privacy .privacy-content .content-section ul li {
                    position: relative;
                    padding-left: 25px;
                    margin-bottom: 12px;
                }

                    .privacy .privacy-content .content-section ul li:last-child {
                        margin-bottom: 0;
                    }

                    .privacy .privacy-content .content-section ul li::before {
                        content: "•";
                        position: absolute;
                        left: 8px;
                        color: var(--accent-color);
                    }

    .privacy .privacy-contact {
        max-width: 800px;
        margin: 0 auto;
        padding-top: 40px;
        border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    }

        .privacy .privacy-contact h2 {
            font-size: 1.8rem;
            color: var(--heading-color);
            margin-bottom: 20px;
            font-weight: 600;
        }

        .privacy .privacy-contact p {
            margin-bottom: 20px;
        }

        .privacy .privacy-contact .contact-details {
            background-color: var(--surface-color);
            padding: 25px;
            border-radius: 10px;
        }

            .privacy .privacy-contact .contact-details p {
                margin-bottom: 10px;
            }

                .privacy .privacy-contact .contact-details p:last-child {
                    margin-bottom: 0;
                }

                .privacy .privacy-contact .contact-details p strong {
                    color: var(--heading-color);
                    font-weight: 600;
                }

@media print {
    .privacy {
        font-size: 12pt;
        line-height: 1.5;
    }

        .privacy .privacy-header {
            text-align: left;
            border-bottom: 1pt solid #000;
            padding-bottom: 20pt;
            margin-bottom: 30pt;
        }

        .privacy h1 {
            font-size: 24pt;
        }

        .privacy h2 {
            font-size: 18pt;
            page-break-after: avoid;
        }

        .privacy h3 {
            font-size: 14pt;
            page-break-after: avoid;
        }

        .privacy p,
        .privacy ul {
            page-break-inside: avoid;
        }

        .privacy .contact-details {
            border: 1pt solid #000;
            padding: 15pt;
        }
}

@media (max-width: 767px) {
    .privacy .privacy-header {
        margin-bottom: 40px;
        padding-bottom: 30px;
    }

        .privacy .privacy-header .header-content h1 {
            font-size: 2.2rem;
        }

        .privacy .privacy-header .header-content .intro-text {
            font-size: 1.1rem;
        }

    .privacy .privacy-content .content-section {
        margin-bottom: 40px;
    }

        .privacy .privacy-content .content-section h2 {
            font-size: 1.6rem;
        }

        .privacy .privacy-content .content-section h3 {
            font-size: 1.3rem;
        }
}

/*--------------------------------------------------------------
# Error 404 Section
--------------------------------------------------------------*/
.error-404 {
    padding: 120px 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--surface-color) 0%, color-mix(in srgb, var(--accent-color), transparent 97%) 100%);
}

    .error-404 .error-number {
        font-size: clamp(120px, 20vw, 280px);
        font-weight: 300;
        color: color-mix(in srgb, var(--heading-color), transparent 15%);
        line-height: 0.8;
        margin-bottom: 40px;
        font-family: var(--heading-font);
        letter-spacing: -0.02em;
    }

    .error-404 .error-title {
        font-size: clamp(32px, 5vw, 48px);
        font-weight: 300;
        color: var(--heading-color);
        margin-bottom: 32px;
        letter-spacing: -0.01em;
    }

    .error-404 .error-description {
        font-size: 18px;
        line-height: 1.7;
        color: color-mix(in srgb, var(--default-color), transparent 20%);
        margin-bottom: 48px;
        max-width: 600px;
        margin-left: auto;
        margin-right: auto;
    }

    .error-404 .error-actions {
        display: flex;
        flex-direction: column;
        gap: 16px;
        align-items: center;
        margin-bottom: 80px;
    }

@media (min-width: 576px) {
    .error-404 .error-actions {
        flex-direction: row;
        justify-content: center;
        gap: 24px;
    }
}

.error-404 .error-actions .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background-color: var(--accent-color);
    color: var(--contrast-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--accent-color);
}

    .error-404 .error-actions .btn-primary:hover {
        background-color: transparent;
        color: var(--accent-color);
        transform: translateY(-2px);
    }

    .error-404 .error-actions .btn-primary i {
        font-size: 18px;
    }

.error-404 .error-actions .btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background-color: transparent;
    color: var(--heading-color);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 400;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid color-mix(in srgb, var(--default-color), transparent 80%);
}

    .error-404 .error-actions .btn-secondary:hover {
        border-color: var(--accent-color);
        color: var(--accent-color);
        transform: translateY(-2px);
    }

    .error-404 .error-actions .btn-secondary i {
        font-size: 18px;
    }

.error-404 .helpful-links {
    text-align: center;
}

    .error-404 .helpful-links h3 {
        font-size: 24px;
        font-weight: 300;
        color: var(--heading-color);
        margin-bottom: 40px;
    }

    .error-404 .helpful-links .links-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 20px;
        max-width: 800px;
        margin: 0 auto;
    }

@media (min-width: 768px) {
    .error-404 .helpful-links .links-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.error-404 .helpful-links .link-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: 32px 20px;
    background-color: var(--surface-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--default-color);
    transition: all 0.3s ease;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
}

    .error-404 .helpful-links .link-item:hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 30px color-mix(in srgb, var(--default-color), transparent 90%);
        color: var(--accent-color);
        border-color: color-mix(in srgb, var(--accent-color), transparent 70%);
    }

    .error-404 .helpful-links .link-item i {
        font-size: 24px;
        color: var(--accent-color);
        transition: all 0.3s ease;
    }

    .error-404 .helpful-links .link-item span {
        font-size: 16px;
        font-weight: 400;
    }

    .error-404 .helpful-links .link-item:hover i {
        transform: scale(1.1);
    }

@media (max-width: 768px) {
    .error-404 {
        padding: 80px 0;
    }

        .error-404 .error-actions {
            margin-bottom: 60px;
        }

        .error-404 .helpful-links .links-grid {
            grid-template-columns: repeat(2, 1fr);
        }
}

@media (max-width: 576px) {
    .error-404 .helpful-links .links-grid {
        grid-template-columns: 1fr;
    }
}

/*--------------------------------------------------------------
# Starter Section Section
--------------------------------------------------------------*/
.starter-section {
    padding-top: 60px;
    padding-bottom: 60px;
    /* Add your styles here */
}

/*--------------------------------------------------------------
# Pods block grid
--------------------------------------------------------------*/
.pods-block {
    width: 100%;
    --pods-card-lift: -6px;
    --pods-card-ease: cubic-bezier(0.25, 0.1, 0.25, 1);
    --pods-card-duration: 0.6s;
    --pods-card-image-duration: 0.75s;
    --pods-card-image-scale: 1.03;
    --image-card-radius: 24px;
    --pods-grid-gap: 1rem;
}

.pods-block .gallery__section--intro {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.pods-block .gallery__section--outro {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 1rem;
    margin-bottom: 0;
}

.pods-block .gallery__heading-group {
    flex: 1 1 auto;
    min-width: 0;
}

.pods-block .gallery__heading {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

.pods-block .gallery__secondary-heading {
    margin: 0.25rem 0 0;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 600;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.pods-block .gallery__buttons {
    flex-shrink: 0;
    margin-left: auto; /* always pushes button to the right, no matter alignment */
}


/* respect whatever alignment class is applied to .gallery__section */
.pods-block .gallery__section.text-start .gallery__heading-group {
    text-align: left;
}

.pods-block .gallery__section.text-center .gallery__heading-group {
    text-align: center;
}

.pods-block .gallery__section.text-end .gallery__heading-group {
    text-align: right;
}

.pods-block .gallery__text {
    margin-bottom: 0.75rem;
    max-width: 720px;
}

.pods-block .gallery__text p:last-child {
    margin-bottom: 0;
}

.gallery-block {
    width: 100%;
}

.gallery-block .gallery__section--intro {
    margin-bottom: 1rem;
}

.gallery-block .gallery__section--outro {
    margin-top: 1rem;
    margin-bottom: 0;
}

.gallery-block .gallery__heading {
    margin: 0 0 0.5rem;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--heading-color);
}

.gallery-block .gallery__secondary-heading {
    margin: 0 0 0.5rem;
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    font-weight: 600;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
}

.gallery-block .gallery__text {
    margin-bottom: 0.75rem;
    max-width: 720px;
}

.gallery-block .gallery__text p:last-child {
    margin-bottom: 0;
}

.pods__grid {
    display: grid;
    grid-template-columns: repeat(var(--pods-columns, 3), minmax(0, 1fr));
    gap: var(--pods-grid-gap, 1rem);
    margin-bottom: 0;
}

.pods__grid--no-gap {
    gap: 0;
}

.pods__grid > .doctor-card,
.pods__grid > .image-card,
.pods__grid > .pods__item,
.pods__grid > .pod-blog-item {
    min-width: 0;
}

.pods__grid > .doctor-card {
    width: 100%;
    max-width: none;
    margin: 0;
}

.pods__item {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface-color);
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px color-mix(in srgb, var(--default-color), transparent 93%);
    transition:
        transform var(--pods-card-duration) var(--pods-card-ease),
        box-shadow var(--pods-card-duration) var(--pods-card-ease);
}

.pods__item:hover {
    transform: translateY(var(--pods-card-lift));
    box-shadow: 0 14px 28px color-mix(in srgb, var(--default-color), transparent 91%);
}

.pods__image-wrap {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: color-mix(in srgb, var(--default-color), transparent 94%);
}

.pods__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform var(--pods-card-image-duration) var(--pods-card-ease);
}

.pods__item:hover .pods__image {
    transform: scale(var(--pods-card-image-scale));
}

.pods__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.25rem;
}

.pods__heading {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
}

.pods__text {
    flex: 1;
    margin-bottom: 1rem;
    color: color-mix(in srgb, var(--default-color), transparent 35%);
    line-height: 1.6;
}

.pods__link {
    align-self: flex-start;
    margin-top: auto;
}

@media (max-width: 768px) {
    .pods__grid {
        grid-template-columns: repeat(min(var(--pods-columns, 3), 2), minmax(0, 1fr));
    }
}

@media (max-width: 575px) {
    .pods__grid {
        grid-template-columns: 1fr;
    }
}

/*--------------------------------------------------------------
# Image Card / Profile Card (Pods items)
--------------------------------------------------------------*/
.pods-block .doctor-card {
    background: var(--surface-color);
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    height: 100%;
    box-shadow: 0 2px 10px color-mix(in srgb, var(--default-color), transparent 93%);
    transition:
        transform var(--pods-card-duration) var(--pods-card-ease),
        box-shadow var(--pods-card-duration) var(--pods-card-ease);
}

.pods-block .doctor-card:hover {
    transform: translateY(var(--pods-card-lift));
    box-shadow: 0 14px 28px color-mix(in srgb, var(--default-color), transparent 91%);
}

.pods-block .doctor-card:hover .doctor-overlay {
    opacity: 1;
}

.pods-block .doctor-image {
    position: relative;
    margin: 0 auto 25px;
    overflow: hidden;
    width: var(--doctor-image-max-width, 150px);
    max-width: 100%;
}

.pods-block .doctor-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: var(--doctor-image-opacity, 1);
    transition: opacity 0.25s ease;
}

.pods-block .doctor-card:hover .doctor-image img {
    opacity: var(--doctor-image-opacity-hover, 1);
}

.pods-block .doctor-image--circle {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}

.pods-block .doctor-image--circle img {
    border-radius: 50%;
}

.pods-block .doctor-image--circle .doctor-overlay {
    border-radius: 50%;
}

.pods-block .doctor-image--square {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
}

.pods-block .doctor-image--square .doctor-overlay {
    border-radius: 12px;
}

.pods-block .doctor-image--original {
    width: 100%;
    max-width: var(--doctor-image-max-width, 100%);
}

.pods-block .doctor-image--original img {
    height: auto;
    object-fit: contain;
}

.pods-block .doctor-image--landscape {
    aspect-ratio: 3 / 2;
    border-radius: 12px;
}

.pods-block .doctor-image--portrait,
.pods-block .doctor-image--3x4 {
    aspect-ratio: 3 / 4;
    border-radius: 12px;
}

.pods-block .doctor-image--wide {
    aspect-ratio: 2 / 1;
    border-radius: 12px;
}

.pods-block .doctor-image--tall {
    aspect-ratio: 1 / 2;
    border-radius: 12px;
}

.pods-block .doctor-image--16x9 {
    aspect-ratio: 16 / 9;
    border-radius: 12px;
}

.pods-block .doctor-image--4x3 {
    aspect-ratio: 4 / 3;
    border-radius: 12px;
}

.pods-block .doctor-image--padded {
    padding: 1rem;
    box-sizing: border-box;
    background: var(--surface-color);
}

.pods-block .doctor-overlay {
    position: absolute;
    inset: 0;
    background: color-mix(in srgb, var(--accent-color), transparent 20%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.pods-block .doctor-overlay .social-links {
    display: flex;
    gap: 10px;
}

.pods-block .doctor-overlay .social-links a {
    width: 35px;
    height: 35px;
    background: var(--contrast-color);
    color: var(--accent-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.pods-block .doctor-overlay .social-links a:hover {
    background: var(--accent-color);
    color: var(--contrast-color);
}

.pods-block .doctor-overlay .social-links a i {
    font-size: 16px;
}

.pods-block .doctor-content h1,
.pods-block .doctor-content h2,
.pods-block .doctor-content h3,
.pods-block .doctor-content h4,
.pods-block .doctor-content h5,
.pods-block .doctor-content h6,
.pods-block .doctor-content .doctor-content__heading {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--default-color);
}

.pods-block .doctor-content .specialty {
    color: var(--accent-color);
    font-weight: 600;
    font-size: 16px;
    margin-bottom: 15px;
    display: block;
}

.pods-block .doctor-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.pods-block .doctor-meta {
    margin-bottom: 20px;
}

.pods-block .doctor-meta .experience,
.pods-block .doctor-meta .department {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    margin-bottom: 8px;
}

.pods-block .doctor-meta .experience i,
.pods-block .doctor-meta .department i {
    color: var(--accent-color);
    font-size: 14px;
}

.pods-block .doctor-meta .department {
    margin-bottom: 0;
}

.pods-block .doctor-card--clickable {
    position: relative;
    cursor: pointer;
}

.pods-block .doctor-card--clickable .btn-appointment {
    pointer-events: none;
}

.pods-block .doctor-card--clickable:hover .btn-appointment {
    background: var(--accent-color-purple, #843895);
    color: #ffffff;
    transform: translateY(-2px);
}

.pods-block .doctor-card--clickable .doctor-overlay .social-links a {
    position: relative;
    z-index: 5;
}

.pods-block .btn-appointment {
    background: var(--accent-color);
    color: var(--contrast-color);
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s ease;
    display: inline-block;
}

.pods-block .btn-appointment:hover {
    background: color-mix(in srgb, var(--accent-color) 90%, black 15%);
    color: var(--contrast-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .pods-block .doctor-card {
        padding: 20px;
    }

    .pods-block .doctor-image {
        width: min(var(--doctor-image-max-width, 120px), 100%);
    }

.pods-block .doctor-content h1,
.pods-block .doctor-content h2,
.pods-block .doctor-content h3,
.pods-block .doctor-content h4,
.pods-block .doctor-content h5,
.pods-block .doctor-content h6,
.pods-block .doctor-content .doctor-content__heading {
        font-size: 20px;
    }

    .pods-block .doctor-content .specialty {
        font-size: 14px;
    }

    .pods-block .doctor-content p {
        font-size: 13px;
    }

    .pods-block .btn-appointment {
        padding: 10px 25px;
        font-size: 13px;
    }
}

/* Flexible image card layout */
.pods__grid .image-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: var(--surface-color);
    border-radius: var(--image-card-radius, 24px);
    overflow: hidden;
    border: none;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
    transition:
        transform var(--pods-card-duration) var(--pods-card-ease),
        box-shadow var(--pods-card-duration) var(--pods-card-ease);
}

.pods__grid .pod-blog-item.image-card--above:not(:has(.image-card__media)) .image-card__body {
    padding-top: 1.5rem;
}

.pods-carousel .pod-blog-item.image-card {
    height: 100%;
}

/* Pod blog card — image on top, text below (override --above reverse in carousel) */
.pod-blog-item.image-card--above {
    flex-direction: column;
}

.pods-carousel .pod-blog-item.image-card {
    display: flex;
    width: 100%;
    min-width: 0;
    background: var(--surface-color);
    border-radius: var(--image-card-radius, 24px);
    overflow: hidden;
    border: none;
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
    transition:
        transform var(--pods-card-duration) var(--pods-card-ease),
        box-shadow var(--pods-card-duration) var(--pods-card-ease);
}

.pods-carousel .pod-blog-item.image-card:hover {
    transform: translateY(var(--pods-card-lift));
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.pods-carousel .pod-blog-item .image-card__media {
    overflow: hidden;
    flex-shrink: 0;
}

.pods-carousel .pod-blog-item .image-card__body {
    min-width: 0;
    flex: 1 1 auto;
}

.pods-carousel .pod-blog-item .image-card__image {
    transition:
        transform var(--pods-card-image-duration) var(--pods-card-ease),
        opacity 0.4s ease;
}

.pods-carousel .pod-blog-item:hover .image-card__image {
    transform: scale(var(--pods-card-image-scale));
}

/* Pod blog inside hero carousel (mixed with pods-news-card) — match hero height/layout */
.pods-carousel--mixed .pod-blog-item.image-card,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item.image-card {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
    min-height: var(--pods-news-card-min-height, 430px);
    max-height: var(--pods-news-card-min-height, 430px);
    height: var(--pods-news-card-min-height, 430px);
    border-radius: var(--pods-news-card-radius, 20px);
    box-shadow: none;
    background: #000;
}

.pods-carousel--mixed .pod-blog-item.image-card:hover,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item.image-card:hover {
    transform: none;
    box-shadow: none;
}

.pods-carousel--mixed .pod-blog-item .image-card__media,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .image-card__media {
    order: 2;
    flex: var(--pods-news-hero-ratio, 75) 1 0;
    min-width: 0;
    width: auto;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    aspect-ratio: unset;
    background: transparent;
}

.pods-carousel--mixed .pod-blog-item .image-card__media--16x9,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .image-card__media--16x9 {
    aspect-ratio: unset;
}

.pods-carousel--mixed .pod-blog-item .image-card__image,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .image-card__image {
    height: 100%;
    min-height: 100%;
    object-fit: cover;
}

.pods-carousel--mixed .pod-blog-item .image-card__body,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .image-card__body {
    order: 1;
    position: relative;
    flex: var(--pods-news-panel-ratio, 35) 1 0;
    min-width: 0;
    width: auto;
    justify-content: center;
    gap: 0;
    padding: 0;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: transparent;
}

.pod-blog-item__panel-bg {
    display: none;
}

.pods-carousel--mixed .pod-blog-item .pod-blog-item__panel-bg,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .pod-blog-item__panel-bg {
    display: block;
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.pod-blog-item__panel-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.08);
    transform-origin: center center;
}

.pods-carousel--mixed .pod-blog-item .pod-blog-item__panel-image,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .pod-blog-item__panel-image {
    width: 120%;
    max-width: none;
    margin-left: -10%;
}

.pod-blog-item__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.52);
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
}

.pods-carousel--mixed .pod-blog-item .pod-blog-item__inner,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .pod-blog-item__inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.65rem;
    height: 100%;
    padding: 2rem 1.75rem 2rem 2rem;
}

.pods-carousel--mixed .pod-blog-item .pod-blog-item__meta,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .pod-blog-item__meta {
    color: rgba(255, 255, 255, 0.78);
}

.pods-carousel--mixed .pod-blog-item .pod-blog-item__category,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .pod-blog-item__category {
    background: rgba(255, 255, 255, 0.16);
    color: #fff;
}

.pods-carousel--mixed .pod-blog-item .pod-blog-item__heading,
.pods-carousel--mixed .pod-blog-item .image-card__heading,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .pod-blog-item__heading,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .image-card__heading {
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.35;
    color: #fff;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pods-carousel--mixed .pod-blog-item .pod-blog-item__excerpt,
.pods-carousel--mixed .pod-blog-item .image-card__text,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .pod-blog-item__excerpt,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .image-card__text {
    color: rgba(255, 255, 255, 0.82);
    -webkit-line-clamp: 2;
    line-clamp: 2;
}

.pods-carousel--mixed .pod-blog-item.image-card--clickable:hover .pod-blog-item__heading,
.pods-carousel--mixed .pod-blog-item.image-card--clickable:hover .image-card__heading,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item.image-card--clickable:hover .pod-blog-item__heading,
.pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item.image-card--clickable:hover .image-card__heading {
    color: #fff;
}

@media (max-width: 991px) {
    .pods-carousel--mixed .pod-blog-item.image-card,
    .pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item.image-card {
        flex-direction: column;
        min-height: var(--pods-news-card-min-height, 360px);
        max-height: none;
        height: auto;
    }

    .pods-carousel--mixed .pod-blog-item .image-card__media,
    .pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .image-card__media {
        order: -1;
        flex: none;
        width: 100%;
        max-width: none;
        aspect-ratio: 16 / 9;
    }

    .pods-carousel--mixed .pod-blog-item .image-card__body,
    .pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .image-card__body {
        min-height: 280px;
    }

    .pods-carousel--mixed .pod-blog-item .pod-blog-item__inner,
    .pods-block--carousel .pods-carousel:not(.pods-carousel--blog) .pod-blog-item .pod-blog-item__inner {
        padding: 1.5rem 1.35rem;
    }
}

/* Blog-only carousel — compact cards, multiple per row */
.pods-carousel--blog .pods-carousel__track.swiper {
    border-radius: 0;
    box-shadow: none;
    overflow: visible;
}

.pods-carousel--blog .pod-blog-item.image-card {
    height: auto;
}

.pods-carousel--blog .pod-blog-item .image-card__media {
    max-height: 180px;
    aspect-ratio: 16 / 9;
}

.pods-carousel--blog .pod-blog-item .image-card__media .image-card__image {
    height: 100%;
    object-fit: cover;
}

@media (max-width: 575px) {
    .pods-carousel--blog .pod-blog-item .image-card__media {
        max-height: 160px;
    }
}

.pod-blog-item__meta .blog-card__date::before {
    content: "\f214";
    font-family: "bootstrap-icons";
    font-size: 0.85rem;
    color: inherit;
}

.pod-blog-item .image-card__body {
    gap: 0.35rem;
    padding: 0.875rem 1.125rem 1.125rem;
    min-width: 0;
}

.pod-blog-item__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.35rem 0.875rem;
    margin-bottom: 0.1rem;
    font-size: 0.8125rem;
    line-height: 1.4;
    color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.pod-blog-item__meta .blog-card__date,
.pod-blog-item__meta .blog-card__views {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    color: inherit;
}

.pod-blog-item__meta .blog-card__views .bi {
    font-size: 0.9em;
    opacity: 0.85;
}

.pod-blog-item__category {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    width: fit-content;
    max-width: 100%;
    min-height: 26px;
    margin: 0;
    padding: 2px 12px;
    border-radius: 8px;
    background: color-mix(in srgb, var(--accent-color-purple, #843895), transparent 90%);
    color: color-mix(in srgb, var(--accent-color-purple, #843895), black 15%);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    line-height: 1.4;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pod-blog-item__inner {
    position: relative;
    z-index: 2;
    min-width: 0;
}

.pod-blog-item .pod-blog-item__heading,
.pod-blog-item .image-card__heading {
    margin: 0.1rem 0 0;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.45;
    color: var(--default-color);
    min-width: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.pod-blog-item .pod-blog-item__excerpt,
.pod-blog-item .image-card__text {
    margin: 0.2rem 0 0;
    font-family: var(--default-font) !important;
    font-size: 0.8125rem;
    line-height: 1.55;
    color: color-mix(in srgb, var(--default-color), transparent 30%);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.pod-blog-item.image-card--clickable:hover .pod-blog-item__heading,
.pod-blog-item.image-card--clickable:hover .image-card__heading {
    color: var(--accent-color-purple, #843895);
}

.pods__grid .image-card--clickable:hover .image-card__button {
    background-color: var(--accent-color-purple, #843895);
    border-color: var(--accent-color-purple, #843895);
    color: #ffffff;
}

.pods__grid .image-card:hover {
    transform: translateY(var(--pods-card-lift));
    box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
}

.pods__grid .image-card .image-card__media {
    overflow: hidden;
}

.image-card__media {
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: var(--image-card-max-width, 100%);
    margin-inline: auto;
    background: color-mix(in srgb, var(--default-color), transparent 94%);
}

.image-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: var(--image-card-opacity, 1);
    transition: opacity 0.25s ease;
}

.image-card:hover .image-card__image {
    opacity: var(--image-card-opacity-hover, 1);
}

.pods__grid .image-card .image-card__image {
    transition:
        transform var(--pods-card-image-duration) var(--pods-card-ease),
        opacity 0.4s ease;
}

.pods__grid .image-card:hover .image-card__image {
    transform: scale(var(--pods-card-image-scale));
}

.image-card__media--original .image-card__image {
    object-fit: contain;
    height: auto;
}

/* Pods grid: "original" images need a fixed ratio or tall portraits stretch the row */
.pods__grid .image-card__media--original {
    aspect-ratio: 4 / 3;
}

.pods__grid .image-card__media--original .image-card__image {
    object-fit: cover;
    height: 100%;
}

.image-card__media--square {
    aspect-ratio: 1 / 1;
}

.image-card__media--circle {
    aspect-ratio: 1 / 1;
    border-radius: 50%;
}

.image-card__media--landscape {
    aspect-ratio: 3 / 2;
}

.image-card__media--portrait {
    aspect-ratio: 2 / 3;
}

.image-card__media--wide {
    aspect-ratio: 2 / 1;
}

.image-card__media--tall {
    aspect-ratio: 1 / 2;
}

.image-card__media--16x9 {
    aspect-ratio: 16 / 9;
}

.image-card__media--4x3 {
    aspect-ratio: 4 / 3;
}

.image-card__media--3x4 {
    aspect-ratio: 3 / 4;
}

.image-card__media--padded {
    padding: 1rem;
    box-sizing: border-box;
    background: var(--surface-color);
}

.image-card__body {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 1.35rem 1.5rem 1.5rem;
    flex: 1 1 auto;
    background: var(--surface-color);
}

.image-card__eyebrow {
    margin: 0;
    font-size: 0.8125rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent-color);
}

.image-card__heading,
.image-card h1.image-card__heading,
.image-card h2.image-card__heading,
.image-card h3.image-card__heading,
.image-card h4.image-card__heading,
.image-card h5.image-card__heading,
.image-card h6.image-card__heading,
.image-card__body > h1:not(.image-card__eyebrow),
.image-card__body > h2:not(.image-card__eyebrow),
.image-card__body > h3:not(.image-card__eyebrow),
.image-card__body > h4:not(.image-card__eyebrow),
.image-card__body > h5:not(.image-card__eyebrow),
.image-card__body > h6:not(.image-card__eyebrow) {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--default-color);
}

.image-card__text {
    margin: 0;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    line-height: 1.6;
}

.image-card__meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    font-size: 0.8125rem;
    color: var(--default-color);}

.image-card__meta div {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.image-card__meta i {
    color: var(--accent-color);
}

.image-card__button {
    align-self: flex-start;
    margin-top: auto;
}

.image-card--clickable {
    position: relative;
    cursor: pointer;
}

.image-card__stretch-link {
    position: absolute;
    inset: 0;
    z-index: 4;
    border-radius: inherit;
}

.image-card__stretch-link:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--accent-color-purple, #843895), transparent 45%);
    outline-offset: 3px;
}

.image-card--clickable .image-card__button {
    pointer-events: none;
}

.image-card__badge {
    position: absolute;
    left: 1rem;
    bottom: -1.35rem;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: var(--surface-color);
    border: 3px solid var(--surface-color);
    box-shadow: 0 2px 8px color-mix(in srgb, var(--default-color), transparent 92%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--accent-color-purple);
    z-index: 2;
}

.image-card__badge .bi {
    font-size: 1.25rem;
    line-height: 1;
}

.image-card__badge--carousel {
    left: 1rem;
    bottom: 1rem;
    z-index: 5;
}

.pods-news-card--with-icon .image-card__badge--carousel {
    z-index: 5;
    left: auto;
    right: 1rem;
    bottom: 1rem;
}

.image-card--overlay .image-card__badge--overlay {
    left: 1rem;
    bottom: 1rem;
    z-index: 3;
}

/* Overlay cards: keep clip + no lift hover (prevents shadow/image doubling) */
.pods__grid .image-card.image-card--overlay.image-card--with-icon,
.pods__grid .image-card.image-card--overlay {
    overflow: hidden;
}

.pods__grid .image-card--overlay:hover {
    transform: translateY(var(--pods-card-lift));
    box-shadow: 0 14px 28px color-mix(in srgb, var(--default-color), transparent 91%);
}

.image-card__badge--below {
    position: relative;
    bottom: auto;
    left: auto;
    flex: 0 0 auto;
    margin: -1.35rem 0 0 1rem;
    z-index: 3;
}

.image-card--overlay.image-card--with-icon .image-card__body {
    padding-top: 1.75rem;
}

.pods__grid .image-card.image-card--with-icon:not(.image-card--overlay) .image-card__media {
    overflow: hidden;
    border-radius: var(--image-card-radius, 24px) var(--image-card-radius, 24px) 0 0;
}

.image-card--with-icon:not(.image-card--overlay) .image-card__body {
    padding-top: 0.75rem;
}

/* .image-card--with-icon .image-card__eyebrow {
    color: var(--accent-color-purple);
} */

.pods-block .doctor-card--with-icon .doctor-image {
    overflow: visible;
}

.pods-block .doctor-card--with-icon .doctor-content {
    padding-top: 1.25rem;
}

.image-card.text-center .image-card__button {
    align-self: center;
}

.image-card.text-end .image-card__button {
    align-self: flex-end;
}

/* Text position: below (default) */
.image-card--below {
    flex-direction: column;
}

/* Text position: above */
.image-card--above {
    flex-direction: column-reverse;
}

/* Text position: overlay — full-bleed image + bottom fade/blur */
.image-card--overlay {
    position: relative;
    display: block;
    min-height: 360px;
    border-radius: 20px;
    overflow: hidden;
    isolation: isolate;
}

.image-card--overlay .image-card__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    max-width: none;
    height: 100%;
    margin: 0;
    overflow: hidden;
    border-radius: inherit;
    transform: translateZ(0);
}

.image-card--overlay .image-card__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.06);
    transform-origin: center center;
    backface-visibility: hidden;
    transition:
        transform var(--pods-card-image-duration) var(--pods-card-ease),
        opacity 0.4s ease;
}

.pods__grid .image-card--overlay:hover .image-card__image {
    transform: scale(1.1);
}

.image-card--overlay .image-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.75rem;
    min-height: 360px;
    height: 100%;
    padding: 1.75rem 1.5rem;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.82) 0%,
        rgba(0, 0, 0, 0.58) 42%,
        rgba(0, 0, 0, 0.22) 72%,
        transparent 100%
    );
    color: #fff;
}

.image-card--overlay .image-card__body::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: 38%;
    z-index: -1;
    pointer-events: none;
    backdrop-filter: blur(8px) saturate(105%);
    -webkit-backdrop-filter: blur(8px) saturate(105%);
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.68) 0%,
        rgba(0, 0, 0, 0.38) 55%,
        rgba(0, 0, 0, 0.06) 88%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(to top, #000 0%, #000 55%, transparent 100%);
    mask-image: linear-gradient(to top, #000 0%, #000 55%, transparent 100%);
}

.image-card--overlay .image-card__eyebrow,
.image-card--overlay h1.image-card__eyebrow,
.image-card--overlay h2.image-card__eyebrow,
.image-card--overlay h3.image-card__eyebrow,
.image-card--overlay h4.image-card__eyebrow,
.image-card--overlay h5.image-card__eyebrow,
.image-card--overlay h6.image-card__eyebrow {
    color: rgba(255, 255, 255, 0.88);
    text-transform: none;
    letter-spacing: 0.02em;
    font-size: 0.875rem;
    font-weight: 500;
    margin: 0;
}

.image-card--overlay .image-card__heading,
.image-card--overlay .image-card__text,
.image-card--overlay h1.image-card__heading,
.image-card--overlay h2.image-card__heading,
.image-card--overlay h3.image-card__heading,
.image-card--overlay h4.image-card__heading,
.image-card--overlay h5.image-card__heading,
.image-card--overlay h6.image-card__heading {
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.image-card--overlay .image-card__heading,
.image-card--overlay h1.image-card__heading,
.image-card--overlay h2.image-card__heading,
.image-card--overlay h3.image-card__heading,
.image-card--overlay h4.image-card__heading,
.image-card--overlay h5.image-card__heading,
.image-card--overlay h6.image-card__heading {
    font-size: clamp(1.15rem, 2vw, 1.45rem);
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
}

.image-card--overlay .image-card__text {
    color: rgba(255, 255, 255, 0.86);
    font-size: 0.875rem;
    line-height: 1.55;
}

.image-card--overlay .image-card__button {
    align-self: flex-start;
    margin-top: 0.35rem;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    box-shadow: none;
    flex-shrink: 0;
}

.image-card--overlay.text-center .image-card__button {
    align-self: center;
}

.image-card--overlay .image-card__button:hover,
.image-card--overlay.image-card--clickable:hover .image-card__button {
    background: var(--accent-color-purple);
    color: var(--surface-color);
    border-color: var(--contrast-color);
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.image-card--overlay .image-card__button::after {
    margin-left: 0.2rem;
    font-size: 1rem;
    line-height: 1;
}

.pods__grid .image-card--overlay {
    min-height: 0;
    aspect-ratio: 3 / 4;
    max-height: 520px;
    border: none;
}

.pods__grid .image-card--overlay .image-card__body {
    min-height: 100%;
}

/* Text position: left / right */
.image-card--left,
.image-card--right {
    flex-direction: row;
    align-items: stretch;
}

.image-card--right {
    flex-direction: row-reverse;
}

.image-card--left .image-card__media,
.image-card--right .image-card__media {
    flex: 0 0 42%;
    max-width: 42%;
}

.image-card--left .image-card__body,
.image-card--right .image-card__body {
    flex: 1 1 auto;
    justify-content: center;
}

@media (max-width: 767px) {
    .image-card--left,
    .image-card--right {
        flex-direction: column;
    }

    .image-card--left .image-card__media,
    .image-card--right .image-card__media {
        flex: none;
        max-width: 100%;
    }

    .image-card--overlay .image-card__body {
        min-height: 300px;
        padding: 1.35rem 1.15rem;
    }

    .pods__grid .image-card--overlay {
        max-height: none;
    }
}


/* Pods news carousel (Image Card items) — Chula-style split panel + hero image */
.pods-block--carousel {
    overflow: visible;
    --pods-news-card-min-height: 430px;
    --pods-news-card-radius: 20px;
    --pods-news-panel-ratio: 35;
    --pods-news-hero-ratio: 75;
}

.pods-carousel {
    position: relative;
    margin-top: 0;
}

.pods-carousel__viewport {
    position: relative;
}

.pods-carousel__track {
    overflow: visible;
}

.pods-carousel__track.swiper {
    overflow: hidden;
    border-radius: var(--pods-news-card-radius, 20px);
    box-shadow: 0 5px 16px rgba(15, 23, 42, 0.06);
}

.pods-carousel .swiper-slide {
    height: auto;
    display: flex;
    min-width: 0;
}

.pods-carousel .swiper-slide > .pods-news-card,
.pods-carousel .swiper-slide > .pods-overlay-card,
.pods-carousel .swiper-slide > .pod-blog-item {
    flex: 1 1 auto;
    width: 100%;
    min-width: 0;
}

.pods-news-card {
    position: relative;
    display: block;
    min-height: var(--pods-news-card-min-height, 430px);
    height: 100%;
    border: none;
    border-radius: var(--pods-news-card-radius, 20px);
    overflow: hidden;
    background: var(--surface-color);
    isolation: isolate;
    box-shadow: none;
    transition:
        transform var(--pods-card-duration) var(--pods-card-ease),
        box-shadow var(--pods-card-duration) var(--pods-card-ease);
}

.pods-news-card__layout {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    min-height: var(--pods-news-card-min-height, 430px);
    height: 100%;
}

.pods-news-card:hover {
    transform: translateY(var(--pods-card-lift));
    box-shadow: none;
}

.pods-carousel .pods-news-card:hover {
    transform: none;
}

.pods-news-card__panel {
    position: relative;
    flex: var(--pods-news-panel-ratio, 35) 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    color: #fff;
    background-color: #2b2b2b;
}

.pods-news-card__panel-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.pods-news-card__scrim {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: rgba(0, 0, 0, 0.58);
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
}

.pods-news-card__panel-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 1.5rem;
    flex: 1 1 auto;
    min-height: var(--pods-news-card-min-height, 430px);
    padding: 2rem 1.75rem 2rem 2rem;
}

.pods-news-card__hero {
    position: relative;
    flex: var(--pods-news-hero-ratio, 75) 1 0;
    min-width: 0;
    overflow: hidden;
    background: color-mix(in srgb, var(--default-color), transparent 90%);
}

.pods-news-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    backface-visibility: hidden;
}

.pods-news-card__image--panel {
    transform: scale(1.06);
    transform-origin: center center;
}

.pods-news-card__image--hero {
    min-height: var(--pods-news-card-min-height, 430px);
    transform: scale(1.02);
    transform-origin: center center;
    transition: transform var(--pods-card-image-duration) var(--pods-card-ease);
}

.pods-news-card:hover .pods-news-card__image--hero {
    transform: scale(1.06);
}

.pods-news-card__copy {
    position: relative;
    z-index: 1;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 0.35rem;
}

.pods-news-card__category {
    margin: 0 0 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: none;
    color: rgba(255, 255, 255, 0.92);
}

.pods-news-card__heading {
    margin: 0;
    font-size: clamp(1.35rem, 2.4vw, 1.85rem);
    line-height: 1.32;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.65);
}

.pods-news-card__text {
    margin: 0.5rem 0 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.88);
}

.pods-news-card__link {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    width: fit-content;
    padding: 0.55rem 1.25rem 0.55rem 1.3rem;
    border-radius: 999px;
    background: #fff;
    color: #1a1a1a;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition:
        transform var(--pods-card-duration) var(--pods-card-ease),
        box-shadow var(--pods-card-duration) var(--pods-card-ease);
}

.pods-news-card__link:hover {
    color: #1a1a1a;
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.pods-news-card__link i {
    font-size: 1.15rem;
    line-height: 1;
}

/* Pod Item in carousel: vertical overlay card (not horizontal news style) */
.pods-overlay-card {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    max-height: 520px;
    min-height: 280px;
    border-radius: 16px;
    overflow: hidden;
    background: #111;
    isolation: isolate;
    box-shadow: 0 2px 10px color-mix(in srgb, var(--default-color), transparent 93%);
    transition:
        transform var(--pods-card-duration) var(--pods-card-ease),
        box-shadow var(--pods-card-duration) var(--pods-card-ease);
}

.pods-overlay-card:hover {
    transform: translateY(var(--pods-card-lift));
    box-shadow: 0 14px 28px color-mix(in srgb, var(--default-color), transparent 91%);
}

.pods-overlay-card__media {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
}

.pods-overlay-card__image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transform: scale(1.02);
    transition: transform var(--pods-card-image-duration) var(--pods-card-ease);
}

.pods-overlay-card:hover .pods-overlay-card__image {
    transform: scale(calc(1.02 * var(--pods-card-image-scale)));
}

.pods-overlay-card__body {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.75rem;
    min-height: 100%;
    height: 100%;
    padding: 1.5rem 1.35rem;
    color: #fff;
    background: transparent;
}

.pods-overlay-card__body::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: auto;
    height: 38%;
    z-index: -1;
    pointer-events: none;
    backdrop-filter: blur(8px) saturate(105%);
    -webkit-backdrop-filter: blur(8px) saturate(105%);
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.68) 0%,
        rgba(0, 0, 0, 0.38) 55%,
        rgba(0, 0, 0, 0.06) 88%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(to top, #000 0%, #000 55%, transparent 100%);
    mask-image: linear-gradient(to top, #000 0%, #000 55%, transparent 100%);
}

.pods-overlay-card__heading {
    margin: 0;
    font-size: clamp(1.05rem, 1.6vw, 1.35rem);
    line-height: 1.35;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.22);
}

.pods-overlay-card__text {
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.86);
}

.pods-overlay-card__link {
    background-color: var(--surface-color);
    color: var(--accent-color-purple);
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    width: fit-content;
    margin-top: 0.25rem;
    padding: 0.5rem 1.1rem;
    border: 1px solid var(--accent-color-purple);
    border-color: var(--accent-color-purple);
    border-radius: 999px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    transition: transform var(--pods-card-duration) var(--pods-card-ease), box-shadow var(--pods-card-duration) var(--pods-card-ease);
}

.pods-overlay-card__link:hover {
    background-color: var(--accent-color-purple);
    color: var(--surface-color);
    border-color: var(--surface-color);
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.pods-overlay-card__link i {
    font-size: 1.15rem;
    line-height: 1;
}

.pods-carousel__controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 0.75rem;
    padding-inline: 0.15rem;
}

.pods-carousel__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    transition:
        color 0.25s ease,
        transform 0.25s ease,
        opacity 0.25s ease,
        box-shadow 0.25s ease,
        background-color 0.25s ease;
}

.pods-carousel__pagination {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: auto;
    min-height: 1.25rem;
}

.pods-carousel__pagination .swiper-pagination-bullet {
    width: 0.55rem;
    height: 0.55rem;
    margin: 0 !important;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent-color-purple, #843895), transparent 72%);
    opacity: 1;
    transition: width 0.25s ease, background-color 0.25s ease;
}

.pods-carousel__pagination .swiper-pagination-bullet-active {
    width: 1.5rem;
    background: var(--accent-color-purple, #843895);
}

.pods-carousel__arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 2.75rem;
    height: 2.75rem;
    padding: 0;
    border-radius: 50%;
    background: #fff;
    color: color-mix(in srgb, var(--heading-color), transparent 15%);
    font-size: 1.25rem;
    line-height: 1;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.14);
    transform: translateY(-50%);
}

.pods-carousel__arrow--prev {
    left: 1rem;
}

.pods-carousel__arrow--next {
    right: 1rem;
}

.pods-carousel__arrow:hover {
    color: var(--accent-color-purple);
    box-shadow: 0 6px 22px rgba(15, 23, 42, 0.18);
    transform: translateY(-50%) scale(1.06);
}

.pods-carousel__arrow:active {
    transform: translateY(-50%) scale(0.96);
}

.pods-carousel__arrow:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--accent-color-pink), transparent 40%);
    outline-offset: 3px;
}

.pods-carousel__pagination .swiper-pagination-bullet:focus-visible {
    outline: 2px solid color-mix(in srgb, var(--accent-color-purple, #843895), transparent 35%);
    outline-offset: 3px;
}

.pods-carousel__prev.swiper-button-disabled,
.pods-carousel__next.swiper-button-disabled {
    opacity: 0.35;
    pointer-events: none;
    transform: translateY(-50%);
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

@media (max-width: 991px) {
    .pods-block--carousel {
        --pods-news-card-min-height: 360px;
    }

    .pods-news-card__layout {
        flex-direction: column;
    }

    .pods-news-card__hero {
        order: -1;
        flex: none;
        aspect-ratio: 16 / 9;
    }

    .pods-news-card__image--hero {
        min-height: 0;
        height: 100%;
    }

    .pods-news-card__panel-inner {
        min-height: 280px;
        padding: 1.5rem 1.35rem 1.35rem;
    }

    .pods-news-card__scrim {
        background: rgba(0, 0, 0, 0.45);
        backdrop-filter: blur(20px) saturate(115%);
        -webkit-backdrop-filter: blur(20px) saturate(115%);
    }
}

@media (max-width: 767px) {
    .pods-block--carousel {
        --pods-news-card-min-height: 300px;
    }

    .pods-carousel__arrow {
        width: 2.35rem;
        height: 2.35rem;
        font-size: 1.1rem;
    }

    .pods-carousel__arrow--prev {
        left: 0.65rem;
    }

    .pods-carousel__arrow--next {
        right: 0.65rem;
    }

    .pods-news-card__panel-inner {
        padding: 1.25rem 1.15rem 1.15rem;
    }

    .pods-news-card__heading {
        font-size: 1.05rem;
    }

    .pods-news-card__text {
        font-size: 0.8125rem;
        margin-top: 0.65rem;
    }

    .pods-overlay-card {
        min-height: 250px;
        max-height: 420px;
    }

    .pods-overlay-card__body {
        padding: 1.15rem 1rem;
    }

    .pods-overlay-card__heading {
        font-size: 1rem;
    }
}

/*--------------------------------------------------------------
# Content Page Layout (FULL / LEFT / RIGHT)
--------------------------------------------------------------*/
.content-page {
    margin-top: var(--header-height, 80px);
    padding: 0.75rem 0 4rem;
    color: var(--default-color);
    background-color: var(--background-color);
}

.content-page--hero-stage {
    padding-top: 0;
}

.content-page--hero-stage .content-page__container {
    padding-top: 0.75rem;
}

.content-page__container {
    position: relative;
    z-index: 1;
}

.content-page__layout {
    display: grid;
    gap: 2rem;
    align-items: start;
    margin-top: 0.75rem;
}

.content-page--layout-full .content-page__layout {
    grid-template-columns: minmax(0, 1fr);
}

.content-page--layout-left .content-page__layout {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
}

.content-page--layout-right .content-page__layout {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
}

.content-page__nav {
    position: sticky;
    top: calc(var(--header-height, 80px) + 1rem);
    /* the column can hold the section nav and a category panel — keep them apart */
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.content-page__main {
    min-width: 0;
}

.content-page-hero__header {
    position: relative;
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.content-page-hero__header--has-image {
    min-height: 0;
    padding: 0;
    aspect-ratio: 21 / 9;
    max-height: 340px;
}

.content-page--layout-full .content-page-hero__header--has-image {
    max-height: 420px;
}

.content-page-hero__bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.content-page-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(255, 255, 255, 0.88) 0%,
        rgba(255, 255, 255, 0.35) 35%,
        transparent 70%
    );
}

.content-page--hide-headings .content-page-hero__overlay {
    display: none;
}

.content-page-hero__content {
    position: relative;
    z-index: 1;
    padding-top: 0.15rem;
    margin-bottom: 0.85rem;
}

.content-page-hero__header:not(.content-page-hero__header--has-image) .content-page-hero__content {
    padding: 0.25rem 0;
    margin-bottom: 0;
}

.content-page-hero__title {
    margin: 0 0 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1d1b20;
}

.content-page-hero__subtitle {
    margin: 0;
    max-width: 42rem;
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    line-height: 1.6;
    color: #374151;
}

.content-page--hide-headings .content-page-hero__header:not(.content-page-hero__header--has-image) {
    display: none;
}

.content-page--layout-full:not(.content-page--has-nav) .content-page-hero__content {
    max-width: 820px;
}

.content-page-hero__stage {
    width: 100%;
}

.content-page-hero__stage-inner {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    flex: 1;
    width: 100%;
    padding-top: 0.75rem;
    padding-bottom: 2rem;
}

.content-page-hero__header--stage {
    min-height: clamp(280px, 40vh, 420px);
    aspect-ratio: unset;
    max-height: none;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
}

.content-page--hero-nav .content-page-hero__header--stage {
    min-height: clamp(320px, 46vh, 480px);
}

.content-page--hero-stage .content-page-hero__overlay {
    background: linear-gradient(
        120deg,
        rgba(196, 181, 220, 0.72) 0%,
        rgba(225, 215, 240, 0.55) 45%,
        rgba(255, 255, 255, 0.18) 100%
    );
}

.content-page-hero__stage-grid {
    display: grid;
    gap: 1.25rem 2rem;
    align-items: start;
    flex: 1;
}

.content-page-hero__stage-grid--left {
    grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
}

.content-page-hero__stage-grid--right {
    grid-template-columns: minmax(0, 1fr) minmax(260px, 320px);
}

.content-page-hero__stage-grid--full {
    grid-template-columns: minmax(0, 1fr);
}

.content-page-hero__nav {
    position: relative;
    z-index: 3;
    align-self: start;
}

.content-page-hero__nav .section-nav {
    margin: 0;
}

.content-page--hero-stage .content-page-hero__content {
    position: relative;
    z-index: 2;
    margin-bottom: 0;
    padding-top: 0.35rem;
    align-self: center;
}

.content-page--hero-stage .content-page-hero__title {
    font-size: clamp(1.75rem, 3.2vw, 2.5rem);
}

.content-page--hero-stage.content-page--layout-full .content-page-hero__content {
    max-width: 820px;
}

.content-page__layout--body {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 0;
}

.section-breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: 0.875rem;
    color: #6b7280;
}

.section-breadcrumb__item + .section-breadcrumb__item::before {
    content: "›";
    margin: 0 0.5rem;
    color: #9ca3af;
}

.section-breadcrumb__item a {
    color: inherit;
    text-decoration: none;
}

.section-breadcrumb__item a:hover {
    color: var(--accent-color);
}

.section-breadcrumb__item--active {
    color: #111827;
    font-weight: 500;
}

.section-nav {
    padding: 1.5rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(18px) saturate(160%);
    -webkit-backdrop-filter: blur(18px) saturate(160%);
    box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
    backdrop-filter: blur(20px) saturate(160%);
    -webkit-backdrop-filter: blur(20px) saturate(160%);
}

.section-nav__title {
    margin: 0 0 1rem;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.3;
    color: #111827;
}

.section-nav__list,
.section-nav__related-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.section-nav__item + .section-nav__item {
    margin-top: 0.35rem;
}

.section-nav__link {
    padding: 0.7rem 1.1rem;
    border-radius: 999px;
    color: #111827;
    font-size: 0.98rem;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none;
    transition: background-color 0.2s ease, color 0.2s ease;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.section-nav__sublist {
    list-style: disc;
    margin: 0.35rem 0 0.65rem 0.65rem;
    padding: 0.15rem 0 0.15rem 1.1rem;
}

.section-nav__sublist .section-nav__sublist {
    list-style: circle;
    margin-left: 0.5rem;
}

.section-nav__item--nested .section-nav__link {
    padding: 0.55rem 1rem;
    font-size: 0.9rem;
    border-radius: 999px;
}

.section-nav__item--nested::marker {
    color: rgba(17, 24, 39, 0.4);
    font-size: 0.85em;
}

.section-nav__item--nested.section-nav__item--open::marker,
.section-nav__item--nested:has(.section-nav__link--active)::marker {
    color: rgba(17, 24, 39, 0.55);
}

.section-nav__item--open > .section-nav__link--ancestor {
    background: rgba(17, 24, 39, 0.08);
    color: #111827;
    font-weight: 600;
}

.section-nav__item--open > .section-nav__link--ancestor:hover {
    background: rgba(17, 24, 39, 0.11);
    color: #111827;
}

.section-nav__item--nested .section-nav__link--active {
    background: rgba(17, 24, 39, 0.08);
    color: #111827;
    font-weight: 600;
}

.section-nav__item--nested .section-nav__link--active:hover {
    background: rgba(17, 24, 39, 0.11);
    color: #111827;
}

.section-nav__item--nested .section-nav__link:hover {
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
}

.section-nav__link:hover {
    background: rgba(17, 24, 39, 0.06);
    color: #111827;
}

.section-nav__link--active {
    background: rgba(17, 24, 39, 0.08);
    color: #111827;
    font-weight: 600;
}

.section-nav__link--active:hover {
    background: rgba(17, 24, 39, 0.11);
    color: #111827;
}

.section-nav__related {
    margin-top: 1.25rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(17, 24, 39, 0.1);
}

.section-nav__related-title {
    margin: 0 0 0.85rem;
    font-size: 1rem;
    font-weight: 700;
    color: #111827;
}

.section-nav__related-item + .section-nav__related-item {
    margin-top: 0.45rem;
}

.section-nav__related-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #111827;
    font-size: 0.95rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.section-nav__related-link:hover {
    color: var(--accent-color);
}

.section-nav__related-icon {
    width: 0.55rem;
    height: 0.55rem;
    border-top: 2px solid var(--accent-color);
    border-right: 2px solid var(--accent-color);
    transform: rotate(45deg);
    flex-shrink: 0;
}

.content-page-body__article {
    max-width: 100%;
}

.content-page-body__article > .umb-block-grid > .umb-block-grid__layout-container {
    row-gap: 1rem;
}

@media (max-width: 991px) {
    .content-page__layout {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    .content-page__nav {
        position: static;
    }

    .content-page-hero__header--has-image:not(.content-page-hero__header--stage) {
        max-height: 240px;
    }

    .content-page-hero__content {
        padding-top: 0;
    }

    .content-page-hero__stage-grid--left,
    .content-page-hero__stage-grid--right {
        grid-template-columns: 1fr;
    }

    .content-page-hero__header--stage {
        min-height: clamp(260px, 36vh, 360px);
    }

    .content-page--hero-nav .content-page-hero__header--stage {
        min-height: clamp(280px, 42vh, 400px);
    }

    .content-page-hero__stage-inner {
        padding-bottom: 1.5rem;
    }

    .content-page--hero-stage .content-page-hero__content {
        align-self: start;
    }
}

@media (max-width: 767px) {
    .content-page {
        padding: 0.5rem 0 2.5rem;
    }

    .section-nav {
        padding: 1.15rem;
        border-radius: 16px;
    }

    .section-nav__title {
        font-size: 1.15rem;
    }
}


/*--------------------------------------------------------------
# Contact Block Grid Components
--------------------------------------------------------------*/
.contact-info-cards-block,
.contact-map-block,
.contact-travel-cards-block,
.contact-form-block {
    margin-bottom: 1.5rem;
    background: transparent;
    padding: 0;
}

.content-page-body__article .contact-info-cards-block,
.content-page-body__article .contact-map-block,
.content-page-body__article .contact-travel-cards-block,
.content-page-body__article .contact-form-block {
    overflow: visible;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-info-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.35rem 1.5rem;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 16px;
    background: var(--surface-color);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    transition:
        transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
        box-shadow 0.6s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.contact-info-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--default-color), transparent 88%);
}

.contact-info-card:hover .contact-info-card__icon {
    background: var(--accent-color-purple);
    color: #fff;
    transform: scale(1.08) rotate(-6deg);
}

.contact-info-card:hover .contact-info-card__icon--social {
    background: #1877f2;
    color: #fff;
}

.contact-info-card--wide {
    width: 100%;
}

.contact-info-cards__row {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.contact-info-card__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent-color-purple), transparent 88%);
    color: var(--accent-color-purple);
    font-size: 1.25rem;
    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.contact-info-card__icon--social {
    background: color-mix(in srgb, #1877f2, transparent 88%);
    color: #1877f2;
}

.contact-info-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color:#000000;
}

.contact-info-card__text {
    margin: 0;
    line-height: 1.7;
    color: var(--default-color);
}

.contact-info-card__links {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.contact-info-card__text a {
    color: inherit;
    text-decoration: none;
}

.contact-info-card__text a:hover {
    color: var(--accent-color-pink);
}

.contact-map-block__title {
    margin: 0 0 1rem;
    font-size: 1.5rem;
    color: #111827;
}

.contact-map-block .map-container {
    margin-top: 0;
    padding: 0;
}

.contact-map-block .map-container iframe,
.contact-map-block__map iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.contact-map-block__link {
    margin: 0.75rem 0 0;
}

.contact-travel-cards-block {
    margin-top: 2rem;
}

.contact-travel-cards-block__title {
    margin: 0 0 1.25rem;
    font-size: 1.5rem;
    color: #111827;
}

.contact-travel-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-travel-card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.35rem 1.5rem;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    border-radius: 16px;
    background: var(--surface-color);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    transition:
        transform 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
        box-shadow 0.6s cubic-bezier(0.25, 0.1, 0.25, 1),
        border-color 0.3s ease;
}

.contact-travel-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--default-color), transparent 88%);
}

.contact-travel-card:hover .contact-travel-card__icon {
    background: var(--accent-color-pink);
    color: #fff;
    transform: scale(1.08) rotate(-6deg);
}

.contact-travel-card__icon {
    flex-shrink: 0;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, var(--accent-color-pink), transparent 88%);
    color: var(--accent-color-pink);
    font-size: 1.25rem;
    transition:
        background-color 0.35s ease,
        color 0.35s ease,
        transform 0.5s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.contact-travel-card__title {
    margin: 0 0 0.5rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: #111827;
}

.contact-travel-card__text {
    margin: 0;
    line-height: 1.7;
    color: var(--default-color);
}

.contact-map-block__empty {
    margin: 0;
    padding: 1.25rem 1.5rem;
    border: 1px dashed color-mix(in srgb, var(--heading-color), transparent 70%);
    border-radius: 16px;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
    background: color-mix(in srgb, var(--surface-color), transparent 50%);
}

.contact-form-block {
    max-width: 760px;
}

.contact-form-card {
    padding: 1.75rem;
    border: 1px solid color-mix(in srgb, var(--heading-color), transparent 85%);
    border-radius: 16px;
    background: var(--surface-color);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.04);
}

.contact-form-card h2 {
    margin-bottom: 1rem;
}

.contact-form-card__intro {
    margin-bottom: 1.5rem;
    color: color-mix(in srgb, var(--default-color), transparent 15%);
    line-height: 1.7;
}

.contact-form__field {
    margin-bottom: 1rem;
}

.contact-form__input {
    border-radius: 12px;
    border-color: color-mix(in srgb, var(--heading-color), transparent 80%);
    padding: 0.85rem 1rem;
}

.contact-form__actions {
    margin-top: 1.25rem;
}

.contact-form__submit {
    min-width: 140px;
    border-radius: 999px;
}

.contact-form__message {
    margin: 1rem 0 0;
    color: var(--accent-color);
}

@media (max-width: 991px) {
    .contact-info-cards__row {
        grid-template-columns: 1fr;
    }
}

/* Image card block list preview (backoffice) */
.image-card-preview {
    max-width: 220px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.image-card-preview__media {
    position: relative;
}

.image-card-preview__image {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.image-card-preview__badge {
    position: absolute;
    left: 12px;
    bottom: -18px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--accent-color-purple, #843895);
    z-index: 2;
}

.image-card-preview--with-icon {
    overflow: visible;
}

.image-card-preview--with-icon .image-card-preview__media {
    overflow: visible;
}

.image-card-preview--with-icon .image-card-preview__body {
    padding-top: 1.75rem;
}

.image-card-preview__body {
    padding: 0.85rem 0.85rem 1rem;
    text-align: center;
}

.image-card-preview__eyebrow {
    margin: 0 0 0.35rem;
    font-size: 0.72rem;
    color: var(--accent-color-purple, #843895);
}

.image-card-preview__title,
.image-card-preview__body h1,
.image-card-preview__body h2,
.image-card-preview__body h3,
.image-card-preview__body h4,
.image-card-preview__body h5,
.image-card-preview__body h6 {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    line-height: 1.35;
    color: var(--default-color);
}

.image-card-preview__text {
    margin: 0 0 0.75rem;
    font-size: 0.82rem;
    line-height: 1.5;
    color: color-mix(in srgb, var(--default-color), transparent 20%);
}

.image-card-preview__button {
    display: inline-block;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    background: var(--accent-color-purple, #843895);
    color: #fff;
    font-size: 0.72rem;
}



/*--------------------------------------------------------------
# Blogpost Meta (วันที่ / ผู้เขียน / หมวดหมู่ ท้ายบทความ)
--------------------------------------------------------------*/
.blogpost-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem 1rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--default-color), transparent 88%);
    font-size: 0.875rem;
    color: color-mix(in srgb, var(--default-color), transparent 35%);
}

.blogpost-meta .blogpost-date {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.875rem;
}

.blogpost-meta .blogpost-date::before {
    content: "\f214";
    font-family: "bootstrap-icons";
    font-size: 0.9rem;
}

.blogpost-meta .blogpost-author a {
    color: var(--default-color);
    font-weight: 500;
}

.blogpost-meta .blogpost-author a:hover {
    color: var(--accent-color-purple);
}

.blogpost-meta .blogpost-cat a {
    display: inline-block;
    padding: 0.25rem 0.8rem;
    border-radius: 50px;
    background: color-mix(in srgb, var(--accent-color-purple), transparent 90%);
    color: var(--accent-color-purple);
    font-size: 0.8125rem;
    font-weight: 600;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.blogpost-meta .blogpost-cat a:hover {
    background: var(--accent-color-purple);
    color: var(--contrast-color);
}

.contact-form__success {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1.75rem 1.25rem;
    border-radius: 14px;
    background: color-mix(in srgb, var(--accent-color-green), transparent 90%);
    border: 1px solid color-mix(in srgb, var(--accent-color-green), transparent 55%);
    animation: contact-form-success-in 0.45s ease;
}

.contact-form__success-icon {
    width: 3.25rem;
    height: 3.25rem;
    margin-bottom: 1rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--accent-color-green);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
}

.contact-form__success-title {
    margin: 0 0 0.5rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--heading-color);
}

.contact-form__success-text {
    margin: 0;
    max-width: 28rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 10%);
}

@keyframes contact-form-success-in {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/*--------------------------------------------------------------
# Research Post (Blogpost detail)
--------------------------------------------------------------*/
.research-post.section,
.research-post {
    margin-top: var(--header-height, 80px);
    padding: 0.75rem 0 2.25rem;
}

.content-page.research-post {
    margin-top: var(--header-height, 80px);
    padding: 0.75rem 0 2.25rem;
}

.detail-post-page.research-post .research-post__article {
    max-width: none;
    margin: 0;
}

.detail-post-page.research-post .research-post__media {
    position: static;
    top: auto;
}

/* Shared stage width: listing and detail pages use the same outer edges */
.content-page > .container.content-page__container {
    max-width: min(1520px, calc(100% - 2rem));
    width: 100%;
}

.detail-post-page .content-page__layout {
    grid-template-columns: minmax(220px, 260px) minmax(0, 1fr);
    gap: 1.75rem;
}

.detail-post-page.content-page--layout-right .content-page__layout {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 260px);
}

.detail-post-page.research-post .research-detail--with-cover {
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
    column-gap: 1.75rem;
}

.research-post .breadcrumb-nav {
    margin: 0 0 0.75rem;
    padding-top: 0.25rem;
}

.research-post__article {
    max-width: 1100px;
    margin: 0 auto;
}

/* Gallery detail uses the same stage width as listing/detail content pages */
.gallery-post > .container {
    width: 100%;
    max-width: min(1520px, calc(100% - 2rem));
}

.gallery-post .research-post__article {
    max-width: none;
    margin: 0;
}

.research-post__header {
    margin: 0 0 0.75rem;
}

.research-post__title {
    margin: 0 0 0.45rem;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
    font-weight: 700;
    line-height: 1.3;
    color: #1d1b20;
}

.research-post__views {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0 0 0.65rem;
    font-size: 0.875rem;
    line-height: 1.4;
    color: color-mix(in srgb, var(--default-color, #3c4049), transparent 25%);
}

.research-post__views i {
    color: var(--accent-color-purple, #843895);
    font-size: 0.95rem;
}

.research-post__excerpt {
    margin: 0;
    max-width: none;
    font-size: 1.05rem;
    line-height: 1.7;
    color: color-mix(in srgb, var(--default-color), transparent 10%);
}

.research-post .research-detail {
    gap: 1.5rem;
    margin: 0 0 1.5rem;
    align-items: start;
}

.research-post .research-detail--with-cover {
    grid-template-columns: minmax(280px, 380px) minmax(0, 1fr);
}

.research-post__media {
    position: sticky;
    top: calc(var(--header-height, 80px) + 1rem);
}

.research-post .research-detail__aside {
    gap: 0.65rem;
}

.research-post .research-detail__media {
    border-radius: 16px;
    overflow: hidden;
    background: color-mix(in srgb, var(--default-color, #3c4049), transparent 94%);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.research-post .research-detail__image {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center top;
}

.research-post__sidebar {
    gap: 0.7rem;
}

.research-post__sidebar .research-detail__section {
    gap: 0.25rem;
}

/* Hide an Abstract section whose rich-text editor only contains an empty paragraph */
.research-post__sidebar .research-detail__section:has(> .research-detail__richtext:empty),
.research-post__sidebar .research-detail__section:has(> .research-detail__richtext > p:only-child:empty),
.research-post__sidebar .research-detail__section:has(> .research-detail__richtext > p:only-child > br:only-child) {
    display: none;
}

/* Remove empty/copied editor wrappers that create artificial vertical gaps */
.research-post__sidebar .research-detail__richtext div:empty,
.research-post__sidebar .research-detail__richtext p:empty {
    display: none;
}

.research-post__sidebar .research-detail__richtext [data-copy-service-computed-style] {
    margin-top: 0 !important;
}

/* Meta facts: 1 per row, icon + label/value */
.research-post__facts {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.15rem 0 0;
    padding: 0;
    border: none;
}

.research-post__fact {
    display: grid;
    grid-template-columns: 1.25rem minmax(0, 1fr);
    gap: 0.65rem;
    align-items: start;
    margin: 0;
    padding: 0;
    border: none;
}

.research-post__fact-icon {
    margin-top: 0.2rem;
    color: var(--accent-color-purple, #843895);
    font-size: 1.05rem;
    line-height: 1;
}

.research-post__fact-body {
    min-width: 0;
}

.research-post__fact-label {
    margin: 0 0 0.15rem;
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.35;
    color: color-mix(in srgb, var(--default-color, #3c4049), transparent 35%);
}

.research-post__fact-value {
    margin: 0;
    font-size: 0.9375rem;
    font-weight: 600;
    line-height: 1.45;
    color: #1d1b20;
}

.research-post__fact-categories a {
    color: var(--accent-color-purple, #843895);
    font-weight: 600;
    text-decoration: none;
}

.research-post__fact-categories a:hover {
    text-decoration: underline;
}

.research-post__fact-categories a + a::before {
    content: "·";
    margin: 0 0.35rem;
    color: color-mix(in srgb, var(--default-color, #3c4049), transparent 45%);
    font-weight: 400;
    text-decoration: none;
}

.research-post__downloads {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.55rem;
    margin: 0.15rem 0 0;
}

.research-post__downloads .button-link__anchor {
    width: auto;
    max-width: 100%;
    align-self: auto;
    justify-content: center;
    padding: 0.5rem 1.1rem;
    font-size: 0.875rem;
    line-height: 1.3;
    white-space: nowrap;
}

.research-post__downloads .button-link__anchor i {
    font-size: 0.95rem;
    line-height: 1;
}

.research-post .research-detail__label {
    margin: 0 0 0.45rem;
    font-size: clamp(1.15rem, 1.8vw, 1.3rem);
    font-weight: 700;
    line-height: 1.35;
    color: #1d1b20;
}

.research-post .research-detail__section {
    gap: 0.35rem;
}

.research-post__keywords {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.research-post__keyword {
    display: inline-flex;
    padding: 0.3rem 0.8rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--accent-color-purple, #843895), transparent 90%);
    color: var(--accent-color-purple, #843895);
    font-size: 0.8125rem;
    font-weight: 600;
}

/* legacy info/chip styles kept for any leftover markup */
.research-post__info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin: 0.15rem 0 0;
    padding: 0;
}

.research-post__info-row {
    display: grid;
    grid-template-columns: 1.35rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.research-post__info-icon {
    margin-top: 0.15rem;
    color: var(--accent-color-purple, #843895);
    font-size: 1.05rem;
    line-height: 1;
}

.research-post__info-label {
    margin: 0 0 0.2rem;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1d1b20;
}

.research-post__info-value {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--default-color, #3c4049);
}

.research-post__info-value a {
    color: var(--accent-color-purple, #843895);
    font-weight: 600;
    text-decoration: none;
}

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

.research-post__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem 0.65rem;
}

.research-post__chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    background: color-mix(in srgb, var(--default-color), transparent 94%);
    color: color-mix(in srgb, var(--default-color), transparent 15%);
    font-size: 0.875rem;
    line-height: 1.4;
}

.research-post__chip i {
    color: var(--accent-color-purple, #843895);
    font-size: 0.9rem;
}

.research-post__chip--categories {
    gap: 0.5rem;
}

.research-post__chip--categories a {
    color: var(--accent-color-purple, #843895);
    font-weight: 600;
    text-decoration: none;
}

.research-post__chip--categories a:hover {
    text-decoration: underline;
}

.personnel-post.research-post__article,
.personnel-post .research-post__article {
    max-width: none;
    margin: 0;
}

/*--------------------------------------------------------------
# Detail pages with category sidebar
# Stick the aside (not .content-page__nav) so tops stay level
--------------------------------------------------------------*/
.detail-post-page .content-page__layout {
    align-items: stretch;
    margin-top: 0.5rem;
    gap: 1.5rem;
}

/* the column holds the section nav plus the category panel, so stick the column —
   sticking each aside on its own would let the second one slide over the first */
.detail-post-page .content-page__nav {
    position: sticky;
    top: calc(var(--header-height, 80px) + 1rem);
    margin: 0;
    padding: 0;
    align-self: start;
}

/* Only the column may stick. Any panel inside it stays in flow, otherwise a second
   sticky sibling scrolls up over the first one. */
.content-page__nav > * {
    position: static;
    top: auto;
}

.detail-post-page .content-page__nav > .training-sidebar,
.detail-post-page .content-page__nav > .blog-sidebar,
.detail-post-page .content-page__nav > aside {
    margin: 0;
}

.detail-post-page .content-page__main {
    margin: 0;
    padding: 0;
}

.detail-post-page .content-page__main > .research-post__article,
.detail-post-page .content-page__main > .personnel-post,
.detail-post-page .content-page__main > .training-post,
.detail-post-page .content-page__main > .news-post {
    margin: 0;
    padding: 0;
    max-width: none;
}

.detail-post-page .research-detail,
.detail-post-page .research-detail--with-cover {
    margin: 0 0 1rem;
    padding: 0;
}

.detail-post-page .research-detail__aside,
.detail-post-page .research-detail__media,
.detail-post-page .research-detail__content,
.detail-post-page .personnel-post__header,
.detail-post-page .training-post__header,
.detail-post-page .news-post__header,
.detail-post-page .news-post__cover,
.detail-post-page .research-post__header,
.detail-post-page .research-post__title {
    margin-top: 0;
}

.detail-post-page .news-post__cover {
    margin-bottom: 1rem;
}

.detail-post-page .personnel-post__header,
.detail-post-page .training-post__header,
.detail-post-page .news-post__header {
    margin-bottom: 0.75rem;
}

.detail-post-page .research-post__title {
    margin-bottom: 0.6rem;
}

@media (max-width: 991px) {
    .content-page > .container.content-page__container {
        max-width: 100%;
    }

    .detail-post-page .content-page__layout,
    .detail-post-page.content-page--layout-right .content-page__layout {
        grid-template-columns: 1fr;
    }

    .detail-post-page.research-post .research-detail--with-cover {
        grid-template-columns: 1fr;
    }
}

.personnel-post .research-detail--with-cover {
    margin-top: 0;
    grid-template-columns: minmax(0, 340px) minmax(0, 1fr);
    align-items: start;
}

.personnel-post__header {
    margin: 0 0 0.75rem;
}

.personnel-post__sidebar,
.personnel-post__content {
    gap: 0.85rem;
}

.personnel-post .research-detail__media {
    aspect-ratio: 2 / 3;
    border-radius: 16px;
    overflow: hidden;
    background: color-mix(in srgb, var(--default-color, #3c4049), transparent 94%);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.personnel-post__media .research-detail__image {
    display: block;
    width: 100%;
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: center top;
}

.personnel-post__history {
    margin: 0.15rem 0 0;
    padding-top: 0.85rem;
    border-top: 1px solid color-mix(in srgb, var(--default-color, #3c4049), transparent 88%);
}

.personnel-post__history-title {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1d1b20;
}

.personnel-post__history-text {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.7;
    color: #1d1b20;
}

.news-post .research-post__article {
    max-width: none;
    margin: 0;
}

.news-post__cover {
    margin: 0 0 1rem;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    background: color-mix(in srgb, var(--default-color, #3c4049), transparent 94%);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.news-post__header {
    margin: 0 0 1rem;
}

.news-post__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.65rem 1rem;
    margin: 0.35rem 0 0.85rem;
}

.news-post__views {
    margin: 0;
}

.news-post__footer {
    display: flex;
    justify-content: flex-end;
    margin-top: 1.5rem;
    padding-top: 1rem;
    border-top: 1px solid color-mix(in srgb, var(--default-color, #3c4049), transparent 88%);
}

.news-post__publisher {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    margin: 0;
    font-size: 0.875rem;
    line-height: 1.4;
    color: color-mix(in srgb, var(--default-color, #3c4049), transparent 25%);
}

.news-post__publisher i {
    color: var(--accent-color-purple, #843895);
    font-size: 0.95rem;
}

.news-post__cats {
    margin: 0;
}

.news-post__share {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.45rem;
    margin-left: auto;
}

.news-post__share-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: color-mix(in srgb, var(--default-color, #3c4049), transparent 25%);
}

.news-post__share-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 1px solid color-mix(in srgb, var(--default-color, #3c4049), transparent 85%);
    border-radius: 999px;
    background: #fff;
    color: var(--default-color, #3c4049);
    font-size: 0.9rem;
    line-height: 1;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.news-post__share-link:hover,
.news-post__share-link.is-copied {
    background: color-mix(in srgb, var(--accent-color-purple, #843895), transparent 90%);
    border-color: color-mix(in srgb, var(--accent-color-purple, #843895), transparent 70%);
    color: var(--accent-color-purple, #843895);
}

.news-post__cover-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.news-post__content {
    margin: 0 0 1rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--default-color, #3c4049);
}

.news-post__content :first-child {
    margin-top: 0;
}

.news-post__content :last-child {
    margin-bottom: 0;
}

.training-post .research-post__article {
    max-width: none;
    margin: 0;
}

.training-post .research-detail--with-cover {
    margin-top: 0;
}

.training-post__header {
    margin: 0 0 0.75rem;
}

.training-post__header .research-post__excerpt {
    max-width: none;
}

.training-post__sidebar {
    gap: 0.35rem;
}

.training-post__info {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    padding: 0;
    background: none;
    border: none;
}

.training-post__info-row {
    display: grid;
    grid-template-columns: 1.35rem minmax(0, 1fr);
    gap: 0.75rem;
    align-items: start;
}

.training-post__info-icon {
    margin-top: 0.15rem;
    color: var(--accent-color-purple, #843895);
    font-size: 1.05rem;
    line-height: 1;
}

.training-post__info-label {
    margin: 0 0 0.2rem;
    font-size: 0.9375rem;
    font-weight: 700;
    line-height: 1.35;
    color: #1d1b20;
}

.training-post__info-value {
    margin: 0;
    font-size: 0.9375rem;
    line-height: 1.55;
    color: var(--default-color, #3c4049);
}

.training-post__info-value a {
    color: var(--accent-color-purple, #843895);
    font-weight: 600;
    text-decoration: none;
}

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

.training-post__info-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.training-post__status-yes {
    color: #16a34a;
    font-size: 1.05rem;
}

.training-post__status-no {
    color: #dc2626;
    font-size: 1.05rem;
}

.training-post__actions {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    margin: 0.85rem 0 0;
}

.training-post__actions.button-link {
    margin: 0.85rem 0 0;
}

.training-post__actions .button-link__anchor {
    width: auto;
    max-width: 100%;
    justify-content: center;
    padding: 0.45rem 1rem;
    font-size: 0.8125rem;
    line-height: 1.3;
    white-space: nowrap;
}

.training-post__actions .button-link__anchor i {
    font-size: 0.875rem;
}

.training-post__register.button-link__anchor {
    font-weight: 600;
}

.training-post .research-detail__media {
    border-radius: 16px;
    overflow: hidden;
}

.gallery-post__count i {
    color: var(--accent-color-purple, #843895);
}

.gallery-post__cover {
    margin: 0 0 1.5rem;
    border-radius: 20px;
    overflow: hidden;
    background: color-mix(in srgb, var(--default-color, #3c4049), transparent 94%);
    box-shadow: 0 10px 28px color-mix(in srgb, var(--default-color, #3c4049), transparent 88%);
}

.gallery-post__cover-image {
    display: block;
    width: 100%;
    max-height: 420px;
    object-fit: cover;
    aspect-ratio: 21 / 9;
}

.gallery-post__gallery {
    margin: 0 0 1.5rem;
}

.gallery-post__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.gallery-post__cell {
    position: relative;
    display: block;
    margin: 0;
    overflow: hidden;
    border-radius: 16px;
    background: color-mix(in srgb, var(--default-color, #3c4049), transparent 94%);
    aspect-ratio: 4 / 3;
    text-decoration: none;
    box-shadow: 0 4px 16px color-mix(in srgb, var(--default-color, #3c4049), transparent 90%);
    transition:
        transform 0.35s cubic-bezier(0.25, 0.1, 0.25, 1),
        box-shadow 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.gallery-post__cell:hover,
.gallery-post__cell:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 14px 28px color-mix(in srgb, var(--default-color, #3c4049), transparent 84%);
}

.gallery-post__figure {
    position: relative;
    width: 100%;
    height: 100%;
    margin: 0;
}

.gallery-post__image,
.gallery-post__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-post__zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: color-mix(in srgb, #000, transparent 55%);
    color: #fff;
    font-size: 1.75rem;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.gallery-post__cell:hover .gallery-post__zoom,
.gallery-post__cell:focus-visible .gallery-post__zoom {
    opacity: 1;
}

.gallery-post__cell--video {
    cursor: default;
}

.research-post .blogpost-layout,
.research-post .umb-block-grid {
    margin-top: 1rem;
}

@media (max-width: 767px) {
    .research-post.section,
    .research-post {
        padding: 0.5rem 0 1.75rem;
    }

    .research-post__title {
        font-size: 1.4rem;
    }

    .research-post__media {
        position: static;
        top: auto;
    }

    .research-post .research-detail--with-cover {
        grid-template-columns: 1fr;
    }

    .research-post__chip {
        font-size: 0.8125rem;
    }

    .research-post__downloads {
        flex-direction: column;
        align-items: stretch;
    }

    .research-post__downloads .button-link__anchor {
        width: 100%;
        white-space: normal;
        justify-content: center;
    }

    .gallery-post__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.75rem;
    }

    .gallery-post__cover-image {
        aspect-ratio: 16 / 9;
        max-height: none;
    }

    .personnel-post .research-detail--with-cover {
        grid-template-columns: 1fr;
    }

    .personnel-post .research-detail__media {
        max-width: min(100%, 340px);
        margin: 0 auto;
    }

    .news-post__cover {
        aspect-ratio: 16 / 9;
    }
}

@media (max-width: 479px) {
    .gallery-post__grid {
        grid-template-columns: minmax(0, 1fr);
    }
}

/* Research Detail — body/detail text uses Sarabun (headings keep heading font) */
.research-detail__keywords,
.research-detail__text,
.research-detail__richtext,
.research-detail__richtext p,
.research-detail__richtext li,
.research-detail__richtext span,
.research-detail__richtext strong,
.research-detail__richtext em,
.course-detail__keywords,
.course-detail__text,
.course-detail__richtext,
.course-detail__richtext p,
.course-detail__richtext li,
.course-detail__richtext span,
.course-detail__richtext strong,
.course-detail__richtext em,
.instructional-detail__keywords,
.instructional-detail__text,
.instructional-detail__richtext,
.instructional-detail__richtext p,
.instructional-detail__richtext li,
.instructional-detail__richtext span,
.instructional-detail__richtext strong,
.instructional-detail__richtext em,
.instructional-post__meta,
.instructional-post__excerpt,
.instructional-post__content,
.instructional-post__content p,
.instructional-post__content li,
.instructional-post__body,
.instructional-post__body p,
.instructional-post__body li,
.instructional-post__body .umb-block-grid p,
.instructional-post__body .umb-block-grid li,
.detail-page__content,
.detail-page__content p,
.detail-page__content li,
.detail-page__content span,
.detail-page__content strong,
.detail-page__content em,
.detail-page__excerpt {
    font-family: var(--body-font, "Sarabun", system-ui, sans-serif);
}

/*--------------------------------------------------------------
# Smooth page transitions (detail pages)
--------------------------------------------------------------*/
@supports (view-transition-name: none) {
    @view-transition {
        navigation: auto;
    }

    ::view-transition-old(root),
    ::view-transition-new(root) {
        animation-duration: 0.38s;
        animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
    }

    ::view-transition-old(root) {
        animation-name: detail-page-fade-out;
    }

    ::view-transition-new(root) {
        animation-name: detail-page-fade-in;
    }
}

@keyframes detail-page-fade-out {
    to {
        opacity: 0;
        transform: translateY(-6px);
    }
}

@keyframes detail-page-fade-in {
    from {
        opacity: 0;
        transform: translateY(14px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

@keyframes detail-enter {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: none;
    }
}

.detail-post-page .breadcrumb-nav,
.research-post > .container > .breadcrumb-nav,
.gallery-post > .container > .breadcrumb-nav {
    animation: detail-enter 0.45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.detail-post-page .content-page__nav {
    animation: detail-enter 0.55s cubic-bezier(0.22, 1, 0.36, 1) 0.06s both;
}

.detail-post-page .content-page__main,
.research-post > .container > .research-post__article,
.gallery-post > .container > .research-post__article,
.instructional-post-page .instructional-post {
    animation: detail-enter 0.6s cubic-bezier(0.22, 1, 0.36, 1) 0.12s both;
}

@media (prefers-reduced-motion: reduce) {
    @supports (view-transition-name: none) {
        @view-transition {
            navigation: none;
        }
    }

    .detail-post-page .breadcrumb-nav,
    .research-post > .container > .breadcrumb-nav,
    .gallery-post > .container > .breadcrumb-nav,
    .detail-post-page .content-page__nav,
    .detail-post-page .content-page__main,
    .research-post > .container > .research-post__article,
    .gallery-post > .container > .research-post__article,
    .instructional-post-page .instructional-post {
        animation: none !important;
    }
}

/*--------------------------------------------------------------
# Detail Page
--------------------------------------------------------------*/
.detail-page__article {
    max-width: 100%;
}

.detail-page__header {
    margin: 0 0 1.25rem;
}

.detail-page__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
    line-height: 1.35;
    color: #000000;
}

.detail-page__excerpt {
    margin: 0;
    max-width: 42rem;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.65;
    color: #374151;
}

.detail-page__cover {
    margin: 0 0 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    background: color-mix(in srgb, var(--default-color, #3c4049), transparent 94%);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.detail-page__cover-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-page__content {
    margin-bottom: 1.5rem;
}

.detail-page__content h2,
.detail-page__content h3 {
    margin: 1.5rem 0 0.75rem;
    font-weight: 600;
    line-height: 1.4;
    color: #1d1b20;
}

.detail-page__content h2:first-child,
.detail-page__content h3:first-child {
    margin-top: 0;
}

.detail-page__blocks:empty {
    display: none;
}

.detail-page__blocks .umb-block-grid {
    margin-top: 0;
}

.detail-page-block {
    margin-bottom: 1rem;
}

.detail-page-block--no-cover {
    margin-top: 0;
}

.content-page-body__article .umb-block-grid__layout-item[data-content-element-type-alias="detailPage"] + .umb-block-grid__layout-item[data-content-element-type-alias="detailPage"] .detail-page-block {
    margin-top: 0;
}

.detail-page-block__header {
    margin: 0 0 1rem;
}

.detail-page-block--no-cover .detail-page-block__content {
    margin-bottom: 1rem;
}

.detail-page-block--no-cover .detail-page-block__content h2:first-child,
.detail-page-block--no-cover .detail-page-block__content h3:first-child {
    margin-top: 0;
}

.detail-page-block__excerpt--lead {
    margin: 0 0 0.75rem;
}

.detail-page-block__title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 600;
    line-height: 1.35;
    color: #1d1b20;
}

.detail-page-block__excerpt {
    margin: 0;
    max-width: 42rem;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    line-height: 1.65;
    color: #374151;
}

.detail-page-block__cover {
    margin: 0 0 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 21 / 9;
    background: color-mix(in srgb, var(--default-color, #3c4049), transparent 94%);
    box-shadow: 0 8px 24px rgba(17, 24, 39, 0.06);
}

.detail-page-block__cover-image {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-page-block__content {
    margin-bottom: 1.5rem;
}

.detail-page-block__blocks:empty {
    display: none;
}

.detail-content__body iframe,
.detail-page-block__content iframe,
.content-page-body__article iframe {
    display: block;
    width: 100%;
    min-height: 80vh;
    border: 0;
}

.detail-content__body .umb-embed-holder,
.detail-page-block__content .umb-embed-holder {
    width: 100%;
    margin: 0 0 1.5rem;
}

@media (max-width: 767px) {
    .detail-page__cover {
        border-radius: 12px;
        aspect-ratio: 16 / 10;
    }

    .detail-page__header {
        margin-bottom: 1rem;
    }
}

/*--------------------------------------------------------------
# Calendar Embed (Google Calendar iframe)
--------------------------------------------------------------*/
.calendar-embed {
    width: 100%;
    margin: 0 0 1.5rem;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid color-mix(in srgb, var(--default-color), transparent 90%);
    background: var(--surface-color);
    box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
}

.calendar-embed__iframe {
    display: block;
    width: 100%;
    height: var(--calendar-embed-height, 650px);
    min-height: 420px;
    border: 0;
}

@media (max-width: 768px) {
    .calendar-embed__iframe {
        min-height: 360px;
        height: max(var(--calendar-embed-height, 650px), 360px);
    }
}

