/* Public hero layouts: keep the photograph open and allow long copy to grow. */
html body:is(.site-home-page, .site-interior-page) .nf-universal-hero-stage {
    height: auto !important;
    min-height: 0 !important;
}
html body:is(.site-home-page, .site-interior-page) .nf-universal-hero-stage > .nf-universal-hero {
    display: flex !important;
    align-items: flex-end !important;
    height: auto !important;
    min-height: 100svh !important;
}
html body:is(.site-home-page, .site-interior-page) .nf-universal-hero-stage > .nf-universal-hero .nf-universal-hero-shade {
    background: linear-gradient(0deg, rgba(12, 13, 10, .76), rgba(12, 13, 10, .08) 72%, transparent), linear-gradient(90deg, rgba(12, 13, 10, .35), transparent 74%) !important;
}
html body.site-home-page .nf-home-hero-copy,
html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero-copy {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    width: min(1360px, calc(100% - clamp(40px, 8vw, 128px))) !important;
    height: auto !important;
    align-items: flex-start !important;
    justify-content: flex-end !important;
    flex-direction: column !important;
    margin: 0 auto !important;
    padding: 168px 0 clamp(64px, 8vh, 100px) !important;
    text-align: left !important;
    transform: none !important;
    will-change: auto !important;
}
html body.site-home-page #home-hero-title.nf-home-hero-title {
    max-width: 600px !important;
    font-size: clamp(44px, 4.5vw, 64px) !important;
    line-height: 1.04 !important;
    text-align: left !important;
    text-shadow: none !important;
    text-wrap: balance !important;
}
html body.site-home-page .nf-home-hero-title span { display: block !important; margin: 0 !important; }
html body.site-home-page .nf-home-hero-subtitle {
    max-width: 580px !important;
    margin: 24px 0 0 !important;
    font-size: clamp(16px, 1.3vw, 19px) !important;
    line-height: 1.65 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-shadow: none !important;
    text-wrap: pretty !important;
}
html body.site-home-page .nf-home-hero-actions { align-items: center; justify-content: flex-start !important; gap: 18px 28px !important; margin-top: 30px !important; }
html body.site-home-page .nf-home-hero-cta {
    min-height: 52px !important;
    gap: 20px;
    padding: 14px 24px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 14px !important;
    line-height: 1.4 !important;
    transform: none !important;
}
html body.site-home-page .nf-home-hero-cta:first-child { background: #efb158 !important; color: #30251d !important; -webkit-text-fill-color: #30251d !important; }
html body.site-home-page .nf-home-hero-cta:first-child:hover { background: #ffc46c !important; }
html body.site-home-page .nf-home-hero-cta + .nf-home-hero-cta { padding-inline: 0 !important; font-weight: 500; }
html body.site-home-page .nf-home-hero-cta + .nf-home-hero-cta:hover { text-decoration: underline; text-underline-offset: 5px; }
.nf-home-hero-cta:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }

/* Interior titles share the alignment, with a calmer scale than the homepage. */
html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero :is(.vt-interior-hero-title, .vt-interior-hero-title--long) {
    max-width: 19ch !important;
    font-size: clamp(36px, 3.8vw, 54px) !important;
    line-height: 1.1 !important;
    text-align: left !important;
    text-shadow: none !important;
    text-wrap: pretty !important;
}
html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero .vt-interior-hero-title--long { max-width: 24ch !important; font-size: clamp(32px, 3.3vw, 48px) !important; }
html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero-eyebrow,
html body.site-home-page .nf-home-hero-kicker { display: none !important; }
html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero-summary {
    max-width: 620px !important;
    margin: 24px 0 0 !important;
    padding: 0 !important;
    font-size: 17px !important;
    line-height: 1.7 !important;
    letter-spacing: 0 !important;
    text-align: left !important;
    text-shadow: none !important;
    text-wrap: pretty !important;
}
html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero-meta { justify-content: flex-start !important; margin-top: 24px !important; font-size: 13px !important; text-align: left !important; }

/* Map pages retain their geography, with the copy taking precedence. */
html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero-copy--map {
    display: grid !important;
    grid-template-columns: minmax(0, 1.4fr) minmax(180px, .6fr) !important;
    gap: clamp(36px, 7vw, 110px) !important;
    align-items: end !important;
}
html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero-text { grid-column: 1; grid-row: 1; max-width: 760px !important; padding: 0 !important; text-shadow: none !important; }
html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero-map { grid-column: 2; grid-row: 1; width: min(100%, 280px) !important; justify-self: end; margin: 0 !important; }
html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero-map img { max-height: 310px !important; }
html body.site-interior-page .nf-universal-hero-stage.nf-universal-hero--legal { height: auto !important; min-height: 0 !important; }
html body.site-interior-page .nf-universal-hero-stage > .nf-universal-hero--legal { min-height: 460px !important; }

/* Keep itinerary heroes centred, with navigation below and room for long titles. */
html body.site-interior-page #itinerary-hero {
    display: flex;
    align-items: stretch;
    height: auto !important;
    min-height: 100svh !important;
}
html body.site-interior-page #itinerary-hero::before { background: linear-gradient(0deg, rgba(12,13,10,.82), rgba(12,13,10,.05) 90%), linear-gradient(90deg, rgba(12,13,10,.3), transparent 78%); }
html body #itinerary-hero .nf-itinerary-hero__content-dock {
    position: relative !important;
    inset: auto !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    width: 100%;
    min-height: 100svh;
}
html body #itinerary-hero .nf-itinerary-hero__content-dock > .nf-itinerary-hero__content {
    display: flex !important;
    width: min(1080px, calc(100% - clamp(40px, 8vw, 128px))) !important;
    align-items: center !important;
    flex-direction: column !important;
    margin: 0 auto !important;
    padding: 160px 0 !important;
    text-align: center !important;
}
html body #itinerary-hero .nf-itinerary-hero__content h1 { max-width: 1080px !important; margin: 0 !important; font-size: clamp(38px, 4vw, 64px) !important; line-height: 1.12 !important; text-align: center !important; text-shadow: none !important; }
html body #itinerary-hero .nf-itinerary-hero__summary { max-width: 780px !important; margin-top: 20px !important; font: 400 clamp(16px, 1.25vw, 20px)/1.65 var(--nf-font-body) !important; text-align: center !important; text-shadow: none !important; }
html body #itinerary-hero .nf-itinerary-hero__facts { justify-content: center !important; gap: 12px 24px !important; margin-top: 24px !important; font-size: 13px !important; letter-spacing: 0 !important; text-transform: none !important; }
html body #itinerary-hero nav.nf-itinerary-subnav { left: 50% !important; right: auto !important; bottom: 24px !important; width: min(860px, calc(100% - 80px)) !important; transform: translateX(-50%) !important; border: 0 !important; border-radius: 0; box-shadow: none; background: #fff !important; }

