/*
Theme Name: Apokalypsis Magazine
Theme URI: https://apokalypsismag.com
Author: Joe Powers
Author URI: https://apokalypsismag.com
Description: Custom theme for Apokalypsis Spec Fiction Magazine
Version: 1.5.33
License: GNU General Public License v2 or later
Text Domain: apokalypsis
*/

/* ============================================
   CSS VARIABLES
   ============================================ */
:root {
  --red: #B40301;
  --red-dark: #8a0200;
  --red-light: #d40401;
  --black: #000000;
  --black-2: #0a0a0a;
  --black-3: #111111;
  --black-4: #1a1a1a;
  --black-5: #222222;
  --gray-1: #333333;
  --gray-2: #444444;
  --gray-3: #777777;
  --gray-4: #888888;
  --gray-5: #aaaaaa;
  --gray-6: #cccccc;
  --white: #ffffff;
  --white-off: #f5f5f5;
  --border: rgba(255,255,255,0.08);
  --border-light: rgba(255,255,255,0.04);
  --font: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', system-ui, sans-serif;
  --max-width: 1200px;
  --radius: 6px;
  --radius-lg: 10px;
}

/* ============================================
   RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--black);
  color: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }

/* Links inside post/page content */
.story-content a,
.story-content .wp-block-group a,
.entry-content a {
    color: #ff6663 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px;
}
.story-content a:hover,
.story-content .wp-block-group a:hover,
.entry-content a:hover {
    color: #ffffff !important;
    text-decoration: underline !important;
}
ul, ol { list-style: none; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font);
  font-weight: 700;
  line-height: 1.2;
  color: var(--white);
}

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ============================================
   UTILITY
   ============================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section { padding: 3rem 0; }
.section--dark { background: var(--black-2); }
.section--border { border-top: 1px solid var(--border); }

.eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #ff3330;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-family: var(--font);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  border-radius: var(--radius);
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-transform: uppercase;
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}
.btn--primary:hover { background: var(--red-light); }

.btn--secondary {
  background: transparent;
  color: var(--gray-5);
  border: 1px solid var(--gray-1);
}
.btn--secondary:hover { border-color: var(--gray-4); color: var(--white); }

.btn--ghost {
  background: transparent;
  color: var(--red);
  border: 1px solid rgba(180,3,1,0.3);
  font-size: 0.6875rem;
}
.btn--ghost:hover { background: rgba(180,3,1,0.1); }

.tag {
  display: inline-block;
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ff3330;
  border: 1px solid rgba(255,51,48,0.5);
  padding: 0.125rem 0.5rem;
  border-radius: 3px;
  font-weight: 600;
}

.rating-badge {
  display: inline-block;
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--gray-5);
  border: 1px solid var(--gray-2);
  padding: 0.125rem 0.5rem;
  border-radius: 3px;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.section-title {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-5);
  font-weight: 600;
}

.section-link {
  font-size: 0.75rem;
  color: #ff3330;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
}
.section-link:hover { color: #ff6663; }

/* ============================================
   NAVIGATION
   ============================================ */
.site-header {
  background: var(--black);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  padding: 0;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.5rem;
  width: 100%;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.site-logo__text {
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
}

.site-logo__sub {
  font-size: 0.5625rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gray-4);
  font-weight: 600;
  margin-top: 1px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.site-nav a {
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-5);
  font-weight: 600;
  transition: color 0.2s;
}

.site-nav a:hover,
.site-nav a.active { color: var(--white); }

.site-nav__cta {
  background: var(--red) !important;
  color: var(--white) !important;
  padding: 0.375rem 0.875rem;
  border-radius: var(--radius);
}
.site-nav__cta:hover { background: var(--red-light) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  position: relative;
  z-index: 100;
  background: none;
  border: none;
}
.hamburger span {
  width: 22px;
  height: 1.5px;
  background: var(--white);
  transition: all 0.3s;
}

/* ============================================
   BREADCRUMB
   ============================================ */
.breadcrumb {
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border-light);
}

.breadcrumb__inner {
  display: flex;
  gap: 0.375rem;
  align-items: center;
}

.breadcrumb a {
  font-size: 0.6875rem;
  color: var(--gray-4);
  transition: color 0.2s;
}
.breadcrumb a:hover { color: var(--red); }

.breadcrumb__sep {
  font-size: 0.6875rem;
  color: var(--gray-2);
}

.breadcrumb__current {
  font-size: 0.6875rem;
  color: var(--gray-5);
}

/* ============================================
   HOMEPAGE HERO
   ============================================ */
.home-hero {
  background: var(--black-2);
  border-bottom: 1px solid var(--border);
  padding: 3rem 0;
}

.home-hero__inner {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 3rem;
  align-items: center;
}

.home-hero__eyebrow { margin-bottom: 0.75rem; }

.home-hero__title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.home-hero__subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--gray-3);
  margin-bottom: 1rem;
  text-transform: uppercase;
  font-weight: 600;
}

.home-hero__desc {
  font-size: 0.9375rem;
  color: var(--gray-5);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.home-hero__meta {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}

.home-hero__actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.home-hero__image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 16/9;
  background: var(--black-3);
  border: 1px solid var(--border);
}

.home-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--black-3);
}

.home-hero__image-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--black-3) 0%, #1a0a0a 50%, var(--black-3) 100%);
}

/* ============================================
   FILTER TABS
   ============================================ */
