.breadcrumb{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-family:var(--font);
  font-size:.9rem;
  color:var(--muted-foreground);
  margin:0 0 12px;
  padding:10px 12px;
}
.breadcrumb a{ color:var(--muted-foreground); text-decoration:none; }
.breadcrumb a:hover{ color:var(--link-hover); text-decoration:none; }
.breadcrumb-link{ display:inline-flex; align-items:center; }
.breadcrumb-sep{ display:inline-flex; align-items:center; opacity:.5; }
.breadcrumb-current{ display:inline-flex; align-items:center; color:var(--foreground); }
.hero--taxonomy + .breadcrumb{
  display:flex;
  flex-wrap:wrap;
  padding:0;
}

/* Featured image - shown at its real size (these covers are already sized deliberately,
   e.g. ~800x500px), not force-fit into a small tile. display:table makes the wrapper
   shrink to the image's own natural width while still supporting margin:auto centering;
   max-width:100% only kicks in to stop an oversized image overflowing the article column,
   it doesn't shrink a normal-sized one. On mobile the column is narrow enough that the
   cover reads small even at "natural" size, so it's explicitly scaled up 15% past the
   column width there (an explicit width, not just a higher max-width ceiling, since the
   point is to actively enlarge it, not just raise how big it's *allowed* to get - but on
   mobile 100% of the column is already the right size, so no extra mobile-only scaling. */
.featured-image__wrapper{
  display:table;
  max-width:100%;
  margin:0 auto 20px;
  padding:0;
  border:0;
  background:transparent;
}
.featured-image{
  display:block;
  max-width:100%;
  height:auto;
  margin:0 auto;
}

h1{
  margin: 1.5rem 0 1rem;
  font-size: 1.5rem;
}

 h2{
     margin:1rem 0;
}
 h3{
     margin:1.8rem 0 1.25rem;
     font-size:1.3rem;
}
 table{
     border:1px solid var(--border-soft) !important;
}

/* Single - TOC fixed like ZZO */
.single-wrap{
     display:grid;
     grid-template-columns:1fr 268px;
     gap:10px;
}
 @media (max-width:1080px){
     .single-wrap{
         grid-template-columns:1fr;
    }
}
/* Article spacing is provided by the content and header. */
 .article{
     padding:0 !important;
     background:transparent;
     overflow:hidden;
     position:relative;
}
/* Translucent tint behind archive/tags/about content, where short pages can otherwise leave
   the WebGL pattern too exposed through the article frame. Single posts keep the tint off so
   the background animation remains visible at its controlled opacity. */
.article::before{
     content:"";
     position:absolute;
     inset:0;
     z-index:-1;
     background:color-mix(in oklab, var(--background) 50%, transparent);
}
/* .article-header is a direct child of .article only on single.html, so single posts keep the
   WebGL animation visible behind the article. The :has() selector is more specific than the
   plain .article::before rule and wins regardless of source order. */
.article:has(.article-header)::before{
     background:transparent;
}
 .post-cover{
     width:100%;
     max-width:1024px;
     margin:0 auto;
     display:block;
     border:0;
     height:auto;
     aspect-ratio:auto;
     object-fit:contain;
}
 .article-header{
     padding:0 0 40px;
     text-align:center;
     display:flex;
     flex-direction:column;
     align-items:center;
}
 .article-header-text{
     padding:40px 24px 0;
     display:flex;
     flex-direction:column;
     align-items:flex-start;
     text-align:left;
}
/* Real article covers retain their intrinsic proportions so titles and artwork are not
   cropped. Listing thumbnails use contain inside a uniform 16:9 frame. */
 .article-cover{
     display:block;
     width:100%;
     max-width:760px;
     height:auto;
     aspect-ratio:auto;
     object-fit:contain;
     pointer-events:none;
}
.article-single .article-cover:not(.article-cover--logo){ border-radius:3px; }
/* Category-logo fallback (single.html's $logoSrc, when a post has no cover_post of its own) -
   the plain logo file itself now, unmasked and unanimated (no more WebGL canvas). Sized
   inline per-category (single.html) - object-fit:contain so it's never cropped, no border
   since these are small transparent-background logos, not photographic covers. */
 .article-cover--logo{
     aspect-ratio:auto;
     object-fit:contain;
     border:none;
     margin-bottom:8px;
     width:min(var(--article-logo-size, 460px), 82vw);
     height:auto;
}
 .article-header h1{
     margin:0 0 12px;
     font-family:var(--font);
     font-size:clamp(28px,3vw,40px);
     line-height:1.15;
     letter-spacing:-.02em;
     font-weight:600;
     text-align:left;
     max-width:720px;
     scroll-margin-top:124px;
}
/* Global title-first article header. Both breakpoints place tags beneath the cover; mobile
   shows two tags before the inline expansion button, while desktop shows three. */
