/* VnGuide Liquid Glass tokens and home pass — source: audit/apple-liquid-glass-mockup-2026-06-12.html */
.frontend-page {
  --vng-glass-bg: rgba(255, 255, 255, .14);
  --vng-glass-bg-strong: rgba(255, 255, 255, .55);
  --vng-glass-stroke: rgba(255, 255, 255, .42);
  --vng-glass-shadow: 0 12px 40px rgba(10, 22, 48, .22);
  --vng-ink: #15181d;
  --vng-navy: #0f2d5e;
  --vng-yellow: #f9c20b;
  --vng-r-xl: 28px;
  --vng-r-lg: 20px;
  --vng-r-md: 14px;
}

.vng-glass {
  background: var(--vng-glass-bg);
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  backdrop-filter: blur(20px) saturate(1.7);
  border: 1px solid var(--vng-glass-stroke);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .55), inset 0 -1px 0 rgba(255, 255, 255, .08), var(--vng-glass-shadow);
}

.vng-glass-strong {
  background: var(--vng-glass-bg-strong);
  -webkit-backdrop-filter: blur(26px) saturate(1.8);
  backdrop-filter: blur(26px) saturate(1.8);
  border: 1px solid rgba(255, 255, 255, .6);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), var(--vng-glass-shadow);
}

.vng-glass-dark {
  background: rgba(13, 25, 48, .5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), var(--vng-glass-shadow);
  color: #fff;
}

