/* ─────────────────────────────────────────────
   On The Drip Newsletter — shared stylesheet
   Used by /newsletter and /newsletter/{slug}/
   Mirrors design tokens from the homepage.
   ───────────────────────────────────────────── */

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --brand: #2EC4B6;
  --brand-light: #5DD4C7;
  --brand-glow: rgba(46,196,182,.30);
  --bg: #FFFFFF;
  --bg2: #F5F5F5;
  --bg3: #FAFAFA;
  --fg: #0F1A2E;
  --fg50: #5b6577;
  --fg30: #9aa0ab;
  --border: rgba(15,26,46,.08);
  --teal: #2EC4B6;
  --teal-dark: #1B998B;
  --blue: #4A90E2;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(15,26,46,.04);
  --shadow-md: 0 8px 24px rgba(15,26,46,.06);
  --shadow-lg: 0 20px 60px rgba(15,26,46,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--fg);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.hl-gold { color: var(--brand); }

/* ───── Nav ───── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 100%; margin: 0;
  padding: 0 clamp(24px, 5vw, 80px);
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
body { padding-top: 68px; }
.nav-brand { display: flex; align-items: center; text-decoration: none; }
.nav-logo { height: 52px; width: auto; display: block; transition: transform .2s ease; }
.nav-brand:hover .nav-logo { transform: scale(1.03); }
@media (max-width: 768px) {
  .nav-inner { height: 60px; padding: 0 18px; }
  .nav-logo { height: 44px; }
  body { padding-top: 60px; }
}
.nav-brand-name { font-size: 1rem; font-weight: 800; letter-spacing: 1px; color: var(--fg); }
.nav-brand-loc {
  font-size: .65rem; font-weight: 600; color: var(--teal-dark);
  text-transform: uppercase; letter-spacing: 1.5px;
}
.nav-links { display: flex; align-items: center; gap: 32px; list-style: none; }
.nav-links a {
  font-size: .92rem; font-weight: 500; color: var(--fg50);
  transition: color .2s;
}
.nav-links a:hover { color: var(--fg); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: 999px; font-weight: 700; font-size: .9rem;
  border: none; cursor: pointer; transition: transform .15s, box-shadow .15s, background .15s;
  text-decoration: none;
}
.btn:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-gold { background: var(--brand); color: #fff; }
.btn-gold:hover { background: var(--brand-light); color: #fff; }
.btn-teal,
.nav-links a.nav-cta { background: var(--teal); color: #fff !important; }
.btn-teal:hover,
.nav-links a.nav-cta:hover { background: var(--teal-dark); color: #fff !important; }
.btn-outline { background: transparent; border: 2px solid var(--fg); color: var(--fg); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-inner { padding: 12px 16px; gap: 12px; }
  .nav-cta { padding: 8px 14px; font-size: .8rem; }
}

/* ───── Archive hero ───── */
.archive-hero {
  padding: 80px 0 40px;
  background: linear-gradient(180deg, var(--bg3) 0%, var(--bg) 100%);
  text-align: center;
}
.archive-hero .section-label {
  display: inline-block;
  color: var(--teal-dark); font-size: .72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}
.archive-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.4rem); font-weight: 800;
  letter-spacing: -.02em; line-height: 1.1; margin-bottom: 16px;
}
.archive-hero .hero-sub {
  font-size: 1.05rem; color: var(--fg50); line-height: 1.6;
  max-width: 640px; margin: 0 auto;
}

/* ───── Filter section ───── */
.filter-section { padding: 32px 0 80px; }
.filter-row {
  display: flex; flex-wrap: wrap; gap: 10px; justify-content: center;
  margin-bottom: 40px;
}
.filter-pill {
  padding: 9px 18px; border-radius: 999px; border: 1.5px solid var(--border);
  background: var(--bg); color: var(--fg50); font-size: .88rem; font-weight: 600;
  cursor: pointer; transition: all .15s; font-family: inherit;
}
.filter-pill:hover { color: var(--fg); border-color: var(--fg30); }
.filter-pill.active {
  background: var(--fg); color: var(--bg); border-color: var(--fg);
}

/* ───── Post grid + cards ───── */
.nl-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
@media (max-width: 1024px) { .nl-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .nl-grid { grid-template-columns: 1fr; } }