.filter-tabs {
  border-bottom: 1px solid var(--border);
  background: var(--black);
  position: sticky;
  top: 56px;
  z-index: 90;
}

.filter-tabs__inner {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.filter-tabs__inner::-webkit-scrollbar { display: none; }

.filter-tab {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--gray-4);
  padding: 0.875rem 1.25rem;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  background: none;
  border-top: none;
  border-left: none;
  border-right: none;
  font-family: var(--font);
}

.filter-tab:hover { color: var(--gray-6); }
.filter-tab.active { color: var(--red); border-bottom-color: var(--red); }

/* ============================================
   SERIES BLOCK (Homepage)
   ============================================ */
.series-block {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.series-block__header {
  padding: 1.25rem;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  align-items: start;
}

.series-block__badge {
  background: rgba(180,3,1,0.1);
  border: 1px solid rgba(180,3,1,0.2);
  border-radius: var(--radius);
  padding: 0.5rem 0.75rem;
  text-align: center;
  min-width: 56px;
}

.series-block__badge-num {
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1;
}

.series-block__badge-label {
  font-size: 0.5625rem;
  color: var(--gray-4);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 2px;
}

.series-block__eyebrow { margin-bottom: 3px; }

.series-block__title {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.series-block__desc {
  font-size: 0.8125rem;
  color: var(--gray-4);
  line-height: 1.5;
}

.series-block__chapters {
  padding: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.chapter-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  background: var(--black-4);
  border: 1px solid var(--border-light);
  transition: border-color 0.2s;
}

.chapter-row:hover { border-color: var(--border); }

.chapter-row__num {
  font-size: 0.625rem;
  color: var(--gray-2);
  min-width: 20px;
  font-weight: 600;
}

.chapter-row__title {
  font-size: 0.9375rem;
  color: var(--gray-5);
  flex: 1;
}

.chapter-row__title.active { color: var(--white); font-weight: 600; }

.chapter-badge {
  font-size: 0.5625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 1px 6px;
  border-radius: 3px;
}

.chapter-badge--new {
  background: rgba(180,3,1,0.15);
  color: #ff4441;
}

.chapter-badge--soon {
  background: var(--black-5);
  color: var(--gray-3);
}

/* ============================================
   GENRE GRID (Homepage)
   ============================================ */
.genre-grid-curated {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.75rem;
}

.genre-card {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  text-decoration: none;
  min-height: 160px;
}

.genre-card:hover {
  border-color: rgba(180,3,1,0.4);
  background: var(--black-4);
}

.genre-card__top {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  margin-bottom: 0.25rem;
}

.genre-card__accent {
  width: 3px;
  height: 1.25rem;
  background: var(--red);
  border-radius: 2px;
  flex-shrink: 0;
}

.genre-card__name {
  font-size: 0.9375rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--white);
}

.genre-card__tagline {
  font-size: 0.8125rem;
  color: var(--gray-6, #aaa);
  line-height: 1.6;
  font-style: italic;
}

.genre-card__count {
  font-size: 0.625rem;
  color: var(--white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: auto;
  padding-top: 0.625rem;
  border-top: 1px solid var(--border-light);
  font-weight: 600;
}

/* ============================================
   STORY GRID 2-COL (Homepage Latest)
   ============================================ */
.story-grid-2col {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.5rem;
}

.genre-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.genre-tile {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  cursor: pointer;
  transition: all 0.2s;
}

.genre-tile:hover {
  border-color: rgba(180,3,1,0.3);
  background: var(--black-4);
}

.genre-tile__name {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}

.genre-tile__count {
  font-size: 0.6875rem;
  color: var(--gray-4);
}

/* ============================================
   STORY LIST (Homepage Latest)
   ============================================ */
.story-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.story-row {
  display: grid;
  grid-template-columns: 240px 1fr auto;
  gap: 0.875rem;
  align-items: center;
  padding: 0.875rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--black);
  transition: border-color 0.2s;
}

.story-row:hover { border-color: var(--border); }

.story-row__thumb {
  background: var(--black-3);
  border-radius: var(--radius);
  height: 135px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.story-row__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: var(--black-3);
}

.story-row__title {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.story-row:hover .story-row__title { color: var(--red); }

.story-row__tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.story-row__tag {
  font-size: 0.625rem;
  color: var(--gray-4);
  letter-spacing: 0.04em;
}

.story-row__meta {
  text-align: right;
  white-space: nowrap;
}

.story-row__time {
  font-size: 0.6875rem;
  color: var(--gray-4);
  display: block;
}

.story-row__rating {
  font-size: 0.6875rem;
  color: var(--gray-3);
  display: block;
  margin-top: 2px;
}

/* ============================================
   SUBSCRIBE BAR
   ============================================ */
.subscribe-bar {
  background: var(--black-2);
  border-top: 1px solid var(--border);
  padding: 1.5rem 0;
}

.subscribe-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.subscribe-bar__text {
  font-size: 0.875rem;
  color: var(--gray-5);
}

.subscribe-bar__text strong {
  color: var(--white);
  font-weight: 700;
}

.subscribe-bar__form {
  display: flex;
  gap: 0.5rem;
  flex: 1;
  max-width: 360px;
}

.subscribe-bar__input {
  flex: 1;
  background: var(--black-4);
  border: 1px solid var(--gray-1);
  border-radius: var(--radius);
  padding: 0.5rem 0.875rem;
  font-size: 0.8125rem;
  font-family: var(--font);
  color: var(--white);
  outline: none;
  transition: border-color 0.2s;
}

.subscribe-bar__input:focus { border-color: var(--gray-3); }
.subscribe-bar__input::placeholder { color: var(--gray-3); }

/* ============================================
   STORY PAGE HERO
   ============================================ */
.story-hero {
  background: var(--black-2);
  border-bottom: 1px solid var(--border);
}

.story-hero__inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 0;
}

.story-hero__content {
  padding: 2.5rem 2rem 2.5rem 0;
}

.story-hero__series {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 600;
  margin-bottom: 0.625rem;
}

.story-hero__title {
  font-size: 2.25rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.375rem;
  line-height: 1.1;
}

.story-hero__subtitle {
  font-size: 0.6875rem;
  color: var(--gray-3);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
  margin-bottom: 1rem;
}

.story-hero__tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.story-hero__meta {
  display: flex;
  gap: 1.25rem;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.story-hero__meta-item {
  font-size: 0.6875rem;
  color: var(--gray-4);
}

.story-hero__meta-item strong {
  color: var(--gray-6);
  font-weight: 700;
}

.story-hero__hook {
  font-size: 0.9375rem;
  color: var(--gray-5);
  line-height: 1.7;
  margin-bottom: 1.25rem;
  font-style: italic;
  border-left: 2px solid rgba(180,3,1,0.4);
  padding-left: 0.875rem;
}

.story-hero__actions {
  display: flex;
  gap: 0.625rem;
  flex-wrap: wrap;
}

.story-hero__image {
  background: var(--black-3);
  border-left: 1px solid var(--border);
  overflow: hidden;
  position: relative;
}

.story-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   STORY BODY (single story page)
   ============================================ */
.story-body {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 0;
}

.story-main {
  padding: 2rem;
  border-right: 1px solid var(--border);
}

.story-sidebar {
  padding: 1.5rem;
}

.content-block { margin-bottom: 2rem; }

.content-label {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-5);
  font-weight: 600;
  margin-bottom: 0.625rem;
}

.content-text {
  font-size: 0.875rem;
  color: var(--gray-5);
  line-height: 1.7;
}

.rating-block {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  background: var(--black-3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  margin-bottom: 1.5rem;
}

.rating-block .rating-badge {
  flex-shrink: 0;
  align-self: flex-start;
}

.rating-block__text {
  font-size: 0.8125rem;
  color: var(--gray-6);
}

.themes-row {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.theme-pill {
  font-size: 0.6875rem;
  color: var(--gray-5);
  background: var(--black-3);
  border: 1px solid var(--border);
  padding: 0.25rem 0.625rem;
  border-radius: 20px;
}

.credits-block { margin-top: 0.75rem; }

.credit-row {
  display: flex;
  justify-content: space-between;
  padding: 0.375rem 0;
  border-bottom: 1px solid var(--border-light);
  font-size: 0.8125rem;
}

.credit-row:last-child { border-bottom: none; }

.credit-label { color: var(--gray-5); }
.credit-value { color: var(--white); }

/* Video embed */
.video-embed {
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--border);
}

.video-placeholder {
  background: var(--black-3);
  height: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  cursor: pointer;
  transition: background 0.2s;
}

.video-placeholder:hover { background: var(--black-4); }

.video-play {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-play::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 11px solid var(--white);
  margin-left: 2px;
}

.video-label {
  font-size: 0.75rem;
  color: var(--gray-4);
  letter-spacing: 0.05em;
}

/* Series nav sidebar */
.sidebar-series-nav {
  background: var(--black-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.sidebar-series-nav__header {
  padding: 0.875rem 1rem;
  border-bottom: 1px solid var(--border);
}

.sidebar-series-nav__label {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-5);
  font-weight: 600;
}

.sidebar-series-nav__name {
  font-size: 0.8125rem;
  color: var(--gray-6);
  margin-top: 2px;
}

.sidebar-chapter {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.625rem 1rem;
  border-bottom: 1px solid var(--border-light);
  transition: background 0.2s;
}

.sidebar-chapter:last-child { border-bottom: none; }
.sidebar-chapter:hover { background: var(--black-4); }
.sidebar-chapter.active { background: var(--black-4); }

.sidebar-chapter__num {
  font-size: 0.625rem;
  color: var(--gray-4);
  min-width: 24px;
  font-weight: 600;
}

.sidebar-chapter__title {
  font-size: 0.8125rem;
  color: var(--gray-6);
  flex: 1;
}

.sidebar-chapter__title.active { color: var(--red); font-weight: 600; }
.sidebar-chapter__title.locked { color: var(--gray-5); }

/* More stories sidebar */
.sidebar-more__label {
  font-size: 0.625rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-4);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.sidebar-more-card {
  display: flex;
  gap: 0.625rem;
  align-items: center;
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s;
}

.sidebar-more-card:last-child { border-bottom: none; }
.sidebar-more-card:hover .sidebar-more-card__title { color: var(--red); }

.sidebar-more-card__thumb {
  width: 44px;
  height: 44px;
  background: var(--black-3);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  flex-shrink: 0;
}

.sidebar-more-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sidebar-more-card__title {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 2px;
  transition: color 0.2s;
}

.sidebar-more-card__tag {
  font-size: 0.625rem;
  color: var(--gray-4);
}

/* Story footer nav */
.story-footer-nav {
  border-top: 1px solid var(--border);
  padding: 1rem 0;
}

.story-footer-nav__inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.story-footer-nav__link {
  font-size: 0.75rem;
  color: var(--gray-4);
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: color 0.2s;
}

.story-footer-nav__link:hover { color: var(--red); }

.story-footer-nav__issue {
  font-size: 0.6875rem;
  color: var(--gray-3);
}

/* ============================================
   SERIES PAGE
   ============================================ */
.series-page-hero {
  background: var(--black-2);
  border-bottom: 1px solid var(--border);
  padding: 2.5rem 0;
}

.series-page-hero__inner {
  display: grid;
  grid-template-columns: 1fr 200px;
  gap: 2rem;
  align-items: start;
}

.series-page-hero__eyebrow { margin-bottom: 0.625rem; }

.series-page-hero__title {
  font-size: 2.5rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
  line-height: 1.1;
}

.series-page-hero__tagline {
  font-size: 0.9375rem;
  color: var(--gray-5);
  line-height: 1.7;
  margin-bottom: 1.25rem;
}

.series-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1.25rem;
}

.series-stat__num {
  font-size: 1.375rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1;
}

.series-stat__label {
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-4);
  margin-top: 3px;
}

.series-page-hero__cover {
  background: var(--black-3);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  aspect-ratio: 2/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.series-page-hero__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Book blocks */
.book-block { margin-bottom: 2.5rem; }

.book-header {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-bottom: 1rem;
  padding-bottom: 0.875rem;
  border-bottom: 1px solid var(--border);
}

.book-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(180,3,1,0.1);
  border: 1px solid rgba(180,3,1,0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8125rem;
  font-weight: 900;
  color: var(--red);
  flex-shrink: 0;
}

.book-title {
  font-size: 1rem;
  font-weight: 700;
}

.book-subtitle {
  font-size: 0.6875rem;
  color: var(--gray-4);
  margin-top: 2px;
}

.book-status {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  margin-left: auto;
}

.book-status--active {
  background: #eaf3de;
  color: #27500a;
}

.book-status--upcoming {
  background: var(--black-5);
  color: var(--gray-4);
}

/* Chapter cards */
.chapter-card {
  display: grid;
  grid-template-columns: 64px 1fr auto;
  gap: 0.875rem;
  align-items: center;
  padding: 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--border-light);
  background: var(--black);
  transition: border-color 0.2s;
  margin-bottom: 0.5rem;
}

.chapter-card:hover { border-color: var(--border); }
.chapter-card.locked { opacity: 0.45; }

.chapter-card__thumb {
  background: var(--black-3);
  border-radius: var(--radius);
  height: 44px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.chapter-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.chapter-card__num {
  font-size: 0.625rem;
  color: var(--gray-4);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
  margin-bottom: 3px;
}

.chapter-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.chapter-card__desc {
  font-size: 0.75rem;
  color: var(--gray-4);
  line-height: 1.5;
}

.chapter-card__time {
  font-size: 0.6875rem;
  color: var(--gray-4);
  text-align: right;
  white-space: nowrap;
}

/* ============================================
   BROWSE PAGE
   ============================================ */
.browse-header {
  padding: 1.5rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.browse-title {
  font-size: 1.125rem;
  font-weight: 900;
}

.browse-count {
  font-size: 0.75rem;
  color: var(--gray-4);
}

.browse-filter-bar {
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.6875rem;
  color: var(--gray-4);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-weight: 600;
  margin-right: 4px;
}

.filter-pill {
  font-size: 0.6875rem;
  color: var(--gray-5);
  border: 1px solid var(--border);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  cursor: pointer;
  background: transparent;
  font-family: var(--font);
  font-weight: 600;
  transition: all 0.2s;
}

.filter-pill:hover { border-color: rgba(180,3,1,0.3); color: var(--red); }
.filter-pill.active { background: rgba(180,3,1,0.1); border-color: rgba(180,3,1,0.3); color: var(--red); }

.sort-select {
  font-size: 0.6875rem;
  color: var(--gray-5);
  border: 1px solid var(--border);
  padding: 0.25rem 0.625rem;
  border-radius: var(--radius);
  background: var(--black);
  font-family: var(--font);
  cursor: pointer;
  margin-left: auto;
}

.genre-hero-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 0;
}

.genre-hero-tile {
  background: var(--black);
  padding: 1.25rem;
  cursor: pointer;
  transition: background 0.2s;
}

.genre-hero-tile:hover { background: var(--black-3); }
.genre-hero-tile.active { background: var(--black-2); }

.genre-hero-tile__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.genre-hero-tile__count {
  font-size: 0.625rem;
  color: var(--gray-4);
}

.genre-hero-tile__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 3px;
}

.genre-hero-tile__desc {
  font-size: 0.6875rem;
  color: var(--gray-4);
  line-height: 1.4;
}

.browse-layout {
  display: grid;
  grid-template-columns: 1fr 220px;
}

.browse-feed {
  padding: 1.25rem 1.5rem 1.25rem 0;
  border-right: 1px solid var(--border);
}

.browse-sidebar {
  padding: 1.25rem;
}

/* Story cards in browse */
.story-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 0.875rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: all 0.2s;
}

.story-card:last-child { border-bottom: none; }
.story-card:hover .story-card__title { color: var(--red); }

.story-card__thumb {
  background: var(--black-3);
  border-radius: var(--radius);
  height: 135px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.story-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: var(--black-3);
}

.story-card__series {
  font-size: 0.625rem;
  color: var(--red);
  letter-spacing: 0.06em;
  font-weight: 600;
  margin-bottom: 3px;
  text-transform: uppercase;
}

.story-card__title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
  line-height: 1.3;
  transition: color 0.2s;
}

