/* =========================================================================
 * MiraDora Tech: blog archive + single post
 * Uses the design tokens defined in parts/base-head.php.
 * ========================================================================= */

/* ---------- hero (same look as the legal pages hero) ---------- */
.bl-hero{
  position:relative;overflow:hidden;color:var(--deep-fg);
  padding:8.5rem 1.5rem 3.25rem;
  background:radial-gradient(1100px 520px at 12% 0%,rgba(32,85,202,.38),transparent 62%),var(--deep);
}
@media(min-width:1024px){.bl-hero{padding:10.5rem 2rem 4.5rem}}
.bl-hero::before{
  content:"";position:absolute;inset:0;pointer-events:none;
  background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);
  background-size:42px 42px;
  -webkit-mask-image:radial-gradient(closest-side at 50% 40%,#000,transparent);mask-image:radial-gradient(closest-side at 50% 40%,#000,transparent);
}
.bl-hero .container{position:relative}
.bl-hero__title{max-width:56rem;margin:.9rem 0 1rem;color:var(--deep-fg);overflow-wrap:anywhere}
h1.h-hero.bl-hero__title{font-size:2.25rem;line-height:1.15}
@media(min-width:640px){h1.h-hero.bl-hero__title{font-size:3rem}}
@media(min-width:1024px){h1.h-hero.bl-hero__title{font-size:3.5rem}}
.bl-hero__intro{max-width:46rem;font-size:1.0625rem;line-height:1.8;color:var(--deep-muted)}
@media(min-width:640px){.bl-hero__intro{font-size:1.1875rem}}

/* breadcrumb */
.bl-crumbs ol{display:flex;flex-wrap:wrap;align-items:center;gap:.35rem .5rem;list-style:none;margin:0 0 1.25rem;padding:0;font-size:.875rem}
.bl-crumbs li{display:inline-flex;align-items:center;gap:.5rem;color:var(--deep-muted);min-width:0}
.bl-crumbs li+li::before{content:"\203A";color:rgba(164,179,196,.7)}
.bl-crumbs a{color:var(--deep-fg);text-decoration:underline;text-decoration-color:rgba(164,179,196,.4);text-underline-offset:3px}
.bl-crumbs a:hover{color:var(--brand-soft)}
.bl-crumbs [aria-current]{color:var(--deep-muted);overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:22rem}

