/* ==========================================================
   Divine Dhanwantari Hospital — Header
   Theme from logo: Red #E31E24 · Blue #14609F · Green #1E8A5A
   File: public/assets/css/header.css
   ========================================================== */

:root {
    --hd-red: #e31e24;
    --hd-red-dark: #b3151a;
    --hd-blue: #14609f;
    --hd-blue-dark: #0b3f6e;
    --hd-navy: #082c4f;
    --hd-green: #1e8a5a;
    --hd-ink: #1b2a3a;
    --hd-muted: #5b6b7c;
    --hd-soft: #f2f7fc;
    --hd-line: #dce6f0;
    --hd-radius: 14px;
    --hd-font: 'Poppins', 'Segoe UI', system-ui, -apple-system, Roboto, Arial, sans-serif;
}

.topbar, .brandbar, .mainnav, .mobile-nav { font-family: var(--hd-font); }
.topbar a, .brandbar a, .mainnav a, .mobile-nav a { text-decoration: none; }
.nav-list, .mega-col, .dropdown-x, .flyout, .m-list, .m-sub { list-style: none; margin: 0; padding: 0; }

/* =========================================================
   TOP STRIP
   ========================================================= */
.topbar {
    background: linear-gradient(90deg, var(--hd-navy) 0%, var(--hd-blue-dark) 55%, var(--hd-blue) 100%);
    color: #fff;
    font-size: 13.5px;
    font-weight: 500;
    position: relative;
    z-index: 1035;
}
.topbar::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--hd-red), var(--hd-blue), var(--hd-green));
    opacity: .9;
}
.topbar .container {
    min-height: 46px;
    flex-wrap: nowrap;
}
.topbar a { color: #fff; white-space: nowrap; transition: opacity .2s; }
.topbar a:hover { color: #fff; opacity: .85; }

.topbar-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    flex: none;
}
.topbar-chip i {
    width: 28px; height: 28px;
    display: inline-grid; place-items: center;
    flex: none;
    background: rgba(255,255,255,.16);
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    transition: background .2s;
}
.topbar-chip:hover i { background: var(--hd-red); }

.topbar-notice {
    flex: 1 1 auto;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 14px;
    margin-left: auto;
    overflow: hidden;
}
.notice-badge {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--hd-red);
    color: #fff;
    font-weight: 600;
    font-size: 12.5px;
    padding: 5px 14px;
    border-radius: 999px;
    white-space: nowrap;
}
.notice-track {
    overflow: hidden;
    flex: 1 1 auto;
    min-width: 0;
    max-width: 100%;
}
.notice-text {
    display: inline-block;
    padding-left: 100%;
    white-space: nowrap;
    animation: hd-marquee 34s linear infinite;
}
.notice-text::before {
    content: "\25CF";
    color: #ff5a55;
    margin-right: 10px;
    font-size: 10px;
    vertical-align: middle;
}
.notice-track:hover .notice-text { animation-play-state: paused; }
@keyframes hd-marquee {
    to { transform: translateX(-100%); }
}

/* =========================================================
   BRAND BAR
   ========================================================= */
.brandbar {
    background:
        radial-gradient(800px 200px at 88% 10%, rgba(20,96,159,.08), transparent 70%),
        #fff;
    padding: 16px 0;
    position: relative;
    z-index: 1034;
}
.brandbar .container { flex-wrap: nowrap; }
.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    color: inherit;
    min-width: 0;
    flex: 0 1 auto;
}
.brand-logo {
    width: 80px; height: 80px;
    flex: none;
    object-fit: contain;
    border-radius: 50%;
    background: #fff;
    padding: 2px;
    box-shadow: 0 0 0 4px rgba(227,30,36,.10), 0 8px 20px rgba(20,96,159,.22);
    transition: transform .3s ease;
}
.brand:hover .brand-logo { transform: scale(1.04) rotate(-3deg); }
.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.25;
    min-width: 0;
}
.brand-name {
    font-size: 26px;
    font-weight: 700;
    color: var(--hd-blue);
    letter-spacing: -.2px;
    line-height: 1.15;
}
.brand-sub {
    font-size: 14.5px;
    font-weight: 500;
    color: var(--hd-muted);
    line-height: 1.3;
    margin-top: 2px;
}
.brand-tag {
    font-size: 13px;
    font-weight: 600;
    color: var(--hd-red);
    line-height: 1.3;
    margin-top: 2px;
}

