* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Segoe UI", sans-serif;
}

body {
    background: #f4f6f9;
}

.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 */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

/* Card */
.event-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.event-card:hover {
    transform: translateY(-6px);
}

.event-img img {
    width: 100%;
    height: 230px;
    object-fit: cover;
}

.event-content {
    padding: 20px;
}

.event-content h3 {
    font-size: 18px;
    margin-bottom: 8px;
    color: #222;
}

.event-content p {
    font-size: 14px;
    color: #555;
}

/* 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) {
    .events-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 26px;
    }

    .events-grid {
        grid-template-columns: 1fr;
    }

    .event-img img {
        height: 200px;
    }
}
