/* Skin ngay-2807 — chiều cao viewport thực (Safari iPhone/iPad)
 * JS ghi --vvh (px) từ visualViewport / innerHeight.
 * Fallback: 100dvh (Safari hiện đại) → 100vh.
 */
@import url('./commemorative.css');

body.event-theme-ngay-2807 {
    --vvh: 100dvh;
    --hero-layout-max: 100%;
    --header-height: 72px;
    --hero-qa-side: 12px;
    --hero-qa-bottom: calc(12px + env(safe-area-inset-bottom, 0px));
    --hero-stack-gap: 2vh;
    --hero-qa-h: 110px;
    --hero-qa-icon: 40px;
    --hero-qa-icon-img: 22px;
    --hero-qa-label: clamp(9px, 2.2vw, 11px);
    --hero-qa-radius: 18px;
    --hero-qa-gap: 2px;
    --hero-qa-pad: 10px 6px;
    --hero-qa-glass: rgba(255, 255, 255, 0.28);
    --hero-qa-glass-border: rgba(255, 255, 255, 0.5);
    --hero-search-max-w: min(92vw, 600px);
    --hero-search-height: 48px;
    --hero-search-radius: 50px;
    --hero-search-blur: 12px;
    --hero-search-bg: rgba(255, 255, 255, 0.3);
    --hero-search-shadow: 0 4px 20px rgba(0, 0, 0, 0.28);
    --hero-search-font: 16px;
    --hero-search-btn-pad-x: 22px;
    --hero-search-btn-bg: #e61e25;
}

/* TEMP ẩn preview bar */
body.event-theme-ngay-2807 .event-theme-preview-bar,
body.event-theme-ngay-2807 .event-theme-preview-bar + div[aria-hidden="true"] {
    display: none !important;
}

/* Header 28.7 — Figma 2036:3340 */
body.event-theme-ngay-2807 header,
body.event-theme-ngay-2807 header.transparent,
body.event-theme-ngay-2807 header.transparent.scrolled,
body.event-theme-ngay-2807 header.transparent:hover {
    display: block !important;
    padding: 8px 60px !important;
    background: rgba(0, 0, 0, 0.5) !important;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12) !important;
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
}

body.event-theme-ngay-2807 header.transparent::after {
    display: none !important;
}

body.event-theme-ngay-2807 header .header-container {
    width: 100%;
    max-width: 1320px;
    gap: 16px;
}

body.event-theme-ngay-2807 header .logo img,
body.event-theme-ngay-2807 header.transparent.scrolled .logo img,
body.event-theme-ngay-2807 header.transparent:hover .logo img {
    width: 60px;
    height: 60px;
}

body.event-theme-ngay-2807 header .main-nav > ul {
    gap: 5px;
}

body.event-theme-ngay-2807 header .main-nav > ul > li > a,
body.event-theme-ngay-2807 header.transparent .main-nav > ul > li > a,
body.event-theme-ngay-2807 header.transparent.scrolled .main-nav > ul > li > a,
body.event-theme-ngay-2807 header.transparent:hover .main-nav > ul > li > a {
    padding: 10px 20px;
    color: #e8e8e8 !important;
    font-size: 16px;
    font-weight: 500;
    line-height: 25.6px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

body.event-theme-ngay-2807 header .main-nav > ul > li > a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.12);
}

body.event-theme-ngay-2807 header .main-nav .dropdown-menu a {
    color: #333 !important;
    text-shadow: none;
}

body.event-theme-ngay-2807 header .header-actions {
    gap: 12px;
}

body.event-theme-ngay-2807 header .support-24x7 .btn-default,
body.event-theme-ngay-2807 header.transparent .support-24x7 .btn-default,
body.event-theme-ngay-2807 header.transparent.scrolled .support-24x7 .btn-default,
body.event-theme-ngay-2807 header.transparent:hover .support-24x7 .btn-default {
    padding: 12px 24px;
    color: #333 !important;
    background: #eef0f2 !important;
    border: 0;
    border-radius: 25px;
    box-shadow: none !important;
    font-size: 14px;
    font-weight: 400;
    line-height: 21px;
}

body.event-theme-ngay-2807 header .support-24x7 .btn-default i,
body.event-theme-ngay-2807 header.transparent .support-24x7 .btn-default i {
    color: #333 !important;
    font-size: 14px;
}

