/* 1. Variables */
:root {
  --pku-red: #8c0000;
  --text-color: #111;
  --muted-text: #555;
  --slide-font: "Avenir Next", "Charter", -apple-system, BlinkMacSystemFont,
    "SF Pro Text", "Noto Sans SC", "PingFang SC", "Microsoft YaHei",
    "Helvetica Neue", Arial, sans-serif;
  --title-font: "Charter", "Avenir Next", "Iowan Old Style", Georgia,
    "Times New Roman", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", serif;
  --equation-size: 24px;
}

/* 2. Global reveal defaults */
.reveal {
  color: var(--text-color);
  font-family: var(--slide-font);
  font-weight: 400;
}

.reveal .slides section {
  text-align: left;
}

.reveal p,
.reveal li {
  font-family: var(--slide-font);
  font-weight: 400;
  line-height: 1.35;
}

.reveal p {
  font-size: 0.75em;
}

.reveal ul {
  font-size: 0.85em;
  line-height: 1.45;
}

.reveal strong,
.reveal b {
  font-weight: 600;
}

.reveal img {
  max-height: 520px;
  object-fit: contain;
}

.reveal .progress {
  display: none !important;
}

/* 3. Header, logo, progress */
.reveal h1,
.reveal h2,
.reveal h3 {
  font-family: var(--title-font);
  font-weight: 400;
  letter-spacing: 0;
}

.reveal h2 {
  display: inline-block;
  max-width: calc(100% - 185px);
  margin: 22px 0 1.25em;
  font-size: 0.82em;
  white-space: nowrap;
}

.reveal .slides section:not(.cover-slide):not(:has(> section)) > h2::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 0.18em;
  background: var(--pku-red);
}

.reveal .slides section:not(:has(> section))::after {
  content: "";
  position: absolute;
  top: 24px;
  right: 0;
  width: 135px;
  height: 55px;
  background: url("../assets/logos/pekingu.png") right top / contain no-repeat;
  pointer-events: none;
}

/* Bottom section progress bar */
.reveal .section-progress {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  pointer-events: none;
}

