/* === A news story ===========================================================
   Body text gets a reading measure; the furniture around it may be wider.
   ========================================================================== */

.icrt-story { padding-top: 1.5rem; }

.icrt-story__main {
  /* A line of body text longer than about 70 characters is measurably harder
     to read, so the story keeps its own measure inside the wide page. */
  max-width: 44rem;
  margin: 0 auto;
}

/* --- header --------------------------------------------------------------- */

.icrt-story__section {
  display: inline-block;
  margin-bottom: 0.9rem;
  padding: 0.25rem 0.7rem;
  border-radius: 999px;
  background: var(--icrt-accent);
  color: #fff;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  text-decoration: none;
}

.icrt-story__section:hover { background: var(--icrt-accent-dark); color: #fff; }

.icrt-story__title {
  margin: 0;
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.12;
  letter-spacing: -0.025em;
}

/* The standfirst carries the story's point before the reader commits. */
.icrt-story__standfirst {
  margin: 1rem 0 0;
  font-size: 1.15rem;
  line-height: 1.55;
  color: var(--icrt-ink-soft);
}

.icrt-story__meta {
  margin: 1.1rem 0 0;
  font-size: 0.84rem;
  color: var(--icrt-muted);
  font-variant-numeric: tabular-nums;
}

.icrt-story__dot { margin: 0 0.45rem; }

/* --- figure --------------------------------------------------------------- */

.icrt-story__figure {
  margin: 1.75rem 0 0;
  border-radius: 0.8rem;
  overflow: hidden;
}

.icrt-story__figure img { display: block; width: 100%; height: auto; }

/* Someone else took the picture; the story says so, quietly, under it. */
.icrt-story__credit {
  margin: 0;
  padding: 0.5rem 0.25rem 0;
  font-size: 0.78rem;
  line-height: 1.4;
  color: var(--icrt-muted);
  letter-spacing: 0.01em;
}

/* A story without a photograph gets the station's own band rather than a grey
   frame that reads as a broken image. */
.icrt-story__figure--art {
  aspect-ratio: 16 / 7;
  background:
    radial-gradient(circle at 78% 26%, rgba(255, 255, 255, .15) 0 3rem, transparent 3.1rem),
    repeating-linear-gradient(-45deg, rgba(255, 255, 255, .05) 0 2px, transparent 2px 12px),
    linear-gradient(140deg, var(--cw-show-deep, #0b2f6b) 0%, var(--cw-show, #1160d4) 100%);
}

/* --- body ----------------------------------------------------------------- */

.icrt-story__body {
  margin-top: 1.9rem;
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--icrt-ink);
}

.icrt-story__body p { margin: 0 0 1.3rem; }
.icrt-story__body a { color: var(--icrt-accent); }

.icrt-story__body h2,
.icrt-story__body h3 { margin: 2.1rem 0 0.7rem; line-height: 1.25; letter-spacing: -0.01em; }

.icrt-story__body blockquote {
  margin: 1.8rem 0;
  padding: 0.2rem 0 0.2rem 1.2rem;
  border-left: 3px solid var(--icrt-accent);
  font-size: 1.15rem;
  line-height: 1.6;
  color: var(--icrt-ink-soft);
}

/* --- share ---------------------------------------------------------------- */

.icrt-story__share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.2rem;
  border-top: 1px solid var(--icrt-line);
}

.icrt-story__share-label {
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0;
  text-transform: none;
  color: var(--icrt-muted);
}

/* Typographic, not a wall of brand colours — the old bar put six saturated
   slabs under every story. */
.icrt-story__share a {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--icrt-accent);
  text-decoration: none;
}

.icrt-story__share a:hover { text-decoration: underline; }

/* --- back to the radio ----------------------------------------------------
   The station made this story. The page should offer a way to hear it rather
   than ending at a share bar. */

.icrt-story__air {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  margin-top: 2.25rem;
  padding: 1.4rem 1.5rem;
  border-radius: 0.9rem;
  color: #fff;
  background: linear-gradient(140deg, #0e1522 0%, #0a0d13 100%);
}

.icrt-story__air-title { margin: 0 0 0.3rem; font-size: 1.05rem; color: #fff; }
.icrt-story__air-text p { margin: 0; font-size: 0.9rem; color: #b9c1cc; max-width: 30rem; }

.icrt-story button.icrt-story__air-play {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-sizing: border-box;
  min-height: 0;
  padding: 0.6rem 1.3rem 0.6rem 1rem;
  border: 0;
  border-radius: 999px;
  background: #fff;
  color: #0e1522;
  font: inherit;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  cursor: pointer;
  transition: transform .15s ease;
}

.icrt-story button.icrt-story__air-play:hover { transform: scale(1.04); background: #fff; color: #0e1522; }
.icrt-story__air-play svg { width: 18px; height: 18px; }

/* --- more from this section ----------------------------------------------- */

.icrt-story__more { margin-top: 2.75rem; }

.icrt-story__more-head {
  margin: 0 0 1.1rem;
  font-size: 1.15rem;
  font-weight: 700;
  padding-bottom: 0.5rem;
  border-bottom: 0;
}

/* The cards themselves are .icrt-nsitem — the section grid's — so the list is
   the only thing this page still has to say about them. Its own card class drew
   a gradient even for a story that had a photograph, and duplicated an anatomy
   the site had already settled on. */
.icrt-storylist {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 1.5rem;
  /* Three fixed tracks, not auto-fit. auto-fit collapses to ONE track when a
     story has a single sibling, and that card then filled the whole reading
     measure — a "more from" footnote rendered larger than the article's own
     lead image. Fixed tracks keep one, two or three cards the same size. */
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

@media (max-width: 40rem) {
  .icrt-storylist { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
