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

   Reused as they are:
     .tv-cu-hero      photo hero, 2 x 2 facts ledger (triways-culture-heritage.css)
     .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
     .tv-fa           the journeys h2 size, kicker and phone gutters (triways-family.css)
   New here:
     .tv-hm-hero      title and ledger on the dark left, the answer lower right on its own wash
     .tv-hm-moments   four photographs two by two, each one link
     .tv-hm-nile      photograph left inside the grid, prose and three facts right
     .tv-hm-samples   the sample-journey cards, near square
     .tv-hm-enquiry   a tall photograph down the left edge, then words, then the form
   ===================================================================== */

.tv-hm {
  --tv-hm-side: clamp(11rem, 19vw, 20rem);   /* the enquiry photograph */
}

/* ---------------------------------------------------------------------
   1 · HERO — the couple sit mid-frame, so the photograph is pinned left
   and the words keep to the two sides of them.
   ------------------------------------------------------------------- */
.tv-hm-hero .tv-cu-hero__media picture { display: contents; }
.tv-hm-hero .hub-crumbs a, .tv-hm-hero .hub-crumbs [aria-current="page"] { display: inline-block; padding: 0.8rem 0.2rem; margin-inline: -0.2rem; }
.tv-hm-hero .hub-hero__title { font-size: clamp(2.8rem, 1.9rem + 3vw, 4.4rem); max-width: none; }
.tv-hm-hero__first { display: block; }   /* Egypt / Honeymoon Tours */
.tv-hm .tv-hm-hero .art-standing dd { font-family: var(--hb-serif); font-size: 1.2rem; line-height: 1.25; }
.tv-hm .tv-hm-hero .art-hero__label { font-size: 0.68rem; letter-spacing: 0.2em; }

@media (min-width: 900px) {
  .tv-hm-hero .tv-cu-hero__media img { object-position: 0% 62%; }
  /* dark from the left for the title; a second, lighter wash from the right foot behind the answer */
  .tv-hm-hero .tv-cu-hero__media::after {
    background:
      radial-gradient(ellipse 46% 78% at 100% 78%, rgba(21, 21, 21, 0.86) 0%, rgba(21, 21, 21, 0.74) 42%, rgba(21, 21, 21, 0.36) 74%, rgba(21, 21, 21, 0) 100%),
      linear-gradient(90deg, rgba(21, 21, 21, 0.95) 0%, rgba(21, 21, 21, 0.9) 22%, rgba(21, 21, 21, 0.62) 36%, rgba(21, 21, 21, 0.14) 48%, rgba(21, 21, 21, 0) 60%),
      linear-gradient(180deg, rgba(21, 21, 21, 0.3) 0%, rgba(21, 21, 21, 0) 26%, rgba(21, 21, 21, 0) 70%, rgba(21, 21, 21, 0.4) 100%);
  }
  .tv-hm-hero .tv-cu-hero__inner { min-height: clamp(35rem, 27rem + 14vw, 41rem); }
  .tv-hm-hero .tv-cu-hero__grid { grid-template-columns: minmax(0, 38%) minmax(0, 27.5%); justify-content: space-between; align-items: stretch; }
  .tv-hm-hero__lead { align-self: center; }
  .tv-hm-hero .hub-hero__answer { align-self: end; }
  .tv-hm-hero .hub-hero__answer p:not(.art-hero__label) { font-size: 0.96rem; max-width: none; }
}
@media (min-width: 900px) and (max-width: 1199.98px) {
  /* less room between the two columns: slide the couple left so the man stays clear of the answer */
  .tv-hm-hero .tv-cu-hero__media img { object-position: 30% 62%; }
}
@media (min-width: 1600px) {
  /* past the photograph's own width the couple would drift under the title: enlarge it from the left edge */
  .tv-hm-hero .tv-cu-hero__media img { width: 116%; max-width: none; }
}
@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-hm-hero .tv-cu-hero__media { bottom: auto; height: 21.5rem; }
  .tv-hm-hero .tv-cu-hero__media img { object-position: 50% 50%; }
  .tv-hm-hero .tv-cu-hero__media::after {
    background: linear-gradient(180deg, rgba(21, 21, 21, 0.62) 0%, rgba(21, 21, 21, 0.18) 26%, rgba(21, 21, 21, 0.3) 46%, rgba(21, 21, 21, 0.88) 76%, #151515 100%);
  }
  .tv-hm-hero .tv-cu-hero__inner { padding-top: calc(var(--tv-cu-header) + 0.75rem); }
  .tv-hm-hero .hub-crumbs { margin-bottom: 0; }
  .tv-hm-hero__head { display: flex; flex-direction: column; justify-content: flex-end; min-height: 15.25rem; }
  .tv-hm-hero .art-standing { max-width: none; margin-top: 1.75rem; }
}

