/* Shared blog post layout: fixed contents rail and a quiet editorial reading column. */
.bp-page{padding-top:var(--lance-header-h);color:var(--lance-text);font-family:var(--lance-sans);font-size:16px;line-height:1.6;
	/* Soft accents: the pastel is the surface, a deep shade of the same hue carries the text. */
	--bp-mint:#a9e5c5;--bp-mint-bg:#edf8f1;--bp-mint-ink:#1f5a40;
	--bp-lavender:#d4bff4;--bp-lavender-bg:#f4effb;--bp-lavender-ink:#553a85;
	--bp-aqua:#bee8ef;--bp-aqua-bg:#eff8fa;--bp-aqua-ink:#1f5f6b;
	--bp-butter:#f3e7ae;--bp-butter-bg:#fcf8e8;--bp-butter-ink:#6b5310}
@media(prefers-color-scheme:dark){:root:not([data-theme="light"]) .bp-page{--bp-mint-bg:rgba(169,229,197,.1);--bp-mint-ink:#a9e5c5;--bp-lavender-bg:rgba(212,191,244,.1);--bp-lavender-ink:#d4bff4;--bp-aqua-bg:rgba(190,232,239,.09);--bp-aqua-ink:#bee8ef;--bp-butter-bg:rgba(243,231,174,.09);--bp-butter-ink:#f3e7ae}}
:root[data-theme="dark"] .bp-page{--bp-mint-bg:rgba(169,229,197,.1);--bp-mint-ink:#a9e5c5;--bp-lavender-bg:rgba(212,191,244,.1);--bp-lavender-ink:#d4bff4;--bp-aqua-bg:rgba(190,232,239,.09);--bp-aqua-ink:#bee8ef;--bp-butter-bg:rgba(243,231,174,.09);--bp-butter-ink:#f3e7ae}
.bp-page [hidden]{display:none!important}
.bp-progress{position:fixed;top:var(--lance-header-h);left:0;right:0;height:2px;z-index:101;pointer-events:none}
.bp-progress span{display:block;height:100%;width:0;background:var(--lance-red)}
.admin-bar .bp-progress{top:calc(var(--lance-header-h) + 32px)}
@media(max-width:782px){.admin-bar .bp-progress{top:calc(var(--lance-header-h) + 46px)}}
.bp-page :focus-visible{outline:2px solid var(--lance-red);outline-offset:4px}
.bp-wrap{width:min(1200px,calc(100% - 64px));margin:auto;display:grid;grid-template-columns:228px minmax(0,1fr);gap:32px;padding-bottom:42px}
.bp-sidebar{position:sticky;top:var(--lance-header-h);align-self:start}
.bp-back{display:flex;align-items:center;gap:8px;height:56px;border-bottom:1px solid rgba(var(--lance-line-rgb),.1);color:var(--lance-muted);font-size:13px;text-decoration:none}
.bp-back svg{width:15px;height:15px}
.bp-toc{padding-top:32px}
.bp-toc h2{font:700 18px/1.4 var(--lance-sans);margin:0 0 16px}
.bp-toc ol{list-style:none;margin:0;padding:0}
.bp-toc a{display:flex;gap:16px;padding:10px 8px;border-left:3px solid transparent;border-radius:0 6px 6px 0;text-decoration:none;color:var(--lance-muted);font-size:13px;line-height:1.5;transition:color .2s}
.bp-toc a span{font-size:12px;padding-top:1px;flex:none}
.bp-toc a:hover{color:var(--lance-text)}
.bp-toc a[aria-current]{color:var(--bp-lavender-ink);background:var(--bp-lavender-bg);border-color:var(--bp-lavender);font-weight:600}
.bp-utility{height:56px;border-bottom:1px solid rgba(var(--lance-line-rgb),.1);display:flex;justify-content:space-between;align-items:center;margin-bottom:30px}
.bp-crumbs{display:flex;gap:10px;font-size:12px;color:var(--lance-muted)}
.bp-page a{ text-underline-offset:4px }
.bp-crumbs a{color:inherit;text-decoration:none}
.bp-search-toggle{display:grid;place-items:center;border:0;background:none;color:var(--lance-text);width:36px;height:36px;padding:8px;cursor:pointer}
.bp-search-toggle svg{width:20px;height:20px}
.bp-search{display:flex;gap:12px;padding:0 0 24px}
.bp-search input{min-width:0;flex:1;border:1px solid rgba(var(--lance-line-rgb),.2);border-radius:5px;padding:10px 12px;background:var(--lance-bg);color:var(--lance-text);font:inherit}
.bp-search button{display:flex;align-items:center;gap:8px;border:0;border-radius:5px;background:var(--lance-red-deep);color:white;padding:10px 16px;font:inherit;cursor:pointer}
.bp-search button svg{width:18px;height:18px}
.bp-article-header{position:relative;padding-right:66px}
.bp-tag{display:inline-block;padding:4px 11px;border-radius:30px;background:rgba(var(--lance-line-rgb),.08);color:var(--lance-text);font-size:11px;font-weight:700;text-transform:uppercase;line-height:1.4}
.bp-tag--mint{background:var(--bp-mint);color:#1f5a40}
.bp-tag--lavender{background:var(--bp-lavender);color:#4a2f78}
.bp-tag--aqua{background:var(--bp-aqua);color:#1a5560}
.bp-tag--butter{background:var(--bp-butter);color:#5e4808}
.bp-article h1{font:700 clamp(36px,4.5vw,60px)/1.15 var(--lance-sans);letter-spacing:-.015em;margin:18px 0 12px;color:var(--lance-text)}
.bp-deck{font-size:19px;line-height:1.5;color:var(--lance-muted);margin:0 0 24px}
.bp-author{display:flex;align-items:center;gap:16px;margin-bottom:24px;font-size:13px}
.bp-author img{width:48px;height:48px;object-fit:cover;object-position:50% 12%;background:#e7e8e9;border-radius:50%;flex:none}
.bp-author strong{font-weight:700}
.bp-author p{display:flex;align-items:center;gap:8px;color:var(--lance-muted);font-size:12px;margin:2px 0 0}
.bp-author p svg{width:14px;height:14px}
.bp-share{position:absolute;right:0;top:5px;display:flex;flex-direction:column;align-items:center;gap:10px;font-size:12px}
.bp-share>span{margin-bottom:5px}
.bp-share a,.bp-share button{width:40px;height:40px;border:1px solid rgba(var(--lance-line-rgb),.22);border-radius:50%;display:grid;place-items:center;background:var(--lance-bg);color:var(--lance-text);text-decoration:none;cursor:pointer;padding:10px;transition:color .2s,border-color .2s}
.bp-share a:hover,.bp-share button:hover{color:var(--lance-red-deep);border-color:var(--lance-red-deep)}
.bp-share b{font:700 20px/1 Arial,sans-serif}
.bp-share svg{width:18px;height:18px}
.bp-hero{display:block;width:100%;height:auto;aspect-ratio:2.35;object-fit:cover;object-position:center;border-radius:8px;margin:0 0 24px}
.bp-body p{margin:0 0 14px}
.bp-body section{scroll-margin-top:calc(var(--lance-header-h) + 26px);margin-top:32px}
.bp-body h2{scroll-margin-top:calc(var(--lance-header-h) + 26px);margin-top:32px}
.bp-body h3,.bp-body h4{font-family:var(--lance-sans);font-weight:700;margin:24px 0 10px;line-height:1.35}
.bp-body ul:not(.bp-checklist){list-style:disc;padding-left:24px;margin:14px 0}
.bp-body ol{list-style:decimal;padding-left:24px;margin:14px 0}
.bp-body blockquote{margin:24px 0;padding:8px 20px;border-left:3px solid var(--lance-red);color:var(--lance-muted)}
.bp-body img{max-width:100%;height:auto;border-radius:6px}
.bp-body a{color:var(--lance-red-deep);text-decoration:underline}
.bp-body figure{max-width:100%;margin:20px 0}
.bp-body .bp-tip>p:first-child{margin:0}
.bp-body h2,.bp-related h2{font:700 30px/1.25 var(--lance-sans);letter-spacing:-.015em;margin:0 0 10px}
.bp-body{color:var(--lance-text-soft,var(--lance-text))}
.bp-body h2{color:var(--lance-text);margin-top:32px}
.bp-tip p{margin:2px 0 0}
.bp-table-wrap{overflow:auto;border:1px solid rgba(var(--lance-line-rgb),.14);border-radius:5px;margin-top:18px}
.bp-body table{width:100%;border-collapse:collapse;text-align:left;font-size:13px;white-space:nowrap}
.bp-body td,.bp-body th{padding:11px 17px;border-right:1px solid rgba(var(--lance-line-rgb),.08);border-bottom:1px solid rgba(var(--lance-line-rgb),.1)}
.bp-body thead{background:rgba(var(--lance-line-rgb),.055);color:var(--lance-text)}
.bp-body tbody th{font-weight:400}
.bp-body tr:last-child td,.bp-body tr:last-child th{border-bottom:0}
.bp-body td:last-child,.bp-body th:last-child{border-right:0}
.bp-body .bp-note{font-size:12px;color:var(--lance-muted);margin-top:9px}
.bp-checklist{list-style:none;padding:0;margin:14px 0 0}
.bp-author-footer{border-top:1px solid rgba(var(--lance-line-rgb),.12);border-bottom:1px solid rgba(var(--lance-line-rgb),.12);padding:18px 0;margin:30px 0 14px}
/* Full-width recommendation row, using the same image-first cards as the reference. */
.bp-related{width:min(1200px,calc(100% - 64px));margin:0 auto;padding:34px 0 72px}
.bp-related h2{font:700 13px/1.5 var(--lance-sans);letter-spacing:.08em;text-transform:uppercase;color:var(--lance-muted);margin:0 0 20px}
.bp-related-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.bp-related-card{position:relative;display:flex;flex-direction:column;padding:10px;background:var(--lance-bg);border:1px solid rgba(var(--lance-line-rgb),.09);border-radius:26px;box-shadow:0 3px 4px rgba(0,0,0,.06),0 14px 24px rgba(0,0,0,.025);transition:transform .2s,box-shadow .2s}
.bp-related-card:hover{transform:translateY(-3px);box-shadow:0 6px 12px rgba(0,0,0,.08),0 18px 30px rgba(0,0,0,.04)}
.bp-related-image{display:block;overflow:hidden;border-radius:18px;aspect-ratio:1.9}
.bp-related-image img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s}
.bp-related-card:hover img{transform:scale(1.035)}
.bp-related-content{padding:18px 14px 24px}
.bp-related .bp-tag{font-size:10px;padding:4px 10px;letter-spacing:.03em}
.bp-related h3{font:700 20px/1.3 var(--lance-sans);letter-spacing:-.035em;margin:10px 0 0}
.bp-related h3 a{color:var(--lance-text);text-decoration:none}
.bp-related h3 a::after{content:'';position:absolute;inset:0;border-radius:26px}
.bp-related-card:focus-within{outline:2px solid var(--lance-red);outline-offset:4px}
.bp-toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:var(--lance-text);color:var(--lance-bg);border-radius:8px;padding:12px 20px;z-index:110;font-size:13px;box-shadow:0 4px 20px #0002}
.bp-toast:empty{display:none}
.single-post .lance-header{border-bottom:1px solid rgba(var(--lance-line-rgb),.12)}
@media(min-width:1100px){.single-post .lance-nav__inner{max-width:1200px}.single-post .lance-nav{padding-inline:32px}.single-post .lance-nav__links a,.single-post .lance-menu__trigger{font-size:13px}}
@media(max-width:1050px){.bp-wrap{grid-template-columns:190px minmax(0,1fr);gap:24px}.bp-article h1{font-size:44px}.bp-title-break{display:none}.bp-related h3{font-size:18px}.bp-deck{font-size:17px}}
@media(max-width:760px){.bp-wrap{display:block;width:calc(100% - 36px);padding-bottom:32px}.bp-sidebar{position:static}.bp-back{height:44px}.bp-toc{padding:16px 0 0}.bp-toc h2{font-size:14px;margin-bottom:8px}.bp-toc ol{display:flex;overflow:auto;padding-bottom:12px;gap:6px}.bp-toc li{flex:none}.bp-toc a{border:1px solid rgba(var(--lance-line-rgb),.14);border-radius:4px;font-size:11px;padding:8px 10px;gap:7px}.bp-utility{height:48px;margin-bottom:24px}.bp-article-header{padding-right:0}.bp-article h1{font-size:clamp(32px,8.5vw,46px)}.bp-deck{font-size:16px}.bp-share{position:static;flex-direction:row;justify-content:flex-start;gap:8px;margin:0 0 20px}.bp-share>span{margin:0 5px 0 0}.bp-share a,.bp-share button{height:34px;width:34px;padding:8px}.bp-hero{aspect-ratio:1.65;margin-bottom:20px}.bp-body{font-size:15px}.bp-body h2{font-size:25px}.bp-body section{margin-top:28px}.bp-tip{padding:14px 17px}.bp-related{width:calc(100% - 36px);padding:24px 0 48px}.bp-related-grid{grid-template-columns:1fr;gap:20px}.bp-related h3{font-size:20px}.bp-related-content{padding:16px 14px 22px}.bp-author p{flex-wrap:wrap}}
@media(prefers-reduced-motion:reduce){.bp-page *{transition:none!important}}

/* Page-like spacing for sustained article reading. */
.bp-body{font-size:18px;line-height:1.75;letter-spacing:0;overflow-wrap:break-word}
/* Limit prose line length without narrowing tables, images or other layouts. */
.bp-body :where(p,h2,h3,h4,ul,ol,blockquote),.bp-deck{max-width:740px}
.bp-body .bp-tip{max-width:760px;box-sizing:border-box}
.bp-body p{margin-bottom:22px}
.bp-body section{margin-top:44px}
.bp-body h2{font-size:28px;line-height:1.3;margin:44px 0 18px}
.bp-body h3,.bp-body h4{margin:30px 0 12px;line-height:1.4}
.bp-body h3{font-size:20px}
.bp-body h4{font-size:18px}
.bp-body ul:not(.bp-checklist),.bp-body ol{margin-block:18px 24px}
.bp-body li+li{margin-top:8px}
.bp-body table{font-size:15px;line-height:1.7;white-space:normal}
.bp-body td,.bp-body th{padding:16px 20px;vertical-align:top;overflow-wrap:break-word}
@media(max-width:760px){
 .bp-body{font-size:18px;line-height:1.75}
 .bp-body h2{font-size:25px;margin-top:34px}
 .bp-body h3{font-size:19px}
 .bp-body section{margin-top:34px}
 .bp-body td,.bp-body th{padding:14px 16px}
}