body.event-theme-ngay-2807 header .btn-login,
body.event-theme-ngay-2807 header.transparent .btn-login,
body.event-theme-ngay-2807 header.transparent.scrolled .btn-login,
body.event-theme-ngay-2807 header.transparent:hover .btn-login {
    padding: 12px 24px;
    border-radius: 25px;
    color: #fff !important;
    background: #e61e25 !important;
    border-color: transparent !important;
    box-shadow: 0 2px 4px rgba(230, 30, 37, 0.25);
    font-size: 14px;
    font-weight: 400;
    line-height: 22.4px;
}

body.event-theme-ngay-2807 header .btn-login:hover,
body.event-theme-ngay-2807 header.transparent .btn-login:hover {
    background: #c41820 !important;
    color: #fff !important;
}

body.event-theme-ngay-2807 header .btn-login i,
body.event-theme-ngay-2807 header.transparent .btn-login i,
body.event-theme-ngay-2807 header.transparent.scrolled .btn-login i,
body.event-theme-ngay-2807 header.transparent:hover .btn-login i {
    color: #fff !important;
}

/* Hero */
body.event-theme-ngay-2807 .hero-slider {
    /* border: 10px solid red; */
    position: relative !important;
    /* Trên news-events-section (z-index:10) để dropdown search không bị đè */
    z-index: 20;
    height: var(--vvh, 100dvh) !important;
    min-height: var(--vvh, 100dvh) !important;
    max-height: none !important;
    box-sizing: border-box;
    /* visible: dropdown #heroSearchDropdown không bị cắt */
    overflow: visible;
    background-color: #0b1d4a;
    background-image: var(--hero-bg-mobile, var(--hero-bg-desktop, var(--hero-bg, none)));
    /* Mobile: cover để ảnh portrait phủ kín chiều cao viewport (contain để letterbox) */
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat;
}

/* Ẩn sticky QA — dùng QA trong hero */
body.event-theme-ngay-2807 .sticky-quick-access-bar {
    display: none !important;
}

body.event-theme-ngay-2807 .hero-slider .hero-greeting,
body.event-theme-ngay-2807 .hero-slider .hero-greeting .greeting-icon,
body.event-theme-ngay-2807 .hero-slider .hero-greeting .greeting-welcome,
body.event-theme-ngay-2807 .hero-slider .hero-greeting .greeting-text,
body.event-theme-ngay-2807 .hero-slider .banner-event {
    display: none !important;
}

/* Neo overlay theo hero thay vì viewport (mặc định .hero-background là fixed) */
body.event-theme-ngay-2807 .hero-slider .hero-background {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    z-index: 0 !important;
}

/* Overlay title — chỉ hiện ≥992px (JS không chèn DOM dưới mốc này) */
body.event-theme-ngay-2807 .hero-slider .event-2807-title {
    display: none !important;
    position: absolute;
    /* Khoảng trống giữa nhóm người (trái) và khối "97 NĂM" (phải) */
    left: 54%;
    top: clamp(24%, calc(var(--header-height) + 14%), 34%);
    transform: translateX(-50%);
    z-index: 2;
    width: 100%;
    max-width: 28vw;
    /* Tỉ lệ ảnh 2560-text.png (909×682) — img 100% khít, không bị canh giữa dọc */
    aspect-ratio: 909 / 682;
    margin: 0;
    padding: 0;
    pointer-events: none;
    justify-content: center;
    align-items: flex-start;
}

body.event-theme-ngay-2807 .hero-slider .event-2807-title img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 6px 18px rgba(0, 0, 0, 0.35));
}

/* Khung neo search + QA */
body.event-theme-ngay-2807 .hero-slider > .hero-content.container,
body.event-theme-ngay-2807 .hero-slider .hero-content {
    position: absolute !important;
    left: 0 !important;
    right: 0 !important;
    top: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    z-index: 5;
    width: 100% !important;
    max-width: var(--hero-layout-max) !important;
    height: auto !important;
    margin: 0 auto !important;
    padding: 0 !important;
    display: block !important;
    box-sizing: border-box;
    pointer-events: none;
}

body.event-theme-ngay-2807 .hero-slider .hero-content .hero-search-form {
    pointer-events: auto;
}

