/* Summer / Family guide — scoped page styles only (.page-family-summer) */

.page-family-summer main {
  overflow-x: clip;
  padding-bottom: max(env(safe-area-inset-bottom, 0px), 20px);
}

.page-family-summer #pick-your-family-day,
.page-family-summer #theme-parks,
.page-family-summer #downtown-with-kids,
.page-family-summer #zoo-museum-corridor,
.page-family-summer #hill-country,
.page-family-summer #resort-family,
.page-family-summer #indoor-heat-escape,
.page-family-summer #before-flight-plan,
.page-family-summer #family-concierge-help,
.page-family-summer #situation-routes,
.page-family-summer #willie-routes,
.page-family-summer #ask-family {
  scroll-margin-top: 5.5rem;
}

/* ----- Hero: cinematic full-bleed (Business Services benchmark, family scenic) ----- */
.page-family-summer .fam-hero.hero-fiesta-dark.fam-hero--cinematic {
  isolation: isolate;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  overflow-x: clip;
  overflow-y: visible;
  background-color: #0a1628;
  /* Readability on the left; photo stays bright on the right + warm Fiesta lift */
  background-image:
    linear-gradient(
      90deg,
      rgba(8, 14, 28, 0.52) 0%,
      rgba(8, 14, 28, 0.28) 34%,
      rgba(8, 14, 28, 0.1) 54%,
      rgba(8, 14, 28, 0.04) 72%,
      transparent 84%
    ),
    radial-gradient(ellipse 90% 85% at 92% 45%, rgba(255, 139, 31, 0.12), transparent 58%),
    radial-gradient(ellipse 70% 60% at 78% 18%, rgba(20, 184, 166, 0.08), transparent 52%),
    url("assets/sunlit_family_stroll_along_riverside_path.png");
  background-repeat: no-repeat;
  background-position:
    0 0,
    0 0,
    0 0,
    center 42%;
  background-size: cover;
}

@media (max-width: 767px) {
  .page-family-summer .fam-hero.hero-fiesta-dark.fam-hero--cinematic {
    background-image:
      linear-gradient(
        90deg,
        rgba(8, 14, 28, 0.56) 0%,
        rgba(8, 14, 28, 0.34) 42%,
        rgba(8, 14, 28, 0.14) 64%,
        rgba(8, 14, 28, 0.05) 100%
      ),
      radial-gradient(ellipse 100% 80% at 85% 40%, rgba(255, 139, 31, 0.1), transparent 55%),
      radial-gradient(ellipse 85% 55% at 70% 12%, rgba(20, 184, 166, 0.07), transparent 50%),
      url("assets/sunlit_family_stroll_along_riverside_path.png");
    background-position:
      0 0,
      0 0,
      0 0,
      58% center;
    min-height: 720px;
    max-height: none;
  }
}

@media (min-width: 768px) {
  .page-family-summer .fam-hero.hero-fiesta-dark.fam-hero--cinematic {
    min-height: 620px;
    max-height: 820px;
  }
}

@media (min-width: 1024px) {
  .page-family-summer .fam-hero.hero-fiesta-dark.fam-hero--cinematic {
    min-height: 680px;
    max-height: 820px;
  }
}

/* Omit default fiesta rainbow bar — accent line + photo carry the finish */
.page-family-summer .fam-hero.hero-fiesta-dark.fam-hero--cinematic::before {
  display: none;
}

.page-family-summer .secondary-hero.hero-fiesta-dark.fam-hero.fam-hero--cinematic::after {
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(180deg, transparent 64%, rgba(2, 6, 14, 0.22) 100%);
}

.page-family-summer .fam-hero .hero-fiesta-inner.hero-inner-band.fam-hero-band {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 2;
  min-height: 0;
  width: 100%;
  max-width: min(1320px, 100%);
  margin-inline: auto;
  box-sizing: border-box;
  padding: clamp(20px, 4vw, 44px) clamp(16px, 4vw, 48px);
}

.page-family-summer .fam-hero-shell {
  width: 100%;
}

.page-family-summer .fam-hero-body {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 720px;
  gap: clamp(14px, 2vw, 18px);
}

.page-family-summer .fam-hero-accent {
  width: 100%;
  max-width: 100%;
  height: 3px;
  flex-shrink: 0;
  margin: 0 0 clamp(12px, 2vw, 18px);
  border: none;
  border-radius: 2px;
  transform: none;
  left: auto;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(242, 178, 26, 0.85) 12%,
    rgba(255, 139, 31, 0.9) 30%,
    rgba(255, 106, 77, 0.88) 48%,
    rgba(255, 92, 168, 0.55) 58%,
    rgba(20, 184, 166, 0.92) 78%,
    rgba(242, 178, 26, 0.35) 92%,
    transparent 100%
  );
  box-shadow:
    0 0 18px rgba(242, 178, 26, 0.2),
    0 0 28px rgba(20, 184, 166, 0.1),
    0 0 1px rgba(255, 246, 230, 0.35);
}

.page-family-summer .fam-hero-eyebrow {
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(0.68rem, 0.35vw + 0.62rem, 0.76rem);
  color: rgba(255, 230, 200, 0.95);
  margin: 0;
}

.page-family-summer .fam-hero .hero-title.fam-hero-title {
  margin: 0;
  max-width: none;
  width: 100%;
  font-size: clamp(2rem, 3.85vw + 0.85rem, 3.55rem);
  line-height: 1.06;
  letter-spacing: -0.038em;
  font-weight: 860;
  color: #fff8eb;
  text-shadow: 0 2px 36px rgba(0, 0, 0, 0.35);
}

.page-family-summer .fam-hero .hero-text-on-dark.fam-hero-lead {
  margin: 0;
  max-width: 100%;
  font-size: clamp(0.98rem, 0.35vw + 0.88rem, 1.08rem);
  line-height: 1.67;
  color: rgba(255, 246, 230, 0.9);
}

.page-family-summer .fam-hero-chips.route-chip-row-hero {
  align-self: stretch;
  margin-top: 0;
  padding-top: clamp(12px, 2vw, 18px);
  border-top: none;
  column-gap: 10px;
  row-gap: 9px;
}

.page-family-summer .fam-hero-chips.route-chip-row-hero .route-chip {
  border-color: rgba(255, 246, 230, 0.22);
  box-shadow: 0 0 0 1px rgba(242, 178, 26, 0.08);
}

.page-family-summer .fam-hero-chips.route-chip-row-hero .route-chip:hover {
  border-color: rgba(242, 178, 26, 0.42);
}

.page-family-summer .fam-hero-cta.hero-cta-row {
  margin-top: clamp(8px, 1.8vw, 14px);
  margin-bottom: 0;
  flex-wrap: wrap;
  gap: 12px 14px;
  align-items: center;
}

.page-family-summer .fam-hero .btn {
  min-height: 48px;
}

.page-family-summer .fam-hero .btn-primary {
  background: linear-gradient(135deg, #f2b21a 0%, #ff8b1f 55%, #ff6f31 100%);
  border: 1px solid rgba(255, 210, 130, 0.7);
  color: #1a2338;
  box-shadow: 0 12px 26px rgba(255, 139, 31, 0.34);
}

.page-family-summer .fam-hero .fam-hero-secondary,
.page-family-summer .fam-hero .btn-secondary.hero-secondary-btn {
  background: rgba(4, 12, 26, 0.45);
  color: rgba(255, 248, 235, 0.96);
  border: 1px solid rgba(255, 246, 230, 0.28);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.page-family-summer .fam-hero .fam-hero-secondary:hover,
.page-family-summer .fam-hero .btn-secondary.hero-secondary-btn:hover {
  border-color: rgba(20, 184, 166, 0.45);
  color: rgba(255, 250, 240, 0.99);
  background: rgba(255, 246, 230, 0.08);
}

@media (max-width: 520px) {
  .page-family-summer .fam-hero-cta.hero-cta-row .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Section heads */
.page-family-summer .fam-band-head {
  display: flex;
  flex-direction: column;
  gap: 11px;
  max-width: 44rem;
}

.page-family-summer .fam-band-head--wide {
  max-width: 56rem;
}

.page-family-summer .fam-eyebrow {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(194, 65, 12, 0.95);
}

.page-family-summer .section.dark-showcase .fam-eyebrow {
  color: rgba(242, 178, 26, 0.95);
}

.page-family-summer .fam-section-title {
  margin: 0;
  font-size: clamp(1.55rem, 1.2vw + 1.28rem, 2.08rem);
  line-height: 1.13;
  letter-spacing: -0.03em;
  font-weight: 850;
  color: var(--navy);
}

.page-family-summer .section.dark-showcase .fam-section-title {
  color: #fff8eb;
}

.page-family-summer .fam-section-sub {
  margin: 0;
  font-size: clamp(0.98rem, 0.25vw + 0.9rem, 1.06rem);
  line-height: 1.62;
  color: rgba(11, 29, 58, 0.82);
}

.page-family-summer .section.dark-showcase .fam-section-sub,
.page-family-summer .section.dark-showcase .fam-section-sub.section-text.section-text-light {
  color: rgba(255, 246, 230, 0.84);
}

/* ----- Pick your family day — intro panel + image-overlay route tiles ----- */
/*
 * Global styles.css treats main > .section (without section-* utility classes) as
 * “type on dark canvas”, which forces light h2/body colors. This band is cream —
 * override inherited colors so the intro (Pick your family lane…) stays readable.
 */
body.page-family-summer.family-page main#main-content > .section.fam-pick-section {
  color: rgba(7, 22, 39, 0.94);
}

body.page-family-summer.family-page main#main-content > .section.fam-pick-section h2.fam-section-title,
body.page-family-summer.family-page main#main-content > .section.fam-pick-section .fam-pick-head h2 {
  color: #031627;
}

body.page-family-summer.family-page main#main-content > .section.fam-pick-section .fam-pick-head .fam-section-sub,
body.page-family-summer.family-page main#main-content > .section.fam-pick-section .fam-pick-head .fam-pick-lead {
  color: rgba(3, 22, 39, 0.94);
}

