/* ============================================================
   Northfocus — the whole paper.
   Reader-owned northern daily: red rule, Noto Serif headlines,
   plain paper, section blocks, comment and NF-TV. One stylesheet
   drives the home, report and front-page documents.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif:ital,wght@0,400;0,700;1,400&family=Roboto:wght@400;500;700&display=swap');

/* ---- Palette (light + dark) ---- */

body.pub--northfocus {
  --nf-red: #b3121b;
  --nf-ink: #1b1b1b;
  --nf-soft: #333333;
  --nf-muted: #5f5a55;
  --nf-slate: #486078;
  --nf-line: #d9dce0;
  --nf-paper: #f6f4f1;
  --nf-surface: #ffffff;
  --nf-band: #f4f5f6;
  --nf-foot: #2b3440;
  --content-bg: var(--nf-paper);
  --border-color: var(--nf-line);
}
[data-theme="dark"] body.pub--northfocus {
  --nf-red: #e05a62;
  --nf-ink: #ececec;
  --nf-soft: #c9c9c9;
  --nf-muted: #a3a3a3;
  --nf-slate: #9fb6cf;
  --nf-line: #3a3a3c;
  --nf-paper: #121213;
  --nf-surface: #1b1b1d;
  --nf-band: #1b1b1d;
  --nf-foot: #0c0c0d;
  --content-bg: var(--nf-paper);
  --border-color: var(--nf-line);
}

#content.web-page.pub--northfocus {
  background: var(--nf-paper);
  color: var(--nf-ink);
  font-family: 'Noto Serif', Georgia, serif;
}
#content.web-page.pub--northfocus a { color: var(--nf-ink); }
#content.web-page.pub--northfocus a:hover { color: var(--nf-red); }

/* ============================================================
   HOME
   ============================================================ */

.nf-wrap { max-width: 74rem; margin: 0 auto; padding-left: 1rem; padding-right: 1rem; }

.nf-masthead { text-align: center; padding: 1.1rem 0 0.7rem; border-bottom: 3px solid var(--nf-red); }
.nf-masthead img { height: 46px; width: auto; }
.nf-tagline { margin: 0.5rem 0 0; font-family: 'Roboto', sans-serif; font-size: 0.72rem; font-weight: 500; letter-spacing: 0.16em; text-transform: uppercase; color: var(--nf-slate); }

.nf-nav { display: flex; justify-content: center; gap: 1.6rem; flex-wrap: wrap; border-bottom: 1px solid var(--nf-line); font-family: 'Roboto', sans-serif; }
.nf-nav .web-tab { appearance: none; background: none; border: 0; border-bottom: 3px solid transparent; padding: 0.6rem 0; font: inherit; font-size: 0.82rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nf-ink); cursor: pointer; }
.nf-nav .web-tab:hover { border-bottom-color: var(--nf-red); }
.nf-nav .web-tab.is-active { border-bottom-color: var(--nf-red); color: var(--nf-red); }

.nf-topics { display: flex; justify-content: center; gap: 0.9rem; flex-wrap: wrap; padding: 0.55rem 0 0; font-family: 'Roboto', sans-serif; font-size: 0.74rem; }
.nf-topics a { color: var(--nf-slate); text-decoration: none; }
.nf-topics a:hover { color: var(--nf-red); }

.nf-section { margin: 2rem 0; }
.nf-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 3px solid var(--nf-red); border-bottom: 1px solid var(--nf-line); padding: 0.5rem 0; margin-bottom: 1rem; }
.nf-head h2 { font-size: 1.3rem; font-weight: 700; margin: 0; }
.nf-head a { font-family: 'Roboto', sans-serif; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--nf-red); text-decoration: none; }

.nf-kicker { font-family: 'Roboto', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nf-red); }
.nf-date { font-family: 'Roboto', sans-serif; font-size: 0.72rem; color: var(--nf-muted); }
.nf-note { font-family: 'Roboto', sans-serif; font-size: 0.76rem; line-height: 1.6; color: var(--nf-muted); }