.reveal .section-progress p {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin: 0;
  color: #bbb;
  font-size: 0.18em;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.reveal .section-progress span {
  border-top: 2px solid rgba(140, 0, 0, 0.18);
  padding-top: 0.45em;
  color: #bbb;
  font-weight: 400;
}

.reveal .section-progress .active {
  color: #9b0000;
  border-top-color: #9b0000;
  font-size: 1.12em;
  font-weight: 700;
}

/* 4. Reusable components */
.reveal .fig-caption {
  display: block;
  margin-top: 0.3em;
  color: #333;
  font-size: 0.56em;
  line-height: 1.3;
  text-align: center;
}

.reveal .fig-caption strong {
  color: #1a1a1a;
  font-weight: 700;
}

.reveal .ref {
  display: block;
  margin-top: 0.25em;
  color: #1f4e79;
  font-size: 0.46em;
  text-align: center;
}

.reveal .takeaway {
  margin-top: 0.6em;
  padding: 0.5em 0.9em;
  border-radius: 8px;
  background: #f6efef;
  font-size: 0.62em;
  line-height: 1.4;
  text-align: center;
}

.reveal .takeaway p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.reveal .subhead {
  display: block;
  margin: 0.2em 0 0.6em;
  color: #9b0000;
  font-size: 0.7em;
  text-align: center;
}

.reveal .key-term {
  color: #8c0000;
  font-weight: 600;
}

.reveal .no-break {
  white-space: nowrap;
}

/* 5. Reusable layouts */

/* 6. Slide-specific sections */

/* Cover slide */
.reveal .cover-slide > h2 {
  display: none;
}

.reveal .cover-rule {
  position: absolute;
  top: 112px;
  left: 58px;
  width: 700px;
  height: 4px;
  background: var(--pku-red);
}

.reveal .cover-slide::after {
  top: 32px;
  width: 170px;
  height: 70px;
}

.reveal .cover-title {
  position: absolute;
  top: 158px;
  left: 58px;
  width: 700px;
  font-family: var(--title-font);
  font-size: 1.18em;
  font-weight: 500;
  line-height: 1.18;
}

.reveal .cover-meta {
  position: absolute;
  right: 58px;
  bottom: 116px;
  width: 650px;
  color: #222;
  font-family: var(--slide-font);
  line-height: 1.35;
  text-align: right;
}

.reveal .cover-title p,
.reveal .cover-meta p {
  margin: 0;
  font: inherit;
  line-height: inherit;
}

.reveal .cover-authors {
  margin-bottom: 0.38em;
  font-size: 0.56em;
  font-weight: 500;
  white-space: nowrap;
}

.reveal .cover-event,
.reveal .cover-date {
  color: #333;
  font-size: 0.34em;
  line-height: 1.35;
}

.reveal .cover-date {
  margin-top: 0.15em;
}

/* Model and slip two-column layouts */
.reveal .model-layout,
.reveal .slip-layout {
  display: grid;
  grid-template-columns: 40% 60%;
  align-items: center;
  column-gap: 0;
  min-height: 390px;
  margin-top: 0.25em;
}

.reveal .slip-layout {
  min-height: 400px;
}

.reveal .model-figure-wrap,
.reveal .slip-figure-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reveal .model-figure,
.reveal .slip-figure {
  display: block;
  width: 84%;
  max-height: 440px;
  margin: 0 auto;
}

.reveal .model-notes {
  width: 88%;
  margin: 0;
  padding-left: 0;
}

.reveal .model-notes ul {
  font-size: 0.7em;
  line-height: 1.45;
}

.reveal .model-notes li {
  margin-bottom: 0.95em;
}

/* Reusable equation and mechanism blocks */
.reveal .slip-content,
.reveal .rheology-content,
.reveal .diffusion-content {
  width: 91%;
  margin: 0;
  --block-equation-size: var(--equation-size);
}

.reveal .slip-content {
  transform: translateY(-0.45em);
}

.reveal .rheology-content,
.reveal .diffusion-content {
  width: 91%;
  margin: 0.1em auto 0;
  --block-equation-size: 23px;
}

.reveal .rheology-content {
  --block-equation-size: 21px;
}

.reveal .diffusion-content {
  margin-top: 0.45em;
}

.reveal .diffusion-content .caveat-row {
  transform: translateY(-0.42em);
}

.reveal .mechanism-block {
  margin-bottom: 0.9em;
  padding-left: 0.52em;
  border-left: 3px solid rgba(140, 0, 0, 0.5);
}

.reveal .slip-content .mechanism-block {
  margin-bottom: 0.62em;
}

.reveal .rheology-content .mechanism-block,
.reveal .diffusion-content .mechanism-block {
  margin-bottom: 0.6em;
}

.reveal .diffusion-content .mechanism-block {
  margin-bottom: 0.78em;
}

.reveal .mechanism-block > p:first-child {
  margin: 0 0 0.28em;
  color: #222;
  font-size: 0.58em;
  font-weight: 500;
  line-height: 1.18;
}

.reveal .rheology-content .mechanism-block > p:first-child,
.reveal .diffusion-content .mechanism-block > p:first-child {
  margin-bottom: 0.22em;
}

.reveal .mechanism-block > p:has(.math.display) {
  margin: 0.12em 0 0.22em;
  line-height: 1;
  text-align: left;
}

.reveal .mechanism-block .math.display,
.reveal .mechanism-block .MathJax_Display,
.reveal .mechanism-block mjx-container[display="true"] {
  font-size: var(--block-equation-size) !important;
  text-align: left !important;
}

.reveal .mechanism-block .MathJax_Display {
  margin: 0.12em 0 0.2em !important;
}

.reveal .model-clean-layout {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 0.55em;
  width: 91%;
  min-height: 420px;
  margin: 0.15em auto 0;
  text-align: left;
}

.reveal .newtonian-baseline-layout {
  justify-content: flex-start;
  gap: 0.38em;
  min-height: 0;
  height: calc(100% - 1.35em);
  padding-bottom: 0.55em;
}

.reveal .model-clean-layout p {
  margin: 0;
}

.reveal .model-lead p {
  color: #222;
  font-size: 0.72em;
  font-weight: 600;
  line-height: 1.28;
  text-align: left;
}

.reveal .model-equation {
  text-align: left;
}

.reveal .model-equation .math.display,
.reveal .model-equation .MathJax_Display,
.reveal .model-equation mjx-container[display="true"] {
  font-size: 25px !important;
  text-align: left !important;
}

.reveal .wide-equation .math.display,
.reveal .wide-equation .MathJax_Display,
.reveal .wide-equation mjx-container[display="true"] {
  font-size: 22px !important;
}

.reveal .model-block {
  padding: 0.58em 0.75em;
  border-left: 3px solid rgba(140, 0, 0, 0.45);
}

.reveal .model-block > p:first-child {
  color: #222;
  font-size: 0.6em;
  font-weight: 500;
  line-height: 1.35;
}

.reveal .baseline-row {
  display: grid;
  grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
  align-items: center;
  gap: 0.72em;
  margin-top: 0.08em;
}

.reveal .baseline-figure-panel,
.reveal .baseline-text-panel {
  min-width: 0;
}

.reveal .baseline-figure {
  display: block;
  width: 100%;
  height: 230px;
  max-height: 230px;
  object-fit: contain;
  margin: 0;
}

.reveal .baseline-text-panel > p:first-child {
  margin-bottom: 0.28em;
  color: #222;
  font-size: 0.58em;
  font-weight: 500;
  line-height: 1.35;
}

.reveal .newtonian-baseline-layout .takeaway {
  margin: 0.32em 0 0;
  padding: 0.42em 0.62em;
  font-size: 0.56em;
  text-align: left;
}

.reveal .newtonian-baseline-layout .ref {
  margin-top: 0.35em;
  max-width: 100%;
  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.reveal .equation-highlight {
  padding: 0.42em 0.58em;
  border-radius: 7px;
  background: rgba(140, 0, 0, 0.055);
}

.reveal .symbol-note p {
  margin: 0.22em 0 0;
  color: var(--muted-text);
  font-size: 0.43em;
  line-height: 1.22;
}

.reveal .caveat-row {
  display: grid;
  grid-template-columns: minmax(0, 3.7fr) minmax(0, 1.15fr);
  align-items: center;
  column-gap: 0.72em;
}

.reveal .caveat-block {
  margin: 0;
  padding: 0.28em 0.5em;
  border-radius: 6px;
  background: rgba(140, 0, 0, 0.055);
}

.reveal .caveat-text > p:first-child {
  margin: 0 0 0.16em;
  color: #222;
  font-size: 0.5em;
  font-style: normal;
  font-weight: 500;
  line-height: 1.15;
}

.reveal .caveat-text p {
  margin: 0;
  color: #444;
  font-size: 0.44em;
  font-style: italic;
  line-height: 1.25;
}

.reveal .diffusion-content .caveat-text p {
  font-size: 0.36em;
  line-height: 1.16;
}

.reveal .caveat-block .symbol-note p {
  margin-top: 0.22em;
  font-size: 0.3em;
  font-style: normal;
}

.reveal .caveat-figure-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  justify-self: end;
}

.reveal .diffusion-content .caveat-figure-wrap {
  transform: translateY(-0.55em);
}

.reveal .caveat-figure-wrap > p {
  margin: 0;
  line-height: 1;
}

.reveal .caveat-figure {
  display: block;
  width: 155px;
  max-height: 145px;
  margin: 0 auto;
}

.reveal .caveat-citation p {
  margin: 0.12em 0 0;
  font-size: 0.26em;
  line-height: 1.08;
  text-align: center;
}

.reveal .rheology-content .symbol-note p,
.reveal .diffusion-content .symbol-note p {
  margin-top: 0.18em;
}

/* 7. Special rows inside equation blocks */
.reveal .propulsion-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px;
  align-items: center;
  column-gap: 0.5em;
}

