/* =========================================
   I Have a Few Thoughts — Ghost Theme
   ========================================= */

/* --- CSS Variables --- */
:root {
  --cream: #FAF7F2;
  --warm-white: #FFFDF9;
  --ink: #2C2825;
  --ink-light: #5C5652;
  --ink-faint: #9B9490;
  --terracotta: #C4705A;
  --terracotta-soft: #D4907E;
  --terracotta-bg: #F5E6E0;
  --sage: #8A9A7B;
  --sage-bg: #EBF0E7;
  --border: #E8E2DA;
  --shadow: rgba(44, 40, 37, 0.06);
  --radius: 10px;
  --accent: var(--ghost-accent-color, #C4705A);
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: 'DM Sans', sans-serif;
  background: var(--cream);
  background-color: var(--cream);
  color: var(--ink);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

::selection {
  background: var(--terracotta-bg);
  color: var(--ink);
}

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

/* =========================================
   NAVIGATION
   ========================================= */
.site-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(250, 247, 242, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s ease;
}

.site-nav.scrolled {
  box-shadow: 0 2px 20px var(--shadow);
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  font-family: 'Instrument Serif', serif;
  font-size: 1.35rem;
  color: var(--ink);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  align-items: center;
}

.nav-links a {
  text-decoration: none;
  color: var(--ink-light);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.01em;
  transition: color 0.2s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--terracotta);
  transition: width 0.3s ease;
}

.nav-links a:hover { color: var(--ink); }
.nav-links a:hover::after { width: 100%; }

.nav-subscribe {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-size: 0.85rem !important;
  font-weight: 500 !important;
  transition: background 0.2s ease, transform 0.15s ease !important;
}
.nav-subscribe::after { display: none !important; }
.nav-subscribe:hover {
  background: var(--ink-light) !important;
  color: var(--cream) !important;
  transform: translateY(-1px);
}

/* Mobile hamburger */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  margin: 5px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

/* =========================================
   HERO (Homepage)
   ========================================= */
.hero {
  padding: 160px 2rem 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -120px;
  right: -200px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--terracotta-bg) 0%, transparent 70%);
  opacity: 0.5;
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -100px;
  left: -150px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--sage-bg) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 0 auto;
}

.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(3rem, 7vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--ink);
  margin-bottom: 1.25rem;
}

.hero h1 em {
  font-style: italic;
  color: var(--terracotta);
}

.hero-subtitle {
  font-size: 1.15rem;
  color: var(--ink-light);
  max-width: 500px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
  font-weight: 300;
}

