/* ================================================
   HEART Ghost Theme — EDITORIAL ZINE v3
   Full-width magazine layout · No sidebar
   ================================================ */

@import url('https://fonts.googleapis.com/css2?family=Anton&family=Special+Elite&family=Caveat:wght@400;700&family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Alfa+Slab+One&family=Fraunces:ital,opsz,wght@0,9..144,400;0,9..144,600;0,9..144,700;1,9..144,400&display=swap');

:root {
  --paper: #FDF8D8;
  --paper-warm: #F8ECBC;
  --navy: #1D3460;
  --navy-soft: #344778;
  --navy-mist: #B8C1D3;
  --orange: #E26C2B;
  --orange-hot: #D85A1B;
  --postit: #F6E76C;
  --tape: #F2DB6E;

  --font-display: 'Anton', 'Impact', sans-serif;
  --font-slab: 'Fraunces', 'Georgia', serif;
  --font-serif: 'Fraunces', serif;
  --font-typewriter: 'Special Elite', 'Courier New', monospace;
  --font-mono: 'Space Mono', monospace;
  --font-hand: 'Caveat', cursive;

  --max-width: 1300px;
  --content-width: 65ch;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--navy);
  font-family: var(--font-typewriter);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Paper grain — kept subtle so the cream stays luminous */
body::before {
  content: '';
  position: fixed; inset: 0;
  pointer-events: none; z-index: 999;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='200' height='200'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='4' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.06 0 0 0 0 0.1 0 0 0 0 0.2 0 0 0 0.35 0'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
  mix-blend-mode: multiply; opacity: 0.2;
}
body::after {
  content: ''; position: fixed; inset: 0; pointer-events: none; z-index: 998;
  background: radial-gradient(ellipse at center, transparent 55%, rgba(40,30,10,0.04) 100%);
}

.kicker { font-family: var(--font-mono); font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.22em; color: var(--orange); font-weight: 700; }
.orange { color: var(--orange); }
.sep { color: var(--orange); margin: 0 0.3em; font-weight: 700; }
a { color: var(--orange); text-decoration: none; }
a:hover { color: var(--orange-hot); }

/* ================================================
   MASTHEAD — newspaper-style
   ================================================ */
.site-header { background: var(--paper); border-top: 5px solid var(--orange); }

.masthead {
  max-width: var(--max-width); margin: 0 auto;
  padding: 2rem 2.5rem 1.5rem;
  display: flex; align-items: flex-end; justify-content: space-between; gap: 2rem;
  border-bottom: 3px solid var(--navy);
}

.site-title { text-decoration: none; color: var(--navy); }

.heart-logo {
  font-family: var(--font-display);
  font-size: clamp(5rem, 14vw, 10rem);
  line-height: 0.8; letter-spacing: -0.02em;
  color: var(--navy); text-transform: uppercase;
  margin: 0;
  text-shadow: 6px 5px 0 var(--orange);
}

.masthead-right { text-align: right; padding-bottom: 0.6rem; }

.site-tagline {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1rem; color: var(--navy-soft);
  max-width: 22ch; line-height: 1.3;
  margin-left: auto; margin-bottom: 0.5rem;
}

.site-meta {
  font-family: var(--font-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--navy-soft); line-height: 1.5;
}

/* ================================================
   NAV — dark bar with pills
   ================================================ */
.site-nav { background: var(--navy); }

.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 2.5rem; }

.nav-list {
  list-style: none; display: flex; flex-wrap: wrap; gap: 0;
  border-bottom: none;
}

