/* Homepage modernization layer. Shared tokens live in weekend-wild-theme.css. */
:root {
  --hero-search-background: rgba(255,253,248,.96);
  --hero-search-label: #6f6256;
  --hero-search-text: #201a16;
}

html[data-theme="dark"] {
  --hero-search-background: rgba(15,23,42,.96);
  --hero-search-label: #a7f3d0;
  --hero-search-text: #f3f6f9;
}

body#top .hero {
  width: min(1280px, calc(100% - 32px));
  min-height: auto;
  margin: 18px auto 0;
  padding: clamp(26px, 5vw, 68px);
  border-radius: 32px;
  background:
    linear-gradient(105deg, rgba(22, 29, 24, .9) 0%, rgba(22, 29, 24, .68) 47%, rgba(22, 29, 24, .22) 100%),
    url("images/chintzia-family-beach.jpeg") center 44% / cover;
  color: #fff;
  box-shadow: var(--shadow-soft);
}

body#top .hero > div:first-child {
  display: block;
  width: 100%;
  max-width: 760px;
}

body#top .hero .hero-eyebrow {
  width: fit-content;
  border-color: rgba(255,255,255,.28);
  background: rgba(255,255,255,.13);
  color: #fff;
}

body#top .hero h1 {
  max-width: 12ch;
  color: #fff;
  font-size: clamp(44px, 7vw, 76px);
  line-height: .96;
  text-wrap: balance;
}

body#top .hero .hero-sub {
  max-width: 660px;
  color: rgba(255,255,255,.88);
  font-size: clamp(17px, 2vw, 21px);
}

body#top .hero-media,
body#top .hero-actions { display: none; }

.hero-conversational-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(230px, .56fr) auto;
  gap: 8px;
  margin-top: 26px;
  padding: 9px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 20px;
  background: rgba(255,253,248,.96);
  box-shadow: 0 20px 54px rgba(12,18,15,.25);
}

.hero-query-field,
.hero-location-field {
  display: grid;
  gap: 2px;
  min-width: 0;
  padding: 5px 12px;
  border-right: 1px solid rgba(48,38,29,.14);
}

.hero-conversational-search label span {
  color: var(--hero-search-label) !important;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.hero-conversational-search input,
.hero-conversational-search select {
  width: 100%;
  min-height: 34px;
  padding: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--hero-search-text) !important;
  font-size: 15px;
  font-weight: 700;
}

.hero-location-input-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  min-width: 0;
}

.hero-conversational-search .hero-location-use {
  width: auto !important;
  min-width: 0;
  min-height: 34px;
  padding: 0 2px 0 12px;
  border: 0;
  border-left: 1px solid rgba(48,38,29,.14);
  border-radius: 0;
  background: transparent !important;
  color: #176b52 !important;
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.hero-conversational-search .hero-location-use:hover {
  background: transparent !important;
  color: #0f5843 !important;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-location-use span { font-size: 16px; }

.hero-conversational-search button {
  min-width: 118px;
  border: 0;
  border-radius: 13px;
  background: #176b52;
  color: #fff;
  font-weight: 900;
  cursor: pointer;
}

.hero-conversational-search button:hover { background: #0f5843; }

body#top .hero .hero-planner-actions {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 8px;
  margin-top: 10px;
}

body#top .hero .hero-planner-actions button {
  min-height: 48px;
  padding: 11px 14px;
  border: 1px solid rgba(255,255,255,.34);
  border-radius: 8px;
  background: rgba(14,23,18,.76);
  color: #fff;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  backdrop-filter: blur(8px);
  transition: transform .16s ease, background .16s ease, border-color .16s ease;
}

body#top .hero .hero-planner-actions button:hover {
  transform: translateY(-1px);
  border-color: #fff;
  background: rgba(14,23,18,.94);
}

body#top .hero .hero-planner-actions .shuffle-suggestions-btn {
  border-color: #f3c847;
  background: #f3c847;
  color: #20150f;
}

body#top .hero .hero-planner-actions .shuffle-suggestions-btn:hover {
  border-color: #ffd969;
  background: #ffd969;
}

body#top .hero .hero-planner-actions .filter-toggle-btn[aria-expanded="true"] {
  border-color: #a7f3d0;
  background: #176b52;
}

body#top .hero .hero-filter-slot {
  max-width: 1000px;
  margin-top: 10px;
}

body#top .hero .hero-filter-slot:empty,
body#top .hero .hero-filter-slot .parent-decision-flow.more-collapsed {
  display: none;
}

