/*
 * Now Journey USA tour hero signature
 * Shared, page-scoped enhancement for refreshed USA tour pages.
 */

.usa-cinematic-hero__identifier {
  position: absolute;
  top: 112px;
  right: clamp(18px, 2.2vw, 34px);
  z-index: 5;
  display: flex;
  align-items: center;
  gap: 18px;
  color: #fff;
  pointer-events: none;
}

.usa-cinematic-hero__identifier-label {
  color: #e5b653;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .22em;
  line-height: 1;
  text-transform: uppercase;
  writing-mode: vertical-rl;
}

.usa-cinematic-hero__identifier-title {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.usa-cinematic-hero__cue {
  display: grid;
  width: 58px;
  height: 58px;
  margin-top: 265px;
  border: 1px solid rgba(255,255,255,.86);
  border-radius: 50%;
  place-items: center;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 30px;
  font-weight: 300;
  line-height: 1;
}

/* Shared modern framework: Colorado, Santa Fe, Hawaii and Pacific Coast. */
.se-page--usa-image-led .se-hero {
  min-height: 810px;
  height: min(95vh, 960px);
  background-position: var(--usa-hero-position, center center);
}

.se-page--usa-image-led .se-hero::before {
  background:
    linear-gradient(90deg, rgba(3,24,31,.66) 0%, rgba(3,24,31,.32) 32%, rgba(3,24,31,.08) 57%, rgba(3,24,31,.02) 100%),
    linear-gradient(0deg, rgba(3,24,31,.52) 0%, rgba(3,24,31,.04) 48%, rgba(3,24,31,.18) 100%);
}

.se-page--usa-image-led .se-hero__content {
  display: flex;
  min-height: 100%;
  align-items: flex-end;
  padding: 0 0 clamp(42px, 5.5vh, 66px);
}

.se-page--usa-image-led .se-hero__copy {
  width: 100%;
  max-width: 730px;
  margin-left: 0;
  margin-right: auto;
}

.se-page--usa-image-led .se-hero h1 {
  max-width: 690px;
  margin-bottom: 10px;
  font-size: clamp(54px, 5.1vw, 76px);
  line-height: .96;
}

.se-page--usa-image-led .se-hero__countries {
  margin-bottom: 8px;
  font-size: clamp(19px, 1.55vw, 24px);
}

.se-page--usa-image-led .se-hero__facts,
.se-page--usa-image-led .se-hero__intro {
  max-width: 650px;
}

.se-page--usa-image-led .se-hero__intro {
  margin-top: 10px;
  font-size: clamp(16px, 1.2vw, 19px);
  line-height: 1.55;
}

.se-page--usa-image-led .se-hero .se-actions {
  margin-top: 18px;
}

.se-page--usa-image-led .se-hero .se-trust {
  display: none;
}

.usa-hero--rocky { --usa-hero-position: 50% 48%; --usa-hero-mobile-image: url('/tours/usa/DeluxeRockyMountains/images/rocky-hero-mobile.webp'); --usa-hero-mobile-position: 52% top; }
.usa-hero--santa-fe { --usa-hero-position: 50% 50%; --usa-hero-mobile-image: url('/tours/usa/Santa-Fe/images/santa-fe-hero-mobile.webp'); --usa-hero-mobile-position: 54% top; }
.usa-hero--hawaii { --usa-hero-position: 58% 50%; --usa-hero-mobile-image: url('/tours/usa/Hawaii/images/hawaii-hero-mobile.webp'); --usa-hero-mobile-position: 58% top; }
.usa-hero--pacific { --usa-hero-position: 50% 48%; --usa-hero-mobile-image: url('/tours/usa/pacific-coast/images/pacific-hero-mobile.webp'); --usa-hero-mobile-position: 50% top; }

/* Canyonlands image-led framework. */
.sc-tour--usa-image-led .sc-hero {
  min-height: 810px;
  height: min(95vh, 960px);
}

.sc-tour--usa-image-led .sc-hero::after {
  background:
    linear-gradient(90deg, rgba(3,24,31,.68) 0%, rgba(3,24,31,.32) 34%, rgba(3,24,31,.06) 65%, transparent 100%),
    linear-gradient(0deg, rgba(3,24,31,.5) 0%, transparent 52%, rgba(3,24,31,.15) 100%);
}

.sc-tour--usa-image-led .sc-hero__content,
.sc-tour--usa-image-led .sc-hero__content .sc-shell {
  min-height: 100%;
}

.sc-tour--usa-image-led .sc-hero__content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: flex-end;
  padding: 0;
}

