@font-face {
  font-family: hebrew;
  src: url('https://www.sbl-site.org/wp-content/themes/basket/fonts/bib-fonts/SBL_Hbrw.ttf');
}
@font-face {
  font-family: arabic;
  src: url('https://raw.githubusercontent.com/mustafa0x/qpc-fonts/f93bf5f3/various-woff2/UthmanTN1%20Ver10.woff2');
}

.buttons {
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.buttons button {
  flex: 1 1 0;
  min-width: 0;
}

small {
  font-size: 0.9rem !important;
}

br {
  display: none;
}

.hebrew {
  font-family: hebrew, serif;
  font-size: 2rem;
}

.arabic {
  font-family: arabic, serif;
  font-size: 2rem;
}

.english:has(.poetry) {
  display: flex;
  flex-direction: column;
}

.footnote-marker {
  cursor: pointer;
  text-decoration: underline;
  position: relative;
}

.footnote {
  visibility: hidden;
  position: absolute;
  background-color: #fff;
  color: var(--border-color);
  padding: 8px 12px;
  font-size: 0.85rem;
  line-height: 1.4;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  z-index: 100;
  pointer-events: none;
}

.footnote-marker:hover ~ .footnote {
  visibility: visible;
  opacity: 1;
}

@media screen and (max-width: 768px) {
  .buttons {
    flex-direction: column;
    gap: 0.2rem;
  }

  button {
    margin: 2px;
  }
}