/* =====================================================================
   TRIWAYS — MICE SERVICES (/services/mice-egypt/). Loaded after
   triways-services-inside.css. Prefix: tv-mi-
   Body: .hub-page.tv-over-hero.tv-sd.tv-mi
   Mockup: docs/design/mice-mockup.png. Reuses .tv-sd-hero, .tv-faq,
   .art-enquiry and .art-form; everything here is the page's own layout:
   the acronym as the hero index, a ruled two-column reading section,
   two photo/text pairs, the logistics rows, the five-stage list and the
   underline form. Colour, type and motion come from the hb- / tv- / sd-
   tokens; nothing new is defined.
   ===================================================================== */

.tv-mi [id] { scroll-margin-top: 6.5rem; }
.tv-mi .tv-mi-lead { margin: 0 0 1.5rem; font-family: var(--hb-serif); font-weight: 400; font-size: clamp(1.45rem, 1.2rem + 1vw, 2rem); line-height: 1.3; color: var(--hb-ink); max-width: 24em; text-wrap: balance; }
.tv-mi .hb-section--dark .tv-mi-lead { color: #fff; }
.tv-mi-text p:not(.tv-mi-lead) { margin: 0; max-width: 64ch; font-size: 1rem; line-height: 1.8; color: var(--hb-text-dim); }
.tv-mi-text p:not(.tv-mi-lead) + p { margin-top: 1.1rem; }
.hb-section--dark .tv-mi-text p:not(.tv-mi-lead) { color: rgba(244, 240, 232, 0.8); }
.tv-mi-text a { color: var(--hb-ink); border-bottom: 1px solid var(--hb-gold); transition: color 0.25s var(--hb-ease), border-color 0.25s var(--hb-ease); }
.tv-mi-text a:hover, .tv-mi-text a:focus-visible { color: var(--tv-brass-text); }
.hb-section--dark .tv-mi-text a { color: var(--hb-champagne); border-color: rgba(200, 183, 156, 0.5); }
.hb-section--dark .tv-mi-text a:hover, .hb-section--dark .tv-mi-text a:focus-visible { color: #fff; border-color: #fff; }
.tv-mi-media { margin: 0; background: var(--hb-ink-soft); overflow: hidden; }
.tv-mi-media img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ---------------------------------------------------------------------
   1. HERO — title and the four formats left, the acronym as an index right
   ------------------------------------------------------------------- */
.tv-mi-hero .tv-sd-hero__media img { object-position: 62% 50%; }
.tv-mi-hero .tv-sd-hero__title { max-width: 8em; font-size: clamp(3rem, 1.9rem + 3.9vw, 5.5rem); text-wrap: balance; }
.tv-mi-strip { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); column-gap: clamp(1rem, 1.6vw, 1.75rem); max-width: 42rem; margin: clamp(2rem, 5vh, 3.25rem) 0 0; padding: 1.15rem 0 0; border-top: 1px solid var(--sd-hair); }
.tv-mi-strip dt { margin: 0 0 0.45rem; font-size: 0.64rem; font-weight: 600; letter-spacing: 0.2em; line-height: 1.5; text-transform: uppercase; color: var(--hb-champagne); }
.tv-mi-strip dd { margin: 0; font-size: 0.8rem; line-height: 1.55; color: rgba(244, 240, 232, 0.9); }

.tv-mi-answer > p { margin: 0 0 1.1rem; font-size: 0.95rem; line-height: 1.7; color: rgba(244, 240, 232, 0.94); }
.tv-mi-acr { margin: 0; padding: 0; list-style: none; }
.tv-mi-acr li { border-top: 1px solid rgba(244, 240, 232, 0.22); }
.tv-mi-acr li:first-child { border-top-color: var(--sd-hair); }
.tv-mi-acr a { display: grid; grid-template-columns: 3.1rem minmax(0, 1fr); align-items: center; min-height: 44px; padding: 0.8rem 0; font-size: 0.86rem; line-height: 1.5; color: rgba(244, 240, 232, 0.9); }
.tv-mi-acr__letter { font-family: var(--hb-serif); font-weight: 500; font-size: 2.5rem; line-height: 1; color: var(--hb-champagne); transition: transform 0.4s var(--hb-ease), color 0.3s var(--hb-ease); }
.tv-mi-acr strong { display: block; font-weight: 600; font-size: 0.92rem; color: #fff; }
.tv-mi-acr a:focus-visible { outline: 2px solid var(--hb-champagne); outline-offset: 3px; }
@media (hover: hover) {
  .tv-mi-acr a:hover .tv-mi-acr__letter { transform: translateX(4px); color: #fff; }
  .tv-mi-acr a:hover strong { color: var(--hb-champagne); }
}

/* ---------------------------------------------------------------------
   2. MEETINGS & CONFERENCES — heading and ballroom left, a brass rule,
      the reading column and two captioned rooms right
   ------------------------------------------------------------------- */
.tv-mi-meet__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sd-gap); align-items: start; }
.tv-mi-meet__head { grid-column: 1 / span 5; }
.tv-mi-meet__head .hb-heading { max-width: 8em; margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.tv-mi-meet__head .tv-mi-media { aspect-ratio: 1109 / 808; }
.tv-mi-meet__body { grid-column: 6 / -1; margin-left: clamp(0.5rem, 2vw, 2rem); padding-left: clamp(1.75rem, 3.5vw, 3.5rem); border-left: 1px solid var(--sd-hair-ivory); }
.tv-mi-entry { margin-top: 1.75rem; }
.tv-mi-entry h3 { margin: 0 0 0.45rem; font-family: var(--hb-serif); font-weight: 500; font-size: var(--hb-h3); line-height: 1.2; color: var(--hb-ink); }
.tv-mi-thumbs { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--sd-gap); max-width: 34rem; margin-top: clamp(1.75rem, 3vw, 2.5rem); }
.tv-mi-thumbs figure { margin: 0; }
.tv-mi-thumbs .tv-mi-media { aspect-ratio: 3 / 2; }
.tv-mi-thumbs figcaption { margin-top: 0.7rem; font-size: 0.66rem; font-weight: 600; letter-spacing: 0.2em; line-height: 1.5; text-transform: uppercase; color: var(--hb-text-dim); }

/* ---------------------------------------------------------------------
   3 + 4. PHOTOGRAPH AND TEXT — gala left on ink, exhibition right on ivory
   ------------------------------------------------------------------- */
.tv-mi-duo { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sd-gap); align-items: center; }
.tv-mi-duo > .tv-mi-media { grid-column: 1 / span 5; grid-row: 1; aspect-ratio: 11 / 10; }
.tv-mi-duo > .tv-mi-text { grid-column: 7 / -1; grid-row: 1; }
.tv-mi-duo--flip > .tv-mi-media { grid-column: 8 / -1; aspect-ratio: 7 / 5; }
.tv-mi-duo--flip > .tv-mi-text { grid-column: 1 / span 6; }
.tv-mi-duo .hb-heading { max-width: 10em; text-wrap: balance; }
.tv-mi-incentives .tv-mi-media img { object-position: 60% 50%; }

