/* =========================
 BANNER
========================= */
.page-banner {
    height: 260px;
    background: url('../img/banner.jpg') center center / cover no-repeat;
    position: relative;
}

.page-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.45);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-banner-overlay h1 {
    color: #fff;
    font-size: 42px;
    font-weight: 800;
}

/* =========================
 VIDEO DISPLAY
========================= */
.video-display {
    padding: 60px 0;
    background: #fff;
}

.video-display iframe {
    width: 100%;
    height: 520px;
}

/* =========================
 PAST TALKS
========================= */
.past-talks {
    padding: 80px 0;
    background: #fff;
    font-family: "Segoe UI", system-ui, sans-serif;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 50px;
    color: #000;
}

/* =========================
 VIDEO GRID (4 x 4)
========================= */
.video-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.video-card {
    cursor: pointer;
    transition: 0.3s;
}

.video-card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.video-card h4 {
    margin-top: 10px;
    font-size: 15px;
    color: #000;
}

.video-card:hover {
    transform: translateY(-6px);
}

/* =========================
 PAGINATION
========================= */
.pagination {
    text-align: center;
    margin-top: 60px;
}

.pagination button {
    border: 1px solid #000;
    background: #fff;
    color: #000;
    padding: 8px 14px;
    margin: 0 4px;
    cursor: pointer;
}

.pagination button.active,
.pagination button:hover {
    background: #000;
    color: #fff;
}

/* =========================
 RESPONSIVE
========================= */
@media (max-width: 992px) {
    .video-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-display iframe {
        height: 360px;
    }
}

@media (max-width: 576px) {
    .video-grid {
        grid-template-columns: 1fr;
    }

    .video-display iframe {
        height: 240px;
    }
}
