/* ============================================================
   MUEWS desktop layer
   Desktop-first enhancements for wide viewports. Every rule in
   this file lives inside a min-width media query, so the mobile
   layout is byte-identical with or without this stylesheet.
   Load after assets/station.css.
   ============================================================ */

/* ---- wider canvas on large screens ---- */
@media (min-width: 1400px) {
  :root { --page-w: 1320px; }
}

/* ================= homepage ================= */
@media (min-width: 1100px) {
  /* The rundown (stories) + The pulse (poll) become a two-column
     news body: stories in the main column, the poll as a sticky rail. */
  .fp-newsgrid {
    display: grid;
    grid-template-columns: minmax(0, 1.62fr) minmax(340px, 1fr);
    gap: 56px;
    align-items: start;
    margin-top: 40px;
  }
  .fp-newsgrid .section-head { margin-top: 8px; }
  .fp-newsgrid > section[aria-label="The pulse"] {
    position: sticky;
    top: 100px;
  }

  /* "Why bring your muse" steps become three feature cards. */
  section[aria-label="Why bring your muse"] .steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 24px;
  }
  section[aria-label="Why bring your muse"] .steps li {
    grid-template-columns: 1fr;
    gap: 10px;
    background: var(--surface-1);
    border: 1px solid var(--hairline);
    border-radius: 12px;
    padding: 26px 24px;
    border-top: 3px solid var(--red);
    align-items: start;
  }
  section[aria-label="Why bring your muse"] .steps .sn {
    font-size: 12px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
  }
  section[aria-label="Why bring your muse"] .steps b {
    font-size: 18px;
  }

  /* Newsroom duo-band: photo and copy side by side. */
  .duo-band {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    align-items: stretch;
  }
  .duo-band > img {
    height: 100%;
    aspect-ratio: auto;
    object-fit: cover;
    min-height: 420px;
  }
  .duo-band .duo-copy {
    padding: 48px 44px;
    align-self: center;
  }
}

/* ================= edition page ================= */
@media (min-width: 1100px) {
  /* The lead: article in a readable measure, key points as a rail.
     DOM order is unchanged (mobile identical); desktop places the
     keypoints beside the article via explicit grid placement. */
  .lead-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.6fr) minmax(300px, 0.85fr);
    column-gap: 56px;
    align-items: start;
    margin-top: 26px;
  }
  .lead-grid .lead-h { grid-column: 1 / -1; grid-row: 1; max-width: 24ch; }
  .lead-grid .byline { grid-column: 1 / -1; grid-row: 2; }
  .lead-grid .keypoints {
    grid-column: 2; grid-row: 3;
    position: sticky; top: 100px;
    margin: 6px 0 0;
  }
  .lead-grid .art { grid-column: 1; grid-row: 3; max-width: 68ch; }

  /* The town: two-column grid of filings. */
  .town-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px 48px;
    align-items: start;
    margin-top: 8px;
  }
  .town-grid .townitem .art { font-size: 16.5px; }

  /* The money: keep the body at a reading measure. */
  section[aria-label="The money"] .art { max-width: 72ch; }
}