.nav-item a {
  display: block; padding: 0.7rem 1rem;
  font-family: var(--font-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  color: rgba(243,235,211,0.7); text-decoration: none;
  border-bottom: 3px solid transparent;
  transition: all 0.12s;
}
.nav-item a:hover { color: var(--paper); border-bottom-color: var(--orange); background: rgba(226,108,43,0.15); }

/* ================================================
   COVER / HERO — tagline band
   ================================================ */
.cover {
  background: var(--navy); color: var(--paper);
  padding: 3.5rem 0; position: relative; overflow: hidden;
}
.cover::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 25% 25%, var(--paper) 0.5px, transparent 1px);
  background-size: 14px 14px; opacity: 0.06;
}
.cover-inner {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2.5rem; position: relative;
}
.cover-tagline {
  font-family: var(--font-serif); font-style: italic; font-weight: 400;
  font-size: clamp(1.3rem, 2.5vw, 2rem); line-height: 1.35;
  color: var(--navy-mist); max-width: 50rem;
}
.cover-tagline strong { font-weight: 600; font-style: normal; color: var(--paper); }
.cover-tagline em { font-style: italic; color: var(--orange); font-weight: 600; }

/* ================================================
   FEATURED POST — big hero card
   ================================================ */
.featured-wrap {
  max-width: var(--max-width); margin: 0 auto;
  padding: 3rem 2.5rem;
}
.featured-post {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 3rem;
  background: #FDF6E0; border: 2px solid var(--navy);
  box-shadow: 7px 7px 0 var(--orange);
  padding: 2.5rem; position: relative; align-items: start;
}
.featured-post::before {
  content: ''; position: absolute; top: -10px; left: 35%;
  width: 100px; height: 24px; background: var(--tape);
  opacity: 0.8; transform: rotate(-2deg); z-index: 2;
}
.piece-dept {
  display: inline-block; font-family: var(--font-mono); font-size: 0.62rem;
  text-transform: uppercase; letter-spacing: 0.18em; font-weight: 700;
  color: var(--orange); padding: 0.25rem 0.6rem;
  border: 2px solid var(--orange); margin-bottom: 0.8rem;
}
.featured-title {
  font-family: var(--font-slab); font-weight: 700; font-size: clamp(1.8rem, 3.5vw, 2.5rem);
  line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 0.8rem; color: var(--navy);
}
.featured-title a { color: var(--navy); text-decoration: none; }
.featured-title a:hover { color: var(--orange); }
.featured-meta {
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--navy-soft);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 1rem;
}
.featured-excerpt {
  font-family: var(--font-typewriter); font-size: 0.95rem; line-height: 1.7; color: var(--navy);
}
.featured-excerpt::first-letter {
  font-family: var(--font-slab); font-weight: 700; float: left;
  font-size: 3.5rem; line-height: 0.85; padding-right: 0.5rem; color: var(--orange);
}
.featured-image img {
  width: 100%; height: auto; border: 2px solid var(--navy);
  box-shadow: 4px 4px 0 rgba(29,52,96,0.1);
}
.read-more {
  font-family: var(--font-mono); font-size: 0.7rem; text-transform: uppercase;
  letter-spacing: 0.12em; color: var(--orange); font-weight: 700;
  border-bottom: 2px solid var(--orange); padding-bottom: 2px;
  display: inline-block; margin-top: 1rem;
}
.read-more:hover { color: var(--navy); border-color: var(--navy); }

/* ================================================
   ISSUE GRID — magazine layout
   ================================================ */
.issue-section {
  padding: 4rem 0 5rem; position: relative;
  border-top: 2px dashed var(--navy-soft);
}
.issue-section::before {
  content: '✂ — — — — — — — — — — — — — — — — — — —';
  position: absolute; top: -0.7rem; left: 3rem;
  background: var(--paper); padding: 0 0.7rem;
  font-family: var(--font-mono); font-size: 0.7rem; color: var(--navy-soft);
  letter-spacing: 0.15em;
}
.issue-header {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2.5rem;
  display: flex; align-items: baseline; justify-content: space-between;
  margin-bottom: 2.5rem; padding-bottom: 1rem;
  border-bottom: 3px solid var(--navy);
}
.issue-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3rem);
  text-transform: uppercase; line-height: 1; color: var(--navy);
  text-shadow: 3px 3px 0 var(--orange); margin: 0;
}
.issue-sub {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1rem; color: var(--navy-soft);
}

.issue-grid {
  max-width: var(--max-width); margin: 0 auto; padding: 0 2.5rem;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem;
}