.nl-card {
  display: block;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .2s, box-shadow .2s, border-color .2s;
  color: var(--fg);
  text-decoration: none;
}
.nl-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(46,196,182,.3);
}
.nl-img {
  width: 100%; height: 200px; object-fit: cover;
}
.nl-card-body { padding: 20px 22px 24px; }
.nl-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.18rem; font-weight: 700; line-height: 1.3;
  margin: 12px 0 8px; color: var(--fg);
}
.nl-card .nl-date {
  font-size: .78rem; color: var(--fg30); font-weight: 600;
  text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px;
}
.nl-card .nl-excerpt {
  color: var(--fg50); font-size: .9rem; line-height: 1.55;
}

/* ───── Category pills ───── */
.cat-pill {
  display: inline-block;
  font-size: .68rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 4px 10px; border-radius: 999px;
}
.cat-physical  { background: rgba(46,196,182,.12); color: var(--teal-dark); }
.cat-mental    { background: rgba(74,144,226,.12); color: var(--blue); }
.cat-spiritual { background: rgba(15,62,112,.10); color: #0F3E70; }

/* ───── Individual post page ───── */
.post { padding: 56px 0 32px; }
.post-container { max-width: 760px; padding: 0 24px; }
.back-link {
  display: inline-block; font-size: .85rem; color: var(--fg50);
  font-weight: 600; margin-bottom: 24px; transition: color .15s;
}
.back-link:hover { color: var(--brand); }

.post-meta {
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  font-size: .85rem; color: var(--fg50); margin-bottom: 18px;
}
.post-meta-sep { color: var(--fg30); }

.post-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 4.5vw, 2.8rem);
  font-weight: 800; line-height: 1.15;
  letter-spacing: -.015em; margin-bottom: 16px;
}
.post-excerpt {
  font-size: 1.1rem; line-height: 1.6; color: var(--fg50);
  margin-bottom: 32px; font-weight: 400;
}

.post-hero-img {
  width: 100%; height: 420px; object-fit: cover;
  border-radius: var(--radius-lg);
  margin-bottom: 40px;
}
@media (max-width: 640px) { .post-hero-img { height: 280px; } }

.post-body p {
  font-size: 1.05rem; line-height: 1.78;
  margin-bottom: 22px; color: #2a3346;
}
/* drop-cap removed — first letter renders identical to body */

.pull-quote {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem; line-height: 1.4; font-weight: 700;
  color: var(--fg); font-style: italic;
  border-left: 4px solid var(--brand);
  padding: 8px 0 8px 24px;
  margin: 36px 0;
}

/* ───── Big CTA (Join the Newsletter) ───── */
.big-cta {
  position: relative;
  padding: 96px 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(46,196,182,.16) 0%, transparent 55%),
    linear-gradient(135deg, #0F1A2E 0%, #1a2440 100%);
  color: #fff;
  overflow: hidden;
  text-align: center;
}
.big-cta::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 12% 88%, rgba(46,196,182,.08) 0%, transparent 38%);
  pointer-events: none;
}
.big-cta-inner { position: relative; max-width: 640px; margin: 0 auto; }
.big-cta-eyebrow {
  color: var(--brand);
  font-size: .78rem; font-weight: 700;
  letter-spacing: 2.4px; text-transform: uppercase;
  margin-bottom: 18px;
}
.big-cta-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.1rem, 5.2vw, 3.2rem);
  font-weight: 800; line-height: 1.08;
  letter-spacing: -.02em; color: #fff;
  margin-bottom: 18px;
}
.big-cta-sub {
  color: rgba(255,255,255,.72);
  font-size: 1.05rem; line-height: 1.6;
  margin-bottom: 36px;
}
.big-cta-form {
  display: flex; gap: 12px;
  max-width: 520px; margin: 0 auto;
}
.big-cta-input {
  flex: 1; padding: 16px 22px;
  border-radius: 999px;
  border: 1.5px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  color: #fff; font-size: 1rem;
  font-family: inherit; outline: none;
  transition: border-color .2s, background .2s;
}
.big-cta-input::placeholder { color: rgba(255,255,255,.42); }
.big-cta-input:focus {
  border-color: var(--brand);
  background: rgba(255,255,255,.10);
  box-shadow: 0 0 0 4px rgba(46,196,182,.12);
}
.big-cta-btn {
  padding: 16px 30px;
  border-radius: 999px;
  border: none;
  background: var(--brand);
  color: #fff;
  font-family: inherit; font-size: 1rem; font-weight: 800;
  letter-spacing: .3px;
  cursor: pointer;
  transition: transform .15s, box-shadow .15s, background .2s;
  white-space: nowrap;
}
.big-cta-btn:hover {
  background: var(--brand-light);
  transform: translateY(-1px);
  box-shadow: 0 10px 28px rgba(46,196,182,.32);
}
.big-cta-success {
  display: none;
  margin-top: 22px;
  color: var(--brand);
  font-weight: 600;
  font-size: .95rem;
}
.big-cta-success.show { display: block; }