.article-header--editorial{
     align-items:flex-start;
}
.article-header--editorial .article-header-text{
     width:100%;
     max-width:840px;
     align-items:flex-start;
     text-align:left;
     padding:24px 24px 0;
}
.article-header--editorial h1{
     text-align:left;
}
.article-single .article-header h1{
     color:var(--post-title);
}
.article-header--editorial .article-meta{
     justify-content:flex-start;
     text-align:left;
     width:100%;
}
.article-header--editorial .article-tags{
     width:100%;
     max-width:100%;
     min-width:0;
     justify-content:flex-start;
     margin-top:0;
     margin-bottom:0;
}
.article-header--editorial .article-tags--desktop{
     width:min(840px,100%);
     padding:0 24px;
     margin:12px 0 0;
}
.article-header--editorial .article-tags--mobile{display:none;}
.article-header--editorial .article-cover:not(.article-cover--logo){
     max-width:840px;
     width:85%;
     margin:24px auto 0;
}
.article-header--editorial .article-cover--logo{
     align-self:center;
}
@media(max-width:768px){
  .article-header--editorial h1{
       max-width:none;
       letter-spacing:-.025em;
       text-wrap:balance;
  }
  .article-header--editorial .article-meta{justify-content:flex-start;text-align:left}
  .article-header--editorial .article-tags--desktop{display:none;}
  .article-header--editorial .article-tags--mobile{
       display:flex;
       width:100%;
       max-width:100%;
       min-width:0;
       flex-wrap:wrap;
       align-content:flex-start;
       margin:12px 0 0;
  }
  .article-header--editorial .article-tags{gap:4px;}
  .article-header--editorial .article-tags .tag{font-size:12px;padding:2px 6px;}
  .article-header--editorial .article-tags-more{
       min-height:32px;
       padding:4px 10px;
       font-size:12px;
  }
  .article-header--editorial .article-tags-more:focus-visible{outline:2px solid var(--foreground);outline-offset:2px;}
  .article-header--editorial .article-tags-extra{margin-top:4px;}
  .article-header--editorial .article-cover:not(.article-cover--logo){width:100%;max-width:100%;}
}
 .article-meta{
     color:var(--muted-foreground);
     font-size:12px;
     display:flex;
     flex-wrap:wrap;
     align-items:center;
     justify-content:center;
     gap:8px;
     font-family:var(--mono);
     border-bottom:0;
     padding-bottom:0;
     margin-bottom:8px;
}
 .article-meta .post-author{
     display:inline-flex;
     align-items:center;
     gap:6px;
}
 .article-meta .author-link{
     text-decoration:underline;
     text-underline-offset:3px;
     color:var(--foreground);
     font-weight:500;
  text-decoration-color:color-mix(in oklab,currentColor 50%,transparent);
}
 .article-meta .sep{
     color:var(--muted-foreground);
     opacity:.6;
}
 .article-content{
     padding:24px;
     font-size:calc(15px * var(--type-scale));
     line-height:1.7;
}
 .article-content img.content-img{
     display:block;
     margin:20px auto;
     cursor:zoom-in;
}
  .article-single .article-content img{ border:0; }
  /* Preserve screenshot corners without an image frame. */
  .article-single .article-content img.content-img{
       border:0;
       border-radius:3px;
       box-sizing:border-box;
  }
 /* Keep the existing heading scale and spacing above each section. */
 .article-content h2{
     font-size:calc(1.61rem * var(--type-scale));
     letter-spacing:-.015em;
     margin-bottom:0;
}
.article-single .article-content > h2[id]{
     color:var(--post-heading);
}
 .article-content h3{
     margin-top:16px;
     margin-bottom:0;
     padding-bottom:4px;
     font-size:calc(1.5rem * var(--type-scale));
}
 .article-content h4{
     margin-top:14px;
     margin-bottom:.5em;
     font-size:calc(1.32rem * var(--type-scale));
     font-weight:600;
}
 .article-content h5{
     margin-top:12px;
     margin-bottom:.5em;
     font-size:calc(1.21rem * var(--type-scale));
     font-weight:600;
}
 .article-content h6{
     margin-top:10px;
     margin-bottom:.5em;
     font-size:calc(1.15rem * var(--type-scale));
     font-weight:600;
     text-transform:uppercase;
     letter-spacing:.03em;
}
/* A heading and its first content block belong together. Set both margins so
   paragraph/list defaults cannot enlarge the 12px gap through margin collapse. */
