/* News section ("The Glory Days Gazette") - a deliberately different visual
   register from the gridiron theme used everywhere else on the site: a
   newspaper front page rather than a scoreboard. Scoped entirely under
   .np-page so it never leaks into other pages sharing the same layout. */

.np-page {
  --paper: #e8ebe6;
  --paper-hi: #f1f3ee;
  --ink: #1b1b18;
  --ink-soft: #4c4c45;
  --ink-faint: #83837a;
  --rule: #c7cabf;
  --accent: #9c2b20;
  --chip-bg: #dcdfd6;

  --font-display: "Domine", Georgia, "Times New Roman", serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --font-label: "Barlow Semi Condensed", sans-serif;

  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  max-width: 820px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  border-left: 1px solid var(--rule);
  border-right: 1px solid var(--rule);
}

/* #np-page (not just .np-page) on the headline/nameplate/team-name/link
   rules below - gridiron.css's "body.gridiron-body h1, h2, h3, a" rule
   (chalk-white, meant for the dark scoreboard theme) outranks a plain
   single-class selector on those same tags, since it combines a class with
   an element type. An id beats any number of classes, so it wins cleanly
   regardless of stylesheet load order instead of relying on a specificity
   tie-break. */
#np-page a { color: var(--accent); }

/* ---- Masthead ---- */
.np-masthead {
  text-align: center;
  margin-bottom: 2.75rem;
}

.np-eyebrow {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 0.4rem;
}

#np-page .np-nameplate,
#np-page .np-nameplate-link {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.2rem, 7vw, 3.4rem);
  letter-spacing: -0.01em;
  color: var(--ink);
  margin: 0;
  text-decoration: none;
  display: inline-block;
}

.np-masthead-rule {
  height: 3px;
  background: var(--ink);
  margin: 0.9rem 0 0.6rem;
  position: relative;
}

.np-masthead-rule::after {
  content: "";
  display: block;
  height: 1px;
  background: var(--ink);
  margin-top: 3px;
}

.np-dateline {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--ink-soft);
  margin: 0;
}

.np-masthead-small { margin-bottom: 2rem; }

/* ---- Story ---- */
.np-story-head { margin-bottom: 1.4rem; }

#np-page .np-headline {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.9rem, 5vw, 2.7rem);
  line-height: 1.12;
  color: var(--ink);
  margin: 0 0 0.75rem;
  text-wrap: balance;
}

.np-dek {
  font-family: var(--font-body);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0 0 0.9rem;
  max-width: 60ch;
}

.np-byline {
  font-family: var(--font-label);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0;
}

.np-rule {
  height: 1px;
  background: var(--rule);
  margin: 1.5rem 0 2rem;
}

.np-body {
  font-size: 1.08rem;
  line-height: 1.7;
  max-width: 68ch;
}

.np-body p { margin: 0 0 1.15rem; }

.np-lede::first-letter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 3.6rem;
  line-height: 0.8;
  float: left;
  padding: 0.1rem 0.35rem 0 0;
  color: var(--accent);
}

.np-footnote {
  font-family: var(--font-label);
  font-size: 0.78rem;
  color: var(--ink-faint);
  border-top: 1px solid var(--rule);
  padding-top: 1.1rem;
  margin-top: 2rem !important;
  max-width: 60ch;
}

/* ---- Ranked entries ---- */
.np-rank-entry {
  display: grid;
  grid-template-columns: 3.25rem 1fr;
  gap: 1rem;
  padding: 1.9rem 0;
  border-top: 1px solid var(--rule);
  max-width: 68ch;
}

.np-rank-entry:first-of-type { border-top: none; padding-top: 0.5rem; }

/* Round divider for the live draft grading feed - sits between .np-rank-entry
 * blocks (a sibling, not nested inside one) to mark where one draft round
 * ends and the next begins as the feed grows. */
.np-round-header {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--paper-hi);
  background: var(--ink);
  display: inline-block;
  padding: 0.3rem 0.75rem;
  margin: 2.4rem 0 0;
  max-width: 68ch;
}

.np-round-header:first-child { margin-top: 0.5rem; }

