/* ==========================================================================
   Huda Academy — News & Events (/news/)

   Loaded ONLY by news/index.html, after site.css and never instead of it.

   WHAT THIS IS. /news/ graduated out of the generated set on 2026-10-18, so
   this is its own design rather than the skeleton template's. The markup it
   styles is written by tools/build-news.mjs out of tools/news-content.json —
   read that file's header before changing a class name here, because the
   renderer, not a person, decides which of these selectors exists on any
   given day. Proof that the two agree: node tools/check-news.mjs.

   EVERYTHING IS NAMESPACED `nws-`, AND THAT IS NOT TIDINESS.
   site.css already owns .news (the home page's newsletter band), .events,
   .event, .issue-lead, .issue-mini, .stat, .hero and .cta. Two of those
   collisions would break the site rather than just look wrong:

     - site.js block 3 does querySelectorAll('.stat') and reads .stat__num off
       each hit; a bare .stat here with no .stat__num child throws and takes
       the nav drawer, the lightbox and every reveal below it down with it.
     - site.css .news is a DARK band built for the home page's three-tile
       newsletter grid. A section called .news on this page would inherit it.

   So nothing on this page can be reached by a site.css selector written for
   the home page, and nothing here can reach the home page either.

   TOKENS are declared on .nws rather than :root, because :root belongs to
   site.css and this file is a guest on one page. Every colour resolves to a
   crest token (CLAUDE.md: "a new colour comes from the crest tokens, not from
   a hex literal"); the three literals below are documented where they sit.

   TYPE. "DM Sans" for everything that is read and "Libre Caslon Display" for
   the display headings — the master hero's two faces, which /about/ and its
   four sibling pages already use, so this page joins that family rather than
   starting a third. Both arrive with the hero's own <head> region, so this
   file adds no font request. **Libre Caslon Display ships ONE weight, 400.**
   Never set a heading bolder; the browser will synthesise it and the result
   does not match the hero two bands above.

   MEASURED CONTRAST, every pair that carries text (sRGB, WCAG 2.1):
     ink #34231A on paper #F8F4EE ........ 13.68:1
     ink #34231A on cream #F4EEE4 ........ 12.99:1
     ink-soft #655548 on paper ........... 6.51:1
     ink-soft #655548 on cream ........... 6.18:1
     terracotta #A83226 on paper ......... 6.09:1
     terracotta-deep #86251B on paper .... 8.35:1
     cream #F4EEE4 on terracotta ......... 5.78:1   (the band's lighter stop)
     cream #F4EEE4 on terracotta-deep .... 7.93:1
     terracotta-deep on cream (filled tag) 7.93:1
   --gold is deliberately absent from every text rule: #F2A33A on terracotta
   measures 3.20:1, which is fine for a 2px rule and fails for a word.
   ========================================================================== */

