/* ----------------------------------------------------------
   RESET CONGO / TAILWIND TYPOGRAPHY PLUGIN
   ---------------------------------------------------------- */

.prose,
.prose * {
  all: unset;
  display: revert;
}

/* ----------------------------------------------------------
   GLOBAL BASE TYPOGRAPHY
   ---------------------------------------------------------- */

html {
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--color-text);
  -webkit-font-smoothing: antialiased;
}

/* ----------------------------------------------------------
   HEADINGS
   ---------------------------------------------------------- */

h1, h2, h3, h4 {
  font-family: var(--font-heading);
  font-weight: 600;
  letter-spacing: 0.01em;
  line-height: 1.25;
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
}

h1 {
  font-size: 2rem;
  margin-top: 0; /* top of page */
}

h2 {
  font-size: 1.35rem;
  font-weight: 500;
}

h3 {
  font-size: 1.1rem;
  font-weight: 500;
  margin-top: 1.4rem;
}

h4 {
  font-size: 1rem;
  font-weight: 500;
}

/* ----------------------------------------------------------
   PARAGRAPHS & TEXT BLOCKS
   ---------------------------------------------------------- */

p {
  margin: 0.4rem 0 0.9rem;
  line-height: 1.2;
}

.piece-page__inner p,
.movement-page__inner p {
  max-width: 65ch;
  line-height: 1.2;
}

/* Performer credit line */
.piece-credit {
  font-size: 0.95rem;
  color: #444;
  margin-bottom: 1.2rem;
}

/* Audio label */
.audio-label {
  font-size: 0.95rem;
  font-weight: 500;
  color: #444;
  margin-bottom: 0.3rem;
  letter-spacing: 0.01em;
}

/* ----------------------------------------------------------
   STANZA / POETRY BLOCKS
   ---------------------------------------------------------- */

.stanza {
  margin: 1rem 0;
  line-height: 1.2;
}

.stanza p {
  margin: 0.25rem 0;
  line-height: 1.2;
}

/* ----------------------------------------------------------
   LOZENGES (parent, piece, movement)
   ---------------------------------------------------------- */

.parent-lozenge,
.piece-lozenge,
.front-matter,
.movement-lozenge {
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: 0.01em;
}

/* ----------------------------------------------------------
   NAVIGATION (prev/next)
   ---------------------------------------------------------- */

.piece-nav a {
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--color-primary);
}

.piece-nav a:hover {
  text-decoration: underline;
}