.article-content :is(h1,h2,h3,h4,h5,h6){
    margin-bottom:0;
    padding-bottom:0;
}
.article .article-content :is(h1,h2,h3,h4,h5,h6) + :not(h1,h2,h3,h4,h5,h6){
    margin-top:12px;
}
 /* Heading copy-link icon - see content.js's "Heading anchor copy-link" block. Ported
    from backup-blog's zzo theme (single-script.html's ".anchor" links), which uses
    ClipboardJS; this uses the native Clipboard API instead, no extra dependency. Inline
    (not absolutely positioned like zzo's) so it doesn't need RTL-specific left/right
    flipping or risk overflowing .article-content's own padding on narrow viewports. */
 .heading-anchor-wrap{
     position:relative;
     display:inline-flex;
     align-items:center;
     vertical-align:middle;
     margin-left:.4em;
}
 .heading-anchor{
     display:inline-flex;
     align-items:center;
     justify-content:center;
     width:1em;
     height:1em;
     vertical-align:middle;
     opacity:0;
     transition:opacity .15s ease, color .15s ease;
     color:var(--muted-foreground);
     background:none;
     border:none;
     padding:0;
     cursor:pointer;
     font-size:.49em; /* 35% smaller than the previous .75em */
}
 .heading-anchor svg{
     width:1em;
     height:1em;
}
 .article-content h1:hover .heading-anchor,
 .article-content h2:hover .heading-anchor,
 .article-content h3:hover .heading-anchor,
 .article-content h4:hover .heading-anchor,
 .article-content h5:hover .heading-anchor,
 .article-content h6:hover .heading-anchor,
 .heading-anchor:focus-visible{
     opacity:1;
}
 /* "Copied!" bubble - toggled via .show by content.js, same pattern as the code-copy
    button's own .feedback tooltip (syntax/code.css) but simplified. */
 .heading-anchor-feedback{
     position:absolute;
     left:100%;
     top:50%;
     margin-left:6px;
     transform:translateY(-50%) translateY(4px);
     white-space:nowrap;
     background:var(--category-pill-bg);
     color:var(--foreground);
     font-size:11px;
     font-family:var(--mono);
     padding:2px 8px;
     border-radius:4px;
     opacity:0;
     pointer-events:none;
     transition:opacity .15s ease, transform .15s ease;
}
 .heading-anchor-feedback.show{
     opacity:1;
     transform:translateY(-50%) translateY(0);
}
 .heading-anchor:hover{
     color:var(--accent-hack);
}
 .article-content a{
     text-decoration:underline;
     text-underline-offset:3px;
     text-decoration-thickness:1px;
}
.article-content a:hover{ color:var(--link-hover); }
 .article-content .chroma .lntable{
     border:none;
     background:transparent;
}
 .article-content .chroma .lntd:first-child{
     background:color-mix(in oklab, var(--foreground) 3%, transparent);
     border-right:1px solid var(--border);
}
 .article-content .chroma .lnt{
     color:var(--muted-foreground);
     font-family:var(--mono);
     font-size:12px;
     padding-right:10px;
}
 .article-content code:not(pre code){
     /* Paint the background around each line of wrapped inline code. */
     display:inline;
     -webkit-box-decoration-break:clone;
     box-decoration-break:clone;
     overflow-wrap:anywhere;
     background:color-mix(in oklab,var(--bg-elev) 90%,var(--foreground));
     border:0;
     padding:1px 4px;
     border-radius:0 !important;
     font-size:.9em;
     font-family:var(--mono);
}
.article-single .article-content code:not(pre code){
     line-height:1.45;
     padding-block:0;
}
 .article-content blockquote{
     border-left:2px solid var(--foreground);
     background:var(--bg-elev);
     padding:8px 16px;
     border-radius:0;
     color:var(--muted-foreground);
     margin:12px 0;
}
 .article-content blockquote > :first-child{ margin-top:0; }
 .article-content blockquote > :last-child{ margin-bottom:0; }
