/* Recitals page: the opener's three parts, then the ruler of keys. Read top to end. */

.recitalOpener { row-gap: 1.25rem; }
.recitalArticle { display: grid; justify-items: start; gap: 0.6rem; }
.recitalArticle h2 { margin-top: 0.6rem; }
.recitalArticle h2:first-child { margin-top: 0; }
.recitalArticle p + p { margin-top: 0; }
.recitalArticle .emailKey { margin-top: 0.8rem; }
.recitalPicture img { aspect-ratio: 4 / 3; }

@media (min-width: 56rem) {
  .spreadOpener > .recitalLead { grid-column: 1 / span 2; grid-row: 1; }
  .spreadOpener > .recitalArticle { grid-column: 1 / span 2; grid-row: 2; }
  .spreadOpener > .recitalPicture { grid-column: 3 / span 4; grid-row: 1 / span 2; align-self: start; }
  .recitalPicture img { aspect-ratio: auto; }
  .recitalArticle { font-size: 1.0625rem; line-height: 1.45; }
}

/* The year as a ruler of narrow blue keys, four of them orange. */
.recitalYear { padding-top: 0; }
.recitalYearHeading { max-width: 38rem; margin-bottom: 1.5rem; }

.recitalRuler {
  display: grid;
  gap: 1.75rem;
  margin: 0;
  padding: 0;
  list-style: none;
}
.rulerStretch { display: grid; gap: 0.75rem; align-content: start; }
.rulerKeys { display: flex; gap: 0.35rem; }
.rulerKeys .keyFace {
  flex: 1 1 0;
  min-height: 6.5rem;
  padding: 0.6rem 0.5rem 0.8rem;
}
.rulerKeys .keyFace.marked {
  flex: 2.4 1 0;
  justify-content: space-between;
  font-size: 1rem;
}
.rulerKeys .keyNumeral { font-size: 3rem; }
.rulerStretch p { font-size: var(--size-of-reading-text); line-height: 1.45; }

.recitalCaption {
  max-width: 44rem;
  margin-top: 1.75rem;
}

@media (min-width: 56rem) {
  .recitalRuler {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    column-gap: var(--space-between-columns);
  }
  .rulerKeys .keyFace { min-height: 11rem; }
  .rulerKeys .keyNumeral { font-size: 4rem; }
  .rulerStretch p { font-size: 1.0625rem; }
}

/* Focus marks on the links inside the notes follow the lemon ground. */
.recitalCaption a:hover { background: var(--colour-of-the-type); color: var(--colour-of-the-page); }