/* .np-rank-num's default 3.25rem column fits the 1-2 digit rank numbers
 * (1-12) it was built for, but a 4-digit year at the same 2.1rem/1.6rem
 * font sizes doesn't fit that column and collides with the headline next to
 * it - this modifier widens the column for entries numbered by year instead
 * of rank, without touching the original ranked-list layout. */
.np-rank-entry--year {
  grid-template-columns: 5.5rem 1fr;
}

.np-rank-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1;
  color: var(--accent);
  font-variant-numeric: tabular-nums;
  padding-top: 0.1rem;
}

.np-rank-head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.4rem 0.7rem;
  margin-bottom: 0.2rem;
}

#np-page .np-team-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.32rem;
  color: var(--ink);
  margin: 0;
}

#np-page .np-team-name.np-no-name {
  font-style: italic;
  font-weight: 400;
  color: var(--ink-faint);
  font-family: var(--font-body);
}

.np-kicker {
  font-family: var(--font-label);
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

.np-badge {
  font-family: var(--font-label);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--paper-hi);
  background: var(--accent);
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
}

.np-owner-line {
  font-family: var(--font-label);
  font-size: 0.82rem;
  color: var(--ink-soft);
  margin: 0.1rem 0 0.8rem;
}

.np-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
}

.np-stat {
  font-family: var(--font-label);
  font-size: 0.76rem;
  color: var(--ink);
  background: var(--chip-bg);
  border: 1px solid var(--rule);
  border-radius: 2px;
  padding: 0.2rem 0.55rem;
  white-space: nowrap;
}

.np-stat strong { color: var(--accent); }

.np-rank-body p { font-size: 1.02rem; margin: 0; }

/* ---- More stories / footer ---- */
.np-more {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 3px double var(--rule);
}

.np-section-label {
  font-family: var(--font-label);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin: 0 0 1rem;
}

.np-more-list { list-style: none; margin: 0; padding: 0; }

.np-more-list li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
  border-top: 1px solid var(--rule);
  font-family: var(--font-body);
}

#np-page .np-more-link { color: var(--ink); font-weight: 600; text-decoration: none; }
#np-page .np-more-link:hover { color: var(--accent); }

.np-more-date {
  font-family: var(--font-label);
  font-size: 0.76rem;
  color: var(--ink-faint);
  white-space: nowrap;
}

.np-empty {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--ink-soft);
  text-align: center;
}

.np-back {
  margin-top: 2.5rem;
  font-family: var(--font-label);
  font-size: 0.82rem;
  font-weight: 600;
}

#np-page .np-back a { color: var(--ink); text-decoration: none; }
#np-page .np-back a:hover { color: var(--accent); }

/* ---- Comments ("Letters to the Editor") ---- */
.np-comments {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 3px double var(--rule);
  max-width: 68ch;
}

.np-comment {
  padding: 1rem 0;
  border-top: 1px solid var(--rule);
}

.np-comment:first-of-type { border-top: none; padding-top: 0; }

.np-comment-meta {
  font-family: var(--font-label);
  font-size: 0.78rem;
  color: var(--ink-soft);
  margin: 0 0 0.3rem;
}

.np-comment-meta strong { color: var(--ink); }

.np-comment-date {
  color: var(--ink-faint);
  margin-left: 0.4rem;
}

.np-comment-body {
  font-family: var(--font-body);
  font-size: 0.98rem;
  white-space: pre-wrap;
  margin: 0 0 0.5rem;
}

.np-comment-empty {
  font-family: var(--font-body);
  font-style: italic;
  color: var(--ink-faint);
}

.np-comment-form {
  margin-top: 1.25rem;
}

/* The "Sign in" link inside gets its color from the general #np-page a rule
   near the top of this file - no need to repeat it here. */
.np-comment-signin {
  font-family: var(--font-label);
  font-size: 0.85rem;
  color: var(--ink-soft);
  margin-top: 1.25rem;
}

@media (max-width: 480px) {
  .np-rank-entry { grid-template-columns: 2.4rem 1fr; }
  .np-rank-num { font-size: 1.6rem; }
  .np-rank-entry--year { grid-template-columns: 4.25rem 1fr; }
}
