.event-card {
    max-width: 600px;
    margin: 30px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.event-title {
    font-size: 24px;
    margin-bottom: 20px;
    color: #333;
}

.event-container {
    display: flex;
    align-items: center;
    flex-direction: column;
    text-align: left;
}

.event-thumbnail {
    width: 100%;
    max-width: 400px;
    max-height: 200px; /* Membatasi tinggi gambar */
    object-fit: cover; /* Menjaga proporsi gambar */
    border-radius: 10px;
    margin-bottom: 15px;
}

.event-details {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    width: 100%;
    gap: 10px;
}

.event-date {
    text-align: center;
    background-color: #f8d9df;
    color: #d6407e;
    padding: 10px;
    border-radius: 5px;
    flex-shrink: 0;
    width: 60px;
}

.event-month {
    display: block;
    font-size: 14px;
    font-weight: bold;
}

.event-day {
    display: block;
    font-size: 20px;
    font-weight: bold;
}

.event-info {
    flex-grow: 1;
}

.event-name {
    font-size: 18px;
    margin: 0 0 5px;
    color: #d6407e;
}

.event-location {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.event-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    width: 100%;
}

.btn {
    border: none;
    border-radius: 5px;
    padding: 10px 15px;
    font-size: 14px;
    cursor: pointer;
    font-weight: bold;
}

.detail-btn {
    background-color: #fff;
    color: #d6407e;
    border: 1px solid #d6407e;
}

.detail-btn:hover {
    background-color: #d6407e;
    color: #fff;
}

.rsvp-btn {
    background-color: #f99fbf;
    color: #fff;
    border: 1px solid #f99fbf;
}

.rsvp-btn:hover {
    background-color: #d6407e;
    border-color: #d6407e;
}


@media (max-width: 768px) {
    .event-thumbnail {
        width: 100%;
        max-height: 150px; /* Sesuaikan tinggi untuk mobile */
        object-fit: cover;
    }

    .event-details {
        flex-direction: column; /* Supaya detail event lebih rapi di mobile */
        align-items: flex-start;
    }

    .event-date {
        margin-bottom: 10px; /* Tambahkan ruang antara tanggal dan info */
    }

    .event-actions {
        flex-direction: column; /* Tombol diatur vertikal di mobile */
        gap: 10px;
    }
}