/* =============================================================================
   News and the article — the 2026 Terrace boards 5, 6 and 11 (#60): the lead
   story beside its photo, the three-up card grid, the empty filter, and the
   article with its 760px column, gold pull quote, share chips and "Keep
   reading.". Measured at 1440 (the 1280 column), 768 and 390.
   The news filters are links to the category archives (shortcodes.php
   ntc_news_filters), styled by the shared .ntc-chip.
   ========================================================================== */

/* --- Lead story ---------------------------------------------------------- */
.ntc-sec--newslead .ntc-sec__inner { padding-block: 64px; }
.ntc-nlead {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(0, 456px);
  justify-content: space-between;
  align-items: center;
  gap: 64px;
}
.ntc-nlead__media { display: block; aspect-ratio: 760 / 520; overflow: hidden; background: var(--color-ink-raised); }
.ntc-nlead__img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ntc-nlead__copy { display: flex; flex-direction: column; gap: 24px; }
.ntc-nlead__copy > * { margin: 0; }
.ntc-nlead__meta,
.ntc-ncard__meta {
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 0.06em;
  color: var(--color-accent);
}
html .ntc-nlead__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 72px;
  line-height: 0.92;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--color-white);
}
.ntc-nlead__title a { color: inherit; text-decoration: none; }
.ntc-nlead__title a:hover { color: var(--color-accent); }
.ntc-nlead__excerpt { font-size: 20px; }

/* --- The card grid (also "Keep reading." and search results) ------------- */
.ntc-sec--newsgrid .ntc-sec__inner { padding-block: 64px 96px; }
.ntc-sec--more .ntc-sec__inner { padding-block: 120px; display: flex; flex-direction: column; gap: 64px; }
.ntc-ncards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 40px 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.ntc-ncard { min-width: 0; }
.ntc-ncard__link, .ntc-ncard__link:hover { display: flex; flex-direction: column; gap: 16px; color: inherit; text-decoration: none; }
.ntc-ncard__media { display: block; aspect-ratio: 410 / 300; overflow: hidden; background: var(--color-ink-raised); position: relative; }
.ntc-ncard__img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* The gold bar the hover adds (#76: a 6px rule at the photo's foot). */
.ntc-ncard__media::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 6px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
}
.ntc-ncard__title {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 0.98;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--color-white);
}
.ntc-ncards__more { margin: 48px 0 0; }

/* --- Empty filter (board 11) --------------------------------------------- */
.ntc-nempty {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 616px;
  padding: 40px;
  background: var(--color-ink-raised);
}
.ntc-nempty > * { margin: 0; }
html .ntc-nempty__title {
  margin: 0;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 56px;
  line-height: 1;
  text-transform: uppercase;
  color: var(--color-white);
}

/* --- Article ------------------------------------------------------------- */
.ntc-sec--articlehead .ntc-sec__inner { padding-block: 96px 64px; }
.ntc-ahead { display: flex; flex-direction: column; gap: 32px; }
.ntc-ahead > * { margin: 0; }
html .ntc-ahead__title {
  margin: 0 0 0 -0.015em;
  max-width: 1120px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 160px;
  line-height: 0.88;
  letter-spacing: 0;
  text-transform: uppercase;
  text-wrap: balance;
  color: var(--color-white);
}
.ntc-ahead__byline { font-size: 20px; color: var(--color-text); }

.ntc-ahero { height: 680px; overflow: hidden; background: var(--color-ink-raised); }
.ntc-ahero__img { display: block; width: 100%; height: 100%; object-fit: cover; }

