
/* ────────────────────────────────────────────────────────────────────────
   Agenda — overview list on the archive (/agenda/)
   ──────────────────────────────────────────────────────────────────────── */

/* Reset the global ol styles from main.css (decimal markers, indent) */
.agenda-list {
    list-style: none;
    max-width: 48rem;
    margin: 0 auto;
    padding: 0;
    color: inherit;
}

.agenda-list__item {
    display: grid;
    grid-template-columns: 4.5rem 1fr;
    gap: 1.25rem;
    align-items: start;
    margin: 0;
    padding: 1.5rem 0;
    border-top: 1px solid #e5e7eb;
}

.agenda-list__item:last-child {
    border-bottom: 1px solid #e5e7eb;
}

/* ── Date badge ───────────────────────────────────── */

.agenda-list__date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1;
    background: #f0fdf4;
    border-radius: 12px;
    color: #17481e;
    line-height: 1;
}

.agenda-list__day {
    font-family: var(--font-family-heading);
    font-size: 1.75rem;
    font-weight: 800;
}

.agenda-list__month {
    margin-top: 0.25rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* ── Content ──────────────────────────────────────── */

.agenda-list .agenda-list__title {
    margin: 0 0 0.25rem;
    font-size: 1.25rem;
    line-height: 1.3;
}

.agenda-list__full-date {
    margin: 0;
    color: #6b7280;
    font-size: 0.9rem;
}

.agenda-list__full-date::first-letter {
    text-transform: uppercase;
}

.agenda-list__text {
    margin-top: 0.75rem;
    color: #4b5563;
    line-height: 1.6;
}

.agenda-list__text > :first-child {
    margin-top: 0;
}

.agenda-list__text > :last-child {
    margin-bottom: 0;
}

.agenda-list__text img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
}

@media (max-width: 640px) {
    .agenda-list__item {
        grid-template-columns: 3.75rem 1fr;
        gap: 1rem;
    }

    .agenda-list__day {
        font-size: 1.4rem;
    }
}
