/* =============================================================
   Labuan Bajo Luxury — Header
   Transparent over hero → solid white on scroll (luxury feel).
   Single source of truth for header styling.
   ============================================================= */

:root {
  --lbl-brown: #A8784A;
  --lbl-brown-dark: #8d6238;
  --lbl-cream: #f5efe6;
  --lbl-ink: #1a1a1a;
  --lbl-header-h: 64px;
  --lbl-header-h-scrolled: 56px;
  --lbl-topbar-h: 37px;            /* desktop utility bar height */
  --lbl-header-total: calc(var(--lbl-header-h) + var(--lbl-topbar-h));
  --lbl-page-gap: 24px;            /* breathing room between header & hero on inner pages */
}

/* ---------- Body base ----------
   Sticky header takes its own space at the top of the document — no
   padding-top compensation needed on body. Keeps spacing identical on
   every breakpoint. */
body {
  background-color: var(--lbl-cream) !important; /* override body bg-black */
}
/* Lock background scroll while the mobile drawer is open */
body.lbl-drawer-open { overflow: hidden; touch-action: none; }
/* Topbar removed everywhere — keep the bar tight and on-palette */
header.lbl-header .lbl-header__topbar {
  display: none;
}
/* Header is solid from the start (no transparent-over-hero state) */
header.lbl-header {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}
header.lbl-header .lbl-header__logo img { filter: none; height: 36px; }
header.lbl-header .nav-menu > li > a { color: var(--lbl-ink); }
header.lbl-header .nav-menu > li > a:hover { color: var(--lbl-brown); }
header.lbl-header .nav-menu .ti-chevron-down { color: var(--lbl-ink); }
header.lbl-header .hamburger-menu { color: var(--lbl-brown); }
header.lbl-header .lbl-header__row { height: var(--lbl-header-h-scrolled); }

/* ---------- Reset legacy header rule ---------- */
header.lbl-header,
header.lbl-header * {
  box-sizing: border-box;
}

/* ---------- Base ----------
   Sticky positioning: header stays in document flow, so it takes its own
   space at the top of the page and pins to viewport on scroll. No body
   padding-top needed, spacing is consistent across all breakpoints. */
header.lbl-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  width: 100%;
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color 0.35s ease, border-color 0.35s ease,
              box-shadow 0.35s ease, backdrop-filter 0.35s ease;
}

header.lbl-header.is-scrolled {
  background: rgba(255, 255, 255, 0.94);
  -webkit-backdrop-filter: saturate(180%) blur(12px);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

/* ---------- Top utility bar (desktop) ---------- */
.lbl-header__topbar {
  background: rgba(0, 0, 0, 0.25);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: rgba(255, 255, 255, 0.9);
  padding: 8px 0;
  font-size: 12px;
  letter-spacing: 0.02em;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: background-color 0.35s ease, color 0.35s ease,
              border-color 0.35s ease, max-height 0.35s ease,
              padding 0.35s ease, opacity 0.35s ease;
  max-height: 60px;
  overflow: hidden;
}
header.lbl-header.is-scrolled .lbl-header__topbar {
  background: var(--lbl-cream);
  color: var(--lbl-ink);
  border-bottom-color: rgba(0, 0, 0, 0.06);
  max-height: 0;
  padding: 0;
  opacity: 0;
}
.lbl-header__topbar-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}
.lbl-header__topbar-link:hover {
  color: var(--lbl-brown);
}
.lbl-header__topbar-link i {
  font-size: 14px;
  opacity: 0.85;
}
.lbl-header__topbar-tag {
  font-style: italic;
  font-weight: 300;
  opacity: 0.85;
}

/* ---------- Main bar ---------- */
.lbl-header__main {
  padding: 0;
}
.lbl-header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: var(--lbl-header-h);
  transition: height 0.35s ease;
}
header.lbl-header.is-scrolled .lbl-header__row {
  height: var(--lbl-header-h-scrolled);
}

/* ---------- Logo ---------- */
.lbl-header__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.lbl-header__logo img {
  height: 56px;
  width: auto;
  display: block;
  transition: height 0.35s ease, filter 0.35s ease;
  filter: brightness(0) invert(1); /* white on hero */
}
header.lbl-header.is-scrolled .lbl-header__logo img {
  height: 44px;
  filter: none; /* original colors when scrolled */
}

