/* Woodley Leaves — NYT-inspired mockup styles */

:root {
  --ink: #121212;
  --muted: #666;
  --rule: #e2e2e2;
  --paper: #ffffff;
  --cream: #f7f5ef;
  --accent: #2e7d32;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.45;
}

a { color: inherit; text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Accessibility ===== */
/* Visible focus ring for keyboard users */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
[tabindex]:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 2px;
}

/* Visually-hidden utility — still available to screen readers */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Skip to main content link — hidden until focused */
.skip-link {
  position: absolute;
  top: -40px;
  left: 8px;
  background: var(--accent);
  color: #fff !important;
  padding: 10px 14px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  z-index: 10000;
  text-decoration: none;
  transition: top 0.15s;
}
.skip-link:focus { top: 8px; text-decoration: none; }

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .wl-splash { transition: opacity 0.01ms !important; }
}

/* ===== Top bar ===== */
.topbar {
  border-bottom: 1px solid var(--rule);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  color: var(--muted);
}
.topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 8px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.topbar a { margin-right: 14px; color: var(--accent); font-weight: 600; }

/* ===== Masthead ===== */
.masthead {
  text-align: center;
  padding: 18px 20px 8px;
  border-bottom: 1px solid var(--rule);
}
.masthead h1 {
  font-family: "Old Standard TT", "Times New Roman", serif;
  font-weight: 700;
  font-size: 64px;
  letter-spacing: -1px;
  margin: 0;
}
.masthead .dateline {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  color: var(--muted);
  margin-top: 6px;
  letter-spacing: 0.5px;
}

/* ===== Section nav ===== */
.sectionnav {
  border-bottom: 1px solid var(--rule);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}
.sectionnav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 22px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.sectionnav a.active { color: var(--accent); }
.sectionnav a.search-link {
  font-size: 14px;
  margin-left: 4px;
}

/* ===== Search page ===== */
.search-form-page {
  display: flex;
  gap: 8px;
  margin: 0 0 8px;
  flex-wrap: wrap;
}
.search-form-page input[type="search"] {
  flex: 1 1 280px;
  padding: 12px 14px;
  font-family: Georgia, serif;
  font-size: 17px;
  border: 1px solid var(--ink);
  background: #fff;
}
.search-form-page input[type="search"]:focus {
  outline: 2px solid var(--accent);
  outline-offset: -1px;
}
.search-form-page select {
  padding: 12px 10px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  border: 1px solid var(--rule);
  background: #fff;
}
.search-form-page .btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
}
.search-form-page .btn-primary:hover { filter: brightness(0.92); }

.search-tip {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 24px;
}
.search-empty {
  padding: 30px 20px;
  background: var(--cream);
  text-align: center;
  font-size: 15px;
  color: #333;
}
.search-result {
  border-bottom: 1px solid var(--rule);
  padding: 18px 0;
}
.search-result h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 4px 0 6px;
}
.search-result p {
  font-size: 15px;
  color: #333;
  margin: 0 0 6px;
}
.search-result mark {
  background: #fff0a8;
  padding: 1px 2px;
}

/* ===== Layout ===== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 20px 60px;
}

/* ===== Breaking news banner ===== */
.breaking-banner {
  background: var(--accent);
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
}
.breaking-banner .tag {
  background: #fff;
  color: var(--accent);
  padding: 2px 8px;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===== Breaking news popup ===== */
.popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
}
.popup-overlay.visible { display: flex; }
.popup {
  background: var(--paper);
  max-width: 480px;
  width: calc(100% - 40px);
  padding: 28px 28px 24px;
  position: relative;
  border-top: 4px solid var(--accent);
}
.popup .label {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
}
.popup h2 {
  font-size: 28px;
  margin: 8px 0 10px;
  line-height: 1.15;
}
.popup p {
  color: #333;
  font-size: 15px;
  margin: 0 0 16px;
}
.popup .popup-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  color: var(--muted);
}
.popup .popup-cta {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  border: 1px solid var(--ink);
  padding: 8px 14px;
}

/* ===== Homepage grid ===== */
.home-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1fr;
  gap: 28px;
}
@media (max-width: 900px) {
  .home-grid { grid-template-columns: 1fr; }
}

