:root{
  --parchment:#F3E8D5;
  --green:#235836;
  --charcoal:#353635;
  --gold:#C9A24A;
}

.page-head h1{
  margin: 0;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.subtitle{
  margin: 6px 0 0;
  font-weight: 800;
  letter-spacing: .10em;
  text-transform: uppercase;
  color: rgba(0,0,0,.68);
}

.sofa-text h2{
  margin-top: 22px;
  margin-bottom: 10px;
  font-size: 22px;
}
.sofa-text h3{
  margin-top: 18px;
  margin-bottom: 10px;
  font-size: 18px;
}

.xref{
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.xref:hover{ opacity: .9; }

.esv-footnote{
  margin-top: 20px;
  padding-top: 12px;
  border-top: 1px solid rgba(0,0,0,.14);
}

.small{ font-size: 14px; }

/* Drawer */
.drawer-backdrop{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  display: none;
  z-index: 9998;
}
.verse-drawer{
  position: fixed;
  left: 12px;
  right: 12px;
  bottom: 12px;
  z-index: 9999;
  background: var(--parchment);
  border-radius: 18px;
  border: 1px solid rgba(0,0,0,.18);
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
  display: none;
  overflow: hidden;
}
.verse-drawer-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding: 14px 14px 10px;
  border-bottom: 1px solid rgba(0,0,0,.10);
  color: var(--charcoal);
  z-index: 20000;
}
.drawer-ref{
  font-weight: 900;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.drawer-close{
  appearance:none;
  border:1px solid rgba(0,0,0,.15);
  background: rgba(255,255,255,.35);
  border-radius: 12px;
  padding: 8px 10px;
  font-weight: 900;
  cursor:pointer;
}
.drawer-text{
  margin: 0;
  padding: 14px;
  line-height: 1.55;
  white-space: pre-wrap;
  max-height: 52vh;
  overflow: auto;
  color: var(--charcoal);
  z-index: 20000;
}
.drawer-actions{
  padding: 0 14px 14px;
  display:flex;
  justify-content:flex-end;
  gap: 10px;
}
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:12px;
  font-weight:900;
  background: var(--gold);
  color:#1a1a1a;
  border:1px solid rgba(0,0,0,.15);
  text-decoration:none;
}
.btn-outline{
  background: transparent;
  color: #1a1a1a;
}
