/* =====================================================================
   TRIWAYS — /journeys/egypt-group-tours/
   Loaded by that page only, after triways-article.css, triways-visual.css,
   triways-culture-heritage.css, triways-family.css and
   triways-private-tours.css. Prefix: tv-gp-   (body.tv-cu.tv-fa.tv-pt.tv-gp)
   Nothing here styles the header, the navigation or the footer.

   Reused as they are: .tv-cu-hero (photo hero, 2 x 2 facts), .tv-cu-frame,
   .tv-cu-faq, .tv-cu-enquiry, .tv-pt-bleed--flip (photograph to the left
   edge of the window), .tv-pt-enquiry (photograph down the left edge),
   and the heading scale and phone gutters of body.tv-fa.
   New here, and reusable on the other /journeys/ inside pages
   (link this file last, add body.tv-gp):
     .tv-gp-hero      words on the dark left, the photograph from 36% out to the right edge and up under the bar
     .tv-gp-themes    photograph, title, text: three across (on .art-moments)
     .tv-gp-versus    two columns on ink with a photograph each, the lines on shared rows (on .art-contrast)
     .tv-gp-plan      .tv-pt-bleed--flip at half the window, words centred
     .tv-gp-samples   sample-journey cards that fill the row: two, or three when a third is added
     .tv-gp-enquiry   .tv-pt-enquiry without the ruled panel
   ===================================================================== */

.tv-gp {
  --tv-gp-gold: var(--tv-cu-gold);               /* champagne, on ink */
  --tv-gp-gold-text: var(--tv-cu-gold-text);     /* small gold text on cream: 4.9:1 */
  --tv-gp-rule: var(--tv-cu-rule);               /* brass hairline on cream */
  --tv-gp-rule-gold: rgba(200, 183, 156, 0.34);  /* champagne hairline on ink */
  --tv-gp-dim: rgba(244, 240, 232, 0.86);        /* body copy on ink */
  --tv-gp-quiet: rgba(244, 240, 232, 0.66);      /* the quieter column on ink: 7:1 */
}
/* the short hairline after every eyebrow is kept on this page */
body.tv-gp .hb-kicker.hb-kicker::after { display: block; }

/* ---------------------------------------------------------------------
   1 · HERO — one column of words on the dark left; the photograph starts
   at 36% of the window, runs to the right edge and up under the bar.
   Below 1024px the photograph is a band above the words.
   ------------------------------------------------------------------- */
.tv-gp-hero .tv-cu-hero__media picture { display: contents; }
.tv-gp-hero .hub-crumbs { margin-bottom: clamp(1rem, 2vw, 1.75rem); }
.tv-gp-hero .hub-crumbs a, .tv-gp-hero .hub-crumbs [aria-current="page"] { display: inline-block; padding: 0.8rem 0.2rem; margin-inline: -0.2rem; }
.tv-gp-hero__col { flex: 1; display: flex; flex-direction: column; justify-content: center; max-width: 31rem; }
.tv-gp-hero .hb-kicker { margin-bottom: 1rem; }
.tv-gp-hero .hub-hero__title { font-size: clamp(2.8rem, 2rem + 2.6vw, 4.1rem); max-width: 11ch; text-wrap: balance; }
.tv-gp-hero .art-standing { max-width: none; margin-top: clamp(1.5rem, 2.4vw, 2rem); }
.tv-gp .tv-gp-hero .hub-hero__answer { margin-top: clamp(1.5rem, 2.4vw, 2rem); padding-top: clamp(1.25rem, 2vw, 1.6rem); border-top: 1px solid rgba(200, 183, 156, 0.55); }
.tv-gp .tv-gp-hero .art-hero__label { max-width: none; margin-bottom: 0.9rem; line-height: 1.6; color: var(--tv-gp-gold); }
.tv-gp .tv-gp-hero .hub-hero__answer p:not(.art-hero__label) { max-width: none; font-size: 0.96rem; line-height: 1.75; color: rgba(251, 250, 247, 0.94); }