.lede h2 {
  font-size: 44px;
  line-height: 1.05;
  margin: 8px 0 10px;
  font-weight: 700;
}
.lede .summary {
  font-size: 17px;
  color: #333;
}
.lede img {
  width: 100%;
  display: block;
  margin-bottom: 10px;
}
.byline {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}
.byline-link { color: var(--ink); font-weight: 600; }
.byline-link:hover { color: var(--accent); }
.story {
  border-bottom: 1px solid var(--rule);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.story:last-child { border-bottom: none; }
.story h3 {
  font-size: 22px;
  line-height: 1.15;
  margin: 4px 0 6px;
}
.story p {
  font-size: 14px;
  color: #333;
  margin: 0;
}
.kicker {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 700;
}

/* ===== Section header (compact, used on utility pages) ===== */
.section-header {
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--rule);
  padding: 10px 0 8px;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.section-header h2 {
  font-size: 28px;
  margin: 0;
}
.section-header .see-all {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  color: var(--muted);
}

/* ===== Section hero (big display masthead for News/Features/Style/etc.) ===== */
.section-hero {
  text-align: center;
  padding: 40px 20px 32px;
  border-top: 4px solid var(--ink);
  border-bottom: 4px solid var(--ink);
  margin-bottom: 36px;
  background: linear-gradient(180deg, rgba(46, 125, 50, 0.05) 0%, transparent 100%);
}
.section-hero .kicker {
  color: var(--accent);
  letter-spacing: 2.5px;
  font-size: 12px;
}
.section-hero h2 {
  font-family: "Old Standard TT", Georgia, serif;
  font-size: clamp(44px, 8vw, 88px);
  line-height: 0.95;
  margin: 10px 0 14px;
  letter-spacing: -2px;
  font-weight: 700;
}
.section-hero-flourish {
  color: var(--accent);
  opacity: 0.7;
  margin: 8px auto 18px;
  display: flex;
  justify-content: center;
}
.section-hero-flourish svg {
  width: clamp(180px, 40%, 280px);
  height: auto;
  display: block;
}
.section-hero-deck {
  font-family: Georgia, serif;
  font-size: 17px;
  font-style: italic;
  color: #333;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.5;
}
/* Drop cap on the first paragraph of every article page (newspaper classic). */
#art-prose > p:first-of-type::first-letter {
  font-family: "Old Standard TT", Georgia, serif;
  font-size: 68px;
  font-weight: 700;
  color: var(--accent);
  float: left;
  line-height: 0.85;
  margin: 6px 10px 0 0;
  padding: 0;
}
@media (max-width: 520px) {
  #art-prose > p:first-of-type::first-letter { font-size: 54px; }
}

/* ===== Masthead ornaments — decorative marks flanking the paper's name. ===== */
.masthead {
  position: relative;
}
.masthead-ornament {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: var(--accent);
  opacity: 0.55;
  display: none;
  pointer-events: none;
}
.masthead-ornament svg { display: block; width: 72px; height: auto; }
.masthead-ornament.left { left: clamp(20px, 8vw, 140px); }
.masthead-ornament.right { right: clamp(20px, 8vw, 140px); transform: translateY(-50%) scaleX(-1); }
@media (min-width: 880px) { .masthead-ornament { display: block; } }

/* Inline text editor (editors only) — hover hints the element is editable. */
.wl-text-editable {
  cursor: text;
  transition: outline-color 0.1s, background-color 0.1s;
  outline: 1px dashed transparent;
  outline-offset: 4px;
  border-radius: 2px;
}
.wl-text-editable:hover {
  outline-color: var(--accent);
  background-color: rgba(46, 125, 50, 0.06);
}
.wl-text-editable:focus {
  outline: 2px solid var(--accent);
  outline-offset: 4px;
  background-color: rgba(46, 125, 50, 0.08);
}

