/* =====================================================================
   TRIWAYS — /journeys/egypt-family-tours/
   Loaded by that page only, after triways-article.css, triways-visual.css
   and triways-culture-heritage.css. Prefix: tv-fa-   (body.tv-cu.tv-fa)
   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
     .tv-cu-split     heading left, prose right
     .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, and reusable on the other /journeys/ inside pages
   (link this file after triways-culture-heritage.css, add body.tv-fa):
     .tv-fa-hero      title and four ruled facts on the dark left, the answer across the foot
     .tv-fa-rows      counted rows: numeral | title and text, brass hairlines
     .tv-fa-friendly  counted rows left, one photograph right
     .tv-fa-ages      photograph top right on ink (its own block on phones), then the age table
     .tv-fa-practical heading and an italic line left, counted rows right
     .tv-fa-samples   the sample-journey cards: title first, then the route
     .tv-fa-enquiry   eight fields in pairs, the brief full width
   ===================================================================== */

.tv-fa {
  --tv-fa-gold: var(--tv-cu-gold);               /* champagne, on ink */
  --tv-fa-gold-text: var(--tv-cu-gold-text);     /* small gold text on cream: 4.9:1 */
  --tv-fa-rule: var(--tv-cu-rule);               /* brass hairline on cream */
  --tv-fa-rule-gold: rgba(200, 183, 156, 0.34);  /* champagne hairline on ink */
  --tv-fa-dim: rgba(244, 240, 232, 0.84);        /* body copy on ink */
  --tv-fa-h2: clamp(2.1rem, 1.55rem + 2.1vw, 3.2rem);
}
body.tv-fa .hb-kicker.hb-kicker::after { display: none; }
.tv-fa main section[id] { scroll-margin-top: 5rem; }
.tv-fa main .hb-heading--h2 { font-weight: 400; font-size: var(--tv-fa-h2); line-height: 1.08; }
@media (max-width: 479.98px) {
  .tv-fa main .hb-wrap { padding-inline: 1rem; }   /* 16px side gutters on phones */
}

/* ---------------------------------------------------------------------
   1 · HERO — the family walking to the pyramids at full bleed. They are
   right of centre, so the title and the facts sit on the dark left and
   the answer runs across the foot under a gold hairline.
   ------------------------------------------------------------------- */
.tv-fa-hero .tv-cu-hero__media picture { display: contents; }
.tv-fa-hero .hub-crumbs { margin-bottom: clamp(1rem, 2vw, 1.75rem); }
.tv-fa-hero .hub-crumbs a, .tv-fa-hero .hub-crumbs [aria-current="page"] { display: inline-block; padding: 0.8rem 0.2rem; margin-inline: -0.2rem; }
.tv-fa-hero .tv-fa-hero__grid { display: flex; flex-direction: column; align-items: stretch; gap: 0; flex: 1; }
.tv-fa-hero .hb-kicker { margin-bottom: 1rem; }
.tv-fa-hero .hub-hero__title { font-size: clamp(2.9rem, 1.9rem + 3.4vw, 4.75rem); font-weight: 400; line-height: 1.02; max-width: 11ch; text-wrap: balance; }

/* Guide / Vehicle / Pace / Support: small gold labels, hairlines between, no icons */
.tv-fa .tv-fa-hero .art-standing { display: grid; grid-template-columns: repeat(4, auto); justify-content: start; gap: 0; max-width: none; margin-top: clamp(2rem, 3.4vw, 2.75rem); }
.tv-fa .tv-fa-hero .art-standing > div:nth-child(n) { display: block; padding: 0.15rem clamp(1.25rem, 2.6vw, 2.5rem) 0.2rem clamp(1.1rem, 2vw, 1.75rem); border: 0; border-left: 1px solid rgba(200, 183, 156, 0.55); }
.tv-fa .tv-fa-hero .art-standing > div:first-child { padding-left: 0; border-left: 0; }
.tv-fa .tv-fa-hero .art-standing dt { margin: 0 0 0.45rem; font-size: 0.66rem; letter-spacing: 0.2em; color: var(--tv-fa-gold); }
.tv-fa .tv-fa-hero .art-standing dd { font-family: var(--hb-sans); font-size: 0.92rem; line-height: 1.45; color: var(--hb-white); }

