/* Tuition page: the blue spread, the three rate keys drawn to scale, the registration note. Read top to end. */

/* Blue page: the four corner keys keep their silhouette with a lemon edge on blue. */
.tuitionSheet .cornerKey { box-shadow: inset 0 0 0 0.14rem var(--colour-of-the-lemon); }
.tuitionSheet .cornerKey:hover { box-shadow: inset 0 0 0 0.14rem var(--colour-of-the-orange); }
.tuitionSpread { padding-bottom: 4rem; }

/* The opening: picture takes three columns at the left, words three at the right. */
.tuitionOpener .openerWords > div { display: block; }
.tuitionOpener .keyCrop figcaption { color: var(--colour-of-the-lemon); }
.tuitionOpener .emailKey:focus-visible,
.tuitionSpread .keyFace:focus-visible { outline-color: var(--colour-of-the-orange); }
.tuitionOpener .emailKey:hover { background: var(--colour-of-the-lemon); color: var(--colour-of-the-navy); }
@media (min-width: 56rem) {
  .tuitionOpener > .openerPicture { grid-column: 1 / span 3; grid-row: 1; }
  .tuitionOpener > .openerWords { grid-column: 4 / span 3; grid-row: 1; align-content: space-between; }
  .tuitionOpener .keyCrop img { height: clamp(18rem, calc(100vh - 13rem), 36rem); }
}

/* Rate keys: widths in the ratio 2 : 3 : 4, which is 30 : 45 : 60 minutes. */
.rateKeys {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 0.35rem;
  margin-top: 2rem;
}
.rateKey, .monthlyKey { min-height: 9rem; padding: 1rem 1.1rem 1.2rem; gap: 0.5rem; justify-content: space-between; }
.rateKey h3, .monthlyKey h3 { display: flex; align-items: baseline; gap: 0.6rem; }
.rateKey p, .monthlyKey p { margin: 0; }
.rateMinutes { font-size: clamp(3rem, 8vw, 6.5rem); }
.rateAmount { font-size: clamp(1.75rem, 3vw, 2.5rem); line-height: 1.1; }
.rateUnit { font-size: var(--size-of-small-text); }
.thirtyMinutes { width: 50%; }
.fortyFiveMinutes { width: 75%; }
.sixtyMinutes, .monthlyKey { width: 100%; }
.monthlyKey { min-height: 7rem; }
.monthlyKey h3 { font-size: var(--size-of-a-minor-heading); }

@media (min-width: 56rem) {
  .rateKeys { grid-template-columns: 2fr 3fr 4fr; }
  .rateKey { width: auto; min-height: 15rem; }
  .monthlyKey { grid-column: 1 / -1; width: auto; min-height: 8rem; flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 2rem; }
  .monthlyKey h3 { flex: 0 0 auto; }
}

/* Registration note and the ask key in the inset column. */
.askKey { min-height: 8rem; font-size: var(--size-of-small-text); }
.tuitionSpread .sixColumns h2 { margin-bottom: 0.8rem; }
.tuitionSpread .shortMeasure hr { margin: 1.25rem 0 0; }
.tuitionSpread .longMeasure a { text-decoration-thickness: 0.12em; }
.tuitionSpread .longMeasure a:hover { background: var(--colour-of-the-lemon); color: var(--colour-of-the-blue); }
.tuitionSpread .longMeasure .smallPrint { margin-top: 1rem; }

/* Onward keys on blue: lemon faces with navy type, one orange. */
.tuitionSpread .onwardKeys .keyFace { justify-content: space-between; padding: 1rem 1.1rem 1.2rem; }
.tuitionSpread .onwardKeys .pulledLine { font-size: var(--size-of-a-spread-heading); }

/* The ribbon stands in place at once: no motion to take away. */
.tuitionSpread .rateRibbon a { min-height: 2.75rem; display: inline-flex; align-items: center; }
@media (max-width: 55.99rem) {
  .tuitionSpread { padding-bottom: 6rem; }
}
