/* ============================================================
   Razor Shark Hub — Vintage Analog / Retro Film Theme
   Palette: #f5e6c8 (cream) / #d4a574 (amber) / #262117 (ink)
   ============================================================ */


/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --cream: #f5e6c8;
  --amber: #d4a574;
  --ink: #262117;
  --ink-light: #3d3323;
  --ink-mid: #5a4d38;
  --amber-dark: #b8855a;
  --amber-pale: #e8c99a;
  --card-radius: 18px;
  --font: 'Noto Sans SC', system-ui, -apple-system, sans-serif;
  --max-content: 780px;
  --max-wide: 1200px;
  --header-height: 100px;
  --transition: 0.22s ease;
}

html {
  font-size: 17px;
  line-height: 1.65;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background-color: var(--ink);
  color: var(--cream);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
}

/* ── Film Grain Overlay ── */
.grain-overlay {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.045;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='grain'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23grain)' opacity='1'/%3E%3C/svg%3E");
  background-size: 200px 200px;
  animation: grainShift 0.12s steps(1) infinite;
}

@keyframes grainShift {
  0%   { background-position: 0 0; }
  25%  { background-position: 40px 60px; }
  50%  { background-position: -30px 20px; }
  75%  { background-position: 60px -40px; }
  100% { background-position: 10px 80px; }
}

/* ── Light Leak ── */
.lightleak {
  position: fixed;
  top: -20%;
  right: -10%;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(212,165,116,0.08) 0%, rgba(245,230,200,0.04) 40%, transparent 70%);
  pointer-events: none;
  z-index: 1;
  animation: leakPulse 8s ease-in-out infinite alternate;
}

@keyframes leakPulse {
  from { opacity: 0.6; transform: scale(1) translate(0,0); }
  to   { opacity: 1; transform: scale(1.08) translate(-2%, 3%); }
}

@media (prefers-reduced-motion: reduce) {
  .grain-overlay { animation: none; }
  .lightleak { animation: none; }
}

/* ── Announce Strip ── */
.announce-strip {
  background: var(--ink-light);
  color: var(--amber);
  text-align: center;
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  padding: 5px 16px;
  border-bottom: 1px solid rgba(212,165,116,0.18);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ── Site Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 500;
  background: rgba(38,33,23,0.97);
  border-bottom: 1px solid rgba(212,165,116,0.22);
  backdrop-filter: blur(6px);
}

.header-inner {
  display: grid;
  grid-template-columns: 44px 1fr auto;
  align-items: center;
  gap: 8px;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 10px 16px;
  min-height: 62px;
  position: relative;
}

/* Brand centered on desktop via absolute positioning trick */
.brand-center {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 1;
}

.brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 6px;
  filter: sepia(0.3) contrast(1.1);
}

.brand-name {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--cream);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.brand-name:hover { color: var(--amber); }

/* ── Nav Toggle (mobile) ── */
.nav-toggle {
  display: none;
  background: none;
  border: 1.5px solid rgba(212,165,116,0.45);
  border-radius: 6px;
  width: 44px;
  height: 44px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  padding: 8px;
  flex-shrink: 0;
  z-index: 2;
}

.burger,
.burger::before,
.burger::after {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--amber);
  border-radius: 1px;
  transition: transform var(--transition), opacity var(--transition);
}

.burger { position: relative; }
.burger::before,
.burger::after {
  content: '';
  position: absolute;
  left: 0;
}
.burger::before { top: -6px; }
.burger::after  { top:  6px; }

.nav-toggle[aria-expanded="true"] .burger { background: transparent; }
.nav-toggle[aria-expanded="true"] .burger::before { transform: rotate(45deg) translate(4px,4px); }
.nav-toggle[aria-expanded="true"] .burger::after  { transform: rotate(-45deg) translate(4px,-4px); }

/* ── Primary Nav ── */
.primary-nav ol {
  list-style: none;
  display: flex;
  gap: 2px;
  align-items: center;
  padding: 0;
}

.primary-nav ol li a {
  display: block;
  padding: 10px 12px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--amber-pale);
  text-decoration: none;
  letter-spacing: 0.04em;
  border-radius: 5px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.primary-nav ol li a:hover {
  color: var(--cream);
  background: rgba(212,165,116,0.12);
}