/* Search — absolute, cách đỉnh QA đúng 20px
 * Không dùng transform: Safari iOS dễ auto-zoom input khi ancestor có transform. */
body.event-theme-ngay-2807 .hero-slider .hero-search-form {
    position: absolute !important;
    left: 0;
    right: 0;
    top: auto !important;
    bottom: calc(var(--hero-qa-bottom) + var(--hero-qa-h) + var(--hero-stack-gap)) !important;
    transform: none !important;
    width: var(--hero-search-max-w);
    height: var(--hero-search-height);
    max-width: calc(100% - 30px);
    margin: 0 auto !important;
    padding: 0 !important;
    z-index: 1001;
    overflow: visible;
    box-sizing: border-box;
    display: block !important;
}

body.event-theme-ngay-2807 .hero-slider .hero-search-form .search-input-wrapper {
    background: var(--hero-search-bg);
    backdrop-filter: blur(var(--hero-search-blur));
    -webkit-backdrop-filter: blur(var(--hero-search-blur));
    border: none !important;
    border-radius: var(--hero-search-radius);
    box-shadow: var(--hero-search-shadow);
    overflow: hidden;
    height: 100% !important;
    min-height: 0 !important;
    max-height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    position: relative;
    box-sizing: border-box;
}

body.event-theme-ngay-2807 .hero-slider .hero-search-form .search-icon {
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
}

body.event-theme-ngay-2807 .hero-slider .hero-search-form .search-icon path {
    stroke: #ffffff !important;
}

body.event-theme-ngay-2807 .hero-slider .hero-search-form .hero-search-input {
    padding: 0 16px 0 48px !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    /* ≥16px: Safari iPhone không auto-zoom khi focus */
    font-size: 16px !important;
    font-weight: 400;
    line-height: 1.25 !important;
    color: #ffffff !important;
    caret-color: #ffffff;
    align-self: stretch;
    box-sizing: border-box;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    transform: none !important;
}

body.event-theme-ngay-2807 .hero-slider .hero-search-form .hero-search-input::placeholder {
    color: #ffffff !important;
    opacity: 0.95 !important;
}

body.event-theme-ngay-2807 .hero-slider .search-submit-btn {
    background: var(--hero-search-btn-bg) !important;
    color: #ffffff !important;
    border: none !important;
    border-radius: 0 var(--hero-search-radius) var(--hero-search-radius) 0 !important;
    box-shadow: none !important;
    padding: 0 var(--hero-search-btn-pad-x) !important;
    height: 100% !important;
    min-height: 0 !important;
    margin: 0 !important;
    font-size: var(--hero-search-font) !important;
    font-weight: 600;
    line-height: 1 !important;
    white-space: nowrap;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    flex-shrink: 0;
    transform: none !important;
    box-sizing: border-box;
}

body.event-theme-ngay-2807 .hero-slider .search-submit-btn:hover {
    background: #c41820 !important;
    color: #ffffff !important;
    transform: none !important;
}