.nws {
  /* Crest tokens, aliased once so a rule below reads as a role rather than a
     colour. The aliases are the whole palette of this page — if a new rule
     wants a sixth colour, the question is which of these five it is. */
  --nws-rust: var(--terracotta);           /* #A83226 */
  --nws-rust-deep: var(--terracotta-deep); /* #86251B */
  --nws-ink: var(--ink);                   /* #34231A */
  --nws-ink-soft: var(--ink-soft);         /* #655548 */
  --nws-paper: var(--paper);               /* #F8F4EE */
  --nws-cream: var(--cream);               /* #F4EEE4 */

  /* Hairlines and lifts, as alpha over whatever ground they land on, so one
     value works on paper and on cream without a second token. */
  --nws-line: rgba(52, 35, 26, .14);
  --nws-line-strong: rgba(52, 35, 26, .26);
  --nws-lift: 0 18px 44px rgba(64, 30, 14, .10);
  --nws-lift-hover: 0 24px 56px rgba(64, 30, 14, .16);

  /* On the terracotta band the same two roles, in cream alpha. */
  --nws-line-light: rgba(244, 238, 228, .30);
  --nws-line-light-strong: rgba(244, 238, 228, .52);

  /* ONE SPACING SCALE, 4px-based and fluid at the two large steps. Section
     padding is the only place a value outside it is allowed. */
  --nws-s1: 4px;
  --nws-s2: 8px;
  --nws-s3: 16px;
  --nws-s4: 24px;
  --nws-s5: 32px;
  --nws-s6: clamp(40px, 5vw, 64px);
  --nws-s7: clamp(56px, 8vw, 104px);

  --nws-gutter: clamp(20px, 5vw, 56px);
  --nws-wrap: 1180px;
  --nws-radius: 18px;

  /* ONE MOTION TOKEN. 220ms sits inside the 150-300ms band the UI UX Pro Max
     checklist asks for, ease-out because everything here is an element
     arriving or lifting rather than leaving. Nothing on this page animates
     anything but transform and opacity, and nothing animates forever
     (CLAUDE.md: no perpetual CSS animation). */
  --nws-ease: 220ms cubic-bezier(.22, 1, .36, 1);

  background: var(--nws-paper);
  color: var(--nws-ink);
  font-family: "DM Sans", Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

/* THE HERO'S BOTTOM EDGE. page.css is not loaded on a graduated page, so
   `.pg--hero > .wrap`'s top padding is gone with it and the first band owns
   the gap instead. Nothing here reaches into .page-hero: that stylesheet is
   the master and a rule from this file inside it would make this page the odd
   one out, which is what the 2026-09-27 decision exists to prevent. */
.nws > .page-hero { margin-bottom: 0; }

.nws :where(h2, h3) {
  font-family: "Libre Caslon Display", "Cormorant Garamond", Georgia, serif;
  font-weight: 400;          /* the face has no other weight — see the header */
  letter-spacing: -.01em;
  line-height: 1.12;
  margin: 0;
  text-wrap: balance;
}

/* :where() SO THE RESET CARRIES NO SPECIFICITY, and that is not a flourish.
   Written first as `.nws p`, which is (0,1,1) — one class and one type — and
   therefore beat every single-class rule below it: .nws-intro__note,
   .nws-jumps, .nws-dates__lede, .nws-dates__caveat, .nws-follow__body and
   .nws-empty__lead--tight all computed marginTop 0 in the browser while
   reading as correct in the source. :where() zeroes the reset's weight, so a
   later rule needs only to exist to win. It also keeps this file's hands off
   .page-hero__lede, which the master stylesheet owns. */
.nws :where(p) { margin: 0; }

.nws__wrap {
  width: 100%;
  max-width: var(--nws-wrap);
  margin-inline: auto;
  padding-inline: var(--nws-gutter);
}

/* ---------- the eyebrow, shared by all five bands --------------------------
   Same construction as the master hero's: DM Sans 700, 12px, .2em tracking,
   uppercased in CSS so the markup keeps title case and a screen reader is not
   handed five capitals to spell out. */
.nws-eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--nws-rust);
  margin-bottom: var(--nws-s3);
}
.nws-eyebrow--light { color: var(--nws-cream); }

/* ---------- buttons --------------------------------------------------------
   The house button shape, not site.css's .btn: that one is sized for the home
   page's bands and carries its own hover transform. 48px min-height clears the
   44px touch minimum with the border included. */
.nws-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--nws-s2);
  min-height: 48px;
  padding: 0 var(--nws-s4);
  border: 1px solid var(--nws-rust);
  border-radius: 999px;
  background: var(--nws-rust);
  color: #FFFFFF;            /* 6.67:1 on the fill; the one literal white here */
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--nws-ease), transform var(--nws-ease);
}
.nws-btn:hover { background: var(--nws-rust-deep); border-color: var(--nws-rust-deep); transform: translateY(-2px); }
.nws-btn span { transition: transform var(--nws-ease); }
.nws-btn:hover span { transform: translateX(3px); }

/* On the terracotta band the fill inverts: cream plate, terracotta-deep word
   (7.93:1). A ghost button here would have been cream-on-terracotta at 5.78,
   which passes for text and reads weak for the page's only real call. */
