/* bible-notetaking — page-specific styles. Override framework defaults here. */

/* ───────── A note, shown as it appears on the page ───────── */
.note-demo {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  text-align: left;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-left: 20px solid var(--gold);
  border-radius: 0;
  padding: 22px 24px;
  box-shadow: var(--shadow-soft);
}

.note-demo .nref {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.note-demo .nverse {
  font-family: var(--display);
  font-size: 1.08rem;
  line-height: 1.66;
  color: var(--ink);
}

.note-demo .nverse sup {
  color: var(--gold);
  font-family: var(--sans);
  font-size: 0.6rem;
  font-weight: 700;
  margin-right: 5px;
  vertical-align: super;
}

.note-demo .nnote {
  font-family: var(--text);
  font-size: 1rem;
  line-height: 1.72;
  color: var(--ink-soft);
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line-soft);
}

.note-demo .nnote em {
  font-style: italic;
  color: var(--ink-body);
}

.note-demo .nmeta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.note-demo .nmeta span {
  font-family: var(--sans);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 12px;
}

/* ───────── The two ways to pull a verse into a note ───────── */
.insert-keys {
  display: flex;
  gap: 26px;
  margin-top: 24px;
}

.insert-keys > div {
  flex: 1;
  color: var(--ink-body);
  line-height: 1.66;
}

.insert-keys strong {
  display: block;
  color: var(--ink);
  font-size: 1.06rem;
  margin-bottom: 8px;
}

.insert-keys .k {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 4px;
  background: var(--gold);
  color: var(--paper);
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 20px;
}

.insert-keys > div:nth-of-type(2) .k {
  background-color: #bb9d8f;
  color: var(--ink);
}

@media (max-width: 640px) {
  .insert-keys {
    flex-direction: column;
  }
}

@media (max-width: 900px) {
  .note-demo {
    max-width: 340px;
  }
}
