/* ============================================== */
/* NEUE HAAS UNICA PRO FONTS                      */
/* ============================================== */
@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro-Light.woff2') format('woff2'),
         url('../fonts/NeueHaasUnicaPro-Light.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro-Regular.woff2') format('woff2'),
         url('../fonts/NeueHaasUnicaPro-Regular.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Neue Haas Unica Pro';
    src: url('../fonts/NeueHaasUnicaPro-Bold.woff2') format('woff2'),
         url('../fonts/NeueHaasUnicaPro-Bold.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ============================================== */
/* STANDAARD CSS VARIABELEN & BASIS               */
/* ============================================== */
:root {
    color-scheme: light;
    --kd-yellow: #FDF498;
    --kd-black: #000000;
    --kd-white: #FFFFFF;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Neue Haas Unica Pro', sans-serif;
    -ms-overflow-style: none;
    scrollbar-width: none;
    forced-color-adjust: none;
}
        
        *::-webkit-scrollbar {
            display: none;
        }

        body {
            background-color: #e5e7eb;
            display: flex;
            align-items: center;
            justify-content: center;
            min-height: 100vh;
            overflow-x: hidden;
        }

        #app-container {
            width: 100vw;
            height: 100vh;
            background-color: var(--kd-white);
            position: relative;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
            overflow-x: hidden;
        }

        .page {
            display: flex;
            flex-direction: column;
            width: 100%;
            min-height: 100vh;
            background-color: var(--kd-white);
        }

        .hidden {
            display: none !important;
        }

        /* Headers */
        .header {
            display: flex;
            justify-content: space-between;
            align-items: flex-start;
            padding: 20px;
            background-color: var(--kd-white);
            z-index: 10;
            position: relative;
            flex-shrink: 0;
        }

        .header .logo {
            width: 120px;
            height: auto;
        }

        .header-subtitle {
            position: absolute;
            left: 50%;
            top: 50%;
            transform: translate(-50%, -50%);
            font-size: 16px;
            font-weight: 400;
            color: var(--kd-black);
            background-color: transparent; 
            padding: 2px 8px;
        }

        .header .hamburger {
            width: 35px;
            height: 25px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            cursor: pointer;
            margin-top: 5px;
        }

        .header .hamburger span {
            display: block;
            height: 1px;
            width: 100%;
            background-color: var(--kd-black);
        }

        /* Progress Bar */
        .progress-track {
            width: 100%;
            height: 6px;
            background-color: #e0e0e0;
            position: relative;
            z-index: 10;
            flex-shrink: 0;
        }

        .progress-fill {
            height: 100%;
            background-color: var(--kd-yellow);
            transition: width 0.3s ease;
        }

        /* --- SPLASH PAGE SPECIFICS --- */
        #splash-page {
            display: flex;
            flex-direction: column;
            height: 100vh;
        }

        #splash-page .header {
            padding: 20px;
            flex-shrink: 0;
        }

        #splash-page .logo {
            width: 140px;
            height: auto;
            transform: none;
        }

        .splash-lang-banner {
            background-color: var(--kd-yellow);
            padding: 18px 25px;
            display: flex;
            justify-content: flex-end;
            align-items: center;
            flex-shrink: 0;
        }

        .splash-lang-banner .lang-container {
            display: flex;
            gap: 15px;
            margin: 0;
        }

        .splash-image-container {
            flex-grow: 1;
            width: 100%;
            position: relative;
            overflow: hidden;
            background-color: #eee;
        }

        .splash-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            object-position: bottom center;
            position: absolute;
            top: 0;
            left: 0;
        }

        .lang-container {
            display: flex;
            gap: 15px;
            justify-content: center;
        }

        .splash-lang-btn, .lang-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 1px solid var(--kd-black);
            background: transparent;
            font-size: 16px;
            font-weight: 400;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--kd-black);
        }

        .lang-btn.active {
            background-color: var(--kd-black);
            color: var(--kd-yellow);
        }

        /* --- MENU PAGE SPECIFICS --- */
        #menu-page {
            background-color: var(--kd-yellow);
            justify-content: space-between;
        }

        .menu-top-section {
            position: relative;
            padding: 50px 30px 20px 30px; 
        }

        .menu-logo {
            width: 160px; 
        }

        .menu-close {
            position: absolute;
            top: 30px;
            right: 30px;
            font-size: 40px;
            font-weight: 300;
            cursor: pointer;
            line-height: 1;
        }

        .menu-list {
            display: flex;
            flex-direction: column;
            padding: 0 30px;
            margin-top: 20px;
            flex-grow: 1;
        }

        .menu-item {
            border-top: 1px solid var(--kd-black);
            padding: 20px 0;
            font-size: 24px;
            font-weight: 300;
            cursor: pointer;
            color: var(--kd-black);
        }

        .menu-item:last-child {
            border-bottom: 1px solid var(--kd-black);
        }

        .menu-lang-wrapper {
            padding: 30px;
            display: flex;
            justify-content: flex-start; 
        }

        /* --- MEER KD / MET DANK AAN PAGE SPECIFICS --- */
        .mkd-content {
            padding: 30px 20px;
            flex-grow: 1;
            background-color: var(--kd-white);
            display: flex;
            flex-direction: column; 
            align-items: flex-start;
        }

        .mkd-line {
            border-top: 1px solid var(--kd-black);
            margin: 20px 0;
            width: 100%;
        }

        .mkd-title {
            font-size: 26px;
            font-weight: 300;
            margin: 10px 0;
            width: 100%;
        }

        .mkd-text {
            font-size: 16px;
            line-height: 1.4;
            margin-bottom: 20px;
            font-weight: 400;
            width: 100%;
        }

        .website-btn {
            display: inline-block;
            border: 1px solid var(--kd-black);
            background-color: transparent;
            padding: 10px 30px;
            font-size: 16px;
            cursor: pointer;
            text-decoration: none;
            color: var(--kd-black);
            margin-bottom: 20px;
        }

        .mkd-back-btn {
            margin-top: auto; 
            padding-top: 20px;
            margin-bottom: 60px; /* Pijl 60px hoger gezet */
            cursor: pointer;
            display: flex;
            align-items: center;
        }

        .mkd-back-btn svg {
            width: 40px;
            height: 20px;
        }

        /* RATING SECTION */
        .rating-section {
            width: 100%;
            margin-bottom: 25px;
        }

        .rating-btn {
            display: inline-block;
            border: 1px solid var(--kd-black);
            background-color: transparent;
            padding: 10px 20px;
            font-size: 16px;
            font-weight: 400;
            cursor: pointer;
            color: var(--kd-black);
        }

        .star-rating-container {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .star {
            font-size: 32px;
            color: #ccc;
            cursor: pointer;
            user-select: none;
            transition: color 0.2s ease;
        }

        .star.filled {
            color: #fbc02d;
        }

        /* Toast notification */
        .toast-notification {
            position: fixed;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            background-color: var(--kd-black);
            color: var(--kd-yellow);
            padding: 12px 24px;
            border-radius: 4px;
            font-size: 14px;
            font-weight: 400;
            z-index: 3000;
            box-shadow: 0 4px 12px rgba(0,0,0,0.3);
            opacity: 0;
            transition: opacity 0.3s ease;
            pointer-events: none;
        }

        .toast-notification.show {
            opacity: 1;
        }

        .mkd-footer {
            background-color: var(--kd-yellow);
            padding: 30px 20px;
        }

        .mkd-footer-text {
            font-size: 18px;
            font-weight: 300;
            margin-bottom: 25px;
            line-height: 1.3;
        }

        .social-row {
            display: flex;
            gap: 15px;
            align-items: center;
            justify-content: flex-start; 
        }

        .social-circle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: 1px solid var(--kd-black);
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none;
            color: var(--kd-black);
            font-size: 20px;
            font-weight: 500;
        }

        .nieuwsbrief-btn {
            background-color: var(--kd-black);
            color: var(--kd-yellow);
            padding: 6px 20px; 
            text-decoration: none;
            font-size: 16px;
            margin-left: auto;
        }

        /* --- OPDRACHTEN PAGE (STARTSCHERM MET DE 3 OEFENINGEN) --- */
        #opdrachten-page .header {
            border-bottom: 1px solid var(--kd-black);
            padding: 20px;
        }

        #opdrachten-page .header .logo {
            width: 120px;
            height: auto;
        }

        #opdrachten-page .header .hamburger {
            width: 35px;
            height: 25px;
            margin-top: 5px;
        }

        .opdrachten-hero {
            display: flex;
            flex-direction: row;
            width: 100%;
            background-color: var(--kd-white);
            border-bottom: 1px solid var(--kd-black);
        }

        .opdrachten-hero-image {
            width: 48%;
            flex-shrink: 0;
        }

        .opdrachten-hero-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .opdrachten-hero-text {
            width: 52%;
            padding: 30px 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            background-color: var(--kd-white);
        }

        .opdracht-verken-text {
            font-size: 20px;
            font-weight: 300;
            line-height: 1.35;
            color: var(--kd-black);
            margin-bottom: 20px;
        }

        .welk-traject-bar {
            background-color: transparent;
            color: var(--kd-black);
            padding: 0;
            font-size: 22px;
            font-weight: 700;
            line-height: 1.3;
            display: block;
        }

        .opdrachten-list {
            background-color: var(--kd-yellow);
            flex-grow: 1;
            padding: 20px 25px 30px 25px;
        }

        .opdracht-item {
            padding: 20px 0 25px 0;
            position: relative;
            cursor: pointer;
            border-bottom: 1px solid var(--kd-black);
        }

        .opdracht-item:last-child {
            border-bottom: none;
        }

        .opdracht-title-wrapper {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 10px;
        }

        .opdracht-title {
            background-color: transparent;
            font-size: 32px;
            font-weight: 300;
            color: var(--kd-black);
        }

        .arrow-right {
            width: 45px;
            height: 22px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .arrow-right svg {
            width: 100%;
            height: 100%;
        }

        .opdracht-desc {
            font-size: 18px;
            font-weight: 400;
            color: var(--kd-black);
            margin-bottom: 8px;
        }

        .opdracht-time {
            font-size: 15px;
            font-style: italic;
            color: var(--kd-black);
        }

        /* --- BLACK CONTENT LAYOUTS --- */
        .black-content {
            background-color: var(--kd-black);
            color: var(--kd-white);
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            overflow-y: auto;
        }

        .black-padding {
            padding: 40px 30px;
            display: flex;
            flex-direction: column;
            flex-grow: 1;
        }

        .black-text-large {
            font-size: 26px;
            font-weight: 300;
            line-height: 1.4;
            margin-bottom: 40px;
        }

        .black-nav-footer {
            margin-top: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 30px;
            background-color: var(--kd-black);
        }

        .black-back-btn, .black-next-btn {
            cursor: pointer;
            display: flex;
            align-items: center;
            padding: 10px 0;
        }

        .black-back-btn svg, .black-next-btn svg.arrow {
            width: 60px; 
            height: 30px; 
        }

        .video-container {
            flex-grow: 1;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            width: 100%;
            padding: 20px 0;
        }

        .custom-video-wrapper {
            position: relative;
            width: calc(100% - 10px);
            max-width: 540px;
            margin: 0 auto;
        }

        .custom-video-wrapper video {
            width: 100%;
            height: auto;
            display: block;
            outline: none;
            background-color: #000;
            cursor: pointer;
            object-fit: contain;
        }

        .video-fit-screen video {
            max-height: 35vh; 
            object-fit: contain;
        }

        .play-overlay {
            position: absolute;
            top: 0; left: 0; right: 0; bottom: 42px; 
            background: rgba(0,0,0,0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            transition: opacity 0.2s ease;
            pointer-events: none; 
        }

        .play-overlay svg {
            width: 60px;
            height: 60px;
            fill: rgba(255, 255, 255, 0.8);
        }

        .video-controls-bar {
            display: flex;
            align-items: center;
            background-color: #1a1a1a;
            padding: 8px 15px;
            gap: 15px;
        }

        .video-controls-bar button {
            background: none;
            border: none;
            color: var(--kd-yellow);
            font-size: 18px;
            cursor: pointer;
        }

        .video-controls-bar input[type=range] {
            flex-grow: 1;
            cursor: pointer;
        }

        .video-controls-bar select {
            background: #333;
            color: var(--kd-white);
            border: 1px solid #555;
            padding: 3px 5px;
            border-radius: 4px;
            font-size: 14px;
            outline: none;
        }
/* Specifieke bediening voor de 3 video's van 'De plek' */
.plek-controls {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.plek-controls .vid-scrubber {
    flex-grow: 1;
    cursor: pointer;
    accent-color: var(--kd-yellow);
    height: 6px;
}

.volume-control-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vertical-volume-popup {
    display: none;
    position: absolute;
    bottom: 35px;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    padding: 10px 6px;
    border-radius: 6px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    z-index: 10;
}

/* Toon de rechtopstaande slider bij interactie met het luidspreker-icoon */
.volume-control-wrapper:hover .vertical-volume-popup,
.volume-control-wrapper:focus-within .vertical-volume-popup {
    display: flex;
}

.vertical-slider {
    writing-mode: vertical-lr;
    direction: rtl;
    width: 8px;
    height: 80px;
    accent-color: var(--kd-yellow);
    cursor: pointer;
}
        .audio-icon {
            height: 100px;
            width: auto;
            margin-top: 15px;
            display: block;
            border: none;
            outline: none;
            clip-path: inset(0 15% 0 0); 
        }

        .carrousel-scroll-area {
            padding: 40px 30px; 
            display: flex;
            flex-direction: column;
            gap: 50px;
            flex-grow: 1;
        }

        .carrousel-item {
            display: flex;
            flex-direction: column;
            width: 65%; 
            gap: 10px;
        }

        .carrousel-item.left { align-self: flex-start; }
        .carrousel-item.right { align-self: flex-end; }

        .carrousel-image-wrapper {
            position: relative;
            cursor: zoom-in;
            width: 100%;
        }

        .carrousel-image-wrapper img {
            width: 100%;
            display: block;
            border-radius: 2px;
            box-shadow: 0 4px 10px rgba(0,0,0,0.3);
            background-color: #fff;
        }

        .carrousel-text {
            font-size: 15px;
            font-weight: 300;
            line-height: 1.4;
            color: var(--kd-white);
        }

        .zoom-icon {
            position: absolute;
            bottom: 10px;
            right: 10px;
            width: 28px;
            height: 28px;
            background-color: var(--kd-yellow);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 2px 5px rgba(0,0,0,0.5);
        }

        .zoom-icon svg {
            width: 14px;
            height: 14px;
            stroke: var(--kd-black);
        }

        .map-legend-overlay {
            position: absolute;
            bottom: 10px;
            left: 10px;
            width: 25%;
            min-width: 90px;
            max-width: 140px;
            height: auto;
            z-index: 5;
            box-shadow: 0 2px 8px rgba(0,0,0,0.4);
            border-radius: 2px;
            pointer-events: none;
        }

        /* Lightbox Container voor Kaart + Legende */
        #lightbox-container {
            position: relative;
            display: inline-block;
            max-width: 100vw;
            max-height: 100vh;
            transform-origin: center center;
            will-change: transform;
        }

        #lightbox-container #lightbox-img {
            width: 100vw;
            max-height: 100vh;
            object-fit: contain;
            display: block;
        }

        #lightbox-container #lightbox-legend-img {
            position: absolute;
            bottom: 12px;
            left: 12px;
            width: 25%;
            min-width: 90px;
            max-width: 160px;
            height: auto;
            z-index: 5;
            box-shadow: 0 2px 8px rgba(0,0,0,0.5);
            border-radius: 2px;
            pointer-events: none;
        }

        @media (orientation: landscape) {
            #plaats-page-5 .header,
            #plaats-page-5 .progress-track {
                display: none !important;
            }
            #plaats-page-5 .black-padding {
                padding-top: 10px;
                padding-bottom: 10px;
            }
        }

        #lightbox {
            position: fixed;
            top: 0; left: 0; width: 100vw; height: 100vh;
            background: rgba(0,0,0,0.95);
            z-index: 2000;
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden; 
        }

        .close-lightbox {
            position: absolute;
            top: 20px;
            right: 30px;
            color: var(--kd-white);
            font-size: 40px;
            font-weight: 300;
            cursor: pointer;
            z-index: 2001;
            padding: 10px;
        }

        .avatar-section {
            padding: 20px 30px 10px 30px;
            display: flex;
            flex-direction: column;
        }

        .avatar-section-title {
            font-size: 22px;
            font-weight: 300;
            color: var(--kd-white);
            margin-bottom: 10px;
        }

        .avatar-line {
            width: 100%;
            height: 1px;
            background-color: var(--kd-white);
            margin-bottom: 15px;
        }

        .avatar-item {
            display: flex;
            align-items: center;
            justify-content: space-between; 
            margin-bottom: 12px;
            padding-bottom: 12px;
            border-bottom: 1px solid rgba(255,255,255,0.2);
            cursor: pointer;
        }

        .avatar-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
        }

        .avatar-left-content {
            display: flex;
            align-items: center;
            gap: 15px;
            flex-grow: 1;
            padding-right: 15px;
        }

        .avatar-circle {
            width: 55px;
            height: 55px;
            border-radius: 50%;
            background-color: var(--kd-yellow);
            flex-shrink: 0;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            position: relative;
        }

        .avatar-circle img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            position: relative;
            z-index: 2;
        }

        .avatar-placeholder-svg {
            width: 32px;
            height: 32px;
            stroke: var(--kd-black);
            fill: none;
            stroke-width: 1.5;
            stroke-linecap: round;
            stroke-linejoin: round;
            position: absolute;
            z-index: 1;
        }

        .avatar-text-block {
            display: flex;
            flex-direction: column;
        }

        .avatar-name {
            font-size: 16px;
            font-weight: 700;
            color: var(--kd-white);
            margin-bottom: 3px;
        }

        .avatar-desc {
            font-size: 13px;
            font-weight: 300;
            color: var(--kd-white);
            line-height: 1.2;
        }

        .avatar-arrow {
            width: 40px;
            height: 20px;
            flex-shrink: 0;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        
        .avatar-arrow svg {
            width: 100%;
            height: 100%;
            stroke: var(--kd-white);
        }

        .avatar-video-layout {
            padding: 30px; 
            display: flex; 
            flex-direction: column; 
            justify-content: space-between;
        }
        
        .avatar-video-text {
            font-size: 18px; 
            font-weight: 300; 
            line-height: 1.4; 
            margin-bottom: 15px;
        }

        .reflectie-text {
            font-size: 32px;
            font-weight: 300;
            line-height: 1.2;
            color: var(--kd-white);
            margin-top: 10px;
        }

        .reflectie-footer {
            margin-top: auto;
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 20px 30px;
            background-color: var(--kd-black);
        }

        .btn-outline {
            border: 1px solid var(--kd-white);
            background-color: transparent;
            color: var(--kd-white);
            padding: 10px 15px;
            font-size: 16px;
            cursor: pointer;
            text-decoration: none;
            font-weight: 300;
        }

        .btn-solid-yellow {
            border: none;
            background-color: var(--kd-yellow);
            color: var(--kd-black);
            padding: 11px 15px;
            font-size: 16px;
            cursor: pointer;
            text-decoration: none;
            font-weight: 400;
        }

        .kd-dropdown {
            margin-top: 30px;
            border-top: 1px solid rgba(255,255,255,0.3);
            border-bottom: 1px solid rgba(255,255,255,0.3);
        }
        .kd-dropdown summary {
            padding: 15px 0;
            font-size: 16px;
            font-weight: 400;
            color: var(--kd-yellow);
            cursor: pointer;
            list-style: none;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .kd-dropdown summary::-webkit-details-marker {
            display: none;
        }
        .kd-dropdown summary svg {
            width: 20px;
            height: 20px;
            stroke: var(--kd-yellow);
            transition: transform 0.3s ease;
        }
        .kd-dropdown[open] summary svg {
            transform: rotate(180deg);
        }
        .kd-dropdown p {
            padding-bottom: 15px;
            font-size: 16px;
            font-weight: 300;
            line-height: 1.4;
            color: var(--kd-white);
        }

        #global-footer {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100vw;
            height: 70px;
            background: transparent;
            display: flex;
            align-items: center;
            padding: 0 20px;
            pointer-events: none; 
            z-index: 100;
        }

        #back-btn {
            background-color: transparent;
            border: none;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            pointer-events: auto;
            box-shadow: none; 
        }

        #back-btn svg {
            width: 40px;
            height: 20px;
        }

        /* TIMELINE STYLES */
        :root {
            --bg-body: #000000;
            --bg-card: transparent;
            --text-title: #ffffff;
            --text-body: #cccccc;
            --line-color: #ffffff;
            --circle-color: #ffffff;
            --badge-bg: #f9ea74;
            --badge-text: #000000;
            --card-border: transparent;
            --divider-color: rgba(255, 255, 255, 0.3);
        }

        .timeline-wrapper {
            width: 100%;
            max-width: 560px;
            position: relative;
            padding-left: 40px;
            margin-top: 20px;
        }

        .timeline-wrapper::before {
            content: '';
            position: absolute;
            top: -20px;
            bottom: 0;
            left: 15px;
            width: 2px;
            background: linear-gradient(to bottom, transparent 0%, var(--line-color) 10%, var(--line-color) 90%, transparent 100%);
        }

        .timeline-item {
            position: relative;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -29px;
            top: 32px;
            width: 10px;
            height: 10px;
            border-radius: 50%;
            background-color: var(--circle-color);
            z-index: 2;
        }

        .timeline-card {
            background-color: var(--bg-card);
            border: none;
            overflow: hidden;
        }

        summary.card-summary {
            position: relative;
            z-index: 20;
            padding: 24px 0;
            cursor: pointer;
            user-select: none;
            list-style: none;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            border-bottom: 1px solid var(--divider-color);
        }

        .timeline-item:last-child summary.card-summary {
            border-bottom: none;
        }

        summary.card-summary::-webkit-details-marker {
            display: none;
        }

        .summary-content {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 20px;
            flex-grow: 1;
        }

        .year-badge {
            background-color: var(--badge-bg);
            color: var(--badge-text);
            font-weight: 800;
            font-size: 16px;
            padding: 6px 18px;
            border-radius: 20px;
            min-width: 80px;
            text-align: center;
            flex-shrink: 0;
        }

        .card-header {
            font-size: 17px;
            font-weight: 400;
            color: var(--text-title);
            line-height: 1.3;
        }

        .toggle-icon {
            font-size: 14px;
            color: var(--line-color);
            transition: transform 0.2s ease;
            flex-shrink: 0;
            font-weight: 300;
        }

        details[open] .toggle-icon {
            transform: rotate(180deg);
        }

        .timeline-wrapper .video-container {
            border-radius: 8px;
            overflow: hidden;
            background-color: #111111;
            width: 100%;
            max-width: 540px;
            aspect-ratio: 540 / 960;
            position: relative;
            margin: 0 auto;
        }

        .timeline-wrapper .video-container video {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
        }

        .video-click-area {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: calc(100% - 55px);
            z-index: 5;
            cursor: pointer;
            pointer-events: auto !important;
            display: block !important;
            -webkit-tap-highlight-color: transparent;
        }

        .video-play-overlay {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            width: 64px;
            height: 64px;
            background-color: rgba(249, 234, 116, 0.9);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            z-index: 6;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
            transition: all 0.2s ease;
            pointer-events: none;
        }

        .video-play-overlay:hover {
            transform: translate(-50%, -50%) scale(1.1);
            background-color: rgba(249, 234, 116, 1);
        }


        .video-play-overlay:hover {
            transform: translate(-50%, -50%) scale(1.1);
            background-color: rgba(249, 234, 116, 1);
        }

        .video-play-overlay::after {
            content: '';
            display: block;
            margin-left: 6px;
            border-style: solid;
            border-width: 12px 0 12px 20px;
            border-color: transparent transparent transparent #000000;
        }
        
        video::-webkit-media-controls-start-playback-button {
            display: none !important;
            -webkit-appearance: none;
        }
