/* Narrative visuals for the CEDS interior. Data and links come from authored CEDS content. */
.editorial-reader .ceds-story{--story-ink:#293550;--story-paper:#fffdf9;--story-line:#d9d7d4;position:relative;isolation:isolate;margin:48px 0 62px;padding:clamp(28px,4vw,48px);background:var(--story-paper);border:1px solid var(--story-line);border-radius:32px 0 0 0;overflow:hidden;color:var(--story-ink)}
.editorial-reader .ceds-story::before{content:"";position:absolute;right:-96px;top:-108px;width:370px;height:370px;border-radius:50%;border:1px solid currentColor;opacity:.09;box-shadow:0 0 0 31px var(--story-paper),0 0 0 32px currentColor,0 0 0 76px var(--story-paper),0 0 0 77px currentColor;pointer-events:none;z-index:-1}
.editorial-reader .ceds-story__header{position:relative;max-width:760px;margin-bottom:28px}
.editorial-reader .ceds-story__eyebrow,.editorial-reader .ceds-story__focus-kicker{margin:0 0 13px;color:#775574;font:750 11px/1.5 Montserrat,Arial,sans-serif;letter-spacing:.13em;text-transform:uppercase}
.editorial-reader .ceds-story__eyebrow::before{content:"";display:inline-block;width:28px;height:2px;margin:0 12px 3px 0;background:#a74375}
.editorial-reader .ceds-story__title{margin:0 0 13px!important;color:var(--story-ink)!important;font:750 clamp(25px,3vw,38px)/1.18 Montserrat,Arial,sans-serif!important;letter-spacing:-.035em}
.editorial-reader .ceds-story__dek{margin:0;color:#4d5968;font-size:15px;line-height:1.72;max-width:68ch}
.editorial-reader .ceds-story__choices{display:grid;gap:10px;position:relative;z-index:1}
.editorial-reader .ceds-story__choice{min-width:0;text-align:left;border:1px solid #ded7e0;background:#f3edf5;color:#293550;padding:17px 18px;display:flex;gap:12px;align-items:flex-start;cursor:pointer;transition:background .18s ease,border-color .18s ease,transform .18s ease}
.editorial-reader .ceds-story__choice:hover{background:#eae0ee;transform:translateY(-2px)}
.editorial-reader .ceds-story__choice[aria-pressed="true"]{background:#293550;color:#fffdf9;border-color:#293550;box-shadow:inset 0 -3px #e6a6c2}
.editorial-reader .ceds-story__choice:focus-visible,.editorial-reader .ceds-story-map__measure:focus-visible,.editorial-reader .ceds-story-map__row:focus-visible,.editorial-reader .ceds-story-map__county:focus-visible{outline:3px solid #a74375;outline-offset:3px}
.editorial-reader .ceds-story__choice-index{flex:none;font:700 20px/1.3 Montserrat,Arial,sans-serif;color:#a74375}
.editorial-reader .ceds-story__choice[aria-pressed="true"] .ceds-story__choice-index{color:#ffd1e6}
.editorial-reader .ceds-story__choice-label{display:block;font:700 15px/1.42 Montserrat,Arial,sans-serif;letter-spacing:-.015em}
.editorial-reader .ceds-story__choice-kicker{display:none}
.editorial-reader .ceds-story__focus{display:grid;grid-template-columns:70px minmax(0,1fr);gap:23px;align-items:start;position:relative;margin-top:12px;padding:25px;background:#f6f3ef;border-left:4px solid #775574;min-height:168px}
.editorial-reader .ceds-story__focus[data-color="pink"]{border-color:#a74375;background:#fbedf3}
.editorial-reader .ceds-story__focus[data-color="orange"]{border-color:#a15a34;background:#fff1e7}
.editorial-reader .ceds-story__focus[data-color="green"]{border-color:#285f45;background:#edf3ef}
.editorial-reader .ceds-story__focus[data-color="violet"]{border-color:#493d65;background:#f0ecf7}
.editorial-reader .ceds-story__focus[data-color="navy"]{border-color:#293550;background:#eef1f6}
.editorial-reader .ceds-story__focus-marker{font:700 38px/1 Montserrat,Arial,sans-serif;letter-spacing:-.06em;color:#775574;opacity:.75}
.editorial-reader .ceds-story__focus[data-color="pink"] .ceds-story__focus-marker{color:#a74375}
.editorial-reader .ceds-story__focus[data-color="orange"] .ceds-story__focus-marker{color:#a15a34}
.editorial-reader .ceds-story__focus[data-color="green"] .ceds-story__focus-marker{color:#285f45}
.editorial-reader .ceds-story__focus[data-color="navy"] .ceds-story__focus-marker{color:#293550}
.editorial-reader .ceds-story__focus-title{margin:0 0 11px!important;color:#293550!important;font:750 clamp(18px,2vw,23px)/1.35 Montserrat,Arial,sans-serif!important}
.editorial-reader .ceds-story__focus-text{margin:0 0 18px;color:#374354;font-size:15px;line-height:1.76;max-width:70ch}
.editorial-reader .ceds-story__link{display:inline-block;color:#65426c!important;font:750 13px/1.6 Montserrat,Arial,sans-serif;text-decoration:none;border-bottom:2px solid currentColor;padding-bottom:4px}
.editorial-reader .ceds-story__link:hover{color:#a74375!important}

/* SWOT: four distinct lenses, with the selected finding unfolded below. */
.editorial-reader .ceds-story--swot{background:#293550;border:0;border-bottom:6px solid #a74375;color:#fffdf9}
.editorial-reader .ceds-story--swot::before{opacity:.12;box-shadow:0 0 0 31px #293550,0 0 0 32px currentColor,0 0 0 76px #293550,0 0 0 77px currentColor}
.editorial-reader .ceds-story--swot .ceds-story__eyebrow{color:#f1b6d1}
.editorial-reader .ceds-story--swot .ceds-story__title{color:#fffdf9!important}
.editorial-reader .ceds-story--swot .ceds-story__dek{color:#e9e2e9}
.editorial-reader .ceds-story--swot .ceds-story__choices{grid-template-columns:repeat(4,minmax(0,1fr))}
.editorial-reader .ceds-story--swot .ceds-story__choice{display:block;min-height:130px;background:#fffdf9;border:0;border-top:5px solid #6f7892;padding:18px}
.editorial-reader .ceds-story--swot .ceds-story__choice--plum{border-color:#775574}
.editorial-reader .ceds-story--swot .ceds-story__choice--pink{border-color:#a74375}
.editorial-reader .ceds-story--swot .ceds-story__choice--green{border-color:#285f45}
.editorial-reader .ceds-story--swot .ceds-story__choice[aria-pressed="true"]{background:#f9d6e5;color:#293550;box-shadow:none}
.editorial-reader .ceds-story--swot .ceds-story__choice-index{font-size:37px;display:block;margin-bottom:12px;color:#6b5370}
.editorial-reader .ceds-story--swot .ceds-story__choice[aria-pressed="true"] .ceds-story__choice-index{color:#793a66}
.editorial-reader .ceds-story--swot .ceds-story__focus{background:#fffdf9;border:0;margin-top:16px}
.editorial-reader .ceds-story--swot .ceds-story__focus-kicker{color:#65426c}

/* Strategy: a connected progression with a focused action handoff. */
.editorial-reader .ceds-story--priorities{background:#f6f1f6;border-color:#e4d8e7}
.editorial-reader .ceds-story--priorities .ceds-story__choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border-top:1px solid #ddd1e1;border-left:1px solid #ddd1e1}
.editorial-reader .ceds-story--priorities .ceds-story__choice{display:block;background:#fffdf9;border:0;border-right:1px solid #ddd1e1;border-bottom:1px solid #ddd1e1;min-height:148px;padding:19px 20px}
.editorial-reader .ceds-story--priorities .ceds-story__choice[aria-pressed="true"]{background:#493d65;color:#fffdf9;box-shadow:inset 0 5px #e69ab8}
.editorial-reader .ceds-story--priorities .ceds-story__choice-index{display:block;margin-bottom:10px;font-size:29px}
.editorial-reader .ceds-story--priorities .ceds-story__choice-label{font-size:14px}
.editorial-reader .ceds-story--priorities .ceds-story__focus{background:#293550;color:#fffdf9;border:0;border-bottom:5px solid #a74375;margin-top:17px;padding:29px}
.editorial-reader .ceds-story--priorities .ceds-story__focus-title{color:#fffdf9!important}
.editorial-reader .ceds-story--priorities .ceds-story__focus-kicker{color:#f3bed7}
.editorial-reader .ceds-story--priorities .ceds-story__focus-text{color:#f0e9f3}
.editorial-reader .ceds-story--priorities .ceds-story__link{color:#f9cfdf!important}
.editorial-reader .ceds-story--priorities .ceds-story__focus-marker{color:#f9cfdf!important}

/* Resilience and workforce: compact connected reading paths. */
.editorial-reader .ceds-story--resilience{background:#edf3ef;border-color:#b9cec0}
.editorial-reader .ceds-story--workforce{background:#f3edf5;border-color:#d9cadd}
.editorial-reader .ceds-story--resilience .ceds-story__eyebrow{color:#285f45}
.editorial-reader .ceds-story--resilience .ceds-story__eyebrow::before{background:#285f45}
.editorial-reader .ceds-story--resilience .ceds-story__choices,.editorial-reader .ceds-story--workforce .ceds-story__choices{grid-template-columns:repeat(5,minmax(0,1fr));gap:0;position:relative}
.editorial-reader .ceds-story--resilience .ceds-story__choices::before,.editorial-reader .ceds-story--workforce .ceds-story__choices::before{content:"";position:absolute;top:22px;left:4%;right:4%;height:2px;background:linear-gradient(90deg,#285f45,#775574,#a15a34,#a74375,#493d65);z-index:-1}
.editorial-reader :is(.ceds-story--resilience,.ceds-story--workforce) .ceds-story__choice{display:block;min-height:127px;margin:0 4px;background:#fffdf9;border:1px solid #ded7e0;padding:14px 13px;border-radius:18px 0 0 0}
.editorial-reader :is(.ceds-story--resilience,.ceds-story--workforce) .ceds-story__choice[aria-pressed="true"]{background:#293550;color:#fffdf9;border-color:#293550}
.editorial-reader :is(.ceds-story--resilience,.ceds-story--workforce) .ceds-story__choice-index{display:grid;place-items:center;width:38px;height:38px;margin-bottom:15px;background:#f5e7ee;border-radius:50%;font-size:13px;color:#775574}
.editorial-reader :is(.ceds-story--resilience,.ceds-story--workforce) .ceds-story__choice[aria-pressed="true"] .ceds-story__choice-index{background:#f5d3e5;color:#493d65}
.editorial-reader :is(.ceds-story--resilience,.ceds-story--workforce) .ceds-story__choice-label{font-size:12px;line-height:1.48}
.editorial-reader .ceds-story--resilience .ceds-story__focus{background:#fffdf9;border-color:#285f45}
.editorial-reader .ceds-story--workforce .ceds-story__focus{background:#fffdf9;border-color:#775574}

/* Actual Census county geometry, with a consistent comparison scale per measure. */
.editorial-reader .ceds-story--map{background:#293550;color:#fffdf9;border:0;border-bottom:6px solid #a74375}
.editorial-reader .ceds-story--map::before{opacity:.1;box-shadow:0 0 0 31px #293550,0 0 0 32px currentColor,0 0 0 76px #293550,0 0 0 77px currentColor}
.editorial-reader .ceds-story--map .ceds-story__eyebrow{color:#f1b6d1}
.editorial-reader .ceds-story--map .ceds-story__title{color:#fffdf9!important}
.editorial-reader .ceds-story--map .ceds-story__dek{color:#e8e4ed}
.editorial-reader .ceds-story-map__measures{display:flex;flex-wrap:wrap;gap:10px;margin:0 0 24px}
.editorial-reader .ceds-story-map__measure{border:1px solid #ffffff80;background:#ffffff0a;color:#fffdf9;padding:10px 15px;border-radius:999px;font:700 12px/1.45 Montserrat,Arial,sans-serif;cursor:pointer}
.editorial-reader .ceds-story-map__measure:hover{background:#ffffff1b}
.editorial-reader .ceds-story-map__measure[aria-pressed="true"]{background:#f8d4e5;color:#293550;border-color:#f8d4e5}
.editorial-reader .ceds-story-map__layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(285px,.86fr);gap:24px;align-items:stretch}
.editorial-reader .ceds-story-map__map{min-width:0;display:grid;place-items:center;background:linear-gradient(145deg,#36476b,#493d65);border:1px solid #ffffff32;padding:12px;border-radius:24px 0 0 0}
.editorial-reader .ceds-story-map__svg{width:100%;height:auto;max-height:430px;overflow:visible}
.editorial-reader .ceds-story-map__county{stroke:#fffdf9;stroke-width:2.5;vector-effect:non-scaling-stroke;cursor:pointer;opacity:.72;transition:opacity .18s ease,stroke-width .18s ease,filter .18s ease}
.editorial-reader .ceds-story-map__county--navy{fill:#5b8fa8}
.editorial-reader .ceds-story-map__county--plum{fill:#a77eb3}
.editorial-reader .ceds-story-map__county--orange{fill:#d59261}
.editorial-reader .ceds-story-map__county--pink{fill:#ca7199}
.editorial-reader .ceds-story-map__county--green{fill:#6da58d}
.editorial-reader .ceds-story-map__county:hover,.editorial-reader .ceds-story-map__county.is-selected{opacity:1;stroke:#fff4c5;stroke-width:4;filter:drop-shadow(0 4px 8px #10243a88)}
.editorial-reader .ceds-story-map__svg-label{fill:#192c3c;font:750 18px Montserrat,Arial,sans-serif;text-anchor:middle;dominant-baseline:central;paint-order:stroke;stroke:#fffdf9;stroke-width:3px;pointer-events:none}
.editorial-reader .ceds-story-map__detail{min-width:0;padding:25px;background:#fffdf9;color:#293550;border-radius:0 24px 0 0}
.editorial-reader .ceds-story-map__county-name{margin:0 0 10px;font:750 13px/1.4 Montserrat,Arial,sans-serif;text-transform:uppercase;letter-spacing:.1em;color:#775574}
.editorial-reader .ceds-story-map__selected-value{display:block;font:750 clamp(30px,3vw,43px)/1.1 Montserrat,Arial,sans-serif;color:#293550;letter-spacing:-.05em}
.editorial-reader .ceds-story-map__period{font-size:12px;color:#53606d;line-height:1.55;margin:10px 0 22px}
.editorial-reader .ceds-story-map__rows{display:grid;gap:5px;border-top:1px solid #d8d7d6;padding-top:15px}
.editorial-reader .ceds-story-map__row{display:grid;grid-template-columns:65px minmax(0,1fr) 67px;align-items:center;gap:9px;text-align:left;border:0;background:transparent;color:#293550;padding:8px 4px;font:650 11px/1.3 Montserrat,Arial,sans-serif;cursor:pointer}
.editorial-reader .ceds-story-map__row:hover,.editorial-reader .ceds-story-map__row[aria-pressed="true"]{background:#f1e7f0}
.editorial-reader .ceds-story-map__row-label{white-space:nowrap}
.editorial-reader .ceds-story-map__row-value{text-align:right;font-variant-numeric:tabular-nums;white-space:nowrap}
.editorial-reader .ceds-story-map__track{display:block;height:9px;position:relative;background:#e6e8e9;border-radius:99px;overflow:hidden}
.editorial-reader .ceds-story-map__track.is-diverging::before{content:"";position:absolute;left:50%;top:0;bottom:0;width:1px;background:#293550;z-index:1}
.editorial-reader .ceds-story-map__fill{display:block;position:absolute;left:0;top:0;bottom:0;background:linear-gradient(90deg,#775574,#a74375);border-radius:99px}
.editorial-reader .ceds-story-map__fill.is-negative{background:#456d84}
.editorial-reader .ceds-story-map__source{font-size:10px;line-height:1.55;color:#606b74;margin:20px 0 0}
.editorial-reader .ceds-story-map__geography{font-size:10px;line-height:1.55;color:#d8dce5;margin:16px 0 0}

@media(max-width:1100px){
  .editorial-reader .ceds-story--resilience .ceds-story__choices,.editorial-reader .ceds-story--workforce .ceds-story__choices{grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
  .editorial-reader .ceds-story--resilience .ceds-story__choices::before,.editorial-reader .ceds-story--workforce .ceds-story__choices::before{display:none}
  .editorial-reader :is(.ceds-story--resilience,.ceds-story--workforce) .ceds-story__choice{margin:0;min-height:105px}
}
@media(max-width:760px){
  .editorial-reader .ceds-story{margin:34px 0 45px;padding:25px 20px;border-radius:24px 0 0 0}
  .editorial-reader .ceds-story--swot .ceds-story__choices,.editorial-reader .ceds-story--priorities .ceds-story__choices{grid-template-columns:repeat(2,minmax(0,1fr))}
  .editorial-reader .ceds-story--swot .ceds-story__choice{min-height:115px}
  .editorial-reader .ceds-story-map__layout{grid-template-columns:1fr}
  .editorial-reader .ceds-story-map__map{min-height:270px}
  .editorial-reader .ceds-story-map__detail{border-radius:0}
}
@media(max-width:520px){
  .editorial-reader .ceds-story__title{font-size:25px!important}
  .editorial-reader .ceds-story__dek{font-size:14px}
  .editorial-reader .ceds-story__focus{grid-template-columns:1fr;gap:8px;padding:21px;min-height:0}
  .editorial-reader .ceds-story__focus-marker{font-size:28px}
  .editorial-reader .ceds-story--resilience .ceds-story__choices,.editorial-reader .ceds-story--workforce .ceds-story__choices{grid-template-columns:1fr 1fr}
  .editorial-reader :is(.ceds-story--resilience,.ceds-story--workforce) .ceds-story__choice{min-height:95px;padding:13px}
  .editorial-reader :is(.ceds-story--resilience,.ceds-story--workforce) .ceds-story__choice-label{font-size:11px}
  .editorial-reader .ceds-story--priorities .ceds-story__choice{min-height:140px;padding:16px}
  .editorial-reader .ceds-story--priorities .ceds-story__choice-label{font-size:12px}
  .editorial-reader .ceds-story-map__measures{gap:7px}
  .editorial-reader .ceds-story-map__measure{font-size:11px;padding:8px 11px}
  .editorial-reader .ceds-story-map__svg-label{font-size:27px;stroke-width:4px}
  .editorial-reader .ceds-story-map__row{grid-template-columns:57px minmax(0,1fr) 62px;font-size:10px}
}
@media(prefers-reduced-motion:reduce){.editorial-reader .ceds-story *{transition:none!important;scroll-behavior:auto!important}}
