/*
 * ElectricChoice Blog v2
 * ======================
 * Editorial layout inspired by palmetto.com: warm cream canvas, sage panels,
 * split hero, sticky "On this page" card, oversized display type and roomy,
 * readable tables. Opt in per page with <body class="bp"> and load this file
 * instead of blog.css.
 *
 * Type floor: body copy 18px+, table cells 18px (17px stacked on phones),
 * table headers and labels 15px+. Nothing in a table is uppercase.
 */

.bp {
    --bp-cream: #FBFBF7;
    --bp-sage: #ECF0E4;
    --bp-sage-deep: #DFE6D3;
    --bp-line: #D6DDCB;
    --bp-line-soft: #E6EADF;
    --bp-ink: #163300;
    --bp-text: #34402F;
    --bp-muted: #56634E;
    --bp-green: #0E9F6E;
    --bp-link: #0A7550;
    --bp-lime: #9FE870;
    --bp-lime-soft: #DCF2B1;
    --bp-map-bg: #F9FBFC;
    --bp-moratorium: #163200;
    --bp-temperature: #8DD663;
    --bp-conditional: #F1C46A;
    --bp-none: #E68B7C;
    --bp-unconfirmed: #DDDAD2;
    --bp-r-xl: 40px;
    --bp-r-lg: 28px;
    --bp-r: 22px;
    --bp-sticky: 112px;
    background: var(--bp-cream);
}
/* overflow-x: hidden on html + body makes body a scroll container and breaks the sticky sidebar */
html:has(body.bp),
body.bp { overflow-x: clip; overflow-y: visible; }
.bp .ec-nav { background: var(--bp-cream); border-bottom-color: transparent; }
.bp .ec-page-content { max-width: 1280px; padding: 20px 32px 96px; }
.bp h1 { text-wrap: balance; }
.bp-article p { text-wrap: pretty; }

/* ============================================
   Shared bits
   ============================================ */
.bp-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 6px;
    font-size: 16px;
    font-weight: 500;
    color: var(--bp-muted);
    margin: 0 0 22px;
}
.bp-crumbs a {
    color: var(--bp-ink);
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    text-decoration-color: rgba(22, 51, 0, 0.3);
}
.bp-crumbs a:hover { text-decoration-color: var(--bp-ink); }
.bp-crumbs i { font-size: 20px; line-height: 1; color: var(--bp-muted); }

