/* Blog article layout: text column plus a sticky contents list and call button on wide screens. */
.bl-layout { display: grid; grid-template-columns: minmax(0, 760px); justify-content: center; gap: 56px; max-width: calc(1080px + var(--gut) * 2); }
.bl-side { display: none; }
.bl-toc ol { list-style: none; margin: 0; padding: 0; }
.bl-toc li + li { margin-top: 2px; }
.bl-toc a { display: block; padding: 7px 12px; border-left: 2px solid var(--line-2); color: var(--muted); font-size: 14.5px; line-height: 1.4; text-decoration: none; }
.bl-toc a:hover, .bl-toc a.is-on { color: var(--fg); border-left-color: var(--crimson); }
.bl-toc > p, .bl-toc summary { font-size: 12px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--fg); margin: 0 0 10px; }
.bl-toc--m { margin: 0 0 2em; padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface); }
.bl-toc--m summary { margin: 0; cursor: pointer; }
.bl-toc--m[open] summary { margin-bottom: 10px; }
.bl-side__cta { margin-top: 22px; width: 100%; justify-content: center; }
.bl-body h2 { scroll-margin-top: 96px; }
.bl-body img { border-radius: 14px; border: 1px solid var(--line-2); box-shadow: 0 6px 24px rgba(var(--ink), .08); }
.bl-body > p:first-of-type { font-size: 1.06em; }
@media (min-width: 1100px) {
  .bl-layout { grid-template-columns: minmax(0, 760px) 260px; justify-content: space-between; }
  .bl-hero .bl-layout > div { grid-column: 1; }
  .bl-side { display: block; }
  .bl-side__in { position: sticky; top: 110px; }
  .bl-side .bl-toc { max-height: calc(100vh - 220px); overflow: auto; }
  .bl-toc--m { display: none; }
}
/* Articles: no automatic chat greeting over the text; the chat button stays. */
.jv__bubble { display: none !important; }
.bl-body .bl-toc a { color: var(--muted); text-decoration: none; }
.bl-body .bl-toc a:hover { color: var(--fg); }
/* Light articles: the faint grey (dates, author line) at 4.98:1 instead of 3.85:1, to pass WCAG AA. */
html[data-theme="light"] { --dim: #6a6a76; }
/* Right-hand column: who we are, under the contents list. */
.bl-trust { margin-top: 22px; padding: 16px 16px 14px; border: 1px solid var(--line-2); border-radius: 14px; background: var(--surface, rgba(var(--ink),.02)); }
.bl-trust__brand { display: flex; align-items: center; gap: 8px; margin: 0 0 6px; font-weight: 650; font-size: 15px; color: var(--fg); }
.bl-trust__brand img { border-radius: 7px; }
.bl-trust__line { margin: 0 0 10px; font-size: 13.5px; line-height: 1.45; color: var(--muted); }
.bl-trust ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; font-size: 13.5px; color: var(--muted); }
.bl-trust li b { color: var(--fg); font-variant-numeric: tabular-nums; margin-right: 4px; }
.bl-trust__g { margin: 12px 0 0; padding-top: 10px; border-top: 1px solid var(--line-2); font-size: 12.5px; line-height: 1.45; color: var(--muted); }
/* Comments under the article. */
.bl-cmts { margin-top: 3em; padding-top: 2em; border-top: 1px solid var(--line-2); }
.bl-cmts h2 span { color: var(--muted); font-weight: 500; }
.bl-cmts__list { list-style: none; margin: 0 0 1.6em; padding: 0; display: grid; gap: 14px; }
.bl-cmt { padding: 14px 18px; border: 1px solid var(--line-2); border-radius: 14px; }
.bl-cmt p { margin: 0; }
.bl-cmt__who { display: flex; gap: 10px; align-items: baseline; margin-bottom: 6px !important; }
.bl-cmt__who time { font-size: 13px; color: var(--dim); }
.bl-cmts__none { color: var(--muted); }
.bl-cmt-form { display: grid; gap: 14px; max-width: 640px; }
.bl-cmt-form textarea { width: 100%; padding: 12px 16px; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(var(--ink),.03); color: var(--fg); font: inherit; font-size: 16px; resize: vertical; }
.bl-cmt-form textarea:focus { outline: none; border-color: var(--crimson); }
.bl-cmt-form__note { margin: 0; font-size: 13.5px; color: var(--muted); }
.bl-cmt-form__msg { margin: 0; font-size: 14.5px; color: #c62828; }
.bl-cmt-form__msg.is-ok { color: var(--fg); }
.bl-cmt-form .btn { justify-self: start; }
.bl-body .bl-cmts__list { counter-reset: none; }
.bl-body .bl-cmts__list > li { list-style: none; padding-left: 0; margin: 0; }
.bl-body .bl-cmts__list > li::before, .bl-body .bl-cmts__list > li::marker { content: none; display: none; }
.bl-cmts { margin-top: 2em; }
@media (min-width: 1100px) { .bl-side .bl-toc { max-height: max(140px, calc(100vh - 470px)); } }
.bl-body ol.bl-cmts__list { padding-left: 0; list-style: none; }
.bl-body .bl-cmts__list > li.bl-cmt { padding: 14px 18px; }
