/* Blog post pages (workshop/site-2/blog/*.html, built by tools/import-blog.py): a header band, an "In this post" list that follows the reader, sections with real breaks, and fact lists, panels and scores. */

html[data-bp="b"] .bp { color: var(--navy, #21374b); padding-bottom: 96px; }
html[data-bp="b"] { --bpb-blue: #2d6a9e; --bpb-blue-ink: #245a88; --bpb-accent: #6fb3e0; --bpb-pale: #eef4fa; --bpb-line: #dde4ec; --bpb-line-soft: #e8edf2; --bpb-plate: #f5f7fa; }
html[data-bp="b"] body:has(.bp) { background: #ffffff; }
html[data-bp="b"] .bp-head { background: var(--bpb-blue); border-top: 4px solid var(--bpb-accent); color: #fff; }
html[data-bp="b"] .bp-head-in { max-width: 1120px; margin: 0 auto; padding: 56px 24px 48px; }
html[data-bp="b"] .bp-crumb { margin: 0 0 20px; font-size: 0.92rem; }
html[data-bp="b"] .bp-crumb a { color: #d6e4f4; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
html[data-bp="b"] .bp-head h1 { font-family: 'Zodiak', Georgia, serif; font-weight: 400; font-size: clamp(2.3rem, 4.4vw, 3.5rem); line-height: 1.07; letter-spacing: -0.02em; margin: 0; max-width: 860px; text-wrap: balance; color: #ffffff; }
html[data-bp="b"] .bp-dek { margin: 20px 0 0; max-width: 700px; font-size: 1.2rem; line-height: 1.55; color: #e3edf8; text-wrap: pretty; }
html[data-bp="b"] .bp-meta { display: flex; flex-wrap: wrap; gap: 4px 10px; margin: 24px 0 0; font-size: 0.92rem; color: #d6e4f4; }

html[data-bp="b"] .bp-layout { max-width: 1120px; margin: 0 auto; padding: 56px 24px 0; display: grid; grid-template-columns: 220px minmax(0, 700px); gap: 72px; }
html[data-bp="b"] .bp-layout:has(> .bp-rail[aria-hidden]) { grid-template-columns: minmax(0, 700px); }
html[data-bp="b"] .bp-rail[aria-hidden] { display: none; }
html[data-bp="b"] .bp-rail nav { position: sticky; top: 96px; display: flex; flex-direction: column; max-height: calc(100vh - 128px); overflow-y: auto; }
html[data-bp="b"] .bp-rail nav p { margin: 0 0 10px; font-size: 0.86rem; font-weight: 600; }
html[data-bp="b"] .bp-rail nav a { display: block; padding: 7px 0 7px 14px; border-left: 2px solid var(--bpb-line); font-size: 0.88rem; line-height: 1.35; color: var(--navy-soft, #51637a); text-decoration: none; transition: color 160ms cubic-bezier(0.23, 1, 0.32, 1), border-color 160ms cubic-bezier(0.23, 1, 0.32, 1); }
html[data-bp="b"] .bp-rail nav a:hover { color: var(--navy, #21374b); }
html[data-bp="b"] .bp-rail nav a[aria-current="true"] { color: var(--bpb-blue-ink); border-left-color: var(--bpb-blue); font-weight: 500; }

/* the reading column */
html[data-bp="b"] .bp-body { font-size: 1.1rem; line-height: 1.72; }
html[data-bp="b"] .bp-body > * { margin: 0 0 1.15em; }
html[data-bp="b"] .bp-body > :first-child { margin-top: 0; }
html[data-bp="b"] .bp-body > p:first-child > em:only-child { display: block; font-size: 1.14rem; color: #3c4f63; }
html[data-bp="b"] .bp-body h2 { font-family: 'Zodiak', Georgia, serif; font-weight: 400; font-size: 2rem; line-height: 1.18; letter-spacing: -0.015em; margin: 2.4em 0 0.7em; padding-top: 1.2em; border-top: 1px solid var(--bpb-line); scroll-margin-top: 96px; text-wrap: balance; }
html[data-bp="b"] .bp-body > h2:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
html[data-bp="b"] .bp-body h2 + h2 { margin-top: 0.4em; padding-top: 0; border-top: 0; font-size: 1.5rem; }
html[data-bp="b"] .bp-body h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.35; margin: 1.9em 0 0.5em; }
html[data-bp="b"] .bp-body h4, html[data-bp="b"] .bp-body .bp-step { font-size: 1.08rem; font-weight: 600; line-height: 1.4; margin: 1.8em 0 0.4em; }
html[data-bp="b"] .bp-body hr { display: none; }
html[data-bp="b"] .bp-body a { color: var(--bpb-blue-ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; overflow-wrap: anywhere; }
html[data-bp="b"] .bp-body strong { font-weight: 600; }
html[data-bp="b"] .bp-body ul, html[data-bp="b"] .bp-body ol { padding-left: 1.25em; }
html[data-bp="b"] .bp-body li { margin: 0 0 0.6em; padding-left: 0.2em; }
html[data-bp="b"] .bp-body li::marker { color: var(--bpb-blue); }
html[data-bp="b"] .bp-body ol > li::marker { font-family: 'Zodiak', Georgia, serif; }
html[data-bp="b"] .bp-body li > p { margin: 0 0 0.4em; }
html[data-bp="b"] .bp-body code { font-family: inherit; font-size: 0.94em; background: var(--bpb-pale); padding: 1px 6px; border-radius: 5px; overflow-wrap: anywhere; }
html[data-bp="b"] .bp-body blockquote { margin: 1.6em 0; padding: 20px 24px; background: var(--bpb-pale); border-radius: 14px; }
html[data-bp="b"] .bp-body blockquote > :last-child { margin-bottom: 0; }

/* images sit on a plate */
html[data-bp="b"] .bp-body figure { margin: 2em 0; padding: 14px; background: var(--bpb-plate); border: 1px solid var(--bpb-line); border-radius: 16px; }
html[data-bp="b"] .bp-body figure a { display: block; text-decoration: none; }
html[data-bp="b"] .bp-body img { display: block; max-width: 100%; height: auto; margin: 0 auto; border-radius: 8px; }
html[data-bp="b"] .bp-body figcaption { margin: 12px 4px 2px; font-size: 0.9rem; line-height: 1.5; color: var(--navy-soft, #51637a); }
html[data-bp="b"] .bp-body .bp-video { position: relative; width: min(100%, 360px); margin: 0 auto; border-radius: 10px; overflow: hidden; background: #16202e; }
html[data-bp="b"] .bp-body .bp-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* the source's components */
.bp-body { overflow-wrap: break-word; } /* long pasted links in quoted queries wrap on a phone */
html[data-bp="b"] .bp-body .bp-panel { margin: 1.8em 0; padding: 22px 26px; background: var(--bpb-pale); border-radius: 14px; font-size: 1.02rem; }
html[data-bp="b"] .bp-body .bp-panel > :last-child { margin-bottom: 0; }
html[data-bp="b"] .bp-body .bp-panel p { margin: 0 0 0.8em; }
html[data-bp="b"] .bp-body .bp-panel .bp-label { font-weight: 600; font-size: 0.95rem; margin-bottom: 0.6em; color: var(--bpb-blue-ink); }
html[data-bp="b"] .bp-body .bp-panel dt { font-weight: 600; margin-top: 0.8em; color: var(--bpb-blue-ink); }
html[data-bp="b"] .bp-body .bp-panel dd { margin: 0.1em 0 0; }
html[data-bp="b"] .bp-body .bp-facts { display: grid; grid-template-columns: 180px 1fr; margin: 0 0 2em; background: #ffffff; border: 1px solid var(--bpb-line); border-radius: 14px; overflow: hidden; font-size: 0.98rem; line-height: 1.5; }
html[data-bp="b"] .bp-body .bp-facts dt, html[data-bp="b"] .bp-body .bp-facts dd { margin: 0; padding: 12px 18px; border-top: 1px solid var(--bpb-line-soft); }
html[data-bp="b"] .bp-body .bp-facts dt { font-weight: 600; color: var(--bpb-blue-ink); }
html[data-bp="b"] .bp-body .bp-facts dt:first-of-type, html[data-bp="b"] .bp-body .bp-facts dd:first-of-type { border-top: 0; }
html[data-bp="b"] .bp-body .bp-verdict { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; margin: 1.2em 0 1.6em; padding: 18px 24px; background: #ffffff; border: 1px solid var(--bpb-line); border-radius: 14px; }
html[data-bp="b"] .bp-body .bp-verdict p { margin: 0; }
html[data-bp="b"] .bp-body .bp-v-label { font-weight: 600; }
html[data-bp="b"] .bp-body .bp-v-score { font-family: 'Zodiak', Georgia, serif; font-size: 2rem; line-height: 1; color: var(--bpb-blue-ink); }
html[data-bp="b"] .bp-body .bp-note { font-size: 0.94rem; color: var(--navy-soft, #51637a); }
html[data-bp="b"] .bp-body table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.5; display: block; overflow-x: auto; background: #ffffff; border: 1px solid var(--bpb-line); border-radius: 14px; }
html[data-bp="b"] .bp-body th, html[data-bp="b"] .bp-body td { text-align: left; vertical-align: top; padding: 12px 16px; border-top: 1px solid var(--bpb-line-soft); }
html[data-bp="b"] .bp-body thead th { border-top: 0; font-weight: 600; background: var(--bpb-pale); }
html[data-bp="b"] .bp-body tbody th { font-weight: 600; min-width: 140px; }
html[data-bp="b"] .bp-body table.bp-ioc td:nth-child(2) { overflow-wrap: anywhere; min-width: 160px; }

/* FAQ, more posts, foot */
html[data-bp="b"] .bp-faq { margin-top: 64px; padding: 8px 28px 12px; background: #ffffff; border: 1px solid var(--bpb-line); border-radius: 18px; }
html[data-bp="b"] .bp-faq h2 { font-family: 'Zodiak', Georgia, serif; font-weight: 400; font-size: 1.75rem; margin: 24px 0 8px; }
html[data-bp="b"] .bp-faq details { border-top: 1px solid var(--bpb-line); }
html[data-bp="b"] .bp-faq summary { cursor: pointer; list-style: none; padding: 18px 36px 18px 0; font-weight: 500; font-size: 1.05rem; line-height: 1.45; position: relative; }
html[data-bp="b"] .bp-faq summary::-webkit-details-marker { display: none; }
html[data-bp="b"] .bp-faq summary::after { content: "+"; position: absolute; right: 4px; top: 16px; font-size: 1.3rem; color: var(--navy-soft, #51637a); }
html[data-bp="b"] .bp-faq details[open] summary::after { content: "\2212"; }
html[data-bp="b"] .bp-faq details p { margin: 0 0 18px; font-size: 1.02rem; line-height: 1.65; }
html[data-bp="b"] .bp-more { margin-top: 72px; }
html[data-bp="b"] .bp-more h2 { font-family: 'Zodiak', Georgia, serif; font-weight: 400; font-size: 1.75rem; margin: 0 0 20px; }
html[data-bp="b"] .bp-more-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
html[data-bp="b"] .bp-card { display: flex; flex-direction: column; gap: 10px; padding: 18px 20px 22px; background: #ffffff; border: 1px solid var(--bpb-line); border-radius: 14px; color: var(--navy, #21374b); text-decoration: none; transition: transform 200ms cubic-bezier(0.23, 1, 0.32, 1), box-shadow 200ms cubic-bezier(0.23, 1, 0.32, 1); }
html[data-bp="b"] .bp-card-meta { font-size: 0.84rem; color: var(--bpb-blue-ink); }
html[data-bp="b"] .bp-card-title { font-family: 'Zodiak', Georgia, serif; font-size: 1.2rem; line-height: 1.25; }
@media (hover: hover) and (pointer: fine) { html[data-bp="b"] .bp-card:hover { transform: translateY(-2px); box-shadow: 0 18px 34px -26px rgba(33, 55, 75, 0.5); } }
html[data-bp="b"] .bp-foot { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--bpb-line); }
html[data-bp="b"] .bp-foot > a:first-child { color: var(--navy, #21374b); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
@media (prefers-reduced-motion: reduce) { html[data-bp="b"] .bp-card, html[data-bp="b"] .bp-rail nav a { transition: none; } }

@media (max-width: 1080px) {
  html[data-bp="b"] .bp-layout { grid-template-columns: minmax(0, 1fr); max-width: 748px; gap: 0; }
  html[data-bp="b"] .bp-rail { display: none; }
}
@media (max-width: 700px) {
  html[data-bp="b"] .bp-head-in { padding: 36px 16px 32px; }
  html[data-bp="b"] .bp-dek { font-size: 1.1rem; }
  html[data-bp="b"] .bp-layout { padding: 36px 16px 0; }
  html[data-bp="b"] .bp-body { font-size: 1.05rem; }
  html[data-bp="b"] .bp-body h2 { font-size: 1.6rem; }
  html[data-bp="b"] .bp-body figure { padding: 8px; border-radius: 12px; }
  html[data-bp="b"] .bp-body .bp-panel { padding: 18px 18px; }
  html[data-bp="b"] .bp-body .bp-facts { grid-template-columns: 1fr; }
  html[data-bp="b"] .bp-body .bp-facts dd { border-top: 0; padding-top: 0; }
  html[data-bp="b"] .bp-faq { padding: 4px 18px 8px; }
  html[data-bp="b"] .bp-more-grid { grid-template-columns: 1fr; }
}
