/* SYSTEM_HEADER/Default */
/* ============================================================
   HEADER NAVIGATION - V2 (SPA LE VY & WELLNESS)
   ============================================================ */

.site-header {
    position: relative;
    z-index: 1040;
    background: var(--header-bg, #ffffff);
    font-family: var(--header-font, inherit);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

/* ============================================================
   1. TOPBAR STYLES
   ============================================================ */

.site-header__topbar {
    font-size: 13px;
    padding: 7px 0;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-header__topbar a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.site-header__topbar a:hover {
    text-decoration: underline;
    opacity: 0.9;
}
/* Hiệu ứng trượt biến mất mượt mà của Topbar */
.site-header__topbar {
    transition: max-height 0.35s ease, opacity 0.25s ease, padding 0.35s ease;
    max-height: 50px;
    overflow: hidden;
}

/* Khi cuộn: Ẩn êm Topbar trên cả Mobile lẫn Desktop */
.site-header.is-scrolled .site-header__topbar {
    max-height: 0;
    opacity: 0;
    padding-top: 0;
    padding-bottom: 0;
    border-bottom: none;
}
.topbar-slogan {
    font-weight: 500;
    letter-spacing: 0.3px;
}

.topbar-contact {
    gap: 16px;
}

.topbar-contact__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
}

.topbar-contact__item i {
    color: var(--header-accent, #b88a3b);
}

/* ============================================================
   1. TOPBAR STYLES (ĐÃ FIX RESPONSIVE & HIỆU ỨNG CUỘN)
   ============================================================ */

.site-header__topbar {
    font-size: 13px;
    padding: 7px 0;
    line-height: 1.4;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1045;
    /* Tăng max-height lên 140px để không bị cắt cụt nội dung khi topbar rớt 3 dòng trên mobile */
    max-height: 140px;
    opacity: 1;
    visibility: visible;
    overflow: hidden;
    /* Animation mượt mà toàn diện */
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, padding 0.35s ease, border-color 0.25s ease;
    will-change: max-height, opacity;
}

.site-header__topbar a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.2s ease;
}

.site-header__topbar a:hover {
    text-decoration: underline;
    opacity: 0.9;
}

/* KHI CUỘN: Thu gọn êm ái, khử chớp viền, chặn click nhầm */
.site-header.is-scrolled .site-header__topbar {
    max-height: 0 !important;
    opacity: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    border-bottom-color: transparent !important;
    pointer-events: none;
    visibility: hidden;
}

.topbar-slogan {
    font-weight: 500;
    letter-spacing: 0.3px;
}

.topbar-contact {
    gap: 16px;
}

.topbar-contact__item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12.5px;
}

.topbar-contact__item i {
    color: var(--header-accent, #b88a3b);
}


/* ============================================================
   2. STICKY & SCROLLED HEADER (SỬA LỖI ĐÈ GIAO DIỆN)
   ============================================================ */

/* Thiết lập Sticky ở trạng thái neo đỉnh màn hình */
.site-header.is-sticky {
    position: sticky;
    top: 0;
}

/* CHỈ KHI CUỘN TRANG (.is-scrolled) MỚI THU NHỎ LOGO VÀ NAVBAR */
.site-header.is-scrolled .site-header_border_logo {
    height: 100% !important;
    top: 0 !important;
    padding: 8px 14px !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    display: flex !important;
    align-items: center;
    transition: all 0.25s ease-in-out !important;
}

.site-header.is-scrolled .site-header_border_logo img {
    height: 38px !important;
    width: auto !important;
    margin-top: 0 !important;
    transform: none !important;
    transition: all 0.25s ease-in-out !important;
}

.site-header.is-scrolled .site-header__inner {
    min-height: 64px !important;
    height: 64px !important;
    transition: min-height 0.3s ease-in-out, height 0.3s ease-in-out;
}
/* ============================================================
   3. HEADER INNER
   ============================================================ */

.site-header__inner {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

/* ============================================================
   4. DESKTOP
   ============================================================ */

@media (min-width: 992px) {
    .site-header__inner {
        position: relative;
    }
    .site-header__nav {
        align-items: center;
        min-width: 0;
        transition: all 0.3s ease-in-out;
    }
    /* 1. Căn trái: Thụt vào 30px so với Logo */
    .site-header__nav.menu-pos-left {
        justify-content: flex-start;
        margin-left: 36px;
        margin-right: 0;
    }

    /* 2. Căn giữa: Trọng tâm chính giữa Header */
    .site-header__nav.menu-pos-center {
        position: absolute;
        top: 50%;
        left: 50%;
        z-index: 2;
        width: max-content;
        transform: translate(-50%, -50%);
        justify-content: center;
        margin: 0;
    }

    /* 3. Căn phải: Đẩy sát về phía nút Search/CTA */
    .site-header__nav.menu-pos-right {
        justify-content: flex-end;
        margin-left: 0;
        margin-right: 28px;
    }
    .logo-placeholder img,
    .logo-default img {
        object-fit: contain;
        transition: transform 0.3s ease;
    }

    /* BORDER LOGO */
    .site-header_border_logo {
        position: absolute !important;
        top: 0 !important;
        left: 80px !important;
        z-index: 1060;
        background: #ffffff !important;
        padding: 15px 15px 25px 15px !important;
        border-radius: 0 0 12px 12px !important;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08) !important;
        transition: all 0.3s ease !important;
    }

        .site-header_border_logo:hover {
            padding-bottom: 35px !important;
            box-shadow: 0 20px 40px rgba(96, 57, 19, 0.18) !important;
        }

        .site-header_border_logo img {
            display: block;
            margin: 10px auto 0 !important;
        }

    .site-header_default_logo {
        display: inline-block;
        padding: 0;
        margin: 0;
    }

    .logo-placeholder {
        width: 140px;
        flex-shrink: 0;
    }
}

/* ============================================================
   5. DESKTOP MENU
   ============================================================ */

.site-header__menu {
    display: flex;
    align-items: center;
    gap: 28px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.site-header__menu-item {
    position: relative;
}

    .site-header__menu-item > a {
        display: flex;
        align-items: center;
        padding: 10px 4px;
        color: var(--header-text, #603913);
        font-size: var(--header-font-size, 14px);
        font-weight: 700;
        letter-spacing: 0.3px;
        text-transform: var(--header-text-transform, uppercase);
        text-decoration: none;
        transition: color 0.2s ease-in-out;
    }

        .site-header__menu-item > a:hover {
            color: var(--header-accent, #b88a3b);
        }

/* ============================================================
   6. DROPDOWN
   ============================================================ */

.site-header__dropdown {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    min-width: 240px;
    background: #ffffff;
    border-radius: 14px;
    padding: 10px 0;
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
    list-style: none;
    margin: 0;
    display: none;
    z-index: 1060;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.site-header__menu-item:hover .site-header__dropdown {
    display: block;
}

.site-header__dropdown a {
    display: block;
    padding: 10px 18px;
    color: var(--header-text, #603913);
    text-decoration: none;
    font-weight: 600;
    font-size: 13.5px;
    transition: all 0.2s ease;
}

    .site-header__dropdown a:hover {
        background: #fff7f2;
        color: var(--header-accent, #b88a3b);
    }

/* ============================================================
   7. CTA BUTTON
   ============================================================ */

.site-header__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cta-bg, #b88a3b);
    color: var(--cta-color, #ffffff) !important;
    border-radius: 999px;
    padding: 11px 24px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(184, 138, 59, 0.28);
    border: none;
    cursor: pointer;
    transition: all 0.25s ease;
    white-space: nowrap;
}

    .site-header__cta-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 12px 26px rgba(184, 138, 59, 0.38);
        filter: brightness(1.06);
    }

/* ============================================================
   8. SEARCH BUTTON
   ============================================================ */

.site-header__search-btn {
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: #f7f7f7;
    color: var(--header-text, #603913);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

    .site-header__search-btn:hover {
        background: #eeeeee;
        color: var(--header-accent, #b88a3b);
    }

/* ============================================================
   9. MOBILE STYLES
   ============================================================ */

@media (max-width: 991.98px) {
    .site-header__nav {
        display: none !important;
    }

    .site-header_border_logo,
    .site-header_default_logo {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        z-index: 10 !important;
        background: transparent !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 6px 0 !important;
        margin: 0 !important;
        display: inline-block !important;
    }

        .site-header_border_logo img,
        .site-header_default_logo img {
            height: 42px !important;
            width: auto !important;
            transform: none !important;
            margin-top: 0 !important;
            opacity: 1 !important;
        }

    .logo-placeholder,
    .logo-default {
        width: auto !important;
        min-width: 0 !important;
        flex-shrink: 0;
    }

    .site-header__inner {
        height: 60px !important;
        min-height: 60px !important;
        padding: 0 10px !important;
    }

    .topbar-contact {
        flex-direction: column;
        gap: 3px;
        text-align: center;
        padding: 2px 0;
    }
}

/* ============================================================
   10. MOBILE DRAWER & MASK
   ============================================================ */

.mobile-menu-drawer {
    position: fixed;
    top: 0;
    right: -100%;
    width: 320px;
    max-width: 85%;
    height: 100vh;
    background: #ffffff;
    z-index: 10000;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15);
}

    .mobile-menu-drawer.is-open {
        right: 0;
    }

.mobile-menu-drawer__content {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: 2;
    overflow-y: auto;
}

.btn-close-menu-top {
    position: fixed;
    top: 18px;
    right: min(87%, 335px);
    width: 38px;
    height: 38px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.6);
    font-size: 18px;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .btn-close-menu-top:hover {
        background: rgba(0, 0, 0, 0.85);
    }

.mobile-menu-drawer.is-open .btn-close-menu-top {
    display: flex;
}

.mobile-menu-drawer__mask {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 1;
}

.mobile-menu-drawer.is-open .mobile-menu-drawer__mask {
    display: block;
}

.mobile-search-box .form-control {
    border-right: none;
    font-size: 14px;
    padding: 10px;
}

.mobile-search-box .input-group-text {
    border-left: none;
    cursor: pointer;
}

.mobile-nav-link {
    font-size: 14px;
    letter-spacing: 0.3px;
}

.mobile-submenu-link {
    font-size: 13px;
}

.submenu-toggle {
    border: 0;
    background: transparent;
    padding: 5px 12px;
    cursor: pointer;
}

    .submenu-toggle i {
        transition: transform 0.3s ease;
    }

    .submenu-toggle[aria-expanded="true"] i {
        transform: rotate(180deg);
    }

.mobile-submenu {
    display: none;
}

    .mobile-submenu.is-open {
        display: block;
    }

body.mobile-menu-open {
    overflow: hidden;
}

/* ============================================================
   11. HAMBURGER ICON
   ============================================================ */

.mobile-menu-btn {
    width: 40px;
    height: 40px;
    border: 1.5px solid var(--header-text, #603913);
    background: transparent;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10001;
}

.hamburger-icon {
    width: 20px;
    height: 15px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

    .hamburger-icon span {
        display: block;
        width: 100%;
        height: 2px;
        background: var(--header-text, #603913);
        transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
    }

.mobile-menu-btn.is-active .hamburger-icon span:nth-child(1) {
    transform: translateY(6.5px) rotate(45deg);
}

.mobile-menu-btn.is-active .hamburger-icon span:nth-child(2) {
    opacity: 0;
    transform: translateX(-10px);
}

.mobile-menu-btn.is-active .hamburger-icon span:nth-child(3) {
    transform: translateY(-6.5px) rotate(-45deg);
}
@media (max-width: 539.98px) {
    .site-header {
        will-change: transform;
        transition: transform .28s ease;
    }

    body.yoweb-mobile-scroll-down .site-header {
        transform: translateY(-110%);
    }

    body.yoweb-mobile-scroll-up .site-header {
        transform: translateY(0);
    }
}
/* SYSTEM_FOOTER/Default */
.footer-default {
    position: relative;
    overflow: hidden;
    padding: 58px 0 0;
    background: var(--footer-bg, #f3f4f6);
    color: var(--footer-text, #4b5563);
}

    .footer-default .site-footer__grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
        gap: 38px;
        padding-bottom: 26px;
    }

    .footer-default .site-footer__col {
        min-width: 0;
    }

    .footer-default .site-footer__brand {
        min-width: 220px;
    }

    .footer-default .site-footer__logo {
        margin-bottom: 18px;
    }

        .footer-default .site-footer__logo img {
            display: block;
            width: auto;
            max-width: 190px;
            max-height: 76px;
            object-fit: contain;
        }

    .footer-default .site-footer__desc {
        max-width: 340px;
        margin: 0 0 20px;
        color: var(--footer-text, #4b5563);
        font-size: .9rem;
        line-height: 1.7;
    }

    .footer-default .site-footer__title {
        position: relative;
        margin: 0 0 20px;
        padding-bottom: 11px;
        color: var(--footer-title, #603913);
        font-size: .98rem;
        font-weight: 800;
    }

        .footer-default .site-footer__title::after {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 34px;
            height: 2px;
            border-radius: 999px;
            background: var(--footer-accent, #4fb2c2);
            content: "";
        }

    .footer-default .site-footer__menu {
        margin: 0;
        padding: 0;
        list-style: none;
    }

        .footer-default .site-footer__menu li {
            margin-bottom: 10px;
        }

        .footer-default .site-footer__menu a {
            display: inline-flex;
            align-items: center;
            color: var(--footer-text, #4b5563);
            font-size: .88rem;
            line-height: 1.5;
            text-decoration: none;
            transition: color .2s ease, transform .2s ease;
        }

            .footer-default .site-footer__menu a:hover,
            .footer-default .site-footer__menu a:focus-visible {
                color: var(--footer-accent, #4fb2c2);
                transform: translateX(3px);
            }

    .footer-default .footer-socials {
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
    }

    .footer-default .social-btn {
        width: 36px;
        height: 36px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        border-radius: 50%;
        color: #fff;
        font-size: .92rem;
        text-decoration: none;
        box-shadow: 0 5px 14px rgba(0, 0, 0, .1);
        transition: transform .2s ease, filter .2s ease;
    }

        .footer-default .social-btn:hover,
        .footer-default .social-btn:focus-visible {
            color: #fff;
            filter: brightness(.94);
            transform: translateY(-3px);
        }

    .footer-default .facebook {
        background: #1877f2;
    }

    .footer-default .instagram {
        background: #c13584;
    }

    .footer-default .youtube {
        background: #f00;
    }

    .footer-default .tiktok {
        background: #111;
    }

    .footer-default .pinterest {
        background: #e60023;
    }

    .footer-default .twitter {
        background: #1d9bf0;
    }

    .footer-default .zalo {
        background: #0088ff;
    }

    .footer-default .messenger {
        background: #0866ff;
    }

    .footer-default .site-footer__contact-item {
        display: flex;
        align-items: flex-start;
        gap: 11px;
        margin-bottom: 14px;
    }

        .footer-default .site-footer__contact-item > i {
            width: 18px;
            flex-shrink: 0;
            margin-top: 3px;
            color: var(--footer-accent, #4fb2c2);
            text-align: center;
        }

        .footer-default .site-footer__contact-item > div {
            min-width: 0;
        }

        .footer-default .site-footer__contact-item strong {
            display: block;
            margin-bottom: 2px;
            color: var(--footer-title, #603913);
            font-size: .78rem;
            font-weight: 800;
        }

        .footer-default .site-footer__contact-item span,
        .footer-default .site-footer__contact-item a {
            display: block;
            overflow-wrap: anywhere;
            color: var(--footer-text, #4b5563);
            font-size: .86rem;
            line-height: 1.5;
            text-decoration: none;
        }

            .footer-default .site-footer__contact-item a:hover,
            .footer-default .site-footer__contact-item a:focus-visible {
                color: var(--footer-accent, #4fb2c2);
            }

    .footer-default .site-footer__newsletter {
        min-height: 44px;
        display: flex;
        overflow: hidden;
        border: 1px solid rgba(15, 23, 42, .1);
        border-radius: 8px;
        background: #fff;
    }

        .footer-default .site-footer__newsletter input {
            min-width: 0;
            flex: 1;
            padding: 10px 12px;
            border: 0;
            outline: 0;
            background: transparent;
            color: #1f2937;
            font-size: .85rem;
        }

        .footer-default .site-footer__newsletter button {
            width: 46px;
            flex-shrink: 0;
            border: 0;
            background: var(--footer-accent, #4fb2c2);
            color: #fff;
            cursor: pointer;
            transition: filter .2s ease;
        }

            .footer-default .site-footer__newsletter button:hover,
            .footer-default .site-footer__newsletter button:focus-visible {
                filter: brightness(.92);
            }

    .footer-default .pro-footer-map {
        position: relative;
        min-height: 360px;
        overflow: hidden;
        margin-top: 10px;
        border-radius: 16px;
        background: rgba(0, 0, 0, .05);
    }

    .footer-default .map-bg {
        position: absolute;
        inset: 0;
    }

        .footer-default .map-bg iframe {
            width: 100% !important;
            height: 100% !important;
            display: block;
            border: 0;
        }

    .footer-default .contact-floating-card {
        position: relative;
        z-index: 2;
        width: min(390px, calc(100% - 40px));
        margin: 45px;
        padding: 26px;
        border: 1px solid rgba(255, 255, 255, .65);
        border-radius: 14px;
        background: rgba(255, 255, 255, .95);
        box-shadow: 0 18px 50px rgba(0, 0, 0, .18);
        backdrop-filter: blur(12px);
    }

        .footer-default .contact-floating-card h2 {
            margin: 0 0 18px;
            color: var(--footer-title, #603913);
            font-size: 1.2rem;
            font-weight: 800;
        }

    .footer-default .card-item {
        display: flex;
        align-items: flex-start;
        gap: 10px;
        margin-bottom: 12px;
        color: #4b5563;
        font-size: .87rem;
        line-height: 1.5;
    }

        .footer-default .card-item i {
            width: 18px;
            flex-shrink: 0;
            margin-top: 3px;
            color: var(--footer-accent, #4fb2c2);
        }

        .footer-default .card-item a {
            color: inherit;
            text-decoration: none;
        }

            .footer-default .card-item a:hover,
            .footer-default .card-item a:focus-visible {
                color: var(--footer-accent, #4fb2c2);
            }

    .footer-default .btn-direction {
        display: inline-flex;
        align-items: center;
        margin-top: 8px;
        padding: 10px 15px;
        border-radius: 7px;
        background: var(--footer-accent, #4fb2c2);
        color: #fff;
        font-size: .82rem;
        font-weight: 700;
        text-decoration: none;
        transition: transform .2s ease, filter .2s ease;
    }

        .footer-default .btn-direction:hover,
        .footer-default .btn-direction:focus-visible {
            color: #fff;
            filter: brightness(.94);
            transform: translateY(-2px);
        }

    .footer-default .footer-bottom-info {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        margin-top: 0px;
        padding: 20px 0;
        border-top: 1px solid color-mix(in srgb, var(--footer-title) 9%, transparent);
    }

    .footer-default .footer-copyright,
    .footer-default .site-footer__recaptcha-note {
        margin: 0;
        color: var(--footer-text, #4b5563) !important;
        font-size: .70rem;
        line-height: 1.55;
    }

    .footer-default .site-footer__recaptcha-note {
        max-width: 480px;
        text-align: right;
        opacity: .75;
    }

        .footer-default .site-footer__recaptcha-note a {
            color: var(--footer-title, #603913);
            text-decoration: underline;
        }

/* Floating buttons ngoài footer */

.footer-fab-wrapper {
    position: fixed;
    right: 18px;
    bottom: 24px;
    z-index: 1040;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 9px;
}

.footer-fab-item {
    min-height: 46px;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 0;
    border-radius: 999px;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
    transition: transform .2s ease, filter .2s ease;
}

    .footer-fab-item:hover,
    .footer-fab-item:focus-visible {
        color: #fff;
        filter: brightness(.95);
        transform: translateY(-2px);
    }

.footer-fab-icon {
    width: 46px;
    height: 46px;
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

    .footer-fab-icon img {
        width: 21px;
        height: 21px;
        object-fit: contain;
    }

.footer-fab-text {
    padding: 0 16px 0 2px;
    font-size: .78rem;
    font-weight: 700;
    white-space: nowrap;
}

.footer-fab-hotline {
    background: #dc2626;
}

.footer-fab-zalo {
    background: #0088ff;
}

.footer-fab-messenger {
    background: #0866ff;
}

.footer-back-to-top {
    background: #374151;
}

.footer-mobile-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1040;
    min-height: 60px;
    display: flex;
    border-top: 1px solid rgba(0, 0, 0, .08);
    background: rgba(255, 255, 255, .97);
    box-shadow: 0 -6px 22px rgba(0, 0, 0, .08);
    backdrop-filter: blur(10px);
}

.footer-mobile-nav-item {
    min-width: 0;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 7px 4px;
    color: #374151;
    font-size: .68rem;
    text-decoration: none;
}

    .footer-mobile-nav-item i {
        font-size: 1rem;
    }

    .footer-mobile-nav-item img {
        width: 20px;
        height: 20px;
        object-fit: contain;
    }

    .footer-mobile-nav-item:hover,
    .footer-mobile-nav-item:focus-visible {
        color: var(--footer-accent, #4fb2c2);
    }

@media (max-width: 991.98px) {
    .footer-default {
        padding-top: 48px;
    }

        .footer-default .site-footer__grid {
            grid-template-columns: repeat(2, minmax(0, 1fr));
            gap: 34px 28px;
        }

        .footer-default .contact-floating-card {
            margin: 30px;
        }
}

@media (max-width: 767.98px) {
    body:has(.footer-mobile-nav) {
        padding-bottom: 62px;
    }

    .footer-default {
        padding-top: 40px;
    }

        .footer-default .site-footer__grid {
            grid-template-columns: 1fr;
            gap: 30px;
            padding-bottom: 36px;
        }

        .footer-default .site-footer__brand {
            min-width: 0;
        }

        .footer-default .site-footer__logo img {
            max-width: 165px;
        }

        .footer-default .pro-footer-map {
            min-height: 430px;
            border-radius: 12px;
        }

        .footer-default .contact-floating-card {
            position: absolute;
            right: 16px;
            bottom: 16px;
            left: 16px;
            width: auto;
            margin: 0;
            padding: 20px;
        }

        .footer-default .footer-bottom-info {
            flex-direction: column;
            align-items: flex-start;
            gap: 9px;
            margin-top: 32px;
        }

        .footer-default .site-footer__recaptcha-note {
            max-width: none;
            text-align: left;
        }
}

@media (prefers-reduced-motion: reduce) {
    .footer-default *,
    .footer-fab-item,
    .footer-mobile-nav-item {
        scroll-behavior: auto !important;
        transition: none !important;
        animation: none !important;
    }
}

/* CTAAdmission/Default */
.cta-admission {
    position: relative;
    padding: 3rem 0;
    overflow: hidden;
    background-color: #1f2937;
}

.cta-admission--has-bg {
    background-image: var(--cta-admission-bg-image);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.cta-admission__overlay {
    position: absolute;
    inset: 0;
    background: var(--cta-admission-overlay-color);
}

.cta-admission__container {
    position: relative;
    z-index: 2;
}

.cta-admission__contact-pill {
    display: inline-flex;
    align-items: center;
    padding: .5rem 1rem;
    border-radius: 999px;
    background: #fff;
    color: #1f2937;
    text-decoration: none;
}

.cta-admission__form-card {
    border-radius: 20px;
}

.cta-admission__form-title {
    font-size: 1.5rem;
}

.cta-admission__submit {
    border: 0;
    border-radius: 10px;
    background: #ff7e21;
}

    .cta-admission__submit:hover {
        background: #e9660d;
    }

.cta-admission__honeypot {
    position: absolute;
    left: -5000px;
}

/* AboutPageGroup/Default */
/* Sidebar Menu Custom */
.list-group-item-action {
    transition: all 0.3s ease;
    font-weight: 500;
    color: #4b5563;
    border-left: 4px solid transparent !important;
}

    .list-group-item-action:hover {
        background-color: #f3f4f6;
        color: var(--accent-color);
        padding-left: 1.5rem;
    }

    .list-group-item-action.active {
        font-weight: 700;
        border-left: 4px solid #fff !important; /* Tạo vạch nhấn khi active */
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }

/* Content Area */
.about-content {
    line-height: 1.8;
    letter-spacing: 0.01em;
}

.about-inner-content img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.about-inner-content h2, .about-inner-content h3 {
    color: #111;
    font-weight: 700;
    margin-top: 30px;
    margin-bottom: 15px;
}

/* Breadcrumb */
.breadcrumb-item + .breadcrumb-item::before {
    content: "";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    color: #9ca3af;
}

/* Sticky Sidebar chỉnh lại tí cho mượt */
.sticky-top {
    transition: top 0.3s ease;
}
.about-inner-content {
    scroll-margin-top: 120px; /* Khoảng cách để không bị Header che mất */
}
/* 2. Style cho Sidebar Menu */
.about-content-layout .list-group-item {
    transition: all 0.3s ease;
    font-weight: 500;
    color: #4b5563;
    border-bottom: 1px solid #f3f4f6 !important;
}

.about-content-layout .list-group-item:last-child {
    border-bottom: none !important;
}

.about-content-layout .list-group-item:hover:not(.active) {
    background-color: #f9fafb;
    color: var(--accent-color);
    padding-left: 1.5rem; /* Hiệu ứng đẩy nhẹ khi hover */
}

.about-content-layout .list-group-item.active {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    z-index: 2;
}

/* 3. Nội dung CMS */
.about-inner-content {
    margin-bottom: 3rem; /* Khoảng cách giữa các mục nội dung */
    padding-bottom: 2rem;
    border-bottom: 1px dashed #eee;
}

.about-inner-content:last-child {
    border-bottom: none;
}
/* Container chính chứa nội dung từ Editor */
.about-inner-content {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

/* 1. Xử lý Hình ảnh: Không bao giờ được tràn khung */
.about-inner-content img {
    max-width: 100% !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 15px;
    margin: 1.5rem 0;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

/* 2. Xử lý Table: Tự động hiện thanh cuộn ngang khi quá rộng trên Mobile */
.about-inner-content table {
    width: 100% !important;
    max-width: 100%;
    margin-bottom: 1rem;
    background-color: transparent;
    border-collapse: collapse;
    display: block; /* Quan trọng: để có thể cuộn ngang */
    overflow-x: auto; /* Tự động hiện thanh cuộn */
    -webkit-overflow-scrolling: touch;
}

/* 3. Xử lý Video Youtube (Iframe): Giữ đúng tỷ lệ 16:9 và co giãn */
.about-inner-content iframe,
.about-inner-content embed,
.about-inner-content object {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9; /* Tự động tính chiều cao theo chiều rộng */
    border-radius: 12px;
}

/* 4. Breadcrumb xịn */
.breadcrumb-item + .breadcrumb-item::before {
    content: "";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 10px;
    color: #d1d5db;
}

/* 5. Responsive cho Mobile */
@@media (max-width: 991.98px) {
    .sticky-top {
        position: relative !important;
        top: 0 !important;
        margin-bottom: 2rem;
    }

    .about-content {
        padding: 1.5rem !important;
    }
}