/* Individual pieces with visual variety */
.piece { position: relative; padding: 0; }

.piece-title {
  font-family: var(--font-slab); font-weight: 700; font-size: 1.4rem;
  line-height: 1.2; letter-spacing: -0.005em; margin-bottom: 0.5rem; color: var(--navy);
}
.piece-title a { color: var(--navy); text-decoration: none; }
.piece-title a:hover { color: var(--orange); }
.piece-byline {
  font-family: var(--font-mono); font-size: 0.65rem; color: var(--navy-soft);
  text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.8rem;
}
.piece-image { display: block; margin-bottom: 0.8rem; }
.piece-image img { width: 100%; height: auto; border: 2px solid var(--navy); display: block; }
.piece-excerpt {
  font-family: var(--font-serif); font-size: 0.95rem;
  line-height: 1.5; color: var(--navy);
}

/* Alternate piece styles via nth-child */
.piece:nth-child(3n+1) {
  background: #FDF6E0; border: 2px solid rgba(29,52,96,0.15);
  padding: 1.8rem; box-shadow: 4px 4px 0 rgba(29,52,96,0.06);
}

.piece:nth-child(3n+2) {
  background: var(--paper);
  border-left: 4px solid var(--orange); padding: 1.8rem 1.8rem 1.8rem 1.5rem;
}

.piece:nth-child(3n+3) {
  background: var(--navy); color: var(--paper); padding: 1.8rem;
  overflow: hidden; position: relative;
  box-shadow: 7px 7px 0 var(--orange);
}
.piece:nth-child(3n+3)::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 25% 25%, var(--paper) 0.5px, transparent 1px);
  background-size: 12px 12px; opacity: 0.06;
}
.piece:nth-child(3n+3) > * { position: relative; }
.piece:nth-child(3n+3) .piece-dept { color: var(--orange); border-color: var(--orange); }
.piece:nth-child(3n+3) .piece-title a { color: var(--paper); }
.piece:nth-child(3n+3) .piece-title a:hover { color: var(--orange); }
.piece:nth-child(3n+3) .piece-byline { color: var(--navy-mist); }
.piece:nth-child(3n+3) .piece-excerpt { color: var(--navy-mist); }
.piece:nth-child(3n+3) .read-more { color: var(--orange); border-color: var(--orange); }

/* Wide first piece */
.piece:first-child { grid-column: 1 / 3; }

/* ================================================
   DEPARTMENTS — zine section
   ================================================ */
.dept-section {
  background: linear-gradient(180deg, var(--paper), var(--paper-warm));
  padding: 5rem 0 6rem; border-top: 2px dashed var(--navy-soft); position: relative;
}
.dept-section::before {
  content: '✂ — — — — — — — — — — — — — — — — — — —';
  position: absolute; top: -0.7rem; left: 3rem; background: var(--paper);
  padding: 0 0.7rem; font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--navy-soft); letter-spacing: 0.15em;
}
.dept-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 2.5rem; }
.dept-header { margin-bottom: 3rem; }
.dept-title {
  font-family: var(--font-display); font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  text-transform: uppercase; line-height: 0.95; color: var(--navy);
  text-shadow: 3px 3px 0 var(--orange); margin-top: 0.5rem;
}
.dept-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; }

.dept {
  position: relative;
  display: block;
  color: inherit;
  text-decoration: none;
  transition: transform 0.15s ease;
}
.dept:hover {
  transform: translate(-2px, -2px);
}
.dept:hover .dept-stamp {
  background: var(--orange);
  color: var(--paper);
}
.dept:hover .dept-stamp.navy {
  background: var(--navy);
  color: var(--paper);
}
.dept:hover h3 {
  color: var(--orange);
}
.dept-stamp {
  display: inline-block; font-family: var(--font-display);
  text-transform: uppercase; font-size: 1.15rem; letter-spacing: 0.02em;
  padding: 0.5rem 0.85rem 0.4rem; margin-bottom: 0.8rem; line-height: 1;
  border: 3px solid var(--orange); color: var(--orange);
  transition: background 0.15s ease, color 0.15s ease;
}
.dept-stamp.navy { border-color: var(--navy); color: var(--navy); }