.reveal .propulsion-equation-grid {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  row-gap: 0.25em;
}

.reveal .propulsion-formula p,
.reveal .rheology-main-equation p,
.reveal .scale-row p,
.reveal .dimensionless-row p {
  margin: 0;
}

.reveal .propulsion-formula p {
  white-space: nowrap;
}

.reveal .bio-analogy {
  width: 160px;
  text-align: center;
}

.reveal .paramecium-figure {
  display: block;
  width: 150px;
  max-height: 120px;
  margin: 0 auto 0.12em;
  object-fit: contain;
}

.reveal .bio-analogy p {
  margin: 0;
  color: var(--muted-text);
  font-size: 10px;
  line-height: 1.1;
}

.reveal .slip-slide .mechanism-block:last-child {
  margin-top: 0.08em;
  margin-bottom: 0;
}

.reveal .slip-slide .propulsion-row {
  align-items: start;
  margin-top: 0.45em;
  transform: translateY(-0.04em);
}

.reveal .slip-slide .propulsion-equation-grid {
  row-gap: 0.08em;
}

.reveal .slip-slide .propulsion-formula .math.display,
.reveal .slip-slide .propulsion-formula .MathJax_Display,
.reveal .slip-slide .propulsion-formula mjx-container[display="true"] {
  margin: 0.02em 0 0.06em !important;
}

