/* CruitUp blog: index, article page and the article building blocks (documented in the admin's Guide for writers).
   Everything inside an article lives under .post-body; writers' own <style> is scoped there too. */
.bl {
  --ink: #0d0e12; --muted: #5b6070; --line: #e4e6eb; --soft: #f4f5f8; --white: #fff;
  --pink: #fc2670; --green: #4fda97; --green-ink: #11784a; --blue: #2567fe; --yellow: #fec42a; --violet: #8a5df6;
  --font: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;
  background: var(--white); color: var(--ink); font: 16px/1.7 var(--font); letter-spacing: .01em; -webkit-font-smoothing: antialiased;
  min-height: 100dvh; display: flex; flex-direction: column; overflow-x: clip;
}
.bl a { color: inherit; }
.bl :focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; border-radius: 4px; }
.bl-wrap { width: 100%; max-width: calc(1180px + 2 * max(16px, env(safe-area-inset-left, 0px))); margin: 0 auto;
  padding-left: max(16px, env(safe-area-inset-left, 0px)); padding-right: max(16px, env(safe-area-inset-right, 0px)); }

/* Header band */
.bl-head { background: var(--ink); color: var(--white); position: relative; overflow: hidden; padding-top: env(safe-area-inset-top, 0px); }
.bl-head::before { content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .07;
  background: url(icon-grid.svg) right -60px top -40px / 760px auto repeat;
  -webkit-mask-image: linear-gradient(90deg, transparent 35%, #000 85%); mask-image: linear-gradient(90deg, transparent 35%, #000 85%); }
.bl-bar { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 20px; }
.bl-logo { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; font-weight: 700; font-size: 21px; letter-spacing: -.01em; line-height: 1; }
.bl-logo svg { width: 24px; height: auto; }
.bl-logo svg path { fill: currentColor; }
.bl-nav { display: flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; }
.bl-nav a { text-decoration: none; color: #c9ccd6; padding: 8px 12px; border-radius: 999px; transition: color .2s, background .2s; white-space: nowrap; }
.bl-nav a:hover { color: var(--white); }
.bl-nav a[aria-current="page"] { color: var(--white); }
.bl-nav .bl-cta { background: var(--white); color: var(--ink); font-weight: 600; }
.bl-nav .bl-cta:hover { background: #e9ebf0; color: var(--ink); }
.bl-nav .bl-lang { border: 1px solid #2b2d36; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; padding: 6px 10px; }
@media (max-width: 720px) { .bl-nav .bl-hide-sm { display: none; } }
@media (max-width: 420px) { .bl-nav .bl-cta { display: none; } }

.bl-hero { position: relative; padding-block: 56px 56px; }
.bl-hero h1 { margin: 0; font-weight: 500; font-size: clamp(36px, 6vw, 64px); line-height: 1.06; letter-spacing: .01em; text-wrap: balance; }
.bl-hero p { margin: 16px 0 0; color: #c9ccd6; font-size: 18px; max-width: 58ch; }
.bl-eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green); text-decoration: none; margin-bottom: 18px; }
.bl-eyebrow svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.bl-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 16px; margin-top: 22px; font-size: 13.5px; color: #8b90a0; }
.bl-meta a { color: #c9ccd6; }

/* Index */
.bl-main { flex: 1; }
.bl-list { padding-block: 56px 96px; }
.bl-feature { display: grid; gap: 28px; align-items: center; text-decoration: none; margin-bottom: 64px; }
@media (min-width: 880px) { .bl-feature { grid-template-columns: 1.25fr 1fr; gap: 48px; } }
.bl-feature h2 { margin: 0; font-weight: 600; font-size: clamp(26px, 3.4vw, 38px); line-height: 1.15; letter-spacing: -.01em; text-wrap: balance; }
.bl-feature p { margin: 14px 0 0; color: var(--muted); font-size: 17px; }
.bl-grid { display: grid; gap: 40px 28px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); }
.bl-card { display: flex; flex-direction: column; text-decoration: none; }
.bl-card h3 { margin: 16px 0 0; font-size: 20px; font-weight: 600; line-height: 1.3; letter-spacing: -.005em; text-wrap: balance; }
.bl-card p { margin: 8px 0 0; color: var(--muted); font-size: 15px; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.bl-img { position: relative; aspect-ratio: 16 / 9; border-radius: 16px; overflow: hidden; background: var(--soft); }
.bl-img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
.bl-card:hover .bl-img img, .bl-feature:hover .bl-img img { transform: scale(1.03); }
.bl-img-empty { position: absolute; inset: 0; background: radial-gradient(120% 90% at 85% 10%, rgba(252, 38, 112, .35), transparent 55%), radial-gradient(90% 80% at 10% 100%, rgba(37, 103, 254, .35), transparent 60%), var(--ink); }
.bl-img-empty::after { content: ""; position: absolute; inset: 0; opacity: .12; background: url(icon-grid.svg) center / 420px auto repeat; }
.bl-small { font-size: 13px; color: var(--muted); margin-top: 14px; display: flex; gap: 6px 12px; flex-wrap: wrap; }
.bl-card .bl-small { margin-top: 14px; }
.bl-card:hover h3, .bl-feature:hover h2 { text-decoration: underline; text-decoration-thickness: 1.5px; text-underline-offset: 4px; }
.bl-empty { padding: 72px 0 96px; color: var(--muted); font-size: 18px; max-width: 52ch; }

/* Article page */
.bl-article-head .bl-hero { padding-bottom: 120px; max-width: 880px; }
.bl-cover { position: relative; margin-top: -88px; }
.bl-cover .bl-img { border-radius: 20px; box-shadow: 0 30px 60px rgba(13, 14, 18, .18); max-width: 1040px; margin: 0 auto; }
.bl-article { padding-block: 56px 32px; }
.bl-article.no-cover { padding-top: 64px; }
.bl-after { max-width: 720px; margin: 0 auto; padding-bottom: 32px; }
.bl-author + .bl-share { border-top: 0; padding-top: 0; }
.bl-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 28px; border-top: 1px solid var(--line); font-size: 14px; color: var(--muted); }
.bl-share a { text-decoration: none; color: var(--ink); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 13.5px; }
.bl-share a:hover { border-color: #b8bcc7; }
.bl-promo { margin: 48px auto 0; max-width: 1040px; border-radius: 22px; background: var(--ink); color: var(--white); padding: clamp(28px, 5vw, 48px); position: relative; overflow: hidden; display: grid; gap: 20px; }
@media (min-width: 760px) { .bl-promo { grid-template-columns: 1fr auto; align-items: center; } }
.bl-promo::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(252, 38, 112, .45), transparent 65%); pointer-events: none; }
.bl-promo h2 { margin: 0; font-weight: 500; font-size: clamp(24px, 3vw, 32px); line-height: 1.2; position: relative; }
.bl-promo p { margin: 8px 0 0; color: #c9ccd6; position: relative; }
.bl-btn { position: relative; display: inline-flex; align-items: center; gap: 8px; text-decoration: none; background: var(--pink); color: var(--white); font-weight: 600; font-size: 15px; border-radius: 999px; padding: 13px 22px; white-space: nowrap; transition: transform .2s; justify-self: start; }
.bl-btn:hover { transform: translateY(-1px); }
.bl-more { padding-block: 72px 96px; }
.bl-more h2 { margin: 0 0 28px; font-size: 24px; font-weight: 600; }
.bl-preview { background: var(--yellow); color: var(--ink); text-align: center; font-size: 13.5px; font-weight: 600; padding: 8px 16px; }

/* Breadcrumbs, category, author line */
.bl-crumbs ol { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; font-size: 13.5px; color: #8b90a0; }
.bl-crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.bl-crumbs li + li::before { content: "/"; margin: 0 10px; color: #4a4d5a; }
.bl-crumbs a { color: #c9ccd6; text-decoration: none; }
.bl-crumbs a:hover { color: var(--white); text-decoration: underline; text-underline-offset: 3px; }
.bl-crumbs [aria-current] { color: #8b90a0; max-width: 32ch; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
p.bl-eyebrow { margin: 0 0 14px; }
.bl-cat { display: inline-block; font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--ink); background: var(--soft); border-radius: 999px; padding: 2px 10px; }
.bl-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.bl-filter button { font: inherit; font-size: 14px; font-weight: 600; color: var(--ink); background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; cursor: pointer; }
.bl-filter button:hover { border-color: #b8bcc7; }
.bl-filter button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: var(--white); }
.bl-card[hidden] { display: none; }

/* Article with a table of contents: text column + sticky contents on the right from 1100 px */
.bl-col { min-width: 0; }
.post-body h2, .post-body h3 { scroll-margin-top: 24px; }
.bl-toc { display: none; }
.bl-toc-m { max-width: 720px; margin: 0 auto 32px; border: 1px solid var(--line); border-radius: 14px; padding: 4px 18px; }
.bl-toc-m summary { cursor: pointer; font-weight: 700; padding: 10px 0; list-style-position: inside; }
.bl-toc-m[open] summary { border-bottom: 1px solid var(--line); margin-bottom: 8px; }
.bl-toc ol, .bl-toc-m ol { list-style: none; margin: 0; padding: 0 0 8px; display: grid; gap: 2px; counter-reset: toc; }
.bl-toc li.sub, .bl-toc-m li.sub { padding-left: 14px; }
.bl-toc a, .bl-toc-m a { display: block; text-decoration: none; color: var(--muted); font-size: 14.5px; line-height: 1.4; padding: 6px 10px 6px 12px; border-left: 2px solid transparent; border-radius: 0 8px 8px 0; }
.bl-toc li.sub a, .bl-toc-m li.sub a { font-size: 13.5px; }
.bl-toc a:hover, .bl-toc-m a:hover { color: var(--ink); background: var(--soft); }
.bl-toc a[aria-current="true"], .bl-toc-m a[aria-current="true"] { color: var(--ink); font-weight: 700; border-left-color: var(--pink); background: var(--soft); }
.bl-toc-h { margin: 0 0 10px; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
@media (min-width: 1100px) {
  .bl-article.has-toc { display: grid; grid-template-columns: minmax(0, 1fr) 250px; gap: 56px; align-items: start; }
  .bl-article.has-toc .bl-toc { display: block; position: sticky; top: 24px; max-height: calc(100vh - 48px); overflow: auto; padding-top: 4px; }
  .bl-article.has-toc .bl-toc-m { display: none; }
  .bl-article.has-toc .post-body nav.toc { display: none; }
  .bl-article.has-toc .post-body > .wide { max-width: 100%; }
  .bl-article.has-toc .post-body > *:not(.wide):not(.full) { margin-left: 0; }
  .bl-article.has-toc .bl-after { margin-left: 0; }
}

/* A writer's own <nav class="toc"> in the article */
.post-body nav.toc { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; font-size: 15.5px; }
.post-body nav.toc ol, .post-body nav.toc ul { margin: 0; }
.post-body nav.toc a { color: var(--ink); text-decoration: none; }
.post-body nav.toc a:hover { text-decoration: underline; }

/* Next article teaser and the author */
.bl-next { display: grid; grid-template-columns: 1fr; gap: 16px; align-items: center; text-decoration: none; background: #e9effe; border-radius: 16px; padding: 16px; margin-bottom: 28px; }
@media (min-width: 560px) { .bl-next { grid-template-columns: 180px 1fr; } }
.bl-next .bl-img { border-radius: 12px; }
.bl-next small { display: block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #1b4fcc; }
.bl-next b { display: block; margin-top: 4px; font-size: 19px; line-height: 1.3; font-weight: 600; color: var(--ink); }
.bl-next-p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 15px; color: var(--muted); }
.bl-next-go { display: inline-block; margin-top: 8px; font-size: 14.5px; font-weight: 700; color: #1b4fcc; }
.bl-next:hover b { text-decoration: underline; text-underline-offset: 3px; }
.bl-author { display: flex; gap: 14px; align-items: flex-start; border-top: 1px solid var(--line); padding: 24px 0; }
.bl-author-av { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.bl-author p { margin: 0; font-size: 15px; color: var(--muted); }
.bl-author .bl-author-n { color: var(--ink); font-weight: 700; font-size: 16px; margin-bottom: 2px; }
.bl-author a { color: inherit; }

/* Footer */
.bl-foot { background: var(--ink); color: #a3a8b5; font-size: 14px; padding-block: 48px 28px; margin-top: auto; }
.bl-foot-top { display: grid; gap: 32px; }
@media (min-width: 760px) { .bl-foot-top { grid-template-columns: 1.4fr repeat(3, 1fr); } }
.bl-foot h4 { margin: 0 0 12px; color: var(--white); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.bl-foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.bl-foot a { text-decoration: none; }
.bl-foot a:hover { color: var(--white); }
.bl-foot .bl-logo { color: var(--white); }
.bl-foot-strip { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; margin-top: 40px; padding-top: 20px; border-top: 1px solid #23252d; font-size: 13px; }

/* ---------------------------------------------------------------------------------------------
   Article building blocks (.post-body). Children are a 720 px reading column; .wide and .full break out.
   --------------------------------------------------------------------------------------------- */
.post-body { contain: paint; font-size: 18px; line-height: 1.75; color: #22252d; overflow-wrap: break-word; }
.post-body > * { max-width: 720px; margin-left: auto; margin-right: auto; }
.post-body > .wide { max-width: 1040px; }
.post-body > .full { max-width: none; }
.post-body h2 { font-size: clamp(26px, 3.2vw, 32px); line-height: 1.2; font-weight: 600; letter-spacing: -.01em; color: var(--ink); margin-top: 56px; margin-bottom: 16px; text-wrap: balance; scroll-margin-top: 24px; }
.post-body h3 { font-size: 22px; line-height: 1.3; font-weight: 600; color: var(--ink); margin-top: 36px; margin-bottom: 10px; }
.post-body h4 { font-size: 18px; font-weight: 700; color: var(--ink); margin-top: 28px; margin-bottom: 6px; }
.post-body p, .post-body ul, .post-body ol, .post-body dl { margin-top: 0; margin-bottom: 20px; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li { margin-bottom: 8px; }
.post-body li::marker { color: var(--pink); font-weight: 700; }
.post-body a { color: var(--blue); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.post-body strong, .post-body b { color: var(--ink); font-weight: 700; }
.post-body mark { background: #fff1b8; color: inherit; padding: 0 .15em; border-radius: 3px; }
.post-body hr { border: 0; height: 1px; background: var(--line); margin-top: 48px; margin-bottom: 48px; }
.post-body img, .post-body video, .post-body svg { max-width: 100%; height: auto; }
.post-body img, .post-body video { display: block; border-radius: 14px; }
.post-body figure { margin-top: 36px; margin-bottom: 36px; }
.post-body figcaption { margin-top: 10px; font-size: 14px; color: var(--muted); text-align: center; }
.post-body blockquote { margin-top: 32px; margin-bottom: 32px; padding-left: 22px; border-left: 3px solid var(--pink); font-size: 20px; color: var(--ink); }
.post-body code { font-size: .88em; background: var(--soft); border-radius: 6px; padding: .1em .35em; }
.post-body pre { background: var(--ink); color: #e6e8ee; border-radius: 14px; padding: 18px 20px; overflow-x: auto; font-size: 14px; line-height: 1.6; }
.post-body pre code { background: none; padding: 0; }
.post-body table { display: block; overflow-x: auto; border-collapse: collapse; font-size: 15.5px; margin-top: 28px; margin-bottom: 28px; }
.post-body th, .post-body td { text-align: left; padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.post-body th { font-size: 12.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); font-weight: 700; white-space: nowrap; }
.post-body details { border: 1px solid var(--line); border-radius: 14px; padding: 14px 18px; margin-bottom: 12px; }
.post-body summary { cursor: pointer; font-weight: 600; color: var(--ink); }

.post-body .lead { font-size: 22px; line-height: 1.6; color: var(--ink); }
.post-body .muted { color: var(--muted); }
.post-body .tag { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--pink); }

.post-body .callout { background: var(--soft); border-radius: 16px; padding: 20px 22px; margin-top: 28px; margin-bottom: 28px; font-size: 16.5px; }
.post-body .callout > :last-child { margin-bottom: 0; }
.post-body .callout.green { background: #e8f9f0; } .post-body .callout.yellow { background: #fff6d6; }
.post-body .callout.pink { background: #ffe9f0; } .post-body .callout.blue { background: #e9effe; }
.post-body .callout.dark { background: var(--ink); color: #d6d9e0; } .post-body .callout.dark strong { color: var(--white); }
.post-body .callout a, .post-body .compare a, .post-body .stat a { color: #1b4fcc; } .post-body .callout.dark a { color: #9dbaff; }

.post-body .quote { font-size: clamp(24px, 3vw, 32px); line-height: 1.3; font-weight: 500; color: var(--ink); border: 0; padding: 0; margin-top: 48px; margin-bottom: 48px; text-wrap: balance; }
.post-body .quote::before { content: "“"; display: block; color: var(--pink); font-size: 64px; line-height: .6; margin-bottom: 8px; }
.post-body .quote cite { display: block; margin-top: 14px; font-size: 15px; font-style: normal; color: var(--muted); font-weight: 500; }

.post-body .stats { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr)); margin-top: 32px; margin-bottom: 32px; }
.post-body .stat { background: var(--soft); border-radius: 16px; padding: 18px 20px; }
.post-body .stat b { display: block; font-size: clamp(32px, 4vw, 44px); line-height: 1.05; font-weight: 700; letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.post-body .stat span { display: block; margin-top: 6px; font-size: 14.5px; color: var(--muted); line-height: 1.45; }
.post-body .stat.dark { background: var(--ink); } .post-body .stat.dark b { color: var(--white); } .post-body .stat.dark span { color: #a3a8b5; }

.post-body .bars { display: grid; gap: 14px; margin-top: 32px; margin-bottom: 32px; }
.post-body .bar { display: grid; grid-template-columns: minmax(90px, 160px) 1fr auto; align-items: center; gap: 14px; font-size: 15px; }
.post-body .bar > span:first-child { color: var(--ink); font-weight: 600; }
.post-body .bar .track { height: 12px; border-radius: 999px; background: var(--soft); overflow: hidden; }
.post-body .bar .track i { display: block; height: 100%; width: calc(var(--v, 0) * 1%); border-radius: inherit; background: var(--c, var(--ink)); transition: width 1.1s cubic-bezier(.2, .7, .2, 1); }
.post-body .bar b { font-variant-numeric: tabular-nums; min-width: 3.5ch; text-align: right; }

.post-body .columns { display: grid; gap: 24px; }
@media (min-width: 720px) { .post-body .columns { grid-template-columns: 1fr 1fr; } .post-body .columns.three { grid-template-columns: repeat(3, 1fr); } }
.post-body .card { border: 1px solid var(--line); border-radius: 16px; padding: 20px 22px; }
.post-body .card > :last-child { margin-bottom: 0; }
.post-body .compare { display: grid; gap: 14px; margin-top: 32px; margin-bottom: 32px; }
@media (min-width: 640px) { .post-body .compare { grid-template-columns: 1fr 1fr; } }
.post-body .compare > * { border-radius: 16px; padding: 20px 22px; background: var(--soft); }
.post-body .compare > * > :last-child { margin-bottom: 0; }
.post-body .compare .bad { background: #ffe9f0; } .post-body .compare .good { background: #e8f9f0; }
.post-body .compare h4, .post-body .compare > * > p:first-child strong { display: block; margin-top: 0; color: var(--ink); }

.post-body ol.steps { list-style: none; padding: 0; counter-reset: st; display: grid; gap: 18px; margin-top: 28px; margin-bottom: 28px; }
.post-body ol.steps > li { counter-increment: st; position: relative; padding-left: 56px; margin: 0; }
.post-body ol.steps > li::before { content: counter(st); position: absolute; left: 0; top: 0; width: 38px; height: 38px; border-radius: 50%; background: var(--ink); color: var(--white); display: grid; place-items: center; font-weight: 700; font-size: 15px; }
.post-body ol.steps > li > strong:first-child { display: block; }

.post-body .band { background: var(--ink); color: #d6d9e0; padding: clamp(36px, 6vw, 64px) max(16px, calc((100% - 720px) / 2)); margin-top: 48px; margin-bottom: 48px; }
.post-body .band h2, .post-body .band h3, .post-body .band strong { color: var(--white); }
.post-body .band > :first-child { margin-top: 0; } .post-body .band > :last-child { margin-bottom: 0; }

.post-body .chart { margin-top: 32px; margin-bottom: 32px; }
.post-body .chart svg { display: block; width: 100%; height: auto; overflow: visible; }
.post-body .chart text { font-family: var(--font); font-size: 12px; fill: var(--muted); }

/* Colours for SVG and text: fill-*, stroke-*, text-* */
.post-body .fill-ink { fill: var(--ink); } .post-body .fill-pink { fill: var(--pink); } .post-body .fill-green { fill: var(--green); }
.post-body .fill-blue { fill: var(--blue); } .post-body .fill-yellow { fill: var(--yellow); } .post-body .fill-violet { fill: var(--violet); }
.post-body .fill-soft { fill: var(--soft); } .post-body .fill-line { fill: var(--line); }
.post-body .stroke-ink { stroke: var(--ink); } .post-body .stroke-pink { stroke: var(--pink); } .post-body .stroke-green { stroke: var(--green); }
.post-body .stroke-blue { stroke: var(--blue); } .post-body .stroke-yellow { stroke: var(--yellow); } .post-body .stroke-violet { stroke: var(--violet); }
.post-body .stroke-line { stroke: var(--line); }
.post-body .text-pink { color: var(--pink); } .post-body .text-green { color: var(--green-ink); } .post-body .text-blue { color: var(--blue); } .post-body .text-muted { color: var(--muted); }

/* Interactive blocks (sandboxed iframes) */
.post-body .bl-embed { margin-top: 36px; margin-bottom: 36px; }
.post-body .bl-embed iframe { display: block; width: 100%; border: 0; border-radius: 16px; background: var(--white); transition: height .2s; }

/* Motion: only with JavaScript on (html.bl-js) and without reduced motion. Revealed by adding .in */
@media (prefers-reduced-motion: no-preference) {
  .bl-js .post-body .reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
  .bl-js .post-body .reveal.in { opacity: 1; transform: none; }
  .bl-js .post-body .stagger > * { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s cubic-bezier(.2, .7, .2, 1); }
  .bl-js .post-body .stagger.in > * { opacity: 1; transform: none; }
  .bl-js .post-body .stagger.in > :nth-child(2) { transition-delay: .08s; } .bl-js .post-body .stagger.in > :nth-child(3) { transition-delay: .16s; }
  .bl-js .post-body .stagger.in > :nth-child(4) { transition-delay: .24s; } .bl-js .post-body .stagger.in > :nth-child(5) { transition-delay: .32s; }
  .bl-js .post-body .stagger.in > :nth-child(n+6) { transition-delay: .4s; }
  .bl-js .post-body .bars:not(.in) .track i { width: 0; }
  .bl-js .post-body .draw { stroke-dasharray: 1; stroke-dashoffset: 1; transition: stroke-dashoffset 1.6s cubic-bezier(.4, 0, .2, 1); }
  .bl-js .post-body .in .draw, .bl-js .post-body .draw.in { stroke-dashoffset: 0; }
  .bl-js .post-body .grow { transform: scaleY(0); transform-box: fill-box; transform-origin: bottom; transition: transform 1s cubic-bezier(.2, .7, .2, 1); }
  .bl-js .post-body .in .grow { transform: none; }
  .bl-js .post-body .in .grow:nth-of-type(2) { transition-delay: .08s; } .bl-js .post-body .in .grow:nth-of-type(3) { transition-delay: .16s; }
  .bl-js .post-body .in .grow:nth-of-type(4) { transition-delay: .24s; } .bl-js .post-body .in .grow:nth-of-type(n+5) { transition-delay: .32s; }
}
@media (prefers-reduced-motion: reduce) { .bl *, .bl *::before, .bl *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; } }