.dept h3 {
  font-family: var(--font-slab); font-weight: 700; font-size: 1.25rem; line-height: 1.25;
  color: var(--navy); margin-bottom: 0.4rem;
  transition: color 0.15s ease;
}
.dept p {
  font-family: var(--font-typewriter); font-size: 0.85rem;
  line-height: 1.6; color: var(--navy); max-width: 26em;
}

/* ================================================
   WELCOME — strikethrough headline
   ================================================ */
.welcome-section {
  padding: 6rem 2.5rem; text-align: center;
  max-width: 900px; margin: 0 auto;
}
.welcome-title {
  font-family: var(--font-display); font-size: clamp(2.5rem, 6vw, 4.5rem);
  line-height: 0.95; color: var(--navy); text-transform: uppercase;
  margin: 1rem 0 2rem;
}
.strike {
  position: relative; color: var(--navy-soft);
}
.strike::after {
  content: ''; position: absolute; left: -3%; right: -3%; top: 50%;
  height: 5px; background: var(--orange); transform: rotate(-3deg);
}
.caret { color: var(--orange); font-size: 0.8em; margin: 0 0.05em; }
.welcome-body {
  font-family: var(--font-serif); font-size: 1.2rem; line-height: 1.7;
  color: var(--navy); max-width: 38rem; margin: 0 auto; text-align: left;
}
.welcome-body em { color: var(--orange); font-weight: 600; }

/* ================================================
   SUBSCRIBE — navy full-bleed
   ================================================ */
.subscribe-section {
  background: var(--navy); color: var(--paper);
  padding: 5rem 2.5rem 6rem; position: relative; overflow: hidden;
}
.subscribe-section::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 25% 25%, var(--paper) 0.5px, transparent 1px);
  background-size: 14px 14px; opacity: 0.07;
}
.subscribe-inner {
  max-width: var(--max-width); margin: 0 auto; position: relative;
  display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center;
}
.subscribe-title {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4.5rem);
  line-height: 0.95; text-transform: uppercase; color: var(--paper);
  text-shadow: 4px 3px 0 var(--orange); margin: 0.5rem 0 1.5rem;
  word-wrap: break-word; overflow-wrap: break-word;
}
/* Orange span inside subscribe-title gets a navy shadow so orange-on-orange
   doesn't ghost/smear the letters */
.subscribe-title .orange {
  text-shadow: 3px 2px 0 rgba(11, 27, 58, 0.35);
}
.subscribe-text p {
  font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.6;
  color: var(--navy-mist); max-width: 340px;
}
.subscribe-form {
  background: var(--paper); color: var(--navy);
  border: 2px dashed var(--navy-soft); padding: 2rem;
  box-shadow: 7px 7px 0 var(--orange);
}
.sub-label {
  font-family: var(--font-mono); font-size: 0.68rem;
  text-transform: uppercase; letter-spacing: 0.18em;
  color: var(--navy-soft); margin-bottom: 0.5rem;
}
.subscribe-form input {
  width: 100%; padding: 0.6rem 0; border: none;
  border-bottom: 2px solid var(--navy); background: transparent;
  font-family: var(--font-typewriter); font-size: 1rem;
  color: var(--navy); outline: none; margin-bottom: 1.2rem;
}
.subscribe-form input::placeholder { color: var(--navy-soft); opacity: 0.6; }
.subscribe-form button {
  background: var(--orange); color: var(--paper);
  border: 2px solid var(--navy); font-family: var(--font-display);
  font-size: 1rem; text-transform: uppercase; letter-spacing: 0.1em;
  padding: 0.85rem 1.5rem; cursor: pointer;
  box-shadow: 3px 3px 0 var(--navy); width: 100%;
  transition: transform 0.1s, box-shadow 0.1s;
}
.subscribe-form button:hover { transform: translate(-2px,-2px); box-shadow: 5px 5px 0 var(--navy); }
.sub-fine {
  font-family: var(--font-hand); font-size: 1.05rem;
  margin-top: 1rem; color: var(--navy-soft); line-height: 1.2;
}

