/* Blog page and articles (Jered 2026-10-24 picked blog version "E white" with version B's article layout).
   Pages are built by scripts/build-blog.py; body[data-po-blog="index"|"article"]. */
body[data-po-blog] { --bv-ink: #0b1b26; --bv-muted: #5b6a76; --bv-line: #e2e8ec; --bv-teal: #1f7a8c; --bv-sky: #e9f6f9; background: #fff; }
body[data-po-blog] main .row { margin: 0; }
body[data-po-blog] main a { text-decoration: none; }
.bv-wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.bv-wrap--mid { max-width: 960px; }
.bv-h1 { margin: 0; }
body[data-po-blog] main .bv-h1--eyebrow { font: 700 .9rem/1.3 'Commissioner', system-ui, sans-serif !important; letter-spacing: .14em !important; text-transform: uppercase; color: var(--bv-teal) !important; margin: 0 0 12px !important; font-style: normal !important; text-shadow: none !important; }
.bv-display { margin: 0 0 12px; font: 500 clamp(2.1rem, 4.4vw, 3.6rem)/1.04 'Anek Gurmukhi', 'Commissioner', system-ui, sans-serif; letter-spacing: -.01em; color: var(--bv-ink); max-width: 16em; }
.bv-lead { margin: 0; max-width: 40em; font-size: 1.15rem; line-height: 1.55; color: var(--bv-muted); }
.bv-stars { display: inline-flex; align-items: center; gap: 6px; margin-left: 8px; color: var(--bv-ink) !important; font-weight: 700; white-space: nowrap; }
.bv-stars i { font-style: normal; color: #f6b93b; letter-spacing: 1px; }
.bv-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; margin: 0 0 8px; font: 600 .82rem/1.3 'Commissioner', system-ui, sans-serif; color: var(--bv-muted); }
.bv-meta span + span::before { content: "·"; margin-right: 14px; color: #aab6bf; }
.bv-meta .bv-tag + span::before { content: none; }
.bv-tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--bv-sky); color: var(--bv-teal); font: 700 .74rem/1.2 'Commissioner', system-ui, sans-serif; letter-spacing: .04em; text-transform: uppercase; }

