.reveal .slides section {
  background: #ffffff !important;
  color: #22324d !important;
}

.reveal #title-slide.quarto-title-block {
  background: rgba(255, 255, 255, 0.84) !important;
  color: #22324d !important;
  text-align: left;
  padding: 2rem 2.4rem 1.6rem;
  border-top: 6px solid #2f7f78;
  backdrop-filter: blur(2px);
}

.reveal #title-slide h1 {
  color: #22324d !important;
  font-size: 1.8em;
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 11ch;
  margin-bottom: 0.3rem;
}

.reveal #title-slide .subtitle,
.reveal #title-slide p.subtitle {
  color: #2f7f78 !important;
  font-size: 0.82em;
  font-weight: 600;
  margin-bottom: 1rem;
}

.reveal #title-slide .quarto-title-author,
.reveal #title-slide .quarto-title-author-name,
.reveal #title-slide .date {
  color: #6d7788 !important;
  font-size: 0.52em;
}

.reveal h1,
.reveal h2,
.reveal h3,
.reveal p,
.reveal li,
.reveal td,
.reveal th {
  color: #22324d !important;
}

.reveal h2 {
  font-size: 1.08em;
  margin-bottom: 0.45rem;
  letter-spacing: -0.02em;
}

.reveal p,
.reveal li,
.reveal td,
.reveal th {
  font-size: 1.06em;
  line-height: 1.28;
}

.reveal strong {
  color: #1c2d4b !important;
}

.reveal img.slide-logo,
.reveal .slide-logo img,
.reveal .slide-logo {
  opacity: 0.32 !important;
  height: 2.7vh !important;
}

.reveal .footer,
.reveal .slide-number {
  color: #7a8597 !important;
}

.reveal .slides section img:not(.slide-logo):not(.logo) {
  max-height: 52vh;
  object-fit: contain;
}

.reveal .columns {
  gap: 1.35rem;
}

.reveal .prompt-slide h2 {
  color: #2f7f78 !important;
}

.reveal .quiz-question .option-button,
.reveal .quiz-question .option-button span,
.reveal .quiz-question .option-button .math,
.reveal .quiz-question .option-button .mjx-chtml,
.reveal .quiz-question .option-button .mjx-char {
  color: #f5f8fc !important;
}

.reveal .quiz-question .option-button {
  background-color: #3d4f64;
}

.reveal .quiz-question .option-button:hover {
  background-color: #486078;
}

.reveal .quiz-question .option-button.selected {
  background-color: #2f7f78;
}

.reveal .quiz-question .option-button.correct {
  background-color: #3b8f64;
}

.reveal .quiz-question .option-button.incorrect {
  background-color: #a34a42;
}

.reveal .center-note {
  text-align: center;
  font-size: 1.02em;
  line-height: 1.2;
  margin-top: 0.22rem;
}

.reveal .takeaway {
  text-align: center;
  color: #2f7f78 !important;
  font-size: 1.02em;
  font-weight: 700;
  line-height: 1.18;
  margin-top: 0.35rem;
}

.reveal .mini-note {
  text-align: center;
  color: #6d7788 !important;
  font-size: 0.74em;
  line-height: 1.25;
  margin-top: 0.3rem;
}

.reveal .mini-list li {
  margin-top: 0.18em;
  margin-bottom: 0.18em;
}

.reveal .result-line {
  text-align: center;
  font-size: 1.18em;
  line-height: 1.1;
  margin-top: 0.2rem;
}

.reveal .result-big {
  text-align: center;
  color: #2f7f78 !important;
  font-size: 1.62em;
  line-height: 1.02;
  font-weight: 700;
  margin-top: 0.12rem;
}

.reveal .clean-table table {
  margin: 0.35rem auto 0;
  font-size: 0.98em;
  border-collapse: separate;
  border-spacing: 0 0.32rem;
}

.reveal .clean-table th,
.reveal .clean-table td {
  text-align: center !important;
  padding: 0.2rem 0.8rem;
}

.reveal .clean-table th {
  font-weight: 700;
}