/* ================================================
   SUBMIT — cream section
   ================================================ */
.submit-section {
  padding: 5rem 2.5rem; border-top: 2px dashed var(--navy-soft); position: relative;
  overflow: hidden;
}
.submit-section::before {
  content: '✂ — — — — — — — — — — — — — — — — — — —';
  position: absolute; top: -0.7rem; left: 3rem; background: var(--paper);
  padding: 0 0.7rem; font-family: var(--font-mono); font-size: 0.7rem;
  color: var(--navy-soft); letter-spacing: 0.15em;
  white-space: nowrap; max-width: calc(100% - 6rem); overflow: hidden;
}
.submit-inner { max-width: 700px; margin: 0 auto; }
.submit-title {
  font-family: var(--font-display); font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 0.95; color: var(--navy); text-transform: uppercase;
  margin: 0.5rem 0 1.5rem;
  word-wrap: break-word; overflow-wrap: break-word;
}
.submit-inner p {
  font-family: var(--font-serif); font-size: 1.05rem; line-height: 1.65;
  color: var(--navy); margin-bottom: 1rem;
  word-wrap: break-word; overflow-wrap: break-word;
}
.submit-btn {
  display: inline-block; font-family: var(--font-display);
  text-transform: uppercase; font-size: 1.1rem; letter-spacing: 0.08em;
  padding: 0.9rem 1.7rem; border: 3px solid var(--navy); color: var(--navy);
  text-decoration: none; background: var(--paper); margin-top: 0.5rem;
  box-shadow: 7px 7px 0 var(--orange);
  transition: all 0.12s;
}
.submit-btn:hover {
  background: var(--orange); border-color: var(--orange); color: var(--paper);
  box-shadow: 7px 7px 0 var(--navy);
}

/* ================================================
   FOOTER
   ================================================ */
.site-footer {
  padding: 4rem 2.5rem 3rem; background: var(--navy); color: var(--paper);
  font-family: var(--font-mono); font-size: 0.78rem; line-height: 1.7;
  border-top: 5px solid var(--orange);
}
.footer-content {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 3rem;
  max-width: var(--max-width); margin: 0 auto;
  padding-bottom: 2.5rem; border-bottom: 1px solid rgba(243,235,211,0.2);
}
.footer-section h4 {
  font-family: var(--font-display); font-size: 1.1rem;
  text-transform: uppercase; letter-spacing: 0.1em;
  margin-bottom: 0.8rem; color: var(--orange);
}
.footer-heart {
  font-family: var(--font-display); font-size: 2.4rem;
  text-transform: uppercase; color: var(--paper);
  display: inline-block; margin-bottom: 0.5rem;
  text-shadow: 3px 2px 0 var(--orange);
}
.footer-section p { max-width: 340px; color: rgba(243,235,211,0.8); margin-bottom: 0.5rem; }
.footer-section ul { list-style: none; }
.footer-section ul li { margin-bottom: 0.3rem; }
.footer-section a { color: var(--paper); border-bottom: 1px dashed rgba(243,235,211,0.4); text-decoration: none; }
.footer-section a:hover { color: var(--orange); border-color: var(--orange); }
.footer-bottom {
  max-width: var(--max-width); margin: 2.5rem auto 0;
  display: flex; justify-content: space-between;
  font-size: 0.7rem; color: rgba(243,235,211,0.55);
}
.footer-bottom p { margin: 0; }

/* ================================================
   SINGLE POST — full-width reading
   ================================================ */