.bp-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 24px;
    font-size: 17px;
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
    background: var(--bp-green);
    border-radius: 16px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.15s ease, transform 0.15s ease;
}
.bp-btn:hover { background: var(--bp-link); color: #fff; }
.bp-btn i { font-size: 20px; line-height: 1; }
.bp-btn--lime { color: var(--bp-ink); background: var(--bp-lime); }
.bp-btn--lime:hover { color: var(--bp-ink); background: #B4F08E; }

.bp-swatch {
    display: inline-block;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    border-radius: 5px;
    background: var(--bp-unconfirmed);
    box-shadow: inset 0 0 0 1px rgba(22, 51, 0, 0.08);
}
.bp-swatch--moratorium { background: var(--bp-moratorium); }
.bp-swatch--temperature { background: var(--bp-temperature); }
.bp-swatch--conditional { background: var(--bp-conditional); }
.bp-swatch--none { background: var(--bp-none); }
.bp-swatch--unconfirmed { background: var(--bp-unconfirmed); }

.bp-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   BLOG INDEX
   ============================================ */
.bp-index-head { margin: 28px 0 44px; }
.bp-eyebrow {
    display: block;
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--bp-muted);
    margin: 0 0 14px;
}
.bp-index-head h1 {
    font-size: clamp(46px, 6.4vw, 88px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.045em;
    color: var(--bp-ink);
    margin: 0;
}
.bp-index-head p {
    font-size: clamp(19px, 1.9vw, 23px);
    line-height: 1.55;
    color: var(--bp-text);
    margin: 20px 0 0;
}

/* Featured post: image left, sage panel right */
.bp-feature {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    background: var(--bp-sage);
    border-radius: var(--bp-r-xl);
    overflow: hidden;
    position: relative;
    margin-bottom: 80px;
}
.bp-feature-media { display: flex; min-height: 440px; padding: 28px 0 28px 28px; }
.bp-feature-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: var(--bp-map-bg);
    border-radius: var(--bp-r-lg);
    transition: transform 0.4s ease;
}
.bp-feature:hover .bp-feature-media img { transform: scale(1.025); }
.bp-feature-body {
    padding: 56px 56px 52px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}
.bp-feature-body h2 {
    font-size: clamp(30px, 3.3vw, 46px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: var(--bp-ink);
    margin: 0 0 18px;
}
.bp-feature-body h2 a { color: inherit; text-decoration: none; }
.bp-feature-body h2 a::after { content: ''; position: absolute; inset: 0; }
.bp-feature-body p {
    font-size: 19px;
    line-height: 1.6;
    color: var(--bp-text);
    margin: 0 0 22px;
}
.bp-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 10px;
    font-size: 16px;
    font-weight: 600;
    color: var(--bp-muted);
}
.bp-meta span + span::before { content: '\00B7'; margin-right: 10px; }
.bp-feature .bp-btn { margin-top: 30px; position: relative; pointer-events: none; }

.bp-list-title {
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: var(--bp-ink);
    margin: 0 0 32px;
}
.bp-btn:focus-visible { outline: 3px solid var(--bp-green); outline-offset: 2px; }

.bp-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 48px 28px;
}
.bp-card { position: relative; display: flex; flex-direction: column; }
.bp-card-media {
    position: relative;
    aspect-ratio: 16 / 10;
    border-radius: var(--bp-r-lg);
    overflow: hidden;
    background: var(--bp-sage);
}
.bp-card-media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}
.bp-card:hover .bp-card-media img { transform: scale(1.04); }
.bp-card h3 {
    font-size: 23px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--bp-ink);
    margin: 22px 0 10px;
}
.bp-card h3 a { color: inherit; text-decoration: none; }
.bp-card h3 a::after { content: ''; position: absolute; inset: 0; border-radius: var(--bp-r-lg); }
.bp-card:hover h3 a { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 4px; }
.bp-card h3 a:focus-visible { outline: none; }
.bp-card h3 a:focus-visible::after { outline: 3px solid var(--bp-green); outline-offset: 6px; }
.bp-card p {
    font-size: 17px;
    line-height: 1.6;
    color: var(--bp-text);
    margin: 0 0 14px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.bp-card .bp-meta { margin-top: auto; font-size: 15px; }

/* ============================================
   POST — Hero
   ============================================ */
.bp-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    background: var(--bp-sage);
    border-radius: var(--bp-r-xl);
    overflow: hidden;
    margin: 4px 0 72px;
}
.bp-hero-media {
    order: -1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin: 0;
    padding: 32px 0 32px 32px;
}
.bp-hero-map {
    display: block;
    aspect-ratio: 3 / 2;
    background: var(--bp-map-bg);
    border-radius: var(--bp-r-lg);
    overflow: hidden;
}
.bp-hero-map img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.2);
    transform-origin: 52% 54%;
}
.bp-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    list-style: none;
    padding: 0;
    margin: 18px 0 0;
}
.bp-legend li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 16px;
    font-weight: 700;
    color: var(--bp-ink);
}
.bp-legend li span { font-weight: 500; color: var(--bp-muted); }
.bp-hero-caption { font-size: 15px; line-height: 1.5; color: var(--bp-muted); margin: 14px 0 0; }
.bp-hero-body {
    padding: 52px 56px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.bp-hero-body .bp-crumbs { margin-bottom: 26px; }
.bp-hero h1 {
    font-size: clamp(40px, 4.7vw, 66px);
    font-weight: 800;
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: var(--bp-ink);
    margin: 0 0 20px;
}
.bp-hero-dek {
    font-size: clamp(19px, 1.7vw, 22px);
    line-height: 1.5;
    color: var(--bp-text);
    margin: 0;
}
.bp-byline {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 32px;
    padding-top: 26px;
    border-top: 1.5px solid var(--bp-line);
}
.bp-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 18px;
    background: var(--bp-ink);
    color: var(--bp-lime);
    font-size: 18px;
    font-weight: 800;
    letter-spacing: -0.02em;
}
.bp-byline-text { font-size: 16px; line-height: 1.45; color: var(--bp-muted); }
.bp-byline-text strong { display: block; font-size: 18px; color: var(--bp-ink); font-weight: 800; }
.bp-byline-text a { color: inherit; text-decoration: none; }
.bp-byline-text a:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ============================================
   POST — Two-column layout with sticky TOC
   ============================================ */
