/* ==========================================================================
   CantBeNews — premium tabloid, dark mode (v1)
   Hand-written, no framework. Mobile-first.
   Playfair Display -> .headline / .wordmark
   Inter -> body / meta / comments
   ========================================================================== */

:root {
  --bg: #0E0E11;
  --magenta: #E5142B;
  --yellow: #FFD200;
  --ink: #F2EFE6;
  --rule: #26262B;

  /* derived tokens */
  --ink-dim: #9A9AA0;
  --ink-faint: #6B6B72;
  --panel: #16161A;
  --panel-2: #1C1C21;
  --magenta-ghost: rgba(229,20,43,0.14);
  --yellow-ghost: rgba(255,210,0,0.12);
  --mast-h: 58px;
  --maxw: 880px;

  --serif: "Anton", Impact, "Arial Narrow Bold", sans-serif;
  --sans: "Inter", system-ui, -apple-system, sans-serif;

  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.55;
  font-feature-settings: "kern" 1, "liga" 1;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  /* subtle atmosphere: a faint magenta glow bleeding from the top */
  background-image:
    radial-gradient(120% 60% at 50% -10%, rgba(229, 20, 43, 0.10), transparent 60%),
    repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.012) 0 1px, transparent 1px 3px);
  background-attachment: fixed;
  min-height: 100vh;
}

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

img { max-width: 100%; height: auto; display: block; }

::selection { background: var(--magenta); color: #fff; }

/* --------------------------------------------------------------------------
   MASTHEAD
   -------------------------------------------------------------------------- */
.masthead,
#masthead {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--mast-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 clamp(14px, 4vw, 28px);
  background: transparent;
  border-bottom: 1px solid transparent;
  transition: background-color .28s var(--ease), border-color .28s var(--ease),
              backdrop-filter .28s var(--ease);
}

#masthead.scrolled {
  background: var(--bg);
  border-bottom: 1px solid var(--rule);
  backdrop-filter: saturate(140%) blur(2px);
}

/* Wordmark — clean two-tone tabloid logo (no box, no movement) */
.wordmark {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(21px, 5vw, 26px);
  letter-spacing: -0.02em;
  line-height: 1;
  display: inline-flex;
  align-items: baseline;
  white-space: nowrap;
  text-transform: uppercase;
}
.w-true   { color: var(--ink); }
.w-celebz {
  color: var(--magenta);
  margin-left: .06em;
  transition: color .18s var(--ease);
}
.wordmark:hover .w-celebz { color: var(--yellow); }

/* Nav */
.topnav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 3vw, 22px);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.topnav a {
  color: var(--ink-dim);
  position: relative;
  padding: 4px 0;
  transition: color .18s var(--ease);
}
.topnav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .22s var(--ease);
}
.topnav a:hover { color: var(--ink); }
.topnav a:hover::after { transform: scaleX(1); }

/* --------------------------------------------------------------------------
   LAYOUT CONTAINER
   -------------------------------------------------------------------------- */
.wrap,
.main {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: calc(var(--mast-h) + 26px) clamp(16px, 5vw, 28px) 80px;
}

/* --------------------------------------------------------------------------
   STORY LIST — tight borderless rows
   -------------------------------------------------------------------------- */
.story-list {
  display: block;
  margin-top: 4px;
  border-top: 1px solid var(--rule);
}

.story-row {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--rule);
  transition: background-color .16s var(--ease);
}
.story-row:hover { background: rgba(255, 255, 255, 0.018); }

.story-thumb {
  flex: 0 0 80px;
  width: 80px;
  height: 80px;
  object-fit: cover;
  display: block;
  background: var(--panel-2);
  border: 2px solid transparent;
  filter: grayscale(20%) contrast(1.02);
  transition: border-color .16s var(--ease), filter .25s var(--ease);
}
.story-thumb.placeholder {
  /* empty square with faint diagonal hatching so it doesn't read as broken */
  background-color: var(--panel-2);
  background-image: repeating-linear-gradient(
    -45deg, var(--rule) 0 1px, transparent 1px 9px);
}
.story-row:hover .story-thumb {
  border-color: var(--magenta);
  filter: grayscale(0%) contrast(1.05);
}
/* alternate accent for visual rhythm */
.story-row:nth-child(even):hover .story-thumb { border-color: var(--yellow); }

.story-text {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}
.story-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(17px, 4.6vw, 20px);
  line-height: 1.18;
  letter-spacing: -0.01em;
  color: var(--ink);
  transition: color .16s var(--ease);
}
.story-row:hover .story-title { color: var(--magenta); }