.tv-fa-hero .hub-hero__answer { margin-top: clamp(2rem, 3.6vw, 3rem); padding-top: clamp(1.25rem, 2vw, 1.75rem); border-top: 1px solid rgba(200, 183, 156, 0.6); }
.tv-fa .tv-fa-hero .art-hero__label { margin: 0; max-width: 16ch; font-family: var(--hb-serif); font-size: clamp(1.5rem, 1.2rem + 0.9vw, 1.95rem); font-weight: 400; line-height: 1.2; letter-spacing: 0; text-transform: none; color: var(--tv-fa-gold); text-wrap: balance; }
.tv-fa .tv-fa-hero .hub-hero__answer .tv-fa-hero__text p { margin: 0; max-width: 62ch; font-size: 0.96rem; line-height: 1.75; color: rgba(251, 250, 247, 0.94); }
.tv-fa .tv-fa-hero .hub-hero__answer .tv-fa-hero__text p + p { margin-top: 0.9rem; }

@media (min-width: 900px) {
  .tv-fa-hero .tv-cu-hero__media img { object-position: 100% 50%; }
  /* darkened from the left for the title, and from the foot for the answer */
  .tv-fa-hero .tv-cu-hero__media::after {
    background:
      linear-gradient(180deg, rgba(21, 21, 21, 0.82) 0%, rgba(21, 21, 21, 0.7) 13%, rgba(21, 21, 21, 0) 30%),
      linear-gradient(180deg, rgba(21, 21, 21, 0) 40%, rgba(21, 21, 21, 0.72) 55%, rgba(21, 21, 21, 0.94) 65%, rgba(21, 21, 21, 0.97) 100%),
      linear-gradient(90deg, rgba(21, 21, 21, 0.94) 0%, rgba(21, 21, 21, 0.84) 18%, rgba(21, 21, 21, 0.4) 34%, rgba(21, 21, 21, 0.08) 50%, rgba(21, 21, 21, 0.04) 100%);
  }
  .tv-fa-hero .tv-cu-hero__inner { min-height: clamp(36rem, 28rem + 15vw, 43rem); padding-bottom: clamp(2rem, 1.5rem + 1.6vw, 3rem); }
  .tv-fa-hero__lead { flex: 1; display: flex; flex-direction: column; justify-content: center; }
  .tv-fa-hero .hub-hero__answer { display: grid; grid-template-columns: minmax(0, 3.6fr) minmax(0, 8.4fr); gap: clamp(1.5rem, 4vw, 4.5rem); align-items: start; }
}
@media (min-width: 900px) and (max-width: 1199.98px) {
  /* the narrower frame puts more of the words on the photograph: the wash reaches further in and starts higher */
  .tv-fa-hero .tv-cu-hero__media::after {
    background:
      linear-gradient(180deg, rgba(21, 21, 21, 0.82) 0%, rgba(21, 21, 21, 0.7) 13%, rgba(21, 21, 21, 0) 30%),
      linear-gradient(180deg, rgba(21, 21, 21, 0) 34%, rgba(21, 21, 21, 0.76) 49%, rgba(21, 21, 21, 0.95) 58%, rgba(21, 21, 21, 0.97) 100%),
      linear-gradient(90deg, rgba(21, 21, 21, 0.94) 0%, rgba(21, 21, 21, 0.86) 26%, rgba(21, 21, 21, 0.5) 46%, rgba(21, 21, 21, 0.1) 66%, rgba(21, 21, 21, 0.04) 100%);
  }
}
@media (min-width: 1200px) {
  /* the two paragraphs of the answer side by side */
  .tv-fa .tv-fa-hero .hub-hero__answer .tv-fa-hero__text { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1.75rem, 3vw, 3rem); }
  .tv-fa .tv-fa-hero .hub-hero__answer .tv-fa-hero__text p + p { margin-top: 0; }
}
@media (max-width: 899.98px) {
  /* the photograph holds the top of the hero with the title on its foot; the facts and the answer follow on ink */
  .tv-fa-hero .tv-cu-hero__media { bottom: auto; height: 21.5rem; }
  .tv-fa-hero .tv-cu-hero__media img { object-position: 46% 50%; }
  .tv-fa-hero .tv-cu-hero__media::after {
    background: linear-gradient(180deg, rgba(21, 21, 21, 0.9) 0%, rgba(21, 21, 21, 0.84) 13%, rgba(21, 21, 21, 0.22) 30%, rgba(21, 21, 21, 0.44) 48%, rgba(21, 21, 21, 0.88) 72%, #151515 100%);
  }
  .tv-fa-hero .tv-cu-hero__inner { padding-top: calc(var(--tv-cu-header) + 0.75rem); }
  .tv-fa-hero .hub-crumbs { margin-bottom: 0; }
  .tv-fa-hero__head { display: flex; flex-direction: column; justify-content: flex-end; min-height: 15.25rem; }
  .tv-fa-hero .hub-hero__title { max-width: none; }
  .tv-fa .tv-fa-hero .art-standing { grid-template-columns: minmax(0, 1fr); margin-top: 1.75rem; border-bottom: 1px solid var(--tv-fa-rule-gold); }
  .tv-fa .tv-fa-hero .art-standing > div:nth-child(n) { display: grid; grid-template-columns: 5.5rem minmax(0, 1fr); align-items: baseline; gap: 1rem; padding: 0.85rem 0; border: 0; border-top: 1px solid var(--tv-fa-rule-gold); }
  .tv-fa .tv-fa-hero .art-standing dt { margin: 0; }
  .tv-fa-hero .hub-hero__answer { margin-top: 2rem; padding-top: 0; border-top: 0; }
  .tv-fa .tv-fa-hero .art-hero__label { max-width: none; margin-bottom: 0.9rem; }
}
@media (min-width: 600px) and (max-width: 899.98px) {
  .tv-fa .tv-fa-hero .art-standing { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; }
}

/* ---------------------------------------------------------------------
   COUNTED ROWS — a serif numeral, the title, the text; brass hairlines.
   Used under "Family-Friendly" and "Practical".
   ------------------------------------------------------------------- */
.tv-fa-rows { counter-reset: tv-fa-row; }
.tv-fa .tv-fa-rows .art-entry.art-entry {
  counter-increment: tv-fa-row;
  display: grid; grid-template-columns: clamp(2.75rem, 5vw, 4.25rem) minmax(0, 1fr); column-gap: 0.75rem;
  margin: 0; padding: clamp(1.25rem, 2vw, 1.65rem) 0;
  border-top: 1px solid var(--tv-fa-rule);
}
.tv-fa .tv-fa-rows .art-entry.art-entry:last-child { border-bottom: 1px solid var(--tv-fa-rule); }
.tv-fa-rows .art-entry::before {
  content: counter(tv-fa-row, decimal-leading-zero); content: counter(tv-fa-row, decimal-leading-zero) / "";
  grid-row: 1 / span 2;
  font-family: var(--hb-serif); font-weight: 400; font-size: clamp(1.7rem, 1.45rem + 0.8vw, 2.1rem); line-height: 1;
  color: var(--tv-fa-gold-text); font-variant-numeric: lining-nums;
}
.tv-fa .tv-fa-rows .art-entry h3 { grid-column: 2; margin: 0 0 0.4rem; font-weight: 400; font-size: clamp(1.4rem, 1.25rem + 0.5vw, 1.65rem); line-height: 1.2; }
.tv-fa .tv-fa-rows .art-entry p { grid-column: 2; margin: 0; max-width: 56ch; font-size: 0.96rem; line-height: 1.75; color: var(--hb-text); }
.tv-fa .tv-fa-rows .art-entry a { color: var(--tv-fa-gold-text); border-bottom: 1px solid var(--tv-fa-rule); transition: color 0.25s var(--hb-ease), border-color 0.25s var(--hb-ease); }
.tv-fa .tv-fa-rows .art-entry a:hover, .tv-fa .tv-fa-rows .art-entry a:focus-visible { color: var(--hb-ink); border-bottom-color: var(--hb-ink); }

/* ---------------------------------------------------------------------
   2 · FAMILY-FRIENDLY — rows left, the Abu Simbel photograph right. The
   photograph travels with the reader while the rows scroll past.
   ------------------------------------------------------------------- */
.tv-fa-friendly .art-duo { grid-template-columns: minmax(0, 5.7fr) minmax(0, 6.3fr); gap: clamp(2.25rem, 5vw, 5.5rem); align-items: start; }
.tv-fa-friendly .hb-kicker { margin-bottom: 1.15rem; }
.tv-fa-friendly .hb-heading--h2 { max-width: 15ch; margin-bottom: clamp(1rem, 1.8vw, 1.4rem); }
.tv-fa .tv-fa-friendly .art-prose__lead { font-family: var(--hb-sans) !important; font-size: 1rem !important; line-height: 1.75 !important; color: var(--hb-text) !important; max-width: 46ch !important; margin-bottom: clamp(1.6rem, 2.6vw, 2.1rem); text-wrap: pretty; }
.tv-fa-friendly__photo { margin: 0; }
.tv-fa-friendly__photo .tv-cu-frame img { aspect-ratio: 4 / 3; }
.tv-fa-friendly__photo figcaption { margin-top: 0.8rem; font-size: 0.78rem; line-height: 1.5; letter-spacing: 0.02em; color: var(--hb-text-dim); }
@media (min-width: 1024px) {
  .tv-fa-friendly__photo { position: sticky; top: 6.5rem; margin-top: 0.4rem; }
}
@media (max-width: 1023.98px) {
  .tv-fa-friendly .art-duo { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .tv-fa-friendly .hb-heading--h2 { max-width: 18ch; }
  .tv-fa-friendly__photo { max-width: 40rem; }
  .tv-fa-friendly__photo .tv-cu-frame img { aspect-ratio: 3 / 2; }
}

/* ---------------------------------------------------------------------
   3 · AGE BY AGE — from 1024px the Nile deck sits top right and dissolves
   into the ink; below that it is its own block above the heading, so no
   words ever sit on it.
   ------------------------------------------------------------------- */
.tv-fa-ages { position: relative; isolation: isolate; overflow: hidden; }
.tv-fa-ages__photo { position: relative; margin: 0; overflow: hidden; background: var(--hb-ink-soft); }
.tv-fa-ages__photo picture { display: contents; }
.tv-fa-ages__photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.tv-fa-ages .hb-intro { max-width: 34rem; margin-bottom: clamp(2rem, 3.6vw, 3rem); }
.tv-fa-ages .hb-kicker { margin-bottom: 1.15rem; }
.tv-fa-ages .hb-copy { font-size: 1rem; line-height: 1.75; color: var(--tv-fa-dim); max-width: 44ch; }
.tv-fa .tv-fa-ages .art-matrix thead th { padding-bottom: 0.8rem; font-size: 0.66rem; border-bottom-color: rgba(200, 183, 156, 0.6); }
.tv-fa .tv-fa-ages .art-matrix tbody th, .tv-fa .tv-fa-ages .art-matrix tbody td { padding-block: clamp(1.15rem, 1.9vw, 1.6rem); vertical-align: baseline; border-bottom-color: var(--tv-fa-rule-gold); }
.tv-fa .tv-fa-ages .art-matrix tbody th { width: 19%; font-size: clamp(1.55rem, 1.25rem + 0.9vw, 2rem); white-space: nowrap; }
.tv-fa .tv-fa-ages .art-matrix__way { width: 30%; font-size: clamp(1.15rem, 1.05rem + 0.4vw, 1.4rem); line-height: 1.3; color: var(--tv-fa-gold); }
.tv-fa .tv-fa-ages .art-matrix tbody td:last-child { font-size: 0.96rem; color: var(--tv-fa-dim); }
.tv-fa-ages .art-note { margin-top: 1.4rem; max-width: 64ch; color: rgba(244, 240, 232, 0.72); }
@media (min-width: 1024px) {
  .tv-fa-ages__photo { position: absolute; z-index: -1; top: 0; right: 0; width: min(56%, 62rem); height: clamp(17rem, 9rem + 14vw, 21.5rem); background: none; }
  .tv-fa-ages__photo img { object-position: 60% 46%; }
  .tv-fa-ages__photo::after {
    content: ""; position: absolute; inset: -1px;
    background:
      linear-gradient(90deg, #151515 0%, rgba(21, 21, 21, 0.72) 22%, rgba(21, 21, 21, 0.12) 52%, rgba(21, 21, 21, 0.06) 100%),
      linear-gradient(180deg, rgba(21, 21, 21, 0.1) 0%, rgba(21, 21, 21, 0) 40%, rgba(21, 21, 21, 0.55) 78%, #151515 100%);
  }
  .tv-fa-ages .hb-intro { max-width: 40rem; }
  .tv-fa-ages .hb-intro .hb-heading--h2 { white-space: nowrap; }
}
@media (max-width: 1023.98px) {
  .tv-fa .tv-fa-ages { padding-top: 0; }
  .tv-fa-ages__photo { aspect-ratio: 16 / 7; margin-bottom: clamp(2.5rem, 6vw, 3.5rem); }
  .tv-fa-ages__photo img { object-position: 62% 50%; }
}
@media (max-width: 767.98px) {
  .tv-fa-ages__photo { aspect-ratio: 3 / 2; }
  .tv-fa-ages__photo img { object-position: 50% 50%; }
  /* the table is a stack: the age, what lands in gold, how to plan it */
  .tv-fa .tv-fa-ages .art-matrix tbody tr { padding: 1.4rem 0 1.5rem; border-bottom: 1px solid var(--tv-fa-rule-gold); }
  .tv-fa .tv-fa-ages .art-matrix tbody tr:first-child { border-top-color: rgba(200, 183, 156, 0.6); }
  .tv-fa .tv-fa-ages .art-matrix tbody th, .tv-fa .tv-fa-ages .art-matrix tbody td { width: auto; padding: 0; border: 0; white-space: normal; }
  .tv-fa .tv-fa-ages .art-matrix__way { margin: 0.35rem 0 0.7rem; font-style: italic; }
}

/* ---------------------------------------------------------------------
   4 · PRACTICAL — heading and one italic line left, five counted rows right
   ------------------------------------------------------------------- */
.tv-fa-practical .art-split__head .hb-heading--h2::after { display: none; }
.tv-fa-practical .art-split__head .hb-heading--h2 { max-width: 12ch; }
.tv-fa-practical__lead { margin: clamp(0.9rem, 1.6vw, 1.25rem) 0 0; max-width: 16ch; font-family: var(--hb-serif); font-style: italic; font-weight: 400; font-size: clamp(1.55rem, 1.25rem + 1.1vw, 2.1rem); line-height: 1.2; color: var(--tv-fa-gold-text); text-wrap: balance; }
@media (min-width: 1024px) {
  .tv-fa-practical .art-split { grid-template-columns: minmax(0, 4.6fr) minmax(0, 7.4fr); }
  .tv-fa-practical .art-split__head { position: sticky; top: 6.5rem; }
}
@media (max-width: 1023.98px) {
  .tv-fa-practical .art-split__head .hb-heading--h2 { max-width: 18ch; }
  .tv-fa-practical__lead { max-width: none; }
}

/* ---------------------------------------------------------------------
   5 · SAMPLE JOURNEYS — the title first, then the length and the route
   ------------------------------------------------------------------- */
.tv-fa-samples .hb-kicker { margin-bottom: 1.15rem; }
.tv-fa-samples .art-samples-head { align-items: flex-end; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.tv-fa-samples .art-samples-head .hb-link { color: var(--tv-fa-gold-text); border-bottom-color: var(--tv-fa-rule); min-height: 2.75rem; display: inline-flex; align-items: center; gap: 0.4rem; }
.tv-fa-samples .art-samples-head .hb-link:hover, .tv-fa-samples .art-samples-head .hb-link:focus-visible { color: var(--hb-ink); border-bottom-color: var(--hb-ink); }
.tv-fa-samples .art-sample { border-radius: 0; }
.tv-fa-samples .art-sample::before { background: linear-gradient(to top, rgba(21, 21, 21, 0.95) 0%, rgba(21, 21, 21, 0.86) 30%, rgba(21, 21, 21, 0.4) 52%, rgba(21, 21, 21, 0) 72%); }
.tv-fa-samples .art-sample__title { order: -1; margin-bottom: 0.35rem; font-size: clamp(1.45rem, 1.2rem + 0.8vw, 1.85rem); }
.tv-fa-samples .art-sample__days { margin-bottom: 0.7rem; font-size: 0.66rem; letter-spacing: 0.14em; line-height: 1.6; color: var(--tv-fa-gold); }
.tv-fa-samples .art-sample__why { color: rgba(251, 250, 247, 0.92); }
.tv-fa-samples .art-sample__go { color: var(--tv-fa-gold); }
.tv-fa-samples .art-samples li:nth-child(1) img { object-position: 50% 30%; }
.tv-fa-samples .art-note { margin-top: clamp(1.4rem, 2.4vw, 2rem); max-width: 70ch; font-size: 0.92rem; color: var(--hb-text); }
.tv-fa-samples .art-note a { color: var(--tv-fa-gold-text); border-bottom-color: var(--tv-fa-rule); }
.tv-fa-samples .art-note a:hover, .tv-fa-samples .art-note a:focus-visible { color: var(--hb-ink); border-bottom-color: var(--hb-ink); }
@media (max-width: 767.98px) {
  .tv-fa-samples .art-samples > li { flex-basis: 80%; }
  .tv-fa-samples .art-sample::before { background: linear-gradient(to top, rgba(21, 21, 21, 0.96) 0%, rgba(21, 21, 21, 0.9) 42%, rgba(21, 21, 21, 0.5) 62%, rgba(21, 21, 21, 0) 84%); }
}
@media (max-width: 479.98px) {
  .tv-fa-samples .art-samples { margin-right: -1rem; padding-right: 1rem; }
}

/* ---------------------------------------------------------------------
   6 · QUESTIONS
   ------------------------------------------------------------------- */
.tv-fa-faq .hub-faq__head .hb-heading { max-width: 9ch; }
.tv-fa-faq .hb-faq__item > p a { color: var(--tv-fa-gold-text); border-bottom: 1px solid var(--tv-fa-rule); }
.tv-fa-faq .hb-faq__item > p a:hover, .tv-fa-faq .hb-faq__item > p a:focus-visible { color: var(--hb-ink); border-bottom-color: var(--hb-ink); }
@media (max-width: 1023.98px) {
  .tv-fa-faq .hub-faq__head .hb-heading { max-width: none; }
}

/* ---------------------------------------------------------------------
   7 · ENQUIRY — eight fields in four pairs, then the brief and the button
   ------------------------------------------------------------------- */
.tv-fa-enquiry .art-enquiry__head .hb-heading--h2 { font-size: clamp(1.95rem, 1.5rem + 1.6vw, 2.8rem); line-height: 1.12; max-width: 16ch; text-wrap: balance; }
.tv-fa-enquiry .art-enquiry__head .hb-link { color: var(--tv-fa-gold); }
.tv-fa-enquiry .art-enquiry__direct { margin-top: 0; }
.tv-fa-enquiry .art-enquiry__aside { margin-top: 1.5rem; padding-top: 1.4rem; border-top: 1px solid var(--tv-fa-rule-gold); }
.tv-fa-enquiry .art-form__field--wide textarea { width: 100%; }
@media (max-width: 767.98px) {
  .tv-fa-enquiry .art-form { grid-template-columns: minmax(0, 1fr); }
  .tv-fa-enquiry .art-form__submit .hb-cta { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-fa .tv-fa-rows .art-entry a { transition: none !important; }
}
