.ed-explainer{--ed-bg:#142138;--ed-ink:#eef7ff;--ed-accent:#85e9ff;--ed-panel:#2b507c}

.ed-layout{--ed-border:color-mix(in srgb,var(--ed-accent) 36%,transparent);min-width:0}
.ed-layout,.ed-layout *{box-sizing:border-box}
.ed-section-heading{padding:clamp(1.35rem,4vw,3.75rem);border:1px solid var(--ed-border);background:var(--ed-bg);color:var(--ed-ink)}
.ed-section-heading h1{font-size:clamp(1.85rem,4vw,3.75rem);line-height:1.1;margin:0 0 .75rem;color:inherit;overflow-wrap:anywhere}
.ed-section-heading p{margin:0;line-height:1.65;max-width:64ch}
.ed-topic-links{display:flex;flex-wrap:wrap;align-items:center;gap:.45rem;margin:1.15rem 0}
.ed-topic-links a{display:block;padding:.49rem .7rem;border:1px solid var(--ed-border);border-radius:.4rem;text-decoration:none}
.ed-topic-links [aria-current=page]{background:var(--ed-bg);color:var(--ed-ink)}
.ed-split,.ed-aside-first,.ed-story-hero,.ed-story-split,.ed-essay-split,.ed-contrast-story,.ed-gallery-story{display:grid;gap:clamp(1rem,3vw,2.4rem);align-items:start}
.ed-split,.ed-story-split,.ed-gallery-story{grid-template-columns:minmax(0,2.2fr) minmax(0,1fr)}
.ed-aside-first,.ed-essay-split{grid-template-columns:minmax(0,1fr) minmax(0,3.2fr)}
.ed-story-hero,.ed-contrast-story{grid-template-columns:repeat(2,minmax(0,1fr))}
.ed-category-feature,.ed-read-rail{padding:1.15rem;border:1px solid var(--ed-border);min-width:0}
.ed-category-feature p,.ed-result-count{font-size:.85rem;font-weight:650;margin:0 0 .65rem}
.ed-category-feature a{font-size:clamp(1.1rem,2vw,1.48rem);line-height:1.35;font-weight:700;overflow-wrap:anywhere}
.ed-read-rail h2{margin:.1rem 0 .6rem;font-size:1.18rem}
.ed-read-rail .ed-topic-links{display:grid;justify-content:stretch}
.ed-category-results{margin:1.3rem 0;min-width:0}
.ed-card-list{display:grid;grid-template-columns:repeat(var(--ed-columns,2),minmax(0,1fr));gap:1rem}
.ed-card-list .k8b-card{margin:0;min-width:0;max-width:100%;overflow:hidden}
.ed-card-list .k8b-card[hidden]{display:none!important}
.ed-card-list .ed-plain-card{display:block}
.ed-card-list .ed-compact-card{display:grid;grid-template-columns:minmax(0,3.1fr) minmax(0,1fr);align-items:center}
.ed-card-photo{display:block;min-width:0}
.ed-card-photo img,.ed-story img{display:block;width:100%;height:auto;object-fit:contain}
.ed-card-body{padding:clamp(.65rem,2vw,1.2rem)}
.ed-card-body h2,.ed-card-list .k8b-card h2{font-size:clamp(1.04rem,1.75vw,1.4rem);line-height:1.36;margin:0 0 .55rem;overflow-wrap:anywhere}
.ed-card-body p{margin:.3rem 0;line-height:1.5}
.ed-card-body time{font-size:.83rem}
.ed-story .k8b-article-heading,.ed-story .k8b-article-cover,.ed-story .k8b-toc{margin:0 0 1.4rem;min-width:0}
.ed-story .k8b-article-heading h1{font-size:clamp(1.8rem,4.3vw,3.7rem);overflow-wrap:anywhere;line-height:1.12}
.ed-story .k8b-prose{max-width:min(72ch,100%);margin-inline:auto;min-width:0;overflow-wrap:anywhere;line-height:1.72}
.ed-story .k8b-prose table{max-width:100%;display:block;overflow:auto}
.ed-story .k8b-article-cover img{aspect-ratio:16/9;width:100%;height:auto}
.ed-story .k8b-related-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,15rem),1fr))}
.ed-story .k8b-inline-figure img{width:100%;height:auto}
.ed-story .k8b-inline-figure{margin:1.4rem 0}
.ed-reading{min-width:0}
.ed-reading p,.ed-card-body p{overflow-wrap:anywhere}
@media(max-width:820px){
.ed-split,.ed-aside-first,.ed-story-hero,.ed-story-split,.ed-essay-split,.ed-contrast-story,.ed-gallery-story{grid-template-columns:minmax(0,1fr)}
.ed-read-rail .ed-topic-links{display:flex}
.ed-card-list{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:560px){
.ed-card-list{grid-template-columns:minmax(0,1fr)}
.ed-layout .k8b-card-row{display:block}
.ed-card-list .ed-compact-card{grid-template-columns:minmax(0,1fr)}
.ed-layout .k8b-card img{width:100%;height:auto;aspect-ratio:16/9;object-fit:contain}
.ed-layout .k8b-article-heading{padding-inline:0}
}
.ed-explainer .ed-section-heading{border-left:7px solid var(--ed-accent)}.ed-explainer .ed-card-list{--ed-columns:1}.ed-explainer .ed-essay-split>.k8b-toc{border-left:3px solid var(--ed-accent)}