/* blog page */
body[data-po-blog] .bv-maghead { padding: 48px 0 8px; background: #fff; }
body[data-po-blog] .bv-tilesec { padding: 36px 0 60px; }
body[data-po-blog] main .bv-more__h2 { margin: 0 0 22px !important; font: 600 1.7rem/1.2 'Anek Gurmukhi', 'Commissioner', sans-serif !important; color: var(--bv-ink) !important; text-transform: none !important; font-style: normal !important; }
.bv-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.bv-tiles--top { grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; margin-top: 30px; }
.bv-tiles--top .bv-tile--big { grid-row: 1 / span 2; min-height: 520px; }
.bv-tile { position: relative; border-radius: 18px; overflow: hidden; min-height: 280px; background: #1d3a4c; isolation: isolate; }
.bv-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s; }
.bv-tile:hover img { transform: scale(1.04); }
.bv-tile::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(11,27,38,0) 30%, rgba(11,27,38,.88) 100%); }
.bv-tile__text { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 22px; }
.bv-tile .bv-meta { color: rgba(255,255,255,.82); }
.bv-tile .bv-meta span + span::before { color: rgba(255,255,255,.5); }
.bv-tile .bv-tag { background: rgba(255,255,255,.18); color: #fff; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
body[data-po-blog] main .bv-tile__title { margin: 4px 0 0 !important; font: 600 1.35rem/1.2 'Anek Gurmukhi', 'Commissioner', sans-serif !important; text-transform: none !important; font-style: normal !important; }
body[data-po-blog] main .bv-tile--big .bv-tile__title { font-size: clamp(1.8rem, 3vw, 2.6rem) !important; }
.bv-tile__title a { color: #fff !important; }
.bv-tile__title a::before { content: ""; position: absolute; inset: 0; }
.bv-band { padding: 36px 0; }
.bv-band__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.bv-band__inner p { margin: 0; color: var(--bv-muted); }
.bv-band .bv-band__title { font: 600 1.6rem/1.2 'Anek Gurmukhi', 'Commissioner', sans-serif; color: var(--bv-ink); margin: 0 0 4px; }

/* article */
body[data-po-blog] .bv-arthead { padding: 40px 0 0; }
.bv-crumbs { margin: 0 0 12px; font-weight: 600; color: var(--bv-muted); font-size: .92rem; }
.bv-crumbs a { color: var(--bv-teal) !important; }
body[data-po-blog] main .bv-arttitle { margin: 0 0 14px !important; font: 500 clamp(2.1rem, 4.6vw, 3.8rem)/1.06 'Anek Gurmukhi', 'Commissioner', sans-serif !important; color: var(--bv-ink) !important; text-transform: none !important; font-style: normal !important; letter-spacing: -.01em !important; }
.bv-artimg { display: block; width: 100%; max-height: 520px; object-fit: cover; border-radius: 20px; margin: 22px 0 0; }
body[data-po-blog] .bv-twocol { padding: 40px 0 56px; }
.bv-twocol__grid { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 56px; align-items: start; }
.bv-twocol__grid .bv-prose { max-width: 720px; }
.bv-side { position: sticky; top: 140px; }
.bv-prose { font: 400 1.1rem/1.75 'Commissioner', system-ui, sans-serif; color: #24323d; }
body[data-po-blog] main .bv-prose h2, body[data-po-blog] main .bv-prose h3 { margin: 1.8em 0 .5em !important; font: 600 1.6rem/1.2 'Anek Gurmukhi', 'Commissioner', system-ui, sans-serif !important; color: var(--bv-ink) !important; text-transform: none !important; font-style: normal !important; letter-spacing: 0 !important; scroll-margin-top: 140px; }
body[data-po-blog] main .bv-prose h3 { font-size: 1.3rem !important; }
body[data-po-blog] main .bv-prose h4 { margin: 1.4em 0 .4em; font: 700 1.1rem/1.3 'Commissioner', sans-serif; color: var(--bv-ink); text-transform: none; }
.bv-prose p { margin: 0 0 1.1em; }
.bv-prose a { color: var(--bv-teal) !important; text-decoration: underline !important; text-underline-offset: 3px; }
.bv-prose ul, .bv-prose ol { margin: 0 0 1.2em; padding-left: 1.3em; }
.bv-prose li { margin: 0 0 .4em; }
.bv-prose img { max-width: 100%; height: auto; border-radius: 12px; margin: .6em 0; }
.bv-prose strong, .bv-prose b { color: var(--bv-ink); }
.bv-book { background: var(--bv-sky); border: 1px solid #cfe7ee; border-radius: 16px; padding: 22px; display: flex; flex-direction: column; gap: 12px; margin: 0 0 20px; }
.bv-book p { margin: 0; color: #33444f; line-height: 1.5; font-size: 1rem; }
.bv-book .bv-book__title { font: 600 1.3rem/1.2 'Anek Gurmukhi', 'Commissioner', sans-serif; color: var(--bv-ink); }
.bv-book .po-btn { width: 100%; font-size: .98rem; padding: 0 14px; white-space: nowrap; }
.bv-book__call { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-weight: 700; color: var(--bv-ink) !important; }
.bv-book__call svg { width: 18px; height: 18px; }
.bv-toc { border: 1px solid var(--bv-line); border-radius: 16px; padding: 18px 20px; margin: 0 0 20px; background: #fff; }
.bv-toc__title { margin: 0 0 8px; font: 700 .78rem/1.2 'Commissioner', sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--bv-muted); }
.bv-toc ol { margin: 0; padding-left: 1.2em; }
.bv-toc li { margin: 6px 0; line-height: 1.35; }
.bv-toc a { color: var(--bv-ink); font-weight: 600; font-size: .95rem; }
.bv-toc a:hover { color: var(--bv-teal); }

/* landing.css paints every plain content row white (body[data-po-page="content"] main .row:not(...)); these keep their colour. */
body[data-po-blog][data-po-page] main .row.bv-band.bv-band.bv-band { background: var(--bv-sky) !important; }
body[data-po-blog="article"][data-po-page] main .row.bv-tilesec.bv-tilesec.bv-tilesec { background: #f6f9fb !important; padding-top: 44px; }

@media (max-width: 1023px) {
  .bv-tiles { grid-template-columns: 1fr 1fr; }
  .bv-twocol__grid { grid-template-columns: 1fr; gap: 28px; }
  .bv-side { position: static; }
}
@media (max-width: 47.99em) {
  .bv-wrap { padding: 0 16px; }
  .bv-display { font-size: 2.3rem; }
  .bv-lead { font-size: 1.02rem; }
  .bv-prose { font-size: 1.05rem; }
  .bv-tiles { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: 82%; overflow-x: auto; scroll-snap-type: x mandatory; margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; }
  .bv-tiles > * { scroll-snap-align: start; }
  .bv-tiles--top { grid-template-rows: none; }
  .bv-tiles--top .bv-tile--big { grid-row: auto; min-height: 340px; }
  .bv-tile { min-height: 340px; }
  .bv-tilesec .bv-tiles { grid-auto-flow: row; grid-auto-columns: auto; grid-template-columns: 1fr; overflow: visible; margin: 0; padding: 0; }
  .bv-tilesec .bv-tile { min-height: 240px; }
  /* Mobile audit 2026-11-02: the top guides start 16px in like the text, with space under the reviews line; the stars line starts at the left edge; date and read time wrap without a stray dot */
  .bv-tiles { scroll-padding-inline: 16px; }
  .bv-tiles--top { margin-top: 20px; }
  .bv-lead .bv-stars { display: flex; margin: 8px 0 0; }
  .bv-tile .bv-meta span + span::before { content: none; }
  .bv-tile .bv-meta { gap: 4px 12px; }
  .bv-band__inner .po-btn { width: 100%; }
}

/* blog topic pages and other pages in the article look (Jered 2026-10-24 23:01) */
body[data-po-blog] main .bv-display--tag { margin: 0 0 28px !important; font: 500 clamp(2.1rem, 4.4vw, 3.6rem)/1.04 'Anek Gurmukhi', 'Commissioner', system-ui, sans-serif !important; color: var(--bv-ink) !important; text-transform: capitalize !important; font-style: normal !important; letter-spacing: -.01em !important; }
body[data-po-blog] main h2.bv-h1--eyebrow { margin: 0 0 8px !important; }
.bv-tiles--one { grid-template-columns: 1fr; }
.bv-tiles--one .bv-tile--big { min-height: 440px; }
.bv-kicker { margin: 0 0 14px; font: 700 .82rem/1.3 'Commissioner', system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; color: var(--bv-teal); }
.bv-prose .po-btn { text-decoration: none !important; color: #fff !important; margin: .2em 12px .2em 0; }
.bv-prose .bv-textlink { font-weight: 700; }
body[data-po-blog] main .bv-prose h1 { margin: 1.4em 0 .5em !important; font: 600 2rem/1.15 'Anek Gurmukhi', 'Commissioner', system-ui, sans-serif !important; color: var(--bv-ink) !important; text-transform: none !important; font-style: normal !important; letter-spacing: 0 !important; scroll-margin-top: 140px; }
.bv-prose > #cmplz-multi-document > article:first-child h1 { margin-top: 0 !important; }
.bv-prose article[id] { scroll-margin-top: 140px; }
.bv-prose table { width: 100%; border-collapse: collapse; font-size: .95rem; margin: 0 0 1.2em; }
.bv-prose th, .bv-prose td { border-bottom: 1px solid var(--bv-line); padding: 8px 10px 8px 0; text-align: left; vertical-align: top; }
.bv-prose input[type="text"], .bv-prose input[type="email"], .bv-prose input[type="search"], .bv-prose textarea { width: 100%; max-width: 420px; padding: 10px 12px; border: 1px solid #cfd8de; border-radius: 10px; font: inherit; font-size: 1rem; background: #fff; }
.bv-prose input[type="button"], .bv-prose input[type="submit"] { padding: 10px 22px; border: 0; border-radius: 10px; background: #e98f33; color: #fff; font-weight: 700; cursor: pointer; }
.bv-prose label { display: block; margin: 0 0 10px; font-weight: 600; }
.bv-prose ul { list-style: disc; }
.bv-prose ol { list-style: decimal; }
/* The theme sets list-style: none on every li; let prose list items show their bullet or number (Jered 2026-10-24 23:56). */
body[data-po-blog] .bv-prose ul > li, body[data-po-blog] .bv-prose ol > li { list-style: inherit; }
body[data-po-blog] .bv-arthead { display: flow-root; }
.bv-prose #cmplz-multi-document { padding-top: 0 !important; margin-top: 0 !important; }
.bv-prose .cmplz-alert:not(.cmplz-error):not(.cmplz-success) { display: none; }