body#top .hero .hero-filter-slot .filter-card {
  max-height: min(68vh, 720px);
  overflow-y: auto;
  padding: clamp(14px, 2.5vw, 24px);
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 20px;
  background: rgba(255,253,248,.98);
  color: #21150f;
  box-shadow: 0 22px 58px rgba(7,14,24,.28);
  overscroll-behavior: contain;
}

body#top .hero .hero-filter-slot .filter-row {
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
}

body#top .hero .hero-filter-slot .filter-label {
  color: #21150f;
}

body#top .hero .hero-filter-slot .filter-help {
  color: #6f604e;
}

body#top .hero .hero-filter-slot :is(.pain-btn, .area-btn, .age-btn, .distance-btn, .fbtn, .budget-btn, .weather-btn, .view-btn) {
  color: #4f4033;
}

body#top .hero .hero-filter-slot :is(.pain-btn, .area-btn, .distance-btn, .fbtn, .budget-btn, .weather-btn, .view-btn).active {
  border-color: #24140d;
  background: #24140d;
  color: #fffdf8;
}

body#top .hero .hero-filter-slot .age-btn.active {
  border-color: #c9b8ef;
  background: #efe8ff;
  color: #4d3486;
}

.hero-search-note {
  margin-top: 10px;
  color: rgba(255,255,255,.82);
  font-size: 13px;
  font-weight: 700;
}

.hero-search-note:empty { display: none; }

html[data-theme="dark"] body#top section.hero.hero {
  background:
    linear-gradient(105deg, rgba(7, 14, 24, .9) 0%, rgba(7, 14, 24, .66) 48%, rgba(7, 14, 24, .3) 100%),
    url("images/chintzia-family-beach.jpeg") center 44% / cover !important;
  border-color: rgba(226,232,240,.16) !important;
}

html[data-theme="dark"] body#top .hero .hero-conversational-search {
  border-color: rgba(226,232,240,.18) !important;
  background: rgba(15, 23, 42, .94) !important;
}

html[data-theme="dark"] body#top .hero .hero-query-field,
html[data-theme="dark"] body#top .hero .hero-location-field {
  border-color: rgba(226,232,240,.16) !important;
}

html[data-theme="dark"] body#top .hero .hero-conversational-search label span {
  color: #a7f3d0 !important;
}

html[data-theme="dark"] body#top .hero .hero-conversational-search input,
html[data-theme="dark"] body#top .hero .hero-conversational-search select {
  background: transparent !important;
  color: #f3f6f9 !important;
}

html[data-theme="dark"] body#top .hero .hero-conversational-search input::placeholder {
  color: #c4cfdb !important;
}

html[data-theme="dark"] body#top .hero .hero-conversational-search .hero-location-use {
  border-left-color: rgba(226,232,240,.22);
  color: #a7f3d0 !important;
}

html[data-theme="dark"] body#top .hero .hero-conversational-search .hero-location-use:hover {
  color: #d1fae5 !important;
}

body#top .hero .hero-search-chips { margin-top: 18px; }

body#top .hero .hero-search-chip {
  border-color: rgba(255,255,255,.28);
  background: rgba(14,23,18,.42);
  color: #fff;
  backdrop-filter: blur(8px);
}

body#top .hero .hero-search-chip.active,
body#top .hero .hero-search-chip[aria-pressed="true"] {
  border-color: #fff;
  background: #fff;
  color: #21150f;
}

.home-discovery {
  width: min(1280px, calc(100% - 32px));
  margin: clamp(34px, 6vw, 72px) auto;
}

.home-discovery-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 20px;
}

.home-discovery-head h2 {
  max-width: 12ch;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(36px, 5vw, 58px);
  line-height: .98;
  letter-spacing: -.045em;
}

.home-discovery-head p {
  max-width: 520px;
  color: var(--text-2);
  font-size: 16px;
}

.discovery-bento {
  display: grid;
  grid-template-columns: 1.25fr .75fr .75fr;
  grid-template-rows: repeat(2, minmax(210px, 1fr));
  gap: 14px;
}

.discovery-card {
  position: relative;
  display: flex;
  align-items: end;
  min-height: 220px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #24352e;
  color: #fff;
  text-decoration: none;
  box-shadow: var(--shadow-card);
  isolation: isolate;
  transition: transform .22s ease-out, box-shadow .22s ease-out;
}

.discovery-card:first-child { grid-row: 1 / -1; }

.discovery-card img {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .36s ease-out;
}

.discovery-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, transparent 18%, rgba(12,18,15,.84) 100%);
}

.discovery-card-copy {
  width: 100%;
  padding: clamp(18px, 3vw, 28px);
}

