* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: #f5f6fa;
}

.container {
    max-width: 1200px;
    margin: auto;
    padding: 50px 15px;
}

.section-title {
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 40px;
    color: #1a1a1a;
}

/* Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}


/* Card */
.video-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
}

/* Responsive iframe */
.video-frame {
    position: relative;
    padding-top: 56.25%; /* 16:9 */
}

.video-frame iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-content {
    padding: 18px;
}

.video-content h3 {
    font-size: 18px;
    color: #222;
}

/* Pagination */
.pagination {
    margin-top: 40px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.pagination a {
    padding: 10px 15px;
    text-decoration: none;
    background: #fff;
    border-radius: 6px;
    color: #333;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.pagination a.active,
.pagination a:hover {
    background: #b48b3c;
    color: #fff;
}

/* Responsive */
@media (max-width: 992px) {
    .videos-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 26px;
    }
}