.reveal .slip-slide .bio-analogy {
  transform: translateY(-0.18em);
}

.reveal .slip-slide .paramecium-figure {
  width: 128px;
  max-height: 98px;
  margin-bottom: 0.06em;
}

.reveal .rheology-equation-row {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.15fr);
  align-items: center;
  column-gap: 0.55em;
}

.reveal .solute-equation-row {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.35fr);
  align-items: center;
  column-gap: 0.55em;
}

.reveal .scale-row,
.reveal .dimensionless-row {
  display: flex;
  align-items: center;
  gap: 1.6em;
  margin: 0.12em 0 0.22em;
  font-family: var(--slide-font);
  font-size: var(--block-equation-size);
  line-height: 1.05;
}

.reveal .dimensionless-row {
  flex-wrap: wrap;
  row-gap: 0.32em;
}

.reveal .scale-row p,
.reveal .dimensionless-row p {
  font-size: inherit;
  line-height: inherit;
}

.reveal .scale-label {
  margin-right: 0.32em;
  font-family: var(--slide-font);
  font-weight: 500;
}

/* 8. Motivation slide: Non-Newtonian Biofluids */
.reveal .nnfluids-layout {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: start;
  column-gap: 0;
  min-height: 390px;
  margin-top: 0.25em;
}

.reveal .nnfluids-column-layout {
  text-align: center;
}

.reveal .nnfluids-column-layout img {
  width: 88%;
  max-height: 240px;
  object-fit: contain;
}

.reveal .nnfluids-notes {
  width: 88%;
  margin: 0.25em auto 0;
}

.reveal .nnfluids-notes p {
  font-size: 0.58em;
  line-height: 1.35;
  font-weight: 400;
}

.reveal .nnfluids-citation p {
  margin: 0.12em 0 0;
  font-size: 0.26em;
  line-height: 1.08;
  text-align: center;
}

.reveal .mucus-summary-row {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  align-items: center;
  column-gap: 0.65em;
  width: 88%;
  margin: 0.35em auto 0;
  padding: 0.28em 0.45em;
  border-radius: 6px;
  background: rgba(140, 0, 0, 0.045);
}

.reveal .mucus-summary-figure-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.reveal .mucus-summary-figure-wrap > p {
  margin: 0;
  line-height: 1;
}

.reveal .mucus-microstructure-figure {
  display: block;
  width: 165px;
  max-height: 105px;
  margin: 0;
  object-fit: contain;
}

.reveal .mucus-summary-text {
  text-align: left;
}

.reveal .mucus-summary-text > p:first-child {
  margin: 0 0 0.22em;
  font-size: 0.58em;
  font-weight: 500;
  line-height: 1.2;
}

/* 9. Motivation slide: Janus intro */
.reveal .janus-intro-slide .columns {
  display: grid !important;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 0.55em;
  width: 94%;
  min-height: 355px;
  margin: 1.55em auto 0;
}

.reveal .janus-intro-slide .column {
  width: auto !important;
}

.reveal .janus-intro-slide .column:first-child > p {
  margin: 0;
  line-height: 1;
  text-align: center;
}

.reveal .sphere-polymer-figure {
  display: block;
  width: min(100%, 330px);
  max-height: 335px;
  margin: 0 auto;
  object-fit: contain;
}

.reveal .janus-intro-slide .column:nth-child(2) {
  padding-bottom: 0;
}

.reveal .janus-intro-slide .column:nth-child(2) p {
  margin: 0;
  font-size: 0.66em;
  line-height: 1.34;
}

.reveal .janus-intro-slide .column:nth-child(2) p + p {
  margin-top: 0.55em;
}

