:root {
  --paper: #e9e8e3;
  --paper-2: #dfdedb;
  --ink: #2a2a28;
  --ink-soft: #5c5b56;
  --red: #8b1e1e;
  --rule: #2a2a28;
  --canvas: #c9c8c3;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--canvas);
  font-family: 'PT Serif', Georgia, serif;
  color: var(--ink);
}

.page-wrap {
  max-width: 1000px;
  margin: 24px auto;
  background: var(--paper);
  padding: 28px 40px 40px;
  box-shadow: 0 2px 18px rgba(0, 0, 0, 0.25);
}

a { color: inherit; }

/* ---------- Utility bar ---------- */
.utility-bar {
  display: flex;
  justify-content: space-between;
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-soft);
  padding-bottom: 6px;
}

/* ---------- Masthead ---------- */
.masthead {
  text-align: center;
  border-top: 3px solid var(--rule);
  border-bottom: 3px double var(--rule);
  padding: 14px 0 10px;
}
.masthead-title {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: clamp(36px, 7vw, 68px);
  letter-spacing: 1px;
  margin: 0;
  line-height: 1;
}
.masthead-title a { text-decoration: none; }
.tagline {
  font-style: italic;
  font-size: 15px;
  color: var(--red);
  margin: 6px 0 0;
}
.dateline {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-top: 8px;
}

/* ---------- Nav (Ghost navigation helper output) ---------- */
.site-nav {
  border-bottom: 1px solid var(--rule);
  padding: 10px 0;
  margin-bottom: 22px;
}
.site-nav .nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 28px;
  list-style: none;
  margin: 0;
  padding: 0;
  font-family: 'Oswald', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.site-nav .nav a {
  text-decoration: none;
}
.site-nav .nav a:hover { color: var(--red); }
.site-nav .nav-the-soapbox a { color: var(--red); }

/* ---------- Front grid ---------- */
.front-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
}
@media (max-width: 760px) {
  .front-grid { grid-template-columns: 1fr; }
  .page-wrap { padding: 20px 16px 28px; }
}

.kicker {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 6px;
}
.kicker a { text-decoration: none; }

.lead-headline {
  font-family: 'Playfair Display', serif;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.08;
  margin: 0 0 10px;
}
.lead-headline a { text-decoration: none; }
.lead-headline a:hover { color: var(--red); }

.dek {
  font-style: italic;
  color: var(--ink-soft);
  font-size: 16px;
  margin-bottom: 12px;
}

.lead-img {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: 12px;
}

.byline {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 10px;
}

.lead-excerpt {
  font-size: 15px;
  line-height: 1.6;
}
@media (min-width: 761px) {
  .lead-excerpt { column-count: 2; column-gap: 24px; }
}
.readmore {
  color: var(--red);
  font-style: italic;
}

/* ---------- Sidebar ---------- */
.sidebar > * + * { margin-top: 24px; }

.soapbox-box {
  border-top: 4px solid var(--red);
  background: var(--paper-2);
  padding: 14px 16px;
}
.soapbox-box .label,
.wire-ticker .label {
  font-family: 'Oswald', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.soapbox-box .label { color: var(--red); }
.soapbox-box h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  margin: 0 0 6px;
  line-height: 1.15;
}
.soapbox-box h3 a { text-decoration: none; }
.soapbox-box p {
  font-size: 13.5px;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.5;
}

.wire-ticker .label {
  color: var(--ink);
  border-bottom: 1px solid var(--rule);
  padding-bottom: 6px;
  margin-bottom: 10px;
}
.wire-ticker ul { list-style: none; margin: 0; padding: 0; }
.wire-ticker li {
  font-size: 14px;
  padding: 8px 0;
  border-bottom: 1px dotted #b3b2ac;
}
.wire-ticker li:last-child { border-bottom: none; }
.wire-ticker a { text-decoration: none; }
.wire-ticker a:hover { color: var(--red); }

