.reveal .slides section:not(#title-slide) {
  font-size: 21px;
  line-height: 1.22;
  text-align: left;
}

.reveal .slides .slide-title,
.reveal .slides .contents-slide h1 {
  color: #17365d;
  font-size: 30px;
  font-weight: 650;
  line-height: 1.15;
  margin: 0 0 0.45em;
  text-align: center;
}

.reveal .slides section.contents-slide {
  top: 0 !important;
}

.reveal .slides .contents-slide {
  box-sizing: border-box;
  font-size: 1.55em;
  padding: 0.25em 2.1em 0;
}

.reveal .slides .contents-slide h1 {
  text-align: left;
  margin-bottom: 0.8em;
}

.reveal .slides .contents-slide ul {
  margin: 1.05em auto 0;
  max-width: 1050px;
}

.reveal .slides .contents-slide li {
  margin-bottom: 0.95em;
}

.reveal .slides p,
.reveal .slides ul,
.reveal .slides ol {
  margin-bottom: 0.42em;
  margin-top: 0.22em;
}

.reveal .slides li {
  margin-bottom: 0.25em;
}

.reveal .slides .center {
  text-align: center;
}

.reveal .slides img {
  height: auto;
  max-width: 100%;
  object-fit: contain;
}

.reveal .slides .figure-tiny img { max-height: 12vh; }
.reveal .slides .figure-small img { max-height: 17vh; }
.reveal .slides .figure-medium img { max-height: 23vh; }
.reveal .slides .figure-wide img { max-height: 27vh; }
.reveal .slides .figure-extra-wide img { max-height: 31vh; }
.reveal .slides .figure-tall img { max-height: 43vh; }

.reveal .slides .figure-block,
.reveal .slides .figure-tiny,
.reveal .slides .figure-small,
.reveal .slides .figure-medium,
.reveal .slides .figure-wide,
.reveal .slides .figure-extra-wide,
.reveal .slides .figure-tall,
.reveal .slides .figure-sequence {
  margin: 0.15em 0;
}

.reveal .slides .compact-slide {
  font-size: 0.9em;
  line-height: 1.16;
}

.reveal .slides .dense-slide {
  font-size: 0.84em;
  line-height: 1.13;
}

.reveal .slides .expanded-short-slide {
  font-size: 1.18em;
  line-height: 1.3;
  padding-top: 0.35em;
}

.reveal .slides .expanded-figure-slide img {
  margin-bottom: 0.1em;
  margin-top: 0.05em;
}

.reveal .slides .multi-figure-slide p {
  margin-bottom: 0.28em;
  margin-top: 0.16em;
}

.reveal .slides .commutation-sequence-slide .figure-sequence img {
  max-height: 23vh;
}

.reveal .slides .boundary-safe-slide {
  box-sizing: border-box;
  padding-bottom: 1.1em;
}

/* Use the available canvas on the slides identified during visual review. */
.reveal .slides > section:nth-child(4) > div:first-child,
.reveal .slides > section:nth-child(5) > div:first-child,
.reveal .slides > section:nth-child(6) > div:first-child,
.reveal .slides > section:nth-child(7) > div:first-child,
.reveal .slides > section:nth-child(8) > div:first-child,
.reveal .slides > section:nth-child(9) > div:first-child,
.reveal .slides > section:nth-child(10) > div:first-child,
.reveal .slides > section:nth-child(12) > div:first-child,
.reveal .slides > section:nth-child(14) > div:first-child,
.reveal .slides > section:nth-child(15) > div:first-child,
.reveal .slides > section:nth-child(16) > div:first-child,
.reveal .slides > section:nth-child(17) > div:first-child,
.reveal .slides > section:nth-child(18) > div:first-child,
.reveal .slides > section:nth-child(19) > div:first-child,
.reveal .slides > section:nth-child(21) > div:first-child,
.reveal .slides > section:nth-child(23) > div:first-child,
.reveal .slides > section:nth-child(24) > div:first-child,
.reveal .slides > section:nth-child(27) > div:first-child,
.reveal .slides > section:nth-child(28) > div:first-child,
.reveal .slides > section:nth-child(29) > div:first-child,
.reveal .slides > section:nth-child(30) > div:first-child,
.reveal .slides > section:nth-child(31) > div:first-child,
.reveal .slides > section:nth-child(32) > div:first-child,
.reveal .slides > section:nth-child(33) > div:first-child,
.reveal .slides > section:nth-child(34) > div:first-child,
.reveal .slides > section:nth-child(35) > div:first-child,
.reveal .slides > section:nth-child(36) > div:first-child,
.reveal .slides > section:nth-child(37) > div:first-child {
  box-sizing: border-box;
  display: flex !important;
  flex-direction: column;
  font-size: 22px !important;
  height: 710px;
  justify-content: space-between;
  line-height: 1.24;
  padding-bottom: 0.55em;
}

.reveal .slides .horizontal-spread-slide .columns {
  align-items: stretch;
  column-gap: 2.6em;
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.reveal .slides .horizontal-spread-slide .column {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.reveal .slides .horizontal-spread-slide .column > p {
  margin-bottom: 0.55em;
  margin-top: 0.35em;
}

.reveal .slides mjx-container[display="true"] {
  margin: 0.32em 0 !important;
}

.reveal .slide-number {
  font-size: 20px !important;
}

#title-slide h1 {
  font-size: 100px;
  line-height: 1.03;
}