.story-preview {
  font-size: 13.5px;
  line-height: 1.45;
  color: var(--ink-dim);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.story-meta {
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin-top: 2px;
}

/* --------------------------------------------------------------------------
   LEAD — featured splash for the top story
   -------------------------------------------------------------------------- */
.lead {
  display: block;
  position: relative;
  margin: 4px 0 30px;
  border: 1px solid var(--rule);
  overflow: hidden;
  background: var(--panel);
}
.lead-media {
  display: block;
  position: relative;
  aspect-ratio: 16 / 9;
  background-color: var(--panel-2);
  background-image: repeating-linear-gradient(-45deg, var(--rule) 0 1px, transparent 1px 12px);
}
.lead-media img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(8%) contrast(1.03) brightness(.92);
  transition: transform .5s var(--ease), filter .4s var(--ease);
}
.lead:hover .lead-media img { transform: scale(1.03); filter: grayscale(0) contrast(1.06) brightness(1); }
/* gradient scrim so the overlaid text stays readable */
.lead-media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(15,15,18,0.96) 8%, rgba(15,15,18,0.55) 42%, rgba(15,15,18,0) 75%);
}
.lead-body {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 1;
  display: flex; flex-direction: column; gap: 8px;
  padding: clamp(16px, 4vw, 28px);
}
.kicker {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 11px; font-weight: 800;
  letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--bg); background: var(--magenta);
  padding: 4px 10px;
}
.lead-title {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(24px, 6.4vw, 44px);
  line-height: 1.04; letter-spacing: -0.015em;
  color: #fff; margin: 0;
  transition: color .18s var(--ease);
}
.lead:hover .lead-title { color: var(--yellow); }
.lead-dek {
  font-size: clamp(14px, 2.4vw, 16px);
  line-height: 1.5; color: var(--ink);
  max-width: 60ch;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.lead-meta {
  font-size: 11.5px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--ink-dim);
}

/* --------------------------------------------------------------------------
   CARD GRID — recent stories
   -------------------------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1px;                         /* hairline gaps over the rule-colored bg */
  background: var(--rule);
  border: 1px solid var(--rule);
}
.story-card {
  display: flex; flex-direction: column;
  background: var(--bg);
  transition: background-color .18s var(--ease);
}
.story-card:hover { background: var(--panel); }
.thumb {
  position: relative; display: block;
  aspect-ratio: 4 / 3; overflow: hidden;
  background-color: var(--panel-2);
}
.thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  filter: grayscale(18%) contrast(1.02);
  transition: transform .4s var(--ease), filter .3s var(--ease);
}
.story-card:hover .thumb img { transform: scale(1.05); filter: grayscale(0) contrast(1.05); }
.thumb.placeholder {
  background-image: repeating-linear-gradient(-45deg, var(--rule) 0 1px, transparent 1px 10px);
}
.thumb .tag {
  position: absolute; top: 8px; left: 8px;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--bg); background: var(--yellow);
  padding: 3px 7px;
}
.card-body {
  display: flex; flex-direction: column; gap: 6px;
  padding: 13px 14px 16px; flex: 1;
}
.card-title {
  font-family: var(--serif);
  font-weight: 700; font-size: 17px;
  line-height: 1.2; letter-spacing: -0.01em;
  color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .16s var(--ease);
}
.story-card:hover .card-title { color: var(--magenta); }
.card-meta {
  margin-top: auto;
  font-size: 11px; font-weight: 600;
  letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   LOAD MORE
   -------------------------------------------------------------------------- */
.load-more {
  display: block;
  width: 100%;
  margin: 28px auto 0;
  padding: 14px 20px;
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--ink);
  background: transparent;
  border: 1px solid var(--rule);
  cursor: pointer;
  transition: color .18s var(--ease), background-color .18s var(--ease),
              border-color .18s var(--ease);
}
.load-more:hover {
  background: var(--yellow);
  color: var(--bg);
  border-color: var(--yellow);
}
.load-more:disabled { opacity: .5; cursor: progress; }

/* --------------------------------------------------------------------------
   SINGLE STORY
   -------------------------------------------------------------------------- */
.story-single { padding-top: 6px; }

.headline {
  font-family: var(--serif);
  font-weight: 900;
  font-size: clamp(32px, 8.5vw, 56px);
  line-height: 1.02;
  letter-spacing: -0.022em;
  margin: 0 0 22px;
  color: var(--ink);
  text-wrap: balance;
}

.hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 0 24px;
  border: 1px solid var(--rule);
  background: var(--panel-2);
}