.vng-capsule {
  border-radius: 999px;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .vng-glass,
  .vng-glass-strong {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .vng-glass-dark {
    background: #10203c;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

@media (prefers-reduced-transparency: reduce) {
  .vng-glass,
  .vng-glass-strong {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }

  .vng-glass-dark {
    background: #10203c;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}

/* LG-1 — Home: match approved mockup material while keeping the existing premium layout and real images. */
.vnguide-home-wrap > .header-margin {
  display: none;
}

.vnguide-home-wrap .vnguide-header:not(.is-sticky) {
  position: absolute;
  top: 22px;
  left: 44px;
  right: 44px;
  width: auto;
  max-width: 1180px;
  margin: 0 auto;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  background: rgba(13, 25, 48, .5);
  /* blur lives on ::before (LG-fix M1 at the end of this file) — see CONTAINING-BLOCK RULE */
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), var(--vng-glass-shadow);
}

.vnguide-home-wrap .vnguide-header:not(.is-sticky) .header__container {
  width: 100%;
  max-width: none;
  min-height: 66px;
  padding: 0 12px 0 22px !important;
}

.vnguide-home-wrap .vnguide-header:not(.is-sticky) a,
.vnguide-home-wrap .vnguide-header:not(.is-sticky) .menu__nav a,
.vnguide-home-wrap .vnguide-header:not(.is-sticky) .header-menu-name,
.vnguide-home-wrap .vnguide-header:not(.is-sticky) [data-x="header-mobile-icons"],
.vnguide-home-wrap .vnguide-header:not(.is-sticky) .menu__nav > li > a span,
.vnguide-home-wrap .vnguide-header:not(.is-sticky) .menu__nav > li > a i {
  color: rgba(255, 255, 255, .92) !important;
}

/* Capsule nav pills — desktop inline nav only (>=1200px). Below that .menu__nav is the
   mobile drawer list; 13.5px here shrank the drawer links (same trap as inner pages). */
@media (min-width: 1200px) {
  .vnguide-home-wrap .vnguide-header:not(.is-sticky) .menu__nav > li > a,
  .vnguide-home-wrap .vnguide-header:not(.is-sticky) .menu__nav > .menu-item-has-children > a,
  .vnguide-home-wrap .vnguide-header:not(.is-sticky) .menu__nav > div > a {
    border-radius: 999px;
    color: rgba(255, 255, 255, .92) !important;
    font-size: 13.5px;
    font-weight: 500;
  }

  .vnguide-home-wrap .vnguide-header:not(.is-sticky) .menu__nav > li.current-menu-item > a,
  .vnguide-home-wrap .vnguide-header:not(.is-sticky) .menu__nav > li > a:hover,
  .vnguide-home-wrap .vnguide-header:not(.is-sticky) .menu__nav > div > a:hover {
    background: rgba(255, 255, 255, .18);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .3);
  }
}

.vnguide-home-wrap .vnguide-header:not(.is-sticky) .vnguide-search-btn {
  display: inline-flex;
  width: auto;
  height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 999px;
  background: rgba(255, 255, 255, .16);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .35);
  color: #fff !important;
}

.vnguide-home-wrap .vnguide-header:not(.is-sticky) .vnguide-search-btn::after {
  content: "Tìm kiếm";
  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.vnguide-home-wrap .vnguide-header:not(.is-sticky) [href="#login"],
.vnguide-home-wrap .vnguide-header:not(.is-sticky) .is-menu-opened-hide [data-bs-toggle="modal"] {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .55) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ffd84d, #f9c20b) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 20px rgba(249, 194, 11, .35);
  color: #1a2540 !important;
  font-size: 13px;
  font-weight: 700;
}

@media (max-width: 1199px) {
  .vnguide-home-wrap .vnguide-header:not(.is-sticky) .header-menu:not(.is-menu-active) {
    display: none;
  }

  .vnguide-home-wrap .vnguide-header:not(.is-sticky) .header-menu.is-menu-active {
    display: block;
  }
}

.vnguide-home-hero .vnguide-home-hero-kicker {
  display: inline-flex;
  align-items: center;
  padding: 7px 16px;
  border-radius: 999px;
  background: rgba(13, 25, 48, .5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), var(--vng-glass-shadow);
  color: #fff;
  font-size: 11.5px;
  letter-spacing: .14em;
}

.vnguide-home-hero .vnguide-hero-search-box {
  max-width: 640px;
  border: 1px solid rgba(255, 255, 255, .18) !important;
  border-radius: 999px !important;
  background: rgba(13, 25, 48, .5) !important;
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), var(--vng-glass-shadow) !important;
}

.vnguide-home-hero .vnguide-hero-form-inner {
  min-height: 62px;
  padding: 8px;
  border-radius: 999px;
  background: transparent;
  gap: 6px;
}

.vnguide-home-hero .vnguide-hero-form-input {
  padding-left: 10px;
}

.vnguide-home-hero .vnguide-hero-form-icon,
.vnguide-home-hero .vnguide-hero-input {
  color: rgba(255, 255, 255, .9);
}

.vnguide-home-hero .vnguide-hero-input::placeholder {
  color: rgba(255, 255, 255, .65);
}

.vnguide-home-hero .vnguide-hero-btn {
  min-width: 46px;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  background: linear-gradient(180deg, #ffd84d, #f9c20b);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 18px rgba(249, 194, 11, .4);
  color: #1a2540;
}

.vnguide-home-hero .vnguide-hero-chip,
.vnguide-home-hero-proof span {
  border: 1px solid rgba(255, 255, 255, .18);
  background: rgba(13, 25, 48, .5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22);
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
}

.vnguide-home-destination-card {
  position: relative;
  display: block;
  min-height: 150px;
  border: 0;
  border-radius: var(--vng-r-lg);
  background: #0f2d5e;
  box-shadow: none;
}

.vnguide-home-destination-media {
  aspect-ratio: auto;
  height: 100%;
  min-height: 190px;
}

.vnguide-home-destination-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(4, 15, 34, .34) 100%);
  pointer-events: none;
}

.vnguide-home-destination-body {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px 12px;
  padding: 10px 14px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: calc(var(--vng-r-lg) - 10px);
  background: rgba(13, 25, 48, .5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .22), var(--vng-glass-shadow);
  color: #fff;
}

.vnguide-home-destination-body h4 {
  margin: 0;
  color: #fff;
  font-size: 14.5px;
  line-height: 1.2;
}

.vnguide-home-destination-body span {
  grid-column: 1;
  color: rgba(255, 255, 255, .78);
  font-size: 11px;
}