html[data-theme="mono"] .article-content blockquote{border-left-color:var(--link-hover);}
 .article-content table{
     max-width:100%;
     border-collapse:collapse;
     margin:20px 0;
     font-size:13px;
}
/* No border here on purpose: base/responsive.css sets display:inline-block on this same
   selector (for shrink-to-fit sizing), and border-collapse only merges borders when the
   table's computed display is table/inline-table - with inline-block, this element's own
   border stopped merging with the th/td grid's borders and rendered as a second, separate
   rectangle just outside it. The outermost cells' own borders (th/td below) already form a
   complete boundary around the whole grid, so a border here would only double it back up. */
 .article-content thead{
     background:var(--bg-elev);
}
 .article-content th{
     background:var(--bg-elev);
     font-weight:700;
     font-family:var(--mono);
     font-size:11px;
     text-transform:uppercase;
     letter-spacing:.08em;
     color:var(--foreground);
}
 .article-content th, .article-content td{
     border:1px solid var(--border-soft);
     padding:6px 10px;
     text-align:left;
}
 .article-content tbody{
     background:var(--code-bg);
}
 .article-content td{
     background:var(--code-bg);
     color:var(--muted-foreground);
}
 .article-content td:first-child{
     font-weight:600;
     color:var(--foreground);
     font-family:var(--mono);
     font-size:12px;
}
 .article-content td strong{
     background:var(--foreground);
     color:var(--background);
     padding:1px 6px;
     font-weight:700;
}
/* Code inside an inverted table chip shares the chip's background. */
 .article-content td strong code{
     background:transparent;
     border:none;
     padding:0;
     color:inherit;
}
[data-color-scheme="dark"] .toc-sidebar {
     --toc-background:color-mix(in oklab,var(--bg-elev) 65%,var(--background));
}
 .toc-sidebar{
     --toc-background:var(--bg-elev);
     position:sticky;
     top:calc(var(--header-total-h, 64px) + var(--post-top-gap));
     align-self:start;
     background:color-mix(in oklab,var(--toc-background) 90%,transparent);
     border:0;
     padding:0;
     max-height:none;
     overflow:visible;
     display:none;
     flex-direction:column;
}
 @media (width > 1300px){
     /* Give the post and sticky desktop TOC the same clearance below the navbar. */
     .container.no-sidebar:has(.single-wrap){
         --post-top-gap:24px;
         padding-top:var(--post-top-gap);
    }
     .toc-sidebar{
         display:flex;
    }
}
 .toc-inner{
     display:flex;
     flex-direction:column;
     max-height:calc(100dvh - var(--header-total-h, 64px) - var(--post-top-gap) - 16px);
     overflow-y:auto;
     overscroll-behavior:contain;
     scrollbar-width:none;
     gap:8px;
     padding:16px;
}
 .toc-inner::-webkit-scrollbar{ display:none; }
