/* Lecture-only sizes in Reveal canvas pixels, independent of viewport height. */
.reveal .slides section { box-sizing: border-box; }
.reveal .slides section h1 { font-size: 1.7em; }
.reveal .slides section h2 { font-size: 1.25em; }
.reveal .slides section .recording-figure {
  width: auto; height: auto; max-width: 100%; max-height: 380px;
  object-fit: contain; margin: 0.25em auto 0;
}
.reveal .slides section p:has(> a:only-child) { font-size: 0.85em; }

/* Pair the coincident explanation with its concrete XY example. */
.reveal .xy-explanation { display: flex; align-items: center; gap: 32px; }
.reveal .slides section .xy-explanation .recording-figure { max-width: 48%; max-height: 420px; margin: 0; }
.reveal .xy-explanation ul { flex: 1; min-width: 0; margin-left: 0.7em; }

/* Keep the original example pictures above a single row of audio controls. */
.reveal .slides section:has(.recording-audio) .recording-figure { max-height: 270px; }
.reveal .recording-audio { display: flex; gap: 18px; margin: 16px 0; }
.reveal .recording-audio > div { flex: 1; min-width: 0; }
.reveal .recording-audio span { display: block; font-size: 24px; margin-bottom: 6px; }
.reveal .recording-audio audio { display: block; width: 100%; height: 42px; }
.reveal .slides section:has(.recording-audio) p:has(> a:only-child) { font-size: 24px; margin: 12px 0 0; }
