/* ============================================================
   event.css — Halaman Daftar Event
   ============================================================ */

/* ── Event Grid ── */
.event-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}

/* ── Event Card ── */
.event-card {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s, box-shadow 0.3s;
    padding: 0;
    align-items: unset;
    justify-content: unset;
    gap: unset;
}
.event-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,.15);
}
.event-card img    { width: 100%; height: 200px; object-fit: cover; }
.event-card p      { font-size: 14px; flex-grow: 1; line-height: 1.6; margin-top: 16px; margin-bottom: 0; }
.event-card .btn   { margin-top: 16px; background: var(--gold); color: var(--ink); font-weight: 700; justify-content: center; }

.event-content     { padding: 24px; display: flex; flex-direction: column; flex-grow: 1; }
.event-content h3  { margin: 0 0 10px; font-size: 24px; color: var(--blue-900); }

/* ── Event Meta ── */
.event-meta {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.event-meta .meta-item { display: flex; align-items: center; }
.event-meta i          { margin-right: 8px; color: var(--blue-700); }

/* ── Description Link ── */
.description-link {
    font-weight: 600;
    color: var(--blue-700);
    text-decoration: none;
    margin-left: 4px;
}

/* ── Empty / Message ── */
.no-events,
.message {
    text-align: center;
    color: var(--muted);
    margin-top: 50px;
    font-size: 18px;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .event-grid  { grid-template-columns: 1fr; }
    .event-card  { flex-direction: column; align-items: center; text-align: center; }
}