body {
  background: var(--paper);
}
.widget {
  padding: 18px 24px 22px;
}
.widget-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}
.widget-label {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.widget-label h1 {
  font-size: 26px;
  line-height: 1;
  letter-spacing: -0.025em;
}
.sample-label {
  font-size: 10px;
  color: var(--muted);
}
.widget-actions {
  display: flex;
  align-items: center;
}
.view-all {
  color: var(--accent);
  font-size: 11px;
  font-weight: 650;
  text-decoration: none;
  white-space: nowrap;
}
.view-all:hover {
  color: var(--ink);
  text-decoration: underline;
}
.widget-state {
  padding: 22px 0;
  font-size: 13px;
  color: var(--muted);
}
.headline-track {
  display: flex;
  position: relative;
  overflow-x: auto;
  scrollbar-width: none;
  overscroll-behavior-x: contain;
  mask-image: linear-gradient(to right, #000 calc(100% - 20px), transparent);
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-x pan-y;
  border-block: 1px solid var(--line);
}
.headline-track::-webkit-scrollbar {
  display: none;
}
.headline-track.dragging,
.headline-track.dragging a {
  cursor: grabbing;
}
.headline-set {
  display: flex;
  flex: 0 0 auto;
  position: relative;
}
.headline-card {
  flex: 0 0 clamp(280px, 28vw, 360px);
  width: clamp(280px, 28vw, 360px);
  padding: 18px 24px;
  min-height: 102px;
  display: flex;
  align-items: center;
  text-decoration: none;
  background: var(--surface);
  border-right: 1px solid var(--line);
  transition:
    background 0.18s,
    color 0.18s;
}
.headline-card:hover {
  background: var(--soft);
  color: var(--accent);
}
.headline-card span {
  font-family: var(--heading-font);
  font-size: 20px;
  line-height: 1.18;
  font-weight: 400;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
.headline-card:focus-visible {
  outline-offset: -4px;
}
.map-widget {
  padding: 24px;
}
.map-widget .widget-label h1 {
  font-size: 30px;
}
.map-widget .widget-header {
  margin-bottom: 8px;
}
.map-widget .chart-description {
  margin: 0 0 18px;
}
.map-widget .story-map-legend {
  margin: 8px 0 16px;
  gap: 18px;
}
.map-widget .story-map {
  min-width: 0;
  width: 100%;
  height: 480px;
  aspect-ratio: auto;
}
.map-widget .story-tile {
  text-decoration: none;
  justify-content: center;
  padding: 7px;
}
.map-widget .tile-title {
  font-size: 12px;
  line-height: 1.25;
}
.map-widget .legend-item {
  font-size: 11px;
}
.mobile-stories {
  display: none;
  margin: 0;
  padding-left: 24px;
}
.mobile-summary {
  display: none;
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
}
.mobile-stories li {
  padding: 12px 0 12px 8px;
  border-bottom: 1px solid var(--line);
}
.mobile-stories li::marker {
  color: var(--accent);
  font-size: 10px;
}
.mobile-stories a {
  text-decoration: none;
  font-family: var(--heading-font);
  font-size: 17px;
  font-weight: 400;
  line-height: 1.2;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.map-footer {
  margin-top: 12px;
  color: var(--muted);
}
@media (max-width: 600px) {
  .widget {
    padding: 18px 16px;
  }
  .widget-label {
    gap: 6px;
  }
  .widget-label h1 {
    font-size: 24px;
  }
  .headline-card {
    flex-basis: 80vw;
    width: 80vw;
    padding: 18px 20px;
  }
  .headline-card span {
    font-size: 19px;
  }
}
@media (max-width: 800px) {
  .map-widget .story-map,
  .map-widget .story-map-legend {
    display: none;
  }
  .mobile-stories,
  .mobile-summary {
    display: block;
  }
  .map-widget .map-footer {
    display: none;
  }
  .map-widget .widget-label h1 {
    font-size: 25px;
  }
  .map-widget .chart-description {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .headline-card {
    transition: none;
  }
}
