.ccsc-image-map {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: visible;
  line-height: 0;
}

.ccsc-image-map-base {
  width: 100%;
  height: auto;
  display: block;
}

.ccsc-image-map-layer {
  position: absolute;
  inset: 0;
}

.ccsc-image-map-pin {
  position: absolute;
  transform: translate(-50%, -100%);
  display: inline-flex;
  align-items: flex-end;
  justify-content: center;
  text-decoration: none;
  z-index: 2;
}

.ccsc-image-map-pin img {
  width: 22px;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 2px rgb(0 0 0 / 22%));
}

.ccsc-image-map-tooltip {
  position: absolute;
  bottom: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  color: var(--navy);
  border: 1px solid rgb(8 55 92 / 20%);
  border-radius: 8px;
  padding: 8px 10px;
  min-width: 170px;
  max-width: 250px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: 0 3px 10px rgb(0 0 0 / 14%);
  text-align: center;
  z-index: 20;
}

.ccsc-image-map-tooltip strong,
.ccsc-image-map-tooltip em {
  display: block;
  line-height: 1.35;
}

.ccsc-image-map-tooltip strong {
  font-style: normal;
  font-size: 1.4rem;
}

.ccsc-image-map-tooltip em {
  font-size: 1.2rem;
  font-style: normal;
  opacity: 0.8;
}

.ccsc-image-map-pin:hover .ccsc-image-map-tooltip,
.ccsc-image-map-pin:focus .ccsc-image-map-tooltip,
.ccsc-image-map-pin.is-active .ccsc-image-map-tooltip {
  opacity: 1;
}

.ccsc-image-map-pin:hover,
.ccsc-image-map-pin:focus,
.ccsc-image-map-pin.is-active {
  z-index: 30;
}

@media screen and (max-width: 980px) {
  .ccsc-image-map-pin {
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

  .ccsc-image-map-pin img {
    display: none;
  }

  .ccsc-image-map-pin::after {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #07375d;
    border: 1px solid #ffffff;
    box-shadow: 0 0 0 1px rgb(7 55 93 / 25%);
    display: block;
  }

  .ccsc-image-map-tooltip {
    display: none !important;
  }
}