/* ---------------------------------------------------------------------
   5. EVENT LOGISTICS — heading beside the arrival photograph, then four
      ruled rows: icon, name, what is handled
   ------------------------------------------------------------------- */
.tv-mi-log__top { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sd-gap); align-items: end; }
.tv-mi-log__head { grid-column: 1 / span 6; }
.tv-mi-log__head .hb-heading { max-width: 9em; }
.tv-mi-log__head .tv-mi-lead { margin-bottom: 0; max-width: 17em; }
.tv-mi-log__top > .tv-mi-media { grid-column: 8 / -1; aspect-ratio: 2 / 1; }
.tv-mi-log__top > .tv-mi-media img { object-position: 60% 40%; }
.tv-mi-rows { margin: clamp(2rem, 4vw, 3rem) 0 0; padding: 0; list-style: none; border-top: 1px solid var(--sd-hair); }
.tv-mi-row { display: grid; grid-template-columns: 3.5rem minmax(0, 15rem) minmax(0, 1fr); column-gap: clamp(1rem, 3vw, 3rem); align-items: center; padding: clamp(1.25rem, 2.2vw, 1.75rem) 0; border-bottom: 1px solid var(--hb-line-on-dark); }
.tv-mi-row__icon { width: 2.1rem; height: 2.1rem; fill: none; stroke: var(--hb-champagne); stroke-width: 1.3; stroke-linecap: round; stroke-linejoin: round; }
.tv-mi-row__name { margin: 0; font-family: var(--hb-serif); font-weight: 500; font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.55rem); line-height: 1.2; color: #fff; }
.tv-mi-row__name a { color: inherit; background: linear-gradient(var(--hb-champagne), var(--hb-champagne)) 0 100% / 0 1px no-repeat; transition: background-size 0.4s var(--hb-ease), color 0.3s var(--hb-ease); }
.tv-mi-row__name a:hover, .tv-mi-row__name a:focus-visible { color: var(--hb-champagne); background-size: 100% 1px; }
.tv-mi-row p { margin: 0; max-width: 60ch; font-size: 0.95rem; line-height: 1.7; color: rgba(244, 240, 232, 0.8); }
.tv-mi-sprite { position: absolute; }