/* ---------- Navigation (desktop) ---------- */
.lbl-header .main-nav {
  display: flex;
  align-items: center;
  padding: 0 8px;
}
.lbl-header .nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.lbl-header .nav-menu > li {
  position: relative;
}
.lbl-header .nav-menu > li > a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  color: #ffffff;
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  text-decoration: none;
  transition: color 0.2s ease;
  position: relative;
}
.lbl-header .nav-menu > li > a::after {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  bottom: 6px;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.25s ease;
}
.lbl-header .nav-menu > li > a:hover::after,
.lbl-header .nav-menu > li.current-menu-item > a::after,
.lbl-header .nav-menu > li.current-menu-parent > a::after {
  transform: scaleX(1);
}
.lbl-header .nav-menu > li > a:hover {
  color: #ffcb30;
}
header.lbl-header.is-scrolled .nav-menu > li > a {
  color: var(--lbl-ink);
}
header.lbl-header.is-scrolled .nav-menu > li > a:hover {
  color: var(--lbl-brown);
}

/* Chevron */
.lbl-header .nav-menu .ti-chevron-down {
  font-size: 14px;
  color: #ffffff;
  transition: transform 0.25s ease, color 0.25s ease;
}
header.lbl-header.is-scrolled .nav-menu .ti-chevron-down {
  color: var(--lbl-ink);
}
.lbl-header .nav-menu > li:hover > a > .ti-chevron-down {
  transform: rotate(180deg);
}

/* ---------- Submenu / Dropdown ---------- */
.lbl-header .submenu {
  position: absolute;
  top: calc(100% + 6px);
  left: 0;
  min-width: 240px;
  background: #ffffff;
  border-radius: 14px;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.14),
              0 2px 6px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(0, 0, 0, 0.04);
  padding: 8px;
  list-style: none;
  margin: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1001;
}
.lbl-header .submenu::before {
  content: "";
  position: absolute;
  top: -8px;
  left: 0;
  right: 0;
  height: 8px; /* hover bridge */
}
.lbl-header .nav-menu > li:hover > .submenu,
.lbl-header .nav-menu > li:focus-within > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lbl-header .submenu li {
  position: relative;
}
.lbl-header .submenu li a {
  display: block;
  padding: 10px 14px;
  color: var(--lbl-ink);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  border-radius: 10px;
  transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}
.lbl-header .submenu li a:hover {
  background: var(--lbl-cream);
  color: var(--lbl-brown);
  padding-left: 18px;
}
/* Nested submenu */
.lbl-header .submenu .submenu {
  top: -8px;
  left: calc(100% + 8px);
}

/* ---------- CTA Button ---------- */
.lbl-header__actions {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-left: 12px;
}
.lbl-header__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 999px;
  background: var(--lbl-brown);
  color: #ffffff !important;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-decoration: none;
  border: 1px solid var(--lbl-brown);
  box-shadow: 0 6px 18px rgba(168, 120, 74, 0.28);
  transition: background-color 0.2s ease, transform 0.2s ease,
              box-shadow 0.2s ease, border-color 0.2s ease;
}
.lbl-header__cta:hover {
  background: var(--lbl-brown-dark);
  border-color: var(--lbl-brown-dark);
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(168, 120, 74, 0.36);
}
.lbl-header__cta i {
  font-size: 16px;
}

/* ---------- Hamburger ---------- */
.hamburger-menu {
  display: none;
  background: none;
  border: 0;
  line-height: 1;
  color: #ffffff;
  cursor: pointer;
  padding: 6px 8px;
  z-index: 1002;
  transition: color 0.2s ease;
}
.hamburger-menu__icon {
  display: block;
  width: 28px;
  height: 28px;
  stroke: currentColor;
}
.hamburger-menu__icon--close { display: none; }
.hamburger-menu.is-active .hamburger-menu__icon--open { display: none; }
.hamburger-menu.is-active .hamburger-menu__icon--close { display: block; }

header.lbl-header.is-scrolled .hamburger-menu {
  color: var(--lbl-brown);
}