.story-card__desc {
  font-size: 0.75rem;
  color: var(--gray-4);
  line-height: 1.5;
  margin-bottom: 0.5rem;
}

.story-card__rating-row {
  display: flex;
  gap: 0.375rem;
  align-items: center;
  margin-bottom: 0.375rem;
}

.story-card__meta {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
}

/* Browse sidebar */
.browse-sidebar-section { margin-bottom: 1.5rem; }

.browse-sidebar-label {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-4);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.tag-cloud {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
}

.tag-cloud-pill {
  font-size: 0.6875rem;
  color: var(--gray-5);
  border: 1px solid var(--border);
  padding: 0.25rem 0.625rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.tag-cloud-pill:hover { border-color: rgba(180,3,1,0.3); color: var(--red); }

.rating-filter-list {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
}

.rating-filter-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.625rem;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  cursor: pointer;
  transition: all 0.2s;
}

.rating-filter-row:hover { border-color: var(--border); background: var(--black-3); }

.rating-filter-count {
  font-size: 0.6875rem;
  color: var(--gray-4);
}

/* ============================================
   SITE FOOTER
   ============================================ */
.site-footer {
  background: var(--black-2);
  border-top: 1px solid var(--border);
  padding: 3rem 0 1.5rem;
}

.site-footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.site-footer__brand-name {
  font-size: 1rem;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.5rem;
}

