/* Carte interactive — Observatoire électoral */
.h237-map-shell {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
  margin: 24px 0 32px;
}

@media (max-width: 800px) {
  .h237-map-shell {
    grid-template-columns: 1fr;
  }
}

.h237-elections-map {
  min-height: 420px;
  border-radius: var(--h237-radius, 10px);
  overflow: hidden;
  background: #e8eef5;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  position: relative;
}

.h237-elections-map.is-loading::after {
  content: "Chargement de la carte…";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.7);
  z-index: 500;
  font-size: 0.9rem;
  color: var(--h237-blue, #1a3a5c);
}

.h237-elections-map.is-error::after {
  content: attr(data-error);
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff5f5;
  color: #a11;
  z-index: 500;
  padding: 16px;
  text-align: center;
}

.h237-map-side {
  background: var(--h237-white, #fff);
  border: 1px solid rgba(26, 58, 92, 0.12);
  border-radius: var(--h237-radius, 10px);
  padding: 18px 20px;
}

.h237-map-panel-title,
.h237-map-section-title {
  margin: 0 0 12px;
  font-size: 1.05rem;
  color: var(--h237-blue, #1a3a5c);
}

.h237-map-results {
  margin: 0;
  padding-left: 1.2rem;
}

.h237-map-results li {
  margin-bottom: 8px;
  line-height: 1.35;
}

.h237-map-party {
  color: #666;
  font-size: 0.9em;
}

.h237-map-pct {
  font-weight: 700;
  color: var(--h237-orange, #e8782a);
  margin-left: 6px;
}

.h237-map-participation {
  margin-top: 14px;
  font-size: 0.95rem;
}

.h237-map-empty {
  color: #666;
  font-size: 0.95rem;
}

.h237-map-popup {
  min-width: 160px;
  font-size: 0.9rem;
}

.h237-map-popup-meta {
  color: #666;
  font-size: 0.85em;
  margin-top: 2px;
}

.h237-map-popup-winner {
  margin-top: 8px;
  padding-left: 8px;
}

.h237-map-popup-list {
  margin: 8px 0 0;
  padding-left: 1.1rem;
}

.h237-map-popup-list span {
  color: #666;
}

/* Briefing */
.h237-briefing {
  margin: 28px 0 36px;
  padding: 20px 22px;
  border-left: 4px solid var(--h237-orange, #e8782a);
  background: linear-gradient(90deg, rgba(232, 120, 42, 0.08), transparent);
  border-radius: 0 var(--h237-radius, 10px) var(--h237-radius, 10px) 0;
}

.h237-briefing h2 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.h237-briefing-date {
  margin: 0 0 14px;
  color: #666;
  font-size: 0.9rem;
}

.h237-briefing-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.h237-briefing-list li {
  margin: 0 0 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.h237-briefing-list li:last-child {
  border-bottom: 0;
  margin-bottom: 0;
  padding-bottom: 0;
}

.h237-briefing-list a {
  color: var(--h237-blue, #1a3a5c);
  text-decoration: none;
  font-weight: 600;
}

.h237-briefing-list a:hover {
  color: var(--h237-orange, #e8782a);
}

.h237-briefing-excerpt {
  display: block;
  margin-top: 4px;
  color: #555;
  font-weight: 400;
  font-size: 0.92rem;
}

.h237-observatoire-hero {
  margin-bottom: 8px;
}

.h237-observatoire-hero p {
  max-width: 40rem;
  color: #444;
}
