/* ─── Upcoming Events List ─────────────────────────────────────────────────── */

.uel-upcoming-events {
    max-width: 800px;
}

.uel-month-heading {
    font-size: 1.3em;
    font-weight: 600;
    margin: 1.5em 0 0.5em;
    padding-bottom: 0.3em;
    border-bottom: 2px solid currentColor;
}

.uel-month-heading:first-child {
    margin-top: 0;
}

.uel-events-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.uel-event-item {
    display: flex;
    align-items: flex-start;
    gap: 1em;
    padding: 0.75em 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.uel-event-item:last-child {
    border-bottom: none;
}

/* Thumbnail */
.uel-event-thumb {
    flex-shrink: 0;
    width: 300px;
    overflow: hidden;
    border-radius: 4px;
}

.uel-event-thumb a {
    display: block;
    width: 100%;
    height: 100%;
}

.uel-event-thumb img.uel-thumb {
    width: 100%;
    height: auto;
    display: block;
}

/* Details stack */
.uel-event-details {
    display: flex;
    flex-direction: column;
    gap: 0.15em;
}

.uel-event-date {
    font-size: 0.85em;
    font-weight: 600;
    opacity: 0.65;
}

.uel-event-title {
    font-size: 1.05em;
    font-weight: 600;
    text-decoration: none;
    color: #2B8356;
}

.uel-event-title:hover {
    text-decoration: underline;
}

.uel-event-meta {
    font-size: 0.85em;
    opacity: 0.6;
}

.uel-event-time,
.uel-event-venue {
    white-space: nowrap;
}

.uel-no-events {
    font-style: italic;
    opacity: 0.6;
}

/* ─── Responsive ──────────────────────────────────────────────────────────── */

@media ( max-width: 480px ) {
    .uel-event-thumb {
        width: 60px;
        height: 60px;
    }

    .uel-event-item {
        gap: 0.75em;
    }
}
