/* ===== BLACKOUT: normal Europe vs outage (before/after slider) ===== */
#blackout { border-top: 1px solid var(--line); }

.bo-compare { --split: 50; }
.bo-stage {
  position: relative;
  display: grid;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 300px;
}
.bo-pane {
  grid-area: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: var(--s4);
  padding: var(--s5);
  background: var(--bg);
  color: var(--ink);
}
.bo-pane--outage {
  align-items: flex-end;
  text-align: right;
  clip-path: inset(0 0 0 calc(var(--split) * 1%));
}
.bo-copy { max-width: 36ch; }
.bo-copy h3 { margin: 0 0 var(--s1); font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 26px); }
.bo-copy p { margin: 0; color: var(--muted); }

/* Both panes lay the pills out identically (same width, same wrap, left-aligned), so the divider
   turns each pill green -> red in place instead of cutting through two different rows. */
.bo-regions { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: var(--s1); align-self: stretch; justify-content: flex-start; }
.bo-region {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700; font-size: 14px;
  border: 1px solid var(--line);
  background: var(--bg-elev);
}
.bo-region.is-up::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: var(--glow-green); }
.bo-region.is-down { color: var(--muted); border-color: var(--red); background: transparent; }
.bo-region.is-down::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--red); }
.bo-flag { font-size: 11px; font-weight: 600; color: var(--red); }
.bo-flag--ghost { visibility: hidden; }

.bo-handle {
  position: absolute; top: 0; bottom: 0;
  left: calc(var(--split) * 1%);
  width: 2px; margin-left: -1px;
  background: var(--green);
  pointer-events: none;
}

.bo-slider { display: none; align-items: center; gap: var(--s3); margin-top: var(--s3); font-size: 14px; font-weight: 600; color: var(--muted); }
.bo-compare.is-ready .bo-slider { display: flex; }
.bo-range { flex: 1; accent-color: var(--green); height: 28px; cursor: ew-resize; }

.bo-cta {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s4);
  flex-wrap: wrap;
  margin-top: var(--s5);
  padding-top: var(--s4);
  border-top: 1px solid var(--line);
}
.bo-cta p { margin: 0; max-width: 60ch; color: var(--muted); }

/* Phone: no clipped text. The slider flips between the two full panes instead. */
@media (max-width: 700px) {
  .bo-pane { padding: var(--s4); }
  .bo-pane--outage { clip-path: none; align-items: flex-start; text-align: left; }
  .bo-pane--outage .bo-regions { justify-content: flex-start; }
  .bo-compare.is-ready .bo-handle { display: none; }
  .bo-compare.is-ready[data-state="normal"] .bo-pane--outage { display: none; }
  .bo-compare.is-ready[data-state="outage"] .bo-pane--normal { display: none; }
  .bo-stage { min-height: 0; }
}