/* ===== Ads ===== */
.ad {
  border: 1px dashed #bbb;
  background: var(--cream);
  padding: 18px 16px;
  text-align: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
  margin-bottom: 20px;
  color: var(--ink);
}
.ad .ad-label {
  font-size: 10px;
  color: var(--muted);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.ad h4 {
  font-family: Georgia, serif;
  font-size: 18px;
  margin: 0 0 6px;
}
.ad p {
  font-size: 13px;
  color: #333;
  margin: 0;
}
/* Button-styled (clickable) ad cards */
.ad.ad-button {
  display: block;
  width: 100%;
  cursor: pointer;
  transition: transform 0.1s, border-color 0.15s;
  position: relative;
  overflow: hidden;
}
.ad.ad-button:hover {
  transform: translateY(-2px);
  border-color: var(--accent);
  border-style: solid;
}
.ad.ad-button:hover h4 { color: var(--accent); }
.ad.ad-button .ad-text { position: relative; z-index: 1; }
.ad.ad-button .ad-thumb {
  width: 100%;
  aspect-ratio: 3 / 2;
  background-size: cover;
  background-position: center;
  background-color: #ece8df;
  margin: -18px -16px 12px;
  width: calc(100% + 32px);
}
.ad.ad-button .ad-expand-hint {
  display: inline-block;
  font-size: 10px;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 8px;
  opacity: 0;
  transition: opacity 0.15s;
}
.ad.ad-button:hover .ad-expand-hint { opacity: 1; }
.ad.ad-button:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

/* When an editor picks a dark card background, flip text colours for legibility. */
.ad.ad-button.ad-dark { color: #fff; border-color: rgba(255,255,255,0.3); }
.ad.ad-button.ad-dark .ad-label { color: rgba(255,255,255,0.8); }
.ad.ad-button.ad-dark h4,
.ad.ad-button.ad-dark p { color: #fff; }
.ad.ad-button.ad-dark .ad-expand-hint { color: #fff; }
.ad.ad-button.ad-dark:hover { border-color: #fff; }
.ad.ad-button.ad-dark:hover h4 { color: #fff; text-decoration: underline; }

/* Ad modal */
.ad-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  display: none;
  align-items: flex-start;
  justify-content: center;
  z-index: 220;
  padding: 40px 20px;
  overflow-y: auto;
}
.ad-modal-overlay.visible { display: flex; }
.ad-modal {
  background: #fff;
  max-width: 860px;
  width: 100%;
  padding: 28px 32px 26px;
  position: relative;
  font-family: "Helvetica Neue", Arial, sans-serif;
  border-top: 4px solid var(--accent);
}
.ad-modal-close {
  position: absolute;
  top: 10px; right: 14px;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--muted);
  cursor: pointer;
}
.ad-modal-label {
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 4px;
}
.ad-modal h2 {
  font-family: Georgia, serif;
  font-size: 30px;
  line-height: 1.15;
  margin: 0 0 8px;
}
.ad-modal-when {
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.ad-modal-poster {
  margin: 0 0 18px;
  background: #ece8df;
  max-height: 85vh;
  overflow: hidden;
  text-align: center;
}
.ad-modal-poster img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  max-height: 85vh;
  height: auto;
  object-fit: contain;
}
.ad-modal-details {
  font-family: Georgia, serif;
  font-size: 16px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0 0 14px;
}
.ad-modal-link {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  background: var(--accent);
  padding: 10px 18px;
  text-decoration: none;
}
.ad-modal-link:hover { filter: brightness(0.92); text-decoration: none; }

/* ===== Sports scoreboard ===== */
.scoreboard {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--rule);
}
.scoreboard-heading {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 12px;
  font-weight: 600;
}
.scoreboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}
.score-card {
  border: 1px solid var(--rule);
  border-left: 4px solid var(--rule);
  padding: 12px 14px;
  background: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.score-card.win { border-left-color: var(--accent); }
.score-card.loss { border-left-color: #888; }
.score-card.upcoming { border-left-color: var(--ink); background: var(--cream); }
.score-meta {
  font-size: 11px;
  letter-spacing: 0.5px;
  color: var(--muted);
  text-transform: uppercase;
  margin-bottom: 6px;
}
.score-line {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 2px;
}
.score-line.muted {
  color: var(--muted);
  font-weight: 400;
  font-size: 12px;
}
.score-line .pts { font-variant-numeric: tabular-nums; }
.score-tag {
  margin-top: 6px;
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ink);
}
.score-card.win .score-tag { color: var(--accent); }
.score-card.loss .score-tag { color: #595959; }

/* ===== Game of the Week ===== */
.game-of-week {
  background: var(--accent);
  color: #fff;
  padding: 28px 32px 30px;
  margin-bottom: 28px;
  position: relative;
}
.game-of-week .gotw-tag {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: #fff;
  color: var(--accent);
  display: inline-block;
  padding: 4px 10px;
  margin-bottom: 14px;
}
.game-of-week .gotw-kicker {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 4px;
}
.game-of-week .gotw-title {
  font-family: Georgia, serif;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.1;
  margin: 0 0 10px;
  font-weight: 700;
}
.game-of-week .gotw-vs {
  font-style: italic;
  opacity: 0.85;
  font-weight: 400;
}
.game-of-week .gotw-meta {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  margin-bottom: 6px;
}
.game-of-week .gotw-note {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  font-style: italic;
  opacity: 0.9;
  margin-bottom: 6px;
}
.game-of-week .gotw-theme {
  display: inline-block;
  background: #fff;
  color: var(--accent);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  margin: 6px 0 14px;
}
.game-of-week .gotw-link {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  border-bottom: 2px solid rgba(255,255,255,0.5);
  padding-bottom: 1px;
}
.game-of-week .gotw-link:hover { border-bottom-color: #fff; text-decoration: none; }

/* ===== Sports page: teams grid + weekly schedule ===== */
.sports-subsection {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--rule);
}
.sports-sub-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.sports-sub-head h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  margin: 0;
  border-bottom: none;
}
.sports-more-link {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.3px;
}
.sports-more-link.muted { color: var(--muted); font-weight: 400; }

.teams-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
  gap: 10px;
}
.team-card {
  border: 1px solid var(--rule);
  border-top: 4px solid var(--accent);
  padding: 12px 14px;
  background: #fff;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.1s, box-shadow 0.15s;
}
.team-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.06);
  text-decoration: none;
}
.team-card .team-sport {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--muted);
  margin-bottom: 4px;
}
.team-card h4 {
  font-family: Georgia, serif;
  font-size: 17px;
  margin: 0 0 10px;
  line-height: 1.2;
}
.team-card .team-record {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 4px;
}
.team-card .record-big {
  font-family: Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.team-card .record-pct {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  color: var(--muted);
}
.team-card .team-record-label {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 2px;
}


/* ===== Writer profile page ===== */
.writer-hero {
  padding: 8px 0 24px;
  border-bottom: 3px solid var(--ink);
  margin-bottom: 28px;
}
.writer-text h1 {
  font-family: Georgia, serif;
  font-size: 40px;
  line-height: 1.05;
  margin: 4px 0 4px;
}
.writer-text .kicker { margin-bottom: 4px; }
.writer-year {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.writer-articles-heading {
  font-family: Georgia, serif;
  font-size: 22px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
  margin: 0 0 18px;
}
.writer-articles-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.writer-articles-list li {
  padding: 16px 0;
  border-bottom: 1px solid var(--rule);
}
.writer-articles-list h3 {
  font-size: 22px;
  line-height: 1.2;
  margin: 4px 0 6px;
}
.writer-articles-list p {
  font-size: 15px;
  color: #333;
  margin: 0 0 6px;
}
/* ===== Individual team page ===== */
.back-link {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 14px;
}
.team-hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 30px;
  align-items: center;
  padding-bottom: 24px;
  border-bottom: 3px solid var(--ink);
  margin-bottom: 28px;
}
@media (max-width: 700px) { .team-hero { grid-template-columns: 1fr; } }
.team-hero h1 {
  font-size: 52px;
  line-height: 1.05;
  margin: 6px 0 8px;
  letter-spacing: -1px;
}
.team-hero .kicker { margin-bottom: 4px; }
.team-hero .team-meta {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  color: var(--muted);
}
.record-block {
  text-align: center;
  padding: 14px 26px;
  background: var(--accent);
  color: #fff;
  min-width: 160px;
}
.record-block .record-label {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 2px;
  opacity: 0.85;
}
.record-block .record-number {
  font-family: Georgia, serif;
  font-size: 48px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
  margin-top: 4px;
}
.record-block .record-sub {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  opacity: 0.9;
  margin-top: 4px;
}

.game-table {
  width: 100%;
  border-collapse: collapse;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.game-table th, .game-table td {
  text-align: left;
  padding: 10px 8px;
  border-bottom: 1px solid var(--rule);
  font-size: 14px;
}
.game-table th {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  border-bottom: 2px solid var(--ink);
}
.game-table .game-score {
  font-family: Georgia, serif;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.game-table .game-note {
  color: var(--muted);
  font-size: 12px;
}

.result-badge {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 12px;
  padding: 3px 10px;
  min-width: 26px;
  text-align: center;
}
.result-badge.result-w { background: var(--accent); color: #fff; }
.result-badge.result-l { background: #ddd; color: #444; }
.result-badge.result-t { background: #fff0a8; color: #6b5100; }

/* ===== Brackets ===== */
.bracket-section {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--rule);
}
.bracket-title {
  font-family: Georgia, serif;
  font-size: 24px;
  margin: 0 0 4px;
}
.bracket-meta {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 20px;
  letter-spacing: 0.5px;
}
.bracket-tree {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  padding: 8px 0 4px;
}
.bracket-round {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}
.bracket-round-title {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  margin-bottom: 12px;
  text-align: center;
}
.bracket-matches {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  gap: 14px;
  flex: 1;
}
.bracket-match {
  border: 1px solid var(--rule);
  background: #fff;
  width: 220px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  overflow: hidden;
}
.bracket-match.pending {
  background: var(--cream);
  border-style: dashed;
}
.bracket-team {
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 1px solid var(--rule);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.bracket-team:last-child { border-bottom: none; }
.bracket-team.won {
  background: var(--accent);
  color: #fff;
}
.bracket-team.lost {
  color: var(--muted);
  font-weight: 400;
}
.bracket-team.home-team:not(.won):not(.lost) {
  background: #fff8d6;
}
.bracket-team.home-team.won {
  background: var(--accent);
  box-shadow: inset 4px 0 0 #ffce47;
}
.bracket-score {
  font-family: Georgia, serif;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.bracket-result {
  font-size: 11px;
  color: var(--muted);
  padding: 6px 12px;
  background: #fafafa;
  border-top: 1px solid var(--rule);
}
.bracket-scheduled {
  font-size: 11px;
  color: var(--muted);
  padding: 6px 12px;
  border-top: 1px solid var(--rule);
}

/* ===== Section page grid ===== */
.section-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}
@media (max-width: 900px) {
  .section-grid { grid-template-columns: 1fr; }
}
.article-list .story h3 { font-size: 26px; }
.article-list .story p { font-size: 15px; margin-top: 6px; }

/* ===== Article page ===== */
.article-page {
  max-width: 720px;
  margin: 0 auto;
}
.article-page .kicker { margin-bottom: 6px; }
.article-page h1 {
  font-size: 42px;
  line-height: 1.1;
  margin: 4px 0 14px;
}
.article-page .deck {
  font-size: 19px;
  color: #333;
  margin-bottom: 18px;
}
.article-page .byline { margin-bottom: 22px; }
.article-page img {
  width: 100%;
  display: block;
  margin: 0 0 10px;
}
.article-page .caption {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 24px;
}
.article-page p {
  font-size: 18px;
  line-height: 1.65;
  margin: 0 0 18px;
}

/* Homepage video module */
.home-video-module {
  margin-top: 30px;
}
.home-video-layout {
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 28px;
}
@media (max-width: 820px) {
  .home-video-layout { grid-template-columns: 1fr; }
}
.home-video-featured {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.1s;
}
.home-video-featured:hover { text-decoration: none; transform: translateY(-2px); }
.home-video-featured:hover h3 { text-decoration: underline; }
.home-video-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
  margin-bottom: 12px;
}
.home-video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.home-video-text .kicker { margin-bottom: 6px; }
.home-video-text h3 {
  font-family: Georgia, serif;
  font-size: 26px;
  line-height: 1.15;
  margin: 0 0 8px;
}
.home-video-text p {
  font-size: 15px;
  color: #333;
  line-height: 1.45;
  margin: 0 0 8px;
}

/* Video section */
.video-grid {
  display: grid;
  gap: 18px;
}
.video-grid.wide {
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
}
.video-card {
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.1s;
}
.video-card:hover {
  text-decoration: none;
  transform: translateY(-2px);
}
.video-card:hover h4 { text-decoration: underline; }

.video-thumb {
  position: relative;
  background: #000;
  overflow: hidden;
}
.video-grid.wide .video-thumb { aspect-ratio: 16 / 9; }
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #2a2a2a, #555);
}
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 42px;
  color: #fff;
  background: rgba(0,0,0,0.2);
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
  pointer-events: none;
  transition: background 0.15s;
}
.video-card:hover .video-play { background: rgba(0,0,0,0.35); }
.video-duration {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,0.75);
  color: #fff;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 6px;
  letter-spacing: 0.5px;
}
.video-body {
  padding: 10px 0 0;
}
.video-body h4 {
  font-family: Georgia, serif;
  font-size: 17px;
  line-height: 1.25;
  margin: 4px 0 6px;
}

/* Video embed (on video.html) */
.video-embed-wide {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin: 18px 0 10px;
  background: #000;
  padding-bottom: 56.25%;
}
.video-embed-wide iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-description {
  font-size: 16px;
  color: #333;
  line-height: 1.5;
  max-width: 680px;
}

/* Gallery */
#art-gallery { margin: 28px 0 12px; }
.gallery-heading {
  font-family: Georgia, serif;
  font-size: 18px;
  margin: 0 0 10px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 6px;
}
.gallery-thumb {
  padding: 0;
  border: 0;
  background: none;
  cursor: pointer;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}
.gallery-thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.2s;
}
.gallery-thumb:hover img { transform: scale(1.04); }

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.9);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 250;
  padding: 40px;
}
.lightbox-overlay.visible { display: flex; }
.lightbox-overlay .lb-img {
  max-width: 100%;
  max-height: 80vh;
  display: block;
  object-fit: contain;
}
.lightbox-overlay .lb-caption {
  position: absolute;
  bottom: 60px;
  left: 0; right: 0;
  color: #fff;
  text-align: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  padding: 0 20px;
}
.lightbox-overlay .lb-count {
  position: absolute;
  bottom: 20px;
  left: 0; right: 0;
  text-align: center;
  color: rgba(255,255,255,0.7);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  letter-spacing: 1px;
}
.lightbox-overlay button {
  position: absolute;
  background: rgba(0,0,0,0.4);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 30px;
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
}
.lightbox-overlay .lb-close { top: 20px; right: 20px; }
.lightbox-overlay .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-overlay .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-overlay button:hover { background: rgba(0,0,0,0.7); }

