/* Bedrock blog */
.blog-hero{padding:80px 0 30px;text-align:center}
.blog-hero h1{font-size:clamp(38px,6vw,64px)}
.blog-hero .lead{max-width:680px;margin:18px auto 30px}
.cats{display:flex;flex-wrap:wrap;gap:10px;justify-content:center}
.cats a{text-decoration:none;font-size:15px;padding:8px 16px;border-radius:980px;background:var(--alt);color:var(--ink)}
.cats a[aria-current=page]{background:var(--ink);color:#fff}
.blog-list{padding:40px 0 100px}
.post-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
@media (max-width:960px){.post-grid{grid-template-columns:repeat(2,1fr)}}
@media (max-width:640px){.post-grid{grid-template-columns:1fr}}
.post-card{display:flex;flex-direction:column;text-decoration:none;background:#fff;border-radius:var(--radius);overflow:hidden;box-shadow:0 2px 20px rgba(0,0,0,.06);transition:transform .25s,box-shadow .25s}
.post-card:hover{transform:translateY(-4px);box-shadow:0 12px 40px rgba(0,0,0,.1)}
.post-card img{width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover}
.post-card div{padding:22px 24px 26px}
.post-card h3{font-size:21px;margin-top:6px}
.post-card p{color:var(--muted);font-size:15px;margin-top:8px}
.post-card .post-cat{color:var(--accent);font-weight:600;font-size:13px;margin:0}
.related{padding:80px 0}
.related h2{font-size:32px;margin-bottom:28px}
.post-head{padding-top:56px;text-align:left}
.post-head h1{font-size:clamp(34px,5vw,52px);line-height:1.08}
.post-head .lead{margin-top:16px}
.crumbs{font-size:13px;color:var(--muted);margin-bottom:24px}
.crumbs a{color:var(--muted);text-decoration:none}
.crumbs a:hover{text-decoration:underline}
.post-meta{font-size:14px;color:var(--muted);margin-top:18px}
.post-cover{max-width:1080px;margin:36px auto 0}
.post-cover img{width:100%;height:auto;border-radius:var(--radius)}
.post-body{padding:40px 22px 90px;font-size:19px;line-height:1.6}
.post-body p{margin:0 0 20px;color:#333}
.post-body h2{font-size:32px;margin:48px 0 16px;line-height:1.15}
.post-body h3{font-size:23px;margin:32px 0 10px}
.post-body ul,.post-body ol{margin:0 0 22px 24px}
.post-body li{margin-bottom:8px;color:#333}
.post-body a{color:var(--accent)}
.post-body table{width:100%;border-collapse:collapse;margin:10px 0 28px;font-size:16px;display:block;overflow-x:auto}
.post-body th,.post-body td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.post-body th{background:var(--alt);font-weight:600}
.post-fig{margin:34px 0;background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
.post-fig img{width:100%;height:auto}
.post-fig figcaption{font-size:14px;color:var(--muted);padding:12px 20px;border-top:1px solid var(--line)}
.cta-box{background:var(--alt);border-radius:var(--radius);padding:34px 36px;margin:40px 0}
.cta-box.big{background:var(--petrol);color:#fff}
.cta-box h2{font-size:28px;margin:4px 0 10px}
.cta-box p{font-size:17px;margin-bottom:18px}
.cta-box.big p{color:#d7e6e8}
.cta-box .eyebrow{font-size:14px;margin:0}
.post-body .cta-box a.btn-primary{color:#fff}
.post-faq details{border-bottom:1px solid var(--line);padding:16px 0}
.post-faq summary{cursor:pointer;font-weight:600;font-size:19px}
.post-faq details p{margin-top:10px}
.post-sources{font-size:14px}
.post-sources h2{font-size:22px}
.post-sources li{font-size:14px}
.final .cta-box{max-width:820px;margin:0 auto;text-align:left}
.post-card h3,.post-body h2,.post-body h3,.related h2{font-family:var(--head)}
.post-body{font-size:19px;line-height:1.6}
.post-body p,.post-body li{color:var(--ink)}
.post-body a{color:var(--teal)}

/* Blog home: category grid */
.cat-head{font-family:var(--head);font-size:clamp(26px,4vw,36px);margin:0 0 22px;color:var(--petrol,#0B3C49)}
.cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:24px}
.cat-card{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line,#d9d6cf);border-radius:var(--radius,18px);overflow:hidden;text-decoration:none;color:var(--ink,#14212B);transition:transform .2s,box-shadow .2s}
.cat-card:hover,.cat-card:focus-visible{transform:translateY(-3px);box-shadow:0 18px 40px rgba(11,60,73,.16)}
.cat-card img{width:100%;height:auto;aspect-ratio:1200/630;object-fit:cover}
.cat-card>div{padding:20px 22px 24px;display:flex;flex-direction:column;gap:8px;flex:1}
.cat-card h3{font-family:var(--head);font-size:24px;color:var(--petrol,#0B3C49)}
.cat-card p{color:var(--muted,#4B5A66);font-size:16px}
.cat-more{margin-top:auto;padding-top:8px;font-weight:700;color:var(--teal,#147A73)}