.site-footer__brand-desc {
  font-size: 0.8125rem;
  color: var(--gray-4);
  line-height: 1.6;
  margin-bottom: 1rem;
}

.site-footer__col-title {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gray-5);
  font-weight: 700;
  margin-bottom: 0.875rem;
}

.site-footer__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.site-footer__links a {
  font-size: 0.8125rem;
  color: var(--gray-4);
  transition: color 0.2s;
}

.site-footer__links a:hover { color: var(--red); }

.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-footer__copy {
  font-size: 0.6875rem;
  color: var(--gray-3);
}

.site-footer__legal {
  display: flex;
  gap: 1rem;
}

.site-footer__legal a {
  font-size: 0.6875rem;
  color: var(--gray-3);
  transition: color 0.2s;
}

.site-footer__legal a:hover { color: var(--gray-5); }

/* ============================================
   STORY CONTENT (reading view)
   ============================================ */
.story-content {
  max-width: 680px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

.story-content p {
  font-size: 1.0625rem;
  color: var(--gray-6);
  line-height: 1.85;
  margin-bottom: 1.5rem;
}

.story-content p:first-child::first-letter {
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--red);
  float: left;
  line-height: 0.85;
  margin-right: 0.125rem;
  margin-top: 0.125rem;
}

.story-content h2 {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--white);
  margin: 2.5rem 0 1rem;
  letter-spacing: 0.02em;
}

