/* ============================================================================
   GeoEq Blog — shared styles for the index and individual post pages
   ============================================================================ */

/* ---- Blog index hero ---- */
.blog-hero {
  text-align: center;
  padding: clamp(48px, 8vh, 88px) var(--pad) clamp(24px, 4vh, 40px);
  background:
    radial-gradient(60% 50% at 80% 0%, rgba(30,77,143,0.10), transparent 60%),
    radial-gradient(40% 35% at 5% 100%, rgba(232,168,37,0.08), transparent 70%),
    linear-gradient(180deg, #ffffff 0%, #f7faff 100%);
  border-bottom: 1px solid rgba(12,26,58,0.06);
}
.blog-hero .kicker {
  display: inline-block; color: var(--blue-600);
  font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.18em; text-transform: uppercase;
  margin-bottom: 14px;
}
.blog-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.1; letter-spacing: -0.02em; margin: 0 0 14px;
  color: var(--navy-900);
}
.blog-hero p {
  max-width: 720px; margin: 0 auto;
  color: var(--gray-500); font-size: 1.05rem;
}

/* ---- Category filter chips (decorative for now) ---- */
.blog-filters {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-top: 22px;
}
.blog-filter {
  padding: 6px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid rgba(12,26,58,0.12);
  color: var(--gray-700); font-size: 0.85rem; font-weight: 500;
  cursor: pointer; transition: all 0.15s;
  text-decoration: none;
}
.blog-filter:hover, .blog-filter.active {
  background: var(--navy-900); color: var(--white); border-color: var(--navy-900);
}

/* ---- Post-card grid ---- */
.post-grid {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 6vh, 64px) var(--pad);
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
}
.post-card {
  background: var(--white);
  border: 1px solid rgba(12,26,58,0.08);
  border-radius: 14px; overflow: hidden;
  text-decoration: none; color: inherit;
  display: flex; flex-direction: column;
  transition: transform 0.18s, box-shadow 0.18s, border-color 0.18s;
}
.post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 36px -14px rgba(12,26,58,0.22);
  border-color: rgba(232,168,37,0.45);
}
.post-card .cover {
  aspect-ratio: 16 / 9; width: 100%;
  object-fit: cover; background: var(--navy-900);
  border-bottom: 1px solid rgba(12,26,58,0.06);
}
.post-card .body { padding: 20px 22px 22px; }
.post-card .meta {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.78rem; color: var(--gray-500);
  margin-bottom: 10px;
}
.post-card .tag {
  background: var(--blue-50); color: var(--blue-600);
  padding: 3px 8px; border-radius: 4px;
  font-weight: 600; font-size: 0.72rem;
  letter-spacing: 0.04em; text-transform: uppercase;
}
.post-card h2 {
  font-size: 1.15rem; line-height: 1.3; margin: 0 0 8px;
  color: var(--navy-900); font-weight: 700;
}
.post-card .excerpt {
  color: var(--gray-500); font-size: 0.92rem; line-height: 1.55;
  margin: 0;
}
.post-card .read-more {
  margin-top: 16px;
  color: var(--blue-600); font-weight: 600; font-size: 0.88rem;
  display: inline-flex; align-items: center; gap: 4px;
}

/* ============================================================================
   POST PAGE
   ============================================================================ */
.post-hero {
  position: relative;
  background:
    linear-gradient(180deg, rgba(12,26,58,0.65) 0%, rgba(12,26,58,0.95) 100%),
    var(--cover-url) center/cover no-repeat;
  color: var(--white);
  padding: clamp(80px, 14vh, 140px) var(--pad) clamp(40px, 8vh, 80px);
}
.post-hero-inner {
  max-width: 820px; margin: 0 auto;
}
.post-hero .breadcrumbs {
  font-size: 0.85rem; color: rgba(255,255,255,0.7);
  margin-bottom: 16px;
}
.post-hero .breadcrumbs a { color: rgba(255,255,255,0.85); text-decoration: none; }
.post-hero .breadcrumbs a:hover { color: var(--gold); }
.post-hero .tag {
  display: inline-block;
  background: rgba(232,168,37,0.18);
  color: var(--gold);
  padding: 4px 10px; border-radius: 5px;
  font-weight: 600; font-size: 0.78rem;
  letter-spacing: 0.05em; text-transform: uppercase;
  margin-bottom: 16px;
}
.post-hero h1 {
  font-size: clamp(1.9rem, 4.5vw, 3rem);
  line-height: 1.1; letter-spacing: -0.02em;
  font-weight: 700; margin: 0 0 18px;
}
.post-hero .lede {
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  color: rgba(255,255,255,0.82);
  margin: 0 0 24px;
}
.post-hero .author-row {
  display: flex; flex-wrap: wrap; align-items: center; gap: 14px;
  font-size: 0.9rem; color: rgba(255,255,255,0.75);
}
.post-hero .author-row .author { font-weight: 600; color: var(--white); }
.post-hero .author-row .dot-sep { color: rgba(255,255,255,0.4); }

