/* =========================================================
   TOP STORY — the best-covered News item, surfaced on Home.
   Sits on the page background beside (or above) the French widget and shares
   its reveal/crossfade machinery from home-widgets.css. Only the look is here.
   ========================================================= */

.mn-ts-host {
  margin: 0 0 1.4rem;
}

.mn-ts-host[hidden] { display: none; }

/* Two columns — icon, then everything else — so the kicker, headline and the
   expanded content all share one left edge. Mirrors the French widget. */
.mn-ts-grid {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: 0.9rem;
}

.mn-ts-reveal-kicker { grid-column: 2; grid-row: 1; }
.mn-ts-text          { grid-column: 2; grid-row: 2; }
.mn-ts-reveal-tail   { grid-column: 2; grid-row: 3; }

/* Row 2 only, so the icon stays centred on the headline rather than drifting
   down as the excerpt opens. */
.mn-ts-icon {
  grid-column: 1;
  grid-row: 2;
  align-self: center;
  display: grid;
  place-items: center;
  /* Width is fixed so the text column starts in the same place regardless of
     glyph, but the HEIGHT is deliberately auto. A fixed 2.6rem box is taller
     than a single-line headline, so it — not the text — would set the row
     height, leaving a gap that reads as a reserved second line with the icon
     sitting below the text. */
  width: 2.6rem;
  font-size: 1.6rem;
  opacity: 0.75;
}

/* Centre the text in its row too, so a headline shorter than the icon lines up
   with it instead of hugging the top of the row. */
.mn-ts-text { align-self: center; }

/* ---- kicker (FROM <SOURCE>) — expand-only ---- */
.mn-ts-kicker {
  font-family: var(--font-header);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.2rem;
}

/* ---- headline ----
   Heavy selector for the same reason as the French sentence: base.css carries
   `.section p:not(.mn-subtitle) { margin; line-height; font-size: 1rem }` at
   specificity (0,2,1), which would otherwise flatten the whole type scale.

   Deliberately SMALLER than the French sentence beside it. At full title size a
   headline runs to three or four lines and dominates the whole fold; the French
   sentence is a few words, so the same size reads very differently. Looser
   leading than the French sentence too, for the same reason — this wraps a lot
   and 1.25 packs the lines too tightly at this width. */
.mn-ts .mn-ts-text p.mn-ts-headline {
  font-family: var(--font-serif);
  font-weight: 700;
  font-style: normal;
  font-size: var(--w-lead);
  line-height: 1.35;
  margin: 0;
  color: var(--color-text);
}

.mn-ts .mn-ts-text p.mn-ts-excerpt,
.mn-ts .mn-w-reveal-inner p.mn-ts-excerpt {
  font-family: var(--font-body);
  font-size: 0.85rem;
  line-height: 1.5;
  margin: 0.5rem 0 0;
  opacity: 0.8;
}

/* ---- open in new tab ---- */
.mn-ts-open {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.75rem;
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid color-mix(in srgb, currentColor 22%, transparent);
  background: color-mix(in srgb, currentColor 8%, transparent);
  color: inherit;
  text-decoration: none;
  font-family: var(--font-header);
  font-weight: 700;
  font-size: 0.78rem;
  white-space: nowrap;
  transition: background 140ms ease, border-color 140ms ease;
}

.mn-ts-open:hover,
.mn-ts-open:focus-visible {
  background: color-mix(in srgb, currentColor 16%, transparent);
  border-color: color-mix(in srgb, currentColor 34%, transparent);
  outline: none;
}

.mn-ts-open i { font-size: 0.85em; opacity: 0.8; }

/* ---- emergency mode ---- */
body.mn-emergency .mn-ts .mn-ts-text p.mn-ts-headline {
  font-family: var(--font-body);
}

@media (max-width: 640px) {
  .mn-ts-host { margin-bottom: 1.1rem; }
  .mn-ts .mn-w-reveal-inner p.mn-ts-excerpt { font-size: 0.82rem; }
  .mn-ts-grid { column-gap: 0.7rem; }
  .mn-ts-icon {
    width: 2.1rem;
    font-size: 1.35rem;
  }
}