.story-content blockquote {
  border-left: 3px solid var(--red);
  padding-left: 1.25rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--gray-5);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .home-hero__inner { grid-template-columns: 1fr; }
  .home-hero__image { display: block; order: -1; aspect-ratio: 16/9; }
  .story-hero__inner { grid-template-columns: 1fr; }
  .story-hero__image { display: none; }
  .story-body { grid-template-columns: 1fr; }
  .story-main { border-right: none; border-bottom: 1px solid var(--border); }
  .series-page-hero__inner { grid-template-columns: 1fr; }
  .series-page-hero__cover { display: none; }
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .genre-grid-curated { grid-template-columns: repeat(2, 1fr); }
  .genre-hero-grid { grid-template-columns: repeat(2, 1fr); }
  .browse-layout { grid-template-columns: 1fr; }
  .browse-feed { border-right: none; padding-right: 0; }
  .browse-sidebar { border-top: 1px solid var(--border); }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .story-grid-2col { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .container { padding: 0 1rem; }
  .site-nav { display: none; }
  .hamburger { display: flex; }
  .story-row__thumb { height: 79px; }
  .home-hero__title { font-size: 1.75rem; }
  .series-page-hero__title { font-size: 1.75rem; }
  .story-hero__title { font-size: 1.5rem; }
  .genre-grid { grid-template-columns: repeat(2, 1fr); }
  .genre-grid-curated { grid-template-columns: 1fr; }
  .genre-hero-grid { grid-template-columns: repeat(2, 1fr); }
  .story-grid-2col { grid-template-columns: 1fr; }
  .story-row { grid-template-columns: 140px 1fr; }
  .story-row__meta { display: none; }
  .subscribe-bar__inner { flex-direction: column; align-items: flex-start; }
  .subscribe-bar__form { max-width: 100%; width: 100%; }
  .chapter-card { grid-template-columns: 1fr; }
  .chapter-card__thumb { display: none; }
  .site-footer__grid { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; gap: 0.75rem; text-align: center; }

  /* Stories page — stack card image on top */
  .story-card {
    grid-template-columns: 1fr;
  }
  .story-card__thumb {
    width: 100%;
    height: 180px;
    border-radius: var(--radius) var(--radius) 0 0;
  }

  /* Submissions page — hide sidebar, full width content */
  .submit-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .submit-sidebar {
    position: static;
    order: -1;
  }
  .submit-facts {
    grid-template-columns: repeat(3, 1fr);
  }

  /* About page — single column */
  .submit-layout > div:first-child,
  .submit-layout > aside {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
  }

  /* Issues page — stack cover on top */
  .issues-layout {
    grid-template-columns: 1fr;
  }

  /* Issues story list — stack image on top */
  .issue-story-row {
    grid-template-columns: 1fr !important;
  }
  .issue-story-row__thumb {
    width: 100%;
    height: 160px;
  }

  /* Two-column page layouts (About, Submissions) */
  .page-two-col {
    grid-template-columns: 1fr !important;
  }
  .page-two-col > aside {
    position: static !important;
    order: -1;
  }

  /* About page inner grids */
  .about-staff-grid {
    grid-template-columns: 1fr !important;
  }
  .about-two-col-grid {
    grid-template-columns: 1fr !important;
  }

  /* Issues header grid */
  .issue-header-grid {
    grid-template-columns: 1fr !important;
  }

  /* Issues cover — limit height on mobile so it doesn't go full screen */
  .issue-cover-img {
    aspect-ratio: 16/9 !important;
    max-height: 220px;
  }
}

