/*! Designed & developed by Amit Salunkhe, Satara (India) | +91 90824 37230 */
/* Blog (blog.html and blog-<slug>.html). Scoped to .bl, prefixed bl-. Built by tools/build_blog.py from tools/blog/posts.json. */
.bl-prog { position: fixed; left: 0; right: 0; top: 64px; z-index: 40; height: 2px; pointer-events: none; }
.bl-prog i { display: block; height: 100%; background: var(--brand); transform: scaleX(0); transform-origin: left; }
.bl {
  /* ============ List: hero ============ */
  .bl-hero { padding: 40px 0 56px; background: linear-gradient(180deg, var(--surface), var(--bg)); border-bottom: 1px solid var(--line); }
  .bl-hgrid { margin-top: 22px; display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 24px 48px; align-items: end; }
  .bl-hero h1 { margin: 0; font-size: clamp(32px, 3.4vw, 48px); font-weight: 600; letter-spacing: -.045em; line-height: 1.05; }
  .bl-search { display: flex; align-items: center; gap: 10px; height: 52px; padding: 0 12px 0 16px; border-radius: 14px; border: 1px solid var(--line-2); background: var(--surface); box-shadow: var(--shadow-1); cursor: text; transition: border-color .25s, box-shadow .25s; }
  .bl-search:focus-within { border-color: var(--brand); box-shadow: 0 0 0 4px var(--brand-soft); }
  .bl-search svg { width: 18px; height: 18px; color: var(--muted); flex: none; }
  .bl-search input { flex: 1; min-width: 0; height: 100%; border: 0; outline: 0; background: transparent; font: inherit; font-size: 15.5px; color: var(--ink); }
  .bl-search kbd { font: 12px var(--mono); padding: 3px 7px; border-radius: 6px; border: 1px solid var(--line-2); color: var(--muted); }
  .bl-feat { margin-top: 32px; display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); align-items: center; border-radius: var(--r-xl); overflow: hidden; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-window); color: var(--ink); text-decoration: none; transition: transform .4s var(--ease), box-shadow .4s; }
  .bl-feat:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); }
  .bl-feat-img { position: relative; overflow: hidden; background: var(--sunken); aspect-ratio: 16 / 9; height: 100%; }
  .bl-feat-img img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
  .bl-feat:hover .bl-feat-img img { transform: scale(1.03); }
  .bl-cv { margin: -22px -22px 18px; aspect-ratio: 16 / 9; overflow: hidden; background: var(--sunken); border-bottom: 1px solid var(--line); }
  .bl-cv img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
  .bl-card:hover .bl-cv img { transform: scale(1.04); }
  .bl-cover { margin: 36px auto 0; max-width: 1040px; }
  .bl-cover img { display: block; width: 100%; height: auto; border-radius: var(--r-xl); border: 1px solid var(--line); box-shadow: var(--shadow-window); }
  .bl-feat-c { padding: clamp(24px, 3vw, 40px); display: flex; flex-direction: column; }
  .bl-feat-c small { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--brand-ink); }
  .bl-feat-c h2 { margin: 12px 0 0; font-size: clamp(24px, 2.4vw, 32px); font-weight: 600; letter-spacing: -.03em; line-height: 1.2; }
  .bl-feat-c p { margin: 12px 0 22px; font-size: 16px; line-height: 1.55; color: var(--ink-2); }
  .bl-feat-c .bl-by { margin-top: auto; }

  /* ============ List: grid ============ */
  .bl-list { padding: 48px 0 80px; }
  .bl-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
  .bl-chip { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 14px; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font: inherit; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; transition: background .25s, color .25s, border-color .25s; }
  .bl-chip small { font: 11px var(--mono); color: var(--muted); }
  .bl-chip:hover { border-color: var(--ink-2); }
  .bl-chip.on { background: var(--ink); border-color: var(--ink); color: #fff; }
  .bl-chip.on small { color: rgba(255, 255, 255, .6); }
  .bl-tools { display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
  /* sort menu: the site's custom dropdown (site.js .vsel), sized to sit beside the category chips */
  .bl-tools .vsel-btn { height: 38px; min-width: 152px; padding: 0 10px 0 14px; font-size: 14px; font-weight: 500; color: var(--ink); }
  .bl-tools .vsel-btn .chev { width: 16px; height: 16px; }
  .bl-tools .vsel-list { min-width: 100%; width: max-content; }
  .bl-tools .vsel-list li { min-height: 38px; font-size: 14px; padding: 6px 12px 6px 10px; }
  .bl-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
  .bl-card { display: flex; flex-direction: column; overflow: hidden; padding: 22px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); color: var(--ink); text-decoration: none; transition: transform .35s var(--ease), box-shadow .35s, border-color .35s; }
  .bl-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-pop); border-color: var(--brand-line); }
  .bl-card[hidden] { display: none; }
  .bl-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; font: 12px var(--mono); color: var(--muted); }
  .bl-meta span { padding: 4px 8px; border-radius: 6px; background: var(--brand-soft); color: var(--brand-ink); }
  .bl-meta i { font-style: normal; }
  .bl-card h3 { margin: 16px 0 0; font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.3; }
  .bl-card p { margin: 10px 0 20px; font-size: 15px; line-height: 1.55; color: var(--ink-2); }
  .bl-by { margin-top: auto; display: flex; align-items: center; gap: 10px; font-size: 14px; color: var(--ink-2); }
  .bl-by > b { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; flex: none; background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; }
  .bl-by em { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-style: normal; font-weight: 500; color: var(--brand-ink); white-space: nowrap; }
  .bl-by em svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
  .bl-card:hover .bl-by em svg, .bl-feat:hover .bl-by em svg { transform: translateX(4px); }
  .bl-empty { display: grid; justify-items: center; gap: 6px; padding: 56px 20px; border-radius: var(--r-lg); border: 1px dashed var(--line-2); text-align: center; color: var(--muted); }
  .bl-empty svg { width: 24px; height: 24px; }
  .bl-empty b { font-size: 17px; color: var(--ink); }
  .bl-empty button { border: 0; padding: 0; background: none; font: inherit; color: var(--brand-ink); text-decoration: underline; cursor: pointer; }
  .bl-pages { margin-top: 28px; display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; }
  .bl-pages:empty { display: none; }
  .bl-pages button { min-width: 40px; height: 40px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); font: inherit; font-size: 14px; font-weight: 500; color: var(--ink-2); cursor: pointer; }
  .bl-pages button:hover:not([disabled]) { border-color: var(--ink-2); }
  .bl-pages button.on { background: var(--ink); border-color: var(--ink); color: #fff; }
  .bl-pages button[disabled] { opacity: .4; cursor: default; }
  .bl-pages span { align-self: center; padding: 0 4px; color: var(--muted); }

  /* ============ Post ============ */
  /* header: category, title, summary, author; the cover overlaps the bottom edge */
  .bl-ph { padding: 40px 0 132px; background: radial-gradient(60% 120% at 85% 0%, var(--brand-soft), transparent 70%), linear-gradient(180deg, var(--surface), var(--bg)); border-bottom: 1px solid var(--line); }
  .bl-ph-in { max-width: 880px; margin-top: 36px; }
  .bl-chipline { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; font: 12.5px var(--mono); color: var(--muted); }
  .bl-chipline > span { display: inline-flex; align-items: center; gap: 6px; }
  .bl-chipline svg { width: 14px; height: 14px; }
  .bl-cat { padding: 5px 10px; border-radius: 999px; background: var(--brand-soft); border: 1px solid var(--brand-line); color: var(--brand-ink); text-decoration: none; letter-spacing: .02em; }
  .bl-ph h1 { margin: 18px 0 0; font-size: clamp(32px, 3.9vw, 52px); font-weight: 600; letter-spacing: -.045em; line-height: 1.08; text-wrap: balance; }
  .bl-dek { margin: 20px 0 0; max-width: 680px; font-size: 19px; line-height: 1.55; color: var(--ink-2); text-wrap: pretty; }
  .bl-by.big { margin-top: 28px; }
  .bl-by.big > b { width: 42px; height: 42px; font-size: 13px; background: var(--brand); }
  .bl-by.big strong { display: block; font-size: 15px; font-weight: 600; color: var(--ink); }
  .bl-by.big small { display: block; font-size: 13px; color: var(--muted); }
  .bl-cover { position: relative; z-index: 1; margin: -96px auto 0; max-width: 1120px; }

  /* body: sticky "On this page" + share on the left, the article on the right */
  .bl-layout { display: grid; grid-template-columns: 220px minmax(0, 720px); gap: 72px; justify-content: center; padding-top: 64px; padding-bottom: 72px; }
  .bl-side-in { position: sticky; top: 96px; display: grid; gap: 28px; }
  .bl-side small, .bl-tk small, .bl-author small { display: block; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
  .bl-toc ol { list-style: none; margin: 12px 0 0; padding: 0; border-left: 1px solid var(--line-2); }
  .bl-toc a { display: block; margin-left: -1px; padding: 7px 0 7px 14px; border-left: 2px solid transparent; font-size: 13.5px; line-height: 1.4; color: var(--muted); text-decoration: none; transition: color .2s, border-color .2s; }
  .bl-toc a:hover { color: var(--ink); }
  .bl-toc a.on { color: var(--ink); font-weight: 500; border-left-color: var(--brand); }
  .bl-side-sh div { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
  .bl-side-sh a, .bl-side-sh button { height: 30px; padding: 0 11px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font: inherit; font-size: 12.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; cursor: pointer; }
  .bl-side-sh a:hover, .bl-side-sh button:hover { border-color: var(--ink-2); color: var(--ink); }

  /* article typography */
  .bl-body { min-width: 0; }
  .bl-body > p { margin: 0 0 20px; font-size: 17.5px; line-height: 1.78; color: var(--ink-2); text-wrap: pretty; }
  .bl-body > p.bl-lead { font-size: 21px; line-height: 1.6; color: var(--ink); letter-spacing: -.01em; }
  .bl-body strong { font-weight: 600; color: var(--ink); }
  .bl-body { counter-reset: sec; }
  .bl-body > h2 { counter-increment: sec; margin: 64px 0 18px; padding-top: 28px; border-top: 1px solid var(--line); font-size: clamp(24px, 2.2vw, 30px); font-weight: 600; letter-spacing: -.035em; line-height: 1.18; scroll-margin-top: 96px; }
  .bl-body > h2::before { content: counter(sec, decimal-leading-zero); display: block; margin-bottom: 10px; font: 500 12px var(--mono); letter-spacing: .08em; color: var(--brand-ink); }
  .bl-body > h3 { margin: 32px 0 10px; font-size: 20px; font-weight: 600; letter-spacing: -.02em; }
  .bl-tk { margin-bottom: 36px; padding: 22px 24px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); position: relative; overflow: hidden; }
  .bl-tk::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: var(--brand); }
  .bl-tk small { color: var(--brand-ink); }
  .bl-tk ul, .bl-ul { list-style: none; margin: 14px 0 0; padding: 0; display: grid; gap: 10px; }
  .bl-tk li, .bl-ul li { display: flex; gap: 12px; align-items: flex-start; font-size: 16px; line-height: 1.55; color: var(--ink); }
  .bl-tk svg, .bl-ul svg { flex: none; width: 20px; height: 20px; margin-top: 2px; padding: 4px; border-radius: 50%; background: var(--brand-soft); color: var(--brand-ink); }
  .bl-ul { margin: 4px 0 24px; }
  .bl-ul li { font-size: 17px; color: var(--ink-2); }
  .bl-pts { list-style: none; margin: 8px 0 28px; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .bl-pts li { padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); transition: border-color .25s, transform .3s var(--ease); }
  .bl-pts li:hover { border-color: var(--brand-line); transform: translateY(-2px); }
  .bl-pts.odd li:last-child { grid-column: 1 / -1; }
  .bl-n { display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 7px; border-radius: 7px; background: var(--ink); color: #fff; font: 500 12px var(--mono); }
  .bl-pts b { display: block; margin-top: 14px; font-size: 16.5px; font-weight: 600; letter-spacing: -.015em; color: var(--ink); }
  .bl-pts p { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink-2); }
  .bl-mods { margin: 8px 0 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .bl-mod { position: relative; display: block; padding: 16px 44px 16px 18px; border-radius: 14px; background: var(--surface); border: 1px solid var(--line-2); color: var(--ink); text-decoration: none; transition: border-color .25s, box-shadow .25s; }
  a.bl-mod:hover { border-color: var(--brand-line); box-shadow: var(--shadow-1); }
  .bl-mod b { display: block; font-size: 15.5px; font-weight: 600; letter-spacing: -.01em; }
  .bl-mod p { margin: 4px 0 0; font-size: 14px; line-height: 1.5; color: var(--ink-2); }
  .bl-mod i { position: absolute; right: 16px; top: 17px; color: var(--muted); transition: transform .3s var(--ease), color .2s; }
  .bl-mod i svg { width: 15px; height: 15px; display: block; }
  a.bl-mod:hover i { color: var(--brand-ink); transform: translateX(3px); }
  .bl-q { margin: 36px 0; padding: 4px 0 4px 28px; border-left: 3px solid var(--brand); }
  .bl-q p { margin: 0; font-size: clamp(21px, 2vw, 25px); line-height: 1.42; font-weight: 500; letter-spacing: -.025em; color: var(--ink); text-wrap: balance; }
  .bl-note { margin: 28px 0; display: flex; gap: 14px; align-items: flex-start; padding: 18px 20px; border-radius: var(--r-lg); background: var(--brand-soft); border: 1px solid var(--brand-line); }
  .bl-note svg { flex: none; width: 20px; height: 20px; margin-top: 3px; color: var(--brand-ink); }
  .bl-note p { margin: 0; font-size: 16px; line-height: 1.65; color: var(--ink-2); }
  .bl-faq { margin: 8px 0 28px; }
  .bl-faq .faq-q { padding: 18px 0; font-size: 17px; }
  .bl-faq .faq-a p { margin: 0; font-size: 16px; line-height: 1.7; }
  .bl-cta { position: relative; display: block; margin: 40px 0 0; padding: 24px 72px 24px 26px; border-radius: var(--r-xl); background: radial-gradient(60% 120% at 100% 0%, rgba(21, 154, 110, .35), transparent 70%), var(--dark); color: #fff; text-decoration: none; overflow: hidden; }
  .bl-cta small { display: block; font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #8FB8A6; }
  .bl-cta b { display: block; margin-top: 8px; font-size: 19px; font-weight: 600; letter-spacing: -.02em; line-height: 1.35; }
  .bl-cta i { position: absolute; right: 22px; top: 50%; width: 40px; height: 40px; margin-top: -20px; display: grid; place-items: center; border-radius: 50%; background: var(--brand); transition: transform .3s var(--ease); }
  .bl-cta i svg { width: 16px; height: 16px; }
  .bl-cta:hover i { transform: translateX(4px); }

  /* end of article */
  .bl-end { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
  .bl-src { margin: 0 0 20px; font-size: 14px; color: var(--muted); }
  .bl-src a { color: var(--brand-ink); font-weight: 500; }
  .bl-author { display: flex; align-items: center; gap: 16px; padding: 20px; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--line-2); }
  .bl-author > b { width: 52px; height: 52px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--brand); color: #fff; font-size: 16px; font-weight: 600; }
  .bl-author strong { display: block; margin-top: 2px; font-size: 17px; font-weight: 600; letter-spacing: -.01em; }
  .bl-author span { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-2); }
  .bl-author a { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 500; color: var(--brand-ink); text-decoration: none; white-space: nowrap; }
  .bl-author a svg { width: 14px; height: 14px; }
  .bl-share { margin-top: 24px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 14px; }
  .bl-share > span { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-right: 6px; }
  .bl-share a, .bl-share button { height: 36px; padding: 0 14px; display: inline-flex; align-items: center; border-radius: 999px; border: 1px solid var(--line-2); background: var(--surface); font: inherit; font-size: 13.5px; font-weight: 500; color: var(--ink-2); text-decoration: none; cursor: pointer; }
  .bl-share a:hover, .bl-share button:hover { border-color: var(--ink-2); color: var(--ink); }
  .bl-pns { margin-top: 28px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
  .bl-pn { display: block; padding: 16px 18px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); color: var(--ink); text-decoration: none; transition: border-color .25s; }
  .bl-pn:hover { border-color: var(--brand-line); }
  .bl-pn.nx { text-align: right; }
  .bl-pn small { display: block; font: 11px var(--mono); letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
  .bl-pn b { display: block; margin-top: 4px; font-size: 15px; font-weight: 600; line-height: 1.35; }
  .bl-rel { padding: 56px 0 80px; background: var(--sunken); }
  .bl-rel-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
  .bl-rel-h h2 { margin: 0; font-size: 26px; font-weight: 600; letter-spacing: -.03em; }
  .bl-rel-h a { display: inline-flex; align-items: center; gap: 6px; font-size: 14.5px; font-weight: 500; color: var(--brand-ink); text-decoration: none; }
  .bl-rel-h a svg { width: 14px; height: 14px; }

  @media (max-width: 1100px) { .bl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .bl-layout { gap: 48px; grid-template-columns: 190px minmax(0, 720px); } }
  @media (max-width: 960px) {
    .bl-layout { grid-template-columns: minmax(0, 720px); gap: 0; padding-top: 40px; }
    .bl-side-in { position: static; }
    .bl-side-sh { display: none; }
    .bl-toc { margin-bottom: 32px; padding: 18px 20px; border-radius: var(--r-lg); border: 1px solid var(--line-2); background: var(--surface); }
    .bl-toc ol { border-left: 0; counter-reset: t; }
    .bl-toc a { padding: 6px 0; border-left: 0; margin: 0; }
    .bl-ph { padding-bottom: 96px; }
    .bl-cover { margin-top: -64px; }
  }
  @media (max-width: 860px) {
    .bl-hgrid, .bl-feat { grid-template-columns: minmax(0, 1fr); }
  }
  @media (max-width: 640px) {
    .bl-hero, .bl-ph { padding: 28px 0 36px; }
    .bl-grid, .bl-pns { grid-template-columns: minmax(0, 1fr); }
    .bl-chip { flex: none; }
    .bl-search kbd { display: none; }
    .bl-body > p { font-size: 16.5px; }
    .bl-body > p.bl-lead { font-size: 18.5px; }
    .bl-pts, .bl-mods { grid-template-columns: minmax(0, 1fr); }
    .bl-body > h2 { margin-top: 48px; }
    .bl-author { flex-wrap: wrap; }
    .bl-author a { margin-left: 68px; }
    .bl-cta { padding-right: 26px; padding-bottom: 76px; }
    .bl-cta i { top: auto; bottom: 22px; right: auto; left: 26px; margin: 0; }
    .bl-ph { padding-bottom: 72px; }
    .bl-cover { margin-top: -44px; }
    .bl-pn.nx { text-align: left; }
  }
}

/* ===== Blog list, 13 Nov (evening): compact rows on the left, sidebar with categories and trending posts on the right ===== */
.bl {
  .bl-list { padding: 40px 0 72px; }
  .bl-cols { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: clamp(28px, 4vw, 56px); align-items: start; }
  .bl-bar { margin-bottom: 16px; }
  .bl-lh { margin: 0; font-size: 22px; font-weight: 600; letter-spacing: -.02em; }
  .bl-rows { display: grid; gap: 12px; }
  .bl-card.bl-row { flex-direction: row; align-items: stretch; gap: 18px; padding: 12px; border-radius: 16px; }
  .bl-card.bl-row:hover { transform: translateY(-2px); }
  .bl-rcv { flex: none; width: 216px; aspect-ratio: 16 / 10.5; border-radius: 10px; overflow: hidden; background: var(--sunken); }
  .bl-rcv img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
  .bl-row:hover .bl-rcv img { transform: scale(1.05); }
  .bl-rc { flex: 1; min-width: 0; display: flex; flex-direction: column; padding: 4px 6px 4px 0; }
  .bl-row .bl-meta { font-size: 11.5px; gap: 8px; }
  .bl-row .bl-meta span { padding: 3px 7px; }
  .bl-card.bl-row h3 { margin: 9px 0 0; font-size: 17px; line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .bl-card.bl-row p { margin: 6px 0 10px; font-size: 14px; line-height: 1.5; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .bl-row .bl-by { font-size: 13px; gap: 8px; }
  .bl-row .bl-by > b { width: 24px; height: 24px; font-size: 10px; }

  .bl-aside { position: sticky; top: 96px; }
  .bl-aside-in { display: grid; gap: 14px; }
  .bl-box { padding: 18px; border-radius: 16px; background: var(--surface); border: 1px solid var(--line-2); box-shadow: var(--shadow-1); }
  .bl-bh { margin: 0 0 12px; font: 11.5px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 500; }
  .bl-cats { display: grid; gap: 4px; }
  .bl-cats .bl-chip { width: 100%; height: 38px; justify-content: space-between; border-radius: 10px; border-color: transparent; background: none; padding: 0 10px; text-align: left; }
  .bl-cats .bl-chip span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
  .bl-cats .bl-chip small { flex: none; min-width: 22px; height: 20px; padding: 0 6px; border-radius: 6px; display: grid; place-items: center; background: var(--sunken); }
  .bl-cats .bl-chip:hover { background: var(--sunken); border-color: transparent; }
  .bl-cats .bl-chip.on { background: var(--ink); color: #fff; }
  .bl-cats .bl-chip.on small { background: rgba(255, 255, 255, .16); color: #fff; }
  .bl-trend { list-style: none; margin: 0; padding: 0; display: grid; counter-reset: tr; }
  .bl-trend li { counter-increment: tr; border-top: 1px solid var(--line); }
  .bl-trend li:first-child { border-top: 0; }
  .bl-trend a { display: grid; grid-template-columns: 84px minmax(0, 1fr); gap: 12px; align-items: center; padding: 10px 0; color: var(--ink); }
  .bl-trend li:first-child a { padding-top: 0; }
  .bl-trend li:last-child a { padding-bottom: 0; }
  .bl-trend img, .bl-trend i { width: 84px; height: auto; aspect-ratio: 16 / 10; border-radius: 8px; object-fit: cover; background: var(--sunken); }
  .bl-empty[hidden] { display: none; }
  .bl-trend i { display: grid; place-items: center; font: 600 14px var(--mono); font-style: normal; color: var(--brand-ink); background: var(--brand-soft); }
  .bl-trend b { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 13.5px; font-weight: 600; line-height: 1.35; letter-spacing: -.01em; transition: color .2s; }
  .bl-trend a:hover b { color: var(--brand-ink); }
  .bl-trend small { display: block; margin-top: 4px; font: 11px var(--mono); color: var(--muted); }
  .bl-join { display: grid; gap: 8px; background: linear-gradient(160deg, #0F2A20, #12382A); border-color: #12382A; color: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
  .bl-join:hover { transform: translateY(-2px); box-shadow: var(--shadow-pop); color: #fff; }
  .bl-join small { font: 11px var(--mono); letter-spacing: .08em; text-transform: uppercase; color: #7FD3B2; }
  .bl-join b { font-size: 17px; line-height: 1.3; letter-spacing: -.015em; font-weight: 600; }
  .bl-join span { display: inline-flex; align-items: center; gap: 6px; margin-top: 4px; font-size: 14px; font-weight: 600; color: #7FD3B2; }
  .bl-join span svg { width: 14px; height: 14px; transition: transform .3s var(--ease); }
  .bl-join:hover span svg { transform: translateX(4px); }

  @media (max-width: 1000px) {
    .bl-cols { grid-template-columns: minmax(0, 1fr); }
    .bl-aside { position: static; order: -1; }
    .bl-aside-in { grid-template-columns: 1fr 1fr; }
    .bl-join { grid-column: 1 / -1; }
  }
  @media (max-width: 640px) {
    .bl-aside { order: 0; }
    .bl-aside-in { grid-template-columns: 1fr; }
    .bl-card.bl-row { gap: 12px; padding: 10px; }
    .bl-rcv { width: 112px; aspect-ratio: 1; }
    .bl-card.bl-row p, .bl-row .bl-meta i, .bl-row .bl-by span { display: none; }
    .bl-card.bl-row h3 { font-size: 15.5px; -webkit-line-clamp: 3; }
    .bl-row .bl-by > b { display: none; }
    .bl-row .bl-by em { margin-left: 0; }
  }
}

/* ===== No outline borders on blog cards (client, 13 Nov): a soft shadow keeps them apart ===== */
.bl :is(.bl-card, .bl-card:hover, .bl-feat, .bl-box, .bl-pn, .bl-pn:hover) { border-color: transparent; }
.bl :is(.bl-card, .bl-box) { box-shadow: 0 1px 2px rgba(14, 26, 21, .04), 0 8px 24px -14px rgba(14, 26, 21, .18); }
.bl .bl-trend li { border-top-color: transparent; }

/* Fluid width on big screens (13 Nov): --grow is 0 up to 1440px (tokens.css). Reading columns keep their width. */
@media (min-width: 1441px) { html .bl .bl-cover { max-width: calc(1120px + var(--grow) * .7); } }