/* search */
.bl-search{
  margin-top:2rem;max-width:40rem;display:flex;align-items:center;gap:.5rem;
  padding:.4rem .4rem .4rem 1rem;border-radius:.9rem;
  background:rgba(255,255,255,.06);border:1px solid var(--deep-border);
}
.bl-search:focus-within{border-color:var(--brand-soft);box-shadow:0 0 0 4px rgba(34,205,229,.15)}
.bl-search .ic{width:1.15rem;height:1.15rem;flex:0 0 auto;color:var(--deep-muted);stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bl-search input{flex:1;min-width:0;height:2.75rem;border:0;background:transparent;color:var(--deep-fg);font:inherit;font-size:1rem;outline:none}
.bl-search input::placeholder{color:#9DB0C6}
.bl-search button{
  flex:0 0 auto;height:2.75rem;padding:0 1.1rem;border:0;border-radius:.6rem;cursor:pointer;
  background:var(--primary);color:var(--primary-fg);font:inherit;font-weight:600;font-size:.9375rem;
}
.bl-search button:hover{background:#1A47B4}
.bl-search button:focus-visible{outline:3px solid var(--brand-soft);outline-offset:2px}

/* ---------- filters ---------- */
.bl-filters{border-bottom:1px solid var(--border);background:var(--card);padding:1.1rem 1.5rem}
@media(min-width:1024px){.bl-filters{padding:1.25rem 2rem}}
.bl-filters__row{display:flex;flex-direction:column;gap:1rem}
@media(min-width:900px){.bl-filters__row{flex-direction:row;align-items:center;justify-content:space-between;gap:2rem}}
.bl-chips{display:flex;flex-wrap:wrap;gap:.5rem}
.bl-chip{
  display:inline-flex;align-items:center;gap:.45rem;min-height:2.5rem;padding:.35rem .9rem;border-radius:999px;
  border:1px solid var(--border);background:var(--background);color:var(--foreground);font-size:.9375rem;font-weight:500;
  transition:background .2s ease,border-color .2s ease,color .2s ease;
}
.bl-chip span{font-family:var(--font-label);font-size:.75rem;font-weight:600;color:var(--muted-fg);background:var(--secondary);border-radius:999px;padding:.1rem .45rem}
.bl-chip:hover{border-color:var(--primary);color:var(--primary)}
.bl-chip.is-active{background:var(--primary);border-color:var(--primary);color:var(--primary-fg)}
.bl-chip.is-active span{background:rgba(255,255,255,.2);color:var(--primary-fg)}
.bl-chip:focus-visible,.bl-tagform select:focus-visible,.bl-tagform__btn:focus-visible{outline:3px solid var(--brand-soft);outline-offset:2px}
.bl-tagform{display:flex;align-items:center;gap:.5rem;flex-wrap:wrap}
.bl-tagform label{font-family:var(--font-label);font-size:.75rem;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--muted-fg)}
.bl-tagform select{
  height:2.5rem;min-width:12rem;max-width:100%;padding:0 2.2rem 0 .85rem;border:1px solid var(--border);border-radius:.6rem;
  background:var(--background) url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2350627A' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right .7rem center;
  -webkit-appearance:none;appearance:none;font:inherit;font-size:.9375rem;color:var(--foreground);cursor:pointer;
}
.bl-tagform__btn{height:2.5rem;padding:0 1rem;border-radius:.6rem;border:1px solid var(--border);background:var(--card);font:inherit;font-weight:600;font-size:.9375rem;color:var(--foreground);cursor:pointer}
.bl-tagform__btn:hover{border-color:var(--primary);color:var(--primary)}
.js .bl-tagform__btn{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
.bl-active{margin-top:1rem;display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;font-size:.9375rem;color:var(--muted-fg)}
.bl-active__label{font-weight:600;color:var(--foreground)}
.bl-active__item{padding:.25rem .7rem;border-radius:999px;background:rgba(34,205,229,.12);border:1px solid rgba(34,205,229,.35);color:var(--foreground)}
.bl-active__clear{font-weight:600;color:var(--primary);text-decoration:underline;text-underline-offset:3px}

/* ---------- list / cards ---------- */
.bl-list.section{padding-top:3rem}
@media(min-width:1024px){.bl-list.section{padding-top:4rem}}
.bl-list__title,.bl-related__title{font-family:var(--font-display);font-weight:500;font-size:1.75rem;line-height:1.25;margin:0 0 1.5rem}
@media(min-width:640px){.bl-list__title,.bl-related__title{font-size:2rem}}
.bl-grid{display:grid;grid-template-columns:1fr;gap:1.5rem}
@media(min-width:768px){.bl-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(min-width:1100px){.bl-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:1.75rem}}
.bl-card{display:flex;flex-direction:column;min-width:0;background:var(--card);border:1px solid var(--border);border-radius:1.25rem;overflow:hidden;transition:transform .35s cubic-bezier(.22,1,.36,1),box-shadow .35s ease}
.bl-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-image)}
.bl-card:focus-within{outline:3px solid var(--brand-soft);outline-offset:2px}
.bl-card__media,.bl-feature__media{display:block;aspect-ratio:16/9;background:var(--secondary);overflow:hidden}
.bl-img{display:block;width:100%;height:100%;object-fit:cover}
.bl-ph{display:grid;place-items:center;width:100%;height:100%;color:var(--primary);background:radial-gradient(400px 200px at 20% 0%,rgba(32,85,202,.18),transparent 70%),var(--secondary)}
.bl-ph .ic{width:2.75rem;height:2.75rem;opacity:.55;stroke:currentColor;fill:none;stroke-width:1.6;stroke-linecap:round;stroke-linejoin:round}
.bl-card__body{display:flex;flex-direction:column;gap:.7rem;padding:1.4rem 1.4rem 1.5rem;flex:1}
.bl-cat{
  align-self:flex-start;font-family:var(--font-label);font-size:.6875rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;
  color:var(--primary);background:rgba(32,85,202,.08);border:1px solid rgba(32,85,202,.22);padding:.35rem .75rem;border-radius:999px;
}
.bl-cat:hover{background:rgba(32,85,202,.14)}
.bl-card__title{font-family:var(--font-display);font-weight:500;font-size:1.375rem;line-height:1.3;overflow-wrap:anywhere}
.bl-card__title a:hover,.bl-feature__title a:hover{color:var(--primary)}
.bl-card__title a:focus-visible,.bl-feature__title a:focus-visible{outline:none}
.bl-card__excerpt{color:var(--muted-fg);font-size:.9375rem;line-height:1.7}
.bl-meta{margin-top:auto;display:flex;flex-wrap:wrap;gap:.35rem .5rem;font-size:.8125rem;color:var(--muted-fg)}

/* featured */
.bl-feature{display:grid;grid-template-columns:1fr;margin-bottom:3rem;background:var(--card);border:1px solid var(--border);border-radius:1.5rem;overflow:hidden}
@media(min-width:1024px){.bl-feature{grid-template-columns:1.15fr 1fr}.bl-feature__media{aspect-ratio:auto;min-height:100%}}
.bl-feature:focus-within{outline:3px solid var(--brand-soft);outline-offset:2px}
.bl-feature__body{display:flex;flex-direction:column;gap:.9rem;padding:1.75rem}
@media(min-width:1024px){.bl-feature__body{padding:2.5rem;justify-content:center}}
.bl-feature__flag{font-family:var(--font-label);font-size:.75rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--muted-fg)}
.bl-feature__title{font-family:var(--font-display);font-weight:500;font-size:1.75rem;line-height:1.2;overflow-wrap:anywhere}
@media(min-width:640px){.bl-feature__title{font-size:2.25rem}}
.bl-feature__excerpt{color:var(--muted-fg);font-size:1.0625rem;line-height:1.75}
.bl-feature .bl-meta{margin-top:.25rem}

