:root {
  color-scheme: light;
  --paper: #fff3f1;
  --ink: #2e1515;
  --muted: #76504f;
  --line: #efb8b2;
  --accent: #cf2436;
  --accent-dark: #971626;
  --blood: #ffd8d3;
  --white: #fff7f0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
}

a {
  color: inherit;
}

.page-shell {
  width: min(690px, calc(100% - 48px));
  margin: 0 auto;
}

.hero {
  padding: 46px 0 18px;
  background: linear-gradient(180deg, #ffe1dc 0, var(--paper) 100%);
}

.kicker {
  margin: 0 0 9px;
  color: var(--accent-dark);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  max-width: none;
  margin: 0;
  font-size: clamp(2.35rem, 5.5vw, 3.85rem);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 0.98;
}

h3 {
  margin: 0;
  font-size: 1.28rem;
  line-height: 1.18;
}

.lead {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: clamp(1rem, 1.45vw, 1.12rem);
  line-height: 1.58;
}

.map-section {
  padding: 22px 0 24px;
}

.map-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffe4df;
  box-shadow: 0 14px 42px rgba(151, 22, 38, 0.12);
}

.incident-map {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  min-height: 0;
  background: #d9d5ca;
}

.incident-map .leaflet-tile {
  filter: grayscale(1) saturate(0) contrast(0.98) brightness(1.05);
}

.leaflet-popup-content-wrapper,
.leaflet-popup-tip {
  border-radius: 6px;
}

.popup-title {
  display: block;
  margin-bottom: 6px;
  font-weight: 800;
}

.popup-link {
  color: var(--accent-dark);
  font-weight: 800;
  text-decoration-thickness: 2px;
}

.incident-section {
  padding: 6px 0 54px;
}

.section-heading {
  margin-bottom: 10px;
}

.incident-list {
  display: block;
  border-top: 1px solid var(--line);
}

.empty-state {
  margin: 0;
  padding: 18px 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.incident-item {
  border-bottom: 1px solid var(--line);
}

.incident-item summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 16px;
  align-items: center;
  min-height: 54px;
  padding: 13px 0;
  cursor: pointer;
  list-style: none;
}

.incident-item summary::-webkit-details-marker {
  display: none;
}

.incident-item summary::after {
  content: "+";
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: #ffb1a3;
  font-size: 1.15rem;
  line-height: 1;
}

.incident-item[open] summary::after {
  content: "−";
  border-color: var(--accent);
  color: #fff7f0;
  background: var(--accent);
}

.incident-place {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  font-weight: 850;
}

.incident-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  justify-content: flex-end;
  color: var(--accent-dark);
  font-size: 0.74rem;
  font-weight: 800;
}

.incident-panel {
  max-width: 860px;
  padding: 0 0 20px;
}

.incident-summary {
  margin: 0 0 16px;
  color: var(--muted);
  line-height: 1.55;
}

.article-page {
  padding: 48px 0 80px;
}

.back-link {
  display: inline-block;
  margin-bottom: 36px;
  color: #ff9c8c;
  font-weight: 800;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.article-body {
  max-width: 760px;
  margin-top: 0;
  color: var(--ink);
  font-size: 0.92rem;
  line-height: 1.72;
}

.incident-images {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 16px;
}

.incident-images figure {
  margin: 0;
}

.incident-images img {
  display: block;
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffe4df;
}

.incident-images figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.9rem;
}

@media (max-width: 820px) {
  .section-heading,
  .incident-item summary {
    display: block;
  }

  .incident-meta {
    justify-content: flex-start;
    margin-top: 10px;
  }

  .incident-item summary::after {
    margin-top: 14px;
  }

  .incident-images {
    grid-template-columns: 1fr;
  }
}
