.trap-term {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  color: var(--blue-dark, #214d78);
  background: transparent;
  font: inherit;
  font-weight: 900;
  text-align: inherit;
  text-decoration-line: underline;
  text-decoration-style: dotted;
  text-decoration-color: rgba(201, 123, 66, .9);
  text-decoration-thickness: 1.5px;
  text-underline-offset: 4px;
  cursor: pointer;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

.trap-term:hover,
.trap-term:focus-visible,
.trap-term[aria-expanded="true"] {
  color: var(--warm, #b96637);
  text-decoration-color: currentColor;
}

.trap-term:focus-visible {
  outline: 2px solid rgba(51, 126, 190, .32);
  outline-offset: 3px;
}

.trap-popover {
  position: fixed;
  z-index: 1200;
  width: min(330px, calc(100vw - 24px));
  min-height: 104px;
  padding: 15px 16px 16px;
  border: 1px solid rgba(31, 71, 108, .22);
  border-radius: 8px;
  color: #14243a;
  background: rgba(255, 255, 255, .985);
  box-shadow: 0 18px 48px rgba(18, 42, 70, .16), 0 2px 8px rgba(18, 42, 70, .08);
  opacity: 0;
  visibility: hidden;
  transform: translateY(5px);
  pointer-events: none;
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.trap-popover.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.trap-popover-label {
  display: block;
  margin-bottom: 5px;
  color: var(--warm, #b96637);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-transform: uppercase;
}

.trap-popover-title {
  margin: 0 0 6px;
  color: var(--blue-dark, #214d78);
  font-size: 18px;
  font-weight: 900;
  line-height: 1.18;
}

.trap-popover-definition {
  margin: 0;
  color: #435269;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.48;
}

.trap-popover.is-loading .trap-popover-definition {
  color: #748095;
}

@media (max-width: 680px) {
  .trap-popover {
    padding: 14px 15px 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trap-term,
  .trap-popover {
    transition: none;
  }
}