.hero-tags {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-tag {
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 500;
  letter-spacing: 0.02em;
  cursor: default;
  text-decoration: none;
}

.hero-tag:nth-child(1) { border: 1px solid var(--terracotta-soft); color: var(--terracotta); background: var(--terracotta-bg); }
.hero-tag:nth-child(2) { border: 1px solid var(--sage); color: #5E7350; background: var(--sage-bg); }
.hero-tag:nth-child(3) { border: 1px solid #B8A99A; color: #7A6B5D; background: #F2EDE7; }

/* =========================================
   SECTION HEADERS
   ========================================= */
.section-header {
  max-width: 1200px;
  margin: 0 auto;
  padding: 4rem 2rem 2rem;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.section-header h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
}

.section-header a {
  color: var(--terracotta);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.2s ease;
}
.section-header a:hover { gap: 10px; }

/* =========================================
   FEATURED POST
   ========================================= */
.featured-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 0;
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.featured-card:hover {
  box-shadow: 0 12px 40px var(--shadow);
  transform: translateY(-2px);
}

.featured-img {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, var(--terracotta-bg) 0%, var(--sage-bg) 100%);
  position: relative;
  overflow: hidden;
}

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

.featured-img-placeholder {
  position: absolute;
  inset: 0;
  opacity: 0.3;
  background-image:
    radial-gradient(circle at 25% 35%, var(--terracotta-soft) 1px, transparent 1px),
    radial-gradient(circle at 75% 65%, var(--sage) 1px, transparent 1px);
  background-size: 30px 30px;
}

.featured-body {
  padding: 3rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* =========================================
   POST CATEGORY LABELS
   ========================================= */
.post-category {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
  text-decoration: none;
}
.post-category:hover { opacity: 0.8; }

/* Default colors — Ghost tags get dynamic colors */
.post-category { color: var(--terracotta); }

.featured-body h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 2rem;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.featured-body p {
  color: var(--ink-light);
  font-size: 1rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.post-meta {
  font-size: 0.82rem;
  color: var(--ink-faint);
}
.post-meta span { margin: 0 0.5rem; }

/* =========================================
   POST GRID
   ========================================= */
.posts-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.post-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

.post-card:hover {
  box-shadow: 0 8px 30px var(--shadow);
  transform: translateY(-3px);
}

.post-card-img {
  aspect-ratio: 16/10;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--terracotta-bg), var(--sage-bg));
}

.post-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.post-card-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.post-card-body h4 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0.75rem;
}

.post-card-body p {
  color: var(--ink-light);
  font-size: 0.92rem;
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
  font-weight: 300;
}

/* =========================================
   NEWSLETTER / SUBSCRIBE
   ========================================= */
.newsletter {
  max-width: 1200px;
  margin: 0 auto 4rem;
  padding: 0 2rem;
}

.newsletter-inner {
  background: var(--ink);
  color: var(--cream);
  border-radius: var(--radius);
  padding: 4rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.newsletter-inner::after {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(196, 112, 90, 0.15), transparent 70%);
  pointer-events: none;
}

.newsletter h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 2.2rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.newsletter p {
  color: #B0A99F;
  font-size: 1rem;
  font-weight: 300;
}

.newsletter-form {
  display: flex;
  gap: 0.75rem;
  position: relative;
  z-index: 1;
}

.newsletter-form input[type="email"] {
  flex: 1;
  padding: 14px 20px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50px;
  background: rgba(255,255,255,0.08);
  color: var(--cream);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.newsletter-form input[type="email"]::placeholder { color: #8A837A; }
.newsletter-form input[type="email"]:focus {
  border-color: var(--terracotta-soft);
  background: rgba(255,255,255,0.12);
}

.newsletter-form button {
  padding: 14px 32px;
  border: none;
  border-radius: 50px;
  background: var(--terracotta);
  color: white;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.15s ease;
  white-space: nowrap;
}

.newsletter-form button:hover {
  background: var(--terracotta-soft);
  transform: translateY(-1px);
}

/* =========================================
   SINGLE POST (post.hbs)
   ========================================= */
.post-hero {
  padding: 140px 2rem 40px;
  max-width: 750px;
  margin: 0 auto;
  text-align: center;
}

.post-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.2rem, 5vw, 3rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.post-hero .post-meta {
  font-size: 0.9rem;
  margin-bottom: 2.5rem;
}

.post-cover {
  max-width: 900px;
  margin: 0 auto 3rem;
  padding: 0 2rem;
}

.post-cover img {
  width: 100%;
  border-radius: var(--radius);
}

/* Ghost content output */
.gh-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.gh-content p {
  font-size: 1.08rem;
  line-height: 1.9;
  color: var(--ink-light);
  margin-bottom: 1.5rem;
  font-weight: 300;
}

.gh-content > p:first-child::first-letter {
  font-family: 'Instrument Serif', serif;
  font-size: 3.5rem;
  float: left;
  line-height: 1;
  margin-right: 10px;
  margin-top: 4px;
  color: var(--terracotta);
}

.gh-content h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.8rem;
  font-weight: 400;
  margin: 2.5rem 0 1rem;
  letter-spacing: -0.02em;
  color: var(--ink);
}

.gh-content h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.4rem;
  font-weight: 400;
  margin: 2rem 0 0.75rem;
  color: var(--ink);
}

.gh-content blockquote {
  border-left: 3px solid var(--terracotta-soft);
  padding: 0.5rem 0 0.5rem 1.75rem;
  margin: 2rem 0;
  font-style: italic;
  color: var(--ink-light);
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  line-height: 1.7;
}

.gh-content ul, .gh-content ol {
  padding-left: 1.5rem;
  margin-bottom: 1.5rem;
  color: var(--ink-light);
  font-weight: 300;
}

.gh-content li { margin-bottom: 0.5rem; }

.gh-content a {
  color: var(--terracotta);
  text-decoration: underline;
  text-decoration-color: var(--terracotta-soft);
  text-underline-offset: 3px;
  transition: text-decoration-color 0.2s ease;
}
.gh-content a:hover { text-decoration-color: var(--terracotta); }

.gh-content figure {
  margin: 2rem 0;
}

.gh-content figcaption {
  text-align: center;
  font-size: 0.85rem;
  color: var(--ink-faint);
  margin-top: 0.75rem;
}

.gh-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 3rem auto;
  max-width: 100px;
}

