/* ============================================================
   BREATHFLOW BLOG – SHARED STYLESHEET
   Used by all 8 blog article pages.
   Article-specific overrides (only --post-hero-bg) are set
   inline in each article's <style> tag.
   ============================================================ */

/* ── RESET & BASE ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px; line-height: 1.6;
  color: var(--text); background: var(--bg);
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "ss01" on, "cv01" on;
  overflow-x: hidden;
}

/* ── DESIGN TOKENS ────────────────────────────────────── */
:root {
  --bg:          #EDF4F9;
  --white:       #ffffff;
  --text:        #1a1a2e;
  --muted:       rgba(26,26,46,0.52);
  --accent:      #4678a6;
  --accent-dark: #355f8a;
  --mint:        #3a9a7e;
  --border:      rgba(70,120,166,0.12);
  --border-soft: rgba(70,120,166,0.07);
  --grad-blue:   linear-gradient(105deg, #38609b, #4ca7c3, #456d9f);
  --shadow-sm:   0 2px 16px rgba(70,120,166,0.08);
  --shadow-md:   0 8px 40px rgba(70,120,166,0.12), 0 2px 8px rgba(70,120,166,0.06);
  --radius-sm:   12px;
  --radius:      18px;
  --radius-lg:   26px;
  --nav-h:       74px;
  --post-hero-bg: none;
}

/* ── ANIMATIONS ───────────────────────────────────────── */
@keyframes grad-shift  { 0%,100%{background-position:0% 50%} 50%{background-position:100% 50%} }
@keyframes float-y     { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes dot-pulse   { 0%,100%{box-shadow:0 0 0 3px rgba(70,120,166,0.18)} 50%{box-shadow:0 0 0 8px rgba(70,120,166,0.04)} }
@keyframes progress-in { from{width:0} to{width:var(--w)} }

/* ── NAV ──────────────────────────────────────────────── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--nav-h);
  display: flex; align-items: center; padding: 0 28px;
  background: rgba(237,244,249,0.92);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-soft);
}
.nav-inner { width: 100%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; gap: 10px; }
.nav-logo { font-size: 1.05rem; font-weight: 800; text-decoration: none; background: linear-gradient(135deg, #1a2540 0%, #4ab8d4 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; user-select: none; cursor: default; }
.nav-logo span { -webkit-text-fill-color: transparent; }
.nav-sep { color: var(--border); font-weight: 300; font-size: 0.9rem; }
.nav-crumb { font-size: 0.8rem; font-weight: 500; color: var(--muted); text-decoration: none; transition: color 0.2s; }
.nav-crumb:hover { color: var(--accent); }
.nav-crumb-current { color: var(--text) !important; font-weight: 600; opacity: 1; }
.nav-right { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.nav-cta {
  padding: 8px 20px; border-radius: 100px; border: none;
  background: var(--grad-blue); background-size: 200%;
  color: #fff; font-weight: 700; font-size: 0.82rem;
  text-decoration: none; animation: grad-shift 6s ease-in-out infinite;
  box-shadow: 0 4px 18px rgba(56,96,155,0.28);
  transition: transform 0.2s;
}
.nav-cta:hover { transform: translateY(-1px); }

/* Reading progress bar */
.reading-progress {
  position: fixed; top: var(--nav-h); left: 0; right: 0; z-index: 199;
  height: 3px; background: var(--border-soft);
}
.reading-progress-bar {
  height: 100%; width: 0;
  background: var(--grad-blue); background-size: 200%;
  animation: grad-shift 6s ease-in-out infinite;
  transition: width 0.1s linear;
}

/* ── HERO ─────────────────────────────────────────────── */
.post-hero {
  min-height: 80vh;
  padding: calc(var(--nav-h) + 80px) 28px 140px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  background:
    linear-gradient(160deg, rgba(14,28,56,0.88) 0%, rgba(11,34,64,0.82) 45%, rgba(13,42,56,0.88) 100%),
    var(--post-hero-bg) center/cover no-repeat;
  background-blend-mode: normal;
  position: relative; overflow: hidden;
}
.post-hero::after { display: none; }
.hero-glow1 {
  position: absolute; width: 600px; height: 600px; border-radius: 50%;
  background: radial-gradient(circle, rgba(70,167,195,0.18) 0%, transparent 65%);
  top: -150px; right: -100px; pointer-events: none;
}
.hero-glow2 {
  position: absolute; width: 400px; height: 400px; border-radius: 50%;
  background: radial-gradient(circle, rgba(56,96,155,0.22) 0%, transparent 65%);
  bottom: 0; left: -80px; pointer-events: none;
}

.post-cat-label {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.68rem; font-weight: 700; color: rgba(70,167,195,0.9);
  letter-spacing: 0.14em; text-transform: uppercase;
  margin-bottom: 20px; position: relative; z-index: 1;
}
.post-cat-dot { width: 5px; height: 5px; border-radius: 50%; background: currentColor; animation: dot-pulse 2.4s ease-in-out infinite; }

.post-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem); font-weight: 900;
  line-height: 1.14; letter-spacing: -0.03em;
  color: #fff; max-width: 780px; margin-bottom: 22px;
  position: relative; z-index: 1;
}
.post-hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,0.58);
  max-width: 580px; line-height: 1.72; margin-bottom: 36px;
  position: relative; z-index: 1;
}
.post-meta {
  display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: center;
  font-size: 0.78rem; color: rgba(255,255,255,0.45); font-weight: 500;
  position: relative; z-index: 1;
}
.post-meta-sep { opacity: 0.3; }
.post-meta-pill {
  padding: 5px 14px; border-radius: 100px;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.65); font-size: 0.72rem; font-weight: 600;
}
.post-hero-icon {
  width: 72px; height: 72px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem; margin-bottom: 28px; position: relative; z-index: 1;
  animation: float-y 4s ease-in-out infinite;
}

