.sfc-supporters-map {
  box-sizing: border-box;
  width: 100%;
  margin-inline: auto;
  color: #211452;
  font-family: Montserrat, sans-serif;
}

.sfc-supporters-map__intro {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: #211452;
  color: #fff;
}

.sfc-supporters-map__eyebrow,
.sfc-supporters-map__place {
  margin: 0 0 0.55rem;
  color: #fdc300;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sfc-supporters-map__title {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.sfc-supporters-map__intro > p:last-child {
  margin: 0.8rem 0 0;
}

.sfc-supporters-map__stage {
  position: relative;
  height: clamp(27rem, 52vw, 42rem);
  overflow: hidden;
  background: #e6e9e7;
}

.sfc-supporters-map__canvas {
  width: 100%;
  height: 100%;
}

.sfc-supporters-map__pin-wrap {
  border: 0;
  background: transparent;
}

.sfc-supporters-map__pin {
  display: block;
  width: 32px;
  height: 48px;
  overflow: visible;
  filter: drop-shadow(0 2px 3px rgb(0 0 0 / 28%));
}

.sfc-supporters-map__pin-selection {
  fill: none;
  stroke: #fff;
  stroke-width: 2.5px;
  opacity: 0;
  pointer-events: none;
}

.sfc-supporters-map__pin-wrap[aria-expanded="true"] .sfc-supporters-map__pin-selection {
  opacity: 1;
}

.sfc-supporters-map__pin-wrap[aria-expanded="true"] .sfc-supporters-map__pin {
  filter: drop-shadow(0 0 5px rgb(33 20 82 / 80%)) drop-shadow(0 3px 4px rgb(0 0 0 / 35%));
}

.sfc-supporters-map__pin-needle {
  fill: #e9e7ed;
  stroke: #211452;
  stroke-width: 1.5px;
  stroke-linejoin: round;
}

.sfc-supporters-map__pin-head {
  fill: #fdc300;
  stroke: #211452;
  stroke-width: 2px;
}

.sfc-supporters-map__pin-highlight {
  fill: #fff;
  opacity: 0.65;
}

.sfc-supporters-map__pin-wrap:focus-visible {
  outline: 3px solid #211452;
  outline-offset: 5px;
}

.sfc-supporters-map__panel[hidden] {
  display: none;
}

.sfc-supporters-map__panel {
  position: absolute;
  z-index: 1000;
  inset: 0 0 0 auto;
  box-sizing: border-box;
  width: min(420px, 47%);
  padding: 1.2rem clamp(1.2rem, 2.5vw, 2rem) 2rem;
  overflow-y: auto;
  background: #fff;
  border-left: 6px solid #fdc300;
  box-shadow: -16px 0 35px rgb(20 15 40 / 24%);
  animation: sfc-supporter-panel-in 220ms ease-out both;
}

.sfc-supporters-map__close {
  display: block;
  margin: 0 0 1.8rem auto;
  padding: 0.35rem 0.5rem;
  border: 0;
  background: transparent;
  color: #211452;
  cursor: pointer;
  font: inherit;
  font-size: 0.85rem;
  font-weight: 800;
}

.sfc-supporters-map__close span {
  margin-left: 0.3rem;
  font-size: 1.7rem;
  line-height: 0;
  vertical-align: -0.1em;
}

.sfc-supporters-map__close:focus-visible {
  outline: 3px solid #211452;
  outline-offset: 3px;
}

.sfc-supporters-map__panel .sfc-supporters-map__place {
  color: #645a7a;
}

.sfc-supporters-map__details h3 {
  margin: 0 0 1.2rem;
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  line-height: 1.25;
}

.sfc-supporters-map__portrait {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.sfc-supporters-map__description {
  margin-top: 1.3rem;
  line-height: 1.65;
  white-space: pre-line;
}

.sfc-supporters-map__link {
  display: inline-block;
  margin-top: 0.7rem;
  color: #211452;
  font-weight: 800;
  text-underline-offset: 0.2em;
}

.sfc-supporters-map__note {
  max-width: 70rem;
  margin: 0.8rem auto 0;
  padding-inline: 1.5rem;
  color: #5d586a;
  font-size: 0.8rem;
  line-height: 1.6;
}

.sfc-supporters-map__note a {
  color: inherit;
  text-decoration: underline;
}

.sfc-supporters-map__fallback {
  padding: 2rem;
}

@keyframes sfc-supporter-panel-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@media (max-width: 700px) {
  .sfc-supporters-map__stage { height: 34rem; }
  .sfc-supporters-map__panel {
    inset: auto 0 0;
    width: 100%;
    height: min(72%, 27rem);
    border-left: 0;
    border-top: 6px solid #fdc300;
    animation-name: sfc-supporter-panel-up;
  }
}

@keyframes sfc-supporter-panel-up {
  from { transform: translateY(100%); }
  to { transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .sfc-supporters-map__panel { animation: none; }
}
