/* Programme navigation: dates, event names and desktop day columns share a rhythm. */
.weekend-keys {
  max-width: 54rem;
  margin: 0 auto clamp(1.05rem,2.3vw,2rem);
  border-block: 1px solid var(--line);
}
.weekend-keys .wk-day {
  display: grid;
  grid-template-columns: minmax(0, .54fr) minmax(0, 1fr);
  align-items: baseline;
  column-gap: .75rem;
  padding-block: .1rem;
}
.weekend-keys .wk-day + .wk-day {border-top: 1px solid var(--line)}
.weekend-keys time {
  color: var(--gold);
  font: 500 .875rem/1.45 Manrope,Arial,sans-serif;
  font-variant-numeric: tabular-nums;
}
.weekend-keys .wk-events {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0 .45rem;
  min-width: 0;
}
.weekend-keys .wk-events a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding-inline: .1rem;
  color: var(--cream);
  font-size: 1rem;
  line-height: 1.3;
  text-decoration: underline;
  text-decoration-color: #928369;
  text-decoration-thickness: 1px;
  text-underline-offset: .26em;
}
.weekend-keys .wk-events a + a {padding-inline-start: .85rem}
.weekend-keys .wk-events a + a::before {
  content: '';
  /* An in-flow dot used to become the link's baseline in some mobile browsers. */
  position: absolute;
  inset-inline-start: .07rem;
  top: 50%;
  transform: translateY(-50%);
  width: .18rem;
  height: .18rem;
  border-radius: 50%;
  background: var(--gold);
}
.weekend-keys a:hover {text-decoration-color: currentColor}
.weekend-keys a:focus-visible {outline-offset: 2px}
@media(min-width:45rem){
  .weekend-keys {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    padding-block: .8rem;
  }
  .weekend-keys .wk-day {
    display: flex;
    flex-flow: column;
    align-items: center;
    justify-content: flex-start;
    padding-inline: .5rem;
  }
  .weekend-keys .wk-day + .wk-day {border-top: 0; border-inline-start: 1px solid var(--line)}
  .weekend-keys .wk-events {justify-content: center}
}
@media(max-width:44.99rem){
  #chapters .section-heading {text-align: start}
  #chapters .section-heading .lead {text-wrap: pretty}
  #chapters .chapter-switch {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    gap: .38rem;
  }
  #chapters .chapter-switch button {
    display: grid;
    place-items: center;
    min-inline-size: 0;
    min-block-size: 2.875rem;
    padding: .5rem .3rem;
    line-height: 1.25;
    text-align: center;
    text-wrap: balance;
    overflow-wrap: anywhere;
    hyphens: auto;
  }
}