@media (min-width: 1024px) {
  .tv-gp-hero .tv-cu-hero__media { inset: 0 0 0 auto; width: 64%; }
  .tv-gp-hero .tv-cu-hero__media img { object-position: 72% 38%; }
  /* out of the ink on the left; a wash at the top for the navigation */
  .tv-gp-hero .tv-cu-hero__media::after {
    background:
      linear-gradient(90deg, #151515 0%, rgba(21, 21, 21, 0.86) 12%, rgba(21, 21, 21, 0.42) 30%, rgba(21, 21, 21, 0.08) 48%, rgba(21, 21, 21, 0) 60%),
      linear-gradient(180deg, rgba(21, 21, 21, 0.66) 0%, rgba(21, 21, 21, 0.3) 14%, rgba(21, 21, 21, 0) 28%);
  }
  .tv-gp-hero .tv-cu-hero__inner { min-height: clamp(38.75rem, 30rem + 13vw, 43rem); padding-top: calc(var(--tv-cu-header) + 1.25rem); padding-bottom: clamp(2rem, 1.5rem + 1.6vw, 3rem); }
}
@media (min-width: 1024px) and (max-width: 1199.98px) {
  .tv-gp-hero .tv-cu-hero__media { width: 58%; }
  .tv-gp-hero__col { max-width: 27rem; }
}
@media (max-width: 1023.98px) {
  .tv-gp-hero .tv-cu-hero__media { position: relative; inset: auto; z-index: 0; aspect-ratio: 16 / 9; }
  .tv-gp-hero .tv-cu-hero__media img { object-position: 50% 30%; }
  .tv-gp-hero .tv-cu-hero__media::after {
    background: linear-gradient(180deg, rgba(21, 21, 21, 0.72) 0%, rgba(21, 21, 21, 0.3) 20%, rgba(21, 21, 21, 0) 38%, rgba(21, 21, 21, 0) 78%, #151515 100%);
  }
  .tv-gp-hero .tv-cu-hero__inner { min-height: 0; padding-top: 0.5rem; }
  .tv-gp-hero .hub-crumbs { margin-bottom: 0.75rem; }
  .tv-gp-hero__col { max-width: 38rem; }
  .tv-gp-hero .hub-hero__title { max-width: none; }
}
@media (max-width: 599.98px) {
  .tv-gp-hero .tv-cu-hero__media { aspect-ratio: 4 / 3; }
  .tv-gp-hero .tv-cu-hero__media img { object-position: 50% 50%; }
}

/* ---------------------------------------------------------------------
   2 · THEMES — photograph, title, text. Three across, two on tablets,
   one on phones. The only caption sits on the foot of its photograph so
   the titles of a row stay on one line.
   <li><figure class="tv-gp-theme__pic [--high|--low]"><span class="tv-cu-frame"><img></span>[<figcaption>]</figure><h3><p></li>
   ------------------------------------------------------------------- */
.tv-gp-themes__head { margin-bottom: clamp(2.25rem, 4vw, 3.25rem); }
.tv-gp-themes__head .hb-kicker { margin-bottom: 1.15rem; }
.tv-gp-themes__head .hb-heading--h2 { max-width: 17ch; margin-bottom: clamp(0.9rem, 1.6vw, 1.25rem); }
.tv-gp .tv-gp-themes .art-prose__lead { max-width: none !important; margin: 0; font-size: clamp(1.25rem, 1.12rem + 0.45vw, 1.45rem) !important; }
.tv-gp .tv-gp-themes .art-moments { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(2.25rem, 3.6vw, 3.25rem) clamp(1.25rem, 2.2vw, 1.75rem); border-top: 0; }
.tv-gp .tv-gp-themes .art-moments li { padding: 0; border: 0; }
.tv-gp-theme__pic { position: relative; margin: 0 0 1.15rem; }
.tv-gp-theme__pic img { aspect-ratio: 16 / 10; }
.tv-gp-theme__pic--high img { object-position: 50% 22%; }
.tv-gp-theme__pic--low img { object-position: 50% 78%; }
.tv-gp-theme__pic figcaption { position: absolute; inset: auto 0 0; padding: 2.5rem 1rem 0.8rem; font-size: 0.64rem; font-weight: 600; line-height: 1.5; letter-spacing: 0.2em; text-transform: uppercase; color: #eadfc9; background: linear-gradient(180deg, rgba(21, 21, 21, 0) 0%, rgba(21, 21, 21, 0.82) 100%); pointer-events: none; }
.tv-gp .tv-gp-themes .art-moments h3 { margin-bottom: 0.5rem; font-weight: 400; font-size: clamp(1.45rem, 1.3rem + 0.5vw, 1.7rem); }
.tv-gp .tv-gp-themes .art-moments p { max-width: 40ch; font-size: 0.96rem; line-height: 1.75; color: var(--hb-text); }
.tv-gp .tv-gp-themes .art-moments a { color: var(--tv-gp-gold-text); border-bottom: 1px solid var(--tv-gp-rule); transition: color 0.25s var(--hb-ease), border-color 0.25s var(--hb-ease); }
.tv-gp .tv-gp-themes .art-moments a:hover, .tv-gp .tv-gp-themes .art-moments a:focus-visible { color: var(--hb-ink); border-bottom-color: var(--hb-ink); }
@media (max-width: 1023.98px) {
  .tv-gp .tv-gp-themes .art-moments { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 599.98px) {
  .tv-gp .tv-gp-themes .art-moments { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .tv-gp .tv-gp-themes .art-moments p { max-width: none; }
}

/* ---------------------------------------------------------------------
   3 · PRIVATE vs PUBLIC — two columns either side of a hairline. Each
   is photograph, title, label, three lines; the columns share their rows
   (subgrid), so the lines of one sit level with the lines of the other.
   The private column carries gold ticks; the public one is quieter.
   ------------------------------------------------------------------- */
.tv-gp-versus .hb-intro { max-width: 40rem; margin-bottom: clamp(2rem, 3.6vw, 3rem); }
.tv-gp-versus .hb-kicker { margin-bottom: 1.15rem; }
.tv-gp-versus .hb-copy { font-size: 1rem; line-height: 1.75; color: var(--tv-gp-dim); }
.tv-gp .tv-gp-versus .art-contrast { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0; border-top: 0; }
.tv-gp .tv-gp-versus .art-contrast__col { display: grid; grid-row: span 4; grid-template-rows: subgrid; padding: 0 clamp(1.5rem, 3.2vw, 3rem) 0 0; border-bottom: 0; }
.tv-gp .tv-gp-versus .art-contrast__col + .art-contrast__col { padding: 0 0 0 clamp(1.5rem, 3.2vw, 3rem); border-left: 1px solid var(--tv-gp-rule-gold); }
.tv-gp-versus__pic { margin: 0 0 clamp(1.25rem, 2vw, 1.75rem); overflow: hidden; background: var(--hb-ink-soft); }
.tv-gp-versus__pic img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 7; object-fit: cover; object-position: 50% 46%; }
.tv-gp-versus__col--public .tv-gp-versus__pic img { object-position: 50% 62%; filter: saturate(0.7); }
.tv-gp .tv-gp-versus .art-contrast__col h3 { margin-bottom: 0.5rem; font-weight: 400; font-size: clamp(1.7rem, 1.4rem + 1vw, 2.25rem); }
.tv-gp .tv-gp-versus .art-contrast__role { margin-bottom: 1.15rem; font-family: var(--hb-sans); font-style: normal; font-size: 0.66rem; font-weight: 600; line-height: 1.6; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tv-gp-gold); }
.tv-gp .tv-gp-versus .art-contrast__col ul { display: grid; grid-auto-rows: 1fr; border-bottom: 1px solid var(--tv-gp-rule-gold); }
.tv-gp .tv-gp-versus .art-contrast__col li { position: relative; display: flex; align-items: center; padding: 0.9rem 0 0.9rem 2rem; border-top: 1px solid var(--tv-gp-rule-gold); font-size: 0.98rem; line-height: 1.6; color: #fbfaf7; }
.tv-gp-versus__col--private li::before { content: ""; position: absolute; left: 0.2rem; top: 50%; width: 0.62rem; height: 0.34rem; border-left: 1.5px solid var(--tv-gp-gold); border-bottom: 1.5px solid var(--tv-gp-gold); transform: translateY(-75%) rotate(-45deg); }
.tv-gp-versus__col--public li::before { content: ""; position: absolute; left: 0.2rem; top: 50%; width: 0.7rem; height: 1px; background: var(--tv-gp-quiet); }
.tv-gp .tv-gp-versus .tv-gp-versus__col--public h3 { color: rgba(251, 250, 247, 0.82); }
.tv-gp .tv-gp-versus .tv-gp-versus__col--public .art-contrast__role,
.tv-gp .tv-gp-versus .tv-gp-versus__col--public li { color: var(--tv-gp-quiet); }
.tv-gp .tv-gp-versus .art-note { margin-top: clamp(1.5rem, 2.6vw, 2rem); max-width: 70ch; color: rgba(244, 240, 232, 0.8); }
@media (max-width: 767.98px) {
  .tv-gp .tv-gp-versus .art-contrast { grid-template-columns: minmax(0, 1fr); }
  .tv-gp .tv-gp-versus .art-contrast__col:nth-child(n) { display: block; padding: 0; border-left: 0; }
  .tv-gp .tv-gp-versus .art-contrast__col + .art-contrast__col { margin-top: 2.75rem; }
  .tv-gp-versus__pic img { aspect-ratio: 16 / 8; }
}

/* ---------------------------------------------------------------------
   4 · PLANNING — the deck photograph over the left half of the window,
   the words centred beside it.
   ------------------------------------------------------------------- */
.tv-gp-plan .tv-pt-bleed--flip { grid-template-columns: minmax(0, 50vw) minmax(0, 1fr); }
.tv-gp-plan .tv-pt-bleed__photo img { object-position: 58% 50%; }
.tv-gp-plan .tv-pt-bleed__text { align-self: center; padding-block: clamp(3.5rem, 2.5rem + 3.6vw, 5.75rem); }
.tv-gp-plan .tv-pt-bleed__text .hb-heading--h2 { max-width: 13ch; }
.tv-gp .tv-gp-plan .art-prose__lead { max-width: 30ch !important; margin-bottom: 1.25rem; font-size: clamp(1.3rem, 1.15rem + 0.55vw, 1.6rem) !important; }
.tv-gp-plan .art-prose p:not(.art-prose__lead) { max-width: 56ch; font-size: 1rem; line-height: 1.8; color: var(--hb-text); }
.tv-gp-plan .art-prose p a { color: var(--tv-gp-gold-text); border-bottom: 1px solid var(--tv-gp-rule); transition: color 0.25s var(--hb-ease), border-color 0.25s var(--hb-ease); }
.tv-gp-plan .art-prose p a:hover, .tv-gp-plan .art-prose p a:focus-visible { color: var(--hb-ink); border-bottom-color: var(--hb-ink); }
.tv-gp-plan .art-onward .hb-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; color: var(--tv-gp-gold-text); border-bottom-color: var(--tv-gp-rule); }
.tv-gp-plan .art-onward .hb-link:hover, .tv-gp-plan .art-onward .hb-link:focus-visible { color: var(--hb-ink); border-bottom-color: var(--hb-ink); }
@media (max-width: 1023.98px) {
  .tv-gp-plan .tv-pt-bleed--flip { grid-template-columns: minmax(0, 1fr); }
  .tv-gp-plan .tv-pt-bleed__photo img { object-position: 50% 50%; }
  .tv-gp-plan .tv-pt-bleed__text .hb-heading--h2 { max-width: 18ch; }
  .tv-gp .tv-gp-plan .art-prose__lead { max-width: 34ch !important; }
}

/* ---------------------------------------------------------------------
   5 · SAMPLE JOURNEYS — the cards fill the row: two share it, a third
   makes three across (there is no room for a fourth at the page width).
   The route is the italic line, then the title, the reason, the link.
   ------------------------------------------------------------------- */
.tv-gp-samples .hb-kicker { margin-bottom: 1.15rem; }
.tv-gp-samples .art-samples-head { align-items: flex-end; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.tv-gp-samples .art-samples-head .hb-link { display: inline-flex; align-items: center; gap: 0.4rem; min-height: 2.75rem; color: var(--tv-gp-gold-text); border-bottom-color: var(--tv-gp-rule); }
.tv-gp-samples .art-samples-head .hb-link:hover, .tv-gp-samples .art-samples-head .hb-link:focus-visible { color: var(--hb-ink); border-bottom-color: var(--hb-ink); }
.tv-gp .tv-gp-samples .art-samples { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 20rem), 1fr)); gap: clamp(1rem, 2vw, 1.5rem); max-width: none; margin-right: 0; padding-right: 0; overflow: visible; }
.tv-gp .tv-gp-samples .art-samples > li { flex: none; }
.tv-gp-samples .art-sample { aspect-ratio: auto; height: clamp(23rem, 17rem + 13vw, 28.75rem); border-radius: 0; }
.tv-gp-samples .art-sample::before { background: linear-gradient(to top, rgba(21, 21, 21, 0.95) 0%, rgba(21, 21, 21, 0.88) 32%, rgba(21, 21, 21, 0.5) 54%, rgba(21, 21, 21, 0) 78%); }
.tv-gp-samples .art-sample__body { padding: clamp(1.25rem, 2.6vw, 2rem); }
.tv-gp-samples .art-sample__days { margin-bottom: 0.5rem; font-family: var(--hb-serif); font-style: italic; font-size: 1.12rem; font-weight: 400; line-height: 1.35; letter-spacing: 0; text-transform: none; color: #eadfc9; }
.tv-gp-samples .art-sample__title { font-size: clamp(1.6rem, 1.3rem + 1vw, 2.15rem); line-height: 1.12; }
.tv-gp-samples .art-sample__why { max-width: 44ch; font-size: 0.94rem; color: rgba(251, 250, 247, 0.92); }
.tv-gp-samples .art-sample__go { color: var(--tv-gp-gold); }
.tv-gp-samples .art-samples li:nth-child(1) img { object-position: 50% 62%; }

/* ---------------------------------------------------------------------
   7 · ENQUIRY — the terrace down the left edge; plain underline fields,
   no panel round the form.
   ------------------------------------------------------------------- */
.tv-gp-enquiry .art-form { padding: 0; border: 0; background: none; }
.tv-gp-enquiry .art-enquiry__head .hb-link { color: var(--tv-gp-gold); }
@media (min-width: 1200px) {
  .tv-gp-enquiry .tv-pt-enquiry__photo img { object-position: 20% 50%; }
}
@media (max-width: 1199.98px) {
  .tv-gp-enquiry .tv-pt-enquiry__photo { aspect-ratio: 16 / 6; }
  .tv-gp-enquiry .tv-pt-enquiry__photo img { object-position: 24% 58%; }
}
@media (max-width: 767.98px) {
  .tv-gp-enquiry .tv-pt-enquiry__photo { aspect-ratio: 16 / 7; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-gp .tv-gp-themes .art-moments a, .tv-gp-plan .art-prose p a { transition: none !important; }
}
