.events-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

.event-card {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.event-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.event-info {
    padding: 10px;
    text-align: center;
}

.event-info h3 {
    margin: 10px 0;
    font-size: 18px;
}

.event-info p {
    color: #555;
    font-size: 16px;
}

.event-nav-button {
    padding: 8px 16px;
    margin: 5px;
    background-color: #0073aa;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
}