/* Generic movable element (cross-page) — row/column layout system */
.wl-row {
  display: flex;
  gap: 22px;
  margin-bottom: 20px;
  align-items: flex-start;
}
.wl-row > * {
  flex: 1 1 0;
  min-width: 0;
}
.wl-row.wl-row-single { justify-content: center; }
.wl-row.wl-row-single > * { flex: 1 1 0; }
/* Section pages: article list should be about twice the width of the aside
   when they share a row (matches the old 2fr / 1fr grid). */
.wl-row > .article-list { flex: 2 1 0; }
.wl-row > aside { flex: 1 1 0; }

/* Columns inside a row — each column may stack multiple blocks vertically. */
.wl-col {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
/* A column that holds the article list behaves like the old 2-col grid: wider. */
.wl-row > .wl-col.wl-col-wide { flex: 2 1 0; }
/* Pure ad columns (single ad or stacked ads) keep a narrow sidebar width. */
.wl-row > .wl-col.wl-col-ad { max-width: 340px; }
.wl-row.wl-row-single > .wl-col.wl-col-ad { flex: 0 1 340px; }
.wl-row.wl-row-single > .wl-col.wl-col-wide { flex: 1 1 0; max-width: none; }

/* Row-gap drop zones — only visible while dragging in edit mode. */
.wl-row-gap { height: 0; }
body.wl-layout-edit .wl-row-gap {
  height: 12px;
  margin: 4px 0;
  border-radius: 3px;
  transition: background 0.15s, height 0.15s;
}
body.wl-layout-edit .wl-row-gap.wl-row-gap-active {
  background: rgba(46,125,50,0.28);
  height: 24px;
}

@media (max-width: 720px) {
  .wl-row { flex-direction: column; }
  .wl-row > * { width: 100%; }
  .wl-row > .wl-col { max-width: none; }
}

.wl-move-controls {
  display: none;
  position: absolute;
  top: 4px;
  left: 4px;
  background: var(--accent);
  color: #fff;
  padding: 4px 8px;
  z-index: 30;
  gap: 6px;
  align-items: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}
body.wl-layout-edit .wl-move-controls { display: flex; }
body.wl-layout-edit [data-move-key] {
  position: relative;
  outline: 2px dashed var(--accent);
  outline-offset: 4px;
  cursor: grab;
}
body.wl-layout-edit [data-move-key].wl-dragging {
  opacity: 0.4;
  cursor: grabbing;
}
.wl-move-controls .wl-move-label {
  text-transform: capitalize;
  letter-spacing: 0.3px;
  max-width: 160px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.wl-move-controls .wl-mc-handle {
  padding-left: 4px;
  border-left: 1px solid rgba(255,255,255,0.3);
  letter-spacing: -2px;
  cursor: grab;
  user-select: none;
}

/* Drop indicator bar, shown during drag on the target edge */
.wl-drop-indicator {
  position: fixed;
  background: var(--accent);
  z-index: 9999;
  pointer-events: none;
  display: none;
  border-radius: 2px;
  box-shadow: 0 0 12px rgba(46,125,50,0.6);
}

/* Reset button sits just above the Edit layout toggle */
.wl-layout-reset {
  position: fixed;
  bottom: 72px;
  right: 22px;
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--ink);
  padding: 8px 14px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  border-radius: 999px;
}
.wl-layout-reset:hover { background: var(--cream); }

/* ===== In-place layout editor (editors only) ===== */
.wl-block { position: relative; }

.wl-block-controls {
  position: absolute;
  top: -2px;
  right: -2px;
  background: var(--accent);
  color: #fff;
  padding: 4px 6px;
  z-index: 30;
  display: none;
  gap: 6px;
  align-items: center;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  max-width: calc(100% - 4px);
}
body.wl-layout-edit .wl-block-controls { display: flex; }
body.wl-layout-edit .wl-block {
  outline: 2px dashed var(--accent);
  outline-offset: 2px;
  min-height: 36px;
}
.wl-block-controls .wl-block-label {
  max-width: 140px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  letter-spacing: 0.3px;
}
.wl-block-controls .wl-ctl {
  background: rgba(255,255,255,0.18);
  color: #fff;
  border: none;
  padding: 2px 8px;
  cursor: pointer;
  font: inherit;
  line-height: 1.2;
  font-weight: 700;
}
.wl-block-controls .wl-ctl:hover:not(:disabled) { background: rgba(255,255,255,0.35); }
.wl-block-controls .wl-ctl:disabled { opacity: 0.35; cursor: default; }
.wl-block-controls .wl-ctl-zone {
  background: #fff;
  color: var(--ink);
  border: none;
  padding: 2px 4px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  text-transform: capitalize;
}

.wl-layout-toggle {
  position: fixed;
  bottom: 22px;
  right: 22px;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 12px 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  z-index: 50;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  border-radius: 999px;
}
.wl-layout-toggle:hover { filter: brightness(0.92); }
body.wl-layout-edit .wl-layout-toggle { background: #c9b458; }

/* When in edit mode, subtly highlight the zones so it's clear where a block
   lives and where it can go. */
body.wl-layout-edit [data-zone]:empty::after {
  content: "Empty zone — move blocks here";
  display: block;
  padding: 24px 12px;
  text-align: center;
  color: var(--muted);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-style: italic;
  border: 2px dashed var(--rule);
}

/* Homepage layout (single column — main content fills the page) */
.home-layout { display: block; }
.home-main { min-width: 0; }

/* Trending widget */
.trending-widget {
  padding: 16px 18px;
  background: var(--cream);
  margin-bottom: 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.trending-heading {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin: 0 0 12px;
}
.trending-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: trending;
}
.trending-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--rule);
  align-items: flex-start;
}
.trending-list li:last-child { border-bottom: none; }
.trending-list .trending-rank {
  font-family: Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  line-height: 1;
  min-width: 22px;
}
.trending-list a {
  color: inherit;
  text-decoration: none;
  flex: 1;
}
.trending-list a:hover .trending-title { text-decoration: underline; }
.trending-list .trending-title {
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.3;
  color: var(--ink);
  margin-top: 2px;
}
.trending-list .kicker { font-size: 10px; }

