.bible-ref {
  color: #2f4c34;
  cursor: help;
  border-bottom: 1px dotted currentColor;
  text-decoration: none;
  transition: color 0.16s ease, border-color 0.16s ease;
}

.bible-ref:hover,
.bible-ref:focus-visible {
  color: #1d3322;
  border-bottom-style: solid;
  outline: none;
}

.bible-tooltip {
  display: none;
  position: absolute;
  z-index: 99999;
  max-width: min(420px, calc(100vw - 32px));
  padding: 14px 16px;
  border: 1px solid rgba(47, 76, 52, 0.25);
  border-top: 4px solid #2f4c34;
  border-radius: 4px;
  background: #fff;
  color: #333;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.18);
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  font-weight: 400;
  line-height: 1.6;
  text-align: left;
}

.bible-tooltip::before {
  content: "";
  position: absolute;
  top: -6px;
  left: 24px;
  border-width: 0 8px 8px 8px;
  border-style: solid;
  border-color: transparent transparent #2f4c34 transparent;
}

.bible-tooltip a {
  color: #2f4c34;
  text-decoration: underline;
}

.bible-tooltip a:hover,
.bible-tooltip a:focus-visible {
  color: #1d3322;
}