body.event-theme-ngay-2807 .hero-slider #heroSearchDropdown,
body.event-theme-ngay-2807 .hero-slider .hero-search-dropdown,
body.event-theme-ngay-2807 .hero-slider .hero-search-form > div[id="heroSearchDropdown"] {
    z-index: 1002 !important;
    background: #fff !important;
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 0 !important;
    right: 0 !important;
    border-radius: 12px;
    color: #1f2937;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
    max-height: min(380px, 50vh);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

/* Section tin tức không đè dropdown search */
body.event-theme-ngay-2807 .news-events-section {
    z-index: 1;
}

/* QA trong hero — hiện cả mobile (style.css đang ẩn) */
body.event-theme-ngay-2807 .hero-slider .quick-access-bar {
    display: block !important;
    position: absolute !important;
    left: var(--hero-qa-side) !important;
    right: var(--hero-qa-side) !important;
    bottom: var(--hero-qa-bottom) !important;
    top: auto !important;
    z-index: 4;
    width: auto !important;
    max-width: var(--hero-layout-max) !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 auto !important;
    background: transparent !important;
    padding: 0 !important;
    transform: none !important;
    animation: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    border-radius: 0 !important;
}

/* Khi cuộn: QA fixed đáy viewport — giữ cùng chiều ngang (max-width) như lúc absolute */
body.event-theme-ngay-2807 .hero-slider .quick-access-bar.is-fixed {
    position: fixed !important;
    left: var(--hero-qa-side) !important;
    right: var(--hero-qa-side) !important;
    bottom: var(--hero-qa-bottom) !important;
    z-index: 1000;
    max-width: var(--hero-layout-max) !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Cuộn xuống: label đỏ nổi hơn trên nền section sáng */
body.event-theme-ngay-2807 .hero-slider .quick-access-bar.is-fixed .quick-label,
body.event-theme-ngay-2807 .hero-slider .quick-access-bar.is-fixed .quick-access-item:hover .quick-label {
    color: var(--hero-search-btn-bg) !important;
}

body.event-theme-ngay-2807 .hero-slider .quick-access-bar .container {
    max-width: none;
    width: 100%;
    height: auto;
    min-height: 0;
    background: var(--hero-qa-glass) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: var(--hero-qa-radius) !important;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 0 0 1px var(--hero-qa-glass-border) !important;
    padding: var(--hero-qa-pad) !important;
}

body.event-theme-ngay-2807 .hero-slider .quick-access-bar .row {
    justify-content: space-between;
    flex-wrap: nowrap;
    align-items: stretch;
    gap: var(--hero-qa-gap);
    height: auto;
    margin: 0;
}

body.event-theme-ngay-2807 .hero-slider .quick-access-bar .row > [class*="col"],
body.event-theme-ngay-2807 .hero-slider .quick-access-bar .row > * {
    flex: 1 1 0 !important;
    width: auto !important;
    max-width: none !important;
    min-width: 0;
    height: auto;
    min-height: 0;
    display: flex;
    padding-left: 2px;
    padding-right: 2px;
}

body.event-theme-ngay-2807 .hero-slider .quick-access-item {
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    color: #fff;
    width: 100%;
    height: 100%;
    min-height: 0 !important;
    padding: 4px 2px !important;
    gap: 6px !important;
    opacity: 1 !important;
    visibility: visible !important;
    transform: none !important;
    animation: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

body.event-theme-ngay-2807 .hero-slider .quick-access-item::before,
body.event-theme-ngay-2807 .hero-slider .quick-access-item .quick-icon::after {
    display: none !important;
}

body.event-theme-ngay-2807 .hero-slider .quick-access-item .quick-label {
    color: #ffffff !important;
    font-weight: 500;
    font-size: var(--hero-qa-label) !important;
    line-height: 1.2 !important;
    white-space: normal;
    text-align: center;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

body.event-theme-ngay-2807 .hero-slider .quick-access-item .quick-icon {
    background: #ffffff !important;
    border: none !important;
    border-radius: 10px !important;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
    width: var(--hero-qa-icon) !important;
    height: var(--hero-qa-icon) !important;
    min-width: var(--hero-qa-icon);
    min-height: var(--hero-qa-icon);
    flex: 0 0 auto;
    overflow: visible;
}

body.event-theme-ngay-2807 .hero-slider .quick-access-item .quick-icon-img {
    width: var(--hero-qa-icon-img) !important;
    height: var(--hero-qa-icon-img) !important;
    object-fit: contain;
    filter: grayscale(1) brightness(0) invert(28%) !important;
    opacity: 0.9;
    transform: none !important;
}

@media (min-width: 744px) {
    body.event-theme-ngay-2807 {
        --hero-qa-side: 24px;
        --hero-qa-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
        --hero-qa-h: 96px;
        --hero-search-max-w: min(600px, 72vw);
        --hero-search-height: 52px;
        --hero-search-btn-pad-x: 28px;
    }
}

@media (min-width: 768px) {
    body.event-theme-ngay-2807 {
        --hero-stack-gap: 3vh;
    }
}

@media (min-width: 992px) {
    body.event-theme-ngay-2807 {
        --hero-layout-max: 1320px;
        --hero-qa-side: 4%;
        --hero-qa-h: 112px;
        --hero-qa-gap: 12px;
        --hero-qa-icon: 48px;
        --hero-qa-icon-img: 26px;
        --hero-qa-label: 13px;
        --hero-search-max-w: min(600px, 48vw);
        --hero-search-height: 56px;
        --hero-search-btn-pad-x: 32px;
        --hero-search-font: 16px;
    }

    /* ≥992px (PC ngang) — dùng ảnh PC admin upload; contain đến khi ≥1400 */
    body.event-theme-ngay-2807 .hero-slider {
        background-image: var(--hero-bg-desktop, var(--hero-bg, none)) !important;
        background-size: contain !important;
    }

    body.event-theme-ngay-2807 .hero-slider .event-2807-title {
        display: flex !important;
        top: clamp(12%, calc(var(--header-height) + 6%), 20%);
    }

    /* QA ≥992 — Figma 2160:50113: item tách rời, chỉ lấy màu */
    body.event-theme-ngay-2807 .hero-slider .quick-access-bar .container {
        background: transparent !important;
        backdrop-filter: none;
        -webkit-backdrop-filter: none;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
    }

    body.event-theme-ngay-2807 .hero-slider .quick-access-bar .row {
        gap: var(--hero-qa-gap);
        align-items: stretch;
    }

    body.event-theme-ngay-2807 .hero-slider .quick-access-bar .row > [class*="col"],
    body.event-theme-ngay-2807 .hero-slider .quick-access-bar .row > * {
        padding-left: 0;
        padding-right: 0;
        height: 100%;
    }

    body.event-theme-ngay-2807 .hero-slider .quick-access-item {
        background: rgba(255, 255, 255, 0.24) !important;
        border: 1px solid #ffffff !important;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border-radius: 16px !important;
        box-shadow: inset 0 0 16px 0 #a3e0ff !important;
        padding: 14px 6px 12px !important;
        gap: 8px !important;
    }

    body.event-theme-ngay-2807 .hero-slider .quick-access-item:hover {
        background: rgba(255, 255, 255, 0.34) !important;
        transform: translateY(-2px) !important;
    }

    body.event-theme-ngay-2807 .hero-slider .quick-access-item .quick-label {
        color: #e8e8e8 !important;
        font-weight: 600;
        font-size: var(--hero-qa-label) !important;
        line-height: 1.3 !important;
        text-shadow: none;
    }

    body.event-theme-ngay-2807 .hero-slider .quick-access-item:hover .quick-label {
        color: #ffffff !important;
    }

    body.event-theme-ngay-2807 .hero-slider .quick-access-item .quick-icon {
        background: linear-gradient(135deg, #f5f8fc 0%, #e8f2f8 100%) !important;
        border: 1px solid rgba(208, 0, 0, 0.1) !important;
        border-radius: 14px !important;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
        width: var(--hero-qa-icon) !important;
        height: var(--hero-qa-icon) !important;
        min-width: var(--hero-qa-icon);
        min-height: var(--hero-qa-icon);
    }

    body.event-theme-ngay-2807 .hero-slider .quick-access-item .quick-icon-img {
        width: var(--hero-qa-icon-img) !important;
        height: var(--hero-qa-icon-img) !important;
        filter: none !important;
        opacity: 1;
    }
}

/* ≥1400px — ảnh hero phủ kín khung */
@media (min-width: 1400px) {
    body.event-theme-ngay-2807 .hero-slider {
        background-size: cover !important;
    }
}

@media (min-width: 1440px) {
    body.event-theme-ngay-2807 .hero-slider .event-2807-title {
        max-width: 25vw;
    }
}

@media (min-width: 2560px) {
    body.event-theme-ngay-2807 .hero-slider .event-2807-title {
        top: clamp(20%, calc(var(--header-height) + 12%), 30%);
    }
}

/* ═══════════════ RESPONSIVE (max-width: nhỏ → lớn) ═══════════════ */
@media (max-width: 992px) {
    body.event-theme-ngay-2807 header,
    body.event-theme-ngay-2807 header.transparent,
    body.event-theme-ngay-2807 header.transparent.scrolled,
    body.event-theme-ngay-2807 header.transparent:hover {
        padding: 8px 0 !important;
    }

    body.event-theme-ngay-2807 header .header-container {
        max-width: 1200px;
        padding: 6px 15px;
    }

    body.event-theme-ngay-2807 header .mobile-menu-toggle,
    body.event-theme-ngay-2807 header.transparent .mobile-menu-toggle,
    body.event-theme-ngay-2807 header.transparent.scrolled .mobile-menu-toggle,
    body.event-theme-ngay-2807 header.transparent:hover .mobile-menu-toggle {
        width: 44px;
        height: 44px;
        padding: 0;
        color: #fff !important;
        font-size: 22px;
        text-shadow: none;
    }

    body.event-theme-ngay-2807 header .logo img,
    body.event-theme-ngay-2807 header.transparent.scrolled .logo img,
    body.event-theme-ngay-2807 header.transparent:hover .logo img {
        width: 60px;
        height: 60px;
    }

    body.event-theme-ngay-2807 header .header-actions {
        gap: 8px;
    }

    body.event-theme-ngay-2807 header .support-24x7 .btn-default,
    body.event-theme-ngay-2807 header.transparent .support-24x7 .btn-default,
    body.event-theme-ngay-2807 header.transparent.scrolled .support-24x7 .btn-default,
    body.event-theme-ngay-2807 header.transparent:hover .support-24x7 .btn-default,
    body.event-theme-ngay-2807 header .btn-login,
    body.event-theme-ngay-2807 header.transparent .btn-login,
    body.event-theme-ngay-2807 header.transparent.scrolled .btn-login,
    body.event-theme-ngay-2807 header.transparent:hover .btn-login {
        width: 44px;
        height: 44px;
        padding: 0;
        border-radius: 22px;
        justify-content: center;
    }

    body.event-theme-ngay-2807 header .btn-login,
    body.event-theme-ngay-2807 header.transparent .btn-login,
    body.event-theme-ngay-2807 header.transparent.scrolled .btn-login,
    body.event-theme-ngay-2807 header.transparent:hover .btn-login {
        background: #e61e25 !important;
        color: #fff !important;
    }

    body.event-theme-ngay-2807 header .support-24x7 .btn-default,
    body.event-theme-ngay-2807 header.transparent .support-24x7 .btn-default,
    body.event-theme-ngay-2807 header.transparent.scrolled .support-24x7 .btn-default,
    body.event-theme-ngay-2807 header.transparent:hover .support-24x7 .btn-default {
        overflow: hidden;
        font-size: 0 !important;
        line-height: 0 !important;
        white-space: nowrap;
    }

    body.event-theme-ngay-2807 header .support-24x7 .btn-default i,
    body.event-theme-ngay-2807 header.transparent .support-24x7 .btn-default i,
    body.event-theme-ngay-2807 header.transparent.scrolled .support-24x7 .btn-default i,
    body.event-theme-ngay-2807 header.transparent:hover .support-24x7 .btn-default i {
        font-size: 18px !important;
        line-height: 1 !important;
    }

    body.event-theme-ngay-2807 header .btn-login span {
        display: none;
    }

    body.event-theme-ngay-2807 header .btn-login i,
    body.event-theme-ngay-2807 header.transparent .btn-login i,
    body.event-theme-ngay-2807 header.transparent.scrolled .btn-login i,
    body.event-theme-ngay-2807 header.transparent:hover .btn-login i {
        font-size: 12px !important;
        color: #fff !important;
    }

    body.event-theme-ngay-2807 header .main-nav {
        background: rgba(255, 255, 255, 0.98);
    }

    body.event-theme-ngay-2807 header .main-nav > ul > li > a,
    body.event-theme-ngay-2807 header.transparent .main-nav > ul > li > a,
    body.event-theme-ngay-2807 header.transparent.scrolled .main-nav > ul > li > a,
    body.event-theme-ngay-2807 header.transparent:hover .main-nav > ul > li > a {
        color: #333 !important;
        font-size: 14px;
        line-height: 22.4px;
        text-shadow: none;
    }
}

@media (max-width: 1399px) and (min-width: 993px) {
    body.event-theme-ngay-2807 header,
    body.event-theme-ngay-2807 header.transparent,
    body.event-theme-ngay-2807 header.transparent.scrolled,
    body.event-theme-ngay-2807 header.transparent:hover {
        padding-right: 16px !important;
        padding-left: 16px !important;
    }

    body.event-theme-ngay-2807 header .header-container {
        gap: 8px;
    }

    body.event-theme-ngay-2807 header .main-nav > ul > li > a,
    body.event-theme-ngay-2807 header.transparent .main-nav > ul > li > a {
        padding: 10px 15px;
        font-size: 14px;
        line-height: 22.4px;
    }

    body.event-theme-ngay-2807 header .header-actions {
        gap: 8px;
    }
}