.vnguide-home-destination-link {
  grid-row: 1 / span 2;
  grid-column: 2;
  margin: 0;
  padding: 4px 10px;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 999px;
  background: rgba(255, 255, 255, .2);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

@media (max-width: 991px) {
  .vnguide-home-wrap .vnguide-header:not(.is-sticky) {
    top: 14px;
    left: 16px;
    right: 16px;
    width: auto;
  }

  .vnguide-home-wrap .vnguide-header:not(.is-sticky) .header__container {
    min-height: 58px;
    padding: 0 14px !important;
  }
}

@media (max-width: 575px) {
  .vnguide-home-hero .vnguide-hero-search-box {
    border-radius: 28px !important;
  }

  .vnguide-home-hero .vnguide-hero-form-inner {
    border-radius: 20px;
    padding: 10px;
  }

  .vnguide-home-destination-media {
    min-height: 210px;
  }
}

/* LG-fix D1 (dark-glass dropdown) moved to the end of this file, desktop-only (LG-fix M1). */

/* LG-fix D3 — sticky header keeps the glass-dark material on scroll (override custom.css white sticky). */
.vnguide-home-wrap .vnguide-header.is-sticky {
  background: rgba(13, 25, 48, .72) !important;
  /* blur lives on ::before (LG-fix M1) */
  border-bottom: 1px solid rgba(255, 255, 255, .12) !important;
  box-shadow: var(--vng-glass-shadow);
}

.vnguide-home-wrap .vnguide-header.is-sticky a,
.vnguide-home-wrap .vnguide-header.is-sticky .menu__nav a,
.vnguide-home-wrap .vnguide-header.is-sticky .header-menu-name,
.vnguide-home-wrap .vnguide-header.is-sticky .menu__nav > li > a span,
.vnguide-home-wrap .vnguide-header.is-sticky .menu__nav > li > a i {
  color: rgba(255, 255, 255, .92) !important;
}

@media (min-width: 1200px) {
  .vnguide-home-wrap .vnguide-header.is-sticky .menu__nav > li.current-menu-item > a,
  .vnguide-home-wrap .vnguide-header.is-sticky .menu__nav > li > a:hover {
    background: rgba(255, 255, 255, .14) !important;
    border-radius: 999px;
  }
}

.vnguide-home-wrap .vnguide-header.is-sticky .vnguide-search-btn {
  border: 1px solid rgba(255, 255, 255, .3) !important;
  background: rgba(255, 255, 255, .16) !important;
  color: #fff !important;
}

/* LG-fix D4 — Home listing carousels (hotel/restaurant/event/tour): compact landscape card
   (Apple-like ~3:2) instead of the global 125% portrait that made cards too tall.
   Scoped by CARD CLASS so it covers every home carousel regardless of section wrapper,
   without touching destination / news cards. */
.vnguide-home-wrap .hotelsCard .cardImage.ratio-1\:1::before,
.vnguide-home-wrap .tourCard .cardImage.ratio-1\:1::before,
.vnguide-home-wrap .activityCard .cardImage.ratio-1\:1::before {
  padding-bottom: 68%;
}

.vnguide-home-wrap .hotelsCard .cardImage,
.vnguide-home-wrap .tourCard .cardImage,
.vnguide-home-wrap .activityCard .cardImage {
  border-radius: 16px 16px 0 0;
}

.vnguide-home-wrap .hotelsCard.-type-1,
.vnguide-home-wrap .tourCard.-type-1,
.vnguide-home-wrap .activityCard.-type-1 {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.vnguide-home-wrap .hotelsCard.-type-1 .hotelsCard__content,
.vnguide-home-wrap .tourCard.-type-1 .tourCard__content,
.vnguide-home-wrap .activityCard.-type-1 .activityCard__content {
  flex: 1 1 auto;
  padding-top: 12px;
}

.vnguide-home-wrap .js-section-slider .swiper-slide {
  height: auto;
}

/* ===== LG-A2 (2026-06-24) — Inner-page header adopts the LIGHT Liquid Glass material.
   Home uses dark glass floating over the hero (.vnguide-home-wrap .vnguide-header);
   inner pages (.vnguide-header.vnguide-header-normal) previously rendered as a plain white bar.
   This brings them into the same design language — translucent light glass, capsule
   nav pills, rounded glass search capsule, yellow CTA, rounded glass dropdown — while
   keeping the existing layout/position model.
   IMPORTANT — selector is .vnguide-header.vnguide-header-normal (BOTH classes), not the
   bare .vnguide-header-normal: header-style/normal.blade.php wraps the logo + primary
   menu in a nested <div class="… vnguide-header-normal"> that is ALSO present inside the
   HOME header. A bare .vnguide-header-normal background therefore painted a stray white
   box behind the home dark-glass capsule. The real header element carries both
   `vnguide-header` and `vnguide-header-normal`; the nested div carries only the latter,
   so requiring both classes targets the header alone and leaves home untouched.
   NOTE: inner heroes (listing/detail/hub navy bands) sit slightly UNDER the header,
   so the material is a high-opacity frosted white (not heavy see-through) — enough
   blur to read as glass without the navy bleeding through as a tinted band.
   CONTAINING-BLOCK RULE — never put backdrop-filter (or filter/transform) on the header
   element itself: it turns the header into the containing block for its position:fixed
   descendants, so the mobile drawer (.header-menu: fixed; bottom:0) renders above the
   viewport and the search overlay backdrop (#vnguide-search-overlay: fixed; inset:0)
   only covers the header strip. The blur lives on a non-interactive ::before layer. ===== */
.vnguide-header.vnguide-header-normal {
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid rgba(15, 45, 94, .08);
}

.vnguide-header.vnguide-header-normal::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  -webkit-backdrop-filter: blur(20px) saturate(1.7);
  backdrop-filter: blur(20px) saturate(1.7);
}

.vnguide-header.vnguide-header-normal.is-sticky {
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid rgba(15, 45, 94, .08);
  box-shadow: 0 10px 30px rgba(10, 22, 48, .1);
}

.vnguide-header.vnguide-header-normal.is-sticky::before {
  -webkit-backdrop-filter: blur(24px) saturate(1.8);
  backdrop-filter: blur(24px) saturate(1.8);
}

/* Nav links → capsule pills with soft hover (parity with home, but dark ink).
   Desktop nav only (>=1200px): below that GoTrip turns .menu__nav into the mobile drawer
   list (20px links); an unscoped rule here has equal specificity and loads later, so it
   would shrink the drawer links to 13.5px. */
@media (min-width: 1200px) {
  .vnguide-header.vnguide-header-normal .menu__nav > li > a,
  .vnguide-header.vnguide-header-normal .menu__nav > .menu-item-has-children > a,
  .vnguide-header.vnguide-header-normal .menu__nav > div > a {
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 500;
    transition: background .18s ease, color .18s ease;
  }

  .vnguide-header.vnguide-header-normal .menu__nav > li.current-menu-item > a,
  .vnguide-header.vnguide-header-normal .menu__nav > li > a:hover,
  .vnguide-header.vnguide-header-normal .menu__nav > div > a:hover {
    background: rgba(15, 45, 94, .07);
    color: #0f2d5e !important;
  }
}

/* Search trigger → light glass capsule with label (parity with home). */
.vnguide-header.vnguide-header-normal .vnguide-search-btn {
  display: inline-flex;
  width: auto;
  height: 42px;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  border: 1px solid rgba(15, 45, 94, .12);
  border-radius: 999px;
  background: rgba(15, 45, 94, .05);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6);
  color: #0f2d5e !important;
  transition: background .18s ease, border-color .18s ease;
}

