/* =====================================================================
   TRIWAYS â€” /experiences/egypt-sports-activities/
   Loaded by that page only, after triways-article.css, triways-visual.css
   and triways-culture-heritage.css. Prefix: tv-sp-   (body.tv-cu.tv-sp)
   Nothing here styles the header, the navigation or the footer.

   Reused as they are from triways-culture-heritage.css (tv-cu-):
     .tv-cu-hero      photo hero, facts ledger left, answer right
     .tv-cu-split     heading left with a short rule
     .tv-cu-frame     photograph holder with the slow hover zoom
     .tv-cu-faq       native details, plus / minus
     .tv-cu-enquiry   words left, underline fields right
   New here:
     .tv-sp-hero      taller hero, the answer low on the right
     .tv-sp-courses   three course cards beside the heading
     .tv-sp-band      wide photograph with its caption beside it
     .tv-sp-strip     three counted steps on ink
     .tv-sp-rows      photo | title | description | explore
   ===================================================================== */

/* Page tokens, mapped to the culture-heritage and site tokens. */
.tv-sp {
  --tv-sp-ink: var(--tv-cu-ink);
  --tv-sp-gold: var(--tv-cu-gold);             /* champagne, on ink */
  --tv-sp-gold-text: var(--tv-cu-gold-text);   /* small gold text on ivory: 4.9:1 */
  --tv-sp-rule: var(--tv-cu-rule);             /* brass hairline on ivory */
  --tv-sp-rule-dark: var(--tv-cu-rule-dark);   /* ivory hairline on ink */
  --tv-sp-dim: rgba(244, 240, 232, 0.76);      /* body copy on ink */
}

/* ---------------------------------------------------------------------
   1 Â· HERO â€” the tee shot at full width, anchored to the top of the hero
   and let go into ink below, so the answer sits under the golfer.
   ------------------------------------------------------------------- */
.tv-sp-hero .tv-cu-hero__media { bottom: auto; height: min(100% - var(--tv-cu-header), 39vw); }
.tv-sp-hero .tv-cu-hero__media img { object-position: 50% 100%; }
.tv-sp-hero .tv-cu-hero__media::after {
  background:
    linear-gradient(0deg, rgb(21, 21, 21) 0%, rgba(21, 21, 21, 0.86) 16%, rgba(21, 21, 21, 0.3) 42%, rgba(21, 21, 21, 0) 60%),
    linear-gradient(90deg, rgba(21, 21, 21, 0.94) 0%, rgba(21, 21, 21, 0.86) 26%, rgba(21, 21, 21, 0.55) 46%, rgba(21, 21, 21, 0.12) 68%, rgba(21, 21, 21, 0.05) 100%);
}
.tv-sp-hero .tv-cu-hero__inner { min-height: 88vh; padding-bottom: clamp(2.5rem, 2rem + 1.5vw, 3rem); }
.tv-sp-hero .tv-cu-hero__grid { grid-template-columns: minmax(0, 30rem) minmax(0, 26.5rem); justify-content: space-between; align-items: end; }
.tv-sp-hero .hub-hero__title { max-width: 14ch; }
.tv-sp-hero .hub-hero__answer { padding-top: 1.1rem; border-top: 1px solid rgba(200, 183, 156, 0.5); }
.tv-sp-hero .art-hero__label { max-width: none; }
.tv-sp-hero .hub-hero__answer p:not(.art-hero__label) { font-size: 0.94rem; line-height: 1.7; max-width: none; }