.reveal .janus-intro-slide .takeaway {
  width: 92%;
  margin: 0.72em auto 0;
  padding: 0.3em 0.65em;
  border-radius: 6px;
  border-left: 4px solid rgba(140, 0, 0, 0.52);
  background: rgba(140, 0, 0, 0.06);
  font-size: 0.62em;
}

.reveal .janus-intro-slide .takeaway p {
  margin: 0;
  color: #2a1515;
  font-size: inherit;
  font-weight: 500;
  line-height: 1.3;
}

/* Motivation slide: Janus dynamics */
.reveal .janus-dynamics-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-sizing: border-box;
  min-height: 500px;
  padding-top: 0.7em;
  padding-bottom: 0.55em;
}

.reveal .janus-dynamics-slide .columns {
  align-items: start;
  margin: 0;
}

.reveal .janus-dynamics-slide .column {
  width: 33% !important;
}

.reveal .janus-dynamics-slide .column > p:first-child {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 300px;
  margin: 0;
  line-height: 1;
}

.reveal .janus-dynamics-slide img {
  width: auto;
  max-width: 100%;
  height: 300px;
  max-height: 300px;
  object-fit: contain;
}

.reveal .janus-dynamics-slide .fig-caption,
.reveal .janus-dynamics-slide .ref {
  min-height: 0;
}

.reveal .janus-dynamics-slide .takeaway {
  width: 92%;
  margin: 0 auto;
  padding: 0.34em 0.75em;
  font-size: 0.58em;
}

/* Motivation slide: Rheology Alters Biological Swimming */
.reveal .rheology-effect-layout {
  display: grid;
  grid-template-columns: 50% 50%;
  align-items: start;
  column-gap: 0;
  min-height: 390px;
  margin-top: 0.25em;
}

.reveal .rheology-effect-column-layout {
  text-align: center;
}

.reveal .rheology-effect-column-layout img {
  width: 88%;
  max-height: 300px;
  object-fit: contain;
}

.reveal .rheology-effect-notes {
  width: 88%;
  margin: 0.25em auto 0;
}

.reveal .rheology-effect-notes p {
  font-size: 0.58em;
  line-height: 1.35;
  font-weight: 400;
}

.reveal .rheology-effect-citation p {
  margin: 0.12em 0 0;
  font-size: 0.26em;
  line-height: 1.08;
  text-align: center;
}

/* 10. Motivation slide: Self-Diffusiophoretic Janus Particles */
.reveal .Janus-layout {
  display: grid;
  grid-template-columns: 42% 58%;
  align-items: start;
  column-gap: 0;
  min-height: 390px;
  margin-top: 0.25em;
}

.reveal .Janus-column-layout {
  text-align: center;
}

.reveal .Janus-column-layout img {
  width: 88%;
  max-height: 300px;
  object-fit: contain;
}

.reveal .Janus-notes {
  width: 88%;
  margin: 0.25em auto 0;
}

.reveal .Janus-notes p {
  font-size: 0.58em;
  line-height: 1.35;
  font-weight: 400;
}

.reveal .Janus-citation p {
  margin: 0.12em 0 0;
  font-size: 0.26em;
  line-height: 1.08;
  text-align: center;
}

/* Motivation slide: Viscoelastic Propulsion of a Spherical Janus Particle */
.reveal .spherical-janus-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55em;
  box-sizing: border-box;
  width: 94%;
  min-height: 500px;
  margin: 0 auto;
}

.reveal .spherical-janus-slide .columns {
  display: flex !important;
  align-items: center;
  width: 100%;
  margin: 0;
}