/* Split nav: first half left, second half right of brand */
.header-inner .primary-nav {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 0;
}

.primary-nav ol {
  pointer-events: auto;
}

/* Left half: first 2 items */
.primary-nav ol li:nth-child(-n+2) { order: 1; }
/* Right half: items 3+ */
.primary-nav ol li:nth-child(n+3) { order: 2; }

/* ── Header CTAs ── */
.header-ctas {
  display: flex;
  gap: 6px;
  align-items: center;
  flex-shrink: 0;
  z-index: 2;
  grid-column: 3;
}

/* ── CTA Buttons ── */
.cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 8px 16px;
  border-radius: 8px;
  font-family: var(--font);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  cursor: pointer;
  transition: filter var(--transition), transform var(--transition);
  white-space: nowrap;
}

.cta:hover { filter: brightness(1.1); transform: translateY(-1px); }
.cta:active { transform: translateY(0); }

.cta-signup {
  background: var(--amber);
  color: var(--ink);
  border: none;
}

.cta-login {
  background: transparent;
  color: var(--amber);
  border: 1.5px solid var(--amber);
}

.sidebar-cta {
  width: 100%;
  margin-top: 8px;
  font-size: 0.8rem;
}

/* ── Breadcrumb ── */
.breadcrumb {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 10px 24px;
}

.breadcrumb ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  align-items: center;
}

.breadcrumb ol li {
  font-size: 0.75rem;
  color: var(--ink-mid);
}

.breadcrumb ol li::after { content: ' /'; margin-left: 4px; color: var(--ink-mid); }
.breadcrumb ol li:last-child::after { display: none; }

.breadcrumb ol li a {
  color: var(--amber);
  text-decoration: none;
}

.breadcrumb ol li a:hover { text-decoration: underline; }

/* ── Page Hero ── */
.page-hero {
  background: linear-gradient(160deg, var(--ink-light) 0%, var(--ink) 70%);
  border-bottom: 2px solid rgba(212,165,116,0.2);
  position: relative;
  overflow: hidden;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--amber), transparent);
}

.page-hero--category { padding: 44px 24px 36px; }
.page-hero--entry    { padding: 36px 24px 28px; }
.page-hero--inner    { padding: 36px 24px 28px; }

.page-hero-inner {
  max-width: var(--max-wide);
  margin: 0 auto;
}

/* ── Home Hero ── */
.hero-section {
  position: relative;
  overflow: hidden;
}

.hero-article {
  min-height: 45vh;
  display: flex;
  flex-direction: column;
  background: linear-gradient(155deg, var(--ink-light) 0%, var(--ink) 60%);
  position: relative;
}

.hero-content {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 60px 24px 48px;
  width: 100%;
  flex: 1;
}

.hero-media {
  flex-shrink: 0;
  width: 200px;
}

.hero-img {
  width: 100%;
  height: auto;
  border-radius: var(--card-radius);
  filter: sepia(0.25) contrast(1.05) saturate(0.85);
  border: 2px solid rgba(212,165,116,0.35);
}

.hero-copy {
  flex: 1;
  text-align: center;
}

.hero-copy h1 {
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.25;
  margin-bottom: 14px;
}

.hero-lead {
  font-size: 1.05rem;
  color: var(--amber-pale);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.7;
}

.slant-divider {
  height: 40px;
  background: var(--ink);
  clip-path: polygon(0 100%, 100% 0, 100% 100%);
  position: relative;
  z-index: 1;
}

/* ── Eyebrow & Stage Badge ── */
.eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.stage-badge {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 3px 9px;
  border-radius: 20px;
  margin-bottom: 8px;
  background: rgba(212,165,116,0.18);
  color: var(--amber);
  border: 1px solid rgba(212,165,116,0.3);
}

/* ── Byline ── */
.byline {
  font-size: 0.8rem;
  color: var(--amber-pale);
  margin-top: 10px;
  opacity: 0.85;
}

.byline .author-name { font-weight: 600; }
.byline time { color: var(--amber); }