@media (max-width: 640px) {
  .big-cta { padding: 72px 0; }
  .big-cta-form { flex-direction: column; padding: 0 8px; }
  .big-cta-btn { padding: 14px 24px; }
}

/* ───── Related grid ───── */
.related-section { padding: 64px 0 80px; background: var(--bg3); }
.related-section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 800; margin-bottom: 28px; text-align: center;
}

/* ───── Footer ───── */
.footer { background: #0F1A2E; color: rgba(255,255,255,.7); padding: 56px 0 0; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr 1fr; gap: 32px;
  padding-bottom: 40px;
}
.footer-col h4 {
  color: #fff; font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 14px;
}
.footer-col p, .footer-col a { display: block; margin-bottom: 6px; font-size: .82rem; line-height: 1.55; color: rgba(255,255,255,.7); text-decoration: none; }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0; text-align: center; font-size: .82rem;
  color: rgba(255,255,255,.4);
}
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; gap: 28px; }
}
@media (max-width: 640px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
}

/* ── Author byline (E-E-A-T) ── */
.post-byline { display: flex; align-items: center; gap: 12px; margin: 18px 0 24px; padding: 14px 0; border-top: 1px solid var(--border, #e5e9f0); border-bottom: 1px solid var(--border, #e5e9f0); }
.post-byline-avatar { border-radius: 50%; background: #0F1A2E; padding: 4px; flex-shrink: 0; }
.post-byline-text { display: flex; flex-direction: column; gap: 2px; }
.post-byline-name { font-weight: 700; font-size: .95rem; color: var(--fg, #0F1A2E); }
.post-byline-name a { color: var(--teal, #2EC4B6); text-decoration: none; }
.post-byline-name a:hover { text-decoration: underline; }
.post-byline-meta { font-size: .8rem; color: var(--fg50, #6b7280); line-height: 1.4; }

/* ── Learn / Guides ── */
.guide-intro h2 { font-family: 'Playfair Display', serif; font-size: 1.55rem; font-weight: 800; color: var(--fg, #0F1A2E); margin: 34px 0 12px; line-height: 1.2; }
.guide-takeaways { background: #F0FBFA; border-left: 4px solid var(--teal, #2EC4B6); border-radius: 8px; padding: 20px 24px; margin: 24px 0; }
.guide-takeaways h3 { margin: 0 0 10px; font-size: 1rem; font-weight: 800; color: var(--teal-dark, #209e92); text-transform: uppercase; letter-spacing: .04em; }
.guide-takeaways ul { margin: 0; padding-left: 20px; }
.guide-takeaways li { margin: 6px 0; line-height: 1.55; color: var(--fg, #0F1A2E); }
.guide-cta-inline { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0; }
.guide-cta-inline a { display: inline-block; background: var(--teal, #2EC4B6); color: #fff; text-decoration: none; padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: .95rem; }
.guide-cta-inline a:hover { background: var(--teal-dark, #209e92); }
.guide-bottom { margin-top: 32px; padding-top: 8px; }
.guide-faq { margin: 40px 0 8px; padding-top: 24px; border-top: 1px solid var(--border, #e5e9f0); }
.guide-faq h2 { font-family: 'Playfair Display', serif; font-size: 1.6rem; font-weight: 800; margin: 0 0 18px; color: var(--fg, #0F1A2E); }
.guide-faq-item { margin-bottom: 18px; }
.guide-faq-item h3 { font-size: 1.05rem; font-weight: 700; color: var(--fg, #0F1A2E); margin: 0 0 6px; }
.guide-faq-item p { color: var(--fg70, #4b5563); line-height: 1.6; margin: 0; }
.nl-readmore { color: var(--teal, #2EC4B6); font-weight: 700; font-size: .9rem; }