.reveal .spherical-janus-slide .column {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.reveal .spherical-janus-slide .column:first-child {
  align-items: center;
}

.reveal .spherical-janus-slide .column:first-child > p {
  margin: 0;
  line-height: 1;
  text-align: center;
}

.reveal .spherical-janus-slide img {
  max-height: 345px;
  object-fit: contain;
}

.reveal .spherical-janus-slide .ref {
  margin-top: 0.5em;
  line-height: 1.15;
}

.reveal .spherical-janus-slide .subhead {
  display: block;
  margin: 0 0 0.65em;
  color: var(--pku-red);
  font-size: 0.68em;
  line-height: 1.25;
  text-align: center;
}

.reveal .spherical-janus-slide .datt-findings {
  width: 88%;
  margin: 0 auto;
  text-align: left;
}

.reveal .spherical-janus-slide .datt-findings p {
  margin: 0;
  font-size: 0.62em;
  line-height: 1.38;
}

.reveal .spherical-janus-slide .datt-findings p + p {
  margin-top: 0.55em;
}

.reveal .spherical-janus-slide .takeaway {
  width: 92%;
  margin: 0.45em auto 0;
  padding: 0.34em 0.4em 0;
  border-top: 3px solid rgba(140, 0, 0, 0.22);
  border-radius: 0;
  background: transparent;
  color: #241313;
  font-size: 0.68em;
  line-height: 1.25;
  text-align: center;
}

.reveal .spherical-janus-slide .takeaway p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

/* Motivation slide: From Spheres to Spheroids */
.reveal .from-spheres-slide .columns {
  display: flex !important;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 0;
  width: 94%;
  min-height: 390px;
  margin: 0.55em auto 0;
}

.reveal .from-spheres-slide .column {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.reveal .from-spheres-slide .column > p:first-child {
  margin: 0;
  line-height: 1;
}

.reveal .from-spheres-slide .quarto-figure,
.reveal .from-spheres-slide figure,
.reveal .from-spheres-slide figure > p {
  margin: 0;
  line-height: 1;
}

.reveal .from-spheres-slide img {
  display: block;
  height: 300px;
  max-height: 300px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.reveal .bigq {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  min-height: 300px;
  color: #9b0000;
  font-size: 3em;
  line-height: 1;
}

.reveal .bigq p {
  margin: 0;
  font-size: inherit;
  line-height: inherit;
}

.reveal .from-spheres-slide .takeaway {
  width: 92%;
  margin: 0.8em auto 0.55em;
}

/* Motivation slide: Research question */
.reveal .geometry-question-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 90px minmax(0, 1fr);
  align-items: center;
  column-gap: 0.35em;
  width: 92%;
  margin: 0.35em auto 0;
}

.reveal .geometry-question-column {
  text-align: center;
}

.reveal .geometry-question-figure {
  display: block;
  width: 100%;
  height: 235px;
  margin: 0 auto;
  object-fit: contain;
}

.reveal .geometry-question-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reveal .geometry-question-center p {
  margin: 0;
  color: var(--pku-red);
  font-size: 1.35em;
  font-weight: 500;
  line-height: 1;
}

.reveal .geometry-question-key p {
  margin: 0.2em 0 0;
  font-size: 0.66em;
  font-weight: 500;
  line-height: 1.2;
}

.reveal .geometry-question-note {
  width: 90%;
  margin: 0.2em auto 0;
}

.reveal .geometry-question-note p {
  margin: 0;
  font-size: 0.48em;
  line-height: 1.3;
}

.reveal .geometry-question-box {
  width: 90%;
  margin: 0.45em auto 0;
  padding: 0.32em 0.55em;
  border-radius: 6px;
  background: rgba(140, 0, 0, 0.055);
  text-align: left;
}

.reveal .geometry-question-box ul {
  margin: 0;
  padding-left: 1.15em;
  font-size: 0.58em;
  line-height: 1.35;
}

.reveal .geometry-question-box li {
  margin: 0;
}

.reveal .geometry-question-box li + li {
  margin-top: 0.35em;
}

/* 16. Results slide: Spherical cancellation symmetry */
.reveal .spherical-cancellation-slide > p:first-of-type {
  margin: 0.15em auto 0.25em;
  text-align: center;
}

.reveal .spherical-cancellation-slide > p:first-of-type img {
  max-height: 220px;
  width: auto;
  max-width: 88%;
  object-fit: contain;
}

.reveal .spherical-cancellation-flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 92%;
  margin: 0.05em auto 0;
  padding-bottom: 0.45em;
  text-align: center;
}

.reveal .spherical-cancellation-flow > p:first-child {
  margin: 0 0 0.28em;
  color: #222;
  font-size: 0.6em;
  font-weight: 500;
  line-height: 1.35;
  text-align: center;
}

.reveal .spherical-cancellation-slide .math.display,
.reveal .spherical-cancellation-slide .MathJax_Display,
.reveal .spherical-cancellation-slide mjx-container[display="true"] {
  font-size: 23px !important;
  margin: 0.08em 0 0.08em !important;
  text-align: center !important;
}

.reveal .spherical-cancellation-slide .takeaway {
  max-width: 70%;
  margin: 0.08em auto 0;
  text-align: center;
}

/* 16. Results slide: Sphere Results */
.reveal .sphere-result-layout {
  display: grid;
  grid-template-columns: 40% 65%;
  align-items: center;
  column-gap: 0;
  min-height: 400px;
  margin-top: 0.25em;
}

.reveal .sphere-result-content {
  width: 100%;
  margin: 0;
  --block-equation-size: 23px;
}

.reveal .sphere-result-figure-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
}