.post-single {
  max-width: 780px; margin: 0 auto;
  padding: 3rem 2.5rem 4rem;
}
.post-single .post-header {
  text-align: center; margin-bottom: 2.5rem;
  padding-bottom: 2rem; border-bottom: 3px solid var(--navy);
  position: relative;
}
.post-single .post-header::after {
  content: '✦'; position: absolute; bottom: -0.6rem; left: 50%;
  transform: translateX(-50%); background: var(--paper);
  padding: 0 0.5rem; color: var(--orange); font-size: 0.9rem;
}
.post-single .post-title {
  font-family: var(--font-slab); font-weight: 700; font-size: clamp(2rem, 5vw, 3rem);
  line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 1rem; color: var(--navy);
}
.post-single .post-header .post-meta { justify-content: center; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.post-meta {
  font-family: var(--font-mono); font-size: 0.68rem; color: var(--navy-soft);
  text-transform: uppercase; letter-spacing: 0.08em;
}
.post-meta-separator { color: var(--orange); font-weight: 700; }
.lead {
  font-family: var(--font-serif); font-style: italic; font-size: 1.25rem;
  color: var(--navy-soft); line-height: 1.5; max-width: 36em; margin: 1rem auto 0;
}

.post-single .post-image { margin: 0 0 2.5rem; }
.post-single .post-image img { width: 100%; border: 2px solid var(--navy); }
.post-single .post-image figcaption {
  font-family: var(--font-hand); font-size: 1.15rem;
  text-align: center; margin-top: 0.6rem; color: var(--navy-soft);
}

.post-content {
  font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.75;
  color: var(--navy);
}
.post-content p { margin-bottom: 1.4rem; max-width: none; }
.post-content h2 {
  font-family: var(--font-display); font-size: 1.8rem;
  text-transform: uppercase; margin: 3rem 0 1.5rem;
  text-shadow: 2px 2px 0 var(--orange);
}
.post-content h3 { font-family: var(--font-slab); font-weight: 700; font-size: 1.4rem; margin: 2.5rem 0 1rem; }
.post-content blockquote {
  border-left: 4px solid var(--orange); padding: 1.2rem 1.5rem;
  margin: 2rem 0; background: rgba(226,108,43,0.08);
  font-style: italic; color: var(--navy-soft);
}
.post-content blockquote p:last-child { margin-bottom: 0; }
.post-content img { max-width: 100%; margin: 2rem 0; border: 2px solid var(--navy); }
.post-content a { color: var(--orange); border-bottom: 2px solid var(--orange); font-weight: 600; }
.post-content a:hover { color: var(--navy); border-color: var(--navy); }
.post-content ul, .post-content ol { margin: 1.2rem 0 1.2rem 1.5rem; }
.post-content li { margin-bottom: 0.5rem; }
.post-content hr {
  border: none; border-top: 2px dashed var(--navy-soft); margin: 2.5rem 0;
  position: relative;
}
.post-content hr::before {
  content: '✂'; position: absolute; top: -0.7em; left: 2rem;
  background: var(--paper); padding: 0 0.4rem; color: var(--navy-soft);
}
.post-footer {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 2px dashed var(--navy-soft);
}
.post-footer strong {
  font-family: var(--font-mono); font-size: 0.72rem;
  text-transform: uppercase; letter-spacing: 0.12em; color: var(--navy-soft);
}
.post-tags { margin-top: 0.8rem; display: flex; gap: 0.4rem; flex-wrap: wrap; }
.tag {
  display: inline-block; font-family: var(--font-mono); font-size: 0.6rem;
  text-transform: uppercase; letter-spacing: 0.15em;
  color: var(--orange); padding: 0.2rem 0.5rem;
  border: 2px solid var(--orange); font-weight: 700; text-decoration: none;
}
.tag:hover { background: var(--orange); color: var(--paper); }

/* Author bio */
.author-bio-section {
  max-width: 780px; margin: 2rem auto 0; padding: 2rem;
  background: var(--paper-warm); border: 2px solid var(--navy);
  box-shadow: 4px 4px 0 var(--orange);
}
.author-header { display: grid; grid-template-columns: 80px 1fr; gap: 1.5rem; }
.author-avatar { width: 80px; height: 80px; border: 2px solid var(--navy); object-fit: cover; }
.author-info h3 { font-family: var(--font-display); font-size: 1.3rem; text-transform: uppercase; margin: 0 0 0.3rem; }
.author-bio-text { font-family: var(--font-serif); font-style: italic; color: var(--navy-soft); font-size: 0.95rem; }
.author-links { font-family: var(--font-mono); font-size: 0.7rem; color: var(--navy-soft); text-transform: uppercase; }
.author-links a { color: var(--orange); border-bottom: 1px solid var(--orange); }

/* Department tag page */
.department-header {
  text-align: center; padding: 3rem 2.5rem; border-bottom: 3px solid var(--navy);
  max-width: var(--max-width); margin: 0 auto;
}
.department-title {
  font-family: var(--font-display); font-size: clamp(2.5rem, 5vw, 4rem);
  text-transform: uppercase; color: var(--navy); margin-bottom: 1rem;
  text-shadow: 4px 3px 0 var(--orange);
}
.department-description {
  font-family: var(--font-serif); font-style: italic;
  font-size: 1.15rem; color: var(--navy-soft); max-width: 40ch; margin: 0 auto;
}
.department-image {
  max-width: var(--max-width); margin: 2rem auto 0;
}
.department-image img {
  width: 100%; height: auto; display: block;
  border: 3px solid var(--navy);
  box-shadow: 8px 8px 0 var(--orange);
}

/* Tag/author pages use a simpler feed */
.tag-template .posts-feed, .author-template .posts-feed {
  max-width: 780px; margin: 0 auto; padding: 2rem 2.5rem;
}
.post-card {
  border-bottom: 1px dashed rgba(29,52,96,0.3); padding: 1.5rem 0;
}
.post-card:last-child { border-bottom: none; }
.post-title { font-family: var(--font-slab); font-weight: 700; font-size: 1.4rem; line-height: 1.2; margin: 0 0 0.4rem; }
.post-title a { color: var(--navy); text-decoration: none; }
.post-title a:hover { color: var(--orange); }
.post-excerpt { font-family: var(--font-serif); font-size: 1rem; line-height: 1.55; color: var(--navy); }
.post-image img { width: 100%; border: 2px solid var(--navy); margin: 0.8rem 0; }

/* Author page header */
.author-page-header {
  display: grid; grid-template-columns: 100px 1fr; gap: 1.5rem;
  max-width: 780px; margin: 0 auto; padding: 2rem 2.5rem;
  border-bottom: 3px solid var(--navy);
}
.author-page-header h1 {
  font-family: var(--font-display); font-size: 2.2rem;
  text-transform: uppercase; margin: 0; text-shadow: 2px 2px 0 var(--orange);
}

/* Error page */
.error-page { text-align: center; padding: 5rem 2.5rem; }
.error-code { font-family: var(--font-display); font-size: 8rem; color: var(--navy); text-shadow: 6px 5px 0 var(--orange); }
.error-page h1 { font-family: var(--font-slab); font-weight: 700; font-size: 1.5rem; margin: 1.5rem 0 1rem; }
.error-page p { font-family: var(--font-serif); font-style: italic; color: var(--navy-soft); max-width: 32ch; margin: 0 auto 1.5rem; }
.error-page .back-link { font-family: var(--font-mono); font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--orange); border-bottom: 2px solid var(--orange); font-weight: 700; }