/* ---------------------------------------------------------------------
   2 · ROMANTIC EXPERIENCES — two by two, on the heading's own edges.
   A hairline frame, the photograph, then the words on ink. Square corners.
   ------------------------------------------------------------------- */
.tv-hm-romantic .hb-intro { max-width: 34rem; margin-bottom: clamp(2rem, 3.6vw, 3rem); }
.tv-hm-romantic .hb-kicker { margin-bottom: 1.15rem; }
.tv-hm-romantic .hb-copy { font-size: 1rem; line-height: 1.75; color: var(--tv-fa-dim); max-width: 44ch; }
.tv-hm-moments { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(1rem, 2vw, 1.5rem); margin: 0; padding: 0; list-style: none; }
.tv-hm-moment { position: relative; display: flex; flex-direction: column; border: 1px solid var(--tv-fa-rule-gold); transition: border-color 0.35s var(--hb-ease); }
.tv-hm-moment:hover, .tv-hm-moment:focus-within { border-color: rgba(200, 183, 156, 0.72); }
.tv-hm-moment__media { display: block; overflow: hidden; background: var(--hb-ink-soft); }
.tv-hm-moment__media img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 0.9s var(--hb-ease); }
.tv-hm-moment:hover .tv-hm-moment__media img { transform: scale(1.04); }
.tv-hm-moment__body { flex: 1; display: flex; flex-direction: column; padding: clamp(1.25rem, 2.2vw, 1.75rem) clamp(1.15rem, 2.2vw, 1.75rem) clamp(1.15rem, 2vw, 1.5rem); }
.tv-hm-moment__name { margin: 0 0 0.6rem; font-family: var(--hb-serif); font-weight: 400; font-size: clamp(1.5rem, 1.25rem + 0.9vw, 1.95rem); line-height: 1.15; color: var(--hb-white); text-wrap: balance; }
.tv-hm-moment__name a { color: inherit; background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size 0.45s var(--hb-ease); }
.tv-hm-moment__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.tv-hm-moment:hover .tv-hm-moment__name a, .tv-hm-moment__name a:focus-visible { background-size: 100% 1px; }
.tv-hm-moment__name a:focus-visible { outline: none; }
.tv-hm-moment__name a:focus-visible::after { outline: 2px solid var(--tv-fa-gold); outline-offset: 3px; }
.tv-hm-moment__desc { margin: 0 0 1.15rem; max-width: 50ch; font-size: 0.96rem; line-height: 1.7; color: var(--tv-fa-dim); }
.tv-hm-moment__go { display: inline-flex; align-items: center; gap: 0.5rem; margin-top: auto; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tv-fa-gold); }
.tv-hm-moment__go .hb-arrow { transition: transform 0.25s var(--hb-ease); }
.tv-hm-moment:hover .tv-hm-moment__go .hb-arrow { transform: translateX(4px); }
@media (max-width: 699.98px) {
  .tv-hm-moments { grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
  .tv-hm-moment__media img { aspect-ratio: 3 / 2; }
}

/* ---------------------------------------------------------------------
   3 · PRIVATE NILE CRUISE FOR TWO — the photograph left, inside the grid
   ------------------------------------------------------------------- */
.tv-hm-nile .art-duo { grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: clamp(2.25rem, 5vw, 5rem); align-items: center; }
.tv-hm-nile__photo { margin: 0; }
.tv-hm-nile__photo .tv-cu-frame img { aspect-ratio: 6 / 5; object-position: 42% 50%; }
.tv-hm-nile__photo figcaption { margin-top: 0.85rem; font-size: 0.68rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--tv-fa-gold-text); }
.tv-hm-nile .hb-kicker { margin-bottom: 1.15rem; }
.tv-hm-nile .hb-heading--h2 { margin-bottom: clamp(1rem, 1.8vw, 1.4rem); text-wrap: balance; }
.tv-hm .tv-hm-nile .art-prose__lead { font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.75rem) !important; line-height: 1.28 !important; max-width: 24ch !important; margin-bottom: 1.4rem; }
.tv-hm-nile .art-prose p:not(.art-prose__lead) { font-size: 0.98rem; line-height: 1.8; color: var(--hb-text); max-width: 58ch; }
.tv-hm-nile .art-prose p a { color: var(--hb-ink); border-bottom: 1px solid var(--tv-cu-brass); transition: color 0.25s var(--hb-ease); }
.tv-hm-nile .art-prose p a:hover, .tv-hm-nile .art-prose p a:focus-visible { color: var(--tv-fa-gold-text); }
.tv-hm-nile .art-facts { border-top-color: var(--tv-fa-rule); }
.tv-hm-nile .art-facts > div { border-bottom: 0; padding-bottom: 0; }
.tv-hm-nile .art-facts dt { color: var(--tv-fa-gold-text); }
.tv-hm-nile .art-facts dd { font-size: 1.25rem; }
@media (max-width: 1023.98px) {
  .tv-hm-nile .art-duo { grid-template-columns: minmax(0, 1fr); gap: 2.25rem; }
  .tv-hm-nile__photo { max-width: 40rem; }
  .tv-hm-nile__photo .tv-cu-frame img { aspect-ratio: 3 / 2; }
}
@media (max-width: 599.98px) {
  .tv-hm-nile .art-facts > div { padding-bottom: 0.85rem; border-bottom: 1px solid var(--tv-fa-rule); }
}