/* ── Page H1 (inner pages) ── */
.page-hero-inner h1 {
  font-size: clamp(1.4rem, 3vw, 2.1rem);
  font-weight: 700;
  color: var(--cream);
  line-height: 1.3;
  margin-bottom: 0;
}

/* ── Main Layout ── */
main {
  position: relative;
  z-index: 2;
}

.wrap {
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 0 24px;
}

.page-body-section {
  padding: 40px 0;
}

.page-body-article {
  width: 100%;
}

.entry-hero-media {
  margin-bottom: 28px;
}

.entry-hero-img {
  width: 100%;
  max-height: 340px;
  object-fit: cover;
  border-radius: var(--card-radius);
  filter: sepia(0.2) contrast(1.05) saturate(0.85);
  border: 1px solid rgba(212,165,116,0.25);
}

/* ── Content + Aside Layout ── */
.content-with-aside {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 40px;
  align-items: start;
}

.main-content { min-width: 0; }

/* ── Sidebar ── */
.sidebar {
  position: sticky;
  top: calc(var(--header-height) + 16px);
}

.sidebar-inner {
  background: var(--ink-light);
  border: 1px solid rgba(212,165,116,0.2);
  border-radius: var(--card-radius);
  padding: 20px;
  filter: sepia(0.05);
}

.sidebar-heading {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 8px;
}

.sidebar-links {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
}

.sidebar-links li { border-bottom: 1px solid rgba(212,165,116,0.1); }
.sidebar-links li:last-child { border-bottom: none; }

.sidebar-links li a {
  display: block;
  padding: 9px 0;
  font-size: 0.82rem;
  color: var(--amber-pale);
  text-decoration: none;
  transition: color var(--transition);
  min-height: 44px;
  line-height: 1.4;
  display: flex;
  align-items: center;
}

.sidebar-links li a:hover { color: var(--cream); text-decoration: underline; }

.sidebar-cta-box {
  border-top: 1px solid rgba(212,165,116,0.18);
  padding-top: 14px;
  text-align: center;
}

.sidebar-cta-box p {
  font-size: 0.76rem;
  color: var(--amber-pale);
  margin-bottom: 4px;
}

/* ── Prose ── */
.prose {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--cream);
}

.prose h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--amber);
  margin-top: 2.2em;
  margin-bottom: 0.3em;
  letter-spacing: 0.02em;
}

.prose h2 + hr {
  border: none;
  border-top: 1px solid rgba(212,165,116,0.25);
  margin-bottom: 1em;
}

.prose h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--amber-pale);
  margin-top: 1.8em;
  margin-bottom: 0.3em;
}

.prose h3 + hr {
  border: none;
  border-top: 1px solid rgba(212,165,116,0.15);
  margin-bottom: 0.9em;
}

.prose p { margin-bottom: 1.1em; }

.prose a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose a:hover { color: var(--cream); }

.prose ul, .prose ol {
  padding-left: 1.5em;
  margin-bottom: 1.1em;
}

.prose li { margin-bottom: 0.35em; }

.prose strong { color: var(--cream); font-weight: 600; }
.prose em { color: var(--amber-pale); font-style: italic; }

.prose blockquote {
  border-left: 3px solid var(--amber);
  padding: 10px 18px;
  margin: 1.4em 0;
  background: rgba(212,165,116,0.07);
  border-radius: 0 8px 8px 0;
  font-style: italic;
  color: var(--amber-pale);
}

.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.4em 0;
  font-size: 0.9rem;
}

.prose table th {
  background: var(--ink-light);
  color: var(--amber);
  padding: 10px 12px;
  text-align: left;
  border-bottom: 2px solid rgba(212,165,116,0.3);
  font-weight: 700;
  letter-spacing: 0.04em;
}

.prose table td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(212,165,116,0.1);
  color: var(--cream);
  vertical-align: top;
}

.prose table tr:last-child td { border-bottom: none; }
.prose table tr:hover td { background: rgba(212,165,116,0.05); }

/* ── HR (heading decoration — required by contract) ── */
hr {
  border: none;
  border-top: 1px solid rgba(212,165,116,0.22);
  margin: 0.5em 0 1em;
}

/* Force h2+hr and h3+hr in all contexts */
h2 + hr, h3 + hr {
  border-top: 1px solid rgba(212,165,116,0.28);
  margin-top: 0;
  margin-bottom: 1em;
}