.sc-tour--usa-image-led .sc-hero__content .sc-shell {
  display: flex;
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
  align-items: flex-end;
}

.sc-tour--usa-image-led .sc-hero__inner {
  width: 100%;
  max-width: 720px;
  padding-bottom: clamp(44px, 5.5vh, 66px);
}

.sc-tour--usa-image-led .sc-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(54px, 5.1vw, 76px);
  line-height: .98;
}

.sc-tour--usa-image-led .sc-hero__subhead {
  max-width: 670px;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.45;
}

.sc-tour--usa-image-led .sc-hero__route {
  margin-top: 10px;
}

.sc-tour--usa-image-led .sc-hero-quick,
.sc-tour--usa-image-led .sc-hero .sc-trust {
  display: none;
}

/* Legacy Now Journey framework: Alaska, Lanterns and Arkansas. */
.nj-tour--usa-image-led .nj-hero {
  position: relative;
  min-height: 810px;
  height: min(95vh, 960px);
  overflow: hidden;
  background-image: var(--usa-hero-image) !important;
  background-position: var(--usa-hero-position, center center) !important;
  background-size: cover !important;
}

.nj-tour--usa-image-led .nj-hero__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--usa-hero-position, center center);
}

.nj-tour--usa-image-led .nj-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(3,24,31,.68) 0%, rgba(3,24,31,.32) 34%, rgba(3,24,31,.06) 66%, transparent 100%),
    linear-gradient(0deg, rgba(3,24,31,.52) 0%, transparent 50%, rgba(3,24,31,.18) 100%);
  pointer-events: none;
}

.nj-tour--usa-image-led .nj-hero__content {
  position: relative;
  z-index: 2;
  display: flex;
  min-height: 100%;
  align-items: flex-end;
}

.nj-tour--usa-image-led .nj-hero__content > .nj-shell {
  width: min(1180px, calc(100% - 40px));
  margin-right: auto;
  margin-left: auto;
}

.nj-tour--usa-image-led .nj-hero__inner {
  max-width: 720px;
  padding-bottom: clamp(44px, 5.5vh, 66px);
}

.nj-tour--usa-image-led .nj-hero h1 {
  margin-bottom: 10px;
  font-size: clamp(54px, 5.1vw, 76px);
  line-height: .98;
}

.nj-tour--usa-image-led .nj-hero h1 span {
  display: block;
  margin-top: 11px;
  font-family: "DM Sans", Arial, sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .16em;
  line-height: 1.3;
  text-transform: uppercase;
}

.nj-tour--usa-image-led .nj-hero__subhead {
  max-width: 670px;
  font-size: clamp(18px, 1.45vw, 23px);
  line-height: 1.45;
}

.nj-tour--usa-image-led .nj-hero__route {
  margin-top: 10px;
}

.nj-tour--usa-image-led .nj-hero-facts,
.nj-tour--usa-image-led .nj-hero .nj-trust,
.nj-tour--usa-image-led .nj-hero__mobile-summary {
  display: none !important;
}

.nj-tour--usa-alaska { --usa-hero-image: url('/tours/usa/Alaska/images/header-ms-skype-2560.jpg'); --usa-hero-position: 51% center; --usa-hero-mobile-position: 54% top; }
.nj-tour--usa-lanterns { --usa-hero-image: url('/tours/usa/Lanterns-of-the-South/images/hero-savannah-georgia.jpg'); --usa-hero-position: 50% 48%; --usa-hero-mobile-position: 52% top; }
.nj-tour--usa-arkansas { --usa-hero-image: url('/tours/usa/arkansas-ozarks/images/arkansas-hero.webp'); --usa-hero-position: 50% 46%; --usa-hero-mobile-position: 50% top; }

/* Win against page-local legacy hero rules that are declared later in the document. */
html body .nj-tour.nj-tour--usa-image-led .nj-hero {
  min-height: 810px !important;
  height: min(95vh, 960px) !important;
}

html body .nj-tour.nj-tour--usa-image-led .nj-hero__content {
  min-height: 100% !important;
  padding: 0 !important;
}

html body .nj-tour.nj-tour--usa-image-led .nj-hero__inner {
  display: block !important;
  max-width: 720px !important;
  padding-bottom: clamp(44px, 5.5vh, 66px) !important;
}

html body .nj-tour.nj-tour--usa-image-led .nj-hero h1 {
  max-width: 690px !important;
  margin-bottom: 10px !important;
  font-size: clamp(54px, 5.1vw, 76px) !important;
  line-height: .98 !important;
}

html body .nj-tour.nj-tour--usa-image-led .nj-hero__subhead {
  max-width: 670px !important;
  font-size: clamp(18px, 1.45vw, 23px) !important;
  line-height: 1.45 !important;
}

