/* Shared blog styles: used by React blog pages and the static shell. */
.blog-page { width: 100%; max-width: 1180px; margin: 0 auto; padding: 3.5rem 1.5rem 5rem; }
.blog-eyebrow, .blog-kicker { font-family: ui-monospace, "Spline Sans Mono", monospace; font-size: 10.5px; letter-spacing: .18em; text-transform: uppercase; color: #0f6575; }
.blog-kicker { color: hsl(190 14% 37%); letter-spacing: .12em; }
.blog-index-head { max-width: 760px; margin-bottom: 3rem; }
.blog-index-head h1 { font-size: clamp(2.4rem, 6vw, 4.4rem); line-height: 1.02; margin: .8rem 0 1rem; }
.blog-index-head p:last-child { color: hsl(190 14% 37%); font-size: 1.05rem; line-height: 1.6; max-width: 560px; }
.blog-lead { display: grid; gap: 2rem; align-items: center; padding-bottom: 3rem; margin-bottom: 3rem; border-bottom: 1px solid hsl(190 39% 86%); }
.blog-lead img { width: 100%; aspect-ratio: 16/10; object-fit: cover; border-radius: 1rem; }
.blog-lead h2 { font-size: clamp(1.8rem, 3.6vw, 2.8rem); line-height: 1.06; margin: .7rem 0 .9rem; }
@media (min-width: 900px) { .blog-lead { grid-template-columns: 1.25fr 1fr; } }
.blog-grid { display: grid; gap: 2.5rem 2rem; }
@media (min-width: 768px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1100px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.blog-card { display: flex; flex-direction: column; gap: 1rem; color: inherit; text-decoration: none; }
.blog-card-media { overflow: hidden; border-radius: .9rem; background: hsl(192 55% 95%); }
.blog-card-media img { width: 100%; aspect-ratio: 3/2; object-fit: cover; transition: transform .5s ease; }
.blog-card:hover .blog-card-media img, .blog-lead:hover img { transform: scale(1.03); }
.blog-lead img { transition: transform .5s ease; }
.blog-card h2 { font-weight: 800; line-height: 1.2; letter-spacing: -.02em; margin-top: .45rem; }
.blog-card-desc { margin-top: .6rem; color: hsl(190 14% 37%); font-size: .92rem; line-height: 1.6; }
.blog-card-more { display: inline-flex; align-items: center; gap: .35rem; margin-top: .9rem; font-size: .75rem; font-weight: 800; color: #0f6575; }
.blog-empty { padding: 3rem; border: 1px dashed hsl(190 39% 76%); border-radius: 1rem; display: grid; gap: 1rem; justify-items: start; }
.blog-btn { display: inline-flex; align-items: center; gap: .45rem; padding: .75rem 1.15rem; border-radius: .6rem; background: hsl(var(--primary, 191 90% 46%)); color: hsl(var(--primary-foreground, 0 0% 100%)); font-size: .78rem; font-weight: 800; text-decoration: none; transition: transform .2s; }
.blog-btn:hover { transform: translateY(-2px); }
.blog-btn-quiet { background: transparent; color: #0f6575; box-shadow: inset 0 0 0 1px hsl(190 39% 76%); }
.blog-article { max-width: 760px; margin: 0 auto; }
.blog-back { display: inline-flex; align-items: center; gap: .4rem; font-size: .75rem; font-weight: 700; color: hsl(190 14% 37%); text-decoration: none; margin-bottom: 2rem; }
.blog-back:hover { color: #0f6575; }
.blog-article-head h1 { font-size: clamp(2.1rem, 5.4vw, 3.6rem); line-height: 1.04; margin: .8rem 0 1.1rem; }
.blog-standfirst { font-size: 1.15rem; line-height: 1.6; color: hsl(190 14% 37%); }
.blog-meta { display: flex; flex-wrap: wrap; gap: 1.75rem; margin: 1.6rem 0 0; padding-top: 1.2rem; border-top: 1px solid hsl(190 39% 86%); }
.blog-meta dt { font-family: ui-monospace, monospace; font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: hsl(190 14% 37%); }
.blog-meta dd { margin: .2rem 0 0; font-size: .88rem; font-weight: 700; }
.blog-hero { margin: 2.5rem -1rem; }
.blog-hero img { width: 100%; border-radius: 1rem; aspect-ratio: 16/9; object-fit: cover; }
@media (min-width: 900px) { .blog-hero { margin: 2.75rem -6rem; } }

/* Article body typography */
.blog-body , .blog-content { font-size: 1.06rem; line-height: 1.78; color: hsl(190 30% 12%); }
.blog-body > * + * , .blog-content > * + * { margin-top: 1.25em; }
.blog-body h2 , .blog-content h2 { font-size: 1.75rem; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; margin-top: 2.4em; }
.blog-body h3 , .blog-content h3 { font-size: 1.28rem; font-weight: 800; letter-spacing: -.02em; margin-top: 1.9em; }
.blog-body h4 , .blog-content h4 { font-size: 1.05rem; font-weight: 800; margin-top: 1.6em; }
.blog-body a , .blog-content a { color: #0f6575; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.blog-body a:hover , .blog-content a:hover { text-decoration-thickness: 2px; }
.blog-body ul, .blog-content ul, .blog-body ol , .blog-content ol { padding-left: 1.4em; }
.blog-body ul , .blog-content ul { list-style: disc; } .blog-body ol , .blog-content ol { list-style: decimal; }
.blog-body li + li , .blog-content li + li { margin-top: .45em; }
.blog-body li::marker , .blog-content li::marker { color: #0f6575; }
.blog-body strong , .blog-content strong { font-weight: 800; }
.blog-body blockquote , .blog-content blockquote { border-left: 3px solid hsl(190 66% 47%); padding: .3em 0 .3em 1.2em; font-size: 1.15rem; color: hsl(190 14% 30%); }
.blog-body img , .blog-content img { max-width: 100%; height: auto; border-radius: .8rem; }
.blog-body figure , .blog-content figure { margin: 2em 0; }
.blog-body figcaption , .blog-content figcaption { margin-top: .6em; font-size: .82rem; color: hsl(190 14% 37%); text-align: center; }
.blog-body table , .blog-content table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; font-size: .9rem; line-height: 1.5; }
.blog-body th, .blog-content th, .blog-body td , .blog-content td { padding: .7em .9em; border-bottom: 1px solid hsl(190 39% 86%); text-align: left; vertical-align: top; }
.blog-body th , .blog-content th { font-family: ui-monospace, monospace; font-size: .7rem; letter-spacing: .1em; text-transform: uppercase; color: #0f6575; background: hsl(192 55% 96%); }
.blog-body hr , .blog-content hr { border: 0; border-top: 1px solid hsl(190 39% 86%); margin: 2.5em 0; }
.blog-body code , .blog-content code { font-size: .88em; background: hsl(192 55% 95%); padding: .1em .35em; border-radius: .3em; }
.blog-body details , .blog-content details { border: 1px solid hsl(190 39% 86%); border-radius: .7rem; padding: .9em 1.1em; }
.blog-body summary , .blog-content summary { cursor: pointer; font-weight: 800; }
.blog-cta { margin-top: 3.5rem; padding: 2rem; border-radius: 1rem; background: hsl(192 55% 95%); display: grid; gap: 1rem; }
.blog-cta p:nth-child(2) { font-size: 1.02rem; line-height: 1.6; }
.blog-related { max-width: 1180px; margin: 4.5rem auto 0; padding-top: 2.5rem; border-top: 1px solid hsl(190 39% 86%); }
.blog-related h2 { margin-bottom: 1.5rem; }