/* Kg cards (Ghost editor cards) */
.gh-content .kg-image-card img,
.gh-content .kg-gallery-image img {
  border-radius: var(--radius);
}

.gh-content .kg-width-wide {
  max-width: 900px;
  margin-left: calc(50% - 450px);
  margin-right: calc(50% - 450px);
}

.gh-content .kg-width-full {
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

/* =========================================
   PAGE TEMPLATE (About, Contact, etc.)
   ========================================= */
.page-hero {
  padding: 140px 2rem 60px;
  max-width: 800px;
  margin: 0 auto;
}

.page-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.page-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
}

.page-content p {
  color: var(--ink-light);
  font-size: 1.05rem;
  line-height: 1.85;
  margin-bottom: 1.25rem;
  font-weight: 300;
}

.page-content > p:first-child::first-letter {
  font-family: 'Instrument Serif', serif;
  font-size: 3.5rem;
  float: left;
  line-height: 1;
  margin-right: 10px;
  margin-top: 4px;
  color: var(--terracotta);
}

/* =========================================
   TAG ARCHIVE
   ========================================= */
.tag-hero {
  padding: 140px 2rem 40px;
  max-width: 900px;
  margin: 0 auto;
}

.tag-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 400;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.tag-hero p {
  color: var(--ink-light);
  font-size: 1.05rem;
  font-weight: 300;
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  border-top: 1px solid var(--border);
  background: var(--warm-white);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 3rem 2rem;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem;
}

.footer-brand h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.3rem;
  font-weight: 400;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  color: var(--ink-light);
  font-size: 0.9rem;
  line-height: 1.65;
  font-weight: 300;
}

.footer-col h4 {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--ink-faint);
}

.footer-col a {
  display: block;
  color: var(--ink-light);
  text-decoration: none;
  font-size: 0.9rem;
  padding: 4px 0;
  transition: color 0.2s ease;
}
.footer-col a:hover { color: var(--terracotta); }

.footer-bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding: 1.5rem 2rem;
  border-top: 1px solid var(--border);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--ink-faint);
}

.footer-social {
  display: flex;
  gap: 1.25rem;
}

.footer-social a {
  color: var(--ink-faint);
  text-decoration: none;
  transition: color 0.2s ease;
}
.footer-social a:hover { color: var(--terracotta); }

/* =========================================
   PAGINATION
   ========================================= */
.pagination {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
  display: flex;
  justify-content: center;
  gap: 1rem;
  align-items: center;
}

.pagination a {
  padding: 10px 24px;
  border: 1px solid var(--border);
  border-radius: 50px;
  text-decoration: none;
  color: var(--ink-light);
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.2s ease;
}

.pagination a:hover {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
}

.pagination .page-number {
  color: var(--ink-faint);
  font-size: 0.85rem;
}

/* =========================================
   ANIMATIONS
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease forwards;
}

@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}

.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }

/* =========================================
   MEMBERS / SUBSCRIBE FORMS (Ghost built-in)
   ========================================= */
.gh-portal-triggerbtn-iframe {
  display: none !important;
}

/* =========================================
   EPISODES PAGE
   ========================================= */
.episodes-hero {
  padding: 160px 2rem 60px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.episodes-hero::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse, var(--terracotta-bg) 0%, transparent 70%);
  opacity: 0.4;
  pointer-events: none;
}