.discovery-card-kicker {
  display: block;
  margin-bottom: 6px;
  color: rgba(255,255,255,.76);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.discovery-card strong {
  display: block;
  max-width: 18ch;
  font-family: Fraunces, Georgia, serif;
  font-size: clamp(24px, 3vw, 38px);
  line-height: 1;
  letter-spacing: -.035em;
}

.discovery-card span:last-child {
  display: block;
  margin-top: 8px;
  color: rgba(255,255,255,.84);
  font-size: 13px;
  font-weight: 650;
}

@media (hover: hover) and (pointer: fine) {
  .discovery-card:hover img { transform: scale(1.035); }
  .discovery-card:hover { box-shadow: var(--shadow-hover); transform: translateY(-3px); }
}

@media (max-width: 900px) {
  .hero-conversational-search { grid-template-columns: 1fr auto; }
  .hero-location-field { grid-column: 1 / -1; grid-row: 2; border-top: 1px solid rgba(48,38,29,.14); border-right: 0; }
  .discovery-bento { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .discovery-card:first-child { grid-row: auto; grid-column: 1 / -1; min-height: 360px; }
}

@media (max-width: 620px) {
  body#top .hero { width: calc(100% - 20px); padding: 24px 18px; border-radius: 25px; background-position: 58% center; }
  body#top .hero h1 { font-size: clamp(38px, 12vw, 48px); }
  .hero-conversational-search { grid-template-columns: 1fr; padding: 8px; }
  .hero-query-field, .hero-location-field { grid-column: auto; grid-row: auto; border: 0; border-bottom: 1px solid rgba(48,38,29,.14); }
  .hero-conversational-search button { width: 100%; }
  body#top .hero .hero-filter-slot .filter-row { grid-template-columns: 1fr; }
  body#top .hero .hero-filter-slot .filter-label { margin-top: 0; }
  .home-discovery { width: calc(100% - 20px); }
  .home-discovery-head { align-items: start; flex-direction: column; }
  .discovery-bento { grid-template-columns: 1fr; }
  .discovery-card:first-child { grid-column: auto; min-height: 280px; }
  .discovery-card { min-height: 240px; }
}

@media (prefers-reduced-motion: reduce) {
  .discovery-card,
  .discovery-card img { transition: none; }
}

/* Editorial full-bleed refresh: fewer containers, stronger photography, quieter rules. */
body#top .hero {
  width: 100%;
  min-height: clamp(560px, 76vh, 760px);
  margin: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body#top .hero > div:first-child {
  width: min(1180px, 100%);
  max-width: none;
  margin: auto;
  text-align: center;
}

body#top .hero :is(.hero-eyebrow, h1, .hero-sub, .hero-conversational-search) {
  margin-inline: auto;
}

body#top .hero h1 { max-width: 15ch; }
body#top .hero .hero-sub { max-width: 760px; }
body#top .hero .hero-conversational-search {
  max-width: 920px;
  border-radius: 0;
  text-align: left;
}
body#top .hero .hero-conversational-search button {
  border-radius: 0;
  background: var(--editorial-yellow);
  color: #080808;
}
body#top .hero .hero-search-chips {
  width: min(1180px, 100%);
  max-width: none;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 8px;
  justify-content: stretch;
  margin-inline: auto;
}
body#top .hero .hero-search-chip {
  width: 100%;
  min-width: 0;
  border-radius: 2px;
}

@media (max-width: 900px) {
  body#top .hero .hero-search-chips { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 620px) {
  body#top .hero .hero-search-chips { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
body#top .hero .hero-eyebrow {
  border: 0;
  border-radius: 0;
  background: transparent;
  letter-spacing: .18em;
}
body#top .hero .hero-eyebrow::before {
  content: "";
  width: 3px;
  height: 1.2em;
  margin-right: 10px;
  background: var(--editorial-yellow);
}

body#top :is(.section-divider, .month-label)::after,
body#top .section-divider {
  display: none;
  border: 0;
}

body#top :is(
  .planner-shell,
  .homepage-feature-section,
  .trending-section,
  .explore-destinations-section,
  .map-section,
  .revenue-section,
  .activity-legal-note,
  .weekend-planner,
  .guide-city-panel
) {
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body#top .planner-shell {
  max-width: none;
  margin: 0;
  padding: clamp(56px, 8vw, 110px) 0;
  background: var(--surface);
}

body#top #planner .quick-pick-hero {
  display: block;
  margin: 0;
}

body#top #planner .quick-pick-hero > div:first-child {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto clamp(28px, 5vw, 52px);
}