@media (max-width: 991.98px) {
  /* the answer moves under the ledger; words over the photograph, under a heavier wash */
  .tv-sp-hero .tv-cu-hero__media { bottom: 0; height: auto; }
  .tv-sp-hero .tv-cu-hero__media img { object-position: 72% 50%; }
  .tv-sp-hero .tv-cu-hero__media::after {
    background: linear-gradient(180deg, rgba(21, 21, 21, 0.86) 0%, rgba(21, 21, 21, 0.8) 45%, rgba(21, 21, 21, 0.92) 100%);
  }
  .tv-sp-hero .tv-cu-hero__inner { min-height: 0; }
  .tv-sp-hero .tv-cu-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .tv-sp-hero .hub-hero__title { max-width: none; }
  .tv-sp-hero .hub-hero__answer { max-width: 34rem; }
}
@media (max-width: 639.98px) {
  /* keep the 2 x 2 ledger on phones (the article layer would stack it) */
  .tv-sp-hero .art-standing { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-sp-hero .art-standing dt { margin: 0 0 0.35rem; }
}

/* ---------------------------------------------------------------------
   2 Â· GOLF COURSES â€” heading and italic lead left (4), three cards right (8)
   ------------------------------------------------------------------- */
.tv-sp-golf .art-split { grid-template-columns: minmax(0, 3.6fr) minmax(0, 8.4fr); gap: clamp(2rem, 4vw, 4rem); }
.tv-sp-golf .art-split__head { position: static; }
.tv-sp-golf .art-split__head .hb-heading--h2::after { display: none; }
.tv-sp-golf .hb-kicker::after { display: block; }
.tv-sp-golf .art-split__head .art-prose__lead { font-style: italic; font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.75rem) !important; line-height: 1.32 !important; max-width: 20ch !important; margin: clamp(1.1rem, 2vw, 1.6rem) 0 0; color: var(--hb-text) !important; }

.tv-sp-courses { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2rem, 3vw, 2.5rem) clamp(1rem, 1.8vw, 1.6rem); margin: 0; padding: 0; list-style: none; }
.tv-sp-course { display: flex; flex-direction: column; min-width: 0; }
.tv-sp-course .tv-cu-frame img { aspect-ratio: 1 / 1; }
.tv-sp-course__name {
  display: flex; align-items: center; gap: 0.9rem; margin: 1.1rem 0 0.7rem;
  font-family: var(--hb-sans); font-size: 0.68rem; font-weight: 600; line-height: 1.5; letter-spacing: 0.2em; text-transform: uppercase;
  color: var(--tv-sp-gold-text);
}
.tv-sp-course__name::after { content: ""; flex: 0 0 2.25rem; height: 1px; background: var(--hb-gold); opacity: 0.6; }
.tv-sp-course p { margin: 0; font-size: 0.92rem; line-height: 1.75; color: var(--hb-text); }
.tv-sp-course .tv-sp-course__links { display: flex; flex-wrap: wrap; gap: 0 1.5rem; margin-top: auto; padding-top: 0.6rem; }
.tv-sp-course__links a {
  display: inline-flex; align-items: center; gap: 0.5rem; min-height: 2.75rem;
  font-size: 0.68rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--tv-sp-gold-text);
  background: linear-gradient(currentColor, currentColor) 0 calc(50% + 0.75rem) / calc(100% - 1.4rem) 1px no-repeat;
  transition: color 0.25s var(--hb-ease);
}
.tv-sp-course__links a:hover, .tv-sp-course__links a:focus-visible { color: var(--hb-ink); }
.tv-sp-course__links a:focus-visible { outline: 2px solid var(--hb-gold); outline-offset: 3px; }
.tv-sp-course__links .hb-arrow { transition: transform 0.25s var(--hb-ease); }
.tv-sp-course__links a:hover .hb-arrow { transform: translateX(4px); }

/* The wide photograph and the tee-time line beside it */
.tv-sp-band { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: clamp(1.75rem, 4vw, 3.5rem); align-items: center; margin: clamp(2.75rem, 5vw, 4.25rem) 0 0; }
.tv-sp-band .tv-cu-frame img { aspect-ratio: 5 / 2; object-position: 50% 60%; }
.tv-sp-band__cap { display: block; max-width: 17rem; }
.tv-sp-band__cap .hb-kicker { margin-bottom: 0.9rem; }
.tv-sp-band__line { display: block; font-family: var(--hb-serif); font-style: italic; font-size: clamp(1.3rem, 1.1rem + 0.7vw, 1.65rem); line-height: 1.32; color: var(--hb-text); text-wrap: balance; }

