/* Conquer Travel homepage additions.
   Layered on top of conquer-travel.css, which carries the site branding tokens
   (--blue #1188c9, --deep #052a46, --ink #112b3a, --ice #ebf7fc, --paper #f8fbfd). */

/* ---------- Sticky header with an always-visible itinerary builder action ---------- */

header {
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 10px 30px #062f4714;
}

/* Anchor targets clear the sticky header instead of hiding beneath it. */
html {
  scroll-padding-top: 130px;
}

.headerBuilderCta {
  flex: 0 0 auto;
  white-space: nowrap;
}

.headerBuilderCta .ctaShort {
  display: none;
}

@media (max-width: 1180px) {
  .headerBuilderCta .ctaLong {
    display: none;
  }

  .headerBuilderCta .ctaShort {
    display: inline;
  }
}

/* The floating concierge pill sits below the header and clear of footer text. */
footer {
  padding-bottom: 60px;
}

@media (min-width: 901px) {
  footer {
    padding-right: 230px;
  }
}

/* ---------- Featured hero: Roma Bowl + Korean Tour ---------- */

.featuredHero {
  display: block;
  padding: 70px 7vw 85px;
  min-height: 0;
}

.featuredHero .featuredIntro {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 0.6fr);
  align-items: start;
  gap: 4vw;
  max-width: 1500px;
  margin: 0 auto 52px;
}

.featuredHero h1 {
  letter-spacing: -0.06em;
  margin: 0;
  font-size: clamp(46px, 6.4vw, 88px);
  line-height: 0.86;
}

.featuredHero h1 em {
  color: #54c8f4;
  font-style: normal;
  display: block;
}

.featuredHero .heroLead {
  color: #d9eff8;
  max-width: 720px;
  margin: 26px 0 0;
  font-size: 18px;
  line-height: 1.65;
}

.featuredHero .actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 26px;
  margin: 30px 0 0;
}

.featuredHero .featuredIntro .actions > a:not(.btn) {
  color: #8fdcff;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 11px;
  font-weight: 900;
}

.featuredHero .heroTravelLogo {
  /* Fills the open blue space beside the hero copy without crowding it. */
  width: min(360px, 100%);
  height: auto;
  margin: 10px 0 0 auto;
  /* White treatment so the mark reads cleanly on the deep blue hero. */
  filter: brightness(0) invert(1);
  opacity: 0.92;
}

@media (max-width: 1180px) {
  .featuredHero .heroTravelLogo {
    width: min(290px, 100%);
  }
}

/* Two primary opportunities, side by side */
.featureCards {
  display: grid;
  /* The two events sit side by side; Los Angeles, the home base, spans the row below. */
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  max-width: 1500px;
  margin: 0 auto;
}

.featureCards article:nth-child(3) {
  grid-column: 1 / -1;
}

.featureCards article {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  background: #fff;
  color: var(--ink);
  border: 1px solid #d6e6ed;
  box-shadow: 0 22px 60px #01121f4d;
}

.featureCards .stripe {
  padding: 22px 16px;
  font-size: 30px;
}

.featureCards .content {
  display: flex;
  flex-direction: column;
  padding: 34px;
}

.featureCards .rank {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 14px;
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 10px;
  font-weight: 900;
}

.featureCards .rank i {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  background: var(--blue);
  color: #fff;
  font-style: normal;
  font-size: 11px;
}

.featureCards .content h2 {
  letter-spacing: -0.04em;
  margin: 18px 0 6px;
  font-size: clamp(30px, 2.5vw, 40px);
  line-height: 1;
}

.featureCards .content > strong {
  color: var(--blue);
  display: block;
  margin-bottom: 12px;
}

.featureCards .content > p:not(.actions) {
  color: #58707d;
  margin: 0;
  line-height: 1.65;
}

/* The Los Angeles home-base card runs to a second paragraph. */
.featureCards .content > p:not(.actions) + p:not(.actions) {
  margin-top: 14px;
}

.featureCards .eventLogoLink {
  margin: 0;
}

.featureCards .content .actions {
  /* Pin both cards' calls to action to the same baseline. */
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 22px;
  margin: auto 0 0;
  padding-top: 26px;
}

.featureCards .content .actions > a:not(.btn) {
  color: var(--blue);
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 11px;
  font-weight: 900;
}

/* ---------- Feature card marks: Roma logo, Korean flag, LAX code badge ---------- */

.featureCards .eventLogoLink img {
  width: auto;
  max-width: 100%;
  height: 118px;
  object-fit: contain;
  display: block;
}

/* The code-native Taegeukgi keeps a hairline so the white field reads as a flag. */
.featureCards .eventLogoLink img.flagMark {
  height: 104px;
  border: 1px solid #cfe2ea;
  box-shadow: 0 12px 26px #01121f1a;
}

/* The supplied Santa Monica Pier photo leads the Los Angeles home-base card. */
.featureCards .laPhoto {
  /* Bleeds to the card edges against the 34px content padding. */
  margin: -34px -34px 26px;
  overflow: hidden;
  position: relative;
}