/* pagination */
.bl-pagination{margin-top:3rem}
.bl-pagination ul{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;list-style:none;margin:0;padding:0}
.bl-pagination .page-numbers{display:inline-flex;align-items:center;justify-content:center;min-width:2.75rem;height:2.75rem;padding:0 .9rem;border-radius:.6rem;border:1px solid var(--border);background:var(--card);font-weight:600;color:var(--foreground)}
.bl-pagination a.page-numbers:hover{border-color:var(--primary);color:var(--primary)}
.bl-pagination .page-numbers.current{background:var(--primary);border-color:var(--primary);color:var(--primary-fg)}
.bl-pagination .page-numbers.dots{border:0;background:none}

/* empty state */
.bl-empty{display:flex;flex-direction:column;align-items:flex-start;gap:1rem;max-width:42rem;padding:2.5rem;border:1px dashed var(--border);border-radius:1.25rem;background:var(--card)}
.bl-empty .ic{width:2rem;height:2rem;color:var(--primary);stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bl-empty h2{font-family:var(--font-display);font-weight:500;font-size:1.6rem;line-height:1.25}
.bl-empty p{color:var(--muted-fg)}
.bl-empty__actions{display:flex;flex-wrap:wrap;gap:.75rem;margin-top:.5rem}

/* ---------- single: hero meta ---------- */
.bl-hero--post{padding-bottom:3rem}
@media(min-width:1024px){.bl-hero--post{padding-bottom:4rem}}
.bl-hero__meta{display:flex;flex-wrap:wrap;align-items:center;gap:.6rem 1rem;margin-top:1.25rem}
.bl-cat--hero{color:var(--brand-soft);background:rgba(34,205,229,.1);border-color:rgba(34,205,229,.35)}
.bl-cat--hero:hover{background:rgba(34,205,229,.18)}
.bl-tags{display:flex;flex-wrap:wrap;gap:.4rem;list-style:none;margin:0;padding:0}
.bl-tags a{display:inline-block;padding:.3rem .65rem;border-radius:.4rem;border:1px solid var(--deep-border);font-size:.8125rem;color:var(--deep-fg)}
.bl-tags a:hover{border-color:var(--brand-soft);color:var(--brand-soft)}
.bl-byline{display:inline-flex;align-items:center;gap:.55rem;font-size:.9375rem;color:var(--deep-muted)}
.bl-byline a{color:var(--deep-fg);font-weight:600;text-decoration:underline;text-decoration-color:rgba(164,179,196,.4);text-underline-offset:3px}
.bl-avatar{display:inline-grid;place-items:center;width:2.25rem;height:2.25rem;border-radius:50%;flex:0 0 auto;background:linear-gradient(135deg,var(--primary),#1A47B4);color:#fff;font-family:var(--font-label);font-weight:700;font-size:.8125rem;letter-spacing:.04em}
.bl-avatar--lg{width:3.75rem;height:3.75rem;font-size:1.1rem}
.bl-hero__dates{margin-top:1rem;font-size:.9375rem;color:var(--deep-muted)}
.bl-hero__dates time{color:var(--deep-fg)}

/* summary + cover */
.bl-top{display:grid;grid-template-columns:1fr;gap:1.5rem;padding:2.5rem 1.5rem 0}
@media(min-width:1024px){.bl-top{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);gap:2rem;padding:3.5rem 2rem 0;align-items:start}.bl-top:not(.bl-top--noimg){align-items:stretch}.bl-top--noimg{grid-template-columns:minmax(0,46rem)}}
.bl-summary{display:flex;flex-direction:column;gap:1rem;padding:1.6rem;border-radius:1.25rem;background:var(--deep);color:var(--deep-fg);border:1px solid var(--deep-border);box-shadow:var(--shadow-image)}
@media(min-width:640px){.bl-summary{padding:2rem}}
.bl-summary__title{display:flex;align-items:center;gap:.5rem;font-family:var(--font-label);font-size:.8125rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--brand-soft)}
.bl-summary__title .ic{width:1rem;height:1rem;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.bl-summary__text{font-size:1rem;line-height:1.8;color:var(--deep-fg)}
.bl-summary__list{list-style:none;margin:0;padding:0;display:grid;gap:.6rem}
.bl-summary__list li{position:relative;padding-left:1.5rem;line-height:1.7;color:var(--deep-fg)}
.bl-summary__list li::before{content:"";position:absolute;left:.1rem;top:.62rem;width:.5rem;height:.5rem;border-radius:50%;background:var(--brand-soft)}
.bl-summary__stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.75rem;margin:auto 0 0;padding-top:1.1rem;border-top:1px solid var(--deep-border)}
.bl-summary__stats dt{font-family:var(--font-label);font-size:.6875rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--deep-muted)}
.bl-summary__stats dd{margin:.25rem 0 0;font-weight:600;color:var(--brand-soft);font-size:.9375rem;line-height:1.4}
.bl-cover{margin:0;border-radius:1.25rem;overflow:hidden;background:var(--secondary);aspect-ratio:16/9;box-shadow:var(--shadow-image)}
.bl-cover__img{display:block;width:100%;height:100%;object-fit:cover;border-radius:inherit}
/* summary body: scrolls inside the card when the list is long */
.bl-summary__body{min-height:0}
.bl-summary__body:focus-visible{outline:2px solid var(--brand-soft);outline-offset:4px;border-radius:.5rem}
/* desktop: summary and image share one fixed row height; the card never grows past the image */
@media(min-width:1024px){
  .bl-top:not(.bl-top--noimg){grid-template-rows:clamp(420px,34vw,460px);align-items:stretch}
  .bl-top:not(.bl-top--noimg) .bl-summary{height:100%;min-height:0;overflow:hidden}
  .bl-top:not(.bl-top--noimg) .bl-cover{aspect-ratio:auto;height:100%}
  .bl-top:not(.bl-top--noimg) .bl-summary__body{
    flex:1 1 auto;overflow-y:auto;padding:0 .5rem 1.5rem 0;
    scrollbar-width:thin;scrollbar-color:rgba(164,179,196,.45) transparent;
    -webkit-mask-image:linear-gradient(to bottom,#000 calc(100% - 1.5rem),transparent);mask-image:linear-gradient(to bottom,#000 calc(100% - 1.5rem),transparent);
  }
  .bl-top:not(.bl-top--noimg) .bl-summary__body::-webkit-scrollbar{width:6px}
  .bl-top:not(.bl-top--noimg) .bl-summary__body::-webkit-scrollbar-thumb{background:rgba(164,179,196,.45);border-radius:6px}
  .bl-top:not(.bl-top--noimg) .bl-summary__stats{flex:0 0 auto}
}

/* layout: TOC + article */
.bl-layout{display:grid;grid-template-columns:1fr;gap:2rem;padding:2.5rem 1.5rem 0}
@media(min-width:1024px){.bl-layout{grid-template-columns:16.5rem minmax(0,48rem);gap:3.5rem;padding:3.5rem 2rem 0;justify-content:start}.bl-layout--notoc{grid-template-columns:minmax(0,48rem);justify-content:center}}
@media(min-width:1280px){.bl-layout{grid-template-columns:18rem minmax(0,48rem);gap:4.5rem}}
.bl-main{min-width:0}

/* TOC */
.bl-toc{min-width:0}
.bl-toc__list{list-style:none;margin:0;padding:0;display:grid;gap:.1rem}
.bl-toc__list a{display:block;padding:.5rem .75rem;border-left:2px solid transparent;border-radius:0 .45rem .45rem 0;font-size:.9375rem;line-height:1.45;color:var(--muted-fg)}
.bl-toc__list .lvl-3 a{padding-left:1.6rem;font-size:.875rem}
.bl-toc__list a:hover{color:var(--foreground);background:rgba(32,85,202,.05)}
.bl-toc__list a.is-active{color:var(--primary);border-left-color:var(--primary);background:rgba(32,85,202,.07);font-weight:600}
.bl-toc__list a:focus-visible{outline:2px solid var(--primary);outline-offset:1px}
.bl-toc__mobile{border:1px solid var(--border);border-radius:.9rem;background:var(--card)}
.bl-toc__mobile summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1rem 1.15rem;font-weight:600;cursor:pointer;list-style:none}
.bl-toc__mobile summary::-webkit-details-marker{display:none}
.bl-toc__mobile summary::after{content:"";width:.6rem;height:.6rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg) translateY(-2px);transition:transform .2s ease}
.bl-toc__mobile[open] summary::after{transform:rotate(-135deg)}
.bl-toc__mobile summary:focus-visible{outline:3px solid var(--brand-soft);outline-offset:2px;border-radius:.9rem}
.bl-toc__mobile .bl-toc__list{padding:0 .5rem .75rem;border-top:1px solid var(--border);padding-top:.5rem}
.bl-toc__desktop{display:none}
@media(min-width:1024px){
  .bl-toc__mobile{display:none}
  .bl-toc__desktop{display:block;position:sticky;top:6.5rem;max-height:calc(100vh - 8rem);overflow-y:auto;padding:1.25rem .75rem 1.25rem 1rem;border:1px solid var(--border);border-radius:1rem;background:var(--card)}
}
.bl-toc__title{display:flex;align-items:center;gap:.5rem;margin:0 0 .6rem .75rem;font-family:var(--font-label);font-size:.75rem;font-weight:600;letter-spacing:.14em;text-transform:uppercase;color:var(--primary)}
.bl-toc__title .ic{width:1rem;height:1rem;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round}