.nws-btn--light {
  background: var(--nws-cream);
  border-color: var(--nws-cream);
  color: var(--nws-rust-deep);
}
.nws-btn--light:hover { background: #FFFFFF; border-color: #FFFFFF; color: var(--nws-rust-deep); }

/* ---------- in-page jumps --------------------------------------------------
   The second of the page's two anchor actions. The first is the master hero's
   own jump link (down to #news); the hero's other control is contractually a
   real route, so this one sits in the band immediately below it instead of
   becoming a second hero button. Quieter than .nws-btn on purpose — it moves
   you down the page you are already on rather than to another one — and the
   arrow points DOWN for the same reason. */
.nws-jumps {
  margin-top: var(--nws-s5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--nws-s3);
}
.nws-jump {
  display: inline-flex;
  align-items: center;
  gap: var(--nws-s2);
  min-height: 44px;
  padding: 0 var(--nws-s4) 0 0;
  color: var(--nws-rust-deep);   /* 8.35:1 on paper */
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color var(--nws-ease);
}
.nws-jump span { transition: transform var(--nws-ease); }
.nws-jump:hover { border-bottom-color: var(--nws-rust); }
.nws-jump:hover span { transform: translateY(2px); }

/* ---------- focus ----------------------------------------------------------
   Never removed, only redrawn. :focus-visible so a mouse click on a card does
   not leave a ring behind, and a 3px offset so the ring clears a rounded
   corner instead of cutting across it. */
.nws :where(a, button):focus-visible {
  outline: 3px solid var(--nws-rust);
  outline-offset: 3px;
  border-radius: 6px;
}
.nws-dates :where(a, button):focus-visible { outline-color: var(--nws-cream); }

/* ---------- 1. the editorial opening ---------------------------------------
   The no-featured-story state. One column, measured to ~62 characters, which
   is inside the 60-75 the checklist asks for and is why this band is NOT
   full-width: an edge-to-edge paragraph at this size is the thing that makes a
   page look unedited. */
.nws-intro {
  padding: var(--nws-s7) 0 var(--nws-s6);
  background: var(--nws-paper);
}
.nws-intro__inner {
  width: 100%;
  max-width: var(--nws-wrap);
  margin-inline: auto;
  padding-inline: var(--nws-gutter);
}
.nws-intro__h {
  font-size: clamp(30px, 4.6vw, 52px);
  max-width: 20ch;
}
.nws-intro__body {
  margin-top: var(--nws-s4);
  max-width: 62ch;
  font-size: clamp(17px, 1.5vw, 19px);
  color: var(--nws-ink-soft);
}
/* The honesty line. Smaller, rust rule on the inline edge, deliberately not
   italic — italic reads as an aside and this is the opposite of an aside. */
.nws-intro__note {
  margin-top: var(--nws-s5);
  padding-inline-start: var(--nws-s4);
  border-inline-start: 2px solid var(--nws-rust);
  max-width: 58ch;
  font-size: 15px;
  color: var(--nws-ink-soft);
}

/* ---------- 1b. the featured story, for when there is one ------------------
   Not reachable today (featured: null) and styled anyway, because the empty
   state and the real one ship from the same renderer and a design that only
   exists for one of them is how the two drift apart. */
.nws-feature {
  padding: var(--nws-s7) 0 var(--nws-s6);
  background: var(--nws-paper);
}
.nws-feature__inner {
  width: 100%;
  max-width: var(--nws-wrap);
  margin-inline: auto;
  padding-inline: var(--nws-gutter);
  display: grid;
  gap: var(--nws-s6);
  align-items: center;
}
@media (min-width: 900px) {
  .nws-feature__inner { grid-template-columns: 1.15fr 1fr; }
}
.nws-feature__media {
  display: block;
  overflow: clip;            /* clip, never hidden — site.css's sticky rule */
  border-radius: var(--nws-radius);
  box-shadow: var(--nws-lift);
}
.nws-feature__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform var(--nws-ease);
}
.nws-feature__media:hover img { transform: scale(1.03); }
.nws-feature__h {
  margin-top: var(--nws-s3);
  font-size: clamp(28px, 3.6vw, 44px);
}
.nws-feature__h a { color: inherit; text-decoration: none; }
.nws-feature__h a:hover { color: var(--nws-rust-deep); }
.nws-feature__body {
  margin: var(--nws-s4) 0 var(--nws-s5);
  max-width: 54ch;
  font-size: 17px;
  color: var(--nws-ink-soft);
}