.ntc-sec--articlebody .ntc-sec__inner { padding-block: 96px; }
.ntc-abody { width: 100%; max-width: 760px; margin-inline: auto; display: flex; flex-direction: column; gap: 32px; }
.ntc-abody__prose > * { margin: 0 0 32px; }
.ntc-abody__prose > :last-child { margin-bottom: 0; }
.ntc-abody__prose p,
.ntc-abody__prose li { font-size: 24px; line-height: 1.7; color: var(--color-white); }
.ntc-abody__prose h2,
.ntc-abody__prose h3 {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 48px;
  line-height: 0.95;
  text-transform: uppercase;
  color: var(--color-white);
}
.ntc-abody__prose img { display: block; width: 100%; height: auto; }
.ntc-abody__prose a { text-decoration: underline; text-underline-offset: 4px; }
/* A Gutenberg quote block is the gold pull quote: an 8px bar, Anton 56. */
.ntc-abody__prose blockquote {
  margin-inline: 0;
  padding: 16px 0 16px 40px;
  border-left: 8px solid var(--color-accent);
}
.ntc-abody__prose blockquote p:not(:has(cite)) {
  margin: 0;
  font-family: var(--font-display);
  font-size: 56px;
  line-height: 1.04;
  text-transform: uppercase;
  color: var(--color-accent);
}
.ntc-abody__prose blockquote p:not(:has(cite))::before { content: "“"; }
.ntc-abody__prose blockquote p:not(:has(cite))::after { content: "”"; }
/* wpautop wraps the cite in its own <p>; that one is the attribution. */
.ntc-abody__prose blockquote p:has(cite) { margin: 0; }
.ntc-abody__prose blockquote cite {
  display: block;
  margin-top: 16px;
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  color: var(--color-white);
}

.ntc-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  padding-top: 32px;
  border-top: 1px solid var(--color-line);
}
.ntc-share__label { margin: 0; font-weight: 600; font-size: 16px; letter-spacing: 0.08em; color: var(--color-text); }
.ntc-share__chips { margin: 0; }
.ntc-share__status { flex-basis: 100%; margin: 0; min-height: 1.5em; color: var(--color-text); }
.ntc-share__status:empty { min-height: 0; }

/* --- 1024 to 1199 -------------------------------------------------------- */
@media (max-width: 1199px) {
  html .ntc-nlead__title { font-size: 56px; }
  html .ntc-ahead__title { font-size: 120px; }
  .ntc-ncard__title { font-size: 32px; }
}

/* --- Below 1024: one centred column -------------------------------------- */
@media (max-width: 1023px) {
  .ntc-sec--newslead .ntc-sec__inner { padding-block: 40px; }
  .ntc-nlead { display: flex; flex-direction: column; gap: 20px; }
  .ntc-nlead__media { width: 100%; aspect-ratio: 350 / 240; }
  .ntc-nlead__copy { gap: 16px; align-items: center; text-align: center; }
  .ntc-nlead__meta, .ntc-ncard__meta { font-size: 13px; }
  html .ntc-nlead__title { font-size: 40px; }
  .ntc-nlead__excerpt { font-size: 17px; }

  .ntc-sec--newsgrid .ntc-sec__inner { padding-block: 40px; }
  .ntc-sec--more .ntc-sec__inner { padding-block: 64px; gap: 32px; }
  .ntc-ncards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .ntc-ncard__link { gap: 12px; }
  .ntc-ncard__title { font-size: 28px; }
  .ntc-ncards__more { text-align: center; }

  .ntc-nempty { margin-inline: auto; padding: 32px 24px; align-items: center; text-align: center; }
  html .ntc-nempty__title { font-size: 40px; }

  .ntc-sec--articlehead .ntc-sec__inner { padding-block: 48px 32px; }
  .ntc-ahead { gap: 16px; align-items: center; text-align: center; }
  html .ntc-ahead__title { margin: 0; font-size: 56px; }
  .ntc-ahead__byline { font-size: 15px; }
  .ntc-ahero { height: 260px; }
  .ntc-sec--articlebody .ntc-sec__inner { padding-block: 48px; }
  /* Reading copy and cards stay left-aligned on a phone, as the board draws
     them; only headings and section heads centre. */
  .ntc-abody, .ntc-ncard { gap: 24px; text-align: left; }
  .ntc-ncard { gap: 0; }
  .ntc-abody__prose > * { margin-bottom: 24px; }
  .ntc-abody__prose p, .ntc-abody__prose li { font-size: 17px; }
  .ntc-abody__prose h2, .ntc-abody__prose h3 { font-size: 32px; }
  .ntc-abody__prose blockquote { padding: 8px 0 8px 16px; }
  .ntc-abody__prose blockquote p:not(:has(cite)) { font-size: 32px; }
  .ntc-abody__prose blockquote cite { font-size: 15px; }
  .ntc-share { padding-top: 24px; }
  .ntc-share__label { font-size: 17px; }
}

/* --- Phone: one card per row --------------------------------------------- */
@media (max-width: 767px) {
  .ntc-ncards { grid-template-columns: minmax(0, 1fr); }
  .ntc-ncard__media { aspect-ratio: 350 / 200; }
  .ntc-ncard__title { font-size: 24px; }
}
