.linuxdays-accent {
  color: #b48b1e;
}

.reveal .slides section {
  background: #f7f2e8;
}

.reveal .slides section.dark,
.reveal .slides section.photo-slide {
  background: #090909;
}

.photo-slide {
  overflow: hidden;
  position: relative;
}

.photo-slide > img.full-bleed-img {
  display: block;
  height: 100%;
  inset: 0;
  object-fit: cover;
  position: absolute;
  width: 100%;
  z-index: 0;
}

.photo-slide::after {
  background: rgba(0, 0, 0, 0.22);
  content: "";
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.photo-credit {
  bottom: 1vw;
  color: rgba(255, 255, 255, 0.68);
  font-size: clamp(0.56rem, 0.72vw, 0.9rem) !important;
  left: 1.2vw;
  position: absolute;
  text-shadow: 0 0.1em 0.35em rgba(0, 0, 0, 0.8);
  z-index: 5;
}

.image-copy-slide {
  background: #f7f2e8 !important;
}

.image-copy-slide figure {
  position: relative;
}

.image-copy-slide .split-copy {
  background: #f7f2e8;
  color: #0b0b0b;
  position: relative;
  z-index: 2;
}

.image-copy-slide .statement {
  color: #0b0b0b;
}

.image-copy-slide .small-note {
  color: #3f3a32;
}

.book-reference-slide {
  align-items: center;
  background: #15120d !important;
  display: grid !important;
  gap: 4vw;
  grid-template-columns: 0.65fr 1.35fr;
  padding: var(--space-page) !important;
  text-align: left;
}

.book-cover-frame {
  align-self: center;
  display: grid;
  justify-items: center;
}

.book-cover-frame img {
  box-shadow: 0 1.2vw 3vw rgba(0, 0, 0, 0.45);
  display: block;
  max-height: 72vh;
  max-width: 100%;
}

.book-cover-frame figcaption {
  color: rgba(255, 255, 255, 0.58);
  font-size: clamp(0.7rem, 0.85vw, 1rem);
  margin-top: 1vw;
}

.book-reference-copy h1,
.book-reference-copy p {
  color: #f7f2e8;
}

.book-reference-copy h1 {
  font-size: clamp(2.6rem, 5.5vw, 7rem);
}

.book-reference-copy p:not(.kicker) {
  color: rgba(247, 242, 232, 0.84);
  font-size: clamp(1.45rem, 2.2vw, 2.8rem);
  font-weight: 700;
  margin-top: 1.8vw;
  max-width: 58vw;
}

.punch-slide {
  align-items: center;
  background: #0b0b0b !important;
  display: flex !important;
  justify-content: center;
  padding: var(--space-page) !important;
  text-align: left;
}

.punch-slide h1 {
  color: #f7f2e8;
  font-size: clamp(2.4rem, 4.75vw, 6.3rem);
  line-height: 1.03;
  max-width: 88vw;
  text-transform: none;
}

.punch-slide .accent {
  color: #d4a72c;
}

.policy-slide {
  align-items: center;
  background: #f7f2e8 !important;
  display: grid !important;
  gap: 4vw;
  grid-template-columns: 0.78fr 1.22fr;
  padding: var(--space-page) !important;
  text-align: left;
}

.policy-image {
  display: grid;
  justify-items: center;
}

.policy-image img {
  box-shadow: 0 1vw 2.8vw rgba(0, 0, 0, 0.22);
  display: block;
  max-height: 76vh;
  max-width: 100%;
}

.policy-image figcaption {
  color: #625b50;
  font-size: clamp(0.72rem, 0.9vw, 1.05rem);
  margin-top: 0.9vw;
}

.policy-copy h1 {
  font-size: clamp(2.4rem, 4.65vw, 6rem);
  line-height: 1.02;
  text-transform: none;
}

.policy-copy p:not(.kicker) {
  color: #4b463d;
  font-size: clamp(1.35rem, 2.2vw, 2.7rem);
  font-weight: 700;
  margin-top: 1.8vw;
  max-width: 56vw;
}

.trust-slide {
  align-items: center;
  background: #d4a72c !important;
  display: flex !important;
  justify-content: center;
  padding: var(--space-page) !important;
  text-align: left;
}

.trust-slide h1 {
  color: #0b0b0b;
  font-size: clamp(3rem, 7vw, 9.5rem);
  line-height: 0.92;
  max-width: 88vw;
}

.trust-slide .break {
  display: block;
  margin-top: 1.4vw;
}

.overlay-text {
  background: rgba(0, 0, 0, 0.68);
  position: relative;
  z-index: 2;
}

.overlay-text.wide {
  max-width: 72vw;
}

.overlay-text.left {
  justify-self: start;
  margin-left: 5vw;
  text-align: left;
}

.overlay-text.right {
  justify-self: end;
  margin-right: 5vw;
  text-align: left;
}

.overlay-text h1 {
  font-size: clamp(2.8rem, 5.9vw, 7.6rem);
}

.slide-section-title {
  display: grid !important;
  padding: var(--space-page) !important;
  place-items: center start;
  text-align: left;
}

.slide-section-title h1 {
  max-width: 78vw;
}

.slide-section-title p {
  color: #4b463d;
  font-size: clamp(1.5rem, 2.4vw, 3rem);
  font-weight: 700;
  margin-top: 2vw;
  max-width: 70vw;
}

.fact-grid {
  display: grid;
  gap: 2vw;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 3vw;
}

.fact {
  border-top: 0.24vw solid #0b0b0b;
  padding-top: 1.2vw;
}

.fact strong {
  display: block;
  font-size: clamp(2.4rem, 4.4vw, 5.8rem);
  line-height: 0.9;
}

.fact span {
  display: block;
  font-size: clamp(0.98rem, 1.35vw, 1.65rem);
  font-weight: 700;
  margin-top: 1vw;
}

.source-list {
  columns: 2;
  column-gap: 4vw;
  font-size: clamp(0.85rem, 1.05vw, 1.25rem);
  line-height: 1.35;
  margin-top: 2vw;
}

.source-list li {
  break-inside: avoid;
  font-size: inherit;
  margin-bottom: 0.8vw;
}

@media (max-aspect-ratio: 4 / 3) {
  .fact-grid {
    grid-template-columns: 1fr;
  }

  .source-list {
    columns: 1;
  }
}