/* Tags */
.article-tags {
  margin: 28px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.tag-chip {
  display: inline-block;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 0.5px;
  text-transform: lowercase;
  padding: 4px 10px;
  background: var(--cream);
  color: var(--ink);
  border: 1px solid var(--rule);
  border-radius: 999px;
  text-decoration: none;
}
.tag-chip::before { content: "#"; color: var(--muted); margin-right: 2px; }
.tag-chip:hover { background: var(--accent); color: #fff; border-color: var(--accent); text-decoration: none; }
.tag-chip:hover::before { color: rgba(255,255,255,0.7); }
.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 14px 0;
}
.tag-chip .tag-count {
  background: var(--rule);
  color: var(--muted);
  padding: 0 6px;
  margin-left: 4px;
  border-radius: 999px;
  font-size: 10px;
}

/* Comments */
.comments-section {
  margin-top: 44px;
  padding-top: 24px;
  border-top: 3px solid var(--ink);
}
.comments-heading {
  font-family: Georgia, serif;
  font-size: 22px;
  margin: 0 0 18px;
}
.comments-prompt {
  background: var(--cream);
  padding: 16px 18px;
  margin-bottom: 16px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}
.comments-prompt p { margin: 0; font-size: 14px; }
.comments-prompt .btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 14px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.comments-form {
  background: var(--cream);
  padding: 14px 16px;
  margin-bottom: 18px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.comments-form .comments-signed-as {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 8px;
}
.comments-form textarea {
  width: 100%;
  border: 1px solid var(--rule);
  padding: 10px 12px;
  font-family: inherit;
  font-size: 14px;
  background: var(--paper);
  color: var(--ink);
  box-sizing: border-box;
  resize: vertical;
  min-height: 70px;
}
.comments-form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.comments-form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
  gap: 12px;
  flex-wrap: wrap;
}
.comments-form .btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 8px 16px;
  font-family: inherit;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
}
.comments-form .btn-primary:hover { filter: brightness(0.92); }
.comments-error {
  color: #b8002a;
  font-size: 13px;
  min-height: 18px;
}

