html {
    font-size: 16px !important;
}
.reveal {
    font-size: 1rem !important;
}

.reveal h1 {
    font-size: 3.8rem !important;
    line-height: 1.2 !important;
    margin-bottom: 0.5em !important;
}

.reveal h2 {
    font-size: 2.5rem !important;
    line-height: 1.3 !important;
    margin-bottom: 0.8em !important;
}

.reveal h3 { font-size: 1.8rem !important; }
.reveal h4 { font-size: 1.4rem !important; }

.reveal p,
.reveal ul li {
    font-size: 1.15rem !important;
    line-height: 1.6 !important;
    margin-bottom: 0.8em !important;
    text-align: left !important;
    padding: 0 !important;
    max-width: 900px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

.slide-content-wrapper {
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    align-items: center !important;
    width: 100% !important;
    height: calc(100% - 140px) !important;
    max-height: calc(100% - 140px) !important;
    overflow-y: auto !important;
    padding: 0 60px !important;
    box-sizing: border-box !important;
}

.content-block {
    width: 100% !important;
    max-width: 900px !important;
    margin-bottom: 25px !important;
    box-sizing: border-box !important;
}

.content-list ul {
    list-style-position: outside !important;
    padding-left: 25px !important;
    margin-left: 0 !important;
}
.content-list ul li {
    margin-bottom: 0.5em !important;
}

.slide-images {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 25px !important;
    margin-top: 25px !important;
    padding: 0 !important;
    overflow: hidden !important;
}

.slide-images img {
    width: auto !important;
    height: auto !important;
    max-width: 100% !important;
    max-height: 100% !important;
    object-fit: contain !important;
    display: block !important;

    flex-grow: 1 !important;
    flex-shrink: 1 !important;
    flex-basis: auto !important;

    min-width: 250px !important;
    max-width: 48% !important;
    max-height: 40vh !important;

    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    box-shadow: 0 8px 16px rgba(0,0,0,0.4) !important;

    cursor: zoom-in;
}

.reveal img.reveal-lightbox-img {
    cursor: pointer !important;
}

.reveal section[data-state*="Showcase: Error"] .slide-images img,
.reveal section[data-state*="Showcase: Essential"] .slide-images img,
.reveal section[data-state*="Showcase: Documentation"] .slide-images img {
    max-width: 31% !important;
    max-height: 30vh !important;
}

.reveal .lightbox {
    background: rgba(0, 0, 0, 0.9) !important;
}
.reveal .lightbox-image {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6) !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
}
#returnButton {
  position: absolute;
  bottom: 2rem;
  right: 2rem;
  padding: 0.4rem 1rem;
  background: transparent;
  color: var(--text-white);
  border: 2px solid var(--border-button);
  border-radius: 0.3rem;
  font-size: 0.9rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}

#returnButton:hover {
  background: var(--border-button);
  color: var(--text-black);
}