/* ---------- Mobile ---------- */
@media (max-width: 767.98px) {
  :root {
    --lbl-header-h: 72px;
    --lbl-header-h-scrolled: 64px;
  }

  /* The sticky header uses backdrop-filter, which creates a new
     containing block for position:fixed descendants in Chromium/WebKit.
     That collapsed our drawer to 0 height (top:72 + bottom:0 measured
     against the 72px header, not the viewport). Disabling blur on the
     mobile header lets the drawer anchor to the viewport again.
     The .is-scrolled rule above has specificity (0,2,1), so we beat it
     by chaining both base classes plus !important on the actual filter
     to defeat any future inline overrides. */
  header.lbl-header.lbl-header--mobile,
  header.lbl-header.lbl-header--mobile.is-scrolled {
    -webkit-backdrop-filter: none !important;
    backdrop-filter: none !important;
  }

  header.lbl-header--mobile .lbl-header__row {
    height: var(--lbl-header-h);
    padding: 0 18px;
  }
  header.lbl-header--mobile.is-scrolled .lbl-header__row {
    height: var(--lbl-header-h-scrolled);
  }
  .lbl-header--mobile .lbl-header__logo img {
    height: 42px;
  }
  header.lbl-header--mobile.is-scrolled .lbl-header__logo img {
    height: 36px;
  }

  .hamburger-menu {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* ============ Drawer container ============ */
  .lbl-header--mobile .main-nav {
    display: none;
    position: fixed;
    top: var(--lbl-header-h);
    left: 0;
    right: 0;
    bottom: 0;
    /* Explicit viewport-relative height as a fallback when an ancestor
       inadvertently becomes a containing block (transform/filter/etc.).
       100dvh accounts for mobile browser chrome collapse. */
    height: calc(100dvh - var(--lbl-header-h));
    width: 100%;
    flex-direction: column;
    /* Override base `.lbl-header .main-nav { align-items: center }` which —
       combined with column direction here — was shrinking topbar/scroll/footer
       to their content width and centering them. */
    align-items: stretch;
    padding: 0;
    background: #ffffff;
    z-index: 999;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
  }
  .lbl-header--mobile .main-nav.active { display: flex; }

  /* ============ Sticky topbar (only in child view) ============ */
  .lbl-mobile-topbar {
    display: none;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
    padding: 12px 18px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    background: #ffffff;
  }
  .lbl-header--mobile .main-nav.is-child-view .lbl-mobile-topbar {
    display: flex;
  }
  .lbl-mobile-back {
    background: none;
    border: 0;
    width: 38px;
    height: 38px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--lbl-brown);
    cursor: pointer;
    flex-shrink: 0;
    transition: background-color 0.18s ease;
  }
  .lbl-mobile-back:active,
  .lbl-mobile-back:focus-visible { background: var(--lbl-cream); outline: none; }
  .lbl-mobile-back i {
    font-size: 20px;
    color: var(--lbl-brown); /* override tailwind base `i { color: #fff }` */
  }
  .lbl-mobile-title {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--lbl-ink);
    flex: 1 1 auto;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* ============ Scrollable region ============ */
  .lbl-mobile-scroll {
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    padding: 8px 22px 20px;
    overscroll-behavior: contain;
    background: #ffffff; /* defensive — guarantees opaque even if parent collapses */
  }

  /* ============ Sticky footer with CTA ============ */
  .lbl-mobile-footer {
    flex-shrink: 0;
    padding-bottom: 25px;
    padding-left: 20px;
    padding-right: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    background: transparent; /* bleed to edges */
    box-shadow: 0 -6px 16px rgba(0, 0, 0, 0.04);
  }
  .lbl-header__cta--mobile {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    margin: 0;
  }
  .lbl-header__cta--mobile i { font-size: 18px; }

  /* ============ Nav list (root view) ============ */
  .lbl-header--mobile .nav-menu {
    flex-direction: column;
    width: 100%;
    gap: 0;
  }
  .lbl-header--mobile .nav-menu > li {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  }
  .lbl-header--mobile .nav-menu > li:last-child { border-bottom: 0; }
  .lbl-header--mobile .nav-menu > li > a {
    /* Force display:flex (overrides base inline-flex) so width:100% truly fills
       the row — inline-flex with width:100% can collapse to content width. */
    display: flex;
    align-items: center;
    color: var(--lbl-ink);
    padding: 18px 4px;
    font-size: 16px;
    font-weight: 500;
    width: 100%;
    justify-content: flex-start;
    gap: 10px;
    text-align: left;
  }
  /* Chevron pushed to the right edge as a drill-in affordance */
  .lbl-header--mobile .nav-menu > li > a .ti-chevron-down {
    margin-left: auto;
  }
  .lbl-header--mobile .nav-menu > li > a::after { display: none; }

  /* Chevron rotated → "›" — signals drill-in (not accordion toggle) */
  .lbl-header--mobile .menu-item-has-children > a .ti-chevron-down {
    transform: rotate(-90deg);
    color: rgba(0, 0, 0, 0.4);
    transition: transform 0.25s ease, color 0.25s ease;
  }
  .lbl-header--mobile .menu-item-has-children > a:active .ti-chevron-down {
    color: var(--lbl-brown);
  }

  /* Submenu (depth 2+, currently unused with mega — kept harmless) */
  .lbl-header--mobile .submenu {
    position: static;
    box-shadow: none;
    border: 0;
    border-radius: 0;
    padding: 4px 0 14px 14px;
    background: transparent;
    opacity: 1;
    visibility: hidden;
    transform: none;
    height: 0;
    overflow: hidden;
    transition: height 0.25s ease, visibility 0.25s;
  }
  .lbl-header--mobile .menu-item-has-children.active > .submenu {
    visibility: visible;
    height: auto;
  }
}