.brand-actions {
    flex: none;
    margin-left: auto;
    display: flex;
    align-items: stretch;
    gap: 12px;
}
.btn-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding: 10px 22px;
    border-radius: 999px;
    border: 0;
    font: 600 14.5px/1.15 var(--hd-font);
    color: #fff;
    white-space: nowrap;
    transition: transform .2s, box-shadow .2s;
    text-decoration: none;
    box-sizing: border-box;
}
.btn-pill.is-red,
.btn-pill.is-blue { min-width: 220px; }
.btn-pill:hover, .btn-pill:focus {
    color: #fff;
    transform: translateY(-2px);
}
.btn-pill small {
    display: block;
    font-size: 10.5px;
    font-weight: 500;
    opacity: .9;
    margin-bottom: 2px;
    line-height: 1;
    text-align: left;
}
.btn-pill b {
    display: block;
    font-weight: 700;
    line-height: 1.1;
    font-size: 14.5px;
    text-align: left;
}
.btn-pill.is-red {
    background: linear-gradient(135deg, #ee3a35, var(--hd-red-dark));
    box-shadow: 0 8px 18px rgba(227,30,36,.30), inset 0 0 0 2px rgba(255,255,255,.18);
}
.btn-pill.is-blue {
    background: linear-gradient(135deg, var(--hd-blue), var(--hd-blue-dark));
    box-shadow: 0 8px 18px rgba(20,96,159,.32), inset 0 0 0 2px rgba(255,255,255,.18);
}

.btn-pill.is-login {
    background: #fff;
    color: var(--hd-blue);
    border: 2px solid var(--hd-blue);
    box-shadow: 0 6px 14px rgba(20,96,159,.15);
    padding: 9px 22px;
    font-weight: 600;
    transition: all .25s ease;
    min-width: auto;
}
.btn-pill.is-login i {
    font-size: 14px;
    color: var(--hd-blue);
    transition: color .25s ease;
}
.btn-pill.is-login:hover,
.btn-pill.is-login:focus {
    background: var(--hd-blue);
    color: #fff;
    border-color: var(--hd-blue);
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(20,96,159,.3);
}
.btn-pill.is-login:hover i,
.btn-pill.is-login:focus i { color: #fff; }

.btn-brand {
    background: linear-gradient(135deg, var(--hd-red), var(--hd-red-dark));
    color: #fff;
    border: 0;
    border-radius: 999px;
    padding: 10px 22px;
    font-weight: 600;
    font-family: var(--hd-font);
    font-size: 14px;
    box-shadow: 0 8px 18px rgba(227,30,36,.28);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.btn-brand:hover, .btn-brand:focus { color: #fff; transform: translateY(-1px); }
.btn-brand.btn-sm { padding: 8px 16px; font-size: 13px; }

.btn-outline-brand {
    border: 2px solid var(--hd-blue);
    color: var(--hd-blue);
    border-radius: 999px;
    font-weight: 600;
    background: transparent;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    font-size: 14px;
}
.btn-outline-brand:hover { background: var(--hd-blue); color: #fff; }

.nav-toggle {
    width: 46px; height: 46px;
    border-radius: 12px;
    flex: none;
    background: var(--hd-blue);
    color: #fff;
    font-size: 18px;
    border: 0;
    margin-left: auto;
}
.nav-toggle:hover, .nav-toggle:focus {
    background: var(--hd-blue-dark);
    color: #fff;
}

/* =========================================================
   MAIN NAV — floating pill
   ========================================================= */
.mainnav {
    position: sticky;
    top: 10px;
    z-index: 1030;
    padding: 8px 0 16px;
    background: linear-gradient(#fff 65%, transparent);
    pointer-events: none;
    overflow: visible;
}
.mainnav .container {
    position: relative;
    pointer-events: auto;
    overflow: visible;
}
.nav-list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1px;
    padding: 6px 8px;
    background: linear-gradient(90deg, var(--hd-navy) 0%, var(--hd-blue-dark) 55%, var(--hd-blue) 100%);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 999px;
    box-shadow: 0 12px 32px rgba(8,44,79,.28);
    flex-wrap: nowrap;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    /* overflow: hidden REMOVED — dropdowns ke liye zaroori */
}
.nav-item-x {
    position: relative;
    display: flex;
    align-items: center;
    z-index: 10;
}
.nav-item-x.is-mega { position: static; }

.nav-link-x {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 14px;
    border: 0;
    background: transparent;
    cursor: pointer;
    font: 600 14px/1 var(--hd-font);
    color: rgba(255,255,255,.94);
    border-radius: 999px;
    transition: background .2s, color .2s;
    white-space: nowrap;
    position: relative;
}
.nav-link-x > i:first-child {
    font-size: 12px;
    opacity: .9;
    margin-right: 0;
}
.nav-link-x > i.fa-chevron-down {
    font-size: 8px;
    opacity: .7;
    margin-left: 1px;
    transition: transform .2s;
}
.nav-link-x:hover > i.fa-chevron-down,
.nav-item-x.open > .nav-link-x > i.fa-chevron-down,
.nav-item-x:hover > .nav-link-x > i.fa-chevron-down {
    transform: rotate(180deg);
}

.nav-link-x:hover,
.nav-item-x.open > .nav-link-x,
.nav-item-x:hover > .nav-link-x {
    background: rgba(255,255,255,.15);
    color: #fff;
}

.nav-link-x.active,
.nav-link-x.active:hover,
.nav-link-x.active:focus {
    background: linear-gradient(135deg, #e31e24 0%, #8a1c3f 50%, #082c4f 100%);
    color: #fff;
    box-shadow: 0 6px 16px rgba(227,30,36,.45), inset 0 0 0 1px rgba(255,255,255,.15);
}

.nav-link-x:focus-visible,
.mega-col a:focus-visible,
.dropdown-x a:focus-visible,
.btn:focus-visible,
.brand:focus-visible {
    outline: 3px solid rgba(227,30,36,.5);
    outline-offset: 2px;
}

/* Right CTA pill */
.nav-cta {
    margin-left: 8px;
    flex: none;
    display: flex;
    align-items: center;
}
.nav-cta a {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 11px 24px;
    border-radius: 999px;
    color: #fff;
    font: 700 14px/1 var(--hd-font);
    background: linear-gradient(135deg, #e31e24, #b3151a);
    box-shadow: 0 8px 18px rgba(227,30,36,.4), 0 0 0 4px rgba(227,30,36,.14);
    transition: transform .2s, box-shadow .2s;
    white-space: nowrap;
}
.nav-cta a:hover,
.nav-cta a:focus {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 12px 22px rgba(227,30,36,.5), 0 0 0 4px rgba(227,30,36,.18);
}

/* =========================================================
   DROPDOWNS
   ========================================================= */
.drop {
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 1040;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity .2s, transform .2s, visibility .2s;
}
.drop::before {
    content: "";
    position: absolute;
    left: 0; right: 0; top: -14px; height: 14px;
}
.nav-item-x.has-drop:hover > .drop,
.nav-item-x.has-drop:focus-within > .drop,
.nav-item-x.has-drop.open > .drop {
    opacity: 1;
    visibility: visible;
    transform: none;
}

.dropdown-x {
    min-width: 280px;
    margin-top: 14px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--hd-line);
    border-radius: 16px;
    border-top: 3px solid var(--hd-red);
    box-shadow: 0 20px 45px rgba(8,44,79,.18);
    animation: dropFadeIn .25s ease;
}
@keyframes dropFadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.drop-right { left: auto; right: 0; }
.dropdown-x li { position: relative; margin: 2px 0; }
.dropdown-x a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    color: var(--hd-ink);
    transition: background .2s, color .2s, padding .2s;
    position: relative;
}
.dropdown-x a::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: var(--hd-red);
    border-radius: 0 3px 3px 0;
    transition: transform .2s ease;
}
.dropdown-x a:hover,
.dropdown-x a.active {
    background: linear-gradient(90deg, rgba(227,30,36,.06), rgba(20,96,159,.04));
    color: var(--hd-blue);
    padding-left: 18px;
}
.dropdown-x a:hover::before,
.dropdown-x a.active::before {
    transform: translateY(-50%) scaleY(1);
}
.dropdown-x a i {
    font-size: 10px;
    color: var(--hd-muted);
    transition: transform .2s, color .2s;
}
.dropdown-x a:hover i {
    transform: translateX(3px);
    color: var(--hd-red);
}

/* flyout */
.flyout {
    position: absolute;
    top: -8px;
    left: calc(100% + 8px);
    min-width: 260px;
    padding: 10px;
    background: #fff;
    border: 1px solid var(--hd-line);
    border-radius: 16px;
    border-top: 3px solid var(--hd-blue);
    box-shadow: 0 20px 45px rgba(8,44,79,.18);
    opacity: 0;
    visibility: hidden;
    transform: translateX(-8px);
    transition: opacity .22s, transform .22s, visibility .22s;
}
.has-flyout:hover > .flyout,
.has-flyout:focus-within > .flyout {
    opacity: 1;
    visibility: visible;
    transform: none;
}
.flyout a {
    display: flex;
    align-items: center;
    padding: 10px 14px;
    border-radius: 10px;
    font-size: 14px;
    color: var(--hd-ink);
    transition: background .2s, color .2s, padding .2s;
    position: relative;
}
.flyout a::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 3px;
    height: 60%;
    background: var(--hd-blue);
    border-radius: 0 3px 3px 0;
    transition: transform .2s ease;
}
.flyout a:hover,
.flyout a.active {
    background: linear-gradient(90deg, rgba(20,96,159,.06), rgba(227,30,36,.04));
    color: var(--hd-blue);
    padding-left: 18px;
}
.flyout a:hover::before,
.flyout a.active::before {
    transform: translateY(-50%) scaleY(1);
}

/* =========================================================
   MEGA MENU
   ========================================================= */
.mega {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;                 /* container ki poori width me khulega */
    width: auto;
    max-width: none;
    transform: none;          /* translateX(-50%) hata diya */
    margin-top: 10px;
    padding: 0;
    overflow: visible;        /* hidden hone se hover bridge cut ho raha tha */
    background: #fff;
    border: 1px solid var(--hd-line);
    border-radius: 18px;
    border-top: 3px solid var(--hd-red);
    box-shadow: 0 24px 60px rgba(8,44,79,.22);
}
.mega::before { top: -24px; height: 24px; }   /* button aur menu ke beech ka gap cover */

.mega-head { border-radius: 15px 15px 0 0; }

.nav-item-x.has-drop.open > .mega,
.nav-item-x.has-drop:hover > .mega,
.nav-item-x.has-drop:focus-within > .mega {
    animation: megaFadeIn .25s ease;
}
@keyframes megaFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Header strip inside mega */
.mega-head {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 22px;
    background: linear-gradient(90deg, var(--hd-navy) 0%, var(--hd-blue-dark) 60%, var(--hd-blue) 100%);
    color: #fff;
    border-bottom: 1px solid var(--hd-line);
    position: relative;
}
.mega-head::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--hd-red), var(--hd-blue), var(--hd-green));
}
.mega-head-icon {
    width: 42px; height: 42px;
    border-radius: 12px;
    background: rgba(255,255,255,.12);
    display: grid; place-items: center;
    font-size: 18px;
    flex: none;
    color: #fff;
    border: 1px solid rgba(255,255,255,.15);
}
.mega-head-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    flex: 1 1 auto;
}
.mega-head-title {
    font-size: 16px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -.1px;
}
.mega-head-sub {
    font-size: 12px;
    color: rgba(255,255,255,.72);
    margin-top: 2px;
    line-height: 1.3;
}
.mega-head-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    border-radius: 999px;
    background: linear-gradient(135deg, var(--hd-red), var(--hd-red-dark));
    color: #fff !important;
    font: 700 13px/1 var(--hd-font);
    text-decoration: none;
    box-shadow: 0 8px 18px rgba(227,30,36,.4);
    transition: transform .2s ease, box-shadow .2s ease;
    white-space: nowrap;
    flex: none;
}
.mega-head-cta i:first-child { font-size: 13px; }
.mega-head-cta i:last-child {
    font-size: 11px;
    transition: transform .2s ease;
}
.mega-head-cta:hover,
.mega-head-cta:focus {
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 12px 26px rgba(227,30,36,.55);
}
.mega-head-cta:hover i:last-child { transform: translateX(4px); }