.bp-layout {
    display: grid;
    grid-template-columns: 272px minmax(0, 1fr);
    gap: 72px;
    align-items: start;
}
.bp-aside {
    position: sticky;
    top: var(--bp-sticky);
    max-height: calc(100vh - var(--bp-sticky) - 24px);
    overflow-y: auto;
    scrollbar-width: thin;
}
.bp-toc {
    background: var(--bp-sage);
    border-radius: 32px;
    padding: 28px 28px 22px;
}
.bp-toc-title {
    display: block;
    font-size: 20px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: var(--bp-ink);
    margin: 0 0 14px;
}
.bp-toc ol { list-style: none; margin: 0; padding: 0; }
.bp-toc li { margin: 0; }
.bp-toc a {
    display: block;
    position: relative;
    padding: 8px 0 8px 16px;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    color: var(--bp-muted);
    text-decoration: underline;
    text-decoration-color: rgba(86, 99, 78, 0.35);
    text-underline-offset: 3px;
}
.bp-toc a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 4px;
    border-radius: 4px;
    background: transparent;
    transition: background 0.15s ease;
}
.bp-toc a:hover { color: var(--bp-ink); text-decoration-color: var(--bp-ink); }
.bp-toc a[aria-current="true"] { color: var(--bp-ink); text-decoration-color: transparent; }
.bp-toc a[aria-current="true"]::before { background: var(--bp-green); }


/* ============================================
   POST — Article typography
   ============================================ */