/* ---------- the meta line (category + date) -------------------------------- */
.nws-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nws-s3);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nws-ink-soft);
}
.nws-meta__cat { color: var(--nws-rust); }
.nws-meta time { font-variant-numeric: tabular-nums; }

/* ==========================================================================
   2. DATES AHEAD — the page's one dark band
   ==========================================================================
   A REAL TWO-STOP GRADIENT, NOT A FLAT FILL (CLAUDE.md: "never a flat dark
   solid on a large section, or the display pipeline dithers a visible
   diagonal hairline across it"). Both stops are explicit hex so
   check-page-rules.mjs can read their luminance rather than failing safe on an
   unresolvable var(), and the .nws-noise film beside it in the markup is what
   pays for the gradient.

   The card fills inside the band are rgba, not hex, for a second reason from
   the same rule: a `background:#hex` under 0.30 luminance on a selector that
   looks band-level is reported, and .nws-date would look band-level. Alpha
   over the gradient is also the only way the cards pick up its vertical shift
   instead of sitting on it as four flat patches. */
.nws-dates {
  position: relative;
  isolation: isolate;
  padding: var(--nws-s7) 0;
  background: linear-gradient(168deg, #A83226 0%, #86251B 100%);
  color: var(--nws-cream);
}
.nws-noise {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: .035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/></svg>");
}
.nws-dates__inner {
  position: relative;
  width: 100%;
  max-width: var(--nws-wrap);
  margin-inline: auto;
  padding-inline: var(--nws-gutter);
}
.nws-dates__head { max-width: 62ch; }
.nws-dates__h { font-size: clamp(30px, 4.4vw, 50px); }
.nws-dates__lede {
  margin-top: var(--nws-s4);
  font-size: clamp(16px, 1.4vw, 18px);
  color: var(--nws-cream);
  opacity: .92;              /* 5.4:1 — still clear of 4.5 on the light stop */
  max-width: 58ch;
}

/* ---------- the four date cards -------------------------------------------
   An <ol> because these are in date order and the order is the content. The
   list markers go, the semantics stay. */
.nws-dates__grid {
  list-style: none;
  margin: var(--nws-s6) 0 0;
  padding: 0;
  display: grid;
  gap: var(--nws-s4);
  grid-template-columns: minmax(0, 1fr);
}
@media (min-width: 620px) { .nws-dates__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1040px) { .nws-dates__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

.nws-date {
  display: flex;
  flex-direction: column;
  gap: var(--nws-s2);
  padding: var(--nws-s4);
  border: 1px solid var(--nws-line-light);
  border-radius: var(--nws-radius);
  background: rgba(244, 238, 228, .08);
}
/* An event's flyer (the website editor's Add an event, 2026-10-26): whole, never
   cropped, since a flyer has words on it. It opens full size in a new tab. */
.nws-date__flyer {
  display: block;
  margin: calc(-1 * var(--nws-s4)) calc(-1 * var(--nws-s4)) var(--nws-s2);
  border-radius: var(--nws-radius) var(--nws-radius) 0 0;
  overflow: hidden;
  background: #FFFFFF;
}
.nws-date__flyer img { display: block; width: 100%; height: auto; }
/* The numeral is the card's anchor, so it gets the display face and tabular
   figures — a proportional "11" beside a "25" sets the four cards at four
   different optical left edges. */
.nws-date__when {
  display: flex;
  align-items: baseline;
  gap: var(--nws-s2);
  font-family: "Libre Caslon Display", "Cormorant Garamond", Georgia, serif;
  line-height: 1;
}
.nws-date__when b {
  font-size: clamp(38px, 4.4vw, 50px);
  font-weight: 400;
  font-variant-numeric: tabular-nums;
}
.nws-date__when span {
  font-size: 15px;
  letter-spacing: .16em;
  text-transform: uppercase;
  font-family: "DM Sans", Inter, sans-serif;
  font-weight: 700;
  opacity: .85;
}
.nws-date__t {
  margin-top: var(--nws-s2);
  /* a word longer than the card (a web address, a joined-up name typed in the editor) breaks
     inside it instead of pushing the card off a phone (cms-tdd 2026-10-26) */
  overflow-wrap: anywhere;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.35;
}
/* The span in words and the Eid caveat. Both are secondary to the title and
   both have to stay legible, so they drop in size and not in colour. */
.nws-date__span,
.nws-date__detail {
  font-size: 14px;
  opacity: .9;
}
.nws-date__detail { font-style: italic; }

.nws-date__tags {
  margin-top: auto;
  padding-top: var(--nws-s3);
  display: flex;
  flex-wrap: wrap;
  gap: var(--nws-s2);
}
/* THE TAG IS A WORD, NOT A COLOUR. "Don't convey info by colour alone" is the
   reason every tag prints its kind; the two fills below are emphasis on top of
   the word, never the carrier of it. A closure is the one a parent acts on, so
   it takes the solid plate and everything else is outlined. */
.nws-tag {
  display: inline-block;
  padding: 5px 11px;
  border: 1px solid var(--nws-line-light-strong);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.nws-tag--closure {
  background: var(--nws-cream);
  border-color: var(--nws-cream);
  color: var(--nws-rust-deep);
}

.nws-dates__foot {
  margin-top: var(--nws-s6);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: var(--nws-s4);
  padding-top: var(--nws-s5);
  border-top: 1px solid var(--nws-line-light);
}
/* Huda Academy's own words about its own calendar, kept as a caveat and not
   dressed up: it is the line that stops a moved Eid date being our error. */
.nws-dates__caveat {
  font-size: 14px;
  opacity: .9;
  max-width: 56ch;
}

/* ---------- community events, inside the same band ------------------------
   A SEPARATE BLOCK ON PURPOSE. A closure listed under "Events" reads as an
   invitation, so the calendar row above and this one never merge — see
   tools/build-news.mjs, which keeps them as two lists in the data too. */
.nws-community {
  margin-top: var(--nws-s6);
  padding: var(--nws-s5);
  border: 1px dashed var(--nws-line-light-strong);
  border-radius: var(--nws-radius);
  background: rgba(134, 37, 27, .22);
}
.nws-community__h {
  font-size: clamp(20px, 2vw, 26px);
  margin-bottom: var(--nws-s3);
}
.nws-community__empty {
  font-size: 16px;
  max-width: 64ch;
  opacity: .92;
}
.nws-dates__grid--events { margin-top: var(--nws-s4); }

/* Every card in the row has passed and assets/js/news.js has removed the list.
   The lede promises dates directly underneath it, so it goes too - the caveat,
   the calendar button and the community block carry the band on their own. */
.nws-dates.is-empty .nws-dates__lede { display: none; }
.nws-dates.is-empty .nws-dates__foot { margin-top: var(--nws-s6); }

/* ==========================================================================
   3. LATEST NEWS — the listing, or its empty state
   ========================================================================== */
.nws-stories {
  padding: var(--nws-s7) 0;
  background: var(--nws-cream);
}
.nws-stories__inner {
  width: 100%;
  max-width: var(--nws-wrap);
  margin-inline: auto;
  padding-inline: var(--nws-gutter);
}
.nws-stories__h { font-size: clamp(30px, 4.4vw, 50px); }

/* ---------- the filter chips ----------------------------------------------
   Absent until two categories hold an article between them — a chip that
   filters to nothing is a broken control, and the renderer, not this file,
   decides whether the strip exists. 44px min-height is the touch minimum. */
.nws-filters {
  margin-top: var(--nws-s5);
  display: flex;
  flex-wrap: wrap;
  gap: var(--nws-s2);
}
.nws-chip {
  min-height: 44px;
  padding: 0 var(--nws-s4);
  border: 1px solid var(--nws-line-strong);
  border-radius: 999px;
  background: transparent;
  color: var(--nws-ink);
  font-family: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background var(--nws-ease), color var(--nws-ease), border-color var(--nws-ease);
}
.nws-chip:hover { border-color: var(--nws-rust); color: var(--nws-rust-deep); }
/* The selected chip is filled AND carries aria-pressed="true", so the state is
   announced as well as drawn. */
.nws-chip.is-on {
  background: var(--nws-rust);
  border-color: var(--nws-rust);
  color: #FFFFFF;
}

.nws-grid {
  list-style: none;
  margin: var(--nws-s6) 0 0;
  padding: 0;
  display: grid;
  gap: var(--nws-s6) var(--nws-s5);
  grid-template-columns: 1fr;
}
@media (min-width: 680px) { .nws-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .nws-grid { grid-template-columns: repeat(3, 1fr); } }

.nws-card__media {
  display: block;
  overflow: clip;
  border-radius: 14px;
  box-shadow: var(--nws-lift);
  margin-bottom: var(--nws-s4);
}
.nws-card__media img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  transition: transform var(--nws-ease);
}
.nws-card:hover .nws-card__media img { transform: scale(1.04); }
.nws-card__h {
  margin-top: var(--nws-s3);
  font-size: clamp(21px, 2.1vw, 25px);
}
.nws-card__h a { color: inherit; text-decoration: none; }
.nws-card__h a:hover { color: var(--nws-rust-deep); }
.nws-card__x {
  margin-top: var(--nws-s3);
  font-size: 16px;
  color: var(--nws-ink-soft);
}
.nws-card[hidden] { display: none; }

/* ---------- the empty state ----------------------------------------------
   INTENTIONAL, NOT A STUB. It is the widest single column on the page and it
   carries two sentences rather than one word, because the reason there is
   nothing here is itself the answer to the question the visitor arrived with.
   It is deliberately NOT the skeleton pages' `.pstub` notice: that one says
   "this page has not been written" about a page, and this one says "there is
   no news yet" about the news. */
.nws-empty {
  margin-top: var(--nws-s6);
  padding: var(--nws-s6);
  border: 1px solid var(--nws-line);
  border-radius: var(--nws-radius);
  background: var(--nws-paper);
  box-shadow: var(--nws-lift);
}
.nws-empty__lead {
  font-size: clamp(18px, 1.8vw, 22px);
  line-height: 1.5;
  max-width: 54ch;
  color: var(--nws-ink);
}
/* The newsletter column's held state. Given the same dashed panel as the
   gallery's below, and the reason is the band rather than this sentence: the
   two sections sit side by side and the newsletter one is three lines shorter,
   so as bare text it trailed off into an empty half-column that read as a
   layout fault. As a panel the pair match, and the shape says "something goes
   here" rather than "the page stopped". */
.nws-empty__lead--tight {
  margin-top: var(--nws-s5);
  padding: var(--nws-s4);
  border: 1px dashed var(--nws-line-strong);
  border-radius: 14px;
  font-size: 16px;
  max-width: 52ch;
  color: var(--nws-ink-soft);
}
.nws-empty__note {
  margin-top: var(--nws-s4);
  padding-top: var(--nws-s4);
  border-top: 1px solid var(--nws-line);
  font-size: 14px;
  max-width: 68ch;
  color: var(--nws-ink-soft);
}

/* ==========================================================================
   4. STAY IN TOUCH — newsletters and where we post, one band, two sections
   ==========================================================================
   TWO SECTIONS SIDE BY SIDE, AND THE REASON IS EDITORIAL. Both are short and
   both are currently a sentence about what is coming; stacked as two full
   bands they read as two apologies in a row. Paired on one ground they read as
   one answer to "how do I keep up", which is what they are. Each keeps its own
   <section> and its own heading, so nothing is merged but the ground. */
.nws-stay {
  padding: var(--nws-s7) 0;
  background: var(--nws-paper);
  display: grid;
  gap: var(--nws-s6);
  grid-template-columns: 1fr;
}
@media (min-width: 900px) {
  .nws-stay {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: clamp(40px, 5vw, 80px);
    max-width: var(--nws-wrap);
    margin-inline: auto;
    padding-inline: var(--nws-gutter);
  }
  .nws-issues__inner,
  .nws-follow__inner { padding-inline: 0; max-width: none; }
}
.nws-issues__inner,
.nws-follow__inner {
  width: 100%;
  max-width: var(--nws-wrap);
  margin-inline: auto;
  padding-inline: var(--nws-gutter);
}
.nws-issues__h,
.nws-follow__h { font-size: clamp(26px, 3vw, 36px); }

/* ---------- the newsletter archive ---------------------------------------- */
.nws-issues__list {
  list-style: none;
  margin: var(--nws-s5) 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--nws-s3);
}
/* A grid, not a flex row: the cover takes the left column and the meta line
   sits ABOVE the title in the right one. As a three-item flex row the title
   was a third column beside the meta, and on a phone it was squeezed to a
   letter or two per line ("C / ar"). */
.nws-issue a {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-content: center;
  align-items: center;
  column-gap: var(--nws-s4);
  min-height: 56px;
  padding: var(--nws-s3);
  border: 1px solid var(--nws-line);
  border-radius: 14px;
  background: var(--nws-cream);
  color: inherit;
  text-decoration: none;
  transition: box-shadow var(--nws-ease), transform var(--nws-ease);
}
.nws-issue a:hover { box-shadow: var(--nws-lift-hover); transform: translateY(-2px); }
.nws-issue__meta {
  display: block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--nws-rust);
}
.nws-issue__no::after { content: " · "; }
.nws-issue__t { display: block; min-width: 0; font-size: 17px; font-weight: 700; margin-top: 2px; overflow-wrap: anywhere; }
.nws-issue__meta { min-width: 0; }
.nws-issue__cover { grid-row: 1 / span 2; }
.nws-issue__meta,
.nws-issue__t { grid-column: 2; }
.nws-issue__meta { align-self: end; }
.nws-issue__t { align-self: start; }

