.stp-events-wrap {
    --stp-border: rgba(0, 0, 0, 0.14);
    --stp-muted: rgba(0, 0, 0, 0.62);
    --stp-surface: #fff;
    width: 100%;
}

.stp-events-heading {
    margin: 0 0 28px;
}

.stp-events-heading-past {
    margin-top: 64px;
}

.stp-events-list {
    display: grid;
    gap: 28px;
}

.stp-event-card {
    display: grid;
    grid-template-columns: minmax(220px, 32%) minmax(0, 1fr);
    overflow: hidden;
    background: var(--stp-surface);
    border: 1px solid var(--stp-border);
    border-radius: 12px;
}

.stp-event-card.no-image {
    grid-template-columns: 1fr;
}

.stp-event-media {
    min-height: 220px;
    background: rgba(0,0,0,0.04);
}

.stp-event-image {
    width: 100%;
    height: 100%;
    min-height: 220px;
    object-fit: cover;
    display: block;
}

.stp-event-body {
    padding: 30px 34px;
    align-self: center;
}

.stp-event-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin-bottom: 10px;
    font-size: 0.9em;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.stp-event-location {
    color: var(--stp-muted);
}

.stp-event-title {
    margin: 0 0 12px;
    padding: 0;
}

.stp-event-description > :first-child {
    margin-top: 0;
}

.stp-event-description > :last-child {
    margin-bottom: 0;
}

.stp-events-past .stp-event-card {
    opacity: 1;
    background: transparent;
    border: 0;
    border-bottom: 1px solid var(--stp-border);
    border-radius: 0;
}
.stp-archive-year { margin: 0 0 16px; border: 1px solid var(--stp-border); border-radius: 8px; overflow: clip; }
.stp-archive-year summary { cursor: pointer; display: flex; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 1.45em; background: rgba(127,127,127,.08); }
.stp-archive-year summary::after { content: '+'; margin-left: auto; font-size: 1.25em; }
.stp-archive-year[open] summary::after { content: '−'; }
.stp-archive-year summary small { font-size: .55em; font-weight: 400; }
.stp-events-past { gap: 0; padding: 0 22px; }
.stp-events-past .stp-event-card:last-child { border-bottom: 0; }
.stp-events-past .stp-event-body { padding: 18px 0; }
.stp-events-past .has-image .stp-event-body { padding: 20px; }
.stp-events-past .stp-event-title { font-size: 1.1em; margin: 0; }
.stp-events-past .stp-event-meta { margin-bottom: 4px; }
.stp-events-past .stp-event-media, .stp-events-past .stp-event-image { min-height: 100px; max-height: 180px; }
.stp-events-upcoming .stp-event-card { background: transparent; border-top: 4px solid currentColor; }
.stp-event-location, .stp-events-empty { color: inherit; opacity: .8; }
.stp-archive-year summary:focus-visible { outline: 2px solid currentColor; outline-offset: -3px; }

.stp-events-empty {
    padding: 24px 0;
    color: var(--stp-muted);
}

@media (max-width: 767px) {
    .stp-event-card {
        grid-template-columns: 1fr;
    }

    .stp-event-media,
    .stp-event-image {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .stp-event-body {
        padding: 24px;
    }

    .stp-events-heading-past {
        margin-top: 48px;
    }
}
