/* W22b (2026-10-08): Coins Catcher blog. Loaded after /style.css, so it uses the site's own variables (deep blue, gold,
   Crimson Pro + Outfit). Same layout as the VMS blog (MedSim_Web/blog/make_blog_pages.py). */
.page-wrapper { max-width: var(--max-width); margin: 0 auto; padding: 2rem 1rem 3rem; }
.page-hero { text-align: center; padding: 1rem 0 1rem; }
.page-hero .subtitle { max-width: 700px; }
/* Justified text (Alejandro 2026-10-08): both edges, English hyphenation; centered blocks keep the last line centered. */
.post p, .post li, .post blockquote, .post-card p, .cta p { text-align: justify; -webkit-hyphens: auto; hyphens: auto; }
.page-hero p { text-align: center; }

.bucket { margin-top: 2.5rem; }
.bucket h2 { font-size: 1.5rem; padding-bottom: 0.5rem; border-bottom: 1px solid var(--border-subtle); margin: 0 0 1rem; }
.post-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1rem; }
.post-card { display: flex; flex-direction: column; gap: 0.5rem; background: var(--bg-card); border: 1px solid var(--border-card);
  border-radius: var(--radius-lg); overflow: hidden; padding: 0 0 1.25rem; transition: all var(--transition); color: inherit; }
.post-card:hover { background: var(--bg-card-hover); border-color: var(--border-subtle); transform: translateY(-2px); }
.post-card img { width: 100%; height: auto; display: block; }
.post-card h3 { color: var(--text-primary); margin: 0.5rem 1.25rem 0; font-size: 1.2rem; }
.post-card p { font-size: 0.92rem; flex: 1; margin: 0 1.25rem; color: var(--text-secondary); }
.post-card .read { margin: 0 1.25rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--accent-gold); }

.crumbs { max-width: 760px; margin: 0 auto 1.25rem; font-size: 0.85rem; color: var(--text-muted); }
.crumbs span { margin: 0 0.35rem; }
.post { max-width: 760px; margin: 0 auto; overflow-wrap: break-word; }
.post-head { margin-bottom: 1.75rem; }
.post-head h1 { font-size: clamp(1.9rem, 4.5vw, 2.6rem); margin-bottom: 0.6rem; }
.post-meta { font-size: 0.85rem; color: var(--text-muted); }
.post p { margin: 0 0 1.1rem; font-size: 1.05rem; color: var(--text-secondary); }
.post h2 { margin: 2.4rem 0 0.9rem; color: var(--accent-gold); }
.post h3 { margin: 1.6rem 0 0.5rem; }
.post ul, .post ol { margin: 0 0 1.2rem 1.4rem; }
.post li { margin-bottom: 0.45rem; font-size: 1.02rem; color: var(--text-secondary); }
.post li::marker { color: var(--accent-gold); }
.post blockquote { border-left: 3px solid var(--accent-gold); background: var(--accent-gold-glow); padding: 0.9rem 1.1rem;
  margin: 0 0 1.2rem; border-radius: 0 var(--radius) var(--radius) 0; }
.post blockquote p { margin: 0; color: var(--text-primary); }
.post a { color: var(--accent-gold); }
.post #sources ~ ol li { font-size: 0.9rem; }

.cta { max-width: 760px; margin: 3rem auto 0; background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg); padding: 1.5rem; }
.cta-tag { display: inline-block; font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; color: var(--bg-primary);
  background: var(--accent-gold); border-radius: 999px; padding: 0.15rem 0.65rem; margin-bottom: 0.6rem; }
.cta h2 { font-size: 1.5rem; margin: 0 0 0.5rem; }
.cta p { margin-bottom: 1rem; color: var(--text-secondary); }
.cta .btn { margin: 0.25rem 0.5rem 0.25rem 0; }

@media (max-width: 560px) {
  .post p { font-size: 1rem; }
}