.bp-article { min-width: 0; color: var(--bp-text); }
.bp-article > :first-child { margin-top: 0; }
.bp-article p,
.bp-article ul,
.bp-article ol {
    font-size: clamp(18px, 1.45vw, 19.5px);
    line-height: 1.7;
    color: var(--bp-text);
    margin: 0 0 24px;
}
.bp-article ul,
.bp-article ol { padding-left: 26px; }
.bp-article li { margin-bottom: 12px; padding-left: 4px; }
.bp-article li::marker { color: var(--bp-green); font-weight: 800; }
.bp-article strong { color: var(--bp-ink); font-weight: 700; }
.bp-article a {
    color: var(--bp-link);
    font-weight: 600;
    text-decoration: underline;
    text-decoration-thickness: 1.5px;
    text-underline-offset: 3px;
    text-decoration-color: rgba(10, 117, 80, 0.35);
}
.bp-article a:hover { text-decoration-color: var(--bp-link); }
.bp-article h2 {
    font-size: clamp(32px, 3.6vw, 48px);
    font-weight: 800;
    line-height: 1.06;
    letter-spacing: -0.035em;
    color: var(--bp-ink);
    margin: 96px 0 22px;
    scroll-margin-top: var(--bp-sticky);
}
.bp-article h3 {
    font-size: clamp(23px, 2.2vw, 28px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: var(--bp-ink);
    margin: 56px 0 14px;
}
.bp-article blockquote {
    margin: 44px 0;
    padding: 4px 0 4px 30px;
    border-left: 6px solid var(--bp-lime);
}
.bp-article blockquote p {
    font-size: clamp(22px, 2.2vw, 27px);
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: -0.015em;
    color: var(--bp-ink);
    margin: 0;
}
.bp-article .blog-answer {
    font-size: clamp(21px, 2vw, 25px);
    line-height: 1.5;
    letter-spacing: -0.005em;
    color: var(--bp-text);
}
.bp-article .blog-answer strong { font-weight: 800; }
.bp-article .blog-note {
    font-size: 16px;
    line-height: 1.65;
    color: var(--bp-muted);
    margin: 14px 0 32px;
}

/* Key facts: bento tiles */
.bp-article .blog-key-facts {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
    margin: 40px 0 44px;
}
.blog-key-facts > div {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 196px;
    padding: 28px 26px 26px;
    border-radius: var(--bp-r-lg);
    background: #fff;
    box-shadow: inset 0 0 0 1.5px var(--bp-line);
}
.blog-key-facts > div:nth-child(1) { background: var(--bp-ink); box-shadow: none; }
.blog-key-facts > div:nth-child(2) { background: var(--bp-lime-soft); box-shadow: none; }
.blog-key-facts > div:nth-child(3) { background: var(--bp-sage); box-shadow: none; }
.blog-key-facts strong {
    display: block;
    font-size: clamp(48px, 5vw, 68px);
    font-weight: 800;
    line-height: 0.95;
    letter-spacing: -0.05em;
    color: var(--bp-ink);
}
.blog-key-facts span {
    display: block;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--bp-ink);
    margin-top: 22px;
}
.blog-key-facts > div:nth-child(1) strong { color: var(--bp-lime); }
.blog-key-facts > div:nth-child(1) span { color: #E4EEDA; }

/* Dark action card */
.bp-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px 32px;
    padding: 30px 34px;
    margin: 40px 0;
    background: var(--bp-ink);
    border-radius: var(--bp-r-lg);
    color: #E4EEDA;
}
.bp-article .bp-action p { font-size: 19px; line-height: 1.55; color: #E4EEDA; margin: 0; }
.bp-article .bp-action strong { color: var(--bp-lime); font-weight: 800; }
.bp-article .bp-action .bp-btn { color: var(--bp-ink); text-decoration: none; }

/* Key takeaways: lime banner */
.bp-article .blog-summary {
    background: var(--bp-lime-soft);
    border-radius: var(--bp-r-lg);
    padding: 36px 40px 16px;
    margin: 44px 0;
}
.bp-article .blog-summary h2 {
    font-size: 26px;
    letter-spacing: -0.02em;
    margin: 0 0 20px;
}
.bp-article .blog-summary ul { list-style: none; padding: 0; max-width: none; }
.bp-article .blog-summary li {
    position: relative;
    padding-left: 40px;
    margin-bottom: 18px;
    color: var(--bp-ink);
}
.bp-article .blog-summary li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.2em;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--bp-ink);
}
.bp-article .blog-summary li::after {
    content: '';
    position: absolute;
    left: 9px;
    top: calc(0.2em + 6px);
    width: 6px;
    height: 11px;
    border: solid var(--bp-lime);
    border-width: 0 2.5px 2.5px 0;
    transform: rotate(45deg);
}

/* Light callout */
.bp-article .blog-callout {
    padding: 28px 32px;
    margin: 40px 0;
    background: var(--bp-sage);
    border-radius: var(--bp-r-lg);
}
.bp-article .blog-callout p { margin: 0; color: var(--bp-ink); max-width: none; }

