/* credits.css — Credits & Attribution page.
 *
 * Two voices only: the credit title in the handwritten face at 1.3em, and the
 * required license text beneath it in a smaller serif.
 *
 * This page is PUBLIC. It states what we are licensed to use and who to thank —
 * nothing else. Review state, open questions and things still being chased are
 * internal and live in CREDITS-INVENTORY.md, which is not deployed. An entry
 * belongs here once its terms are known; until then it does not appear. */

.credits-sheet { max-width: 52rem; margin: 0 auto; }

.credits-intro {
  font-family: BookSanity, serif;
  font-size: 1rem;
  line-height: 1.55;
  margin: 0 0 1.6rem;
}

.credit-group { margin: 0 0 2rem; }

.credit-group h2 {
  font-family: MrJeeves, serif;
  color: #58180D;
  font-size: 1.5rem;
  border-bottom: 2px solid #c9ad6a;
  margin: 0 0 .9rem;
  padding-bottom: .15rem;
}

.credit-note {
  font-family: BookSanity, serif;
  font-size: .92rem;
  font-style: italic;
  color: #5a4632;
  margin: -.35rem 0 1rem;
}

.credit { margin: 0 0 1.15rem; break-inside: avoid; }

.credit-title {
  font-size: 1.3em;
  font-family: WalterTurncoat;
  color: #58180D;
  margin: 0 0 .2rem;
  line-height: 1.25;
}

.credit-license {
  font-family: BookSanity, serif;
  font-size: .88rem;
  line-height: 1.5;
  color: #3b3226;
  margin: 0 0 .35rem;
  padding-left: .9rem;
  border-left: 2px solid rgba(201, 173, 106, .5);
}

.credit-license a { color: #007618; }
.credit-license a:hover { color: #00520f; }

@media (max-width: 600px) {
  .credit-title { font-size: 1.15em; }
  .credit-license { font-size: .84rem; padding-left: .6rem; }
}


/* The full Licensed Material list. ORC wants every title identified; a reader
   wants a page they can scan. Collapsed satisfies both. */
.credit-sources { margin: 0 0 .35rem; }

.credit-sources summary {
  font-family: BookSanity, serif;
  font-size: .88rem;
  color: #5a4632;
  cursor: pointer;
  padding-left: .9rem;
  margin-bottom: .35rem;
}

.credit-sources summary:hover { color: #58180D; }

/* Print and PDF have no one to click, so the list must not hide there. */
@media print {
  .credit-sources summary { list-style: none; }
  .credit-sources > *:not(summary) { display: block !important; }
}