/* SCHOOL UPDATES AND COMING UP ARE THE SPLIT (site.css .split, user 2026-10-28): the heading and every item on
   the left, one tile at a time on the right. "School updates" takes the whole row, with "Where we post" under it,
   and when there are no newsletters it is not on the page at all, so "Where we post" stands alone, full width.
   The .nws-issue row styles above are no longer used by the page. */
.nws-stay { grid-template-columns: minmax(0, 1fr) !important; }
/* news.js hides Coming up, and the intro jump to it, once every event has passed */
.nws-dates[hidden], .nws-jump[hidden] { display: none !important; }
.nws-issues .split__line { color: var(--nws-ink-soft); }
/* Coming up sits on the dark band: its rows and arrows take the band's light words. */
.nws-dates .split__line { margin-top: var(--nws-s3); }
.nws-dates .split__row:hover { background: rgba(244, 238, 228, .08); }
.nws-dates .split__row.is-on { background: rgba(244, 238, 228, .14); border-left-color: var(--flame-tip); box-shadow: none; }
.nws-dates .split__when { color: var(--flame-tip); } /* the crest's small-text-on-red token: --gold there is only 3.2 : 1 (Codex audit) */
.nws-dates .split__count { color: inherit; }
.nws-dates .split__btn { background: rgba(244, 238, 228, .1); border-color: rgba(244, 238, 228, .45); color: inherit; box-shadow: none; }
.nws-dates .split__btn:hover:not(:disabled) { background: var(--nws-cream); color: var(--espresso); }
.nws-dates .split__slide .ptile { box-shadow: 0 14px 26px -12px rgba(0, 0, 0, .5); }