/* Mobile reading bar (layouts/_default/single.html's "mobileToc" block) - ported from a
   reference mobile TOC design. Only exists below the same breakpoint .toc-sidebar
   disappears at (1300px, above) - it's the sidebar's replacement there, not an addition to
   it.

   This used to be a position:sticky element living inside .container/.main, computing a
   `top` offset to match the header's height (and, for a while, also cancelling out
   .container's own padding-top on top of that) - two separate numbers that each had to be
   hand-kept in sync with something else, and drifted out of sync (twice) whenever a
   breakpoint changed one side of that equation but not the other. It's rendered as a plain
   in-flow sibling of .site-header inside .site-header-group now (baseof.html/header.css), so
   there's no offset to compute at all: it's flush against the header because normal block
   flow puts it there, and it hides/shows with the header (same fixed box, same transform)
   instead of staying stuck in place while the header slides away above it.

   Its stacking order stays below the header's menus. content.js's scroll-spy drives the
   title text and progress ring. */
 .mobile-toc-container{
     display:none;
}
 @media (max-width:1300px){
     .mobile-toc-container{
         display:block;
         position:relative;
         z-index:1;
         /* The navbar stays full-bleed; the mobile TOC keeps its own inset for comfortable
            reading and has no frame of its own. */
         margin-left:1.5rem;
         margin-right:1.5rem;
         background:color-mix(in oklab, var(--background) 70%, transparent);
         backdrop-filter:blur(8px);
         -webkit-backdrop-filter:blur(8px);
         border:0;
    }
}
 .mobile-toc-summary{
     display:flex;
     align-items:center;
     gap:8px;
     padding:10px 16px;
     cursor:pointer;
     list-style:none;
}
 .mobile-toc-summary::-webkit-details-marker{
     display:none;
}
 .mobile-toc-progress{
     flex-shrink:0;
     display:grid;
     place-items:center;
     color:var(--foreground);
}
 .mobile-toc-progress-track{
     stroke:color-mix(in oklab, var(--foreground) 15%, transparent);
}
 .mobile-toc-progress-bar{
     stroke:var(--foreground);
     stroke-dasharray:62.83;
     stroke-dashoffset:62.83;
     transition:stroke-dashoffset .15s linear;
}
 .mobile-toc-title{
     flex:1;
     min-width:0;
     overflow:hidden;
     text-overflow:ellipsis;
     white-space:nowrap;
     font-size:13px;
     color:var(--muted-foreground);
     font-family:var(--font);
}
 .mobile-toc-chevron{
     flex-shrink:0;
     display:grid;
     place-items:center;
     color:var(--muted-foreground);
     transition:transform .2s ease;
}
 .mobile-toc[open] .mobile-toc-chevron{
     transform:rotate(180deg);
}
 .mobile-toc-nav{
     max-height:30vh;
     overflow-y:auto;
     scrollbar-width:none;
     padding:4px 16px 12px;
     border:0;
}
 .mobile-toc-nav::-webkit-scrollbar{ display:none; }
 :is(.toc-inner, .mobile-toc-nav){
     --toc-fade-size:24px;
     --toc-fade-top:0px;
     --toc-fade-bottom:0px;
     scroll-padding-block:var(--toc-fade-size);
}
 :is(.toc-inner, .mobile-toc-nav).has-toc-content-above{
     --toc-fade-top:var(--toc-fade-size);
}
 :is(.toc-inner, .mobile-toc-nav).has-toc-content-below{
     --toc-fade-bottom:var(--toc-fade-size);
}
 :is(.toc-inner, .mobile-toc-nav):is(.has-toc-content-above, .has-toc-content-below){
     mask-image:linear-gradient(to bottom, transparent, #000 var(--toc-fade-top),
       #000 calc(100% - var(--toc-fade-bottom)), transparent);
}
 .toc-nav{
     font-size:14px;
     line-height:1.4;
}
 .toc-nav a{
     color:var(--muted-foreground);
     text-decoration:none;
     transition:color .2s;
}
 .toc-nav a:hover{
     color:var(--toc-accent);
}
 .mobile-toc-nav a{
     position:relative;
     display:block;
     padding-inline-start:1.25em;
}
 .mobile-toc-nav a::before{
     content:"−";
     content:"−" / "";
     position:absolute;
     inset-inline-start:0;
     width:1ch;
     text-align:center;
     font-family:var(--mono);
}
 .mobile-toc-nav a[aria-current="location"]{
     color:var(--toc-accent);
     font-weight:600;
}
 .mobile-toc-nav a[aria-current="location"]::before{
     content:"+";
     content:"+" / "";
}
 .toc-nav ul{
     list-style:none;
     padding-left:12px;
     margin:4px 0;
     display:flex;
     flex-direction:column;
     gap:6px;
}
 .toc-nav > ul{
     padding-left:0;
}
/* Fold/unfold (static/js/content.js toggles .toc-collapsed on nested <ul>s, not inline
   style.display, specifically so this can transition instead of snapping open/closed).
   max-height rather than height/grid-rows since no JS measures actual content height here -
   400px comfortably covers a realistic sub-section's heading count without the transition
   feeling like it's racing through a mostly-empty range. */
 .toc-nav li > ul{
     overflow:hidden;
     max-height:400px;
     opacity:1;
     transition:max-height .35s ease, opacity .3s ease, margin .35s ease;
}
 .toc-nav li > ul.toc-collapsed{
     max-height:0;
     opacity:0;
     margin-top:0;
     margin-bottom:0;
     pointer-events:none;
}
 .toc-nav[data-expanded="true"] li > ul{
     max-height:none;
     overflow:visible;
     opacity:1;
     transition:none;
 }
/* --- TOC like zzo with folding and vertical line --- */
 .toc-sidebar[data-folding="true"] a{
     position:relative;
     padding-left:0;
     color:var(--muted-foreground);
}
 .toc-sidebar[data-folding="true"] a.active{
     color:var(--toc-accent);
     font-weight:700;
}
 .toc-sidebar ul li li{
     margin-left:0;
}
 .toc-sidebar[data-dir="rtl"] a{
     padding-right:0.5rem;
     padding-left:0;
}
 .toc-sidebar[data-dir="rtl"] a::before{
     left:auto;
     right:-0.5rem;
}
/* legacy .toc for fallback */
 .toc-nav[data-folding="true"] a{
     position:relative;
     padding-left:0.5rem;
}
 .toc-nav[data-folding="true"] a::before{
     content:"";
     position:absolute;
     left:-0.5rem;
     top:0;
     width:2px;
     height:100%;
     background:var(--border);
}
 .toc-nav[data-folding="true"] a.active::before{
     background:var(--toc-accent);
}
 .toc-nav[data-folding="true"] a.active{
     color:var(--toc-accent);
     font-weight:700;
}
 .toc{
     position:sticky;
     top:72px;
     align-self:start;
     background:transparent;
     border:0;
     border-radius:0;
     padding:16px;
     max-height:70vh;
     overflow:auto;
}
 .share{
     display:flex;
     gap:8px;
     align-items:center;
     justify-content:center;
     flex-wrap:wrap;
     padding:16px 24px;
     border-top:1px solid var(--border-soft);
     background:var(--bg-elev);
}
 .share span{
     font-size:10px;
     font-weight:600;
     letter-spacing:.14em;
     text-transform:uppercase;
     color:var(--muted-foreground);
     font-family:var(--mono);
}
 .share a{
     width:32px;
     height:32px;
     border-radius:0;
     display:grid;
     place-items:center;
     border:1px solid var(--border-soft);
     background:var(--card);
     color:var(--muted-foreground);
     font-size:13px;
}
 .share a svg{
     width:18px;
     height:18px;
}
 .share a:hover{
     background:var(--foreground);
     color:var(--background);
     border-color:var(--foreground);
}
 .author-box{
     display:flex;
     gap:14px;
     padding:20px 24px;
     border-top:1px solid var(--border-soft);
     align-items:center;
}
 .author-box img{
     width:56px;
     height:56px;
     border-radius:999px;
     object-fit:cover;
     border:1px solid var(--border-soft);
}
 .author-box h4{
     margin:0;
     font-size:14px;
}
 .author-box p{
     margin:4px 0 8px;
     color:var(--muted-foreground);
     font-size:13px;
     line-height:1.5;
}
 .post-nav{
     display:grid;
     grid-template-columns:1fr 1fr;
     gap:16px;
     margin:0;
     padding:16px 22px;
     border-top:1px solid var(--border-soft);
}
 @media (max-width:700px){
     .post-nav{
         grid-template-columns:1fr;
    }
}
/* Related posts (single.html). A plain, centered list, not another bordered-card grid -
   the page already has plenty of boxes by this point (alerts, notices, the GitHub card,
   article embeds, the prev/next cards), and stacking a grid of 1-3 more identical squares
   right after all of that just reads as repetitive. */
 .related-posts{
     padding:16px 22px;
     border-top:1px solid var(--border-soft);
     text-align:center;
}
 .related-posts__title{
     margin:0 0 14px;
     font-family:var(--display);
     font-size:15px;
     font-weight:400;
     color:var(--foreground);
}
 .related-posts__list{
     list-style:none;
     margin:0 auto;
     padding:0;
     display:inline-flex;
     flex-direction:column;
     align-items:flex-start;
     gap:10px;
     text-align:left;
}
 .related-posts__item{
     display:inline-block;
     font-size:13px;
     font-weight:600;
     color:var(--foreground);
     line-height:1.4;
}
 .related-posts__item::before{
     content:"»";
     display:inline-block;
     margin-right:8px;
     color:var(--muted-foreground);
     font-weight:400;
}
 .related-posts__item:hover{
     color:var(--link-hover);
     text-decoration:underline;
     text-underline-offset:2px;
}

.article-tags {--tag-link-border:var(--frame-border);}
.article-tags .tag {border-color:var(--tag-link-border);}

.article-header--editorial .article-tags-more{
  flex:0 0 auto;
  display:inline-flex;
  align-items:center;
  min-height:28px;
  padding:5px 9px;
  border:1px solid var(--tag-link-border);
  border-radius:0;
  appearance:none;
  background:transparent;
  color:var(--muted-foreground);
  font:11px/1.2 var(--mono);
  text-align:center;
  cursor:pointer;
  text-decoration:none;
}
.article-header--editorial .article-tags-extra{
  display:flex;
  flex:1 0 100%;
  width:100%;
  flex-wrap:wrap;
  justify-content:flex-start;
  gap:4px;
}
.article-header--editorial .article-tags-extra[hidden]{display:none;}

.article-tags-control{
  display:inline-flex;
  align-items:center;
  column-gap:inherit;
}
.article-meta-timing{display:contents;}
.article-header--editorial .article-topics-toggle{
  gap:6px;
  border:0;
  font-family:var(--font);
  font-size:13px;
}
.article-topics-toggle::after{
  content:"";
  width:6px;
  height:6px;
  border:solid currentColor;
  border-width:0 1px 1px 0;
  rotate:45deg;
  translate:0 -1px;
}
.article-topics-toggle[aria-expanded="true"]::after{
  rotate:225deg;
  translate:0 1px;
}
@media (max-width:768px){
  .article-meta-timing{
    display:inline-flex;
    align-items:center;
    gap:6px;
    flex-wrap:wrap;
  }
  .article-tags-control{flex-basis:100%;}
  .article-tags-control > .sep{display:none;}
  .article-header--editorial .article-topics-toggle{
    min-height:44px;
    padding-inline:0 12px;
    color:var(--foreground);
  }
  .article-header--editorial #article-topics{margin-top:0;}
  #article-topics .tag{
    max-width:100%;
    overflow-wrap:anywhere;
    white-space:normal;
  }
}