/* Editorial heroes retain category context and full viewport imagery. */
html body.site-interior-page #journalMain .nf-journal-hero { height: auto; min-height: 100svh; padding: 168px 0 clamp(64px, 8vh, 100px); }
html body.site-interior-page #journalMain .nf-journal-hero__content { width: min(1360px, calc(100% - clamp(40px, 8vw, 128px))); }
html body.site-interior-page #journalMain .nf-journal-hero__copy { max-width: 840px; }
html body.site-interior-page #journalMain .nf-journal-hero h1 { max-width: 24ch; margin-bottom: 22px; font: 600 clamp(36px, 3.8vw, 54px)/1.15 var(--nf-font-heading); letter-spacing: -.02em; text-wrap: pretty; }
html body.site-interior-page #journalMain .nf-journal-hero__copy > p { max-width: 600px; font-size: 17px; line-height: 1.7; }
html body.site-interior-page #journalMain .nf-journal-hero--article h1 { max-width: 27ch; font-size: clamp(32px, 3.3vw, 48px); }
html body.site-interior-page #journalMain .nf-journal-hero :is(.nf-journal-masthead, .nf-journal-category, .nf-journal-breadcrumb) { display: none !important; }
html body.site-interior-page #journalMain .nf-journal-hero::after { background: linear-gradient(0deg,rgba(12,13,10,.8),rgba(12,13,10,.06) 94%),linear-gradient(90deg,rgba(12,13,10,.3),transparent 78%); }
html body.site-interior-page #journalMain .nf-journal-hero__link { border: 0; gap: 18px; margin-top: 24px; padding: 12px 0; font-size: 14px; }

/* Travel partner and search-intent landing heroes use the same reading edge. */
html body #travelPartners .nf-partner-hero { display: flex; align-items: flex-end; min-height: 100svh; padding: 168px 0 clamp(64px, 8vh, 100px); text-align: left; }
html body #travelPartners .nf-partner-hero > .nf-partner-wrap { width: min(1360px, calc(100% - clamp(40px, 8vw, 128px))); }
html body #travelPartners .nf-partner-hero h1 { max-width: 24ch; margin: 0; font: 600 clamp(36px, 3.8vw, 54px)/1.15 var(--nf-font-heading) !important; }
html body #travelPartners .nf-partner-hero .nf-partner-hero-line { max-width: 600px; margin: 24px 0 0; font: 400 17px/1.7 var(--nf-font-body) !important; }
html body #travelPartners .nf-partner-hero .nf-partner-actions { justify-content: flex-start; gap: 16px; }
html body #travelPartners .nf-partner-hero .nf-partner-button { min-height: 50px; border-radius: 0; }
html body #travelPartners .nf-partner-hero::after { background: linear-gradient(0deg,rgba(12,13,10,.8),rgba(12,13,10,.05) 94%),linear-gradient(90deg,rgba(12,13,10,.28),transparent 78%); }
html body .slp-page .slp-hero { height: auto; min-height: 100svh; }
html body .slp-page .slp-hero__inner { width: min(1360px, calc(100% - clamp(40px, 8vw, 128px))); grid-template-columns: minmax(0, 1.4fr) minmax(180px, .6fr); align-items: end; padding-block: 168px clamp(64px, 8vh, 100px); }
html body .slp-page .slp-hero__copy { grid-column: 1; grid-row: 1; padding: 0; text-shadow: none; }
html body .slp-page .slp-hero__copy h1 { max-width: 24ch; font-size: clamp(36px, 3.8vw, 54px); line-height: 1.15; }
html body .slp-page .slp-hero__copy .slp-kicker { display: none; }
html body .slp-page .slp-hero__copy > p:last-child { max-width: 620px; margin-top: 24px; font-size: 17px; line-height: 1.7; }
html body .slp-page .slp-hero__map { grid-column: 2; grid-row: 1; justify-self: end; width: min(100%, 280px); }
html body .slp-page .slp-hero__map img { max-height: 310px; }
html body .slp-page .slp-hero::after { background: linear-gradient(0deg,rgba(12,13,10,.78),rgba(12,13,10,.08) 92%),linear-gradient(90deg,rgba(12,13,10,.25),transparent 78%); }