/* Per-article media embeds */
.media-embed {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 0 24px;
  height: 0;
  padding-bottom: 56.25%;            /* 16:9 */
  overflow: hidden;
  border: 1px solid var(--rule);
  background: var(--panel-2);
}
.media-embed iframe {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: 0;
}
.media-embed.audio {                  /* Spotify compact player */
  padding-bottom: 0;
  height: 152px;
}
.media-card {
  display: inline-block;
  margin: 0 0 24px;
  padding: 10px 16px;
  background: var(--panel-2);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
}
.media-card:hover { border-color: var(--magenta); color: var(--magenta); }
/* When embedded inline within the story body, give it room to breathe between paragraphs. */
.qt-body .media-embed { margin: 22px 0; }
.qt-body .media-card { margin: 18px 0; }

/* Quick take — the AI summary */
.quick-take {
  position: relative;
  margin: 0 0 26px;
  padding: 16px 18px 16px 20px;
  background: var(--panel);
  border-left: 4px solid var(--magenta);
}
.quick-take > strong {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--magenta);
  margin-bottom: 6px;
}
.qt-body {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--ink);
}
.qt-body p { margin: 0 0 14px; }
.qt-body p:last-child { margin-bottom: 0; }
.qt-body h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 22px;
  line-height: 1.2;
  margin: 22px 0 10px;
  color: var(--ink);
}
.qt-body h3 { font-size: 17px; margin: 18px 0 8px; color: var(--ink); }
.qt-body ul, .qt-body ol { margin: 0 0 14px 20px; }
.qt-body li { margin: 0 0 6px; }

/* Story body */
.story-body {
  font-size: 17px;
  line-height: 1.7;
  color: #E6E6E2;
  margin: 0 0 26px;
}
.story-body p { margin: 0 0 1em; }

/* Sources — inline domain pills */
.sources {
  font-size: 13px;
  color: var(--ink-dim);
  margin: 0 0 18px;
  line-height: 2;
}
.sources strong {
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 11px;
  color: var(--ink-faint);
  margin-right: 6px;
}
.sources a {
  display: inline-block;
  margin: 0 6px 4px 0;
  padding: 2px 9px;
  background: var(--panel-2);
  border: 1px solid var(--rule);
  color: var(--ink);
  font-weight: 500;
  transition: border-color .15s var(--ease), color .15s var(--ease);
}
.sources a:hover { border-color: var(--magenta); color: var(--magenta); }

/* Byline meta */
.meta {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-faint);
  margin: 0 0 36px;
  padding-bottom: 24px;
  border-bottom: 2px solid var(--magenta);
}

/* --------------------------------------------------------------------------
   COMMENTS
   -------------------------------------------------------------------------- */
.comments { margin-top: 10px; }
.comments h2 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 26px;
  letter-spacing: -0.01em;
  margin: 0 0 18px;
}

.comment-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 34px;
  padding: 18px;
  background: var(--panel);
  border: 1px solid var(--rule);
}
.comment-form input[type="text"],
.comment-form textarea {
  width: 100%;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 11px 12px;
  transition: border-color .16s var(--ease);
}
.comment-form textarea { min-height: 110px; resize: vertical; }
.comment-form input::placeholder,
.comment-form textarea::placeholder { color: var(--ink-faint); }
.comment-form input:focus,
.comment-form textarea:focus {
  outline: none;
  border-color: var(--magenta);
}
.comment-form button {
  align-self: flex-start;
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--magenta);
  border: none;
  padding: 12px 22px;
  cursor: pointer;
  transition: background-color .16s var(--ease), transform .1s var(--ease);
}
.comment-form button:hover { background: var(--yellow); }
.comment-form button:active { transform: translateY(1px); }
.comment-form .note {
  margin: 2px 0 0;
  font-size: 12px;
  color: var(--ink-faint);
}

.comment {
  padding: 14px 0;
  border-bottom: 1px solid var(--rule);
}
.comment:last-child { border-bottom: none; }
.cname {
  font-weight: 700;
  font-size: 14px;
  color: var(--ink);
  margin-right: 8px;
}
.cdate {
  font-size: 11.5px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--ink-faint);
}
.comment p {
  margin: 6px 0 0;
  font-size: 15px;
  line-height: 1.6;
  color: #DEDEDA;
}

/* --------------------------------------------------------------------------
   FORM PAGES (auth, submit) — centered column so heading + form align
   -------------------------------------------------------------------------- */
.form-page { max-width: 460px; margin: 0 auto; }
.form-page.wide { max-width: 640px; }
.form-page .headline {
  font-size: clamp(26px, 6.5vw, 38px);
  letter-spacing: -0.02em;
  margin: 0 0 14px;
}
.form-page > p { font-size: 14px; color: var(--ink-dim); margin: 14px 0 0; }
.form-page > p a { color: var(--magenta); }
.form-page > p a:hover { color: var(--yellow); }

