/* ===================================
   VIDEOS LIST PAGE
   =================================== */

.page-banner {
    position: relative;
    padding: 12rem 0 8rem;
    background: linear-gradient(135deg, #1D4E89 0%, #2a5f9e 100%);
    margin-top: 126px;
    overflow: hidden;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='50' cy='50' r='40'/%3E%3Ccircle cx='50' cy='50' r='30'/%3E%3Ccircle cx='50' cy='50' r='20'/%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.4;
}

.banner-container {
    position: relative;
    z-index: 1;
}

.banner-content {
    text-align: center;
    color: white;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.banner-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.9);
}

.videos-filter-section {
    padding: 3rem 0;
    background: white;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.videos-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.videos-filter .filter-btn {
    padding: 0.75rem 1.5rem;
    font-family: var(--font-heading);
    font-size: 0.9375rem;
    font-weight: 600;
    background: var(--color-bg-light);
    color: var(--color-text);
    border: 2px solid transparent;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all var(--transition-fast);
}

.videos-filter .filter-btn:hover {
    background: white;
    border-color: var(--color-primary);
    color: var(--color-primary);
}

.videos-filter .filter-btn.active {
    background: var(--color-primary);
    color: white;
    border-color: var(--color-primary);
}

.videos-list-section {
    padding: 4rem 0 5rem;
    background: var(--color-bg-light);
}

.videos-intro {
    max-width: 720px;
    margin: 0 auto 3rem;
    text-align: center;
    font-size: 1.0625rem;
    line-height: 1.75;
    color: var(--color-text);
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
}

.video-list-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: box-shadow var(--transition-base), transform var(--transition-base);
}

.video-list-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.video-list-media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #0d1117;
}

.video-list-media iframe,
.video-list-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-list-media video {
    object-fit: contain;
}

.video-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
    padding: 0.35rem 0.75rem;
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: white;
    background: rgba(13, 17, 23, 0.85);
    border-radius: var(--radius-sm);
}

.video-badge--yt {
    background: rgba(196, 48, 43, 0.95);
}

.video-list-body {
    padding: 1.5rem 1.75rem 1.75rem;
}

.video-list-body h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--color-secondary);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.video-list-body p {
    font-size: 0.95rem;
    line-height: 1.65;
    color: var(--color-text-light);
    margin: 0;
}

.video-list-body code {
    font-size: 0.85em;
    padding: 0.1em 0.35em;
    background: rgba(29, 78, 137, 0.08);
    border-radius: 4px;
}

@media (max-width: 968px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }

    .banner-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 640px) {
    .page-banner {
        padding: 10rem 0 5rem;
    }

    .banner-title {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: 1.125rem;
    }
}