/* Blog extras. The main design lives in fx.css; this only adds what it lacks. */

/* Article body: lists look like the prototype (gold square bullets). */
.bp_body > *{margin-top:0;margin-bottom:0}
.bp_body h2{margin:18px 0 0;font-size:clamp(22px,2vw,28px);line-height:1.25;font-weight:700;letter-spacing:-0.02em;color:var(--fs-petrol)}
.bp_body p{margin:0}
.bp_body ul,.bp_body ol{margin:0;padding:0;list-style:none;display:flex;flex-direction:column;gap:10px}
.bp_body ul>li,.bp_body ol>li{display:block;position:relative;margin:0;padding:0 0 0 26px}
.bp_body ul>li:before,.bp_body ol>li:before{content:"";position:absolute;left:0;top:.8em;width:7px;height:7px;background:var(--fs-orange)}
.bp_body .fx_inlink{color:var(--fs-petrol);font-weight:600;text-decoration:underline;text-decoration-color:var(--fs-orange);text-decoration-thickness:2px;text-underline-offset:3px}
.bp_body .fx_inlink:hover{color:var(--fs-orange-ink)}
.bp_body img,.bp_body figure{max-width:100%;height:auto;margin:0}

/* No contents table (fewer than two headings): two columns, body then sidebar. */
.bp_grid.bp_grid--notoc{grid-template-columns:minmax(0,720px) 340px}
@media(max-width:1280px){.bp_grid.bp_grid--notoc{grid-template-columns:minmax(0,720px) 320px}}
@media(max-width:860px){.bp_grid.bp_grid--notoc{grid-template-columns:minmax(0,1fr)}}

/* Contents table anchors keep working with a fixed header. */
html{scroll-padding-top:104px}
@media(prefers-reduced-motion:no-preference){html{scroll-behavior:smooth}}

/* Cards: border darkens on hover, like the prototype. */
.blog_card[style*="border:1px solid"]:hover{border-color:var(--fs-petrol)!important}

/* Category links on the news page. */
.blog_filter_btn{min-width:44px;transition:border-color .2s,background .2s}
.blog_filter_btn:hover{border-color:var(--fs-petrol)!important;color:var(--fs-petrol)}
.blog_filter_btn[aria-current="page"]:hover{color:#fff}

/* Page numbers under the grid. */
.blog_pager{margin-top:clamp(36px,4vw,56px);display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-family:'Geist Mono',monospace;font-size:13px;letter-spacing:.05em}
.blog_pager .page-numbers{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;height:44px;padding:0 14px;border:1px solid var(--fs-line);background:#fff;color:var(--fs-petrol)}
.blog_pager a.page-numbers:hover{border-color:var(--fs-petrol);color:var(--fs-petrol)}
.blog_pager .page-numbers.current{background:var(--fs-petrol);border-color:var(--fs-petrol);color:#fff}
.blog_pager .page-numbers.dots{border-color:transparent;background:transparent}