/* Pagination */
.pagination {
  max-width: var(--max-width); margin: 0 auto;
  padding: 2rem 2.5rem; display: flex; justify-content: center; gap: 2rem;
  font-family: var(--font-mono); font-size: 0.75rem;
  text-transform: uppercase; letter-spacing: 0.1em;
}
.pagination a { color: var(--navy); border-bottom: 2px solid var(--orange); padding-bottom: 2px; font-weight: 700; }

/* ================================================
   Ghost Koenig Cards
   ================================================ */
.kg-width-wide { margin-left: -80px; margin-right: -80px; max-width: calc(100% + 160px); }
.kg-width-full { margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw); width: 100vw; max-width: none; }
.kg-image-card, .kg-gallery-card { margin: 2rem 0; }
.kg-image-card img { max-width: 100%; border: 2px solid var(--navy); }
.kg-image-card figcaption, .kg-gallery-card figcaption { text-align: center; font-family: var(--font-hand); font-size: 1rem; color: var(--navy-soft); margin-top: 0.8rem; }
.kg-gallery-container { display: flex; flex-direction: column; gap: 1rem; }
.kg-gallery-row { display: flex; gap: 1rem; }
.kg-gallery-image img { display: block; width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--navy); }
.kg-embed-card { margin: 2rem 0; }
.kg-embed-card iframe { width: 100%; }
.kg-bookmark-card { margin: 2rem 0; }
.kg-bookmark-container { display: flex; border: 2px solid var(--navy); background: var(--paper-warm); box-shadow: 3px 3px 0 rgba(29,52,96,0.1); text-decoration: none; color: var(--navy); }
.kg-bookmark-container:hover { box-shadow: 5px 5px 0 var(--orange); }
.kg-bookmark-content { flex: 1; padding: 1.2rem; }
.kg-bookmark-title { font-family: var(--font-slab); font-weight: 700; font-size: 1rem; margin-bottom: 0.3rem; }
.kg-bookmark-description { font-family: var(--font-serif); font-size: 0.85rem; color: var(--navy-soft); }
.kg-bookmark-thumbnail { width: 200px; min-height: 160px; }
.kg-bookmark-thumbnail img { width: 100%; height: 100%; object-fit: cover; }
.kg-callout-card { margin: 2rem 0; padding: 1.2rem; background: var(--postit); border: 2px solid var(--navy); display: flex; gap: 0.8rem; }
.kg-button-card { margin: 2rem 0; text-align: center; }
.kg-button-card a {
  display: inline-block; font-family: var(--font-display); text-transform: uppercase;
  padding: 0.85rem 1.5rem; border: 3px solid var(--navy); color: var(--navy);
  background: var(--paper); box-shadow: 4px 4px 0 var(--orange);
}
.kg-button-card a:hover { background: var(--orange); color: var(--paper); border-color: var(--orange); }

