/* ==========================================================
   Nursery rhyme lyric pages (nursery-rhymes.html, nursery-rhymes/*.html).
   Loaded after assets/style.css. Written for tools/build-rhymes.mjs.
   ========================================================== */

/* the video beside the rhyme's name, in place of an app icon */
.rh-hero-video { width: clamp(260px, 38vw, 500px); }
.rh-hero-video .player { rotate: -1.5deg; }
@media (max-width: 640px) { .rh-hero-video { width: min(100%, 440px); } }
.rh-note { margin: .6rem 0 0; font-size: .9rem; font-weight: 700; color: #0C4A63; }
button.pill { font-family: inherit; }

/* the words: big, centred and easy to sing from */
.rh-lyrics {
  max-width: 720px; margin: 1.4rem auto 0; padding: clamp(1.4rem, 4vw, 2.6rem) clamp(1.1rem, 4vw, 3rem);
  background: #fff; border-radius: 34px; text-align: center;
  border: 4px solid var(--c1, var(--blue-1));
  box-shadow: 0 8px 0 rgba(42,46,67,.08), 0 16px 32px rgba(42,46,67,.08);
}
.rh-verse {
  margin: 0 0 1.5em; font-size: clamp(1.12rem, 2.6vw, 1.45rem); line-height: 1.75;
  font-weight: 700; color: var(--ink);
}
.rh-verse:last-child { margin-bottom: 0; }
.rh-tag {
  display: inline-block; margin: 0 0 .5rem; padding: .2rem .8rem; border-radius: var(--pill);
  font-size: .78rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase;
  background: var(--c3, var(--blue-3)); color: #fff;
}
.rh-again { display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 1.6rem 0 0; }

/* print just the words, nothing else on the page */
@media print {
  body * { visibility: hidden; }
  #lyrics, #lyrics * { visibility: visible; }
  #lyrics { position: absolute; inset: 0 0 auto 0; }
  .rh-lyrics { border: 0; box-shadow: none; }
  .rh-again { display: none; }
}