.featureCards .laPhoto img {
  display: block;
  width: 100%;
  height: clamp(240px, 24vw, 340px);
  object-fit: cover;
  object-position: center 58%;
}

.featureCards .laPhoto figcaption {
  position: absolute;
  inset: auto 0 0;
  padding: 26px 34px 16px;
  background: linear-gradient(#0000, #01121fcc);
  color: #eaf6fc;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

/* ---------- Multi-City Experiences ---------- */

.routeGrid .routeMedia {
  /* Bleeds to the card edges against the vendored 30px article padding. */
  display: block;
  margin: -30px -30px 22px;
  overflow: hidden;
  background: var(--ice);
}

.routeGrid .routeMedia img {
  display: block;
  width: 100%;
  height: 168px;
  object-fit: cover;
}

.stripe.la {
  background: linear-gradient(#1188cc55, #052f4eee),
    repeating-linear-gradient(90deg, #2a9fd6 0 12px, #14719d 12px 24px);
}

/* ---------- Why travel with ISN ---------- */

.why .whyLead {
  color: #c1d8e3;
  margin: 22px 0 0;
  line-height: 1.7;
}

.why .whyActions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 28px;
}

.why .whyActions a:not(.btn) {
  color: #55c8f3;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  font-size: 11px;
  font-weight: 900;
  align-self: center;
}

/* ---------- Shared small pieces ---------- */

.routeGrid a + a {
  margin-left: 18px;
}

.planList p b {
  display: inline-block;
}

.destinationGrid button.isActive {
  background: #06314d;
  color: #fff;
}

.destinationGrid button.isActive b,
.destinationGrid button.isActive small {
  color: #57cdf9;
}

.journeyMapFilters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px;
}

.journeyMapFilters button {
  cursor: pointer;
  background: #f2f8fb;
  border: 1px solid #cbdfe8;
  padding: 9px 13px;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 10px;
  font-weight: 900;
}

.journeyMapFilters button.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
}

.journeyMapHead {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 14px 12px;
}

.journeyMapHead b {
  font-size: 17px;
}

.journeyMapHead span {
  color: #5d7480;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 10px;
  font-weight: 900;
}

/* ---------- Responsive ---------- */

@media (max-width: 1050px) {
  .featuredHero .featuredIntro {
    grid-template-columns: 1fr;
  }

  /* Single-column hero: the mark steps down and sits under the copy. */
  .featuredHero .heroTravelLogo {
    width: min(210px, 46%);
    margin: 30px 0 0;
  }
}

@media (max-width: 900px) {
  /* Compact sticky header: brand + builder action on one row, scrollable nav below. */
  html {
    scroll-padding-top: 122px;
  }

  header {
    height: auto;
    flex-wrap: wrap;
    row-gap: 8px;
    padding: 10px 6vw;
  }

  header .brand img {
    width: 96px;
    height: 64px;
  }

  header nav {
    display: flex;
    flex-wrap: nowrap;
    gap: 18px;
    width: 100%;
    order: 3;
    overflow-x: auto;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  header nav::-webkit-scrollbar {
    display: none;
  }

  header nav a {
    color: var(--deep);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    white-space: nowrap;
    font-size: 11px;
    font-weight: 900;
  }

  header > .btn {
    display: inline-flex;
    padding: 12px 16px;
  }

  footer {
    padding-bottom: 104px;
  }

  .featuredHero {
    padding: 55px 6vw 65px;
  }

  .featureCards {
    grid-template-columns: 1fr;
  }

  .featureCards article:nth-child(3) {
    grid-column: auto;
  }

  .routeGrid .routeMedia img {
    height: 200px;
  }
}

@media (max-width: 560px) {
  .featuredHero h1 {
    font-size: 48px;
  }

  .featureCards article {
    display: block;
  }

  .featureCards .stripe {
    writing-mode: initial;
    align-items: center;
    height: 92px;
    transform: none;
  }

  .featureCards .content {
    padding: 26px;
  }

  .featureCards .laPhoto {
    margin: -26px -26px 22px;
  }

  .featureCards .laPhoto img {
    height: 210px;
  }

  .featureCards .laPhoto figcaption {
    padding: 22px 26px 14px;
  }

  .routeGrid .routeMedia img {
    height: 180px;
  }

  .featureCards .content .actions .btn {
    width: 100%;
  }
}

/* ---------- Suggested Cities: the Los Angeles tile links to the LA microsite ----------
   The vendored stylesheet only styles .destinationGrid button, so the anchor
   variant repeats the same treatment to keep the tile grid visually uniform. */
.destinationGrid a {
  text-align: left;
  cursor: pointer;
  color: var(--ink);
  background: #fff;
  border: 0;
  padding: 30px;
  text-decoration: none;
  display: block;
  transition: all 0.18s;
}

.destinationGrid a:hover {
  color: #fff;
  background: #06314d;
}

.destinationGrid a:hover b,
.destinationGrid a:hover small {
  color: #57cdf9;
}