body.page-family-summer.family-page main#main-content > .section.fam-pick-section .fam-pick-head .fam-eyebrow {
  color: #9a3412;
}

.page-family-summer .fam-pick-section {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding-block: clamp(42px, 7vw, 76px);
  border-block: 1px solid rgba(11, 29, 58, 0.07);
  background:
    radial-gradient(ellipse 80% 55% at 10% 20%, rgba(255, 237, 213, 0.65), transparent 52%),
    radial-gradient(ellipse 65% 45% at 95% 75%, rgba(20, 184, 166, 0.1), transparent 48%),
    linear-gradient(185deg, #fff7ed 0%, #f5ebe0 48%, #ebe0d4 100%);
}

.page-family-summer .fam-pick-section::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(ellipse 52% 38% at 76% 12%, rgba(255, 200, 150, 0.12), transparent 58%);
  opacity: 1;
}

.page-family-summer .fam-pick-section .routes-band-inner {
  position: relative;
  z-index: 1;
}

.page-family-summer .fam-pick-section .fam-band-head.fam-pick-head {
  position: relative;
  z-index: 1;
  max-width: min(54rem, 100%);
  gap: clamp(10px, 1.8vw, 13px);
  padding: clamp(16px, 2.6vw, 22px) clamp(18px, 3vw, 26px);
  border-radius: clamp(16px, 2vw, 22px);
  border: 1px solid rgba(11, 29, 58, 0.1);
  background:
    linear-gradient(145deg, rgba(255, 252, 246, 0.97) 0%, rgba(248, 242, 234, 0.94) 100%);
  box-shadow:
    0 14px 40px rgba(11, 29, 58, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.page-family-summer .fam-pick-section .fam-pick-head .fam-pick-eyebrow.fam-eyebrow,
.page-family-summer .fam-pick-section .fam-pick-head .fam-eyebrow {
  color: #c2410c;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  max-width: 100%;
}

.page-family-summer .fam-pick-section .fam-pick-head .fam-section-title,
.page-family-summer .fam-pick-section .fam-pick-head .fam-section-title.fam-pick-title {
  color: #031627;
  font-weight: 865;
}

/* Defensive: keep the intro heading a clean text block — no accidental
   blue/selection-style highlight behind the words, even if a stray
   span/mark/strong wrapper or utility background ever lands here. */
.page-family-summer .fam-pick-section .fam-pick-head .fam-pick-title,
.page-family-summer .fam-pick-section .fam-pick-head .fam-section-title.fam-pick-title {
  display: block;
  color: #071225;
  background: none;
  background-color: transparent;
  background-image: none;
  -webkit-box-decoration-break: slice;
          box-decoration-break: slice;
  box-shadow: none;
  text-shadow: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  line-height: 1.13;
}

.page-family-summer .fam-pick-section .fam-pick-head .fam-pick-title > *,
.page-family-summer .fam-pick-section .fam-pick-head .fam-pick-title span,
.page-family-summer .fam-pick-section .fam-pick-head .fam-pick-title mark,
.page-family-summer .fam-pick-section .fam-pick-head .fam-pick-title strong,
.page-family-summer .fam-pick-section .fam-pick-head .fam-pick-title em,
.page-family-summer .fam-pick-section .fam-pick-head .fam-pick-title b,
.page-family-summer .fam-pick-section .fam-pick-head .fam-pick-title i {
  color: inherit;
  background: none;
  background-color: transparent;
  background-image: none;
  -webkit-box-decoration-break: slice;
          box-decoration-break: slice;
  box-shadow: none;
  text-shadow: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  font: inherit;
  -webkit-text-fill-color: currentColor;
}

.page-family-summer .fam-pick-section .fam-pick-head .fam-section-sub,
.page-family-summer .fam-pick-section .fam-pick-head .fam-pick-lead {
  color: rgba(3, 22, 39, 0.94);
  font-weight: 580;
  max-width: 48rem;
}

.page-family-summer .fam-pick-section .fam-pick-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin-top: 6px;
  padding-top: clamp(12px, 2vw, 16px);
  border-top: 1px solid rgba(11, 29, 58, 0.12);
}

.page-family-summer .fam-pick-section .fam-pick-tag {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 780;
  letter-spacing: 0.04em;
  color: #06243d;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(11, 29, 58, 0.12);
  box-shadow: 0 2px 8px rgba(11, 29, 58, 0.05);
}

.page-family-summer .fam-pick-section .fam-day-bento {
  display: grid;
  gap: clamp(14px, 2.2vw, 20px);
  margin-top: clamp(24px, 4vw, 36px);
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .page-family-summer .fam-pick-section .fam-day-bento {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    align-items: stretch;
  }

  /* Align top-row route card heights for a calmer grid */
  .page-family-summer .fam-pick-section .fam-day-card--feat .fam-day-card-media-wrap,
  .page-family-summer .fam-pick-section .fam-day-card--dt-slot .fam-day-card-media-wrap,
  .page-family-summer .fam-pick-section .fam-day-card--zoo-slot .fam-day-card-media-wrap {
    min-height: clamp(340px, 28vw, 400px);
  }

  .page-family-summer .fam-pick-section .fam-day-card--feat {
    grid-column: 1 / 2;
    grid-row: 1 / 2;
  }

  .page-family-summer .fam-pick-section .fam-day-card--dt-slot {
    grid-column: 2 / 3;
    grid-row: 1 / 2;
  }

  .page-family-summer .fam-pick-section .fam-day-card--zoo-slot {
    grid-column: 3 / 4;
    grid-row: 1 / 2;
  }

  .page-family-summer .fam-pick-section .fam-day-card--wide {
    grid-column: 1 / -1;
    grid-row: 2 / 3;
  }

  .page-family-summer .fam-pick-section .fam-day-card--resort-photo {
    grid-column: 1 / 3;
    grid-row: 3 / 4;
  }

  .page-family-summer .fam-pick-section .fam-day-card--bf {
    grid-column: 3 / 4;
    grid-row: 3 / 4;
  }
}

.page-family-summer .fam-pick-section .fam-day-card {
  position: relative;
  box-sizing: border-box;
  display: block;
  min-height: 0;
  min-width: 0;
  border-radius: clamp(18px, 2.4vw, 24px);
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background: #0a1428;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow:
    0 20px 50px rgba(5, 10, 24, 0.28),
    0 0 0 1px rgba(20, 184, 166, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  transition:
    transform 0.22s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.22s ease,
    border-color 0.22s ease;
}

.page-family-summer .fam-pick-section .fam-day-card--feat {
  box-shadow:
    0 20px 50px rgba(5, 10, 24, 0.28),
    0 0 0 1px rgba(255, 139, 31, 0.35),
    0 0 28px rgba(242, 178, 26, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.page-family-summer .fam-pick-section .fam-day-card--dt-slot {
  box-shadow:
    0 20px 50px rgba(5, 10, 24, 0.28),
    0 0 0 1px rgba(14, 165, 233, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.page-family-summer .fam-pick-section .fam-day-card--zoo-slot {
  box-shadow:
    0 20px 50px rgba(5, 10, 24, 0.28),
    0 0 0 1px rgba(5, 150, 105, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.page-family-summer .fam-pick-section .fam-day-card--wide {
  box-shadow:
    0 20px 50px rgba(5, 10, 24, 0.28),
    0 0 0 1px rgba(242, 178, 26, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.page-family-summer .fam-pick-section .fam-day-card--resort-photo {
  box-shadow:
    0 20px 50px rgba(5, 10, 24, 0.28),
    0 0 0 1px rgba(20, 184, 166, 0.32),
    0 0 32px rgba(20, 184, 166, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.page-family-summer .fam-pick-section .fam-day-card--bf {
  box-shadow:
    0 20px 50px rgba(5, 10, 24, 0.28),
    0 0 0 1px rgba(129, 140, 248, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.page-family-summer .fam-pick-section .fam-day-card:focus-visible {
  outline: 3px solid rgba(242, 178, 26, 0.9);
  outline-offset: 3px;
}

.page-family-summer .fam-pick-section .fam-day-card:active {
  transform: translateY(-1px) scale(0.997);
}

.page-family-summer .fam-pick-section .fam-day-card:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 246, 230, 0.38);
  box-shadow:
    0 28px 60px rgba(5, 10, 24, 0.38),
    0 0 0 1px rgba(242, 178, 26, 0.45),
    0 0 40px rgba(20, 184, 166, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.page-family-summer .fam-pick-section .fam-day-card-media-wrap {
  position: relative;
  width: 100%;
  min-height: clamp(260px, 52vw, 320px);
  overflow: hidden;
  background: rgba(11, 29, 58, 0.14);
}

@media (min-width: 640px) {
  .page-family-summer .fam-pick-section .fam-day-card-media-wrap {
    min-height: clamp(320px, 36vw, 380px);
  }
}

@media (min-width: 900px) {
  .page-family-summer .fam-pick-section .fam-day-card-media-wrap {
    min-height: clamp(360px, 26vw, 420px);
  }

  .page-family-summer .fam-pick-section .fam-day-card--wide .fam-day-card-media-wrap {
    min-height: clamp(360px, 22vw, 400px);
  }
}

.page-family-summer .fam-pick-section .fam-day-card-media {
  display: block;
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.page-family-summer .fam-pick-section .fam-day-card:hover .fam-day-card-media {
  transform: scale(1.06);
}

.page-family-summer .fam-pick-section .fam-day-media--zoo {
  object-position: 48% 38%;
}

.page-family-summer .fam-pick-section .fam-day-media--dt {
  object-position: 55% 45%;
}

.page-family-summer .fam-pick-section .fam-day-media--nb {
  object-position: 50% 40%;
}

.page-family-summer .fam-pick-section .fam-day-media--resort {
  object-position: 50% 48%;
}

.page-family-summer .fam-pick-section .fam-day-media--bf {
  object-position: 58% 42%;
}

/* Bottom-weighted scrim — strong enough for white copy, leaves photos vivid */
.page-family-summer .fam-pick-section .fam-day-card-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    to top,
    rgba(5, 10, 24, 0.5) 0%,
    rgba(5, 10, 24, 0.26) 44%,
    rgba(5, 10, 24, 0.04) 74%,
    transparent 100%
  );
}

.page-family-summer .fam-pick-section .fam-day-card-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: min(34rem, 94%);
  padding: clamp(14px, 2.4vw, 22px) clamp(16px, 2.8vw, 24px) clamp(16px, 2.8vw, 22px);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: clamp(5px, 1vw, 9px);
  text-align: left;
}

@media (min-width: 900px) {
  .page-family-summer .fam-pick-section .fam-day-card--wide .fam-day-card-body {
    max-width: min(48rem, 92%);
  }

  .page-family-summer .fam-pick-section .fam-day-card--resort-photo .fam-day-card-body {
    max-width: min(38rem, 94%);
  }
}

.page-family-summer .fam-pick-section .fam-day-route-tag {
  align-self: flex-start;
  font-size: 0.58rem;
  font-weight: 850;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.98);
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 999px;
  padding: 5px 10px;
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: 0 4px 14px rgba(5, 10, 24, 0.2);
}

.page-family-summer .fam-pick-section .fam-day-card--feat .fam-day-route-tag {
  border-color: rgba(255, 200, 120, 0.45);
  background: rgba(255, 139, 31, 0.2);
}

.page-family-summer .fam-pick-section .fam-day-card--dt-slot .fam-day-route-tag {
  border-color: rgba(125, 211, 252, 0.45);
  background: rgba(14, 165, 233, 0.18);
}

.page-family-summer .fam-pick-section .fam-day-card--zoo-slot .fam-day-route-tag {
  border-color: rgba(110, 231, 183, 0.45);
  background: rgba(5, 150, 105, 0.18);
}

.page-family-summer .fam-pick-section .fam-day-card--wide .fam-day-route-tag {
  border-color: rgba(253, 224, 150, 0.4);
  background: rgba(255, 255, 255, 0.12);
}

.page-family-summer .fam-pick-section .fam-day-card--resort-photo .fam-day-route-tag {
  border-color: rgba(45, 212, 191, 0.45);
  background: rgba(20, 184, 166, 0.2);
}

.page-family-summer .fam-pick-section .fam-day-card--bf .fam-day-route-tag {
  border-color: rgba(165, 180, 252, 0.5);
  background: rgba(79, 70, 229, 0.22);
}

.page-family-summer .fam-pick-section .fam-day-card-title {
  margin: 0;
  font-size: clamp(1.08rem, 0.38vw + 0.98rem, 1.34rem);
  font-weight: 870;
  letter-spacing: -0.026em;
  line-height: 1.14;
  color: #fff;
  text-shadow: 0 2px 18px rgba(5, 10, 24, 0.45);
}

.page-family-summer .fam-pick-section .fam-day-card-copy {
  margin: 0;
  font-size: clamp(0.84rem, 0.18vw + 0.8rem, 0.94rem);
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.92);
  max-width: 38rem;
  overflow-wrap: break-word;
  text-shadow: 0 1px 12px rgba(5, 10, 24, 0.4);
}

.page-family-summer .fam-pick-section .fam-day-card-meta {
  margin: 1px 0 0;
  font-size: clamp(0.76rem, 0.12vw + 0.72rem, 0.84rem);
  line-height: 1.45;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.9);
  overflow-wrap: break-word;
  text-shadow: 0 1px 10px rgba(5, 10, 24, 0.38);
}

.page-family-summer .fam-pick-section .fam-day-card-meta-label {
  display: inline-block;
  margin-right: 0.35em;
  font-weight: 850;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(253, 224, 150, 0.98);
}

.page-family-summer .fam-pick-section .fam-day-card-cta {
  margin-top: 4px;
  font-size: 0.7rem;
  font-weight: 820;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 2px solid rgba(242, 178, 26, 0.75);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.page-family-summer .fam-pick-section .fam-day-card:hover .fam-day-card-cta {
  color: #fffef5;
  border-bottom-color: rgba(45, 212, 191, 0.9);
}

/* ----- Dedicated route sections ----- */
.page-family-summer .fam-detail-strip {
  display: flex;
  flex-direction: column;
}

.page-family-summer .fam-detail-strip .routes-band-inner {
  box-sizing: border-box;
  padding-inline: clamp(16px, 4vw, 36px);
}

.page-family-summer .fam-route-detail {
  position: relative;
  isolation: isolate;
  padding-block: clamp(44px, 6.8vw, 78px);
  border-block: 1px solid rgba(11, 29, 58, 0.06);
  overflow-x: clip;
}

/* Premium image-backed route bands */
.page-family-summer .fam-route-detail.route-section.image-backed {
  border-block-color: transparent;
  background-color: #9ecae9;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.page-family-summer .fam-route-detail.route-section.image-backed::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(5, 10, 24, 0.22), rgba(5, 10, 24, 0.12)),
    linear-gradient(180deg, rgba(5, 10, 24, 0.1), rgba(5, 10, 24, 0.24));
}

@media (max-width: 680px) {
  .page-family-summer .fam-route-detail.route-section.image-backed::before {
    background:
      linear-gradient(90deg, rgba(5, 10, 24, 0.28), rgba(5, 10, 24, 0.16)),
      linear-gradient(180deg, rgba(5, 10, 24, 0.14), rgba(5, 10, 24, 0.32));
  }
}

.page-family-summer .fam-route-detail.route-section.image-backed > * {
  position: relative;
  z-index: 1;
}

.page-family-summer .image-backed--theme {
  background-image: url("assets/family_fun_at_sunset_in_the_park.png");
  background-position: center 35%;
}

.page-family-summer .image-backed--downtown {
  background-image: url("assets/sunny_riverside_family_adventure_day.png");
  background-position: center 42%;
}

.page-family-summer .image-backed--zoo {
  background-image: url("assets/golden_hour_stroll_through_the_zoo.png");
  background-position: center 38%;
}

.page-family-summer .image-backed--safari {
  background-image: url("assets/safari_sunset_view_with_family_and_animals.png");
  background-position: 52% 40%;
}

.page-family-summer .image-backed--resort {
  background-image: url("assets/sunny_resort_waterpark_fun_day.png");
  background-position: center 48%;
}

.page-family-summer .image-backed--resort::before {
  background:
    linear-gradient(90deg, rgba(5, 10, 24, 0.14), rgba(5, 10, 24, 0.08)),
    linear-gradient(180deg, rgba(5, 10, 24, 0.06), rgba(5, 10, 24, 0.18));
}

@media (max-width: 680px) {
  .page-family-summer .image-backed--resort::before {
    background:
      linear-gradient(90deg, rgba(5, 10, 24, 0.2), rgba(5, 10, 24, 0.12)),
      linear-gradient(180deg, rgba(5, 10, 24, 0.1), rgba(5, 10, 24, 0.26));
  }
}

.page-family-summer .image-backed--bf-garden {
  background-image: url("assets/family_stroll_in_a_serene_garden.png");
  background-position: center 40%;
}

.page-family-summer .image-backed--bf-garden::before {
  background:
    linear-gradient(90deg, rgba(5, 10, 24, 0.18), rgba(5, 10, 24, 0.1)),
    linear-gradient(180deg, rgba(5, 10, 24, 0.08), rgba(5, 10, 24, 0.22));
}

.page-family-summer .image-backed--indoor {
  background-image: url("assets/cozy_breakfast_spread_in_natural_light.png");
  background-position: center 42%;
}

.page-family-summer .image-backed--indoor::before {
  background:
    linear-gradient(90deg, rgba(5, 10, 24, 0.68) 0%, rgba(5, 10, 24, 0.42) 40%, rgba(5, 10, 24, 0.18) 70%, transparent 90%),
    linear-gradient(180deg, rgba(5, 10, 24, 0.5) 0%, rgba(5, 10, 24, 0.32) 50%, rgba(5, 10, 24, 0.55) 100%);
}

@media (max-width: 680px) {
  .page-family-summer .image-backed--indoor::before {
    background:
      linear-gradient(90deg, rgba(5, 10, 24, 0.78) 0%, rgba(5, 10, 24, 0.52) 45%, rgba(5, 10, 24, 0.28) 72%, transparent 92%),
      linear-gradient(180deg, rgba(5, 10, 24, 0.58) 0%, rgba(5, 10, 24, 0.38) 48%, rgba(5, 10, 24, 0.62) 100%);
  }
}

.page-family-summer .fam-route-detail--checkout-soft {
  border-block-color: rgba(11, 29, 58, 0.07);
  background:
    radial-gradient(ellipse 80% 70% at 12% 0%, rgba(255, 220, 180, 0.35), transparent 50%),
    radial-gradient(ellipse 60% 50% at 95% 100%, rgba(20, 184, 166, 0.12), transparent 48%),
    linear-gradient(180deg, #fff9f0 0%, #efeae3 100%);
}

.page-family-summer .fam-route-detail--checkout-soft.image-backed.image-backed--bf-garden {
  background-color: #5a6d58;
  background-image: url("assets/family_stroll_in_a_serene_garden.png");
  background-size: cover;
  background-position: center 38%;
  border-block-color: transparent;
}

.page-family-summer .fam-route-detail-inner {
  position: relative;
  z-index: 1;
  max-width: min(940px, 100%);
}

.page-family-summer .fam-route-kicker {
  margin: 0 0 clamp(8px, 1.6vw, 12px);
  font-size: 0.8rem;
  font-weight: 750;
  color: rgba(11, 29, 58, 0.68);
}

.page-family-summer .fam-route-kicker-label {
  display: inline-block;
  padding: 3px 8px;
  margin-right: 6px;
  border-radius: 6px;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #fef3e9;
  background: linear-gradient(135deg, #ea580c 0%, #ea6b91 52%, #0d9488 100%);
  box-shadow: 0 8px 20px rgba(234, 88, 12, 0.18);
}

.page-family-summer .fam-route-kicker-label--lite {
  box-shadow:
    0 8px 22px rgba(0, 0, 0, 0.25),
    0 0 0 1px rgba(255, 246, 230, 0.08);
}

.page-family-summer .fam-route-detail-head {
  margin-bottom: clamp(16px, 2.6vw, 22px);
}

.page-family-summer .fam-route-detail-head--on-image,
.page-family-summer .fam-route-detail-head--checkout {
  padding: clamp(14px, 2.4vw, 20px) clamp(14px, 2.8vw, 22px);
  border-radius: clamp(14px, 1.9vw, 20px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 250, 238, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 18px 50px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.75);
  color: #071323;
}

.page-family-summer .fam-route-detail-title {
  margin: 0 0 clamp(10px, 1.6vw, 14px);
  font-size: clamp(1.5rem, 1.15vw + 1.2rem, 2.08rem);
  font-weight: 870;
  letter-spacing: -0.032em;
  line-height: 1.1;
  color: var(--navy-deep);
}

.page-family-summer .fam-route-detail-intro {
  margin: 0;
  font-size: clamp(0.98rem, 0.2vw + 0.9rem, 1.06rem);
  line-height: 1.65;
  color: var(--navy-deep);
}

.page-family-summer .fam-route-detail-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: clamp(20px, 3vw, 28px);
}

.page-family-summer .fam-route-chip {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 8px 13px;
  border-radius: 999px;
  color: #0b1d3a;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid rgba(11, 29, 58, 0.12);
  box-shadow: 0 2px 10px rgba(11, 29, 58, 0.04);
}

.page-family-summer .fam-route-detail.route-section.image-backed .fam-route-chip {
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(255, 252, 245, 0.94);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.page-family-summer .fam-route-detail-grid {
  display: grid;
  gap: clamp(14px, 2.2vw, 18px);
}

@media (min-width: 720px) {
  .page-family-summer .fam-route-detail-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .page-family-summer .fam-route-detail-grid--loop-first .fam-route-dest-card--span,
  .page-family-summer .fam-route-detail-grid--zoo-pair .fam-route-dest-card--span {
    grid-column: 1 / -1;
  }

  .page-family-summer .fam-route-detail-grid--loop-first .fam-route-detail-block:nth-child(4),
  .page-family-summer .fam-route-detail-grid--zoo-pair .fam-route-detail-block:nth-child(4) {
    grid-column: 1 / -1;
  }

  .page-family-summer .fam-route-detail-grid .fam-route-cta-row {
    grid-column: 1 / -1;
  }
}

.page-family-summer .fam-route-detail-block {
  padding: clamp(16px, 2.4vw, 22px) clamp(16px, 2.8vw, 22px);
  border-radius: clamp(14px, 1.8vw, 18px);
}

.page-family-summer .fam-route-dest-card {
  border: 1px solid rgba(255, 255, 255, 0.35);
  background: rgba(255, 250, 238, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.22);
  color: #071323;
}

.page-family-summer .fam-route-detail--checkout-soft .fam-route-dest-card {
  box-shadow:
    0 18px 44px rgba(11, 29, 58, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.page-family-summer .fam-route-detail-block--full {
  grid-column: 1 / -1;
}

/* Single primary CTA per route (replaces repeated prompt suites) */
.page-family-summer .fam-route-cta-row {
  margin-top: clamp(4px, 1vw, 8px);
  padding: clamp(16px, 2.4vw, 22px) clamp(18px, 2.8vw, 24px);
  border-radius: clamp(14px, 1.8vw, 18px);
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: rgba(255, 250, 238, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.18);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px 18px;
}

.page-family-summer .fam-route-detail--checkout-soft .fam-route-cta-row {
  border-color: rgba(11, 29, 58, 0.1);
  box-shadow: 0 14px 36px rgba(11, 29, 58, 0.1);
}

.page-family-summer .fam-route-cta-note {
  margin: 0;
  flex: 1 1 12rem;
  max-width: 36rem;
  font-size: clamp(0.88rem, 0.12vw + 0.84rem, 0.96rem);
  line-height: 1.5;
  font-weight: 650;
  color: rgba(7, 19, 35, 0.82);
}

.page-family-summer .fam-route-ask-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  flex: 1 1 100%;
}

.page-family-summer .fam-route-ask-prompts a {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 650;
  line-height: 1.35;
  color: rgba(7, 19, 35, 0.88);
  text-decoration: none;
  border: 1px solid rgba(11, 29, 58, 0.18);
  background: rgba(255, 255, 255, 0.72);
  transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}

.page-family-summer .fam-route-ask-prompts a:hover,
.page-family-summer .fam-route-ask-prompts a:focus-visible {
  color: #0b4f4a;
  border-color: rgba(20, 184, 166, 0.45);
  background: rgba(20, 184, 166, 0.12);
  outline: none;
}

.page-family-summer .fam-route-cta-btn {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: var(--btn-radius, 14px);
  font-size: 0.9rem;
  font-weight: 820;
  letter-spacing: 0.02em;
  text-decoration: none;
  color: #1a2338;
  background: linear-gradient(135deg, #f2b21a 0%, #ff8b1f 55%, #ff6f31 100%);
  border: 1px solid rgba(255, 210, 130, 0.7);
  box-shadow: 0 10px 24px rgba(255, 139, 31, 0.28);
  transition: filter 0.15s ease;
}

.page-family-summer .fam-route-cta-btn:hover {
  filter: brightness(1.04);
  color: #121a2e;
}

.page-family-summer .fam-route-cta-btn:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.85);
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .page-family-summer .fam-route-cta-row {
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 10px;
    padding: 14px 16px;
  }

  .page-family-summer .fam-route-cta-note {
    flex: none;
    max-width: none;
  }

  .page-family-summer .fam-route-cta-btn {
    width: 100%;
    justify-content: center;
  }
}

.page-family-summer .fam-route-stop-list {
  margin: 0;
  padding: 0 0 0 1.15em;
  font-size: clamp(0.92rem, 0.12vw + 0.88rem, 1rem);
  line-height: 1.55;
  color: rgba(7, 19, 35, 0.9);
}

.page-family-summer .fam-route-stop-list li {
  margin-bottom: 6px;
}

.page-family-summer .fam-route-stop-list li:last-child {
  margin-bottom: 0;
}

.page-family-summer .fam-route-detail-p--tight {
  margin-top: 12px;
  font-size: clamp(0.9rem, 0.12vw + 0.86rem, 0.98rem);
}

.page-family-summer .fam-route-detail-h {
  margin: 0 0 10px;
  font-size: 0.74rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #9a3412;
}

.page-family-summer .fam-route-detail-h::after {
  content: "";
  display: block;
  width: 36px;
  height: 2px;
  margin-top: 8px;
  border-radius: 2px;
  background: linear-gradient(90deg, rgba(242, 178, 26, 0.85), rgba(20, 184, 166, 0.55), transparent);
}

.page-family-summer .fam-route-detail-p {
  margin: 0;
  font-size: clamp(0.93rem, 0.14vw + 0.89rem, 1.01rem);
  line-height: 1.61;
  color: rgba(7, 19, 35, 0.9);
  overflow-wrap: break-word;
}

/* Premium Ask A Local — concierge module */
.page-family-summer .fam-route-prompt-suite {
  grid-column: 1 / -1;
  margin: 0;
  padding: clamp(18px, 2.6vw, 24px) clamp(16px, 2.6vw, 22px) clamp(16px, 2.2vw, 20px);
  border-radius: clamp(16px, 2vw, 20px);
}

.page-family-summer .fam-route-prompt-suite.ask-card {
  border: 1px solid rgba(255, 255, 255, 0.4);
  background:
    radial-gradient(ellipse 85% 70% at 0% 0%, rgba(20, 184, 166, 0.1), transparent 55%),
    radial-gradient(ellipse 70% 55% at 100% 100%, rgba(242, 178, 26, 0.08), transparent 50%),
    rgba(255, 250, 238, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow:
    0 20px 56px rgba(0, 0, 0, 0.24),
    inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.page-family-summer .fam-route-detail--checkout-soft .fam-route-prompt-suite.ask-card {
  box-shadow:
    0 20px 48px rgba(11, 29, 58, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.85);
}

.page-family-summer .fam-route-prompt-label {
  margin: 0 0 10px;
  font-size: 0.65rem;
  font-weight: 900;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(180, 60, 20, 0.88);
}

.page-family-summer .fam-route-prompt-card {
  margin: 0 0 14px;
  margin-inline: 0;
  padding: clamp(14px, 2.2vw, 18px) clamp(14px, 2.4vw, 18px);
  border-radius: 12px;
  border: 1px solid rgba(7, 19, 35, 0.08);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 1);
}

.page-family-summer .fam-route-prompt-card .fam-route-prompt {
  margin: 0;
}

.page-family-summer .fam-route-prompt {
  font-size: clamp(0.91rem, 0.14vw + 0.87rem, 1rem);
  line-height: 1.62;
  color: #071323;
  font-style: italic;
  overflow-wrap: break-word;
}

.page-family-summer .fam-route-prompt em {
  font-style: normal;
  font-weight: 800;
  color: #155e75;
}

.page-family-summer .fam-route-prompt-hint {
  margin: 10px 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  color: rgba(11, 29, 58, 0.55);
  font-weight: 650;
}

.page-family-summer .fam-route-prompt-btn.btn {
  min-height: 46px;
  font-size: 0.9rem;
  width: 100%;
  justify-content: center;
  text-align: center;
  background: linear-gradient(135deg, #f2b21a 0%, #ff8b1f 55%, #ff6f31 100%);
  border: 1px solid rgba(255, 210, 130, 0.7);
  color: #1a2338;
  box-shadow: 0 10px 24px rgba(255, 139, 31, 0.28);
}

.page-family-summer .fam-route-prompt-btn.btn:hover {
  filter: brightness(1.04);
  color: #121a2e;
}

@media (min-width: 560px) {
  .page-family-summer .fam-route-prompt-btn.btn {
    width: auto;
    align-self: flex-start;
  }
}

.page-family-summer .fam-inline-link {
  color: #0b4a6f;
  font-weight: 780;
  text-decoration: underline;
  text-decoration-color: rgba(234, 88, 12, 0.45);
  text-underline-offset: 3px;
}

.page-family-summer .fam-inline-link:hover {
  color: #0d6b62;
  text-decoration-color: rgba(13, 148, 136, 0.75);
}

.page-family-summer .fam-inline-link:focus-visible {
  outline: 2px solid rgba(20, 184, 166, 0.85);
  outline-offset: 2px;
  border-radius: 2px;
}

.page-family-summer .fam-inline-link--on-cream {
  color: #0a5c7a;
}

/* ----- Quick Match: dark family decision console ----- */
.page-family-summer .fam-quick-match {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding-block: clamp(44px, 7vw, 76px);
  border-block: 1px solid rgba(255, 246, 230, 0.08);
  background:
    radial-gradient(ellipse 90% 70% at 8% 15%, rgba(236, 72, 153, 0.12), transparent 52%),
    radial-gradient(ellipse 75% 55% at 92% 85%, rgba(242, 178, 26, 0.1), transparent 48%),
    radial-gradient(ellipse 60% 45% at 50% 0%, rgba(20, 184, 166, 0.09), transparent 55%),
    linear-gradient(165deg, #050a18 0%, #0c1830 38%, #0f2238 72%, #08121f 100%);
}

.page-family-summer .fam-quick-match::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse 50% 40% at 75% 20%, rgba(255, 139, 31, 0.07), transparent 60%);
  opacity: 0.9;
}

.page-family-summer .fam-quick-match-shell {
  position: relative;
  z-index: 1;
}

.page-family-summer .fam-quick-match-head {
  max-width: 48rem;
  gap: clamp(10px, 2vw, 14px);
}

.page-family-summer .fam-quick-match-eyebrow {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(253, 224, 150, 0.95);
  text-shadow: 0 0 24px rgba(242, 178, 26, 0.25);
}

.page-family-summer .fam-quick-match-title {
  color: #fff8eb;
  letter-spacing: -0.032em;
}

.page-family-summer .fam-quick-match-lead {
  color: rgba(255, 248, 235, 0.9);
  max-width: 40rem;
}

.page-family-summer .fam-qm-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(16px, 2.4vw, 22px);
  margin-top: clamp(28px, 4.5vw, 40px);
}

@media (min-width: 640px) {
  .page-family-summer .fam-qm-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1050px) {
  .page-family-summer .fam-qm-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .page-family-summer .fam-qm-card--span {
    grid-column: 1 / -1;
    max-width: min(760px, 100%);
    margin-inline: auto;
    width: 100%;
  }
}

.page-family-summer .fam-qm-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  box-sizing: border-box;
  padding: clamp(20px, 2.8vw, 26px) clamp(18px, 2.6vw, 24px) clamp(20px, 2.8vw, 24px);
  border-radius: clamp(16px, 2vw, 20px);
  background: linear-gradient(180deg, #fffdf9 0%, #faf6ef 100%);
  border: 1px solid rgba(11, 29, 58, 0.09);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.28),
    0 2px 0 rgba(255, 255, 255, 0.9),
    inset 0 1px 0 rgba(255, 255, 255, 1);
  border-top: 4px solid rgba(20, 184, 166, 0.85);
  min-width: 0;
  /* Base color lock: cream cards must never inherit body's cream */
  color: #04192e;
}

.page-family-summer .fam-qm-card--fiesta {
  border-top-color: rgba(234, 88, 12, 0.92);
}

.page-family-summer .fam-qm-card--river {
  border-top-color: rgba(14, 165, 233, 0.88);
}

.page-family-summer .fam-qm-card--zoo {
  border-top-color: rgba(5, 150, 105, 0.9);
}

.page-family-summer .fam-qm-card--hill {
  border-top-color: rgba(120, 113, 108, 0.85);
}

.page-family-summer .fam-qm-card--resort {
  border-top-color: rgba(20, 184, 166, 0.88);
}

.page-family-summer .fam-qm-route-badge {
  align-self: flex-start;
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 0.62rem;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #06243d;
  background: linear-gradient(135deg, rgba(253, 224, 150, 0.95) 0%, rgba(255, 237, 212, 0.98) 100%);
  border: 1px solid rgba(234, 88, 12, 0.2);
  box-shadow: 0 4px 12px rgba(234, 88, 12, 0.12);
}

.page-family-summer .fam-qm-card--river .fam-qm-route-badge {
  background: linear-gradient(135deg, rgba(224, 242, 254, 0.98), rgba(186, 230, 253, 0.95));
  border-color: rgba(14, 165, 233, 0.25);
  box-shadow: 0 4px 12px rgba(14, 165, 233, 0.12);
}

.page-family-summer .fam-qm-card--zoo .fam-qm-route-badge {
  background: linear-gradient(135deg, rgba(220, 252, 231, 0.98), rgba(167, 243, 208, 0.9));
  border-color: rgba(5, 150, 105, 0.22);
  box-shadow: 0 4px 12px rgba(5, 150, 105, 0.1);
}

.page-family-summer .fam-qm-card--hill .fam-qm-route-badge {
  background: linear-gradient(135deg, rgba(245, 245, 244, 0.98), rgba(231, 229, 228, 0.96));
  border-color: rgba(87, 83, 78, 0.2);
}

.page-family-summer .fam-qm-card-title {
  margin: 0;
  font-size: clamp(1.05rem, 0.35vw + 0.98rem, 1.28rem);
  font-weight: 870;
  letter-spacing: -0.028em;
  line-height: 1.18;
  color: #031627;
  -webkit-text-fill-color: #031627;
  text-shadow: none;
  opacity: 1;
}

.page-family-summer .fam-qm-card-body {
  margin: 0;
  flex: 1;
  font-size: clamp(0.9rem, 0.18vw + 0.86rem, 0.98rem);
  line-height: 1.55;
  color: rgba(4, 25, 46, 0.92);
  -webkit-text-fill-color: rgba(4, 25, 46, 0.92);
  overflow-wrap: break-word;
  opacity: 1;
}

.page-family-summer .fam-qm-best {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 2px;
}

.page-family-summer .fam-qm-pill {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 780;
  letter-spacing: 0.04em;
  color: #062a47;
  background: rgba(11, 29, 58, 0.06);
  border: 1px solid rgba(11, 29, 58, 0.12);
}

.page-family-summer .fam-qm-cta {
  margin-top: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 0.86rem;
  font-weight: 820;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  text-align: center;
  color: #101828;
  background: linear-gradient(135deg, #f2b21a 0%, #ff8b1f 55%, #ff6f31 100%);
  border: 1px solid rgba(255, 210, 130, 0.75);
  box-shadow:
    0 10px 24px rgba(255, 139, 31, 0.32),
    inset 0 1px 0 rgba(255, 255, 255, 0.4);
  transition: filter 0.15s ease, transform 0.15s ease;
}

.page-family-summer .fam-qm-cta:hover {
  filter: brightness(1.05);
}

.page-family-summer .fam-qm-cta:active {
  transform: translateY(1px);
}

.page-family-summer .fam-qm-cta:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.85);
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .page-family-summer .fam-qm-cta {
    width: 100%;
  }
}

/* Ask rail: shared prompt bars */
.page-family-summer .fam-family-ask-rail {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
  margin-top: clamp(28px, 4.5vw, 40px);
  padding: clamp(16px, 2.6vw, 22px) clamp(18px, 2.8vw, 24px);
  border-radius: clamp(14px, 1.8vw, 18px);
  border: 1px solid transparent;
}

@media (min-width: 560px) {
  .page-family-summer .fam-family-ask-rail {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
  }
}

.page-family-summer .fam-family-ask-rail--dark {
  border-color: rgba(255, 246, 230, 0.14);
  background: rgba(4, 10, 22, 0.55);
  box-shadow: inset 0 1px 0 rgba(255, 246, 230, 0.06);
}

.page-family-summer .fam-family-ask-rail--dark .fam-family-ask-rail-text {
  margin: 0;
  font-size: clamp(0.92rem, 0.16vw + 0.88rem, 1rem);
  line-height: 1.5;
  font-weight: 680;
  color: rgba(255, 248, 235, 0.92);
  max-width: 38rem;
}

.page-family-summer .fam-family-ask-rail--dark .fam-family-ask-rail-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: rgba(7, 15, 28, 0.96);
  background: rgba(255, 250, 240, 0.96);
  border: 1px solid rgba(255, 246, 230, 0.45);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
  transition: background 0.15s ease, border-color 0.15s ease;
}

.page-family-summer .fam-family-ask-rail--dark .fam-family-ask-rail-link:hover {
  background: #fffdf8;
  border-color: rgba(242, 178, 26, 0.55);
}

.page-family-summer .fam-family-ask-rail--dark .fam-family-ask-rail-link:focus-visible {
  outline: 3px solid rgba(242, 178, 26, 0.6);
  outline-offset: 2px;
}

.page-family-summer .fam-family-ask-rail--cream {
  border-color: rgba(11, 29, 58, 0.1);
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.98) 0%, rgba(252, 246, 238, 0.96) 100%);
  box-shadow:
    0 14px 32px rgba(11, 29, 58, 0.08),
    inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.page-family-summer .fam-family-ask-rail--cream .fam-family-ask-rail-text {
  margin: 0;
  font-size: clamp(0.92rem, 0.16vw + 0.88rem, 1rem);
  line-height: 1.52;
  font-weight: 700;
  color: rgba(4, 25, 46, 0.92);
  max-width: 38rem;
}

.page-family-summer .fam-family-ask-rail--cream .fam-family-ask-rail-link {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 820;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  color: #0a1628;
  background: linear-gradient(135deg, #f2b21a 0%, #ff8b1f 52%, #ff6f31 100%);
  border: 1px solid rgba(255, 200, 110, 0.75);
  box-shadow: 0 10px 22px rgba(234, 88, 12, 0.18);
}

.page-family-summer .fam-family-ask-rail--cream .fam-family-ask-rail-link:hover {
  filter: brightness(1.04);
}

.page-family-summer .fam-family-ask-rail--cream .fam-family-ask-rail-link:focus-visible {
  outline: 3px solid rgba(13, 148, 136, 0.65);
  outline-offset: 2px;
}

/* ----- Family concierge band (heat + single Ask entry) ----- */
.page-family-summer .fam-concierge-band {
  padding-block: clamp(48px, 7vw, 80px);
}

.page-family-summer .fam-concierge-band.dark-showcase {
  background:
    linear-gradient(165deg, rgba(5, 12, 26, 0.88) 0%, rgba(7, 18, 38, 0.9) 55%, rgba(5, 10, 20, 0.92) 100%),
    url("assets/family_stroll_by_river_at_sunset.png");
  background-size: cover;
  background-position: center 42%;
}

.page-family-summer .fam-concierge-band .fam-concierge-rhythm-label {
  margin: clamp(22px, 3.5vw, 32px) 0 clamp(14px, 2vw, 18px);
  font-size: 0.72rem;
  font-weight: 850;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(253, 224, 150, 0.92);
}

.page-family-summer .fam-concierge-actions {
  margin-top: clamp(28px, 4vw, 40px);
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  justify-content: flex-start;
  align-items: center;
}

.page-family-summer .fam-concierge-actions .btn {
  min-height: 48px;
}

.page-family-summer .fam-concierge-actions .btn-primary {
  background: linear-gradient(135deg, #f2b21a 0%, #ff8b1f 55%, #ff6f31 100%);
  border: 1px solid rgba(255, 210, 130, 0.7);
  color: #1a2338;
  box-shadow: 0 12px 26px rgba(255, 139, 31, 0.34);
}

.page-family-summer .fam-concierge-actions .btn-secondary {
  background: rgba(255, 248, 235, 0.1);
  color: rgba(255, 248, 235, 0.96);
  border: 1px solid rgba(255, 246, 230, 0.32);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.page-family-summer .fam-concierge-actions .btn-secondary:hover {
  border-color: rgba(20, 184, 166, 0.5);
  color: #fffdf8;
  background: rgba(255, 246, 230, 0.12);
}

@media (max-width: 520px) {
  .page-family-summer .fam-concierge-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* ----- Heat timeline ----- */
.page-family-summer .fam-heat-band {
  padding-block: clamp(42px, 6.8vw, 72px);
}

.page-family-summer .fam-heat-band.dark-showcase {
  background:
    linear-gradient(165deg, rgba(5, 12, 26, 0.88) 0%, rgba(7, 18, 38, 0.9) 55%, rgba(5, 10, 20, 0.92) 100%),
    url("assets/family_stroll_by_river_at_sunset.png");
  background-size: cover;
  background-position: center 42%;
}

.page-family-summer .fam-heat-highlight {
  margin: clamp(24px, 4vw, 36px) 0 0;
  padding: clamp(14px, 2.2vw, 18px) clamp(17px, 2.8vw, 22px);
  border-radius: 14px;
  border: 1px solid rgba(20, 184, 166, 0.35);
  background: rgba(6, 16, 32, 0.55);
  font-size: clamp(0.95rem, 0.22vw + 0.89rem, 1.04rem);
  font-weight: 750;
  line-height: 1.53;
  color: rgba(255, 246, 230, 0.96);
  max-width: 48rem;
  box-shadow: inset 0 1px 0 rgba(255, 246, 230, 0.07);
}

.page-family-summer .fam-heat-timeline {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

@media (min-width: 900px) {
  .page-family-summer .fam-heat-timeline {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: clamp(14px, 2vw, 22px);
  }
}

.page-family-summer .fam-heat-step {
  position: relative;
  padding: clamp(18px, 3vw, 26px);
  padding-left: clamp(22px, 3.5vw, 28px);
  border-radius: clamp(17px, 2vw, 22px);
  background: rgba(255, 252, 245, 0.07);
  border: 1px solid rgba(255, 246, 230, 0.17);
  box-shadow:
    0 16px 36px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

@media (max-width: 899px) {
  .page-family-summer .fam-heat-step + .fam-heat-step {
    margin-top: 14px;
  }
}

@media (min-width: 900px) {
  .page-family-summer .fam-heat-step {
    padding-left: clamp(18px, 2.4vw, 24px);
  }
}

.page-family-summer .fam-heat-step-label {
  display: block;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: rgba(242, 178, 26, 0.98);
  margin-bottom: 8px;
}

.page-family-summer .fam-heat-step-title {
  display: block;
  font-size: clamp(0.95rem, 0.28vw + 0.88rem, 1.08rem);
  font-weight: 860;
  color: #fff8eb;
  margin-bottom: 8px;
  letter-spacing: -0.024em;
  line-height: 1.25;
}

.page-family-summer .fam-heat-step-copy {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.53;
  color: rgba(255, 246, 230, 0.9);
}

@media (min-width: 900px) {
  .page-family-summer .fam-heat-step:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 50%;
    right: -11px;
    width: 12px;
    height: 2px;
    background: linear-gradient(90deg, rgba(242, 178, 26, 0.7), rgba(255, 246, 230, 0.25));
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
  }
}

/* ----- Recommended stacks: warm cream, high-contrast cards ----- */
.page-family-summer .fam-stacks-section {
  position: relative;
  isolation: isolate;
  overflow-x: clip;
  padding-block: clamp(44px, 6.8vw, 76px);
  border-block: 1px solid rgba(11, 29, 58, 0.07);
  background:
    radial-gradient(ellipse 80% 55% at 10% 20%, rgba(255, 237, 213, 0.65), transparent 52%),
    radial-gradient(ellipse 65% 45% at 95% 75%, rgba(20, 184, 166, 0.1), transparent 48%),
    linear-gradient(185deg, #fff7ed 0%, #f5ebe0 48%, #ebe0d4 100%);
}

.page-family-summer .fam-stacks-shell {
  position: relative;
  z-index: 1;
}

.page-family-summer .fam-stacks-head {
  gap: clamp(10px, 1.6vw, 14px);
}

.page-family-summer .fam-stacks-eyebrow {
  margin: 0;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #9a3412;
}

.page-family-summer .fam-stacks-section #stacks-heading,
.page-family-summer .fam-stacks-title {
  color: var(--navy-deep);
  letter-spacing: -0.03em;
}

.page-family-summer .fam-stacks-lead {
  color: rgba(4, 25, 46, 0.9);
  max-width: 48rem;
}

.page-family-summer .fam-inline-link--stacks {
  color: #0b4a6f;
  font-weight: 800;
}

.page-family-summer .fam-stack-list {
  margin-top: clamp(28px, 4vw, 36px);
  display: flex;
  flex-direction: column;
  gap: clamp(15px, 2.4vw, 20px);
}

.page-family-summer .fam-stack-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 11px;
  box-sizing: border-box;
  padding: clamp(20px, 2.8vw, 26px) clamp(18px, 2.8vw, 26px);
  border-radius: clamp(16px, 2vw, 20px);
  background: linear-gradient(180deg, #fffdf9 0%, #faf5ee 100%);
  border: 1px solid rgba(11, 29, 58, 0.1);
  border-top: 5px solid rgba(234, 88, 12, 0.88);
  box-shadow:
    0 18px 40px rgba(11, 29, 58, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.92);
  min-width: 0;
  /* Base color lock: cream stack cards must not inherit body's cream */
  color: #04192e;
}

.page-family-summer .fam-stack-card--accent-sunset {
  border-top-color: rgba(249, 115, 22, 0.92);
}

.page-family-summer .fam-stack-card--accent-coast {
  border-top-color: rgba(14, 165, 233, 0.9);
}

.page-family-summer .fam-stack-card--accent-garden {
  border-top-color: rgba(5, 150, 105, 0.9);
}

.page-family-summer .fam-stack-card--accent-stone {
  border-top-color: rgba(120, 113, 108, 0.88);
}

.page-family-summer .fam-stack-card--accent-pool {
  border-top-color: rgba(20, 184, 166, 0.9);
}

.page-family-summer .fam-stack-card--accent-flight {
  border-top-color: rgba(79, 70, 229, 0.75);
}

.page-family-summer .fam-stack-route-badge {
  align-self: flex-start;
  display: inline-flex;
  padding: 5px 11px;
  border-radius: 8px;
  font-size: 0.63rem;
  font-weight: 850;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: #04192e;
  background: rgba(255, 246, 230, 0.95);
  border: 1px solid rgba(234, 88, 12, 0.22);
  box-shadow: 0 2px 8px rgba(11, 29, 58, 0.05);
}

.page-family-summer .fam-stack-card--accent-coast .fam-stack-route-badge {
  background: rgba(224, 242, 254, 0.96);
  border-color: rgba(14, 165, 233, 0.28);
}

.page-family-summer .fam-stack-card--accent-garden .fam-stack-route-badge {
  background: rgba(220, 252, 231, 0.96);
  border-color: rgba(5, 150, 105, 0.26);
}

.page-family-summer .fam-stack-card--accent-stone .fam-stack-route-badge {
  background: rgba(245, 245, 244, 0.98);
  border-color: rgba(120, 113, 108, 0.3);
}

.page-family-summer .fam-stack-card--accent-pool .fam-stack-route-badge {
  background: rgba(204, 251, 241, 0.85);
  border-color: rgba(20, 184, 166, 0.35);
}

.page-family-summer .fam-stack-card--accent-flight .fam-stack-route-badge {
  background: rgba(224, 231, 255, 0.88);
  border-color: rgba(79, 70, 229, 0.25);
}

.page-family-summer .fam-stack-title {
  margin: 0;
  font-size: clamp(1.08rem, 0.38vw + 0.98rem, 1.32rem);
  font-weight: 870;
  letter-spacing: -0.028em;
  line-height: 1.2;
  color: #031627;
}

.page-family-summer .fam-stack-path {
  margin: 0;
  font-size: clamp(0.91rem, 0.16vw + 0.87rem, 1rem);
  line-height: 1.55;
  font-weight: 580;
  color: rgba(4, 25, 46, 0.9);
  overflow-wrap: break-word;
}

.page-family-summer .fam-stack-best {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.page-family-summer .fam-stack-pill {
  display: inline-flex;
  padding: 6px 11px;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #062a47;
  background: rgba(11, 29, 58, 0.05);
  border: 1px solid rgba(11, 29, 58, 0.12);
}

.page-family-summer .fam-stack-cta {
  margin-top: 6px;
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 0 2px;
  font-size: 0.82rem;
  font-weight: 820;
  letter-spacing: 0.04em;
  text-decoration: none;
  color: #0b4a6f;
  border-bottom: 2px solid rgba(234, 88, 12, 0.45);
  transition: color 0.15s ease, border-color 0.15s ease;
}

.page-family-summer .fam-stack-cta::after {
  content: "\2192";
  font-size: 1em;
  transition: transform 0.15s ease;
}

.page-family-summer .fam-stack-cta:hover {
  color: #0d5c46;
  border-bottom-color: rgba(13, 148, 136, 0.65);
}

.page-family-summer .fam-stack-cta:hover::after {
  transform: translateX(3px);
}

.page-family-summer .fam-stack-cta:focus-visible {
  outline: 3px solid rgba(20, 184, 166, 0.65);
  outline-offset: 3px;
  border-radius: 2px;
}

@media (max-width: 480px) {
  .page-family-summer .fam-stack-cta {
    padding-top: 12px;
    min-height: 44px;
    align-items: center;
  }
}

/* ----- Final CTA ----- */
.page-family-summer .fam-final-cta {
  margin-top: 0;
  padding-bottom: calc(clamp(36px, 6vw, 56px) + env(safe-area-inset-bottom, 0px));
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(20, 184, 166, 0.14), transparent 52%),
    linear-gradient(180deg, #050a14 0%, #0a1930 52%, #050a14 100%);
}

.page-family-summer .footer {
  padding-bottom: max(1.5rem, calc(env(safe-area-inset-bottom, 0px) + 12px));
}

.page-family-summer .fam-final-shell {
  width: 100%;
  max-width: min(920px, 100%);
  margin-inline: auto;
  text-align: center;
  padding-block: clamp(8px, 1vw, 12px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  position: relative;
}

.page-family-summer .fam-final-shell::before {
  content: "";
  width: min(440px, 80%);
  height: 2px;
  margin-bottom: 4px;
  border-radius: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(242, 178, 26, 0.75) 20%,
    rgba(255, 139, 31, 0.85) 50%,
    rgba(20, 184, 166, 0.75) 80%,
    transparent 100%
  );
}

.page-family-summer .fam-band-head--center {
  align-items: center;
  text-align: center;
  max-width: 100%;
}

.page-family-summer .fam-final-cta .fam-section-title {
  font-size: clamp(1.42rem, 1.05vw + 1.18rem, 1.88rem);
  max-width: 22em;
}

.page-family-summer .fam-final-cta .fam-section-sub.section-text.section-text-light {
  max-width: 40rem;
  margin-inline: auto;
}

.page-family-summer .fam-final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 14px;
  justify-content: center;
  align-items: center;
}

.page-family-summer .fam-final-actions .btn {
  min-height: 48px;
}

.page-family-summer .fam-final-actions .btn-primary {
  background: linear-gradient(135deg, #f2b21a 0%, #ff8b1f 55%, #ff6f31 100%);
  border: 1px solid rgba(255, 210, 130, 0.7);
  color: #1a2338;
  box-shadow: 0 12px 26px rgba(255, 139, 31, 0.34);
}

.page-family-summer .fam-final-secondary.btn-secondary {
  background: rgba(255, 248, 235, 0.1);
  color: rgba(255, 248, 235, 0.96);
  border: 1px solid rgba(255, 246, 230, 0.32);
  box-shadow:
    0 10px 28px rgba(0, 0, 0, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.page-family-summer .fam-final-secondary.btn-secondary:hover {
  border-color: rgba(20, 184, 166, 0.5);
  color: #fffdf8;
  background: rgba(255, 246, 230, 0.12);
}

.page-family-summer .fam-final-foot {
  margin: clamp(6px, 1.2vw, 10px) 0 0;
  font-size: 0.9rem;
  font-weight: 650;
  color: rgba(255, 246, 230, 0.72);
}

.page-family-summer .fam-final-foot-link {
  color: rgba(255, 246, 230, 0.92);
  font-weight: 750;
  text-decoration: underline;
  text-decoration-color: rgba(242, 178, 26, 0.45);
  text-underline-offset: 3px;
}

.page-family-summer .fam-final-foot-link:hover {
  color: #fffdf8;
  text-decoration-color: rgba(20, 184, 166, 0.65);
}

.page-family-summer .fam-final-foot-sep {
  display: inline-block;
  margin: 0 0.4em;
  color: rgba(255, 246, 230, 0.35);
  text-decoration: none;
}

@media (max-width: 520px) {
  .page-family-summer .fam-final-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Intro headline: readable selection (avoid system blue “highlight” look) */
.page-family-summer .fam-pick-section .fam-pick-head h2.fam-pick-title::selection {
  background: rgba(242, 178, 26, 0.42);
  color: #031627;
}

/* ===== Contrast pass: dark sections vs light cards (global on-dark type overrides) ===== */

/* Quick Match — white/cream cards inside dark band */
body.page-family-summer.family-page main#main-content > .section.fam-quick-match .fam-qm-card.light-card,
body.page-family-summer.family-page main#main-content > .section.fam-quick-match article.fam-qm-card {
  color: #04192e;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}

body.page-family-summer.family-page main#main-content > .section.fam-quick-match .fam-qm-card.light-card :is(h3, p, span, a),
body.page-family-summer.family-page main#main-content > .section.fam-quick-match article.fam-qm-card :is(h3, p, span, a) {
  opacity: 1;
  mix-blend-mode: normal;
}

body.page-family-summer.family-page main#main-content > .section.fam-quick-match .fam-qm-card h3.fam-qm-card-title,
body.page-family-summer.family-page main#main-content > .section.fam-quick-match .fam-qm-card .fam-qm-card-title {
  color: #031627;
  -webkit-text-fill-color: #031627;
  text-shadow: none;
}

body.page-family-summer.family-page main#main-content > .section.fam-quick-match .fam-qm-card .fam-qm-card-body {
  color: rgba(4, 25, 46, 0.92);
  -webkit-text-fill-color: rgba(4, 25, 46, 0.92);
}

body.page-family-summer.family-page main#main-content > .section.fam-quick-match .fam-qm-card .fam-qm-pill {
  color: #062a47;
  -webkit-text-fill-color: #062a47;
}

/* Route detail — cream panels on image-backed bands */
body.page-family-summer.family-page main#main-content > .section.fam-detail-strip .fam-route-dest-card,
body.page-family-summer.family-page main#main-content > .section.fam-detail-strip .fam-route-cta-row {
  color: #071323;
  opacity: 1;
}

body.page-family-summer.family-page main#main-content > .section.fam-detail-strip .fam-route-dest-card :is(h3, p, li, a),
body.page-family-summer.family-page main#main-content > .section.fam-detail-strip .fam-route-cta-row p {
  opacity: 1;
  mix-blend-mode: normal;
}

body.page-family-summer.family-page main#main-content > .section.fam-detail-strip .fam-route-dest-card h3.fam-route-detail-h {
  color: #9a3412;
  -webkit-text-fill-color: #9a3412;
}

body.page-family-summer.family-page main#main-content > .section.fam-detail-strip .fam-route-dest-card .fam-route-detail-p,
body.page-family-summer.family-page main#main-content > .section.fam-detail-strip .fam-route-dest-card .fam-route-stop-list {
  color: rgba(7, 19, 35, 0.9);
  -webkit-text-fill-color: rgba(7, 19, 35, 0.9);
}

/* Image-backed headers — cream glass panel (indoor / route intros) */
body.page-family-summer.family-page main#main-content > .section.fam-detail-strip .fam-route-detail-head--on-image {
  color: #071323;
}

body.page-family-summer.family-page main#main-content > .section.fam-detail-strip .fam-route-detail-head--on-image :is(h2, p) {
  color: var(--navy-deep);
  -webkit-text-fill-color: currentColor;
  text-shadow: none;
  opacity: 1;
}

body.page-family-summer.family-page main#main-content > .section.fam-detail-strip .fam-route-detail-head--on-image .fam-route-kicker {
  color: rgba(11, 29, 58, 0.72);
}

body.page-family-summer.family-page main#main-content > .section.fam-detail-strip .fam-route-detail-head--on-image .fam-route-kicker-label {
  color: #9a3412;
  -webkit-text-fill-color: #9a3412;
  background: rgba(255, 237, 213, 0.92);
  padding: 2px 8px;
  border-radius: 6px;
}

/* Image overlay type without glass head — force high-contrast light type */
.page-family-summer .fam-route-detail.route-section.image-backed .fam-route-detail-head:not(.fam-route-detail-head--on-image) :is(h2, p, .fam-route-kicker) {
  color: #fff8eb;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
  -webkit-text-fill-color: currentColor;
}

.page-family-summer .fam-route-detail.route-section.image-backed .fam-route-detail-head:not(.fam-route-detail-head--on-image) .fam-route-kicker-label {
  color: #fef3e9;
}

/* Recommended stacks — cream cards must stay navy (global on-dark h3 override) */
body.page-family-summer.family-page main#main-content > .section.fam-stacks-section .fam-stack-card,
body.page-family-summer.family-page main#main-content > .section.fam-stacks-section article.fam-stack-card {
  color: #04192e;
  opacity: 1;
  filter: none;
  mix-blend-mode: normal;
}

body.page-family-summer.family-page main#main-content > .section.fam-stacks-section .fam-stack-card :is(h3, p, span, a) {
  opacity: 1;
  mix-blend-mode: normal;
}

body.page-family-summer.family-page main#main-content > .section.fam-stacks-section .fam-stack-card h3.fam-stack-title {
  color: #031627;
  -webkit-text-fill-color: #031627;
  text-shadow: none;
}

body.page-family-summer.family-page main#main-content > .section.fam-stacks-section .fam-stack-card .fam-stack-path,
body.page-family-summer.family-page main#main-content > .section.fam-stacks-section .fam-stack-card .fam-stack-pill {
  color: rgba(4, 25, 46, 0.9);
  -webkit-text-fill-color: rgba(4, 25, 46, 0.9);
}

/* Pick-your-day image cards — enforce light titles on dark overlays */
body.page-family-summer.family-page main#main-content > .section.fam-pick-section .fam-day-card .fam-day-card-title,
body.page-family-summer.family-page main#main-content > .section.fam-pick-section .fam-day-card .fam-day-card-copy,
body.page-family-summer.family-page main#main-content > .section.fam-pick-section .fam-day-card .fam-day-card-meta {
  color: #fff8eb;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45);
  opacity: 1;
}

/* Mobile Safari: tapped card titles stay visible */
@media (max-width: 480px) {
  body.page-family-summer.family-page main#main-content > .section.fam-quick-match .fam-qm-card:active h3.fam-qm-card-title,
  body.page-family-summer.family-page main#main-content > .section.fam-quick-match .fam-qm-card:focus-within h3.fam-qm-card-title {
    color: #031627;
    -webkit-text-fill-color: #031627;
    opacity: 1;
  }

  body.page-family-summer.family-page main#main-content > .section.fam-stacks-section .fam-stack-card:active h3.fam-stack-title,
  body.page-family-summer.family-page main#main-content > .section.fam-stacks-section .fam-stack-card:focus-within h3.fam-stack-title {
    color: #031627;
    -webkit-text-fill-color: #031627;
    opacity: 1;
  }
}

@media (max-width: 899px) {
  .page-family-summer .fam-section-sub,
  .page-family-summer .fam-pick-lead,
  .page-family-summer .fam-route-detail-lead,
  .page-family-summer .fam-route-prompt,
  .page-family-summer .fam-day-card-meta,
  .page-family-summer .fam-stack-card p {
    letter-spacing: normal;
    word-spacing: normal;
    text-wrap: wrap;
  }

  .page-family-summer .fam-section-title,
  .page-family-summer .fam-route-detail-title {
    letter-spacing: -0.015em;
    text-wrap: wrap;
  }

  .page-family-summer .fam-eyebrow,
  .page-family-summer .fam-route-kicker-label {
    letter-spacing: 0.12em;
  }
}