.episodes-hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  margin: 0 auto;
}

.episodes-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  border-radius: 50px;
  background: var(--terracotta-bg);
  color: var(--terracotta);
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}

.episodes-hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 400;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1rem;
}

.episodes-subtitle {
  font-size: 1.1rem;
  color: var(--ink-light);
  font-weight: 300;
  line-height: 1.7;
  margin-bottom: 2rem;
}

.episodes-platforms {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.platforms-label {
  font-size: 0.85rem;
  color: var(--ink-faint);
  font-weight: 400;
}

.platform-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  border: 1px solid var(--border);
  border-radius: 50px;
  text-decoration: none;
  color: var(--ink-light);
  font-size: 0.82rem;
  font-weight: 500;
  background: var(--warm-white);
  transition: all 0.2s ease;
}

.platform-link:hover {
  border-color: var(--terracotta-soft);
  color: var(--terracotta);
  background: var(--terracotta-bg);
}

/* Episodes Grid */
.episodes-grid {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem 4rem;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.episode-card {
  background: var(--warm-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.3s ease, transform 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: grid;
  grid-template-columns: 220px 1fr;
}

.episode-card:hover {
  box-shadow: 0 8px 30px var(--shadow);
  transform: translateY(-2px);
}

.episode-card-img {
  aspect-ratio: 1;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--terracotta-bg), var(--sage-bg));
}

.episode-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Play button overlay */
.episode-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(44, 40, 37, 0);
  transition: background 0.3s ease;
}

.episode-card:hover .episode-play-overlay,
.featured-card:hover .episode-play-overlay {
  background: rgba(44, 40, 37, 0.3);
}

.play-btn, .play-btn-sm {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.play-btn-sm {
  width: 48px;
  height: 48px;
}

.play-btn svg, .play-btn-sm svg {
  margin-left: 3px;
}

.episode-card:hover .play-btn,
.episode-card:hover .play-btn-sm,
.featured-card:hover .play-btn {
  opacity: 1;
  transform: scale(1);
}

.episode-number {
  position: absolute;
  bottom: 10px;
  left: 10px;
  padding: 4px 12px;
  border-radius: 50px;
  background: rgba(44, 40, 37, 0.75);
  color: white;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  backdrop-filter: blur(4px);
}

.episode-card-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.episode-card-body h4 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0.6rem;
}

.episode-card-body p {
  color: var(--ink-light);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex: 1;
  font-weight: 300;
}

/* Members badge */
.members-badge {
  display: inline-block;
  padding: 2px 10px;
  border-radius: 50px;
  background: var(--terracotta-bg);
  color: var(--terracotta);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

/* Embedded video/audio in posts — Ghost renders these automatically */
.gh-content .kg-video-card,
.gh-content .kg-audio-card {
  border-radius: var(--radius);
  overflow: hidden;
  margin: 2rem 0;
}

.gh-content iframe[src*="youtube"],
.gh-content iframe[src*="vimeo"],
.gh-content iframe[src*="spotify"] {
  border-radius: var(--radius);
  width: 100%;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .featured-card { grid-template-columns: 1fr; }
  .featured-body { padding: 2rem; }
  .posts-grid { grid-template-columns: 1fr 1fr; }
  .newsletter-inner { grid-template-columns: 1fr; padding: 3rem; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .episodes-grid { grid-template-columns: 1fr; }
  .episode-card { grid-template-columns: 180px 1fr; }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: rgba(250,247,242,0.98);
    backdrop-filter: blur(12px);
    padding: 1.5rem 2rem;
    border-bottom: 1px solid var(--border);
    gap: 1rem;
  }
  .hamburger { display: block; }
  .posts-grid { grid-template-columns: 1fr; }
  .episode-card { grid-template-columns: 1fr; }
  .episode-card-img { aspect-ratio: 16/9; }
  .footer-inner { grid-template-columns: 1fr; gap: 2rem; }
  .newsletter-inner { padding: 2rem; }
  .newsletter-form { flex-direction: column; }
  .gh-content .kg-width-wide {
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}