/* Protection-type cards */
.bp-types {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    margin: 32px 0 36px;
}
.bp-type {
    padding: 26px 28px 24px;
    background: #fff;
    border-radius: var(--bp-r);
    box-shadow: inset 0 0 0 1.5px var(--bp-line);
}
.bp-type-head { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.bp-type-head .bp-swatch { width: 20px; height: 20px; border-radius: 6px; }
.bp-article .bp-type h3 { font-size: 21px; margin: 0; letter-spacing: -0.015em; }
.bp-type-n {
    margin-left: auto;
    font-size: 17px;
    font-weight: 800;
    color: var(--bp-ink);
    white-space: nowrap;
}
.bp-article .bp-type p { font-size: 17px; line-height: 1.6; margin: 0 0 12px; }
.bp-article .bp-type p.bp-type-states { font-size: 16px; color: var(--bp-muted); margin: 0; }

/* Numbered steps */
.bp-article ol.blog-steps {
    list-style: none;
    padding: 0;
    margin: 32px 0 40px;
    counter-reset: bp-step;
    max-width: none;
    display: grid;
    gap: 14px;
}
.bp-article ol.blog-steps li {
    counter-increment: bp-step;
    position: relative;
    margin: 0;
    padding: 26px 30px 26px 96px;
    background: #fff;
    border-radius: var(--bp-r);
    box-shadow: inset 0 0 0 1.5px var(--bp-line);
    line-height: 1.65;
}
.bp-article ol.blog-steps li::before {
    content: counter(bp-step);
    position: absolute;
    left: 28px;
    top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: var(--bp-ink);
    color: var(--bp-lime);
    font-size: 20px;
    font-weight: 800;
}

/* ============================================
   POST — Tables
   Card frame, sage header, 18px cells.
   ============================================ */
.bp-article .blog-table-wrap + .blog-note,
.bp-article .blog-rows + .blog-note { margin-top: -8px; }
.bp-article .blog-table-wrap {
    margin: 32px 0 30px;
    background: #fff;
    border: 1.5px solid var(--bp-line);
    border-radius: var(--bp-r);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.bp-article table {
    width: 100%;
    border-collapse: collapse;
    font-size: 18px;
    line-height: 1.5;
    margin: 0;
}
.bp-article table caption {
    caption-side: top;
    text-align: left;
    padding: 24px 28px 18px;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--bp-ink);
}
.bp-article thead th {
    padding: 16px 28px;
    background: var(--bp-sage);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.35;
    color: var(--bp-ink);
    text-align: left;
    vertical-align: bottom;
    border-top: 1.5px solid var(--bp-line);
    border-bottom: 1.5px solid var(--bp-line);
}
.bp-article tbody th,
.bp-article tbody td {
    padding: 18px 28px;
    font-size: 18px;
    color: var(--bp-text);
    text-align: left;
    vertical-align: top;
    border-bottom: 1px solid var(--bp-line-soft);
}
.bp-article tbody tr:last-child > * { border-bottom: 0; }
.bp-article tbody th { font-weight: 700; color: var(--bp-ink); }
.bp-article tbody tr:not(.blog-table-group):hover > * { background: #F7F9F2; }
.bp-article .blog-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.bp-article td.blog-num { font-weight: 700; color: var(--bp-ink); }
.bp-article .blog-table-group td {
    padding: 14px 28px;
    background: var(--bp-cream);
    font-size: 17px;
    font-weight: 800;
    color: var(--bp-ink);
    border-top: 1.5px solid var(--bp-line);
    border-bottom: 1px solid var(--bp-line-soft);
}
.bp-article tbody tr:first-child.blog-table-group td { border-top: 0; }
.bp-col-trigger { width: 30%; }

.bp-article .blog-rows {
    --rows-cols: minmax(0, 1fr) minmax(0, 1.4fr) minmax(0, 1fr) 30px;
    margin: 0 0 30px;
    background: #fff;
    border: 1.5px solid var(--bp-line);
    border-radius: var(--bp-r);
    overflow: hidden;
}
.blog-rows-head,
.blog-rows summary {
    display: grid;
    grid-template-columns: var(--rows-cols);
    gap: 20px;
    align-items: center;
    padding: 0 26px;
}
.blog-rows-head {
    min-height: 56px;
    background: var(--bp-sage);
    border-bottom: 1.5px solid var(--bp-line);
    font-size: 16px;
    font-weight: 700;
    color: var(--bp-ink);
}
.blog-rows-head::after { content: ''; }
.blog-rows details { border-top: 1px solid var(--bp-line-soft); scroll-margin-top: var(--bp-sticky); }
.blog-rows-head + details { border-top: 0; }
.blog-rows summary {
    min-height: 66px;
    list-style: none;
    cursor: pointer;
    font-size: 17px;
    font-weight: 600;
    color: var(--bp-ink);
}
.blog-rows summary::-webkit-details-marker { display: none; }
.blog-rows summary::after {
    content: '';
    justify-self: end;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--bp-sage) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23163300' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat center;
    transition: transform 0.15s ease;
}
.blog-rows details[open] summary::after { transform: rotate(180deg); }
.blog-rows summary:hover,
.blog-rows details[open] summary { background: #F7F9F2; }
.blog-rows summary:focus-visible { outline: 3px solid var(--bp-green); outline-offset: -3px; }
.blog-rows-title { font-size: 18px; font-weight: 800; }
.blog-rows-type { display: inline-flex; align-items: center; gap: 10px; }
.blog-rows-minor { font-weight: 500; color: var(--bp-text); }
.blog-rows-body { padding: 6px 26px 28px; background: #F7F9F2; }
.bp-article .blog-rows-body p { font-size: 18px; line-height: 1.65; margin: 0 0 22px; }
.bp-facts {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 36px;
    margin: 0 0 20px;
    padding: 22px 0 0;
    border-top: 1.5px solid var(--bp-line);
}
.bp-facts div { min-width: 0; }
.bp-facts .bp-facts-wide { grid-column: 1 / -1; }
.bp-facts dt { font-size: 15px; font-weight: 700; color: var(--bp-muted); margin: 0 0 4px; }
.bp-facts dd { font-size: 17px; line-height: 1.5; color: var(--bp-ink); margin: 0; overflow-wrap: anywhere; }
.bp-article .bp-facts a { font-weight: 600; }
.bp-article .blog-rows-body .bp-rows-more { font-size: 17px; margin: 0; }

/* Bar charts */
.bp-article .outage-bars {
    margin: 32px 0 28px;
    padding: 30px 32px 26px;
    background: #fff;
    border-radius: var(--bp-r);
    box-shadow: inset 0 0 0 1.5px var(--bp-line);
}
.outage-bars-tier {
    font-size: 21px;
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.015em;
    color: var(--bp-ink);
    margin: 0 0 18px;
}
.outage-bar-row { display: flex; align-items: center; gap: 18px; padding: 5px 0; }
.outage-bar-label { flex: 0 0 116px; min-width: 0; }
.outage-bar-event { display: block; font-size: 17px; font-weight: 700; color: var(--bp-ink); }
.outage-bar-track {
    flex: 1;
    min-width: 0;
    height: 40px;
    background: var(--bp-sage);
    border-radius: 12px;
    overflow: hidden;
}
.outage-bar-fill {
    display: flex;
    align-items: center;
    height: 100%;
    min-width: fit-content;
    padding: 0 14px;
    background: var(--bp-ink);
    border-radius: 12px;
    font-size: 16px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: #fff;
    white-space: nowrap;
}
.outage-bar-highlight .outage-bar-fill { background: var(--bp-lime); color: var(--bp-ink); }
.outage-bars-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 24px;
    margin-top: 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--bp-text);
}
.outage-bars-legend span { display: inline-flex; align-items: center; gap: 8px; }
.outage-bars-legend span::before { content: ''; width: 16px; height: 16px; border-radius: 5px; background: var(--bp-ink); }
.outage-bars-legend .is-highlight::before { background: var(--bp-lime); }

/* FAQ */
.bp-article .ec-faq { margin: 24px 0 40px; border-top: 1.5px solid var(--bp-line); }
.bp-article .ec-faq details,
.bp-article .ec-faq details:first-child,
.bp-article .ec-faq details:last-child { border: 0; border-bottom: 1.5px solid var(--bp-line); margin: 0; }
.bp-article .ec-faq summary {
    padding: 26px 0;
    font-size: clamp(19px, 1.8vw, 22px);
    font-weight: 800;
    line-height: 1.3;
    letter-spacing: -0.01em;
    color: var(--bp-ink);
}
.bp-article .ec-faq summary::after {
    content: '+';
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--bp-sage);
    font-size: 24px;
    font-weight: 600;
    color: var(--bp-ink);
}
.bp-article .ec-faq details[open] summary,
.bp-article .ec-faq summary:hover { color: var(--bp-ink); }
.bp-article .ec-faq details[open] summary::after { content: '\2212'; color: var(--bp-ink); background: var(--bp-lime); }
.bp-article .ec-faq .ec-faq-answer { padding: 0 0 28px; }
.bp-article .ec-faq .ec-faq-answer p { font-size: 18.5px; line-height: 1.7; margin: 0; }