/* Body — 2 columns */
.mega-body {
    display: grid;
    grid-auto-flow: column;                   /* 2 ho ya 3 columns, sab ek row me */
    grid-auto-columns: minmax(0, 1fr);
    gap: 0;
    padding: 8px 6px;
    background: #fff;
    border-radius: 0 0 15px 15px;
}
.mega-col {
    padding: 8px 10px;
    border-left: 1px solid var(--hd-line);
}
.mega-col:first-of-type { border-left: 0; }
.mega-col li { margin: 1px 0; }
.mega-col a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.35;
    color: var(--hd-ink);
    transition: background .18s, color .18s, padding .18s;
    position: relative;
}
.mega-col a::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%) scaleY(0);
    width: 2px;
    height: 55%;
    background: var(--hd-red);
    border-radius: 0 2px 2px 0;
    transition: transform .18s ease;
}
.mega-col a i {
    width: 24px; height: 24px;
    flex: none;
    display: grid; place-items: center;
    border-radius: 6px;
    background: var(--hd-soft);
    color: var(--hd-blue);
    font-size: 10px;
    transition: background .18s, color .18s, transform .18s;
}
.mega-col a i.mega-dot {
    background: transparent;
    color: var(--hd-muted);
    font-size: 9px;
    width: 14px;
    justify-content: flex-start;
}
.mega-col a:hover,
.mega-col a.active {
    background: linear-gradient(90deg, rgba(227,30,36,.06), rgba(20,96,159,.03));
    color: var(--hd-blue);
    padding-left: 14px;
}
.mega-col a:hover::before,
.mega-col a.active::before {
    transform: translateY(-50%) scaleY(1);
}
.mega-col a:hover i:not(.mega-dot),
.mega-col a.active i:not(.mega-dot) {
    background: linear-gradient(135deg, var(--hd-red), var(--hd-red-dark));
    color: #fff;
    transform: scale(1.08);
}
.mega-col a:hover i.mega-dot,
.mega-col a.active i.mega-dot {
    color: var(--hd-red);
    transform: translateX(2px);
}