.nf-lead { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 1.75rem; align-items: start; margin-top: 1.5rem; }
.nf-lead img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nf-lead-title { font-size: 2.3rem; font-weight: 700; line-height: 1.1; margin: 0.5rem 0 0.7rem; }
.nf-lead-title a { text-decoration: none; }
.nf-standfirst { font-size: 1.02rem; line-height: 1.6; color: var(--nf-soft); margin: 0.6rem 0 0; }
.nf-lead-side { display: grid; gap: 1.1rem; }

.nf-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(15rem, 1fr)); gap: 1.25rem; }
.nf-card img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nf-card h3 { font-size: 1.12rem; font-weight: 700; line-height: 1.25; margin: 0.5rem 0 0.35rem; }
.nf-card h3 a { text-decoration: none; }
.nf-card .nf-standfirst { font-size: 0.92rem; }

.nf-list { list-style: none; }
.nf-list li { padding: 0.7rem 0; border-bottom: 1px solid var(--nf-line); }
.nf-list h3 { font-size: 1.08rem; font-weight: 700; line-height: 1.25; margin: 0 0 0.25rem; }
.nf-list h3 a { text-decoration: none; }
.nf-list .nf-meta { font-family: 'Roboto', sans-serif; font-size: 0.72rem; color: var(--nf-muted); }

.nf-comment { display: grid; grid-template-columns: repeat(auto-fit, minmax(17rem, 1fr)); gap: 1.5rem; }
.nf-comment article { border-top: 1px solid var(--nf-line); padding-top: 0.8rem; }
.nf-comment h3 { font-size: 1.15rem; font-weight: 700; font-style: italic; line-height: 1.25; margin: 0.35rem 0 0.4rem; }
.nf-comment h3 a { text-decoration: none; }
.nf-byline { font-family: 'Roboto', sans-serif; font-size: 0.74rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; color: var(--nf-slate); }

.nf-support { background: var(--nf-band); border-left: 5px solid var(--nf-red); padding: 1.2rem 1.4rem; margin: 2.2rem 0; }
.nf-support h3 { font-size: 1.3rem; font-weight: 700; margin: 0 0 0.4rem; }
.nf-support p { font-size: 0.95rem; line-height: 1.6; margin: 0 0 0.8rem; max-width: 52rem; }

.nf-prog { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 1.25rem; align-items: start; padding: 1rem 0; border-bottom: 1px solid var(--nf-line); }
.nf-prog img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.nf-prog h3 { font-size: 1.25rem; font-weight: 700; margin: 0 0 0.35rem; }
.nf-prog p { font-size: 0.95rem; line-height: 1.6; margin: 0 0 0.4rem; }
.nf-tag { display: inline-block; font-family: 'Roboto', sans-serif; font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; background: var(--nf-red); padding: 0.12rem 0.45rem; margin-bottom: 0.45rem; }

.nf-table { width: 100%; border-collapse: collapse; font-family: 'Roboto', sans-serif; font-size: 0.86rem; }
.nf-table th, .nf-table td { text-align: left; padding: 0.5rem 0.7rem; border-bottom: 1px solid var(--nf-line); }
.nf-table thead th { font-size: 0.66rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--nf-muted); border-bottom: 2px solid var(--nf-ink); }