.vnguide-header.vnguide-header-normal .vnguide-search-btn:hover {
  border-color: rgba(15, 45, 94, .25);
  background: rgba(15, 45, 94, .09);
}

.vnguide-header.vnguide-header-normal .vnguide-search-btn::after {
  content: "Tìm kiếm";
  color: #0f2d5e;
  font-size: 13px;
  font-weight: 600;
}

/* Sign-in / register → yellow gradient pill (parity with home CTA). */
.vnguide-header.vnguide-header-normal [href="#login"] {
  min-height: 42px;
  border: 1px solid rgba(249, 194, 11, .65) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ffd84d, #f9c20b) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 18px rgba(249, 194, 11, .3);
  color: #1a2540 !important;
  font-size: 13px;
  font-weight: 700;
}

/* Dropdown subnav (Visit Việt Nam, language, account menus) → rounded light glass card.
   Desktop dropdowns only (>=1200px): below that each .subnav is a full-size absolute
   slide-in panel of the mobile drawer, transparent while inactive; an opaque card here
   covered the drawer's main links with a blank white panel. */
@media (min-width: 1200px) {
  .vnguide-header.vnguide-header-normal .subnav {
    border: 1px solid rgba(15, 45, 94, .08) !important;
    border-radius: 16px !important;
    background: rgba(255, 255, 255, .94) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.6);
    backdrop-filter: blur(22px) saturate(1.6);
    box-shadow: 0 16px 40px rgba(10, 22, 48, .16) !important;
    overflow: hidden;
  }

  .vnguide-header.vnguide-header-normal .subnav > li > a:hover,
  .vnguide-header.vnguide-header-normal .subnav a:hover {
    background: rgba(15, 45, 94, .06) !important;
    color: #0f2d5e !important;
  }
}

/* ===== LG-fix M1 (2026-09-29) — Home header on mobile: drawer, logo, stray hero line.
   Placed last on purpose: ties with the inner-page LG-A2 rules above resolve in home's
   favour (production renders the home header with style "normal", i.e. it also carries
   .vnguide-header-normal; local seeds render style "transparent"). ===== */