/* Author + sources */
.bp-author {
    display: flex;
    align-items: flex-start;
    gap: 22px;
    margin: 72px 0 0;
    padding: 30px 32px;
    background: var(--bp-sage);
    border-radius: 32px;
}
.bp-author .bp-avatar { width: 72px; height: 72px; border-radius: 22px; font-size: 22px; }
.bp-author-label { display: block; font-size: 15px; font-weight: 700; color: var(--bp-muted); margin-bottom: 2px; }
.bp-article .bp-author h2 { font-size: 26px; letter-spacing: -0.02em; margin: 0 0 10px; }
.bp-article .bp-author p { font-size: 17px; line-height: 1.6; margin: 0; max-width: none; }

.bp-article .blog-sources-block { margin-top: 48px; padding-top: 28px; border-top: 1.5px solid var(--bp-line); }
.bp-article .blog-sources-block h2 { font-size: 22px; letter-spacing: -0.015em; margin: 0 0 12px; }
.bp-article .blog-sources-block p { font-size: 16px; line-height: 1.75; color: var(--bp-muted); max-width: none; }
.bp-article .blog-sources-block a { color: var(--bp-ink); font-weight: 500; text-decoration-color: rgba(22, 51, 0, 0.3); }

/* ============================================
   POST — Related band (full width)
   ============================================ */
