/* Editorial-only sizing leaves homepage typography and demonstrations untouched. */
.bp-blog .bp-page-hero, .bp-article .bp-page-hero { padding-block: 64px 44px; }
.bp-blog .bp-page-hero h1 { font-size: 48px; max-width: 22ch; line-height: 1.14; }
.bp-editorial-filters { display: flex; flex-wrap: wrap; align-items: end; gap: 16px; padding-block: 0 24px; border-bottom: 1px solid var(--bp-line); }
.bp-editorial-filters label { display: grid; gap: 8px; font-size: 13px; font-weight: 600; min-width: 170px; }
.bp-editorial-filters .bp-guide-search { flex: 1; min-width: 240px; }
.bp-editorial-filters :is(input,select) { width: 100%; min-height: 46px; padding: 10px 12px; font: inherit; font-weight: 400; background: #fff; color: #20252d; border: 1px solid #c8ced7; border-radius: 4px; }
.bp-editorial-filters .bp-button { min-height: 46px; }
.bp-feed-count { font-size: 13px; color: var(--bp-muted); margin-block: 22px 0; }
.bp-blog .bp-article-list { max-width: none; }
.bp-blog .bp-feed-entry { display: grid; grid-template-columns: minmax(0,340px) minmax(0,1fr); gap: 36px; padding-block: 32px; align-items: center; }
.bp-blog .bp-feed-thumbnail { display: block; aspect-ratio: 1.44; overflow: hidden; border-radius: 6px; background: #eef0f4; border: 1px solid var(--bp-line); }
.bp-feed-thumbnail img { width: 100%; height: 100%; object-fit: contain; transition: transform 450ms ease; }
.bp-feed-entry:hover .bp-feed-thumbnail img { transform: scale(1.025); }
.bp-blog .bp-feed-copy { display: block; font-size: 16px; color: #202630; }
.bp-blog .bp-feed-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; color: var(--bp-muted); font-size: 12px; margin: 0 0 14px; }
.bp-feed-meta span:first-child { color: var(--bp-product-accent); font-weight: 600; }
.bp-blog .bp-article-list h2 { font-size: 27px; line-height: 1.3; margin: 0 0 14px; max-width: 42ch; }
.bp-blog .bp-feed-copy > p:not(.bp-feed-meta) { line-height: 1.7; margin-bottom: 18px; }
.bp-article-breadcrumb { display: flex; gap: 12px; flex-wrap: wrap; color: var(--bp-muted); font-size: 13px; }
.bp-article .bp-page-hero h1 { max-width: 28ch; font-size: 44px; margin-block: 24px 20px; }
.bp-article .bp-page-hero .bp-lead { max-width: 66ch; font-size: 19px; line-height: 1.65; }
.bp-article .bp-article-meta { flex-wrap: wrap; gap: 8px 24px; margin: 24px 0 0; line-height: 1.6; }
.bp-article .bp-review-label { font-size: 12px; margin: 16px 0 0; color: #72510b; }
.bp-article .bp-reading-layout { grid-template-columns: 235px minmax(0,780px); gap: 64px; padding-block: 40px 96px; }
.bp-article .bp-reading-rail { top: calc(var(--bp-reader-offset,150px) + 16px); }
.bp-reading-toc { font-size: 13px; }
.bp-reading-toc > summary { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.bp-reading-toc > summary::-webkit-details-marker { display: none; }
.bp-reading-toc > summary::after { content: '+'; font-size: 20px; font-weight: 400; }
.bp-reading-toc[open] > summary::after { content: '-'; }
.bp-toc-current { display: none; }
.bp-reading-toc nav { display: block; max-height: calc(100dvh - var(--bp-reader-offset,150px) - 100px); overflow-y: auto; overscroll-behavior: contain; scrollbar-width: thin; padding-right: 4px; }
.bp-toc-row { display: grid; grid-template-columns: minmax(0,1fr) 32px; align-items: center; }
.bp-toc-row:not(:has(button)) { grid-template-columns: minmax(0,1fr); }
.bp-reading-toc a { display: block; padding: 10px; font-size: 13px; line-height: 1.45; border-radius: 0 4px 4px 0; text-decoration: none; }
.bp-toc-toggle { background: transparent; border: none; padding: 0; width: 32px; height: 36px; display: grid; place-items: center; color: #616c7d; cursor: pointer; font-size: 24px; }
.bp-toc-toggle span { transition: transform 180ms ease; }
.bp-toc-toggle[aria-expanded=true] span { transform: rotate(90deg); }
.bp-toc-children { padding-left: 14px; }
.bp-toc-children[hidden] { display: none; }
.bp-toc-children a { font-size: 12px; color: var(--bp-muted); padding-block: 8px; }
.bp-article :is(a,button,summary,input,select):focus-visible, .bp-blog :is(a,button,input,select):focus-visible { outline: 2px solid var(--bp-product-accent,#243bb5); outline-offset: 3px; }
.bp-reading-body { color: #2a303a; }
.bp-reading-body :is(p,li) { font-size: 17px; line-height: 1.8; }
.bp-reading-body > p { max-width: none; }
.bp-reading-body :is(h2,h3) { scroll-margin-top: calc(var(--bp-reader-offset,150px) + 24px); color: #171c24; }
.bp-reading-body h2 { font-size: 29px; line-height: 1.3; margin: 56px 0 20px; max-width: 36ch; }
.bp-reading-body h3 { font-size: 21px; line-height: 1.4; margin: 32px 0 14px; }
.bp-reading-body :is(ul,ol) { padding-left: 24px; margin: 20px 0 28px; }
.bp-reading-body li + li { margin-top: 12px; }
.bp-reading-body :is(li,td,figcaption) a { color: var(--bp-product-accent); text-decoration: underline; text-underline-offset: 3px; }
.bp-reading-body .bp-table-wrap { overflow-x: auto; margin: 28px 0 32px; border: 1px solid #d8dde5; border-radius: 4px; }
.bp-reading-body table { width: 100%; border-collapse: collapse; min-width: 500px; font-size: 14px; line-height: 1.65; }
.bp-reading-body :is(th,td) { padding: 14px 16px; text-align: left; vertical-align: top; border-bottom: 1px solid #e3e7ed; }
.bp-reading-body th { font-weight: 600; background: #f3f5f8; color: #202630; }
.bp-reading-body tr:last-child td { border: 0; }
.bp-reading-body .bp-guide-note { border-left: 3px solid var(--bp-product-accent); background: #f3f5f8; padding: 18px 22px; margin: 28px 0; }
.bp-guide-note p { margin: 0; }
.bp-guide-note p + p { margin-top: 10px; }
.bp-reading-body figure { margin: 36px 0 40px; }
.bp-reading-body figure img { border: 1px solid #d8dde5; border-radius: 4px; width: 100%; }
.bp-reading-body figure.bp-figure-controls { max-width: 410px; }
.bp-reading-body figcaption { font-size: 13px; line-height: 1.65; margin-top: 14px; }
.bp-reading-body footer h2 { font-size: 24px; }
.bp-related-guides { display: grid; margin: 20px 0 28px; }
.bp-related-guides a { padding: 14px 0; border-bottom: 1px solid var(--bp-line); display: flex; gap: 16px; justify-content: space-between; font-size: 16px; line-height: 1.5; }
.bp-related-guides a span { flex: 0 0 auto; }
@media (max-width:1100px) and (min-width:981px) { .bp-article .bp-reading-layout { gap: 32px; grid-template-columns: 210px minmax(0,1fr); } }
@media (max-width:980px) {
 .bp-article .bp-reading-layout { grid-template-columns: minmax(0,1fr); gap: 0; }
 .bp-article .bp-reading-rail { position: fixed; z-index: 32; right: 16px; top: calc(var(--bp-nav-offset,100px) + 8px); max-width: calc(100vw - 32px); }
 .bp-article .bp-reading-rail::before { content: ''; position: fixed; z-index: -1; top: var(--bp-nav-offset,100px); left: 0; right: 0; height: 64px; background: #fff; border-bottom: 1px solid #e3e7ed; }
 .bp-article[data-reading-active=false] .bp-reading-rail { visibility: hidden; pointer-events: none; }
 .bp-reading-toc { width: 280px; max-width: calc(100vw - 32px); border: 1px solid #cbd1dc; border-radius: 6px; background: #fff; box-shadow: 0 6px 24px #141e3214; padding: 10px; }
 .bp-reading-toc:not([open]) { width: auto; max-width: 220px; }
 .bp-reading-toc > summary { padding: 0; font-size: 12px; gap: 12px; min-height: 24px; }
 .bp-reading-toc[open] > summary { padding-bottom: 10px; }
 .bp-reading-toc nav { max-height: min(60dvh,480px); }
 .bp-toc-current { display: block; max-width: 120px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 11px; font-weight: 400; color: var(--bp-muted); }
 .bp-reading-toc:not([open]) > summary > span:first-child { font-size: 0; }
 .bp-reading-toc:not([open]) > summary > span:first-child::after { content: 'Contents'; font-size: 12px; }
 .bp-blog .bp-feed-entry { grid-template-columns: 260px minmax(0,1fr); gap: 24px; }
}
@media (max-width:640px) {
 .bp-blog .bp-page-hero, .bp-article .bp-page-hero { padding-block: 48px 32px; }
 .bp-blog .bp-page-hero h1, .bp-article .bp-page-hero h1 { font-size: 32px; line-height: 1.2; }
 .bp-article .bp-page-hero .bp-lead { font-size: 17px; }
 .bp-blog .bp-feed-entry { grid-template-columns: minmax(0,1fr); gap: 20px; }
 .bp-blog .bp-article-list h2 { font-size: 25px; }
 .bp-editorial-filters { gap: 16px 12px; }
 .bp-editorial-filters label { min-width: 0; flex: 1 1 42%; }
 .bp-editorial-filters .bp-guide-search { flex-basis: 100%; min-width: 0; }
 .bp-article .bp-reading-layout { padding-block: 32px 64px; }
 .bp-reading-body :is(p,li) { font-size: 16px; }
 .bp-reading-body h2 { font-size: 25px; margin-top: 42px; }
 .bp-reading-body h3 { font-size: 20px; }
 .bp-reading-body .bp-guide-note { padding: 16px; }
}
@media (prefers-reduced-motion:reduce) { .bp-feed-thumbnail img, .bp-toc-toggle span { transition: none; } }