.comments-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.comment-row {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.comment-row:last-child { border-bottom: none; }
.comment-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
  font-size: 13px;
}
.comment-author { font-weight: 700; color: var(--ink); }
.comment-time { color: var(--muted); font-size: 12px; }
.comment-delete {
  margin-left: auto;
  background: none;
  border: 1px solid var(--rule);
  color: var(--muted);
  font-family: inherit;
  font-size: 11px;
  padding: 3px 8px;
  cursor: pointer;
}
.comment-delete:hover { color: #b8002a; border-color: #b8002a; }
.comment-body {
  font-family: Georgia, serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink);
}
.comments-empty {
  color: var(--muted);
  font-style: italic;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 14px;
  padding: 12px 0;
}

.comment-reply-btn {
  background: none;
  border: none;
  color: var(--accent);
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 0 0;
  cursor: pointer;
  margin-top: 4px;
}
.comment-reply-btn:hover { text-decoration: underline; }

.comment-reply-compose:empty { display: none; }
.comment-reply-compose {
  margin: 10px 0 4px;
}
.reply-form {
  background: var(--cream);
  padding: 10px 12px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.reply-form textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 10px;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink);
  font-family: inherit;
  font-size: 13px;
  resize: vertical;
}
.reply-form textarea:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.reply-form-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 8px;
}
.reply-form .btn-cancel {
  background: none;
  border: 1px solid var(--rule);
  color: var(--muted);
  font-family: inherit;
  font-size: 12px;
  padding: 6px 12px;
  cursor: pointer;
}
.reply-form .btn-primary {
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: inherit;
  font-weight: 600;
  font-size: 12px;
  padding: 6px 12px;
  cursor: pointer;
}