/* ---------- Desktop guard ---------- */
@media (min-width: 768px) {
  .hamburger-menu { display: none !important; }
  .lbl-header--desktop .main-nav { display: flex !important; }
}

/* ---------- Hide legacy gradient pseudo (kept absent) ---------- */
header.lbl-header::before { content: none; }

/* =============================================================
   Mega Menu (desktop) — top-level parents with children
   Walker tags those <li> with `.has-mega` and renders a
   <div class="mega-panel"> instead of the legacy <ul.submenu>.
   ============================================================= */

/* Anchor mega panel to the full-width main bar so it can center
   relative to the VIEWPORT (margin auto inside nav-menu would only
   center relative to nav-menu's narrow width). */
.lbl-header__main { position: relative; }
.lbl-header .nav-menu > li.has-mega { position: static; }

.lbl-header .mega-panel {
  position: absolute;
  top: calc(100% + 6px);
  /* Center via left:0 / right:0 + margin auto (transform stays free for animation) */
  left: 0;
  right: 0;
  margin-left: auto;
  margin-right: auto;
  width: min(960px, calc(100vw - 32px));
  max-height: 75vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.04);
  border-radius: 16px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.14),
              0 2px 6px rgba(0, 0, 0, 0.06);
  padding: 28px;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
  z-index: 1001;
}

/* Hover bridge so cursor can travel from trigger into panel */
.lbl-header .mega-panel::before {
  content: "";
  position: absolute;
  top: -10px;
  left: 0;
  right: 0;
  height: 10px;
}

.lbl-header .nav-menu > li.has-mega:hover > .mega-panel,
.lbl-header .nav-menu > li.has-mega:focus-within > .mega-panel {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Rotate the chevron on the trigger (parity with .submenu) */
.lbl-header .nav-menu > li.has-mega:hover > a > .ti-chevron-down {
  transform: rotate(180deg);
}

/* ---------- Left side: link columns ---------- */
.lbl-header .mega-panel__cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  align-content: start;
}
.lbl-header .mega-col {
  list-style: none;
  margin: 0;
  padding: 0;
}
.lbl-header .mega-col li + li {
  margin-top: 2px;
}
.lbl-header .mega-link {
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--lbl-ink);
  font-size: 14.5px;
  font-weight: 500;
  letter-spacing: 0.005em;
  text-decoration: none;
  transition: background-color 0.18s ease, color 0.18s ease, padding-left 0.18s ease;
}
.lbl-header .mega-link:hover {
  background: var(--lbl-cream);
  color: var(--lbl-brown);
  padding-left: 18px;
}

/* ---------- Right side: featured card ---------- */
.lbl-header .mega-panel__feature {
  display: flex;
  flex-direction: column;
  border-radius: 12px;
  overflow: hidden;
  background: var(--lbl-cream);
  text-decoration: none;
  color: inherit;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.02);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.lbl-header .mega-panel__feature:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
}
.lbl-header .mega-panel__feature img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  display: block;
}
.lbl-header .mega-panel__feature-placeholder {
  width: 100%;
  height: 170px;
  background: linear-gradient(135deg, var(--lbl-cream), #e8dccb);
}
.lbl-header .mega-panel__feature-body {
  padding: 16px 18px 18px;
}
.lbl-header .mega-panel__feature h4 {
  margin: 0 0 6px;
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--lbl-ink);
  line-height: 1.25;
}
.lbl-header .mega-panel__feature p {
  margin: 0 0 12px;
  font-size: 13.5px;
  line-height: 1.55;
  color: rgba(26, 26, 26, 0.65);
}
.lbl-header .mega-panel__feature-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--lbl-brown);
}
.lbl-header .mega-panel__feature-cta i {
  font-size: 14px;
  color: inherit; /* inherit brown from .mega-panel__feature-cta */
  transition: transform 0.2s ease;
}
.lbl-header .mega-panel__feature:hover .mega-panel__feature-cta i {
  transform: translateX(4px);
}