@media (max-width: 767px) {
    html body.site-home-page .nf-home-hero-copy,
    html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero-copy { padding: 112px 0 max(44px, env(safe-area-inset-bottom)) !important; }
    html body.site-home-page #home-hero-title.nf-home-hero-title { max-width: 100% !important; font-size: clamp(34px, 9.8vw, 44px) !important; line-height: 1.12 !important; }
    html body.site-home-page .nf-home-hero-subtitle { max-width: 36ch !important; margin-top: 20px !important; font-size: 16px !important; line-height: 1.65 !important; }
    html body.site-home-page .nf-home-hero-actions { flex-direction: column; align-items: flex-start; gap: 8px !important; margin-top: 24px !important; }
    html body.site-home-page .nf-home-hero-cta { min-height: 48px !important; }
    html body.site-home-page .nf-home-hero-cta:first-child { min-width: 190px; justify-content: space-between; }
    html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero :is(.vt-interior-hero-title, .vt-interior-hero-title--long) { max-width: 100% !important; font-size: clamp(32px, 8.8vw, 40px) !important; line-height: 1.16 !important; }
    html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero-summary { max-width: 100% !important; margin-top: 20px !important; font-size: 16px !important; line-height: 1.65 !important; }
    html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero-copy--map { grid-template-columns: minmax(0, 1fr) !important; gap: 24px !important; }
    html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero-map { grid-column: 1; grid-row: 2; width: 120px !important; justify-self: end; }
    html body.site-interior-page .nf-universal-hero-stage .vt-interior-hero-map img { max-height: 145px !important; }
    html body #itinerary-hero .nf-itinerary-hero__content-dock > .nf-itinerary-hero__content { padding: 112px 0 calc(190px + env(safe-area-inset-bottom)) !important; }
    html body #itinerary-hero .nf-itinerary-hero__content h1 { max-width: 100% !important; font-size: clamp(30px, 8.3vw, 40px) !important; line-height: 1.14 !important; }
    html body #itinerary-hero .nf-itinerary-hero__summary { font-size: 15px !important; line-height: 1.6 !important; }
    html body #itinerary-hero .nf-itinerary-hero__facts { font-size: 12px !important; gap: 10px 18px !important; }
    html body #itinerary-hero nav.nf-itinerary-subnav { bottom: calc(100px + env(safe-area-inset-bottom)) !important; width: calc(100% - 40px) !important; }
    html body.site-interior-page #journalMain .nf-journal-hero { padding: 112px 0 max(44px, env(safe-area-inset-bottom)); }
    html body.site-interior-page #journalMain .nf-journal-hero h1,
    html body.site-interior-page #journalMain .nf-journal-hero--article h1 { max-width: 100%; font-size: clamp(32px, 8.8vw, 40px); }
    html body.site-interior-page #journalMain .nf-journal-hero__copy > p { font-size: 16px; }
    html body.site-interior-page #journalMain .nf-journal-masthead { flex-wrap: wrap; gap: 8px 16px; }
    html body #travelPartners .nf-partner-hero { padding: 112px 0 max(44px, env(safe-area-inset-bottom)); }
    html body #travelPartners .nf-partner-hero h1 { max-width: 100%; font-size: clamp(32px, 8.8vw, 40px) !important; }
    html body #travelPartners .nf-partner-hero .nf-partner-hero-line { font-size: 16px !important; }
    html body #travelPartners .nf-partner-hero .nf-partner-actions { flex-direction: column; align-items: flex-start; gap: 12px; }
    html body .slp-page .slp-hero__inner { grid-template-columns: minmax(0,1fr); gap: 24px; padding-block: 112px 44px; }
    html body .slp-page .slp-hero__copy h1 { font-size: clamp(32px, 8.8vw, 40px); }
    html body .slp-page .slp-hero__copy > p:last-child { font-size: 16px; }
    html body .slp-page .slp-hero__map { grid-column: 1; grid-row: 2; width: 120px; }
    html body .slp-page .slp-hero__map img { max-height: 145px; }
}