.auth-form,
.submit-form {
  margin: 16px 0 0;
  padding: 24px 22px;
  background: var(--panel);
  border: 1px solid var(--rule);
}

.auth-form label,
.submit-form label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-dim);
  margin: 16px 0 0;
}
.auth-form label:first-of-type,
.submit-form label:first-of-type { margin-top: 0; }

.auth-form input,
.auth-form textarea,
.auth-form select,
.submit-form input,
.submit-form textarea,
.submit-form select {
  display: block;
  width: 100%;
  margin-top: 7px;
  font-family: var(--sans);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg);
  border: 1px solid var(--rule);
  padding: 11px 12px;
  transition: border-color .16s var(--ease);
}
.submit-form textarea { min-height: 140px; resize: vertical; }
.auth-form input::placeholder,
.submit-form input::placeholder,
.submit-form textarea::placeholder { color: var(--ink-faint); }
.auth-form input:focus,
.auth-form textarea:focus,
.submit-form input:focus,
.submit-form textarea:focus,
.submit-form select:focus { outline: none; border-color: var(--magenta); }

.auth-form button,
.submit-form button {
  display: block; width: 100%;
  margin-top: 22px;
  font-family: var(--sans);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--bg); background: var(--magenta);
  border: none; padding: 13px 20px; cursor: pointer;
  transition: background-color .16s var(--ease), transform .1s var(--ease);
}
.auth-form button:hover,
.submit-form button:hover { background: var(--yellow); }
.auth-form button:active,
.submit-form button:active { transform: translateY(1px); }
.auth-form .note,
.submit-form .note { margin-top: 14px; }

/* --------------------------------------------------------------------------
   BUTTONS (downloads, copy, continue — outside form panels)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-block;
  font-family: var(--sans);
  font-size: 13px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--bg); background: var(--magenta);
  border: 1px solid var(--magenta);
  padding: 11px 18px; margin: 4px 8px 4px 0;
  cursor: pointer;
  transition: background-color .16s var(--ease), color .16s var(--ease), border-color .16s var(--ease);
}
.btn:hover { background: var(--yellow); border-color: var(--yellow); color: var(--bg); }
.btn:active { transform: translateY(1px); }
.btn.alt { background: transparent; color: var(--ink); }
.btn.alt:hover { background: var(--ink); color: var(--bg); border-color: var(--ink); }

/* --------------------------------------------------------------------------
   NOTES / MESSAGES / RECOVERY
   -------------------------------------------------------------------------- */
.note { font-size: 13px; line-height: 1.5; color: var(--ink-faint); }
.note a { color: var(--magenta); }
.note a:hover { color: var(--yellow); }

.err, .ok {
  font-size: 14px; font-weight: 600;
  padding: 11px 14px; margin: 0 0 16px;
  border-left: 4px solid;
}
.err { color: #FF7A93; background: rgba(255, 0, 60, 0.10); border-left-color: #FF2D55; }
.ok  { color: #6EE7A8; background: rgba(0, 200, 100, 0.10); border-left-color: #25C26B; }

.recovery-box {
  margin: 18px 0 8px;
  padding: 18px 18px 16px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--magenta);
}
.recovery-box p { margin: 0 0 10px; font-size: 14px; }
.recovery-box p strong { color: var(--ink-dim); font-weight: 600; }

.recovery-key {
  display: inline-block;
  font-family: "SFMono-Regular", ui-monospace, "Cascadia Code", Consolas, monospace;
  font-size: 15px; letter-spacing: 0.06em;
  word-break: break-all;
  color: var(--yellow);
  background: var(--bg);
  border: 1px dashed rgba(255, 210, 0, 0.5);
  padding: 4px 8px;
}

/* --------------------------------------------------------------------------
   LEGAL (privacy, terms)
   -------------------------------------------------------------------------- */
.legal { max-width: 720px; margin: 0 auto; }
.legal .headline {
  font-size: clamp(28px, 7vw, 44px); letter-spacing: -0.02em; margin: 0 0 10px;
}
.legal h2 {
  font-family: var(--serif); font-weight: 700; font-size: 22px;
  margin: 34px 0 10px; padding-bottom: 8px;
  border-bottom: 1px solid var(--rule); color: var(--ink);
}
.legal h3 {
  font-family: var(--sans); font-size: 13px; font-weight: 700;
  letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--magenta); margin: 22px 0 8px;
}
.legal p { color: var(--ink-dim); margin: 0 0 14px; line-height: 1.7; }
.legal ul { margin: 0 0 16px; padding-left: 22px; }
.legal li { color: var(--ink-dim); margin: 0 0 8px; line-height: 1.6; }
.legal li strong, .legal p strong { color: var(--ink); }
.legal a { color: var(--magenta); }
.legal a:hover { color: var(--yellow); }
.legal .last-updated {
  margin-top: 28px; padding-top: 14px;
  border-top: 1px solid var(--rule);
  font-size: 12px; letter-spacing: 0.05em; text-transform: uppercase;
  color: var(--ink-faint);
}

