.cts-aih {
  box-sizing: border-box;
  margin: 1.5rem 0;
  max-width: 100%;
}

.cts-aih *,
.cts-aih *::before,
.cts-aih *::after {
  box-sizing: border-box;
}

.cts-aih__map {
  display: inline-block;
  line-height: 1.4;
  max-width: 100%;
  position: relative;
}

.cts-aih__image {
  display: block;
  height: auto;
  margin: 0;
  max-width: 100%;
}

.cts-aih__hotspot {
  left: var(--cts-aih-x);
  position: absolute;
  top: var(--cts-aih-y);
  z-index: 2;
}

.cts-aih__pin {
  align-items: center;
  background: #1d2327;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  display: flex;
  font: 700 0.9rem/1 system-ui, sans-serif;
  height: 2.25rem;
  justify-content: center;
  padding: 0;
  transform: translate(-50%, -50%);
  width: 2.25rem;
}

.cts-aih__pin:hover,
.cts-aih__pin[aria-expanded="true"] {
  background: #3858e9;
}

.cts-aih__pin:focus-visible {
  outline: 3px solid #3858e9;
  outline-offset: 3px;
}

.cts-aih__panel {
  background: #fff;
  border: 1px solid #c3c4c7;
  border-radius: 0.45rem;
  box-shadow: 0 0.75rem 2rem rgba(0, 0, 0, 0.25);
  color: #1d2327;
  font: 400 0.95rem/1.45 system-ui, sans-serif;
  left: 1.4rem;
  min-width: 12rem;
  padding: 0.85rem;
  position: absolute;
  text-align: left;
  top: 1.4rem;
  width: min(18rem, 70vw);
  z-index: 5;
}

.cts-aih__panel[hidden] {
  display: none !important;
}

.cts-aih__hotspot--flip-x .cts-aih__panel {
  left: auto;
  right: 1.4rem;
}

.cts-aih__hotspot--flip-y .cts-aih__panel {
  bottom: 1.4rem;
  top: auto;
}

.cts-aih__title {
  display: block;
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.cts-aih__panel p {
  margin: 0 0 0.55rem;
}

.cts-aih__panel a {
  font-weight: 700;
}