.comment-replies {
  list-style: none;
  padding: 0 0 0 18px;
  margin: 12px 0 0;
  border-left: 2px solid var(--rule);
}
.comment-row.reply {
  padding: 10px 0 10px 14px;
  border-bottom: 1px solid var(--rule);
}
.comment-row.reply:last-child { border-bottom: none; }
.comment-row.reply .comment-body {
  font-size: 14px;
}

.related-articles {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 3px solid var(--ink);
}
.related-articles .related-heading {
  font-family: Georgia, serif;
  font-size: 22px;
  margin: 0 0 18px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 22px;
}
.related-card {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 0;
}
.related-card:hover { text-decoration: none; }
.related-card:hover h4 { text-decoration: underline; }
.related-card h4 {
  font-family: Georgia, serif;
  font-size: 18px;
  line-height: 1.25;
  margin: 4px 0 6px;
}
.related-card p {
  font-size: 14px;
  color: #333;
  margin: 0 0 6px;
  line-height: 1.4;
}

/* Card thumbnails (section pages + homepage cards) */
.card-photo {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
}
.card-video {
  position: relative;
  margin-bottom: 10px;
}
.card-video .card-photo { margin-bottom: 0; }
.card-video .play-icon {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
  color: #fff;
  text-shadow: 0 0 10px rgba(0,0,0,0.6);
  background: rgba(0,0,0,0.15);
  pointer-events: none;
  transition: background 0.15s;
}
.card-video:hover .play-icon { background: rgba(0,0,0,0.3); }

.video-embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  margin: 0 0 10px;
  background: #000;
}
.video-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.article-photo {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 0 10px;
}
.article-audio {
  margin: 14px 0 18px;
}
.article-audio .audio-play {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px 10px 14px;
  background: var(--cream);
  border: 1px solid var(--rule);
  border-radius: 999px;
  cursor: pointer;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
}
.article-audio .audio-play:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.article-audio .audio-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 12px;
}
.article-audio .audio-play:hover .audio-icon { background: #fff; color: var(--accent); }
.article-audio .audio-labels {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.1;
}
.article-audio .audio-label {
  font-size: 13px;
  font-weight: 600;
}
.article-audio .audio-duration {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.3px;
}
.article-audio .audio-play:hover .audio-duration { color: rgba(255,255,255,0.85); }

.article-actions {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin: 0 0 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--rule);
}
.share-row {
  display: flex;
  gap: 8px;
  margin-left: auto;
}
.share-btn {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  background: none;
  border: 1px solid var(--rule);
  cursor: pointer;
  color: var(--ink);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}
.share-btn:hover { background: var(--cream); text-decoration: none; }

/* ===== Footer ===== */
footer {
  background: var(--accent);
  color: #fff;
  padding: 24px 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  text-align: center;
  line-height: 1.7;
}
footer a {
  color: #fff;
  text-decoration: underline;
}
footer a:hover { opacity: 0.85; }

/* ===== Splash screen ===== */
.wl-splash {
  position: fixed;
  inset: 0;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  opacity: 1;
  overflow: hidden;
  transition: opacity 0.7s ease;
}
.wl-splash.fade-out { opacity: 0; pointer-events: none; }
.wl-splash-stack {
  text-align: center;
  color: #fff;
}