/* ---- Article body ---- */
.post-body {
  max-width: 740px; margin: 0 auto;
  padding: clamp(40px, 7vh, 72px) var(--pad);
  font-size: 1.05rem; line-height: 1.75;
  color: var(--gray-800);
}
.post-body p { margin: 0 0 1.2em; }
.post-body h2 {
  margin: 2em 0 0.6em;
  font-size: 1.5rem; letter-spacing: -0.01em;
  color: var(--navy-900);
}
.post-body h3 {
  margin: 1.6em 0 0.5em;
  font-size: 1.2rem; color: var(--navy-900);
}
.post-body a { color: var(--blue-600); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.post-body a:hover { color: var(--gold); }
.post-body ul, .post-body ol { padding-left: 1.4em; margin: 0 0 1.2em; }
.post-body li { margin: 0.3em 0; }
.post-body strong { color: var(--navy-900); }
.post-body figure { margin: 2em 0; text-align: center; }
.post-body figure img { width: 100%; border-radius: 12px; box-shadow: 0 18px 40px -12px rgba(12,26,58,0.18); }
.post-body figcaption {
  margin-top: 10px; font-size: 0.88rem;
  color: var(--gray-500); font-style: italic;
}
.post-body blockquote {
  border-left: 3px solid var(--gold);
  margin: 1.6em 0; padding: 8px 0 8px 20px;
  color: var(--gray-700); font-style: italic;
  background: rgba(232,168,37,0.05);
  border-radius: 0 6px 6px 0;
}
.post-body code {
  font-family: var(--font-mono); font-size: 0.92em;
  background: rgba(30,77,143,0.07);
  padding: 1px 6px; border-radius: 4px;
  color: var(--blue-600);
}
.post-body pre {
  background: var(--navy-900); color: #dcdcdc;
  padding: 18px 20px; border-radius: 10px;
  overflow-x: auto; line-height: 1.6;
  font-family: var(--font-mono); font-size: 0.88rem;
  margin: 1.5em 0;
}
.post-body pre code {
  background: transparent; padding: 0; color: inherit;
}
.post-body .kw  { color: #569cd6; }
.post-body .fn  { color: #dcdcaa; }
.post-body .s   { color: #ce9178; }
.post-body .n   { color: #b5cea8; }
.post-body .cm  { color: #6a9955; font-style: italic; }
.post-body .v   { color: #9cdcfe; }
.post-body .equation {
  background: rgba(30,77,143,0.04);
  padding: 14px 20px; border-radius: 8px;
  text-align: center;
  font-family: 'KaTeX_Math', 'Times New Roman', serif;
  margin: 1.5em 0;
  border-left: 3px solid var(--blue-400);
  overflow-x: auto;
}

/* ----------------------------------------------------------------------------
   Bearing-capacity widget (SVG-based, no three.js)
   ---------------------------------------------------------------------------- */
.bw-widget {
  margin: 2em 0;
  background: linear-gradient(160deg, #fdfaf3 0%, #f7f1e3 100%);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 18px 38px -16px rgba(12,26,58,0.18);
  border: 1px solid rgba(232,168,37,0.30);
}
.bw-widget svg {
  width: 100%; height: auto; max-height: 480px;
  display: block;
  background: transparent;
  border-radius: 10px;
}
.bw-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 14px 22px;
  margin: 16px 0 12px;
  font-family: var(--font-mono);
  font-size: 0.86rem;
  color: var(--navy-900);
}
.bw-controls .bw-row { display: flex; flex-direction: column; gap: 4px; }
.bw-controls label { font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.bw-controls .bw-val {
  background: rgba(30,77,143,0.10);
  color: var(--blue-600);
  padding: 2px 8px;
  border-radius: 999px;
  font-weight: 600;
  min-width: 64px; text-align: center;
}
.bw-controls input[type="range"] {
  width: 100%;
  accent-color: var(--blue-600);
}
.bw-actions {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin: 8px 0 14px;
}
.bw-actions button {
  background: var(--navy-900); color: var(--white);
  border: 0; padding: 8px 16px; border-radius: 8px;
  font-weight: 600; font-size: 0.88rem; cursor: pointer;
  font-family: var(--font-sans);
  transition: transform 0.15s, background 0.15s;
}
.bw-actions button:hover:not(:disabled) {
  background: var(--blue-600);
  transform: translateY(-1px);
}
.bw-actions button:disabled {
  opacity: 0.6; cursor: progress;
}
.bw-readouts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 10px;
  margin-top: 12px;
}
.bw-readout {
  background: var(--white);
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(12,26,58,0.10);
  text-align: center;
  transition: transform 0.15s, border-color 0.15s;
}
.bw-readout:hover { transform: translateY(-2px); border-color: rgba(232,168,37,0.5); }
.bw-readout .bw-label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--gray-500);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 4px;
}
.bw-readout .bw-value {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  color: var(--navy-900);
  font-weight: 700;
}
.bw-readout.bw-method-meyerhof .bw-value { color: #1e4d8f; }
.bw-readout.bw-method-hansen   .bw-value { color: #2e7d32; }
.bw-readout.bw-method-vesic    .bw-value { color: #c0392b; }
.bw-readout.bw-method-terzaghi .bw-value { color: #5a5a5a; }
.bw-factors {
  margin-top: 12px; padding: 12px;
  background: rgba(30,77,143,0.06); border-radius: 8px;
  font-family: var(--font-mono); font-size: 0.82rem;
  color: var(--gray-700); text-align: center;
}
.bw-factors strong { color: var(--blue-600); font-weight: 700; }
.bw-attribution {
  margin-top: 10px;
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--gray-500); text-align: right;
  font-style: italic;
}
.bw-attribution code { background: rgba(30,77,143,0.08); padding: 1px 6px; border-radius: 4px; color: var(--blue-600); }

/* Smooth shape morphs when sliders change */
.bw-widget .bw-wedge,
.bw-widget .bw-radial,
.bw-widget .bw-passive,
.bw-widget .bw-load-arrows,
.bw-widget .bw-footing,
.bw-widget .bw-anno {
  transition: transform 0.6s cubic-bezier(.45,.05,.2,1);
}

/* Continuous pulse on the load arrows to suggest the active load */
@keyframes bw-pulse-arrow {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%      { transform: translateY(-4px); opacity: 0.6; }
}
.bw-widget .bw-load {
  animation: bw-pulse-arrow 1.4s ease-in-out infinite;
  animation-delay: calc(var(--i) * 0.12s);
  transform-box: fill-box;
  transform-origin: center;
}
@media (prefers-reduced-motion: reduce) {
  .bw-widget .bw-load { animation: none; }
}

/* ----------------------------------------------------------------------------
   Liquefaction widget — cartoon-style, SVG-based
   ---------------------------------------------------------------------------- */
.liq-widget {
  margin: 2em 0;
  background: linear-gradient(160deg, #f0f6fc 0%, #dceaf7 100%);
  border-radius: 14px;
  padding: 22px;
  border: 1px solid rgba(30,77,143,0.18);
  box-shadow: 0 18px 38px -16px rgba(12,26,58,0.18);
}
.liq-widget svg {
  width: 100%; height: auto; max-height: 460px;
  display: block; border-radius: 10px;
  background: transparent;
}
.liq-widget .liq-sun {
  animation: liq-sun-pulse 4s ease-in-out infinite;
  transform-origin: 700px 55px;
}
@keyframes liq-sun-pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@media (prefers-reduced-motion: reduce) { .liq-widget .liq-sun { animation: none; } }

.liq-status {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px;
  margin: 14px 0 8px;
  font-family: var(--font-mono); font-size: 0.95rem;
}
.liq-fs-badge {
  background: var(--navy-900); color: var(--white);
  padding: 6px 14px; border-radius: 999px; font-weight: 700;
}
.liq-verdict {
  padding: 6px 14px; border-radius: 999px;
  font-weight: 700; letter-spacing: 0.05em; text-transform: uppercase;
  font-size: 0.84rem;
  transition: all 0.3s;
}
.liq-verdict.liq-ok   { background: #d4edda; color: #27ae60; box-shadow: 0 0 0 0 rgba(39,174,96,0.4); }
.liq-verdict.liq-warn { background: #fff3cd; color: #b78a00; }
.liq-verdict.liq-bad  {
  background: #f8d7da; color: #c0392b;
  animation: liq-bad-pulse 1s ease-in-out infinite;
}
@keyframes liq-bad-pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(192,57,43,0.6); }
  50%      { box-shadow: 0 0 0 10px rgba(192,57,43,0); }
}

.liq-controls {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px 22px; margin-top: 10px;
  font-family: var(--font-mono); font-size: 0.86rem;
  color: var(--navy-900);
}
.liq-controls .liq-row { display: flex; flex-direction: column; gap: 4px; }
.liq-controls label    { font-weight: 600; display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.liq-controls .liq-val {
  background: rgba(30,77,143,0.10);
  color: var(--blue-600);
  padding: 2px 8px; border-radius: 999px;
  font-weight: 600; min-width: 60px; text-align: center;
}
.liq-controls input[type="range"] { width: 100%; accent-color: var(--blue-600); }

.liq-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0; }
.liq-actions button {
  background: var(--navy-900); color: var(--white);
  border: 0; padding: 10px 18px; border-radius: 8px;
  font-weight: 700; font-size: 0.92rem; cursor: pointer;
  font-family: var(--font-sans);
  transition: transform 0.15s, background 0.15s;
}
.liq-actions button:hover:not(:disabled) {
  background: var(--blue-600); transform: translateY(-1px);
}
.liq-actions button:disabled { opacity: 0.7; cursor: progress; }
.liq-actions #liq-shake { background: linear-gradient(135deg, #c0392b 0%, #e8a825 100%); }
.liq-actions #liq-shake:hover:not(:disabled) {
  background: linear-gradient(135deg, #d34537 0%, #f5b440 100%);
}

.liq-readouts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px; margin-top: 10px;
}
@media (max-width: 600px) { .liq-readouts { grid-template-columns: repeat(2, 1fr); } }
.liq-readout {
  background: var(--white);
  padding: 10px 12px; border-radius: 10px;
  border: 1px solid rgba(12,26,58,0.10);
  text-align: center;
}
.liq-readout .liq-label {
  font-family: var(--font-mono); font-size: 0.70rem;
  color: var(--gray-500); text-transform: uppercase;
  letter-spacing: 0.06em; margin-bottom: 4px;
}
.liq-readout .liq-value {
  font-family: var(--font-mono); font-size: 1rem;
  color: var(--navy-900); font-weight: 700;
}
.liq-attribution {
  margin-top: 10px;
  font-family: var(--font-mono); font-size: 0.78rem;
  color: var(--gray-500); text-align: right; font-style: italic;
}
.liq-attribution code { background: rgba(30,77,143,0.08); padding: 1px 6px; border-radius: 4px; color: var(--blue-600); }

/* ---- Interactive widget container (three.js, etc.) ---- */
.post-widget {
  margin: 2em 0;
  background: linear-gradient(160deg, #0c1a3a 0%, #122450 100%);
  border-radius: 14px;
  padding: 24px;
  position: relative;
  overflow: hidden;
}
.post-widget canvas { display: block; width: 100% !important; cursor: grab; }
.post-widget canvas:active { cursor: grabbing; }
.post-widget .widget-controls {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-top: 16px; align-items: center;
  color: rgba(255,255,255,0.85); font-family: var(--font-mono); font-size: 0.85rem;
}
.post-widget .widget-controls input[type=range] {
  flex: 1; min-width: 140px; max-width: 240px;
}
.post-widget .widget-controls .pill {
  background: rgba(255,255,255,0.1); padding: 4px 10px; border-radius: 999px;
  color: var(--gold);
}
.post-widget .widget-caption {
  position: absolute; bottom: 12px; left: 16px;
  font-family: var(--font-mono); font-size: 0.74rem;
  color: rgba(255,255,255,0.55); pointer-events: none;
}

/* ---- Share row ---- */
.post-share {
  max-width: 740px; margin: 0 auto;
  padding: 0 var(--pad) clamp(48px, 6vh, 80px);
}
.post-share-bar {
  background: var(--gray-100);
  border-radius: 14px; padding: 22px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between;
  gap: 14px;
}
.post-share-bar .label {
  font-weight: 600; color: var(--navy-900);
  font-size: 0.92rem;
}
.share-buttons { display: flex; gap: 8px; flex-wrap: wrap; }
.share-buttons a, .share-buttons button {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px;
  border-radius: 8px; border: 0; cursor: pointer;
  background: var(--white); color: var(--gray-700);
  text-decoration: none;
  transition: all 0.15s;
  box-shadow: 0 2px 6px rgba(12,26,58,0.06);
}
.share-buttons a:hover, .share-buttons button:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(12,26,58,0.18);
  color: var(--white);
}
.share-buttons .linkedin:hover { background: #0a66c2; }
.share-buttons .twitter:hover  { background: #000000; }
.share-buttons .facebook:hover { background: #1877f2; }
.share-buttons .reddit:hover   { background: #ff4500; }
.share-buttons .email:hover    { background: #888888; }
.share-buttons .copy:hover     { background: var(--gold); }
.share-buttons svg { width: 18px; height: 18px; }
.copy-feedback {
  margin-left: 8px;
  font-size: 0.82rem;
  color: var(--green); font-weight: 500;
  opacity: 0; transition: opacity 0.3s;
}
.copy-feedback.show { opacity: 1; }

/* ----------------------------------------------------------------------------
   Author card — rendered by blog/assets/js/author-card.js into
   <section id="author-card">. Single source of truth: blog/author.json.
   ---------------------------------------------------------------------------- */
.author-card {
  max-width: 740px;
  margin: 32px auto;
  padding: 22px;
  display: flex; gap: 20px; align-items: stretch;
  background: linear-gradient(160deg, #ffffff 0%, #f7faff 100%);
  border: 1px solid rgba(12,26,58,0.08);
  border-radius: 14px;
  box-shadow: 0 14px 32px -16px rgba(12,26,58,0.18);
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.author-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 22px 44px -16px rgba(12,26,58,0.25);
  border-color: rgba(232,168,37,0.40);
}
.author-card .ac-left { flex-shrink: 0; }
.author-card .ac-avatar {
  width: 92px; height: 92px; border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--white);
  box-shadow: 0 6px 16px rgba(12,26,58,0.18);
  background: var(--blue-600);
}
.author-card .ac-initials {
  display: flex; align-items: center; justify-content: center;
  color: var(--white); font-weight: 700; font-size: 1.8rem;
}
.author-card .ac-right { flex: 1; min-width: 0; }
.author-card .ac-name {
  margin: 0 0 4px; color: var(--navy-900);
  font-size: 1.15rem; font-weight: 700; letter-spacing: -0.01em;
}
.author-card .ac-title {
  font-size: 0.88rem; color: var(--gray-500); margin-bottom: 10px;
}
.author-card .ac-tag {
  color: var(--gold); font-weight: 600;
}
.author-card .ac-bio {
  margin: 6px 0 12px; color: var(--gray-700);
  font-size: 0.95rem; line-height: 1.55;
}
.author-card .ac-meta {
  font-size: 0.82rem; color: var(--gray-500);
  margin-bottom: 12px;
}
.author-card .ac-aff::before {
  content: '📍 '; opacity: 0.7;
}
.author-card .ac-social {
  display: flex; gap: 8px; flex-wrap: wrap;
}
.author-card .ac-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 8px;
  background: var(--white); color: var(--gray-700);
  text-decoration: none;
  border: 1px solid rgba(12,26,58,0.10);
  transition: all 0.15s;
}
.author-card .ac-icon svg { width: 17px; height: 17px; }
.author-card .ac-icon:hover {
  transform: translateY(-2px);
  color: var(--white);
  box-shadow: 0 6px 14px rgba(12,26,58,0.20);
}
.author-card .ac-icon.ac-linkedin:hover { background: #0a66c2; border-color: #0a66c2; }
.author-card .ac-icon.ac-github:hover   { background: #1a1a1a; border-color: #1a1a1a; }
.author-card .ac-icon.ac-email:hover    { background: var(--gray-700); border-color: var(--gray-700); }
.author-card .ac-icon.ac-website:hover  { background: var(--gold); border-color: var(--gold); }

@media (max-width: 560px) {
  .author-card { flex-direction: column; align-items: center; text-align: center; }
  .author-card .ac-social { justify-content: center; }
}

/* Legacy class kept for backward compatibility; harmless if unused. */
.author-bio {
  max-width: 740px; margin: 0 auto;
  padding: 24px var(--pad);
  display: flex; gap: 16px; align-items: flex-start;
  border-top: 1px solid rgba(12,26,58,0.08);
}
.author-bio .avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--blue-600); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 1.2rem; flex-shrink: 0;
}
.author-bio .info h4 { margin: 0 0 4px; color: var(--navy-900); font-size: 1rem; }
.author-bio .info p  { margin: 0; color: var(--gray-500); font-size: 0.9rem; line-height: 1.5; }

.related-posts {
  max-width: var(--max); margin: 0 auto;
  padding: clamp(40px, 6vh, 64px) var(--pad);
  border-top: 1px solid rgba(12,26,58,0.08);
}
.related-posts h2 {
  font-size: 1.4rem; margin: 0 0 24px;
  color: var(--navy-900);
}

/* ---- Reading-progress bar (top of page) ---- */
.reading-progress {
  position: fixed; top: 0; left: 0; right: 0; height: 3px;
  background: rgba(12,26,58,0.06); z-index: 60;
}
.reading-progress .bar {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--blue-600), var(--gold));
  transition: width 0.05s linear;
}
