.tooltip {
  position: relative;
}
.tooltip a {
  color: black;
}
.tooltip__btn {
  border: none;
  padding: 0;
  display: inline-flex;
  align-items: center;
  gap: .25em;
  font-size: inherit;
  border-bottom: 1px solid #2B5F46;
  z-index: 1;
  cursor: pointer;
}
.tooltip__btn svg {
  height: 1em;
  width: 1em;
}
.tooltip__btn[aria-expanded="true"]:before {
  bottom: 100%;
  left: 50%;
  border: solid transparent;
  content: "";
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
  border-color: rgba(255, 255, 255, 0);
  border-top-color: #ffffff;
  border-width: 10px;
  margin-left: -10px;
  filter: drop-shadow(rgba(0, 0, 0, 0.15) 0 5px 2px);
  z-index: 2;
}
.tooltip__popup {
  display: none;
}
.tooltip__popup[aria-hidden="false"] {
  display: block;
  margin: 1rem 0;
  position: absolute;
  bottom: 100%;
  margin-bottom: 1rem;
  padding: 1.5rem;
  background-color: #ffffff;
  filter: drop-shadow(rgba(0, 0, 0, 0.25) 0 3px 3px);
  z-index: 1;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  max-width: 75vw;
}
@media screen and (max-width: 34.9375em) {
  .tooltip__popup[aria-hidden="false"] {
    right: initial;
    left: initial;
    transform: none;
    width: 100vw;
  }
}
@media screen and (min-width: 35em) {
  .tooltip__popup.tooltip__popup--left {
    left: 0;
    right: initial;
    transform: none;
  }
  .tooltip__popup.tooltip__popup--right {
    right: 0;
    left: initial;
    transform: none;
  }
}
.tooltip__close {
  background-color: transparent;
  border: none;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.5rem;
}
@media screen and (max-width: 34.9375em) {
  .tooltip__close {
    width: initial;
  }
}