body#top #planner .quick-pick-illustration {
  width: 100%;
  min-height: clamp(300px, 48vw, 620px);
  max-height: 620px;
  margin: 0 0 clamp(38px, 6vw, 72px);
  aspect-ratio: 21 / 9;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body#top #planner .filter-card.parent-decision-flow,
body#top #planner .quick-pick-summary {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body#top #planner .filter-card.parent-decision-flow {
  padding: 0;
  background: transparent;
}

body#top #planner .quick-pick-summary {
  gap: 24px;
  padding: clamp(22px, 4vw, 38px);
  background: color-mix(in srgb, var(--surface-2) 82%, var(--surface));
}

body#top #planner :is(.location-select, .activity-search) {
  min-height: 68px;
  border: 0;
  border-bottom: 1px solid color-mix(in srgb, var(--text) 22%, transparent);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body#top #planner :is(.location-select, .activity-search):focus-within {
  border-bottom-color: var(--leaf);
  box-shadow: 0 2px 0 var(--leaf);
}

body#top #planner .filter-actions button,
body#top #planner .quick-pick-footer-button {
  border-radius: 2px;
  box-shadow: none;
}

body#top #planner .filter-row {
  border-bottom: 0;
}

body#top .planner-results {
  width: min(1120px, calc(100% - 40px));
}

body#top .day-grid {
  gap: clamp(24px, 4vw, 48px) clamp(18px, 3vw, 34px);
}

body#top .day-card {
  padding: 0 0 22px;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body#top .day-card:hover {
  border: 0;
  box-shadow: none;
  transform: translateY(-2px);
}

body#top :is(.card-image, .city-card-media, .destination-media) {
  margin: 0 0 16px;
  border-radius: 0;
}

body#top :is(.homepage-feature-section, .trending-section, .explore-destinations-section) {
  width: min(1180px, calc(100% - 40px));
  padding: clamp(52px, 8vw, 100px) 0;
  background: transparent;
}

@media (max-width: 620px) {
  body#top .hero {
    width: 100%;
    min-height: 680px;
    padding: 54px 20px;
    border-radius: 0;
  }

  body#top #planner .quick-pick-hero > div:first-child,
  body#top #planner .filter-card.parent-decision-flow,
  body#top #planner .quick-pick-summary {
    width: calc(100% - 32px);
  }

  body#top #planner .quick-pick-illustration {
    min-height: 360px;
    aspect-ratio: 4 / 3;
  }

  body#top #planner .quick-pick-summary {
    padding: 22px 0;
    background: transparent;
  }

  body#top #planner .location-search-stack,
  body#top #planner .filter-actions {
    gap: 18px;
  }

  body#top #planner .filter-actions {
    grid-template-columns: 1fr 1fr;
  }

  body#top #planner .filter-actions button {
    min-height: 54px;
  }

  body#top .planner-results {
    width: 100%;
  }

  body#top .planner-results > :is(.results-summary, .month-section, .result-pagination) {
    width: calc(100% - 32px);
    margin-inline: auto;
  }

  body#top .day-grid {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  body#top .day-card {
    width: 100%;
  }

  body#top .day-card > :not(.card-image) {
    margin-inline: 18px;
  }

  body#top .day-card .card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
  }
}

/* Photo-journal layout inspired by the supplied editorial travel references. */
:root { --editorial-yellow: #ffcc00; }

body#top .hero {
  width: 100vw !important;
  margin: 0 0 clamp(72px, 9vw, 130px) calc(50% - 50vw) !important;
}

body#top #planner.planner-shell {
  width: 100vw !important;
  max-width: none !important;
  margin: 0 0 clamp(72px, 9vw, 130px) calc(50% - 50vw) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}

body#top #planner .quick-pick-hero h2,
body#top .home-discovery-head h2,
body#top .homepage-section-head h2 {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

body#top #planner .quick-pick-hero h2 span { color: var(--editorial-yellow); }

body#top #planner .quick-pick-hero > div:first-child {
  padding-top: clamp(20px, 3vw, 42px);
  text-align: center;
}

body#top #planner .quick-pick-hero p:not(.eyebrow) {
  max-width: 720px;
  margin-inline: auto;
}

body#top #planner .quick-pick-illustration {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  background: #111;
}

body#top #planner .quick-pick-illustration::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.02), rgba(0,0,0,.34));
  pointer-events: none;
}

body#top #planner .quick-pick-illustration .image-credit { z-index: 3; }

body#top #planner .quick-pick-summary {
  padding: clamp(24px, 4vw, 42px) 0;
  background: transparent !important;
}