/* ================================================
   Responsive
   ================================================ */
@media (max-width: 900px) {
  .masthead { flex-direction: column; align-items: flex-start; padding: 1.5rem; gap: 0.5rem; }
  .heart-logo { font-size: 4.5rem; text-shadow: 4px 3px 0 var(--orange); }
  .masthead-right { text-align: left; }
  .site-tagline { margin-left: 0; }
  .nav-inner { padding: 0 1rem; }
  .cover-inner, .featured-wrap, .issue-header, .issue-grid, .dept-inner { padding: 0 1.5rem; }
  .featured-post { grid-template-columns: 1fr; gap: 1.5rem; padding: 1.5rem; }
  .issue-grid { grid-template-columns: 1fr; }
  .piece:first-child { grid-column: 1; }
  .dept-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .subscribe-section { padding: 3.5rem 1.5rem 4rem; }
  .subscribe-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-content { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; }
  .welcome-section { padding: 4rem 1.5rem; }
  .submit-section { padding: 3rem 1.5rem; }
  .submit-inner p, .subscribe-text p { max-width: 100%; }
  .post-single { padding: 2rem 1.5rem; }
  .author-page-header { grid-template-columns: 1fr; text-align: center; justify-items: center; padding: 2rem 1.5rem; }
  .issue-section::before, .dept-section::before, .submit-section::before { display: none; }
  .hero-title { font-size: 2.5rem; }
  .kg-width-wide { margin-left: 0; margin-right: 0; max-width: 100%; }
  /* Defensive: keep everything inside the viewport */
  .subscribe-title, .submit-title, .hero-title, .featured-title, .piece-title, .post-title {
    word-wrap: break-word; overflow-wrap: break-word; hyphens: auto;
  }
}

@media print {
  body { background: white; color: black; }
  body::before, body::after { display: none; }
  .site-header, .site-nav, .site-footer, .subscribe-section, .submit-section, .dept-section, .welcome-section { display: none; }
}