.bp-related { background: var(--bp-sage); padding: 80px 0 88px; }
.bp-related-inner { max-width: 1280px; margin: 0 auto; padding: 0 32px; }
.bp-related h2 {
    font-size: clamp(30px, 3.2vw, 42px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.035em;
    color: var(--bp-ink);
    text-align: center;
    margin: 0 0 40px;
}
.bp-related .bp-grid { gap: 40px 28px; }
.bp-related .bp-card h3 { margin-bottom: 18px; }
.bp-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-top: auto;
    border-radius: 16px;
    background: var(--bp-ink);
    color: var(--bp-lime);
    font-size: 24px;
    transition: background 0.15s ease;
}
.bp-card:hover .bp-arrow { background: var(--bp-green); color: #fff; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1180px) {
    .bp-layout { grid-template-columns: 240px minmax(0, 1fr); gap: 48px; }
    .bp-article .blog-key-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1023px) {
    .bp-layout { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .bp-aside { position: static; max-height: none; overflow: visible; margin-bottom: 48px; }
    .bp-toc ol { columns: 2; column-gap: 32px; }
    .bp-toc li { break-inside: avoid; }
    .bp-hero,
    .bp-feature { grid-template-columns: minmax(0, 1fr); }
    .bp-hero-media { order: 0; padding: 0 40px 36px; }
    .bp-hero-body,
    .bp-feature-body { padding: 40px 40px 36px; }
    .bp-feature-media { min-height: 0; aspect-ratio: 16 / 9; padding: 20px 20px 0; }
    .bp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 760px) {
    .bp { --bp-sticky: 96px; --bp-r-xl: 28px; --bp-r-lg: 24px; --bp-r: 18px; }
    .bp .ec-page-content { padding: 12px 18px 72px; }
    .bp-hero { margin-bottom: 48px; }
    .bp-hero-body,
    .bp-feature-body { padding: 30px 24px 28px; }
    .bp-hero-media { padding: 0 16px 22px; }
    .bp-legend { gap: 8px 16px; }
    .bp-legend li { font-size: 15px; }
    .bp-toc { padding: 24px 22px 18px; border-radius: 24px; }
    .bp-toc ol { columns: 1; }
    .bp-grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .bp-feature { margin-bottom: 56px; }
    .bp-article h2 { margin-top: 72px; }
    .bp-article h3 { margin-top: 44px; }
    .bp-article .blog-key-facts { gap: 12px; }
    .blog-key-facts > div { min-height: 160px; padding: 22px 20px; }
    .blog-key-facts span { font-size: 16px; margin-top: 16px; }
    .bp-action { flex-direction: column; align-items: flex-start; padding: 26px 24px; }
    .bp-article .blog-summary { padding: 28px 24px 10px; }
    .bp-types { grid-template-columns: minmax(0, 1fr); }
    .bp-type { padding: 22px 22px 20px; }
    .bp-article ol.blog-steps li { padding: 78px 22px 22px; }
    .bp-article ol.blog-steps li::before { left: 22px; top: 20px; }
    .bp-author { flex-direction: column; padding: 26px 24px; }
    .bp-related { padding: 60px 0 64px; }
    .bp-related-inner { padding: 0 18px; }

    /* Rows: state + protection type, details on tap */
    .blog-rows-head { display: none; }
    .blog-rows summary { grid-template-columns: minmax(0, 1fr) auto 30px; gap: 12px; padding: 0 18px; min-height: 62px; }
    .blog-rows summary .blog-rows-minor { display: none; }
    .blog-rows-body { padding: 4px 18px 24px; }
    .bp-facts { grid-template-columns: minmax(0, 1fr); gap: 14px; }

    .outage-bars-tier { font-size: 19px; }
    .bp-article .outage-bars { padding: 24px 18px 20px; }
    .outage-bar-label { flex-basis: 92px; }
    .outage-bar-event { font-size: 16px; }

    /* Stacking tables: each row becomes a labeled block inside the card */
    .bp-article table.blog-table-stack caption { padding: 22px 20px 14px; font-size: 19px; }
    .bp-article table.blog-table-stack,
    .bp-article table.blog-table-stack tbody,
    .bp-article table.blog-table-stack tr,
    .bp-article table.blog-table-stack th,
    .bp-article table.blog-table-stack td { display: block; width: auto; }
    .bp-article table.blog-table-stack caption { display: block; }
    .bp-article table.blog-table-stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
    .bp-article table.blog-table-stack tbody tr { padding: 18px 20px; border-top: 1px solid var(--bp-line-soft); }
    .bp-article table.blog-table-stack tbody tr:first-child { border-top: 1.5px solid var(--bp-line); }
    .bp-article table.blog-table-stack tbody tr:hover > * { background: none; }
    .bp-article table.blog-table-stack tbody th { padding: 0 0 8px; font-size: 18px; border: 0; }
    .bp-article table.blog-table-stack tbody td { padding: 0; border: 0; font-size: 17px; }
    .bp-article table.blog-table-stack tbody td[data-label] {
        display: grid;
        grid-template-columns: 8.5em minmax(0, 1fr);
        gap: 12px;
        padding: 5px 0;
        text-align: left;
        white-space: normal;
    }
    .bp-article table.blog-table-stack tbody td[data-label]::before {
        content: attr(data-label);
        font-size: 15px;
        font-weight: 700;
        line-height: 1.6;
        color: var(--bp-muted);
    }
    .bp-article table.blog-table-stack.bp-table-plain tbody td[data-label] { display: block; }
    .bp-article table.blog-table-stack.bp-table-plain tbody td[data-label]::before { content: none; }
    .bp-article table.blog-table-stack tr.blog-table-group { padding: 0; }
    .bp-article table.blog-table-stack tr.blog-table-group td { padding: 14px 20px; }
}