/* =========================================================
   MOBILE NAV
   ========================================================= */
.mobile-nav { width: min(360px, 88vw); }
.mobile-nav .offcanvas-header {
    background: linear-gradient(135deg, var(--hd-blue), var(--hd-navy));
    color: #fff;
    border-bottom: 4px solid var(--hd-red);
    padding: 18px 22px;
}
.mobile-nav .offcanvas-title {
    font-weight: 600;
    font-size: 18px;
}
.mobile-nav .btn-close {
    filter: invert(1) grayscale(1) brightness(2);
    opacity: 1;
}
.mobile-nav .offcanvas-body {
    padding: 14px;
    background: #fff;
}

.m-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: 12px 14px;
    margin-bottom: 4px;
    border: 0;
    background: transparent;
    border-radius: 12px;
    font: 600 15px/1.2 var(--hd-font);
    color: var(--hd-blue-dark);
    text-align: left;
    transition: background .2s, color .2s;
}
.m-link i { font-size: 11px; transition: transform .2s; }
.m-link span i,
.m-link > i:first-child { font-size: 14px; }
.m-toggle:not(.collapsed) > i.fa-chevron-down { transform: rotate(180deg); }
.m-link:hover { background: var(--hd-soft); }
.m-link.active { background: var(--hd-blue); color: #fff; }
.m-sub {
    margin: 0 0 8px 14px;
    padding-left: 12px;
    border-left: 2px solid var(--hd-line);
}
.m-sub a {
    display: block;
    padding: 8px 12px;
    font-size: 14px;
    color: var(--hd-ink);
    border-radius: 8px;
    transition: background .2s, color .2s;
}
.m-sub a:hover { background: var(--hd-soft); color: var(--hd-blue); }
.m-sub a.active { color: var(--hd-red); font-weight: 600; }
.m-child a {
    padding-left: 24px;
    font-size: 13px;
    color: var(--hd-muted);
}
.m-contact {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--hd-line);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1399.98px) {
    .nav-link-x { padding: 9px 11px; font-size: 13px; }
    .nav-link-x > i:first-child { font-size: 11px; }
    .brand-name { font-size: 22px; }
    .brand-logo { width: 72px; height: 72px; }
    .nav-cta a { padding: 10px 18px; font-size: 13px; }
    .btn-pill.is-red,
    .btn-pill.is-blue { min-width: 200px; }
}
@media (max-width: 1199.98px) {
    .nav-link-x { padding: 9px 10px; font-size: 12.5px; }
    .brand-name { font-size: 20px; }
    .brand-logo { width: 64px; height: 64px; }
    .btn-pill { padding: 10px 18px; font-size: 13.5px; min-height: 50px; }
    .btn-pill.is-red,
    .btn-pill.is-blue { min-width: 180px; }
}
@media (max-width: 991.98px) {
    .brandbar { padding: 12px 0; }
    .brand-logo { width: 56px; height: 56px; }
    .brand-name { font-size: 17px; }
    .brand-sub { font-size: 12.5px; }
    .brand-tag { display: none; }
    .topbar { font-size: 12.5px; }
    .topbar .container { min-height: 42px; }
    .notice-badge { font-size: 11.5px; padding: 4px 10px; }
}
@media (max-width: 767.98px) {
    .topbar-chip span,
    .topbar-chip:not(:first-child) { display: none; }
    .topbar-chip i { width: 26px; height: 26px; font-size: 11px; }
    .topbar-notice { margin-left: 0; }
    .brandbar .container { gap: 8px !important; }
    .brand-name { font-size: 15px; }
    .brand-sub { font-size: 11.5px; }
    .brand-logo { width: 50px; height: 50px; }
    .nav-toggle { width: 42px; height: 42px; font-size: 16px; }
}
@media (max-width: 575.98px) {
    .topbar { font-size: 12px; }
    .notice-text { animation-duration: 24s; }
    .notice-badge { padding: 3px 9px; font-size: 11px; }
    .brand-name { font-size: 14px; }
    .brand-sub { font-size: 11px; }
}

@media (prefers-reduced-motion: reduce) {
    .notice-text { animation: none; padding-left: 0; }
    .drop, .flyout, .nav-link-x, .nav-link-x i { transition: none; }
}

/* =========================================================
   KILL YELLOW UNDERLINE
   ========================================================= */
.mainnav .nav-list .nav-link-x::after,
.mainnav .nav-list .nav-link-x::before {
    content: none !important;
    display: none !important;
    width: 0 !important;
    height: 0 !important;
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}
.mainnav .nav-list .nav-link-x,
.mainnav .nav-list .nav-link-x:hover,
.mainnav .nav-list .nav-link-x:focus {
    border-bottom: 0 !important;
    text-decoration: none !important;
}