/* Temporary showcase, enabled by params.singlePostShowcase. */
.article-single--showcase .article-header--editorial {
  padding-bottom:24px;
}
.article-single--showcase .article-header--editorial .article-header-text {
  max-width:none;
  padding-top:14px;
}
.article-single--showcase .article-header h1 {
  max-width:none;
  margin:0;
  font-size:clamp(1.875rem, 4vw, 3rem);
  line-height:1.08;
  letter-spacing:-.041em;
  font-weight:700;
  overflow-wrap:anywhere;
}
.article-single--showcase .article-header--editorial .article-meta {
  gap:6px 8px;
  margin:15px 0 0;
  font:400 .9rem/1.5 var(--font);
}
.article-single--showcase .article-content {
  font-size:1.07rem;
}
@media (max-width:640px) {
  .article-single--showcase .article-content {
    font-size:1rem;
  }
}

.toc-sidebar .toc-nav #TableOfContents > ul {
  position:relative;
  border:0;
  padding-left:12px;
}

.toc-sidebar .toc-nav #TableOfContents > ul::after {
  content:"";
  position:absolute;
  left:-1px;
  top:var(--toc-active-top,0px);
  width:1px;
  height:var(--toc-active-height,0px);
  background:var(--toc-accent);
  pointer-events:none;
}

.toc-sidebar[data-folding="true"] a::before,
.toc-sidebar .toc-nav[data-folding="true"] a::before {content:none;}

.article.tag-directory:not(.tag-directory--tags) {
  border:1px solid color-mix(in oklab,var(--border-soft) 50%,transparent);
}