/* ── Child Cards (home) ── */
.child-cards {
  margin-top: 3em;
}

.child-cards h2 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.3em;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 20px;
}

.card {
  background: var(--ink-light);
  border-radius: var(--card-radius);
  border: 1px solid rgba(212,165,116,0.18);
  position: relative;
  overflow: hidden;
  transition: transform var(--transition), box-shadow var(--transition);
}

.card::after {
  content: '';
  display: block;
  height: 3px;
  background: linear-gradient(90deg, var(--amber-dark), var(--amber));
  position: absolute;
  bottom: 0; left: 0; right: 0;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 28px rgba(0,0,0,0.45);
}

.card-link {
  display: block;
  padding: 20px 18px 22px;
  text-decoration: none;
  color: inherit;
}

.card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
  line-height: 1.35;
}

.card-desc {
  font-size: 0.82rem;
  color: var(--amber-pale);
  line-height: 1.55;
  margin-bottom: 10px;
}

.card-cta {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--amber);
  letter-spacing: 0.04em;
}

/* ── Entries Table (category) ── */
.entries-section {
  margin-top: 2.8em;
}

.entries-section h2 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.3em;
}

.entries-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 16px;
  background: var(--ink-light);
  border-radius: var(--card-radius);
  overflow: hidden;
}

.entries-table thead th {
  background: rgba(212,165,116,0.15);
  color: var(--amber);
  padding: 12px 14px;
  text-align: left;
  font-weight: 700;
  letter-spacing: 0.05em;
  font-size: 0.75rem;
  text-transform: uppercase;
  border-bottom: 2px solid rgba(212,165,116,0.25);
}

.entries-table tbody tr td {
  padding: 11px 14px;
  border-bottom: 1px solid rgba(212,165,116,0.1);
  color: var(--cream);
  vertical-align: top;
}

.entries-table tbody tr:last-child td { border-bottom: none; }
.entries-table tbody tr:hover td { background: rgba(212,165,116,0.06); }

.entries-table tbody td a {
  color: var(--amber);
  text-decoration: none;
  font-weight: 600;
}

.entries-table tbody td a:hover { text-decoration: underline; color: var(--cream); }

.entries-table tbody td time { color: var(--amber-pale); font-size: 0.78rem; }

/* ── Author Section (about) ── */
.author-section {
  margin-top: 2.5em;
  padding: 24px;
  background: var(--ink-light);
  border-radius: var(--card-radius);
  border: 1px solid rgba(212,165,116,0.22);
  border-left: 4px solid var(--amber);
}

.author-section h2 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.3em;
}

.author-name-large {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 4px;
}

.author-credentials {
  font-size: 0.82rem;
  color: var(--amber);
  margin-bottom: 10px;
  font-style: italic;
}

.author-bio {
  font-size: 0.92rem;
  color: var(--amber-pale);
  line-height: 1.7;
}

/* ── Footer ── */
.site-footer {
  background: var(--ink-light);
  border-top: 2px solid rgba(212,165,116,0.2);
  position: relative;
  z-index: 2;
  margin-top: 60px;
}

.footer-cta-block {
  background: linear-gradient(135deg, rgba(212,165,116,0.14), rgba(38,33,23,0.9));
  border-bottom: 1px solid rgba(212,165,116,0.18);
  padding: 40px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

.footer-cta-block .cta { min-width: 150px; }
.footer-cta-block .header-ctas { flex-direction: row; gap: 12px; }

.footer-cta-headline {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 4px;
}

.footer-cols {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  max-width: var(--max-wide);
  margin: 0 auto;
  padding: 40px 24px;
}

.footer-col h3,
.footer-col-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--amber);
  margin-bottom: 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
}

.footer-col ul li {
  margin-bottom: 4px;
}

.footer-col ul li a {
  color: var(--amber-pale);
  text-decoration: none;
  font-size: 0.82rem;
  display: block;
  padding: 5px 0;
  min-height: 44px;
  display: flex;
  align-items: center;
  transition: color var(--transition);
}

.footer-col ul li a:hover { color: var(--cream); text-decoration: underline; }

