/*
 * Huisstijl voor presentaties (reveal.js-thema "greijdanus").
 * Wordt geladen bovenop vendor/reveal/dist/theme/white.css.
 * Kleuren aanpassen? Alleen de --g-* variabelen hieronder wijzigen.
 */
:root {
    --g-primary: #003d6b;
    --g-primary-light: #e6eef5;
    --g-accent: #f39200;
    --g-text: #1f2933;
    --g-muted: #5f6b76;

    --r-background-color: #ffffff;
    --r-main-font: 'Segoe UI', Calibri, Arial, Helvetica, sans-serif;
    --r-main-font-size: 38px;
    --r-main-color: var(--g-text);
    --r-heading-font: 'Segoe UI', Calibri, Arial, Helvetica, sans-serif;
    --r-heading-color: var(--g-primary);
    --r-heading-text-transform: none;
    --r-heading-font-weight: 700;
    --r-heading-letter-spacing: -0.01em;
    --r-heading1-size: 2.1em;
    --r-heading2-size: 1.45em;
    --r-heading3-size: 1.15em;
    --r-link-color: var(--g-primary);
    --r-link-color-dark: var(--g-primary);
    --r-link-color-hover: var(--g-accent);
    --r-selection-background-color: var(--g-accent);
}

.reveal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: linear-gradient(90deg, var(--g-primary) 0 70%, var(--g-accent) 70% 100%);
    z-index: 10;
    pointer-events: none;
}
.reveal.has-dark-background::before,
.reveal.g-image-bg::before {
    display: none;
}

.reveal .slides section:not(.title):not(.section) {
    text-align: left;
}
.reveal .slides section:not(.title):not(.section) h2 {
    padding-bottom: 0.2em;
    border-bottom: 4px solid var(--g-accent);
    display: block;
    width: fit-content;
}
.reveal ul,
.reveal ol {
    display: block;
    margin-left: 1.2em;
}
.reveal li {
    margin-bottom: 0.25em;
}
.reveal ul li::marker {
    color: var(--g-accent);
}

.reveal .slides section.title,
.reveal .slides section.section {
    text-align: left;
}
.reveal .slides section.title h1,
.reveal .slides section.title h2 {
    color: #ffffff;
    border: none;
}
.reveal .slides section.section h1,
.reveal .slides section.section h2 {
    color: var(--g-primary);
    border: none;
}
.reveal .slides section.title h1::after,
.reveal .slides section.section h1::after,
.reveal .slides section.section h2::after {
    content: '';
    display: block;
    width: 3em;
    height: 0.12em;
    margin-top: 0.3em;
    background: var(--g-accent);
}
.reveal .slides section.title p {
    color: rgba(255, 255, 255, 0.85);
}
.reveal .slides section.section p {
    color: var(--g-muted);
}

.reveal blockquote {
    width: auto;
    font-style: normal;
    text-align: left;
    background: var(--g-primary-light);
    border-left: 8px solid var(--g-primary);
    box-shadow: none;
    padding: 0.4em 0.8em;
}

.reveal table th {
    background: var(--g-primary);
    color: #ffffff;
}
.reveal table td {
    border-bottom-color: #d6dde3;
}

.reveal pre {
    box-shadow: none;
    border-radius: 6px;
}
.reveal :not(pre) > code {
    background: var(--g-primary-light);
    color: var(--g-primary);
    padding: 0 0.2em;
    border-radius: 4px;
}

.reveal .muted {
    color: var(--g-muted);
}
.reveal .accent {
    color: var(--g-accent);
}

.reveal .slide-number {
    background: transparent;
    color: var(--g-muted);
    font-family: var(--r-main-font);
}
.reveal .progress {
    color: var(--g-accent);
}

.reveal.g-house-bg .controls,
.reveal.g-house-bg .slide-number {
    color: #ffffff;
}

.reveal .g-columns {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 1em;
    align-items: start;
}
.reveal .g-columns > div {
    min-width: 0;
}

.reveal table.g-layout-table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}
.reveal table.g-layout-table thead {
    display: none;
}
.reveal table.g-layout-table td {
    width: 50%;
    vertical-align: top;
    border: none;
    padding: 0 0.5em;
}

.reveal .slides section img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}
.reveal .g-columns img,
.reveal .g-layout-table img {
    display: block;
    margin: 0 auto;
}