/* ============================================
   YOUTUBE LAZY LOAD
   ============================================ */
.youtube-lazy {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: var(--black-3);
  cursor: pointer;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.youtube-lazy__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.youtube-lazy:hover .youtube-lazy__thumb { transform: scale(1.02); }

.youtube-lazy__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s ease, background 0.2s;
}

.youtube-lazy:hover .youtube-lazy__play {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--red-light);
}

.youtube-lazy__play::after {
  content: '';
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 14px solid var(--white);
  margin-left: 3px;
}

.youtube-lazy iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

/* ============================================
   SUBMISSIONS PAGE
   ============================================ */
.submit-layout {
  display: grid;
  grid-template-columns: 1fr 260px;
  gap: 3rem;
  padding: 2.5rem 0 4rem;
  align-items: start;
}

.submit-sidebar {
  position: sticky;
  top: 72px;
}

.submit-section {
  padding-bottom: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.submit-section:last-child {
  border-bottom: none;
}

.submit-section--final {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  margin-top: 1rem;
}

.submit-heading {
  font-size: 0.6875rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 1rem;
}

.submit-subheading {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-5);
  font-weight: 700;
  margin: 1.25rem 0 0.625rem;
}

.submit-label-sm {
  font-size: 0.6875rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-4);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.submit-body {
  font-size: 0.9375rem;
  color: var(--gray-5);
  line-height: 1.75;
  margin-bottom: 0.875rem;
}

.submit-body strong { color: var(--white); }

.submit-body a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.submit-list {
  margin: 0 0 0.875rem 1.25rem;
  padding: 0;
}

.submit-list li {
  font-size: 0.9375rem;
  color: var(--gray-5);
  line-height: 1.7;
  margin-bottom: 0.25rem;
  list-style-type: disc;
}

.submit-list--ol li { list-style-type: decimal; }

.submit-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 0.875rem;
}

.submit-table td {
  font-size: 0.875rem;
  color: var(--gray-5);
  padding: 0.625rem 0.875rem;
  border-bottom: 1px solid var(--border-light);
  vertical-align: top;
  line-height: 1.6;
}

.submit-table td:first-child {
  color: var(--gray-6);
  white-space: nowrap;
  padding-right: 1.5rem;
  width: 120px;
}

.submit-table td a { color: var(--red); text-decoration: underline; }

.submit-table tr:last-child td { border-bottom: none; }

/* Sidebar components */
.submit-cta-box {
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.submit-cta-box__label {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.submit-cta-box__text {
  font-size: 0.8125rem;
  color: var(--gray-4);
  margin-bottom: 0.75rem;
}

.submit-cta-box__note {
  font-size: 0.6875rem;
  color: var(--gray-3);
  text-align: center;
  margin-top: 0.5rem;
}

.submit-sidebar-section {
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--border-light);
}

.submit-sidebar-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.submit-facts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-top: 0.75rem;
}

.submit-fact {
  background: var(--black-4);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0.625rem 0.5rem;
  text-align: center;
}

.submit-fact__num {
  display: block;
  font-size: 0.875rem;
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
}

.submit-fact__label {
  display: block;
  font-size: 0.5625rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-4);
  margin-top: 2px;
}

@media (max-width: 960px) {
  .submit-layout {
    grid-template-columns: 1fr;
  }
  .submit-sidebar {
    position: static;
    order: -1;
  }
}

/* ============================================
   MOBILE NAV OVERLAY
   ============================================ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 56px;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--black);
  z-index: 98;
  padding: 1.5rem 1rem;
  flex-direction: column;
  gap: 0;
  border-top: 1px solid var(--border);
  overflow-y: auto;
}

.mobile-nav.open { display: flex; }

.mobile-nav a {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-5);
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
  transition: color 0.2s;
}

.mobile-nav a:hover { color: var(--white); }

/* ============================================
   WORDPRESS ALIGNMENT HELPERS
   ============================================ */
.alignnone { margin: 1rem 0; }
.aligncenter { display: block; margin: 1rem auto; }
.alignleft { float: left; margin: 0 1.5rem 1rem 0; }
.alignright { float: right; margin: 0 0 1rem 1.5rem; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.75rem; color: var(--gray-4); margin-top: 0.5rem; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }

/* ============================================
   SERIES INDEX CARDS (archive-series.php)
   ============================================ */
.series-index-card {
  display: grid;
  grid-template-columns: 220px 1fr;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--black-2);
  transition: border-color 0.2s;
}

.series-index-card:hover { border-color: rgba(180,3,1,0.3); }

.series-index-card__cover {
  background: var(--black-3);
  overflow: hidden;
  aspect-ratio: 16/9;
  min-height: 180px;
}

.series-index-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.series-index-card:hover .series-index-card__cover img { transform: scale(1.03); }

.series-index-card__cover-placeholder {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--black-3), #1a0a0a);
  padding: 1rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--gray-3);
}

.series-index-card__body {
  padding: 1.5rem;
}

.series-index-card__title {
  font-size: 1.375rem;
  font-weight: 900;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.series-index-card:hover .series-index-card__title { color: var(--red); }

.series-index-card__tagline {
  font-size: 0.875rem;
  color: var(--gray-4);
  line-height: 1.6;
  margin-bottom: 0.875rem;
}

.series-index-card__genres {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.series-index-card__stats {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 0.875rem;
}

.series-index-card__stat {
  display: flex;
  align-items: baseline;
  gap: 0.375rem;
}

.series-index-card__stat-num {
  font-size: 1.125rem;
  font-weight: 900;
  color: var(--white);
}

.series-index-card__stat-label {
  font-size: 0.625rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-4);
  font-weight: 600;
}

.series-index-card__status {
  font-size: 0.625rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 3px;
  background: var(--black-5);
  color: var(--gray-4);
}

.series-index-card__status--complete {
  background: #eaf3de;
  color: #27500a;
}

.series-index-card__latest {
  padding: 0.625rem 0;
  border-top: 1px solid var(--border-light);
}

@media (max-width: 640px) {
  .series-index-card { grid-template-columns: 1fr; }
  .series-index-card__cover { aspect-ratio: 16/9; min-height: auto; }
}

/* ============================================
   STORY HERO — TEXT ONLY VARIANT
   ============================================ */
.story-hero--text-only {
  padding: 2.5rem 0;
}

.story-hero--text-only .story-hero__content {
  max-width: 640px;
}

.story-hero--text-only .story-hero__title {
  font-size: 2.75rem;
}

.story-hero--text-only .story-hero__hook {
  max-width: 620px;
  font-size: 1rem;
}

@media (max-width: 640px) {
  .story-hero--text-only .story-hero__title { font-size: 1.875rem; }
}

/* ============================================
   CUSTOM LOGO FIX
   ============================================ */
.custom-logo-link {
  display: flex;
  align-items: center;
}

.custom-logo {
  max-height: 56px;
  width: auto;
  display: block;
}

/* ============================================
   HAMBURGER X ANIMATION
   ============================================ */
.hamburger.is-open span:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}
.hamburger span {
  transition: transform 0.25s ease, opacity 0.2s ease;
  transform-origin: center;
}

/* ============================================
   STORY ROW — TRUNCATE HOOK TEXT
   ============================================ */
.story-row__desc,
.story-card__desc {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.story-row__title {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Hide hook text in latest releases row — keep it clean */
.story-row .story-row__tags {
  display: flex;
  flex-wrap: nowrap;
  overflow: hidden;
}

/* Hamburger red */
.hamburger span { background: var(--red); }

/* ============================================
   ACCESSIBILITY
   ============================================ */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  padding: 0.5rem 1rem;
  background: var(--red);
  color: var(--white);
  font-size: 0.875rem;
  font-weight: 700;
  z-index: 9999;
  overflow: visible;
}

/* Improved focus styles for keyboard navigation */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 3px;
}

/* Story row hook text */
.story-row__hook {
  font-size: 0.8125rem;
  color: var(--gray-5);
  line-height: 1.5;
  margin: 0.25rem 0 0.375rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Rating row under title */
.home-hero__rating-row,
.story-row__rating-row {
  display: flex;
  gap: 0.375rem;
  align-items: center;
  margin-bottom: 0.375rem;
}

/* Remove third column from story row */
.story-row {
  grid-template-columns: 240px 1fr !important;
}
@media (max-width: 640px) {
  .story-row { grid-template-columns: 140px 1fr !important; }
}

/* Bigger story row title */
.story-row__title {
  font-size: 1.125rem !important;
  font-weight: 700;
  margin-bottom: 0.375rem;
}

/* Better tag styling in story rows */
.story-row__tags {
  display: flex;
  gap: 0.375rem;
  flex-wrap: wrap;
  margin-top: 0.375rem;
}

.story-row__tag {
  font-size: 0.625rem !important;
  color: #ff4441 !important;
  border: 1px solid rgba(255,68,65,0.4) !important;
  padding: 0.125rem 0.5rem;
  border-radius: 3px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

/* Mobile - stack image on top, text below */
@media (max-width: 640px) {
  .story-row {
    grid-template-columns: 1fr !important;
    grid-template-rows: auto auto;
  }
  .story-row__thumb {
    width: 100%;
    height: 180px !important;
    border-radius: var(--radius) var(--radius) 0 0;
  }
  .story-row__thumb img {
    object-fit: cover !important;
  }
}

/* ============================================
   START HERE BLOCK
   ============================================ */
.start-here-block {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 1.5rem 2rem;
  background: var(--black-3);
  border: 1px solid rgba(180,3,1,0.25);
  border-left: 3px solid var(--red);
  border-radius: var(--radius);
}

.start-here-block__text {
  flex: 1;
}

.start-here-block__desc {
  font-size: 0.9375rem;
  color: var(--gray-5);
  line-height: 1.6;
  margin: 0;
}

.start-here-block__btn {
  white-space: nowrap;
  flex-shrink: 0;
}

@media (max-width: 640px) {
  .start-here-block {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
  }
  .start-here-block__btn { width: 100%; justify-content: center; }
}

/* ============================================
   ISSUE CALLOUT
   ============================================ */
.issue-callout {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0;
  padding: 0;
  height: 320px;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}

.issue-callout__left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem 2rem;
  flex: 1;
}

.issue-callout__btn {
  white-space: nowrap;
  flex-shrink: 0;
  align-self: center;
  margin-right: 2rem;
}

@media (max-width: 640px) {
  .issue-callout {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
  }
  .issue-callout__btn { width: 100%; justify-content: center; }
}

/* ============================================
   FEATURED EDITORIAL CARD
   ============================================ */
.editorial-card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 0;
  padding: 0;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  text-decoration: none;
  transition: border-color 0.2s;
  overflow: hidden;
  align-items: stretch;
}

