/* Workshop deck — KU Leuven white theme, consistent with the ET Symposium deck.
   Palette + typography lifted from
   ../20260617-et-symposium-et-triangle-null-stream-background, with code-block
   styling added (this is a hands-on, code-heavy deck). */

:root {
    --ink: #17212b;
    --muted: #5a6875;
    --rule: #d9e0e7;
    --rule-strong: #c5d0db;
    --blue: #00407a;
    --blue-soft: #eaf2f8;
    --cyan: #00a5c8;
    --cyan-soft: #e8f7fa;
    --gold: #f2a900;
    --gold-soft: #fff5d8;
    --paper: #fbfcfd;
    --code-bg: #f3f6f8;
}

body {
    background: var(--paper);
}

.reveal {
    color: var(--ink);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 34px;
}

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

.reveal .slides section {
    box-sizing: border-box;
    padding: 28px 42px 52px;
}

.reveal h1,
.reveal h2,
.reveal h3 {
    color: var(--blue);
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 700;
    letter-spacing: 0;
    text-transform: none;
}

.reveal h1 {
    max-width: 980px;
    margin-bottom: 0.32em;
    font-size: 2.35em;
    line-height: 0.98;
}

.reveal h2 {
    margin-bottom: 0.72em;
    border-bottom: 5px solid var(--gold);
    padding-bottom: 0.18em;
    font-size: 1.48em;
    line-height: 1.08;
}

.reveal h3 {
    margin-bottom: 0.36em;
    font-size: 0.88em;
    line-height: 1.14;
}

.reveal h4 {
    color: var(--blue);
    margin-bottom: 0.3em;
    font-size: 0.74em;
    font-weight: 700;
}

.reveal p,
.reveal li {
    font-size: 0.68em;
    line-height: 1.38;
}

.reveal ul,
.reveal ol {
    margin-left: 1.05em;
}

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

.reveal strong {
    color: var(--ink);
}

.reveal a {
    color: var(--blue);
    text-decoration: underline;
}

.reveal img {
    display: block;
    max-width: 100%;
    max-height: 100%;
    margin: 0;
    border: 1px solid var(--rule);
    border-radius: 4px;
    box-shadow: none;
    background: white;
}

/* ===== title / framing ===== */

.eyebrow,
.source-line {
    color: var(--cyan);
    font-size: 0.58em !important;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.byline {
    margin-top: 1.1em;
    color: var(--blue);
    font-size: 0.78em !important;
    font-weight: 700;
}

.muted,
.caption {
    color: var(--muted);
}

.source-line {
    margin-top: 2.2em;
}

.takeaway {
    margin-top: 0.85em;
    border-left: 7px solid var(--gold);
    background: linear-gradient(90deg, var(--gold-soft), rgb(255 245 216 / 0%));
    padding: 0.48em 0 0.48em 0.78em;
    color: var(--ink);
    font-weight: 700;
}

/* ===== layout helpers ===== */

.two-col,
.three-col {
    display: grid;
    gap: 34px;
    align-items: start;
}

.two-col {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.three-col {
    grid-template-columns: repeat(3, 1fr);
    align-items: stretch;
}

.engine-list {
    display: grid;
    gap: 9px;
    grid-template-columns: 1fr;
}

.three-col > div,
.engine-list > div,
.card {
    border-top: 5px solid var(--cyan);
    border-right: 1px solid var(--rule);
    border-bottom: 1px solid var(--rule);
    border-left: 1px solid var(--rule);
    border-radius: 6px;
    background: var(--cyan-soft);
    padding: 18px 20px;
    min-height: 92px;
    box-shadow: 0 8px 20px rgb(23 33 43 / 5%);
    font-size: 0.94em;
}

.engine-list > div {
    min-height: 0;
    padding: 11px 15px;
}

.card.gold {
    border-top-color: var(--gold);
}

.metric {
    border-left: 6px solid var(--cyan);
    background: var(--blue-soft);
    padding: 0.24em 0 0.24em 16px;
}

.metric strong {
    color: var(--blue);
    font-size: 1.5em;
}

/* ===== code (this deck is hands-on) ===== */

.reveal pre {
    width: 100%;
    margin: 0.44em 0 0;
    box-shadow: none;
    font-size: 0.54em;
    line-height: 1.32;
}

.reveal pre code {
    border: 1px solid var(--rule-strong);
    border-radius: 6px;
    padding: 0.86em 1em;
    max-height: 470px;
    background: #1f1f24; /* monokai-friendly dark block on the white page */
}

.reveal :not(pre) > code {
    background: var(--code-bg);
    color: var(--blue);
    border-radius: 4px;
    padding: 0.05em 0.35em;
    font-size: 0.92em;
}

/* tables (config/CLI reference slides) */

.reveal table {
    width: 100%;
    margin: 0.34em 0 0;
    border-collapse: collapse;
    font-size: 0.64em;
}

.reveal table th {
    color: var(--blue);
    border-bottom: 3px solid var(--gold);
    background: var(--blue-soft);
    font-weight: 700;
}

.reveal table th,
.reveal table td {
    padding: 0.34em 0.62em;
    border-bottom: 1px solid var(--rule);
    line-height: 1.24;
}

/* a small "notebook" tag used on section openers */

.nb-tag {
    display: inline-block;
    margin-top: 0.5em;
    border: 2px solid var(--cyan);
    border-radius: 4px;
    padding: 0.24em 0.6em;
    color: var(--blue);
    background: white;
    font-size: 0.56em !important;
    font-weight: 700;
}

.repo-link {
    margin-top: 0.65em;
    border-left: 5px solid var(--cyan);
    background: white;
    padding: 0.42em 0.68em;
    font-family: 'Courier New', monospace;
    font-size: 0.58em !important;
    overflow-wrap: anywhere;
}

.benchmark-note {
    margin-top: 0.5em;
    color: var(--muted);
    font-size: 0.5em !important;
    font-weight: 700;
}

/* a warning/caveat callout */

.callout {
    margin-top: 0.6em;
    border-left: 6px solid var(--gold);
    background: var(--gold-soft);
    padding: 0.48em 0.82em;
    font-size: 0.92em;
}

.math-block {
    border-left: 5px solid var(--cyan);
    background: white;
    padding: 0.25em 0 0.25em 0.65em;
}

/* ===== brand + chrome ===== */

.deck-brand {
    position: fixed;
    top: 16px;
    right: 20px;
    z-index: 10;
}

.deck-brand img {
    width: 132px;
    height: auto;
    border: none;
    background: transparent;
}

.deck-footer {
    position: fixed;
    right: 24px;
    bottom: 18px;
    z-index: 10;
    color: #6c7a86;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

.reveal .slide-number {
    right: auto;
    bottom: 20px;
    left: 18px;
    color: var(--blue);
    background: transparent;
    font-size: 13px;
}

.reveal .progress {
    color: var(--gold);
}

/* section-divider look for the wrap-up */

.section-divider h1,
.section-divider h2 {
    border: none;
}

@media print {
    .reveal .slides section {
        page-break-after: always;
    }

    .reveal .fragment {
        opacity: 1 !important;
        visibility: visible !important;
    }
}