/* ---------------------------------------------------------------------
   6. HOW A PROGRAMME IS PRODUCED — five stages in order, counted in brass
   ------------------------------------------------------------------- */
.tv-mi-steps__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); column-gap: var(--sd-gap); align-items: start; }
.tv-mi-steps__head { grid-column: 1 / span 4; }
.tv-mi-steps__head .hb-heading { max-width: 7em; }
.tv-mi-steps__head .tv-mi-lead { margin: 0; font-size: clamp(1.25rem, 1.1rem + 0.6vw, 1.55rem); max-width: 15em; color: var(--hb-text); }
.tv-mi-steps { grid-column: 5 / -1; margin: 0 0 0 clamp(0.5rem, 2vw, 2rem); padding: 0 0 0 clamp(1.75rem, 3.5vw, 3.5rem); list-style: none; counter-reset: mi-step; border-left: 1px solid var(--sd-hair-ivory); }
.tv-mi-step { counter-increment: mi-step; display: grid; grid-template-columns: clamp(3rem, 5vw, 4.5rem) minmax(0, 1fr); align-items: start; padding: clamp(1.1rem, 2vw, 1.5rem) 0; border-bottom: 1px solid var(--hb-line); }
.tv-mi-step:first-child { padding-top: 0; }
.tv-mi-step:last-child { padding-bottom: 0; border-bottom: 0; }
.tv-mi-step::before { content: counter(mi-step); grid-row: 1 / span 2; font-family: var(--hb-serif); font-variant-numeric: lining-nums; font-size: clamp(2.5rem, 2rem + 1.6vw, 3.4rem); line-height: 0.9; color: var(--tv-brass-text); }
.tv-mi-step h3 { grid-column: 2; margin: 0 0 0.3rem; font-family: var(--hb-serif); font-weight: 600; font-size: clamp(1.3rem, 1.15rem + 0.5vw, 1.5rem); line-height: 1.2; color: var(--hb-ink); }
.tv-mi-step p { grid-column: 2; margin: 0; max-width: 56ch; font-size: 0.95rem; line-height: 1.7; color: var(--hb-text-dim); }

/* ---------------------------------------------------------------------
   7. QUESTIONS — the shared .tv-faq; here only the plus that becomes a dash
   ------------------------------------------------------------------- */
.tv-mi-faq .hb-faq__item > summary { min-height: 44px; }
.tv-mi-faq .hb-faq__item > summary::after { content: "+" / ""; width: 1.25rem; text-align: center; color: var(--tv-brass-text); transition: none; }
.tv-mi-faq .hb-faq__item[open] > summary::after { content: "\2013" / ""; transform: none; }
.tv-mi-faq .hb-faq, .tv-mi-faq .hb-faq__item { border-color: var(--sd-hair-ivory); }
.tv-mi-faq .hb-faq__item p { font-size: 1rem; }
.tv-mi-faq .hb-faq__item p a:hover, .tv-mi-faq .hb-faq__item p a:focus-visible { color: var(--tv-brass-text); }

/* ---------------------------------------------------------------------
   8. ENQUIRY — the invitation left, the underline form right
   ------------------------------------------------------------------- */