/* ---------- where we post ------------------------------------------------- */
.nws-follow__body {
  margin-top: var(--nws-s4);
  max-width: 48ch;
  font-size: 17px;
  color: var(--nws-ink-soft);
}
.nws-follow__links {
  margin-top: var(--nws-s5);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--nws-s3);
}
/* Icon AND label, never icon alone — the checklist's nav-label-icon rule, and
   the only reason the <svg> can be aria-hidden is that the word is beside it.
   The glyphs are the shell sprite's, so no new asset and no emoji. */
.nws-social {
  display: inline-flex;
  align-items: center;
  gap: var(--nws-s2);
  min-height: 48px;
  padding: 0 var(--nws-s4);
  border: 1px solid var(--nws-line-strong);
  border-radius: 999px;
  color: var(--nws-ink);
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: border-color var(--nws-ease), color var(--nws-ease), transform var(--nws-ease);
}
.nws-social svg { width: 18px; height: 18px; fill: currentColor; flex: 0 0 auto; }
.nws-social:hover { border-color: var(--nws-rust); color: var(--nws-rust-deep); transform: translateY(-2px); }
.nws-follow__handle {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--nws-ink-soft);
}

/* The gallery's held state. A sentence, not a grid of grey boxes: a skeleton
   that never fills is a worse lie than a line that says what is missing. */
