/* Miryam blog: article pages and index */
.blog-page { font-family: 'FB Semitrayler', 'Heebo', 'Arial Hebrew', sans-serif; color: #0F304F; background: #FFFFFF; font-size: 18px; line-height: 30px; }
.blog-hero { background: #004C36; color: #F3A59C; padding: 64px max(16px, 4vw) 56px; }
.blog-hero--pink { background: #F3A59C; color: #004C36; }
.blog-hero .kicker { font-family: 'Syne', sans-serif; font-size: 12px; line-height: 16px; letter-spacing: .3em; text-transform: uppercase; color: #B0DAD9; margin: 0 0 16px; }
.blog-hero--pink .kicker { color: #0F304F; }
.blog-hero .kicker a { color: inherit; text-decoration: none; }
.blog-hero h1 { margin: 0; max-width: 18em; font-size: clamp(34px, 5vw, 56px); line-height: 1.12; font-weight: 700; }
.blog-hero .byline { margin: 20px 0 0; font-size: 16px; line-height: 24px; color: #B0DAD9; }
.blog-hero--pink .byline { color: #0F304F; }
.blog-hero .intro { margin: 20px 0 0; max-width: 34em; font-size: 20px; line-height: 32px; }

.article { max-width: 720px; margin: 0 auto; padding: 56px 16px 72px; }
.article h2 { margin: 48px 0 12px; font-size: 28px; line-height: 36px; font-weight: 700; color: #004C36; }
.article h1 { margin: 48px 0 12px; font-size: 32px; line-height: 40px; font-weight: 700; color: #004C36; }
.article h3 { margin: 32px 0 8px; font-size: 22px; line-height: 30px; font-weight: 700; color: #0F304F; }
.article > :first-child { margin-top: 0; }
.article p { margin: 0 0 16px; }
.article ul, .article ol { margin: 0 0 20px; padding-inline-start: 24px; }
.article li { margin: 0 0 8px; }
.article blockquote { margin: 24px 0; padding: 16px 20px; background: #FAF1F0; border-inline-start: 3px solid #F3A59C; }
.article figure { margin: 32px 0; }
.article figure img { display: block; width: 100%; height: auto; }
.article figcaption { margin-top: 8px; font-size: 14px; line-height: 20px; color: #0F304F; }
.article hr { border: 0; border-top: 0.5px solid #0F304F; margin: 32px 0; }
.article .lead { font-size: 22px; line-height: 34px; margin-bottom: 24px; }
.article .disclaimer { font-size: 15px; line-height: 24px; padding: 12px 16px; background: #FAF1F0; margin-bottom: 32px; }
.article .sources { font-size: 15px; line-height: 24px; padding-inline-start: 20px; }
.article .sources a { word-break: break-word; }

.blog-cta { background: #F3A59C; color: #004C36; padding: 48px max(16px, 4vw); display: flex; flex-wrap: wrap; gap: 24px; align-items: center; justify-content: space-between; }
.blog-cta p { margin: 0; font-size: 24px; line-height: 32px; font-weight: 700; max-width: 22em; }
.blog-cta .actions { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.btn { display: inline-flex; align-items: center; min-height: 48px; padding: 0 24px; background: #004C36; color: #F3A59C; text-decoration: none; font-size: 16px; line-height: 20px; font-weight: 700; }
.btn:hover { color: #FFFFFF; }
.btn--ghost { background: transparent; color: #004C36; border: 1px solid #004C36; }
.btn--ghost:hover { color: #0F304F; border-color: #0F304F; }

.back-link { max-width: 720px; margin: 0 auto; padding: 0 16px 48px; font-size: 16px; font-weight: 700; }

.cat-nav { position: sticky; top: 81px; z-index: 5; background: #FFFFFF; border-bottom: 0.5px solid #0F304F; padding: 12px max(16px, 4vw); display: flex; gap: 12px; overflow-x: auto; white-space: nowrap; }
.cat-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; border: 1px solid #004C36; text-decoration: none; font-size: 16px; font-weight: 700; }
.cat-nav a:hover { background: #004C36; color: #F3A59C; }
.cat-section { padding: 56px max(16px, 4vw) 24px; scroll-margin-top: 150px; }
.cat-section h2 { margin: 0 0 8px; font-size: 34px; line-height: 40px; color: #004C36; }
.cat-section .cat-desc { margin: 0 0 32px; max-width: 36em; }
.cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 24px; }
.card { display: flex; flex-direction: column; gap: 12px; padding: 24px; border: 0.5px solid #0F304F; text-decoration: none; color: #0F304F; background: #FFFFFF; }
.card:hover { background: #FAF1F0; color: #0F304F; }
.card .card-cat { font-family: 'Syne', sans-serif; font-size: 11px; line-height: 14px; letter-spacing: .3em; color: #004C36; }
.card h3 { margin: 0; font-size: 22px; line-height: 30px; color: #004C36; }
.card p { margin: 0; font-size: 16px; line-height: 26px; }
.card .card-by { margin-top: auto; font-size: 14px; line-height: 20px; }

@media (max-width: 760px) {
  .blog-page { font-size: 17px; line-height: 28px; }
  .blog-hero { padding: 40px 16px; }
  .article { padding-top: 40px; }
  .article .lead { font-size: 20px; line-height: 30px; }
  .cat-nav { top: 0; position: static; }
}