.reveal .sphere-result-figure {
  display: block;
  width: 84%;
  max-height: 440px;
  margin: 0 auto;
}

.reveal .sphere-result-text p {
  margin: 0 0 0.16em;
  font-size: 0.5em;
  line-height: 1.45;
}

.reveal .sphere-result-notes {
  width: 92%;
  margin: 0.4em auto 0;
  padding: 0.32em 0.55em;
  border-radius: 6px;
  background: rgba(140, 0, 0, 0.075);
  text-align: left;
}

.reveal .sphere-result-notes p {
  margin: 0;
  font-size: 0.58em;
  font-weight: 500;
  line-height: 1.45;
}

/* 17. Results slide: Half-coated spheroids */
.reveal .eccentricity-revival-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: calc(100% - 2.2em);
  transform: translateY(-0.35em);
}

.reveal .eccentricity-revival-slide .columns {
  width: 94%;
  margin: 0 auto;
  align-items: center;
}

.reveal .eccentricity-revival-slide .column {
  min-width: 0;
}

.reveal .eccentricity-revival-slide .column:first-child p {
  margin: 0;
  text-align: center;
}

.reveal .eccentricity-revival-slide .column:first-child img {
  max-height: 340px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.reveal .eccentricity-revival-slide ul {
  margin-top: 0.4em;
  padding-left: 1.05em;
  font-size: 0.68em;
  line-height: 1.45;
}

.reveal .eccentricity-revival-slide .subhead {
  margin-bottom: 0.5em;
  font-size: 0.8em;
}

.reveal .eccentricity-revival-slide li {
  margin-bottom: 0.65em;
}

/* 18. Results slide: Coverage symmetry breaking */
.reveal .coverage-symmetry-slide {
  display: flex !important;
  flex-direction: column;
}

.reveal .coverage-symmetry-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1 1 auto;
  min-height: 0;
  box-sizing: border-box;
  height: 100%;
  padding: 0 0 1.15em;
  transform: translateY(-0.35em);
}

.reveal .coverage-symmetry-slide .columns {
  width: 82%;
  margin: 0 auto;
  gap: 0.25em;
  align-items: flex-start;
}

.reveal .coverage-symmetry-slide .column {
  min-width: 0;
  text-align: center;
}

.reveal .coverage-symmetry-slide .quarto-figure,
.reveal .coverage-symmetry-slide figure,
.reveal .coverage-symmetry-slide figure > p,
.reveal .coverage-symmetry-slide .column > p {
  margin: 0;
}

.reveal .coverage-symmetry-slide figure {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 300px;
}

.reveal .coverage-symmetry-slide img {
  height: 300px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  display: block;
}

.reveal .coverage-symmetry-slide .fig-caption {
  display: block;
  margin: 0 0 0.18em;
  font-size: 0.62em;
  text-align: center;
}

.reveal .coverage-symmetry-slide .takeaway {
  width: 82%;
  margin: 0.68em auto 0.65em;
  text-align: center;
}

/* 19. Results slide: Kernel cancellation */
.reveal .why-cancellation-slide {
  display: flex !important;
  flex-direction: column;
}

.reveal .why-cancellation-content {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 0;
  width: 90%;
  margin: 0 auto;
  height: 100%;
  padding: 0.05em 0 0.75em;
  transform: translateY(-0.2em);
}

.reveal .why-cancellation-content > ul {
  align-self: stretch;
  margin: 0 0 0.24em;
  padding-left: 1.05em;
  color: #222;
  font-size: 0.62em;
  line-height: 1.35;
  text-align: left;
}

.reveal .why-cancellation-content > ul li {
  margin: 0;
}