/* 1. CONTAINING-BLOCK RULE for home too: the dark-glass blur moves off the header onto a
   non-interactive ::before (same fix as inner pages, dc78906). With backdrop-filter on the
   header itself, the mobile drawer (.header-menu: fixed; bottom:0) was laid out against the
   80px capsule instead of the viewport — only the language bar showed, the links sat
   ~640px above the screen. border-radius: inherit keeps the blur inside the capsule. */
.vnguide-home-wrap .vnguide-header::before,
.vnguide-home-wrap .vnguide-header.is-sticky::before {
  content: "";
  position: absolute;
  inset: 0; /* padding box: a -1px inset would paint the blur over the capsule border */
  z-index: -1;
  border-radius: inherit;
  pointer-events: none;
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  backdrop-filter: blur(20px) saturate(1.5);
}

.vnguide-home-wrap .vnguide-header.is-sticky {
  box-shadow: var(--vng-glass-shadow);
}

/* 2. header-style/normal.blade.php wraps logo + primary menu in a nested
   <div class="vnguide-header-{style}">. For style "transparent" the bare custom.css rule
   .vnguide-header-transparent (position:absolute; border-bottom) also hit that div: it left
   the row flow (logo dropped out of the capsule onto the hero kicker) and drew its 1px
   border as a line across the hero. The real header keeps both classes; only the nested
   descendant is neutralised here. */
.vnguide-header .vnguide-header-transparent {
  position: static;
  z-index: auto;
  border-bottom: 0;
}

/* 3. Drawer open (< 1200px): the floating capsule turns into the inner-page white bar so
   the drawer reads exactly like /restaurant — white sheet, dark ink, bar at the top. */