.nf-footer { background: var(--nf-foot); color: rgba(255, 255, 255, 0.8); margin-top: 2.5rem; }
.nf-footer .nf-wrap { padding-top: 2rem; padding-bottom: 2.2rem; }
.nf-footer a { color: rgba(255, 255, 255, 0.84); text-decoration: none; }
.nf-footer a:hover { color: #fff; text-decoration: underline; }
.nf-footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(13rem, 1fr)); gap: 1.5rem; }
.nf-footer h4 { font-family: 'Roboto', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--nf-red); margin: 0 0 0.5rem; }
.nf-footer ul { list-style: none; }
.nf-footer li { font-family: 'Roboto', sans-serif; font-size: 0.82rem; margin-bottom: 0.3rem; }
.nf-owned { border: 1px solid rgba(255, 255, 255, 0.2); padding: 1rem 1.1rem; margin-bottom: 1.6rem; max-width: 46rem; }
.nf-owned h4 { color: #fff; }
.nf-owned p { font-family: 'Roboto', sans-serif; font-size: 0.82rem; line-height: 1.6; margin: 0; }
.nf-colophon { margin-top: 1.5rem; padding-top: 0.9rem; border-top: 1px solid rgba(255, 255, 255, 0.16); font-family: 'Roboto', sans-serif; font-size: 0.74rem; color: rgba(255, 255, 255, 0.6); }

/* ============================================================
   REPORT
   ============================================================ */

.nfr { max-width: 44rem; margin: 0 auto; padding: 1.4rem 1.1rem 3rem; }
.nfr-masthead { border-bottom: 3px solid var(--nf-red); padding-bottom: 0.7rem; margin-bottom: 1.6rem; }
.nfr-logo { font-size: 1.6rem; font-weight: 700; text-decoration: none; color: var(--nf-ink); }
.nfr-strap { margin: 0.25rem 0 0; font-family: 'Roboto', sans-serif; font-size: 0.64rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--nf-muted); }
.nfr-kicker { font-family: 'Roboto', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--nf-red); margin: 0 0 0.4rem; }
.nfr-headline { font-size: 2.2rem; line-height: 1.12; margin: 0 0 0.6rem; }
.nfr-standfirst { font-size: 1.08rem; line-height: 1.55; color: var(--nf-soft); margin: 0 0 0.9rem; }
.nfr-byline { font-family: 'Roboto', sans-serif; font-size: 0.76rem; color: var(--nf-muted); display: flex; flex-wrap: wrap; gap: 0.7rem; border-top: 1px solid var(--nf-line); border-bottom: 1px solid var(--nf-line); padding: 0.5rem 0; margin: 0 0 1.2rem; }
.nfr-figure { margin: 0 0 1.3rem; }
.nfr-figure img { display: block; width: 100%; height: auto; }
.nfr-figure figcaption { font-family: 'Roboto', sans-serif; font-size: 0.72rem; color: var(--nf-muted); padding-top: 0.35rem; }
.nfr-body { font-size: 1.06rem; line-height: 1.7; }
.nfr-body p { margin: 0 0 1rem; }
.nfr-body a { color: var(--nf-red); }
.nfr-body > p:first-of-type::first-letter { float: left; font-size: 3.1rem; line-height: 0.82; padding: 0.14rem 0.5rem 0 0; color: var(--nf-red); font-weight: 700; }
.nfr-related { margin-top: 1.6rem; padding-top: 0.8rem; border-top: 1px solid var(--nf-line); }
.nfr-related h2 { font-family: 'Roboto', sans-serif; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--nf-muted); margin: 0 0 0.5rem; }
.nfr-related ul { list-style: none; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.nfr-related a { display: inline-block; border: 1px solid var(--nf-line); padding: 0.2rem 0.6rem; font-family: 'Roboto', sans-serif; font-size: 0.74rem; text-decoration: none; }
.nfr-related a:hover { border-color: var(--nf-red); color: var(--nf-red); }
.nfr-footer { display: flex; gap: 1rem; flex-wrap: wrap; margin-top: 1.4rem; padding-top: 0.8rem; border-top: 1px solid var(--nf-line); font-family: 'Roboto', sans-serif; font-size: 0.76rem; }

@media (max-width: 760px) {
  .nf-lead { grid-template-columns: 1fr; }
  .nf-lead-title { font-size: 1.8rem; }
  .nf-prog { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .nfr-headline { font-size: 1.7rem; }
}