body#top #planner .parent-decision-flow.more-collapsed {
  display: none;
}

body#top #planner .shuffle-suggestions-btn {
  border-color: var(--editorial-yellow) !important;
  background: var(--editorial-yellow) !important;
  color: #0a0a0a !important;
}

body#top #planner :is(.filter-toggle-btn, .plan-day-shortcut-btn, .clear-filters-btn) {
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
}

body#top #planner .results-summary strong,
body#top #planner .month-label {
  font-family: Inter, system-ui, sans-serif;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

body#top .home-discovery {
  width: min(1480px, calc(100% - 48px));
  margin: clamp(72px, 10vw, 150px) auto;
}

body#top .home-discovery-head {
  display: block;
  margin-bottom: clamp(38px, 6vw, 80px);
  text-align: center;
}

body#top .home-discovery-head h2 {
  max-width: none;
  font-size: clamp(38px, 6vw, 76px);
  line-height: 1;
}

body#top .home-discovery-head p {
  max-width: 720px;
  margin: 18px auto 0;
}

body#top .discovery-bento {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  grid-template-rows: auto;
  gap: clamp(24px, 4vw, 64px);
}

body#top .discovery-card,
body#top .discovery-card:first-child {
  grid-column: auto;
  grid-row: auto;
  min-height: 0;
  aspect-ratio: 4 / 5;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

body#top .discovery-card::after {
  background: linear-gradient(180deg, rgba(0,0,0,.05) 25%, rgba(0,0,0,.8) 100%);
}

body#top .discovery-card::before {
  content: "EXPLORE";
  position: absolute;
  left: 50%;
  bottom: clamp(24px, 4vw, 48px);
  z-index: 2;
  min-width: 132px;
  padding: 16px 22px;
  transform: translateX(-50%);
  background: var(--editorial-yellow);
  color: #080808;
  font: 900 12px/1 Inter, system-ui, sans-serif;
  letter-spacing: .18em;
  text-align: center;
}

body#top .discovery-card-copy {
  align-self: stretch;
  padding: 30px 24px 116px;
  text-align: center;
}

body#top .discovery-card-kicker {
  color: var(--editorial-yellow);
  letter-spacing: .2em;
}

body#top .discovery-card strong {
  max-width: 14ch;
  margin-inline: auto;
  font-family: Inter, system-ui, sans-serif;
  font-size: clamp(24px, 2.8vw, 42px);
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}

body#top .discovery-card-copy > span:last-child { display: none; }

body#top :is(.homepage-feature-section, .explore-destinations-section) .eyebrow,
body#top #planner .eyebrow {
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #111;
  letter-spacing: .18em;
}

body#top :is(.homepage-feature-section, .explore-destinations-section) .eyebrow::before,
body#top #planner .eyebrow::before {
  color: var(--editorial-yellow);
}

body#top :is(.hero-button.primary, .guide-location-submit, .member-cta) {
  border-radius: 0;
  background: var(--editorial-yellow);
  color: #080808;
  box-shadow: none;
}

@media (max-width: 900px) {
  body#top .discovery-bento { grid-template-columns: 1fr 1fr; }
  body#top .discovery-card:last-child {
    grid-column: 1 / -1;
    aspect-ratio: 2 / 1;
  }
}

@media (max-width: 620px) {
  body#top .hero .hero-planner-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body#top .hero {
    margin-bottom: 86px !important;
  }

  body#top #planner.planner-shell {
    margin-bottom: 86px !important;
    padding-top: 34px;
  }

  body#top #planner .quick-pick-hero h2 {
    font-size: clamp(34px, 10vw, 48px);
  }

  body#top #planner .quick-pick-illustration {
    min-height: 440px;
  }

  body#top .home-discovery {
    width: 100%;
  }

  body#top .home-discovery-head {
    padding-inline: 20px;
  }

  body#top .discovery-bento {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body#top .discovery-card,
  body#top .discovery-card:first-child {
    aspect-ratio: 4 / 5;
  }

  body#top .discovery-card:last-child {
    grid-column: auto;
    aspect-ratio: 4 / 5;
  }
}

html[data-theme="dark"] body#top :is(.homepage-feature-section, .explore-destinations-section) .eyebrow,
html[data-theme="dark"] body#top #planner .eyebrow { color: #fff; }

/* Keep the primary search and its Quick Pick results visually connected. */
body#top .hero {
  margin-bottom: 0 !important;
}

body#top #planner.planner-shell {
  padding-top: clamp(24px, 3vw, 40px) !important;
}

body#top #planner .quick-pick-hero > div:first-child {
  padding-top: 0;
}