html body .nj-tour.nj-tour--usa-arkansas .nj-hero__inner {
  padding-bottom: 34px !important;
}

/* Napa legacy page. */
.page-hero.usa-napa-hero {
  position: relative;
  display: flex;
  min-height: 810px;
  height: min(95vh, 960px);
  align-items: flex-end;
  overflow: hidden;
  background-position: 50% center;
  background-size: cover;
}

.page-hero.usa-napa-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(90deg, rgba(3,24,31,.68) 0%, rgba(3,24,31,.28) 36%, rgba(3,24,31,.03) 70%, transparent 100%),
    linear-gradient(0deg, rgba(3,24,31,.52) 0%, transparent 52%, rgba(3,24,31,.14) 100%);
}

.page-hero.usa-napa-hero > .container {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 48px));
  max-width: 1180px;
  margin: 0 auto;
}

.page-hero.usa-napa-hero .row {
  margin-right: 0;
  margin-left: 0;
}

.page-hero.usa-napa-hero .col-12 {
  padding-right: 0;
  padding-left: 0;
}

.page-hero.usa-napa-hero .page-hero-content {
  max-width: 720px;
  padding: 0 0 clamp(44px, 5.5vh, 66px);
  margin: 0;
  background: transparent;
  text-align: left;
}

.page-hero.usa-napa-hero .page-hero-title {
  margin: 0 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(58px, 6vw, 84px);
  line-height: .96;
}