.newsletter-box {
  background: var(--ink);
  color: var(--paper);
  padding: 16px;
  text-align: center;
}
.newsletter-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  margin: 0 0 4px;
}
.newsletter-box p {
  font-size: 12.5px;
  margin: 0 0 10px;
  color: #c6c5be;
}
.subscribe-btn {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 8px 18px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
}
.subscribe-btn:hover { background: #a32c2c; }

/* ---------- Comic strip ---------- */
.comic-strip {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 2px solid var(--rule);
}
.comic-title {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  margin: 0 0 4px;
}
.comic-title a { text-decoration: none; }
.comic-meta {
  font-style: italic;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.comic-panel-img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid var(--ink-soft);
  margin-bottom: 10px;
}
.comic-links {
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.comic-links a {
  color: var(--red);
  text-decoration: none;
  border-bottom: 1px solid var(--red);
}
.comic-links .sep { color: var(--ink-soft); margin: 0 8px; }

/* ---------- Desk row ---------- */
.desk-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 34px;
  padding-top: 24px;
  border-top: 2px solid var(--rule);
}
@media (max-width: 900px) { .desk-row { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .desk-row { grid-template-columns: 1fr; } }

.desk-card .thumb {
  width: 100%;
  height: 110px;
  object-fit: cover;
  display: block;
  margin-bottom: 8px;
}
.desk-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  margin: 0 0 6px;
  line-height: 1.15;
}
.desk-card h3 a { text-decoration: none; }
.desk-card h3 a:hover { color: var(--red); }
.desk-card p {
  font-size: 13px;
  color: var(--ink-soft);
  line-height: 1.5;
  margin: 0;
}

/* ---------- Single post ---------- */
.single-post { max-width: 720px; margin: 0 auto; }
.post-header { text-align: center; margin-bottom: 20px; }
.post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 44px);
  line-height: 1.1;
  margin: 0 0 10px;
}
.post-feature img { width: 100%; height: auto; display: block; }
.post-feature figcaption {
  font-size: 12.5px;
  font-style: italic;
  color: var(--ink-soft);
  text-align: center;
  margin-top: 6px;
}
.post-content {
  font-size: 17px;
  line-height: 1.7;
}
.post-content img { max-width: 100%; height: auto; }
.post-content a { color: var(--red); }
.post-footer { margin-top: 36px; }

/* Ghost editor card widths */
.kg-width-wide {
  position: relative;
  width: 85vw;
  max-width: 960px;
  margin-left: 50%;
  transform: translateX(-50%);
}
.kg-width-full {
  position: relative;
  width: 92vw;
  margin-left: 50%;
  transform: translateX(-50%);
}
.kg-width-wide img,
.kg-width-full img { width: 100%; }

/* ---------- Episode nav (The Slice) ---------- */
.episode-nav {
  margin-top: 30px;
  border-top: 2px solid var(--rule);
  border-bottom: 2px solid var(--rule);
  padding: 12px 0;
}
.episode-nav-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.episode-nav a { color: var(--red); text-decoration: none; }

/* ---------- Section (tag) pages ---------- */
.section-header {
  text-align: center;
  margin-bottom: 8px;
}
.section-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 5vw, 42px);
  margin: 0 0 6px;
}
.section-note { text-align: center; }

.section-list { margin-top: 22px; }
.list-card {
  display: flex;
  gap: 18px;
  padding: 16px 0;
  border-bottom: 1px dotted #b3b2ac;
}
.list-card .thumb {
  width: 160px;
  height: 100px;
  object-fit: cover;
  flex-shrink: 0;
}
@media (max-width: 520px) {
  .list-card { flex-direction: column; }
  .list-card .thumb { width: 100%; height: auto; }
}
.list-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  margin: 0 0 6px;
  line-height: 1.15;
}
.list-card h3 a { text-decoration: none; }
.list-card h3 a:hover { color: var(--red); }
.list-card p {
  font-size: 14px;
  color: var(--ink-soft);
  margin: 0 0 6px;
  line-height: 1.5;
}

/* ---------- Pagination ---------- */
.pagination {
  display: flex;
  justify-content: space-between;
  margin-top: 28px;
  font-family: 'Oswald', sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}
.pagination a { color: var(--red); text-decoration: none; }

/* ---------- Footer ---------- */
.site-footer {
  margin-top: 30px;
  padding-top: 12px;
  border-top: 1px solid var(--rule);
  text-align: center;
  font-family: 'Oswald', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ink-soft);
}