/* Tablet: shrink panel, stack link columns to 1 */
@media (max-width: 1023.98px) and (min-width: 768px) {
  .lbl-header .mega-panel {
    width: min(760px, calc(100vw - 24px));
    padding: 22px;
    gap: 22px;
    grid-template-columns: 1.4fr 1fr;
  }
  .lbl-header .mega-panel__cols {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .lbl-header .mega-panel__feature img,
  .lbl-header .mega-panel__feature-placeholder { height: 140px; }
  .lbl-header .mega-panel__feature h4 { font-size: 17px; }
}

/* =============================================================
   Mega Menu (mobile) — drill-in panel inside drawer
   JS toggles `.is-child-view` on .main-nav and `.is-active-parent`
   on the tapped <li>. Sticky topbar (back + title) appears, CTA
   stays sticky at bottom. Featured card is a compact horizontal
   row to keep vertical space for the link list.
   ============================================================= */
@media (max-width: 767.98px) {
  /* Hide non-active parents when drilled in */
  .lbl-header--mobile .main-nav.is-child-view .nav-menu > li:not(.is-active-parent) {
    display: none;
  }
  /* Active parent's own link row collapses — title lives in the sticky topbar */
  .lbl-header--mobile .main-nav.is-child-view .nav-menu > li.is-active-parent > a {
    display: none;
  }
  .lbl-header--mobile .main-nav.is-child-view .nav-menu > li.is-active-parent {
    border-bottom: 0;
    animation: lbl-slide-in-right 0.28s ease both;
  }
  @keyframes lbl-slide-in-right {
    from { opacity: 0; transform: translateX(14px); }
    to   { opacity: 1; transform: none; }
  }

  /* Mega panel: inline inside drawer, no card chrome */
  .lbl-header--mobile .mega-panel {
    position: static;
    transform: none;
    width: 100%;
    max-height: none;
    overflow: visible;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    padding: 0;
    grid-template-columns: 1fr;
    gap: 16px;
    display: none;
    opacity: 1;
    visibility: visible;
  }
  .lbl-header--mobile .main-nav.is-child-view .nav-menu > li.is-active-parent > .mega-panel {
    display: grid;
  }
  .lbl-header--mobile .mega-panel::before { content: none; }

  /* Compact horizontal featured card — image left, body right */
  .lbl-header--mobile .mega-panel__feature {
    order: -1;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    gap: 14px;
    border-radius: 14px;
  }
  .lbl-header--mobile .mega-panel__feature img,
  .lbl-header--mobile .mega-panel__feature-placeholder {
    width: 96px;
    height: 96px;
    flex-shrink: 0;
    border-radius: 10px;
  }
  .lbl-header--mobile .mega-panel__feature-body {
    padding: 0;
    flex: 1 1 auto;
    min-width: 0;
  }
  .lbl-header--mobile .mega-panel__feature h4 {
    font-size: 16px;
    margin: 0 0 4px;
  }
  .lbl-header--mobile .mega-panel__feature p {
    font-size: 12.5px;
    line-height: 1.45;
    margin: 0 0 6px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
  .lbl-header--mobile .mega-panel__feature-cta { font-size: 12px; }

  /* Link list — full-width rows with dividers */
  .lbl-header--mobile .mega-panel__cols {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .lbl-header--mobile .mega-link {
    padding: 16px 4px;
    font-size: 15.5px;
    font-weight: 500;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 0;
  }
  .lbl-header--mobile .mega-link:active,
  .lbl-header--mobile .mega-link:hover {
    padding-left: 4px;
    background: transparent;
    color: var(--lbl-brown);
  }
  .lbl-header--mobile .mega-col:last-child .mega-link:last-of-type {
    border-bottom: 0;
  }
  .lbl-header--mobile .mega-col li + li { margin-top: 0; }
}
