/* Room for the theme and programme on the same editorial rail.
   Preserve the opening/countdown's existing tracks, motion and stacked phone layout. */
@media screen and (min-width:768px) {
  body[data-page="home"] #main .v60-light-journey > .home-event-complete {
    --miva-programme-tracks: minmax(0,.66fr) minmax(0,1.34fr);
    --miva-programme-gutter: clamp(23px,4vw,54px);
    --miva-programme-theme-inset: clamp(16px,2vw,30px);
    --miva-programme-date-heading-margin: 25px;
    --miva-programme-ink-nudge: clamp(7px,.65vw,11px);
  }
  body[data-page="home"] #main .home-event-complete > .event-hero > .v58-event-hero-grid,
  body[data-page="home"] #main .v60-light-journey > .home-event-complete > #dates.wrap {
    grid-template-columns: var(--miva-programme-tracks);
    column-gap: var(--miva-programme-gutter);
  }
  body[data-page="home"] #main .home-event-complete > .event-hero > .v58-event-hero-grid > #event-theme.v58-theme {
    /* Same existing inset; share it rather than chasing a viewport-specific x. */
    padding-inline-start: var(--miva-programme-theme-inset);
  }
  body[data-page="home"] #main #dates > .event-detail-body {
    min-inline-size: 0;
    padding-inline-start: calc(var(--miva-programme-theme-inset) + 1px);
  }
  body[data-page="home"] #main #dates > .event-detail-body > .day-row {
    grid-template-columns: clamp(46px,5.1vw,71px) minmax(0,1fr);
    column-gap: clamp(14px,2.15vw,30px);
    align-items: start;
  }
  body[data-page="home"] #main #dates > .event-detail-body > .day-row > span {
    font-size: clamp(34px,3.55vw,51px);
    font-weight: 400;
    line-height: 1.06;
  }
  body[data-page="home"] #main #dates > .event-detail-body > .day-row h3 {
    margin-block-start: .095em;
    font-size: clamp(19px,1.67vw,23px);
    font-weight: 400;
    line-height: 1.34;
  }
  /* The reading baseline used !important, so this smaller role-specific value
     needs an equally scoped declaration. No paragraph inherits a new site-wide size. */
  body[data-page="home"] #main #dates > .event-detail-body > .day-row p {
    font-size: clamp(15px,1.24vw,17px) !important;
    font-weight: 400;
    line-height: 1.65;
  }
  /* Spanning the real kicker and headline rows preserves wrapping and the
     section-side wrapper (including existing decoration and reveal hooks). */
  @supports (grid-template-rows: subgrid) {
    body[data-page="home"] #main .v60-light-journey > .home-event-complete > #dates.wrap {
      grid-template-rows: auto max-content auto;
      row-gap: 0;
    }
    body[data-page="home"] #main #dates > .section-side {
      display: grid;
      grid-column: 1;
      grid-row: 1 / span 3;
      grid-template-columns: minmax(0,1fr);
      grid-template-rows: subgrid;
      align-self: stretch;
      align-items: start;
    }
    body[data-page="home"] #main #dates > .section-side > .small-label { grid-row: 1; }
    body[data-page="home"] #main #dates > .section-side > h2 {
      grid-row: 2;
      margin-block-start: var(--miva-programme-date-heading-margin);
    }
    body[data-page="home"] #main #dates > .section-side::after {
      grid-column: 1;
      grid-row: 3;
    }
    body[data-page="home"] #main #dates > .event-detail-body {
      grid-column: 2;
      grid-row: 2 / span 2;
      align-self: start;
      padding-block-start: calc(var(--miva-programme-date-heading-margin) + var(--miva-programme-ink-nudge));
    }
  }
}
@media screen and (min-width:768px) and (forced-colors:none) {
  body[data-page="home"] #main #dates > .event-detail-body > .day-row > span { color: #e7eaf5; }
  body[data-page="home"] #main #dates > .event-detail-body > .day-row p { color: #dae2ee; }
}
