@keyframes ba-map-pop {
  0% {
    transform: scale(1);
  }
  55% {
    transform: scale(1.12);
  }
  100% {
    transform: scale(1.06);
  }
}
.ba-map {
  --ba-map-available: #769267;
  --ba-map-uncovered: #d5ceb5;
  --ba-map-uncovered-hover: #c4bb9c;
}
.ba-map__svg {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 518/450;
  overflow: visible;
}
.ba-map__departements path {
  fill: var(--ba-map-uncovered);
  stroke: #fff;
  stroke-opacity: 0.82;
  stroke-width: 0.6;
  vector-effect: non-scaling-stroke;
  transform-box: fill-box;
  transform-origin: center;
  cursor: pointer;
  transition: fill 0.2s ease, transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ba-map__departements path.is-uncovered.is-preview {
  fill: var(--ba-map-uncovered-hover);
}
.ba-map__departements path.is-available, .ba-map__departements path.is-site {
  fill: var(--ba-map-available);
}
.ba-map__departements path.is-site {
  fill: var(--wp--preset--color--red);
}
.ba-map__departements path.is-available.is-preview {
  fill: var(--wp--custom--button--hover-green);
}
.ba-map__departements path.is-site.is-preview {
  fill: var(--wp--custom--button--hover-red);
}
.ba-map__departements path.is-selected {
  fill: var(--wp--preset--color--dark-green);
  stroke-opacity: 1;
  stroke-width: 1.2;
  transform: scale(1.06);
  animation: ba-map-pop 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.ba-map__labels {
  font-family: var(--wp--preset--font-family--body);
  font-size: 10.5px;
  fill: #fff;
  fill-opacity: 0.9;
  text-anchor: middle;
  pointer-events: none;
}
@media (hover: hover) and (pointer: fine) {
  .ba-map__departements path.is-available:not(.is-selected):hover {
    fill: var(--wp--custom--button--hover-green);
  }
  .ba-map__departements path.is-site:not(.is-selected):hover {
    fill: var(--wp--custom--button--hover-red);
  }
  .ba-map__departements path.is-uncovered:not(.is-selected):hover {
    fill: var(--ba-map-uncovered-hover);
  }
}
@media (prefers-reduced-motion: reduce) {
  .ba-map__departements path {
    transition: none;
  }
  .ba-map__departements path.is-selected {
    transform: none;
    animation: none;
  }
}