/* Blog index (home.php) + article (single.php). Shared .b5 base lives in b5.css. */

.b5 .rp{position:fixed;left:0;top:0;height:3px;width:0;background:#111;z-index:60}
/* ---- index ---- */
.b5 .bo-head{padding-top:150px;display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,.9fr);gap:56px;align-items:end}
.b5 .bo-head h1{font-size:clamp(44px,5.4vw,80px);font-weight:500;letter-spacing:-.045em;line-height:.98;margin-top:18px}
.b5 .bo-head h1 span{color:#8a8d90}
.b5 .bo-head h1.one{font-size:clamp(38px,4.3vw,62px);line-height:1.04;text-wrap:balance} /* translated one-sentence H1 (nd_one_class, 11.11) */
.b5 .bo-head p.lead{font-size:19px;line-height:1.5;color:var(--body);max-width:480px}
.b5 .bo-cta{margin-top:24px}
.b5 .topics{display:flex;flex-wrap:wrap;gap:8px;margin-top:24px}
.b5 .topics button{appearance:none;border:1px solid var(--line);background:#fff;border-radius:99px;padding:9px 16px;font:600 14px Raleway,sans-serif;color:#111;cursor:pointer}
.b5 .topics button[aria-pressed=true]{background:#111;color:#fff;border-color:#111}
@media (max-width:640px){
	.b5 .topics{flex-wrap:nowrap;overflow-x:auto;scroll-snap-type:x proximity;-webkit-overflow-scrolling:touch;padding-bottom:2px;margin-left:-16px;margin-right:-16px;padding-left:16px;padding-right:16px;mask-image:linear-gradient(to right,#000 90%,transparent);scrollbar-width:none}
	.b5 .topics::-webkit-scrollbar{display:none}
	.b5 .topics button{flex:none;scroll-snap-align:start;white-space:nowrap}
}
.b5 .feat2{display:grid;grid-template-columns:1.25fr 1fr;margin-top:56px;background:#111;color:var(--paper);border-radius:30px;overflow:hidden;min-height:460px}
.b5 .feat2 figure{position:relative;margin:0}
.b5 .feat2 figure img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.b5 .feat2 .tx{padding:48px 48px 44px;display:flex;flex-direction:column}
.b5 .chipc{display:inline-flex;align-self:flex-start;font-size:13px;font-weight:600;background:#fff;color:#111;border-radius:99px;padding:6px 12px}
.b5 .feat2 .meta,.b5 .pcard .meta{font-size:13.5px;font-weight:600;color:var(--mute-d);margin-top:18px}
.b5 .feat2 h2{font-size:clamp(28px,2.8vw,40px);font-weight:500;letter-spacing:-.03em;line-height:1.08;margin-top:10px;text-wrap:balance}
.b5 .feat2 p{font-size:16.5px;line-height:1.55;color:var(--mute-d);margin-top:16px}
.b5 .feat2 .go,.b5 .pcard .go{margin-top:auto;padding-top:26px;font-size:15px;font-weight:600}
.b5 .feat2 .go span,.b5 .pcard .go span{border-bottom:1px solid currentColor;padding-bottom:3px}
.b5 .pgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px;margin-top:20px}
.b5 .pcard{display:flex;flex-direction:column;background:#fff;border:1px solid var(--line);border-radius:30px;overflow:hidden;transition:border-color .2s}
.b5 .pcard:hover{border-color:#111}
.b5 .pcard figure{position:relative;margin:0;aspect-ratio:16/10;background:#ddd;overflow:hidden}
.b5 .pcard figure img{position:absolute;inset:0;width:100%;height:100%;max-width:none;object-fit:cover;transition:transform .4s ease}
.b5 .pcard:hover figure img{transform:scale(1.03)}
.b5 .pcard figure .chipc{position:absolute;left:14px;top:14px}
.b5 .pcard .tx{padding:22px 24px 26px;display:flex;flex-direction:column;flex:1}
.b5 .pcard .meta{color:var(--mut);margin-top:0}
.b5 .pcard h3{font-size:21px;font-weight:600;letter-spacing:-.015em;line-height:1.25;margin-top:8px;text-wrap:balance}
.b5 .pcard p{font-size:15px;line-height:1.55;color:var(--body);margin-top:10px}
.b5 .pcard[hidden],.b5 .feat2[hidden]{display:none}
.b5 .blog-contact{margin-top:72px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:30px;padding:32px 36px}
.b5 .blog-contact b{display:block;font-size:21px;font-weight:600;letter-spacing:-.01em}
.b5 .blog-contact span{display:block;font-size:15px;color:var(--body);margin-top:4px}
.b5 .blog-contact .pill{flex:none}

/* ---- article ---- */
.b5 .ah{padding-top:140px;max-width:920px}
.b5 .ah h1{font-size:clamp(38px,4.6vw,66px);font-weight:500;letter-spacing:-.04em;line-height:1.03;margin-top:18px;text-wrap:balance}
/* Breadcrumb links (single.php): larger invisible tap area, same pattern as the shared .tl/.go fix. */
.b5 .crumb a{position:relative}
.b5 .crumb a::after{content:"";position:absolute;left:-6px;right:-6px;top:-14px;bottom:-14px}
.b5 .byline{display:flex;align-items:center;gap:14px;margin-top:26px;flex-wrap:wrap}
.b5 .byline .av{width:44px;height:44px;border-radius:50%;background:#111;color:#fff;display:grid;place-items:center;font-weight:600;font-size:15px}
.b5 .byline .av.ph{background:none;object-fit:cover}
.b5 .byline b{display:block;font-size:15px;font-weight:600}
.b5 .byline small{display:block;font-size:13.5px;color:var(--mut)}
.b5 .byline .sep{width:1px;height:30px;background:var(--line)}
.b5 .apic{margin:40px 24px 0;border-radius:30px;overflow:hidden;position:relative;aspect-ratio:1392/560;background:#ddd}
.b5 .apic img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.b5 .apic figcaption{position:absolute;left:16px;bottom:16px;font-size:13px;font-weight:600;background:#fff;border-radius:99px;padding:7px 13px}
.b5 .alay{display:grid;grid-template-columns:240px 1fr;gap:72px;padding-top:64px;align-items:start}
.b5 .toc{position:sticky;top:100px}
.b5 .toc span{font-size:13px;font-weight:600;color:var(--mut)}
.b5 .toc ol{list-style:none;margin-top:12px;border-left:1px solid var(--line)}
.b5 .toc a{display:block;padding:8px 0 8px 16px;margin-left:-1px;border-left:2px solid transparent;font-size:14.5px;line-height:1.35;color:#5d6064}
.b5 .toc a.on{color:#111;font-weight:600;border-left-color:#111}
/* mobile table of contents: a collapsed <details> disclosure shown only under 1060px */
.b5 .toc-m{display:none}
.b5 .toc-m summary{cursor:pointer;list-style:none;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:16px 18px;background:#fff;border:1px solid var(--line);border-radius:18px;font-size:14.5px;font-weight:600}
.b5 .toc-m summary::-webkit-details-marker{display:none}
.b5 .toc-m summary i{flex:none;width:26px;height:26px;border-radius:50%;border:1px solid #cfcfcf;display:grid;place-items:center;font-style:normal;transition:background .25s}
/* Open state shows "−" instead of a rotated "+" (reads as ×/close) — same fix as the shared FAQ icon. */
.b5 .toc-m[open] summary i{font-size:0;background:var(--ink);color:#fff;border-color:var(--ink)}
.b5 .toc-m[open] summary i::before{content:"−";font-size:15px;line-height:1}
.b5 .toc-m ol{list-style:none;margin:0;padding:6px 18px 14px;background:#fff;border:1px solid var(--line);border-top:0;border-radius:0 0 18px 18px}
.b5 .toc-m li{border-top:1px dashed var(--dash)}
.b5 .toc-m a{display:block;padding:11px 0;font-size:14.5px;color:#2b2d30}
.b5 .acol{max-width:720px}
.b5 .answer2{background:#111;color:var(--paper);border-radius:24px;padding:28px 30px}
.b5 .answer2 span{font-size:13.5px;font-weight:600;color:var(--mute-d)}
.b5 .acol .answer2 p{font-size:19px;line-height:1.5;margin-top:8px;color:var(--paper)}
.b5 .kt{margin-top:16px;background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px 30px 26px}
.b5 .kt span{font-size:13.5px;font-weight:600;color:var(--mut)}
.b5 .kt ul{list-style:none;margin-top:6px}
.b5 .kt li{position:relative;padding:12px 0 12px 26px;border-bottom:1px dashed var(--dash);font-size:16.5px;font-weight:600;line-height:1.45}
.b5 .kt li:last-child{border-bottom:0}
.b5 .kt li:before{content:"";position:absolute;left:2px;top:20px;width:9px;height:9px;border-radius:50%;background:#111}
.b5 .acol h2{font-size:clamp(25px,2.2vw,32px);font-weight:500;letter-spacing:-.03em;line-height:1.15;margin:60px 0 14px;padding-left:18px;border-left:3px solid #111;scroll-margin-top:100px}
.b5 .acol p{font-size:17.5px;line-height:1.72;color:#2b2d30;margin-top:14px;max-width:62ch}
.b5 .acol ul,.b5 .acol ol.steps{margin-top:16px;padding-left:22px}
.b5 .acol li{font-size:17px;line-height:1.65;color:#2b2d30;margin-top:8px}
.b5 .acol li b,.b5 .acol p b{color:#111}
.b5 .acol .viz{margin:28px 0 8px}
.b5 .acol .viz .eq{grid-template-columns:1fr auto 1fr auto 1fr}
.b5 .acol .viz .eq b{font-size:32px}
.b5 .ftab{width:100%;border-collapse:collapse;margin-top:20px;font-size:16px}
.b5 .ftab th,.b5 .ftab td{text-align:left;vertical-align:top;padding:14px 12px 14px 0;border-bottom:1px dashed var(--dash)}
.b5 .ftab th{width:34%;font-weight:600;color:#111}.b5 .ftab td{color:var(--body);line-height:1.55}
.b5 .midcta{margin:48px 0 8px;display:flex;justify-content:space-between;align-items:center;gap:24px;flex-wrap:wrap;background:#fff;border:1px solid var(--line);border-radius:24px;padding:26px 28px}
.b5 .midcta>div>b{display:block;font-size:20px;font-weight:600;letter-spacing:-.01em}
.b5 .midcta>div>span{display:block;font-size:15px;color:var(--body);margin-top:4px}
.b5 .midcta .pill{flex:none}
.b5 .abox{margin-top:56px;display:grid;grid-template-columns:56px 1fr;gap:18px;align-items:start;padding-top:28px;border-top:1px dashed var(--dash)}
.b5 .abox .av{width:56px;height:56px;border-radius:50%;background:#111;color:#fff;display:grid;place-items:center;font-weight:600}
.b5 .abox .av.ph{background:none;object-fit:cover}
.b5 .abox b{font-size:17px;font-weight:600}
.b5 .abox p{font-size:15.5px;line-height:1.55;color:var(--body);margin-top:4px}
.b5 .rel{padding-top:120px}
.b5 .rel .rgrid2{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}
@media (max-width:1060px){
	.b5 .bo-head{grid-template-columns:minmax(0,1fr);gap:20px}.b5 .feat2{grid-template-columns:1fr}.b5 .feat2 figure{aspect-ratio:16/10}.b5 .pgrid,.b5 .rel .rgrid2{grid-template-columns:1fr 1fr}
	.b5 .alay{grid-template-columns:1fr;gap:28px}.b5 .toc{display:none}.b5 .toc-m{display:block;margin-bottom:32px}
	.b5 .acol .viz .eq{grid-template-columns:1fr}.b5 .apic{margin:32px 16px 0;aspect-ratio:4/3}
}
@media (max-width:640px){
	.b5 .bo-head,.b5 .ah{padding-top:110px}.b5 .feat2{border-radius:20px}.b5 .feat2 .tx{padding:28px 22px}.b5 .pgrid,.b5 .rel .rgrid2{grid-template-columns:1fr}.b5 .pcard{border-radius:20px}
	.b5 .apic{border-radius:20px}.b5 .acol p{font-size:16.5px}.b5 .answer2,.b5 .kt{border-radius:18px;padding:20px}
	.b5 .blog-contact{padding:26px 22px;border-radius:20px}
	/* Facts table: the 34%/66% two-column layout wraps the row label onto 2–3 lines at phone widths —
	   stack label above value like the reference "spec" list instead, for an easier read. */
	.b5 .ftab,.b5 .ftab tbody,.b5 .ftab tr,.b5 .ftab th,.b5 .ftab td{display:block;width:auto}
	.b5 .ftab tr{padding:14px 0;border-bottom:1px dashed var(--dash)}
	.b5 .ftab th,.b5 .ftab td{padding:0;border-bottom:0}
	.b5 .ftab th{margin-bottom:4px}
	.b5 .ftab td{font-size:15.5px}
}
.b5 .blog-contact .pill{flex:none}.b5 .blog-contact .pill b{display:flex;font-size:15px;margin:0}
.b5 .blog-contact .pill .ar{display:inline-block;margin-top:0;font-size:inherit;color:inherit}
/* UX final pass: the nowrap topic chip row set the 1fr hero column's min width, pushing the whole blog
   hero 3–50px past the screen edge on phones (worst in ET) */
.b5 .bo-head>*{min-width:0}

/* ===== 2026-11-11 (peak-shaving article): solutions.css is not loaded on posts, so the .viz/.eq
   "A − B = C" visual (aFRR + peak-shaving articles) rendered unstyled. Same rules as solutions.css,
   scoped to the article column. Plus visible in-text links (they looked like plain text). */
.b5 .acol .eq{display:grid;gap:16px;align-items:center}
.b5 .acol .eq article{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px 22px}
.b5 .acol .eq article.dk{background:#111;border-color:#111;color:var(--paper)}
.b5 .acol .eq span{display:block;font-size:14px;font-weight:600;color:var(--mut)}
.b5 .acol .eq .dk span{color:var(--mute-d)}
.b5 .acol .eq b{display:block;font-weight:500;letter-spacing:-.04em;margin-top:8px;line-height:1.1}
.b5 .acol .eq article.dk b{color:var(--paper)}
.b5 .acol .eq p{font-size:15px;line-height:1.5;color:var(--body);margin-top:8px}
.b5 .acol .eq .dk p{color:var(--mute-d)}
.b5 .acol .eq>p{margin:0;text-align:center} /* wpautop wraps the <i> operator in a <p> */
.b5 .acol .eq>i,.b5 .acol .eq>p>i{font-style:normal;font-size:36px;line-height:1;color:#8a8d90;text-align:center}
.b5 .acol p small{font-size:13.5px;color:var(--mut)}
.b5 .acol p a,.b5 .acol li a{color:#111;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.b5 .acol p a:hover,.b5 .acol li a:hover{text-decoration-thickness:2px}
@media (max-width:1060px){.b5 .acol .eq>i,.b5 .acol .eq>p>i{font-size:28px}}
/* === Round F (contact agent, 2026-11-11): article author box - role + LinkedIn (single.php) === */
.b5 .abox .arole{display:block;font-size:14px;color:var(--mut);margin-top:2px}
.b5 .abox .ali{display:inline-flex;align-items:center;min-height:44px;font-size:15px;font-weight:600;border-bottom:0}
.b5 .abox .ali:hover{text-decoration:underline}
/* === end round F === */
/* === Mobile recheck 11.11 === topic filter pills were 37px tall: ≥44px tap target */
.b5 .topics button{min-height:44px}

/* ===== Mobile critical 11.11 (≤640px only) =====
   - Key takeaways: the article list rules (.acol ul padding-left:22px, .acol li 17px/1.65 + 8px top
     margin) also hit the takeaways card, so each bullet sat ~48px in from the card edge and wrapped to
     3 short lines at 390px. Reset them inside .kt.
   - Short answer: 19px white-on-black paragraph was the heaviest block on the page; 17px.
   - Rhythm: section H2s inside the article 60px → 44px; "Keep reading" block 120px → 64px top,
     same as every other section on phones. */
@media (max-width:640px){
 .b5 .acol .kt ul{padding-left:0;margin-top:4px}
 .b5 .acol .kt li{margin-top:0;padding:11px 0 11px 22px;font-size:15.5px;line-height:1.45}
 .b5 .acol .kt li:before{top:18px;left:0;width:8px;height:8px}
 .b5 .acol .answer2 p{font-size:17px;line-height:1.5}
 .b5 .acol h2{margin-top:44px}
 .b5 .rel{padding-top:64px;padding-bottom:64px}
 .b5 .apic figcaption{font-size:12.5px;line-height:1.35;left:12px;right:12px;bottom:12px;width:fit-content;border-radius:14px}
}