.nws-follow__pending {
  margin-top: var(--nws-s5);
  padding: var(--nws-s4);
  border: 1px dashed var(--nws-line-strong);
  border-radius: 14px;
  font-size: 15px;
  max-width: 52ch;
  color: var(--nws-ink-soft);
}
.nws-gallery {
  list-style: none;
  margin: var(--nws-s5) 0 0;
  padding: 0;
  display: grid;
  gap: var(--nws-s2);
  grid-template-columns: repeat(3, 1fr);
}
.nws-gallery img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 10px;
}

/* ==========================================================================
   Motion and small screens
   ========================================================================== */

/* EVERY TRANSITION OFF, not slowed. The reveals themselves are site.css's .rv
   system and are already handled there; this covers the hovers and lifts
   declared above, which are the only motion this file introduces. */
@media (prefers-reduced-motion: reduce) {
  .nws *,
  .nws *::before,
  .nws *::after {
    transition-duration: 1ms !important;
    animation-duration: 1ms !important;
  }
  .nws-feature__media:hover img,
  .nws-card:hover .nws-card__media img { transform: none; }
  .nws-btn:hover,
  .nws-issue a:hover,
  .nws-social:hover { transform: none; }
  .nws-btn:hover span,
  .nws-jump:hover span { transform: none; }
}