.page-hero.usa-napa-hero .hero-badge-meta {
  margin-bottom: 13px;
  font-size: 12px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.page-hero.usa-napa-hero .page-hero-subtitle {
  max-width: 650px;
  margin: 8px 0 0;
  font-size: clamp(17px, 1.35vw, 21px);
  line-height: 1.5;
}

@media (max-width: 767px) {
  html:has(.usa-napa-hero),
  body:has(.usa-napa-hero) {
    overflow-x: clip;
  }

  .se-page--usa-image-led .se-hero,
  .sc-tour--usa-image-led .sc-hero,
  .nj-tour--usa-image-led .nj-hero,
  .page-hero.usa-napa-hero {
    --usa-hero-intro: clamp(545px, calc(100svh - 72px), 690px);
    --usa-hero-stage: calc(var(--usa-hero-intro) + 465px);
    position: relative;
    display: block;
    min-height: var(--usa-hero-stage);
    height: auto;
    padding-top: var(--usa-hero-intro);
    overflow: hidden;
    background: #052d37 !important;
  }

  .se-page--usa-image-led .se-hero::before,
  .nj-tour--usa-image-led .nj-hero::before,
  .page-hero.usa-napa-hero::after {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 0;
    display: block;
    height: var(--usa-hero-stage);
    background-image: var(--usa-hero-mobile-image, var(--usa-hero-image)) !important;
    background-position: var(--usa-hero-mobile-position, center top) !important;
    background-repeat: no-repeat !important;
    background-size: auto var(--usa-hero-intro) !important;
  }

  .page-hero.usa-napa-hero::after {
    background-image: url('/tours/usa/napa/images/california-header-ms-skype-2560.jpg') !important;
    background-size: auto var(--usa-hero-intro) !important;
  }

  .se-page--usa-image-led .se-hero::after,
  .sc-tour--usa-image-led .sc-hero::after,
  .nj-tour--usa-image-led .nj-hero::after,
  .page-hero.usa-napa-hero::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    z-index: 1;
    height: var(--usa-hero-stage);
    background: linear-gradient(180deg, rgba(3,24,31,.05) 0%, rgba(3,24,31,.06) 56%, rgba(5,45,55,.94) var(--usa-hero-intro), #052d37 calc(var(--usa-hero-intro) + 100px));
    pointer-events: none;
  }

  .sc-tour--usa-image-led .sc-hero__media {
    height: var(--usa-hero-stage);
  }

  .sc-tour--usa-image-led .sc-hero__picture,
  .sc-tour--usa-image-led .sc-hero__image {
    width: 100%;
    height: var(--usa-hero-intro);
  }

  .sc-tour--usa-image-led .sc-hero__image {
    object-fit: cover;
    object-position: 50% top;
  }

  .nj-tour--usa-image-led .nj-hero__photo {
    display: none;
  }

  .usa-cinematic-hero__identifier {
    top: calc(var(--usa-hero-intro) - 106px);
    right: 20px;
    left: 20px;
    z-index: 4;
    min-height: 62px;
    justify-content: flex-start;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,.52);
    border-bottom: 1px solid rgba(255,255,255,.28);
  }

  .usa-cinematic-hero__identifier-label {
    font-size: 10px;
    letter-spacing: .16em;
    writing-mode: horizontal-tb;
  }

  .usa-cinematic-hero__identifier-title {
    position: static;
    width: auto;
    height: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    clip: auto;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -.01em;
    line-height: 1.05;
    white-space: normal;
  }

  .usa-cinematic-hero__cue {
    width: 42px;
    height: 42px;
    margin: 0 0 0 auto;
    flex: 0 0 42px;
    font-size: 22px;
  }

  .se-page--usa-image-led .se-hero__content,
  .sc-tour--usa-image-led .sc-hero__content,
  .nj-tour--usa-image-led .nj-hero__content {
    position: relative;
    inset: auto;
    z-index: 3;
    display: block;
    min-height: 0;
    padding: 30px 0 36px;
  }

  .sc-tour--usa-image-led .sc-hero__content .sc-shell {
    display: block;
    min-height: 0;
  }

  .se-page--usa-image-led .se-hero__copy,
  .sc-tour--usa-image-led .sc-hero__inner,
  .nj-tour--usa-image-led .nj-hero__inner {
    max-width: none;
    padding: 0;
  }

  .se-page--usa-image-led .se-hero__eyebrow,
  .se-page--usa-image-led .se-hero h1,
  .sc-tour--usa-image-led .sc-hero .sc-eyebrow,
  .sc-tour--usa-image-led .sc-hero h1,
  .nj-tour--usa-image-led .nj-hero .nj-eyebrow,
  .nj-tour--usa-image-led .nj-hero h1,
  .page-hero.usa-napa-hero .hero-badge-meta,
  .page-hero.usa-napa-hero .page-hero-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .se-page--usa-image-led .se-hero__countries,
  .sc-tour--usa-image-led .sc-hero__subhead,
  .nj-tour--usa-image-led .nj-hero__subhead,
  .page-hero.usa-napa-hero .page-hero-subtitle:first-of-type {
    max-width: none;
    margin: 0 0 14px;
    color: #fff;
    font-family: "Playfair Display", Georgia, serif;
    font-size: clamp(25px, 7vw, 31px);
    font-weight: 500;
    line-height: 1.15;
  }

  .se-page--usa-image-led .se-hero__facts,
  .sc-tour--usa-image-led .sc-hero__route,
  .nj-tour--usa-image-led .nj-hero__route,
  .page-hero.usa-napa-hero .page-hero-subtitle {
    margin: 0 0 10px;
    color: rgba(255,255,255,.82);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .08em;
    line-height: 1.55;
    text-transform: uppercase;
  }

  .se-page--usa-image-led .se-hero__intro {
    margin: 12px 0 0;
    font-size: 15px;
    line-height: 1.55;
  }

  .se-page--usa-image-led .se-hero .se-actions,
  .sc-tour--usa-image-led .sc-hero .sc-actions,
  .nj-tour--usa-image-led .nj-hero .nj-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    margin-top: 20px;
  }

  .se-page--usa-image-led .se-hero .se-button,
  .sc-tour--usa-image-led .sc-hero .sc-button,
  .nj-tour--usa-image-led .nj-hero .nj-button {
    min-height: 48px;
    justify-content: center;
  }

  .page-hero.usa-napa-hero {
    background-image: none !important;
  }

  .page-hero.usa-napa-hero > .container {
    position: relative;
    z-index: 3;
    width: calc(100% - 40px);
    padding: 30px 0 36px;
  }

  .page-hero.usa-napa-hero .page-hero-content {
    max-width: none;
    padding: 0;
  }

  .page-hero.usa-napa-hero .page-hero-subtitle:first-of-type strong {
    font-weight: 500;
  }

  html body .nj-tour.nj-tour--usa-image-led .nj-hero {
    min-height: var(--usa-hero-stage) !important;
    height: auto !important;
  }

  html body .nj-tour.nj-tour--usa-image-led .nj-hero__content {
    min-height: 0 !important;
    padding: 30px 0 36px !important;
  }

  html body .nj-tour.nj-tour--usa-image-led .nj-hero__inner {
    max-width: none !important;
    padding-bottom: 0 !important;
  }
}

@media (min-width: 768px) and (max-width: 1100px) {
  .usa-cinematic-hero__identifier {
    right: 18px;
  }
  .se-page--usa-image-led .se-hero__copy,
  .sc-tour--usa-image-led .sc-hero__inner,
  .nj-tour--usa-image-led .nj-hero__inner {
    max-width: 650px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .usa-cinematic-hero__cue { scroll-behavior: auto; }
}