.editorial-card:hover {
  border-color: rgba(180,3,1,0.4);
}

.editorial-card__image {
  overflow: hidden;
  background: var(--black-3);
  border-right: 1px solid var(--border);
  width: 100%;
  height: 100%;
  min-height: 200px;
}

.editorial-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  background: var(--black-3);
}

.editorial-card__body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  padding: 2rem;
}

@media (max-width: 768px) {
  .editorial-card {
    flex-direction: column;
  }
  .editorial-card__image {
    display: block;
  }
}

.editorial-card__eyebrow {
  font-size: 0.625rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 0.625rem;
}

.editorial-card__title {
  font-size: 1.125rem;
  font-weight: 800;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}

.editorial-card:hover .editorial-card__title {
  color: var(--red);
}

.editorial-card__desc {
  font-size: 0.875rem;
  color: var(--gray-5);
  line-height: 1.7;
  margin-bottom: 1rem;
}

.editorial-card__cta {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
}

/* ============================================
   EMAIL CAPTURE
   ============================================ */
.email-capture {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding: 2rem 0;
}

.email-capture__title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

.email-capture__desc {
  font-size: 0.875rem;
  color: var(--gray-5);
  margin: 0;
}

/* Override MailerLite form styles to match Apokalypsis */
#mlb2-40412963.ml-form-embedContainer .ml-form-embedWrapper {
  background-color: transparent !important;
  border: none !important;
  width: 100% !important;
  max-width: 100% !important;
}

#mlb2-40412963.ml-form-embedContainer .ml-form-embedWrapper.embedForm {
  max-width: 100% !important;
  width: 100% !important;
}

#mlb2-40412963.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody {
  padding: 0 !important;
}

#mlb2-40412963.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input {
  background-color: var(--black-3) !important;
  color: var(--white) !important;
  border-color: var(--border) !important;
  border-radius: 4px !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.875rem !important;
  padding: 0.75rem 1rem !important;
}

#mlb2-40412963.ml-form-embedContainer .ml-form-embedWrapper .ml-form-embedBody .ml-form-horizontalRow input::placeholder {
  color: var(--gray-4) !important;
}

@media (max-width: 768px) {
  .email-capture {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

/* ============================================
   APOKALYPSIS SUBSCRIBE FORM (native)
   ============================================ */
.apok-subscribe-form__row {
  display: flex;
  gap: 0.5rem;
  width: 100%;
}

.apok-subscribe-form__input {
  flex: 1;
  background: var(--black-3);
  border: 1px solid var(--border);
  border-radius: 4px;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  padding: 0.75rem 1rem;
  outline: none;
  transition: border-color 0.2s;
  min-width: 0;
}

.apok-subscribe-form__input::placeholder {
  color: var(--gray-4);
}

.apok-subscribe-form__input:focus {
  border-color: rgba(180,3,1,0.5);
}

.apok-subscribe-form__btn {
  background: var(--red);
  border: none;
  border-radius: 4px;
  color: #fff;
  cursor: pointer;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  transition: background 0.2s;
  white-space: nowrap;
  flex-shrink: 0;
}

.apok-subscribe-form__btn:hover {
  background: #8B0200;
}

.apok-subscribe-form__note {
  font-size: 0.6875rem;
  color: var(--gray-3);
  margin: 0.625rem 0 0 0;
  letter-spacing: 0.04em;
}

@media (max-width: 640px) {
  .apok-subscribe-form__row {
    flex-direction: column;
  }
  .apok-subscribe-form__btn {
    width: 100%;
  }
}

/* ============================================
   ISSUE CALLOUT — cover image
   ============================================ */
.issue-callout__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
}

.issue-callout__cover {
  height: 100%;
  min-height: 120px;
  width: auto;
  border-radius: 0;
  border: none;
  border-right: 1px solid var(--border);
  flex-shrink: 0;
  display: block;
  object-fit: cover;
}

/* ============================================
   STORY TITLE LINE CLAMP
   ============================================ */
.story-row__title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