/* Phones. The only real change is that the date card stops being a card with
   a big numeral above a title and becomes a row — at 360px the numeral at
   38px plus a 17px title in a 140px-tall box is mostly air. */
@media (max-width: 560px) {
  .nws-intro,
  .nws-feature,
  .nws-dates,
  .nws-stories,
  .nws-stay { padding-top: var(--nws-s6); padding-bottom: var(--nws-s6); }

  .nws-date {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    column-gap: var(--nws-s4);
    align-items: start;
  }
  /* The flyer spans the whole card above the date-and-title row. Left to
     auto-placement it took the narrow date column at its natural width and
     squeezed the title into a 0px column beside it. */
  .nws-date__flyer { grid-column: 1 / -1; }
  .nws-date__when { flex-direction: column; gap: 0; align-items: center; min-width: 58px; grid-column: 1; grid-row: span 2; }
  .nws-date__when b { font-size: 34px; }
  .nws-date__when span { font-size: 12px; }
  .nws-date__t { grid-column: 2; margin-top: 0; }
  .nws-date__span,
  .nws-date__detail { grid-column: 2; }
  .nws-date__tags { grid-column: 2; margin-top: var(--nws-s2); padding-top: var(--nws-s2); }

  .nws-dates__foot { align-items: stretch; }
  .nws-dates__foot .nws-btn { justify-content: center; }
  .nws-community { padding: var(--nws-s4); }
  .nws-empty { padding: var(--nws-s5) var(--nws-s4); }
  .nws-gallery { grid-template-columns: repeat(2, 1fr); }
}

/* Landscape phones and short laptops. The hero already has its own
   max-height:600px treatment in page-hero.css; this is only about not
   spending a whole short viewport on one band's padding. */
@media (max-height: 600px) and (min-width: 561px) {
  .nws-intro,
  .nws-feature,
  .nws-dates,
  .nws-stories,
  .nws-stay { padding-top: var(--nws-s6); padding-bottom: var(--nws-s6); }
}