.tv-mi-enquiry .art-enquiry__head .hb-heading { max-width: 9em; text-wrap: balance; }
.tv-mi-enquiry .art-enquiry__head .hb-copy { font-size: 1rem; }
.tv-mi-signoff { margin: 1.75rem 0 0; padding-top: 1.5rem; position: relative; font-size: 0.95rem; color: var(--hb-champagne); }
.tv-mi-signoff::before { content: ""; position: absolute; left: 0; top: 0; width: 46px; height: 1px; background: var(--hb-champagne); }
.tv-mi-ways { margin: 1.5rem 0 0; font-size: 0.88rem; line-height: 1.9; color: rgba(244, 240, 232, 0.76); }
.tv-mi-ways a { color: var(--hb-champagne); border-bottom: 1px solid rgba(200, 183, 156, 0.45); }
.tv-mi-ways a:hover, .tv-mi-ways a:focus-visible { color: #fff; border-color: #fff; }
.tv-mi-form.art-form { grid-template-columns: repeat(6, minmax(0, 1fr)); }
.tv-mi-form .art-form__field { grid-column: span 3; justify-content: flex-end; }
.tv-mi-form .art-form__field--third { grid-column: span 2; }
.tv-mi-form .art-form__field--wide { grid-column: 1 / -1; }
.tv-mi-form .tv-mi-req { color: rgba(244, 240, 232, 0.8); }
.tv-mi-form input::placeholder, .tv-mi-form textarea::placeholder { font-size: 0.9rem; color: rgba(244, 240, 232, 0.6); }
.tv-mi-form input:hover, .tv-mi-form select:hover, .tv-mi-form textarea:hover { border-bottom-color: var(--hb-champagne); }
.tv-mi-form .hb-cta { min-height: 3.25rem; border-radius: 0; }
.tv-mi-form .hb-cta:focus-visible { outline: 2px solid var(--hb-champagne); outline-offset: 3px; }
.tv-mi-form .art-form__status:empty { display: none; }
.tv-mi-form .art-form__note { color: rgba(244, 240, 232, 0.72); }

/* ---------------------------------------------------------------------
   RESPONSIVE
   ------------------------------------------------------------------- */
@media (max-width: 1199.98px) {
  .tv-mi-row { grid-template-columns: 3rem minmax(0, 12rem) minmax(0, 1fr); }
  .tv-mi-duo > .tv-mi-text { grid-column: 6 / -1; margin-left: var(--sd-gap); }
  .tv-mi-duo--flip > .tv-mi-text { grid-column: 1 / span 7; margin-left: 0; }
  .tv-mi-duo--flip > .tv-mi-media { grid-column: 8 / -1; aspect-ratio: 1; }
}

/* Tablet: one column, the photograph first, then the text */
@media (max-width: 1023.98px) {
  .tv-mi-hero .tv-sd-hero__media img { object-position: 70% 50%; }
  .tv-mi-strip { display: none; }                       /* the same four formats follow directly in the acronym list */
  .tv-mi-meet__head .tv-mi-media { aspect-ratio: 16 / 9; }
  .tv-mi-meet__head, .tv-mi-meet__body, .tv-mi-steps__head, .tv-mi-steps, .tv-mi-log__head { grid-column: 1 / -1; }
  .tv-mi-meet__body, .tv-mi-steps { margin-left: 0; padding-left: 0; border-left: 0; }
  .tv-mi-meet__body { margin-top: 2.5rem; }
  .tv-mi-meet__head .hb-heading, .tv-mi-steps__head .hb-heading, .tv-mi-log__head .hb-heading, .tv-mi-duo .hb-heading { max-width: none; }
  .tv-mi-steps { margin-top: 2.5rem; padding-top: 2rem; border-top: 1px solid var(--sd-hair-ivory); }
  .tv-mi-duo > .tv-mi-media, .tv-mi-duo--flip > .tv-mi-media { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 9; }
  .tv-mi-duo > .tv-mi-text, .tv-mi-duo--flip > .tv-mi-text { grid-column: 1 / -1; grid-row: 2; margin: 2.25rem 0 0; }
  .tv-mi-log__top > .tv-mi-media { grid-column: 1 / -1; grid-row: 1; aspect-ratio: 16 / 9; margin-bottom: 2.25rem; }
  .tv-mi-log__head { grid-row: 2; }
}

@media (max-width: 767.98px) {
  .tv-mi-hero .tv-sd-hero__media img { object-position: 50% 50%; }
  .tv-mi-meet__head .tv-mi-media { aspect-ratio: 4 / 3; }
  .tv-mi-acr a, .tv-mi-answer > p { font-size: 1rem; }
  .tv-mi-acr strong { font-size: 1rem; }
  .tv-mi-row { grid-template-columns: 2.75rem minmax(0, 1fr); row-gap: 0.6rem; }
  .tv-mi-row__icon { width: 1.9rem; height: 1.9rem; }
  .tv-mi-row p { grid-column: 1 / -1; font-size: 1rem; }
  .tv-mi-step p, .tv-mi-signoff, .tv-mi-ways { font-size: 1rem; }
  .tv-mi-duo > .tv-mi-media, .tv-mi-duo--flip > .tv-mi-media, .tv-mi-log__top > .tv-mi-media { aspect-ratio: 4 / 3; }
  .tv-mi-form .art-form__field, .tv-mi-form .art-form__field--third { grid-column: 1 / -1; }
  .tv-mi-form .hb-cta { width: 100%; justify-content: center; }
}

@media (prefers-reduced-motion: reduce) {
  .tv-mi-acr__letter, .tv-mi-row__name a, .tv-mi-text a { transition: none; }
}
