.highlight {
    font-weight: 700;
}

.reveal .slides section {
    font-size: 1.1em;
    padding: 20px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.reveal h1 {
    font-size: 1.54em;
    margin-bottom: 0.8em;
    text-align: center;
}

.reveal h2 {
    font-size: 1.26em;
    margin-bottom: 0.7em;
    margin-top: 0.0em;
    text-align: center;
}

.reveal h3, .reveal h4, .reveal h5, .reveal h6 {
    font-size: 0.98em;
    margin-bottom: 0.5em;
    text-align: center;
}

.reveal ul, .reveal ol {
    font-size: 0.85em;
    line-height: 1.6;
    margin-left: 1.5em;
    margin-bottom: 1em;
}

.reveal li {
    margin-bottom: 0.5em;
}

.reveal pre {
    font-size: 0.65em;
    max-height: none;
    overflow: visible;
    margin: 0.5em 0;
}

.reveal pre code {
    max-height: none;
    padding: 0.5em;
    line-height: 1.3;
}

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

.reveal .slides section > * {
    max-width: 100%;
}

#custom-slide-footer {
    position: fixed;
    bottom: 0px;
    right: 0px;
    color: white;
    font-size: 14px;
    display: flex;
    flex-direction: row;
    align-items: center;
}

#custom-slide-footer img.logo {
    height: 1.5em;
    width: 1.5em;
}

#custom-slide-footer div.name {
    display: flex;
    flex-direction: row;
}

#custom-slide-footer div.name span.terra {
    font-weight: 600;
}

/* Architecture diagram styling */
.reveal section object[type="image/svg+xml"] {
    width: 100%;
    height: auto;
    max-height: 500px;
    margin: 20px auto;
}

/* Better spacing for slide content */
.reveal section > p {
    margin-bottom: 0.8em;
}

/* Ensure Notes section has proper spacing from bottom */
.reveal section > p:last-of-type {
    margin-bottom: 1.5em;
}

/* Style for the Notes: heading */
.reveal section > p:contains("Notes:") {
    font-weight: bold;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

/* Better code block styling */
.reveal pre.highlight {
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    border-radius: 4px;
    margin: 1em 0;
}

/* Subsection headings */
.reveal h3 {
    color: #5bb4d9;
    margin-top: 1em;
}

/* Lead paragraph styling */
.reveal .lead {
    font-size: 1.2em;
    color: #8ab4f8;
    margin-bottom: 1em;
}

/* Incremental reveal items */
.reveal .incremental li,
.reveal .incremental p {
    opacity: 1;
}

/* Better list item spacing for checkbox lists */
.reveal ul li:has(✅) {
    list-style: none;
    margin-left: -1em;
}

.two-column {
    display: flex;
    gap: 2em;
    align-items: flex-start;
}

.two-column .left,
.two-column .right {
    flex: 1;
}

/* Optimize code blocks for slides */
.reveal pre {
    width: 95%;
    margin: 0.5em auto;
}

/* Compact styling for YAML code blocks */
.reveal pre code.language-yaml,
.reveal pre code.yaml {
    font-size: 0.9em;
    line-height: 1.2;
}

/* Even smaller font for very long code blocks */
.reveal section:has(pre:has(code:contains("access_control"))) pre {
    font-size: 0.55em;
}

/* Ensure code blocks don't overflow slide boundaries */
.reveal .slides section pre {
    max-width: 100%;
    word-wrap: break-word;
}


