/* ================================================== */
/* ARTIKELPAGINA MET FULLSCREEN INTRO                  */
/* Laad dit bestand NA styles.css                      */
/* Vereist <body class="artikel-page">                 */
/* ================================================== */

/* Header ligt over de intro heen */
body.artikel-page .site-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10;
    padding-bottom: 40px;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0));
}

body.artikel-page .right-nav a,
body.artikel-page .main-nav a {
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

body.artikel-page .main-nav {
    border-top-color: rgba(255, 255, 255, 0.7);
}

body.artikel-page .right-nav a:hover,
body.artikel-page .main-nav a:hover {
    color: #ffa71a;
}

/* Intro: de gif vult het hele scherm */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;   /* fallback voor oudere browsers */
    height: 100svh;  /* telt de adresbalk op mobiel goed mee */
    overflow: hidden;
    background: #000;
}

.hero > video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.hero-titel {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 80px 20px 30px;
    text-align: center;
    color: #ffffff;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0));
}

.hero-titel h1 {
    font-size: 3em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.scroll-hint {
    display: inline-block;
    margin-top: 10px;
    font-size: 2em;
    color: #ffffff;
    text-decoration: none;
    animation: stuiter 1.8s ease-in-out infinite;
}

@keyframes stuiter {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(8px); }
}

/* Het artikel zelf */
.artikel-tekst {
    max-width: 720px;
    margin: 0 auto;
    padding: 60px 20px 80px;
}

.artikel-tekst p {
    font-size: 1.1em;
    line-height: 1.75;
    margin-bottom: 1.4em;
}

.artikel-tekst figure {
    margin: 2em 0;
}

.artikel-tekst figure img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;           /* behoudt de verhouding */
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.artikel-tekst figcaption {
    margin-top: 8px;
    font-size: 0.85em;
    font-style: italic;
    color: #666666;
}

/* Audiospelers */
.audio-blok {
    padding: 15px 20px;
    background: #fcfdffc1;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.audio-blok figcaption {
    margin: 0 0 8px;
    font-style: normal;
    font-weight: bold;
    font-size: 0.95em;
    color: #373737;
}

.audio-blok audio {
    display: block;
    width: 100%;
}

/* YouTube-video */
.artikel-tekst .video-container {
    max-width: 100%;
    margin: 2em 0 0;
}

@media (max-width: 768px) {
    .hero-titel h1 {
        font-size: 2em;
    }

    .artikel-tekst {
        padding: 40px 16px 60px;
    }

    .artikel-tekst p {
        font-size: 1em;
    }
}