@media (max-width: 1023.98px) {
  .tv-sp-golf .art-split { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .tv-sp-golf .art-split__head .art-prose__lead { max-width: 30ch !important; }
}
@media (max-width: 991.98px) {
  .tv-sp-courses { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .tv-sp-band { grid-template-columns: minmax(0, 1fr); gap: 1.5rem; }
  .tv-sp-band__cap { max-width: 26rem; }
}
@media (max-width: 559.98px) {
  .tv-sp-courses { grid-template-columns: minmax(0, 1fr); }
  .tv-sp-course .tv-cu-frame img { aspect-ratio: 4 / 3; }
  .tv-sp-band .tv-cu-frame img { aspect-ratio: 16 / 9; object-position: 30% 60%; }
}

/* ---------------------------------------------------------------------
   3 Â· A ROUND INTO THE JOURNEY â€” a slim strip on ink: three counted steps
   split by hairlines, closed by a rule before the next ink section.
   ------------------------------------------------------------------- */
.tv-sp-strip { background: var(--tv-sp-ink); color: var(--tv-sp-gold); padding: clamp(2rem, 3.5vw, 2.75rem) 0 0; }
.tv-sp-strip .hb-kicker { margin: 0 0 1.4rem; }
.tv-sp-strip .hb-eyebrow { color: var(--tv-sp-gold); }
.tv-sp-strip .hb-kicker::after { background: var(--tv-sp-gold); opacity: 0.5; }
.tv-sp-strip__list { counter-reset: tv-sp-step; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; padding: 0 0 clamp(2rem, 3.5vw, 2.75rem); list-style: none; border-bottom: 1px solid var(--tv-sp-rule-dark); }
.tv-sp-strip__list li { counter-increment: tv-sp-step; display: flex; align-items: center; gap: clamp(1.1rem, 2.4vw, 2.25rem); padding: 0.35rem clamp(1.25rem, 3vw, 3rem); border-left: 1px solid var(--tv-sp-rule-dark); }
.tv-sp-strip__list li:first-child { padding-left: 0; border-left: 0; }
.tv-sp-strip__list li::before {
  content: counter(tv-sp-step, decimal-leading-zero);
  font-family: var(--hb-serif); font-style: italic; font-weight: 400; font-size: clamp(2.4rem, 1.9rem + 1.6vw, 3.25rem); line-height: 1;
  color: var(--tv-sp-gold); font-variant-numeric: lining-nums;
}
.tv-sp-strip__list span { max-width: 19ch; font-size: 0.95rem; line-height: 1.55; color: rgba(244, 240, 232, 0.92); }

@media (max-width: 767.98px) {
  .tv-sp-strip__list { grid-template-columns: minmax(0, 1fr); padding-bottom: 0; }
  .tv-sp-strip__list li, .tv-sp-strip__list li:first-child { padding: 1.1rem 0; border-left: 0; border-top: 1px solid var(--tv-sp-rule-dark); }
  .tv-sp-strip__list li::before { flex: 0 0 3.5rem; }
  .tv-sp-strip__list span { max-width: none; }
}

/* ---------------------------------------------------------------------
   4 Â· SPORTS ROWS â€” photo | serif title | description | explore.
   The title link covers the whole row (art-req), so the row is the target.
   ------------------------------------------------------------------- */
.tv-sp-sports { padding-top: clamp(3rem, 2.4rem + 3vw, 5rem) !important; }
.tv-sp-sports .hb-intro { max-width: none; margin-bottom: clamp(2rem, 3.5vw, 2.75rem); }
.tv-sp-sports .hb-kicker::after { display: block; }
.tv-sp-sports .hb-heading--h2 { font-weight: 400; font-size: clamp(2.1rem, 1.55rem + 2.1vw, 3.2rem); line-height: 1.08; margin-bottom: 0.9rem; }
.tv-sp-sports .hb-copy { font-size: 1rem; color: rgba(244, 240, 232, 0.86); }

.tv-sp-rows { border-top-color: var(--tv-sp-rule-dark); }
.tv-sp-rows .art-req__row {
  grid-template-columns: minmax(0, 2.9fr) minmax(0, 3.3fr) minmax(0, 4.6fr) auto;
  gap: 1rem clamp(1.5rem, 3vw, 3rem); align-items: center;
  padding: 0; border-bottom-color: var(--tv-sp-rule-dark);
  transition: background-color 0.4s var(--hb-ease);
}
.tv-sp-rows .art-req__media { border-radius: 0; }
.tv-sp-rows .art-req__media img { transition: transform 0.9s var(--hb-ease); }
.tv-sp-rows .art-req__name { margin: 0; font-weight: 400; font-size: clamp(1.45rem, 1.2rem + 0.9vw, 1.95rem); line-height: 1.15; text-wrap: balance; }
.tv-sp-rows .art-req__name a { background-image: none; }
.tv-sp-rows .art-req__name a:focus-visible { outline-offset: -2px; }
.tv-sp-rows .art-req__name a:focus-visible::after { outline: 2px solid var(--tv-sp-gold); outline-offset: -2px; }
.tv-sp-rows .art-req__desc { font-size: 0.92rem; line-height: 1.7; color: var(--tv-sp-dim); max-width: 46ch; }
.tv-sp-rows .art-req__go { justify-self: end; padding-right: clamp(0.5rem, 1.5vw, 1.25rem); font-size: 0.68rem; letter-spacing: 0.18em; }
@media (hover: hover) {
  .tv-sp-rows .art-req__row:hover { background-color: rgba(244, 240, 232, 0.045); }
  .tv-sp-rows .art-req__row:hover .art-req__media img { transform: scale(1.03); }
  .tv-sp-rows .art-req__row:hover .art-req__go { color: var(--tv-sp-gold); }
}

@media (max-width: 1023.98px) {
  .tv-sp-rows .art-req__row { grid-template-columns: minmax(0, 3fr) minmax(0, 3.4fr) minmax(0, 4.4fr); }
  .tv-sp-rows .art-req__go { grid-column: 2 / -1; justify-self: start; padding: 0 0 1rem; margin-top: -0.4rem; }
  .tv-sp-rows .art-req__media { grid-row: span 2; align-self: stretch; aspect-ratio: auto; min-height: 100%; }
  .tv-sp-rows .art-req__name, .tv-sp-rows .art-req__desc { padding-top: 1.25rem; align-self: start; }
}
@media (max-width: 767.98px) {
  /* image on top, then title, description and explore */
  .tv-sp-rows { border-top: 0; }
  .tv-sp-rows .art-req__row { grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 0 0.5rem; margin-bottom: 2rem; }
  .tv-sp-rows .art-req__row:last-child { margin-bottom: 0; }
  .tv-sp-rows .art-req__media { grid-row: auto; aspect-ratio: 3 / 2; min-height: 0; max-width: none; }
  .tv-sp-rows .art-req__name { padding-top: 1.1rem; }
  .tv-sp-rows .art-req__desc { padding-top: 0.6rem; max-width: none; }
  .tv-sp-rows .art-req__go { grid-column: auto; min-height: 2.75rem; margin-top: 0.25rem; padding: 0; }
}

/* ---------------------------------------------------------------------
   6 Â· ENQUIRY â€” the tv-cu- enquiry; fields go to one column with the rows
   ------------------------------------------------------------------- */
@media (max-width: 767.98px) {
  .tv-sp-enquiry .art-form { grid-template-columns: minmax(0, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  .tv-sp-rows .art-req__row, .tv-sp-rows .art-req__media img, .tv-sp-course__links a, .tv-sp-course__links .hb-arrow, .tv-sp-rows .art-req__go .hb-arrow { transition: none !important; transform: none !important; }
}