.wl-splash-mark {
  font-family: "Old Standard TT", "Times New Roman", serif;
  font-size: clamp(96px, 18vw, 240px);
  font-weight: 700;
  line-height: 0.9;
  letter-spacing: -4px;
  opacity: 0;
  animation: splash-fade-in 0.8s ease-out forwards;
}
@keyframes splash-fade-in {
  0%   { opacity: 0; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* "The Woodley Leaves" types out one letter at a time. Each .wl-splash-letter
   carries an inline animation-delay that staggers its fade-in. */
.wl-splash-sub {
  font-family: "Old Standard TT", "Times New Roman", serif;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(22px, 4vw, 48px);
  margin-top: 18px;
  white-space: nowrap;
}
.wl-splash-letter,
.wl-splash-space {
  display: inline-block;
  opacity: 0;
  animation-name: splash-letter-type;
  animation-duration: 0.25s;
  animation-timing-function: ease-out;
  animation-fill-mode: forwards;
}
.wl-splash-space { width: 0.35em; }
@keyframes splash-letter-type {
  0%   { opacity: 0; transform: translateY(4px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ===== Account / auth ===== */
.topbar-account a { color: var(--accent); font-weight: 600; }
.wl-writers-link { font-style: italic; color: var(--accent) !important; font-weight: 600; }

.wl-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 200;
}
.wl-modal-overlay.visible { display: flex; }
.wl-modal {
  background: #fff;
  padding: 28px 28px 22px;
  width: calc(100% - 40px);
  max-width: 380px;
  position: relative;
  border-top: 4px solid var(--accent);
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.wl-modal h2 {
  font-family: Georgia, serif;
  font-size: 26px;
  margin: 0 0 6px;
}
.wl-modal .wl-demo-note {
  font-size: 12px;
  color: var(--muted);
  margin: 0 0 14px;
}
.wl-modal label {
  display: block;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-bottom: 12px;
}
.wl-modal input {
  display: block;
  width: 100%;
  padding: 8px 10px;
  margin-top: 4px;
  border: 1px solid var(--rule);
  font-family: inherit;
  font-size: 14px;
  background: #fafafa;
  box-sizing: border-box;
}
.wl-modal input:focus { outline: 2px solid var(--accent); border-color: var(--accent); }
.wl-modal .wl-error {
  color: #b8002a;
  font-size: 13px;
  min-height: 18px;
  margin-bottom: 8px;
}
.wl-modal .wl-submit {
  background: var(--accent);
  color: #fff;
  border: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  padding: 10px 16px;
  cursor: pointer;
  width: 100%;
}
.wl-modal .wl-submit:hover { filter: brightness(0.92); }
.wl-modal .wl-alt {
  margin-top: 12px;
  font-size: 13px;
  color: var(--muted);
}
.wl-modal .wl-alt a { color: var(--accent); font-weight: 600; }
.wl-modal-close {
  position: absolute;
  top: 8px; right: 12px;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--muted);
  cursor: pointer;
}

/* Bookmark button */
.bookmark-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid var(--ink);
  padding: 6px 12px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: var(--ink);
}
.bookmark-btn:hover { background: var(--cream); }
.bookmark-btn.saved {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.bookmark-btn .star { font-size: 14px; }

/* Account page */
.account-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  margin-top: 10px;
}
@media (max-width: 820px) { .account-grid { grid-template-columns: 1fr; } }
.account-grid h3 {
  font-family: Georgia, serif;
  font-size: 22px;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 4px;
  margin: 0 0 14px;
}
.account-grid h4 {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin: 20px 0 10px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
}
.stat {
  text-align: center;
  padding: 10px 6px;
  background: var(--cream);
}
.stat-num {
  font-family: Georgia, serif;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.1;
}
.stat-label {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--muted);
  margin-top: 4px;
}

.dist-row {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: center;
  gap: 8px;
  margin-bottom: 4px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 13px;
}
.dist-bar {
  background: var(--rule);
  height: 22px;
  position: relative;
}
.dist-bar .fill {
  background: var(--accent);
  height: 100%;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-right: 8px;
  font-weight: 600;
  min-width: 26px;
  box-sizing: border-box;
  transition: width 0.4s ease;
}

.bookmark-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.bookmark-list li {
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.bookmark-list .bm-section {
  font-family: "Helvetica Neue", Arial, sans-serif;
  font-size: 11px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 700;
  margin-bottom: 2px;
}
.bookmark-list .bm-title {
  font-size: 17px;
  line-height: 1.3;
}
.bookmark-list .bm-remove {
  background: none;
  border: none;
  font-size: 12px;
  color: var(--muted);
  cursor: pointer;
  font-family: "Helvetica Neue", Arial, sans-serif;
}
.bookmark-list .bm-remove:hover { color: var(--accent); }
.bookmark-empty, .account-prompt {
  padding: 20px;
  background: var(--cream);
  font-size: 15px;
  color: #333;
}

/* ===== Page flourish (decorative filler) ===== */
.page-flourish {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--accent);
  opacity: 0.7;
  margin: 48px auto 20px;
  text-align: center;
}
.page-flourish svg {
  width: 100px;
  height: auto;
  display: block;
}
.page-flourish.flourish-large svg { width: 160px; }
.page-flourish.flourish-small svg { width: 60px; }
.page-flourish-caption {
  font-family: Georgia, serif;
  font-style: italic;
  font-size: 13px;
  color: var(--muted);
  letter-spacing: 0.2px;
}
@media (prefers-reduced-motion: no-preference) {
  .page-flourish svg path { animation: flourish-draw 1.2s ease-out both; }
}
@keyframes flourish-draw {
  0%   { stroke-dasharray: 300; stroke-dashoffset: 300; opacity: 0; }
  100% { stroke-dasharray: 300; stroke-dashoffset: 0;   opacity: 1; }
}

/* Placeholder image boxes (no real images in mockup) */
.photo {
  background: #ece8df;
  aspect-ratio: 3 / 2;
}
.photo.tall { aspect-ratio: 3 / 4; }
.photo.wide { aspect-ratio: 16 / 9; }