/* --------------------------------------------------------------------------
   ADMIN / MODERATION
   -------------------------------------------------------------------------- */
.admin-queues { margin-top: 4px; }

.modtabs {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  margin-bottom: 22px;
  border-bottom: 1px solid var(--rule);
}
.modtabs a, .modtabs button {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-dim);
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  padding: 10px 14px;
  cursor: pointer;
  transition: color .15s var(--ease), border-color .15s var(--ease);
}
.modtabs a:hover, .modtabs button:hover { color: var(--ink); }
.modtabs a.active, .modtabs .active {
  color: var(--ink);
  border-bottom-color: var(--magenta);
}

.mod-comment,
.mod-story {
  padding: 16px;
  margin-bottom: 12px;
  background: var(--panel);
  border: 1px solid var(--rule);
  border-left: 4px solid var(--yellow);
}
.mod-comment .cname,
.mod-story h3 {
  font-family: var(--serif);
  font-weight: 700;
}
.mod-story h3 { margin: 0 0 6px; font-size: 19px; }

.mod-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.mod-actions button {
  font-family: var(--sans);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--bg);
  background: var(--ink);
  border: none;
  padding: 9px 16px;
  cursor: pointer;
  transition: background-color .15s var(--ease), color .15s var(--ease),
              transform .1s var(--ease);
}
.mod-actions button:hover { background: var(--yellow); }
.mod-actions button:active { transform: translateY(1px); }
.mod-actions button.danger {
  color: #fff;
  background: #C0142E;
}
.mod-actions button.danger:hover { background: #FF2D55; }

/* --------------------------------------------------------------------------
   FOOTER
   -------------------------------------------------------------------------- */
.sitefoot {
  border-top: 1px solid var(--rule);
  margin-top: 40px;
  padding: 30px clamp(16px, 5vw, 28px) 50px;
  text-align: center;
}
.sitefoot p {
  max-width: var(--maxw);
  margin: 0 auto;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--ink-faint);
}
.sitefoot a { color: var(--ink-dim); }
.sitefoot a:hover { color: var(--magenta); }

/* --------------------------------------------------------------------------
   RESPONSIVE — small tablet+ refinements
   -------------------------------------------------------------------------- */
@media (min-width: 600px) {
  :root { --mast-h: 64px; }
  .story-thumb { flex-basis: 96px; width: 96px; height: 96px; }
  .story-row { gap: 20px; padding: 16px 6px; }
}

@media (min-width: 880px) {
  .headline { font-size: 60px; }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}

/* ==========================================================================
   CANTBENEWS IDENTITY — tabloid newsroom (Anton headlines + red breaking bar)
   ========================================================================== */
/* Anton is a single-weight condensed display face: drop the heavy weights and
   negative tracking Playfair used, and lean into shouty uppercase headlines. */
.wordmark { font-weight: 400; letter-spacing: .015em; font-size: clamp(23px, 5.6vw, 31px); }
.headline, .lead-title, .card-title, .story-title, .legal h2 {
  font-weight: 400;
  letter-spacing: .005em;
  text-transform: uppercase;
}
.headline { line-height: .98; }
.lead-title { line-height: .94; }
.card-title { font-size: 18.5px; line-height: 1.0; }

/* Masthead = solid "BREAKING NEWS" red bar (always on, white type) */
.masthead, #masthead {
  background: var(--magenta);
  border-bottom: 3px solid #0E0E11;
}
#masthead.scrolled {
  background: var(--magenta);
  border-bottom: 3px solid #0E0E11;
  backdrop-filter: none;
}
.wordmark .w-true, .wordmark .w-celebz { color: #fff; }
.wordmark:hover .w-celebz { color: var(--yellow); }
.topnav a { color: rgba(255,255,255,.82); }
.topnav a:hover { color: #fff; }
.topnav a::after { background: #fff; }

/* The kicker on the lead reads like a news chyron */
.kicker { background: #0E0E11; color: var(--yellow); }