.reveal .why-cancellation-slide .columns {
  width: 90%;
  margin: 0 auto;
  gap: 1.0em;
  align-items: flex-start;
}

.reveal .why-cancellation-slide .column {
  min-width: 0;
  text-align: center;
}

.reveal .why-cancellation-slide .quarto-figure,
.reveal .why-cancellation-slide figure,
.reveal .why-cancellation-slide figure > p,
.reveal .why-cancellation-slide .column > p {
  margin: 0;
}

.reveal .why-cancellation-slide figure {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 300px;
}

.reveal .why-cancellation-slide img {
  display: block;
  height: 300px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}

.reveal .kernel-sentence {
  width: 90%;
  margin: 0.22em auto 0;
  padding: 0.38em 0.5em;
  border-radius: 6px;
  background: rgba(140, 0, 0, 0.085);
  text-align: center;
}

.reveal .kernel-sentence p {
  margin: 0;
  color: #222;
  font-size: 0.54em;
  line-height: 1.28;
}

.reveal .kernel-sentence strong {
  font-weight: 700;
  color: #1a1a1a;
}

.reveal .script-k {
  font-family: "STIX Two Math", "Cambria Math", "Apple Symbols", "Times New Roman", serif;
  font-style: normal;
}

/* 20. Results slide: Mechanism */
.reveal .mechanism-layout {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.0em;
  align-items: start;
  margin-top: 0.75em;
}

.reveal .mechanism-column-layout {
  text-align: center;
}

.reveal .mechanism-column-layout img {
  width: 100%;
  height: 320px;
  object-fit: contain;
}

.reveal .mechanism-notes {
  width: 88%;
  margin: 0 0 0 1.2em;
  padding-left: 0;
}

.reveal .mechanism-notes ul {
  font-size: 0.7em;
  line-height: 1.45;
}

.reveal .mechanism-notes li {
  margin-bottom: 0.95em;
}

/* 20. Summary slide: Take-home messages */
.reveal .summary-slide {
  position: relative;
}

.reveal .summary-main {
  display: grid;
  grid-template-columns: minmax(0, 0.62fr) minmax(0, 0.38fr);
  align-items: center;
  column-gap: 0.7em;
  width: 86%;
  margin: 0.55em auto 0;
}

.reveal .summary-points ul {
  margin: 0;
  padding-left: 1.1em;
  font-size: 0.66em;
  line-height: 1.5;
}

.reveal .summary-points li {
  margin: 0.45em 0;
}

.reveal .summary-points strong {
  color: var(--pku-red);
  font-weight: 700;
}

.reveal .summary-visual {
  text-align: center;
}

.reveal .summary-visual > p,
.reveal .summary-visual figure,
.reveal .summary-visual figure > p {
  margin: 0;
  line-height: 1;
}

.reveal .summary-visual img {
  display: block;
  height: 280px;
  width: auto;
  max-width: 100%;
  margin: 0 auto;
  object-fit: contain;
}

.reveal .summary-credit,
.reveal .summary-logo {
  position: absolute;
  bottom: 1.45em;
}

.reveal .summary-credit {
  left: 0.5em;
  display: flex;
  align-items: center;
  gap: 0.48em;
  text-align: left;
}

.reveal .summary-credit > p {
  margin: 0;
  line-height: 1;
}

.reveal .summary-credit img {
  display: block;
  height: 130px;
  width: auto;
  border-radius: 5px;
  object-fit: cover;
}

.reveal .summary-credit-text p {
  margin: 0;
  color: #333;
  font-size: 0.5em;
  line-height: 1.28;
}

.reveal .summary-credit-text p:first-child {
  color: #1a1a1a;
  font-size: 0.68em;
  font-weight: 700;
  line-height: 1.15;
}

.reveal .summary-logo {
  right: 0.65em;
}

.reveal .summary-logo > p {
  margin: 0;
  line-height: 1;
}

.reveal .summary-logo img {
  display: block;
  width: 190px;
  height: auto;
  max-height: 95px;
  object-fit: contain;
}
.reveal .cover-affiliations {
  margin: 0.28em 0 0.68em;
  color: #333;
  font-size: 0.45em;
  line-height: 1.32;
}

.reveal .cover-affiliations sup,
.reveal .cover-authors sup {
  font-size: 0.68em;
  vertical-align: super;
  line-height: 0;
}