@media (max-width: 1199px) {
  .vnguide-home-wrap .vnguide-header.is-menu-opened {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: none;
    margin: 0;
    border: 0;
    border-bottom: 1px solid var(--color-border, #ddd) !important;
    border-radius: 0;
    background: #fff !important;
    box-shadow: none;
  }

  .vnguide-home-wrap .vnguide-header.is-menu-opened::before {
    display: none;
  }

  /* Back to the inner-page gutters (GoTrip px-30 / sm:px-20) so the bar lines up. */
  .vnguide-home-wrap .vnguide-header.is-menu-opened .header__container {
    padding: 0 30px !important;
  }

  /* Mirrors the white-ink selectors above one-for-one (same specificity, later wins) so the
     drawer links, bar icons and language label get the inner-page dark ink. */
  .vnguide-home-wrap .vnguide-header.is-menu-opened a,
  .vnguide-home-wrap .vnguide-header.is-menu-opened .menu__nav a,
  .vnguide-home-wrap .vnguide-header.is-menu-opened .header-menu-name,
  .vnguide-home-wrap .vnguide-header.is-menu-opened [data-x="header-mobile-icons"],
  .vnguide-home-wrap .vnguide-header.is-menu-opened .menu__nav > li > a span,
  .vnguide-home-wrap .vnguide-header.is-menu-opened .menu__nav > li > a i {
    color: var(--color-dark-1, #051036) !important;
  }

  .vnguide-home-wrap .vnguide-header.is-menu-opened .subnav__backBtn a {
    color: var(--color-blue-1, #3554d1) !important;
  }
}

@media (max-width: 575px) {
  .vnguide-home-wrap .vnguide-header.is-menu-opened .header__container {
    padding: 0 20px !important;
  }
}

/* 3b. Hero clears the floating capsule below 1200px. LG-1 hid .header-margin and floated the
   header over the hero, but the hero kept its old top padding (50px on phones, 88-96px on
   tablets), so the "VNGUIDE VIỆT NAM" kicker sat under the capsule and showed through it
   behind the logo. Capsule bottom: 94px (<768), 104px (768-991), 112px (992-1199). */
@media (max-width: 1199px) {
  .vnguide-home-wrap .vnguide-home-hero.vnguide-hero {
    padding-top: 128px;
  }
}

@media (max-width: 991px) {
  .vnguide-home-wrap .vnguide-home-hero.vnguide-hero {
    padding-top: 120px;
  }
}

@media (max-width: 767px) {
  .vnguide-home-wrap .vnguide-home-hero.vnguide-hero {
    padding-top: 108px;
  }
}

/* 4. Desktop-only home dropdown + hover guards (was LG-fix D1, unscoped: below 1200px each
   .subnav is a full-size slide-in panel of the drawer, so its dark fill covered the
   drawer's main links). */
@media (min-width: 1200px) {
  .vnguide-home-wrap .vnguide-header .subnav {
    background: rgba(13, 25, 48, .9) !important;
    -webkit-backdrop-filter: blur(22px) saturate(1.5);
    backdrop-filter: blur(22px) saturate(1.5);
    border: 1px solid rgba(255, 255, 255, .16) !important;
    border-radius: 16px !important;
    box-shadow: var(--vng-glass-shadow) !important;
    overflow: hidden;
  }

  .vnguide-home-wrap .vnguide-header .subnav > li > a,
  .vnguide-home-wrap .vnguide-header .subnav a {
    color: rgba(255, 255, 255, .9) !important;
  }

  .vnguide-home-wrap .vnguide-header .subnav > li > a:hover,
  .vnguide-home-wrap .vnguide-header .subnav a:hover {
    background: rgba(255, 255, 255, .12) !important;
    color: #fff !important;
  }

  /* Keep home nav ink white on hover/current: the inner-page LG-A2 rules set navy
     (#0f2d5e !important) with equal specificity and would win on the prod home header. */
  .vnguide-home-wrap .vnguide-header .menu__nav > li > a:hover,
  .vnguide-home-wrap .vnguide-header .menu__nav > div > a:hover,
  .vnguide-home-wrap .vnguide-header .menu__nav > li.current-menu-item > a {
    color: rgba(255, 255, 255, .92) !important;
  }

  .vnguide-home-wrap .vnguide-header .vnguide-search-btn:hover {
    border-color: rgba(255, 255, 255, .45) !important;
    background-color: rgba(255, 255, 255, .24) !important;
  }
}


/* ===== LG-fix M2 (2026-09-29) — readable home header controls (desktop + sticky) and the
   mobile icon row. Home renders header style "normal", so the inner-page LG-A2 rules above
   also reach it; these rules restore home's dark-glass contrast. ===== */

/* 1. Search pill: the utility class .bg-light-2 on the button forces an opaque white
   background (!important), which buried the white icon + "Tìm kiếm" label. Glass capsule. */
.vnguide-home-wrap .vnguide-header .vnguide-search-btn {
  background-color: rgba(255, 255, 255, .16) !important;
}

/* 2. Sticky (scrolled) home bar: LG-A2 painted the label navy (#0f2d5e) on dark glass and the
   home white-link rule turned the yellow CTA text white. Same treatment as the top state. */
.vnguide-home-wrap .vnguide-header.is-sticky .vnguide-search-btn::after {
  color: #fff;
}

/* .is-menu-opened-hide keeps specificity above the sticky white-link rule (.menu__nav a). */
.vnguide-home-wrap .vnguide-header.is-sticky .is-menu-opened-hide [href="#login"] {
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, .55) !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ffd84d, #f9c20b) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .6), 0 6px 20px rgba(249, 194, 11, .35);
  color: #1a2540 !important;
  font-size: 13px;
  font-weight: 700;
}

/* 3. Mobile icon row on the sticky bar: the row carries text-dark-1 (style "normal"), so the
   search + hamburger buttons (text-inherit) went navy on dark glass. Not while the drawer is
   open — then LG-fix M1 §3 switches everything to dark ink on the white bar. */
.vnguide-home-wrap .vnguide-header.is-sticky:not(.is-menu-opened) [data-x="header-mobile-icons"] {
  color: rgba(255, 255, 255, .92) !important;
}

/* 4. Narrow phones: the mobile icon row now holds three icons (account, search, menu). At
   the default rhythm (pl-30, 20px x-gap, 12px gap) it no longer fits next to the 120px logo
   below ~400px — the home capsule pushed the page to 367px wide at 320px. Tighter rhythm,
   same 22px icons; the search hit area narrows so it does not overlap its neighbours. */
@media (max-width: 399px) {
  .vnguide-header .header-logo.mr-20 {
    margin-right: 12px !important;
  }

  .vnguide-header [data-x="header-mobile-icons"].pl-30 {
    gap: 4px;
    margin-right: -6px;
    padding-left: 8px !important;
  }

  .vnguide-header [data-x="header-mobile-icons"] > div {
    padding-left: 6px;
    padding-right: 6px;
  }

  .vnguide-header .vnguide-mobile-search-btn::after {
    inset: -11px -8px;
  }
}

@media (max-width: 359px) {
  .vnguide-header .header-logo img {
    max-width: 104px;
  }
}
