/* ================================
   PAGE-VIDEOS.CSS
   Page-specific styles for videos.html
   Loaded after styles.css
   ================================ */

/* Intro text */
.video-intro {
    margin-bottom: 24px;
}

/* Horizontal dividers */
.video-divider {
    border: none;
    border-top: 1px solid #bbb;
    margin: 0 0 36px 0;
}

/* Video entry - each video + caption block */
.video-entry {
    margin-bottom: 36px;
    padding-bottom: 36px;
    border-bottom: 1px solid #bbb;
}

.video-entry:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

/* Responsive video wrapper — 16:9 default */
.video-wrapper {
    max-width: 560px;
    margin: 0 auto;
    aspect-ratio: 16 / 9;
}

/* 4:3 variant for older-format videos */
.video-wrapper.ratio-4x3 {
    max-width: 420px;
    aspect-ratio: 4 / 3;
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Video captions */
.video-caption {
    text-align: center;
    color: #444;
    font-size: 14px;
    line-height: 1.5;
    margin-top: 14px;
}

.video-caption em {
    font-style: italic;
}

/* ================================
   RESPONSIVE
   ================================ */

@media (max-width: 768px) {
    .video-divider {
        margin: 0 0 28px 0;
    }

    .video-entry {
        margin-bottom: 28px;
        padding-bottom: 28px;
    }

    .video-caption {
        font-size: 13px;
    }

    /* Let captions break naturally on mobile */
    .video-caption br {
        display: none;
    }
}