/* ---------------------------------------------------------------------
   4 · SAMPLE JOURNEYS — length and route, title, one line, a way in
   ------------------------------------------------------------------- */
.tv-hm-samples .hb-kicker { margin-bottom: 1.15rem; }
.tv-hm-samples .art-samples-head { align-items: flex-end; margin-bottom: clamp(1.75rem, 3vw, 2.5rem); }
.tv-hm-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-hm-samples .art-samples-head .hb-link:hover, .tv-hm-samples .art-samples-head .hb-link:focus-visible { color: var(--hb-ink); border-bottom-color: var(--hb-ink); }
.tv-hm-samples .art-sample { border-radius: 0; }
.tv-hm-samples .art-sample::before { background: linear-gradient(to top, rgba(21, 21, 21, 0.95) 0%, rgba(21, 21, 21, 0.9) 34%, rgba(21, 21, 21, 0.62) 56%, rgba(21, 21, 21, 0) 82%); }
.tv-hm-samples .art-sample__days { margin-bottom: 0.5rem; font-size: 0.66rem; letter-spacing: 0.14em; line-height: 1.6; color: var(--tv-fa-gold); }
.tv-hm-samples .art-sample__title { font-size: clamp(1.4rem, 1.2rem + 0.7vw, 1.75rem); }
.tv-hm-samples .art-sample__why { color: rgba(251, 250, 247, 0.92); }
.tv-hm-samples .art-sample__go { color: var(--tv-fa-gold); }
@media (min-width: 1024px) {
  .tv-hm-samples .art-sample { aspect-ratio: 1 / 1.04; }
}
@media (max-width: 767.98px) {
  .tv-hm-samples .art-samples > li { flex-basis: 80%; }
}
@media (max-width: 479.98px) {
  .tv-hm-samples .art-samples { margin-right: -1rem; padding-right: 1rem; }
}

/* ---------------------------------------------------------------------
   6 · ENQUIRY — a tall photograph down the left edge of the section, then
   the words, then the form. The form ends on the page's right margin.
   ------------------------------------------------------------------- */
.tv-hm-enquiry { position: relative; overflow: hidden; }
.tv-hm-enquiry__photo { display: none; margin: 0; }
.tv-hm-enquiry .art-enquiry__head .hb-link { margin-bottom: 0; }
.tv-hm-enquiry .hub-close__direct .bi { font-size: 1rem; }
.tv-hm-enquiry .art-form__field--wide input, .tv-hm-enquiry .art-form__field--wide textarea { width: 100%; }
@media (min-width: 1024px) {
  .tv-hm-enquiry__photo { display: block; position: absolute; inset: 0 auto 0 0; width: var(--tv-hm-side); overflow: hidden; background: var(--hb-ink-soft); }
  .tv-hm-enquiry__photo img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
  .tv-hm-enquiry__photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(21, 21, 21, 0.1) 0%, rgba(21, 21, 21, 0.16) 60%, rgba(21, 21, 21, 0.7) 100%); }
  .tv-hm-enquiry .hb-wrap.art-enquiry {
    width: auto; max-width: none; margin: 0 0 0 var(--tv-hm-side);
    padding-left: clamp(2rem, 4vw, 4.5rem);
    padding-right: max(clamp(1.25rem, 4vw, 2.5rem), calc((100vw - 1280px) / 2 + 2.5rem));
    grid-template-columns: minmax(0, 4.3fr) minmax(0, 7fr); gap: clamp(2.25rem, 4.5vw, 5rem);
  }
  .tv-hm-enquiry .art-enquiry__head .hb-heading--h2 { font-size: clamp(1.9rem, 1.2rem + 1.5vw, 2.7rem); max-width: 14ch; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-hm-moment, .tv-hm-moment__media img, .tv-hm-moment__name a, .tv-hm-moment__go .hb-arrow { transition: none !important; transform: none !important; }
}