/* ── 3-COLUMN LAYOUT ──────────────────────────────────── */
.post-layout {
  max-width: 1200px; margin: 0 auto;
  padding: 60px 28px 50px;
  display: grid;
  grid-template-columns: 220px 1fr 260px;
  gap: 48px;
  align-items: start;
}

/* ── LEFT: TOC ────────────────────────────────────────── */
.post-toc {
  position: sticky; top: calc(var(--nav-h) + 24px);
}
.toc-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}
.toc-list { list-style: none; display: flex; flex-direction: column; gap: 2px; }
.toc-item a {
  display: flex; align-items: center; gap: 9px;
  padding: 7px 12px; border-radius: var(--radius-sm);
  font-size: 0.8rem; font-weight: 500; color: var(--muted);
  text-decoration: none;
  border-left: 2px solid transparent;
  transition: all 0.2s;
}
.toc-item a:hover, .toc-item a.active {
  color: var(--accent); background: rgba(70,120,166,0.06);
  border-left-color: var(--accent);
}
.toc-num {
  font-size: 0.6rem; font-weight: 800; color: var(--accent);
  background: rgba(70,120,166,0.10);
  width: 18px; height: 18px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.toc-divider { height: 1px; background: var(--border); margin: 16px 0; }
.toc-app-cta {
  background: linear-gradient(135deg, #0e1c38, #1a3055);
  border-radius: var(--radius); padding: 20px 16px;
  text-align: center; text-decoration: none; display: block;
  margin-top: 20px; transition: transform 0.2s;
}
.toc-app-cta:hover { transform: translateY(-2px); }
.toc-app-cta-icon { font-size: 1.6rem; margin-bottom: 8px; }
.toc-app-cta-text { font-size: 0.8rem; font-weight: 700; color: #fff; margin-bottom: 4px; }
.toc-app-cta-sub { font-size: 0.7rem; color: rgba(255,255,255,0.45); }
.toc-app-cta-btn {
  display: block; margin-top: 12px; padding: 8px 16px;
  border-radius: 100px; background: var(--grad-blue); background-size: 200%;
  color: #fff; font-size: 0.75rem; font-weight: 700;
  animation: grad-shift 6s ease-in-out infinite;
}

/* ── CENTER: ARTICLE CONTENT ──────────────────────────── */
.post-article { min-width: 0; }

/* Typography */
.post-article h2 {
  font-size: 1.55rem; font-weight: 800; line-height: 1.2;
  letter-spacing: -0.025em; color: var(--text);
  margin: 48px 0 18px; padding-top: 8px;
  scroll-margin-top: calc(var(--nav-h) + 32px);
}
.post-article h2:first-child { margin-top: 0; }
.post-article h3 {
  font-size: 1.1rem; font-weight: 700; color: var(--text);
  margin: 32px 0 12px; letter-spacing: -0.01em;
}
.post-article p {
  font-size: 1.02rem; line-height: 1.82; color: rgb(26 26 47 / 74%);
  margin-bottom: 20px;
}
.post-article strong { color: var(--text); font-weight: 700; }
.post-article em { font-style: italic; color: var(--text); }
.post-article a { color: #4678a6 !important; font-weight: 600; text-decoration: underline; text-decoration-color: rgba(70,120,166,0.35); text-underline-offset: 3px; transition: color 0.2s; }
.post-article a:hover { color: #2a9d8f !important; text-decoration-color: rgba(42,157,143,0.5); }
.post-article a strong, .post-article a em { color: inherit !important; }
.post-article a.breath-card-cta { color: #fff !important; text-decoration: none; }
.post-layout p a strong { color: #498eb4 !important; }

/* Lists */
.post-article ul { list-style: none; display: flex; flex-direction: column; gap: 8px; margin: 20px 0; padding: 0; }
.post-article ul li {
  position: relative; padding: 12px 16px 12px 44px;
  font-size: 0.98rem; line-height: 1.65; color: var(--text);
  background: var(--white); border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
}
.post-article ul li::before {
  content: '✓'; position: absolute; left: 16px; top: 13px;
  color: var(--accent); font-weight: 800; font-size: 0.9rem;
}
.post-article ol { display: flex; flex-direction: column; gap: 8px; margin: 20px 0; padding: 0; counter-reset: ol-counter; list-style: none; }
.post-article ol li {
  position: relative; padding: 12px 16px 12px 52px;
  font-size: 0.98rem; line-height: 1.65; color: var(--text);
  background: var(--white); border-radius: var(--radius-sm);
  border: 1.5px solid var(--border); box-shadow: var(--shadow-sm);
  counter-increment: ol-counter;
}
.post-article ol li::before {
  content: counter(ol-counter); position: absolute; left: 14px; top: 12px;
  width: 24px; height: 24px; border-radius: 50%;
  background: var(--grad-blue); background-size: 200%;
  color: #fff; font-size: 0.72rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* Callout boxes */
.callout {
  background: white !important;
  border-radius: var(--radius);
  padding: 22px 26px;
  margin: 28px 0;
  display: flex; gap: 16px; align-items: flex-start;
}
.callout-icon { font-size: 1.3rem; flex-shrink: 0; margin-top: 1px; }
.callout-body { flex: 1; }
.callout-title { font-size: 0.78rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; }
.callout-body p { font-size: 0.93rem; line-height: 1.65; margin: 0; }
.callout.info    { background: white !important; border-left: 3px solid var(--accent); }
.callout.info .callout-title { color: var(--accent); }
.callout.warning { background: white !important; border-left: 3px solid #e6a817; }
.callout.warning .callout-title { color: #b07d10; }
.callout.info .callout-body p { color: var(--text); }
.callout.success { background: white !important; border-left: 3px solid var(--mint); }
.callout.success .callout-title { color: var(--mint); }
.callout.success .callout-body p { color: var(--text); }
.callout.science { background: white !important; border-left: 3px solid #1a3055; }
.callout.science .callout-title { color: #1a3055; }
.callout.science .callout-body p { color: var(--text); }
.callout.highlight {
  background: linear-gradient(135deg, #0e1c38, #1a3460) !important;
  border-left: none; border-radius: var(--radius);
  position: relative; overflow: hidden;
}
.callout.highlight::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 50%, rgba(70,167,195,0.18) 0%, transparent 60%);
  pointer-events: none;
}
.callout.highlight .callout-icon { font-size: 1.6rem; }
.callout.highlight .callout-title { color: rgba(70,167,195,0.9); }
.callout.highlight .callout-body p { color: rgba(255,255,255,0.75); font-size: 1rem; }
.callout.highlight .callout-body p strong { color: #fff; }

/* Pull quote */
.pull-quote {
  border-left: 4px solid var(--accent);
  padding: 20px 0 20px 28px;
  margin: 32px 0;
}
.pull-quote p {
  font-family: 'Lora', Georgia, serif;
  font-size: 1.2rem; font-style: italic;
  line-height: 1.6; color: var(--text);
  font-weight: 400; margin: 0;
}
.pull-quote cite { display: block; font-size: 0.78rem; color: var(--muted); margin-top: 10px; font-style: normal; font-weight: 600; }

/* Stats row */
.stats-row {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 16px; margin: 32px 0;
}
.stat-box {
  background: var(--white); border-radius: var(--radius);
  padding: 20px; text-align: center;
  box-shadow: var(--shadow-sm); border: 1.5px solid var(--border);
}
.stat-val {
  font-size: 1.8rem; font-weight: 900; letter-spacing: -0.04em;
  background: var(--grad-blue); background-size: 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; animation: grad-shift 6s ease-in-out infinite;
}
.stat-label { font-size: 0.75rem; color: var(--muted); font-weight: 500; margin-top: 4px; }

/* Stat number (inline) */
.stat-number {
  font-size: 1.8rem; font-weight: 900; letter-spacing: -0.04em;
  background: var(--grad-blue); background-size: 200%;
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text; animation: grad-shift 6s ease-in-out infinite;
}

/* Numbered steps */
.steps { display: flex; flex-direction: column; gap: 16px; margin: 24px 0; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--white); border-radius: var(--radius);
  padding: 20px 22px; box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.step:hover { border-color: rgba(70,120,166,0.25); box-shadow: var(--shadow-md); }
.step-num {
  width: 36px; height: 36px; border-radius: 50%; flex-shrink: 0;
  background: var(--grad-blue); background-size: 200%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 800; color: #fff;
  animation: grad-shift 8s ease-in-out infinite;
}
.step-body h4 { font-size: 0.96rem; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.step-body p { font-size: 0.88rem; line-height: 1.65; color: var(--muted); margin: 0; }

/* Breathing exercise card */
.breath-ex {
  background: linear-gradient(135deg, #0e1c38, #0b2240, #0d2a38);
  border-radius: var(--radius-lg); padding: 32px;
  margin: 28px 0; position: relative; overflow: hidden;
}
.breath-ex::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(70,167,195,0.20) 0%, transparent 55%);
  pointer-events: none;
}
.breath-ex-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(70,167,195,0.8); margin-bottom: 10px;
}
.breath-ex h3 { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 12px; position: relative; }
.breath-ex p { font-size: 0.9rem; color: rgba(255,255,255,0.60); line-height: 1.7; margin-bottom: 20px; position: relative; }
.breath-ex-timing {
  display: flex; gap: 10px; flex-wrap: wrap; position: relative;
}
.breath-ex-phase {
  flex: 1; min-width: 80px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm); padding: 12px;
  text-align: center;
}
.phase-name { font-size: 0.62rem; font-weight: 700; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.phase-val { font-size: 1.3rem; font-weight: 900; color: #fff; }
.phase-unit { font-size: 0.62rem; color: rgba(255,255,255,0.4); }
.breath-ex-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; padding: 10px 22px; border-radius: 100px;
  background: var(--grad-blue); background-size: 200%;
  color: #fff; font-size: 0.82rem; font-weight: 700;
  text-decoration: none; animation: grad-shift 6s ease-in-out infinite;
  box-shadow: 0 4px 18px rgba(56,96,155,0.35); position: relative;
}

/* Breathing card variant */
.breath-card {
  background: linear-gradient(135deg, #0e1c38, #0b2240, #0d2a38);
  border-radius: var(--radius-lg); padding: 32px;
  margin: 28px 0; position: relative; overflow: hidden;
}
.breath-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 75% 30%, rgba(70,167,195,0.20) 0%, transparent 55%);
  pointer-events: none;
}
.breath-card-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.15em;
  text-transform: uppercase; color: rgba(70,167,195,0.8); margin-bottom: 10px; position: relative;
}
.breath-card h3 { font-size: 1.15rem; font-weight: 800; color: #fff; margin-bottom: 12px; position: relative; }
.breath-card-sub { font-size: 0.9rem; color: #fff !important; line-height: 1.7; margin-bottom: 20px; position: relative; }
.breath-phases { display: flex; gap: 10px; flex-wrap: wrap; position: relative; }
.breath-phase {
  flex: 1; min-width: 80px;
  background: rgba(255,255,255,0.07); border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-sm); padding: 12px; text-align: center;
}
.breath-phase-icon { font-size: 1.3rem; margin-bottom: 4px; }
.breath-phase-name { font-size: 0.62rem; font-weight: 700; color: rgba(255,255,255,0.4); letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 4px; }
.breath-phase-time { font-size: 1.3rem; font-weight: 900; color: #fff; }
.breath-phase-unit { font-size: 0.62rem; color: rgba(255,255,255,0.4); }
.breath-card-cta {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 20px; padding: 10px 22px; border-radius: 100px;
  background: var(--grad-blue); background-size: 200%;
  color: #fff; font-size: 0.82rem; font-weight: 700;
  text-decoration: none; animation: grad-shift 6s ease-in-out infinite;
  box-shadow: 0 4px 18px rgba(56,96,155,0.35); position: relative;
}

/* HRV visual / SVG charts */
.hrv-visual { margin: 28px 0; background: var(--white); border-radius: var(--radius); padding: 20px; border: 1.5px solid var(--border); }
.hrv-label-row {
  display: flex; justify-content: space-between; gap: 12px;
  margin-bottom: 10px; flex-wrap: wrap;
}
.hrv-label {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 600; color: var(--muted);
}
.hrv-label .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.hrv-label.stress { color: #e07878; }
.hrv-label.coherence { color: var(--accent); }
.hrv-svg-wrap {
  background: var(--white); border-radius: var(--radius);
  padding: 16px; border: 1.5px solid var(--border); overflow: hidden;
}
.hrv-svg-wrap svg { width: 100%; height: auto; display: block; }

/* Key fact text */
.key-fact-text {
  font-size: 0.82rem; color: var(--muted); line-height: 1.45;
  display: flex; flex-direction: column; gap: 2px;
}
.key-fact-text strong { color: var(--text); font-weight: 700; }

/* App CTA card (mobile inline) */
.app-cta-card {
  background: linear-gradient(135deg, #0e1c38, #0b2240);
  border-radius: var(--radius); padding: 28px 24px;
  text-align: center; position: relative; overflow: hidden;
  margin: 32px 0;
}
.app-cta-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 30%, rgba(70,167,195,0.22) 0%, transparent 60%);
  pointer-events: none;
}
.app-cta-icon { font-size: 1.8rem; margin-bottom: 10px; position: relative; z-index: 1; }
.app-cta-title {
  font-size: 0.92rem; font-weight: 800; color: #fff;
  margin-bottom: 6px; position: relative; z-index: 1;
}
.app-cta-sub {
  font-size: 0.78rem; color: rgba(255,255,255,0.5);
  margin-bottom: 18px; position: relative; z-index: 1;
}
.app-cta-btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: 100px;
  background: var(--grad-blue); background-size: 200%;
  color: #fff; font-size: 0.85rem; font-weight: 700;
  text-decoration: none; animation: grad-shift 6s ease-in-out infinite;
  box-shadow: 0 6px 20px rgba(56,96,155,0.4);
  position: relative; z-index: 1; transition: transform 0.2s;
}
.app-cta-btn:hover { transform: translateY(-2px); }

/* Divider */
.post-divider {
  height: 1px; background: var(--border);
  margin: 40px 0;
}

/* Author box */
.author-box {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 28px 32px; display: flex; gap: 20px; align-items: flex-start;
  border: 1.5px solid var(--border); margin: 48px 0 0; box-shadow: var(--shadow-sm);
}
.author-avatar {
  width: 56px; height: 56px; border-radius: 50%; flex-shrink: 0;
  overflow: hidden;
}
.author-avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }
.author-name { font-size: 0.96rem; font-weight: 800; color: var(--text); margin-bottom: 3px; }
.author-role { font-size: 0.75rem; color: var(--accent); font-weight: 600; margin-bottom: 8px; }
.author-bio { font-size: 0.86rem; line-height: 1.65; color: var(--muted); margin: 0; }

/* ── RIGHT SIDEBAR ────────────────────────────────────── */
.post-sidebar { position: sticky; top: calc(var(--nav-h) + 24px); display: flex; flex-direction: column; gap: 20px; }

.sidebar-card {
  background: var(--white); border-radius: var(--radius);
  padding: 22px; box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
}
.sidebar-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 14px;
}

/* Reading progress in sidebar */
.read-progress-item { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.read-progress-title { font-size: 0.78rem; font-weight: 600; color: var(--text); }
.read-progress-bar-wrap {
  height: 4px; background: var(--border); border-radius: 2px; overflow: hidden;
}
.read-progress-fill {
  height: 100%; border-radius: 2px;
  background: var(--grad-blue); background-size: 200%;
  animation: grad-shift 6s ease-in-out infinite;
  transition: width 0.4s ease;
}

/* Key facts */
.key-facts { display: flex; flex-direction: column; gap: 12px; }
.key-fact {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.82rem; color: var(--text);
}
.key-fact-icon {
  width: 30px; height: 30px; border-radius: 8px;
  background: rgba(70,120,166,0.08);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem; flex-shrink: 0;
}
.key-fact strong { font-weight: 700; display: block; }
.key-fact span { font-size: 0.72rem; color: rgb(29 29 40 / 77%); }

/* App CTA sidebar */
.sidebar-app-cta {
  background: linear-gradient(135deg, #0e1c38, #0b2240);
  border-radius: var(--radius); padding: 24px 20px;
  text-align: center; position: relative; overflow: hidden;
}
.sidebar-app-cta::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 60% 30%, rgba(70,167,195,0.22) 0%, transparent 60%);
  pointer-events: none;
}
.sidebar-cta-icon { font-size: 2rem; margin-bottom: 10px; position: relative; z-index: 1; }
.sidebar-cta-title { font-size: 0.96rem; font-weight: 800; color: #fff; margin-bottom: 6px; position: relative; z-index: 1; }
.sidebar-cta-sub { font-size: 0.78rem; color: rgba(255,255,255,0.48); line-height: 1.5; margin-bottom: 16px; position: relative; z-index: 1; }
.sidebar-cta-btn {
  display: block; padding: 11px 20px; border-radius: 100px;
  background: var(--grad-blue); background-size: 200%;
  color: #fff; font-size: 0.82rem; font-weight: 700; text-decoration: none;
  animation: grad-shift 6s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(56,96,155,0.40);
  position: relative; z-index: 1; transition: transform 0.2s;
}
.sidebar-cta-btn:hover { transform: translateY(-2px); }

/* Related posts */
.related-post {
  display: flex; gap: 12px; align-items: flex-start;
  text-decoration: none; color: inherit; padding: 10px 0;
  border-bottom: 1px solid var(--border-soft);
  transition: opacity 0.2s;
}
.related-post:last-child { border-bottom: none; padding-bottom: 0; }
.related-post:hover { opacity: 0.75; }
.related-post-thumb {
  width: 48px; height: 48px; border-radius: 10px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.2rem;
}
.related-post-title { font-size: 0.8rem; font-weight: 600; color: var(--text); line-height: 1.35; }
.related-post-cat { font-size: 0.68rem; color: var(--accent); font-weight: 600; margin-top: 3px; }

/* Share */
.share-btns { display: flex; gap: 8px; }
.share-btn {
  flex: 1; padding: 9px; border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  background: var(--white); font-size: 0.78rem; font-weight: 600;
  color: var(--text); cursor: pointer; text-align: center;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: all 0.2s; text-decoration: none;
}
.share-btn:hover { background: var(--accent); border-color: var(--accent); color: #fff; }

/* ── PREV/NEXT NAV ────────────────────────────────────── */
.post-nav {
  max-width: 1200px; margin: 0 auto;
  padding: 0 28px 20px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
}
.post-nav-link {
  display: flex; align-items: center; gap: 14px;
  padding: 20px 24px; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border);
  text-decoration: none;
  transition: all 0.2s; box-shadow: var(--shadow-sm);
}
.post-nav-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); border-color: rgba(70,120,166,0.22); }
.post-nav-link.prev { flex-direction: row; }
.post-nav-link.next { flex-direction: row-reverse; text-align: right; margin-left: auto; }
.post-nav-arrow {
  font-size: 1.3rem; color: var(--accent); flex-shrink: 0;
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(70,120,166,0.08);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.post-nav-link:hover .post-nav-arrow { background: rgba(70,120,166,0.16); }
.post-nav-label { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 4px; }
.post-nav-title { font-size: 0.9rem; font-weight: 700; color: var(--text); line-height: 1.3; }
@media (max-width: 600px) {
  .post-nav { grid-template-columns: 1fr; }
  .post-nav-link.next { flex-direction: row; text-align: left; }
}

/* ── MEHR ARTIKEL ─────────────────────────────────────── */
.more-posts-section {
  max-width: 1200px; margin: 0 auto;
  padding: 20px 28px 60px;
}
.more-posts-label {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 24px;
}
.more-posts-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.more-post-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  text-decoration: none; display: block;
  transition: all 0.2s; box-shadow: var(--shadow-sm);
}
.more-post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.more-post-thumb {
  height: 130px;
  background: linear-gradient(135deg, #0e1c38, #1a3a6e, #0d3a4a);
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
}
.more-post-body { padding: 16px; }
.more-post-cat { font-size: 0.65rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.more-post-title { font-size: 0.9rem; font-weight: 700; color: var(--text); line-height: 1.35; margin-bottom: 6px; }
.more-post-time { font-size: 0.72rem; color: var(--muted); }
@media (max-width: 860px) { .more-posts-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .more-posts-grid { grid-template-columns: 1fr; } }

/* ── BOTTOM CTA ───────────────────────────────────────── */
.bottom-cta-section { padding: 0 28px 60px; }
.bottom-cta-inner {
  max-width: 1200px; margin: 0 auto;
  background: linear-gradient(135deg, #0e1c38, #0b2240, #0d2a38);
  border-radius: var(--radius-lg); padding: 60px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center;
  position: relative; overflow: hidden;
}
.bottom-cta-inner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 80% 40%, rgba(70,167,195,0.18) 0%, transparent 55%);
  pointer-events: none;
}
.bottom-cta-label { font-size: 0.68rem; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(70,167,195,0.8); margin-bottom: 12px; }
.bottom-cta-inner h2 { font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 800; color: #fff; line-height: 1.2; letter-spacing: -0.025em; margin-bottom: 12px; }
.bottom-cta-inner p { color: rgba(255,255,255,0.52); font-size: 0.95rem; line-height: 1.7; }
.bottom-cta-right { display: flex; flex-direction: column; gap: 14px; position: relative; z-index: 1; }
.bottom-cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 16px 32px; border-radius: 100px;
  background: var(--grad-blue); background-size: 200%;
  color: #fff; font-size: 0.95rem; font-weight: 800;
  text-decoration: none; animation: grad-shift 6s ease-in-out infinite;
  box-shadow: 0 8px 32px rgba(56,96,155,0.45);
  transition: transform 0.2s, box-shadow 0.2s;
}
.bottom-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 14px 40px rgba(56,96,155,0.55); }
.bottom-cta-sub {
  display: flex; gap: 16px; flex-wrap: wrap;
  font-size: 0.78rem; color: rgba(255,255,255,0.35); font-weight: 500;
}
.bottom-cta-sub span { display: flex; align-items: center; gap: 5px; }

/* ── FOOTER ───────────────────────────────────────────── */
.footer {
  background: var(--white);
  border-top: 1px solid rgba(0,0,0,0.07);
  padding: 20px 0;
  text-align: center;
}
.footer-logo {
  font-size: 1rem;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #1a2540 0%, #4ab8d4 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
  letter-spacing: -0.03em;
  display: inline-block;
  text-decoration: none;
}
.footer-links { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; margin-bottom: 12px; }
.footer-link { font-size: 0.78rem; color: rgba(0,0,0,0.35); text-decoration: none; transition: color 0.2s; }
.footer-link:hover { color: rgba(0,0,0,0.65); }
.footer-links-legal { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; margin-bottom: 12px; }
.footer-link-legal { font-size: 0.68rem; color: rgba(0,0,0,0.22); text-decoration: none; }
.footer-copy { font-size: 0.72rem; color: rgba(0,0,0,0.25); }

/* ── MOBILE TOC DRAWER ────────────────────────────────── */
.toc-overlay {
  display: none;
  position: fixed; inset: 0; z-index: 299;
  background: rgba(14,28,56,0.55);
  backdrop-filter: blur(2px);
  opacity: 0; transition: opacity 0.3s ease;
  pointer-events: none;
}
.toc-overlay.open { opacity: 1; pointer-events: auto; }

.toc-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 300;
  width: min(80vw, 300px);
  background: var(--white);
  box-shadow: 4px 0 40px rgba(14,28,56,0.18);
  padding: 28px 20px 40px;
  overflow-y: auto;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(0.32, 0.72, 0, 1);
  display: none;
}
.toc-drawer.open { transform: translateX(0); }

.toc-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 24px;
}
.toc-drawer-title {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--accent);
}
.toc-drawer-close {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(70,120,166,0.08); border: none;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; color: var(--muted); font-size: 1.1rem;
  transition: background 0.2s;
}
.toc-drawer-close:hover { background: rgba(70,120,166,0.14); }

.toc-fab {
  display: none;
  position: fixed; bottom: 24px; right: 20px; z-index: 298;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--grad-blue); background-size: 200%;
  animation: grad-shift 6s ease-in-out infinite;
  border: none; cursor: pointer;
  box-shadow: 0 6px 24px rgba(56,96,155,0.38);
  align-items: center; justify-content: center;
  flex-direction: column; gap: 5px;
  transition: transform 0.2s;
}
.toc-fab:hover { transform: scale(1.08); }
.toc-fab span {
  display: block; width: 20px; height: 2px;
  background: #fff; border-radius: 2px;
  transition: all 0.25s;
}
.toc-fab.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.toc-fab.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.toc-fab.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── SCHAUBILD EMBED ──────────────────────────────────── */
.schaubild-embed {
  margin: 36px 0;
  background: #ffffff;
  border: 1px solid rgba(70,120,166,0.15);
  border-radius: 16px;
  padding: 24px 20px 16px;
  overflow-x: auto;
}
.schaubild-embed svg {
  width: 100%;
  height: auto;
  display: block;
}
.schaubild-embed-label {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #4678a6;
  margin-bottom: 14px;
}
.schaubild-link {
  display: block;
  text-align: right;
  font-size: 0.78rem;
  color: #4678a6;
  text-decoration: none;
  margin-top: 10px;
  font-weight: 600;
  opacity: 0.75;
}
.schaubild-link:hover { opacity: 1; }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 1100px) {
  .post-layout { grid-template-columns: 180px 1fr 220px; gap: 32px; }
}
@media (max-width: 860px) {
  .post-layout { grid-template-columns: 1fr; padding: 60px 28px 20px; }
  .post-toc, .post-sidebar { position: static; }
  .post-toc { display: none; }
  .post-sidebar { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
  .stats-row { grid-template-columns: 1fr 1fr; }
  .bottom-cta-inner { grid-template-columns: 1fr; padding: 36px 28px; gap: 28px; }
  .toc-fab { display: flex; }
  .toc-drawer, .toc-overlay { display: block; }
}
@media (max-width: 600px) {
  .post-sidebar { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: 1fr; }
  .post-hero { min-height: auto; padding-bottom: 60px; }
}

/* Hide both sidebar CTA and inline app card everywhere */
.sidebar-app-cta { display: none; }
.app-cta-card { display: none; }
@media (min-width: 861px) {
  /* already hidden globally */
}

/* ── ADDITIONAL HERO GLOW ─────────────────────────────── */
.hero-glow3 {
  position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(42,157,143,0.15) 0%, transparent 65%);
  bottom: 80px; right: 80px; pointer-events: none;
}

/* ── BREATH EXERCISE NOTE ─────────────────────────────── */
.breath-ex-note {
  font-size: 0.82rem; color: rgba(255,255,255,0.42);
  font-style: italic; line-height: 1.6;
  margin: 12px 0 0; position: relative;
}