/* article typography */
.bl-content{font-size:1.0625rem;line-height:1.85;color:#22324A}
.bl-content>*+*{margin-top:1.15rem}
.bl-content h2{font-family:var(--font-display);font-weight:500;font-size:1.75rem;line-height:1.25;color:var(--foreground);margin-top:2.75rem;scroll-margin-top:7rem}
@media(min-width:640px){.bl-content h2{font-size:2rem}}
.bl-content h3{font-size:1.25rem;font-weight:700;line-height:1.4;color:var(--foreground);margin-top:2rem;scroll-margin-top:7rem}
.bl-content h4{font-size:1.0625rem;font-weight:700;margin-top:1.5rem}
.bl-content>:first-child{margin-top:0}
.bl-content>p:first-child{font-size:1.1875rem;line-height:1.8;color:var(--foreground)}
.bl-content a{color:#1D4ED8;text-decoration:underline;text-underline-offset:3px}
.bl-content a:hover{color:var(--primary)}
.bl-content strong{color:var(--foreground)}
.bl-content ul,.bl-content ol{padding-left:1.35rem;display:grid;gap:.5rem}
.bl-content ul{list-style:disc}
.bl-content ol{list-style:decimal}
.bl-content li{padding-left:.25rem}
.bl-content ul li::marker{color:var(--primary)}
.bl-content ol li::marker{color:var(--primary);font-weight:700}
.bl-content blockquote{margin-left:0;padding:1.25rem 1.5rem;border-left:4px solid var(--primary);border-radius:0 .9rem .9rem 0;background:var(--secondary);font-family:var(--font-display);font-size:1.25rem;line-height:1.6;color:var(--foreground)}
.bl-content blockquote p{margin:0}
.bl-content figure{margin-left:0;margin-right:0}
.bl-content img{max-width:100%;height:auto;border-radius:1rem}
.bl-content figcaption{margin-top:.6rem;font-size:.875rem;line-height:1.6;color:var(--muted-fg);text-align:center}
.bl-content pre{background:#0A1423;color:#DCE7F5;padding:1.1rem 1.25rem;border-radius:.9rem;overflow-x:auto;font-size:.9rem;line-height:1.6}
.bl-content code{font-family:ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;font-size:.9em}
.bl-content :not(pre)>code{background:rgba(10,20,35,.06);padding:.1rem .35rem;border-radius:.3rem}
.bl-content hr{border:0;border-top:1px solid var(--border);margin:2.5rem 0}
.bl-table{overflow-x:auto;border:1px solid var(--border);border-radius:.9rem;background:var(--card)}
.bl-table:focus-visible{outline:3px solid var(--brand-soft);outline-offset:2px}
.bl-content table{width:100%;min-width:32rem;border-collapse:collapse;font-size:.9375rem;line-height:1.6}
.bl-content th,.bl-content td{padding:.85rem 1rem;text-align:left;vertical-align:top;border-bottom:1px solid var(--border)}
.bl-content thead th{font-family:var(--font-label);font-size:.75rem;letter-spacing:.1em;text-transform:uppercase;font-weight:600;color:var(--primary);background:rgba(32,85,202,.06)}
.bl-content tbody tr:last-child td{border-bottom:0}
/* callouts: <div class="callout callout--tip|--info|--warning"> */
.bl-content .callout{padding:1.1rem 1.25rem;border-radius:.9rem;border:1px solid rgba(32,85,202,.25);background:rgba(32,85,202,.05);color:var(--foreground)}
.bl-content .callout p{margin:0}
.bl-content .callout--tip{border-color:rgba(0,167,115,.35);background:rgba(0,167,115,.07)}
.bl-content .callout--warning{border-color:rgba(214,120,0,.4);background:rgba(214,120,0,.08)}

/* FAQ */
.bl-faq{margin-top:3.5rem}
.bl-faq h2{font-family:var(--font-display);font-weight:500;font-size:1.75rem;line-height:1.25;margin-bottom:1.25rem;scroll-margin-top:7rem}
@media(min-width:640px){.bl-faq h2{font-size:2rem}}
.bl-faq__item{border:1px solid var(--border);border-radius:.9rem;background:var(--card)}
.bl-faq__item+.bl-faq__item{margin-top:.75rem}
.bl-faq__item summary{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 1.25rem;font-weight:700;font-size:1.0625rem;line-height:1.5;cursor:pointer;list-style:none}
.bl-faq__item summary::-webkit-details-marker{display:none}
.bl-faq__item summary::after{content:"+";flex:0 0 auto;display:grid;place-items:center;width:1.75rem;height:1.75rem;border-radius:50%;background:var(--secondary);color:var(--primary);font-weight:700}
.bl-faq__item[open] summary::after{content:"\2212"}
.bl-faq__item summary:focus-visible{outline:3px solid var(--brand-soft);outline-offset:2px;border-radius:.9rem}
.bl-faq__a{padding:0 1.25rem 1.15rem;color:#22324A;line-height:1.8}
.bl-faq__a>*+*{margin-top:.75rem}

/* share */
.bl-share{display:flex;flex-wrap:wrap;align-items:center;gap:.5rem;margin-top:3rem;padding:1.25rem 0;border-top:1px solid var(--border);border-bottom:1px solid var(--border)}
.bl-share__label{font-family:var(--font-label);font-size:.75rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--muted-fg);margin-right:.25rem}
.bl-share a,.bl-share__copy{display:inline-flex;align-items:center;min-height:2.5rem;padding:0 .9rem;border-radius:.6rem;border:1px solid var(--border);background:var(--card);font:inherit;font-size:.875rem;font-weight:600;color:var(--foreground);cursor:pointer}
.bl-share a:hover,.bl-share__copy:hover{border-color:var(--primary);color:var(--primary)}
.bl-share a:focus-visible,.bl-share__copy:focus-visible{outline:3px solid var(--brand-soft);outline-offset:2px}
.bl-share__status{font-size:.875rem;color:var(--positive);font-weight:600}

/* author */
.bl-author{display:flex;gap:1.1rem;align-items:flex-start;margin-top:2.5rem;padding:1.5rem;border:1px solid var(--border);border-radius:1.25rem;background:var(--card)}
.bl-author>div{min-width:0;flex:1 1 auto}
.bl-author__icon{display:block;flex:0 0 auto;width:64px;height:64px;object-fit:contain;border-radius:.9rem;background:var(--secondary);border:1px solid var(--border)}
@media(max-width:767px){.bl-author{flex-direction:column;align-items:flex-start;gap:.9rem}.bl-author>div{width:100%}}
.bl-author__name{font-family:var(--font-display);font-weight:500;font-size:1.35rem;line-height:1.3}
.bl-author__role{margin-top:.15rem;font-family:var(--font-label);font-size:.75rem;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--primary)}
.bl-author__bio{margin-top:.6rem;color:var(--muted-fg);line-height:1.75}
.bl-author__link{display:inline-block;margin-top:.6rem;font-weight:600;color:var(--primary);text-decoration:underline;text-underline-offset:3px}

/* previous / next */
.bl-adjacent{display:grid;grid-template-columns:1fr;gap:1rem;margin-top:2.5rem}
@media(min-width:640px){.bl-adjacent{grid-template-columns:1fr 1fr}}
.bl-adjacent a{display:flex;flex-direction:column;gap:.35rem;padding:1.1rem 1.25rem;border:1px solid var(--border);border-radius:1rem;background:var(--card);font-weight:600;line-height:1.45;color:var(--foreground)}
.bl-adjacent a span{font-family:var(--font-label);font-size:.6875rem;letter-spacing:.12em;text-transform:uppercase;color:var(--muted-fg);font-weight:600}
.bl-adjacent a:hover{border-color:var(--primary);color:var(--primary)}
.bl-adjacent__next{text-align:right}
@media(min-width:640px){.bl-adjacent__next:only-child{grid-column:2}}
.bl-adjacent a:focus-visible{outline:3px solid var(--brand-soft);outline-offset:2px}

/* related + CTA */
.bl-related{padding-bottom:1rem}
.bl-cta-wrap{padding-top:3rem}
.bl-cta{display:flex;flex-direction:column;align-items:flex-start;gap:1.1rem;padding:2.5rem 1.6rem;border-radius:1.75rem;color:var(--deep-fg);background:radial-gradient(900px 420px at 0% 0%,rgba(32,85,202,.45),transparent 60%),var(--deep)}
@media(min-width:900px){.bl-cta{padding:3.5rem}}
.bl-cta__title{color:var(--deep-fg);max-width:40rem}
.bl-cta__text{max-width:42rem;color:var(--deep-muted);font-size:1.0625rem;line-height:1.8}
.bl-cta__actions{display:flex;flex-wrap:wrap;gap:.9rem;margin-top:.4rem}

/* reading progress */
.bl-progress{position:fixed;top:0;left:0;right:0;height:3px;z-index:200;pointer-events:none}
.bl-progress span{display:block;height:100%;width:100%;transform:scaleX(0);transform-origin:0 50%;background:linear-gradient(90deg,var(--primary),var(--brand-soft))}

@media(prefers-reduced-motion:reduce){.bl-card,.bl-card:hover{transition:none;transform:none}}