.footer-brand {
  font-size: 1rem;
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 6px;
}

.footer-tagline {
  font-size: 0.78rem;
  color: var(--amber-pale);
  line-height: 1.55;
}

.footer-address {
  font-style: normal;
}

.rg-notice {
  font-size: 0.75rem;
  color: var(--amber-pale);
  line-height: 1.55;
  margin-bottom: 10px;
  padding: 8px 10px;
  background: rgba(0,0,0,0.2);
  border-radius: 6px;
  border-left: 2px solid var(--amber-dark);
}

.footer-author {
  font-size: 0.75rem;
  color: var(--ink-mid);
  margin-top: 6px;
}

.footer-trust-links { margin-top: 10px; }

.footer-bottom {
  border-top: 1px solid rgba(212,165,116,0.12);
  padding: 16px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.72rem;
  color: var(--ink-mid);
  letter-spacing: 0.03em;
}

/* ── Responsive ── */

/* Tablet */
@media (max-width: 1024px) {
  .footer-cols { grid-template-columns: repeat(2, 1fr); }
  .content-with-aside { grid-template-columns: 1fr 240px; gap: 28px; }
  .primary-nav ol li a { padding: 10px 8px; font-size: 0.73rem; }
}

/* Mobile — ≤768px */
@media (max-width: 768px) {
  .nav-toggle { display: flex; }

  .header-inner {
    grid-template-columns: 44px 1fr auto;
    padding: 8px 12px;
    min-height: 56px;
  }

  .brand-center {
    position: static;
    transform: none;
    justify-content: center;
  }

  /* Nav collapsed by default on mobile */
  .primary-nav {
    position: static;
    transform: none;
    pointer-events: auto;
    display: block;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.32s ease;
    background: var(--ink-light);
    border-top: 1px solid rgba(212,165,116,0.15);
  }

  .primary-nav.is-open {
    max-height: 600px;
  }

  /* Stack nav below the header row */
  .site-header {
    display: flex;
    flex-direction: column;
  }

  .header-inner {
    order: 1;
  }

  .primary-nav {
    order: 2;
    grid-column: unset;
  }

  .primary-nav ol {
    flex-direction: column;
    gap: 0;
    padding: 6px 0;
  }

  .primary-nav ol li a {
    padding: 12px 16px;
    font-size: 0.9rem;
    border-radius: 0;
    min-height: 44px;
    display: flex;
    align-items: center;
  }

  .header-ctas {
    gap: 5px;
  }

  .header-ctas .cta {
    padding: 8px 10px;
    font-size: 0.75rem;
    min-height: 44px;
  }

  .content-with-aside {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .sidebar { position: static; }

  .footer-cols { grid-template-columns: 1fr 1fr; gap: 24px; }

  .hero-content {
    flex-direction: column;
    padding: 36px 16px 28px;
    gap: 20px;
    text-align: center;
  }

  .hero-media { width: 120px; }

  .cards-grid { grid-template-columns: 1fr; }

  .entries-table { font-size: 0.8rem; }
  .entries-table thead th:last-child,
  .entries-table tbody td:last-child { display: none; }

  .breadcrumb { padding: 8px 16px; }

  .wrap { padding: 0 14px; }
}

/* Small mobile — 375px */
@media (max-width: 420px) {
  html { font-size: 16px; }

  .brand-name { font-size: 0.95rem; }

  .header-ctas .cta {
    padding: 6px 8px;
    font-size: 0.72rem;
  }

  .footer-cols { grid-template-columns: 1fr; }

  .page-hero--category,
  .page-hero--entry,
  .page-hero--inner { padding: 28px 14px 20px; }

  .footer-cta-block { padding: 28px 14px; flex-direction: column; }
  .footer-cta-block .cta { width: 100%; max-width: 280px; }
}

/* ── Reduced Motion ── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* ── Print ── */
@media print {
  .grain-overlay, .lightleak, .site-header, .sidebar, .footer-cta-block { display: none; }
  body { color: #000; background: #fff; }
  .prose a { color: #000; text-decoration: underline; }
}

a[data-cta],button[aria-controls]{min-height:44px;min-width:44px;box-sizing:border-box}main p a{text-decoration:underline}