diff --git a/frontend/src/themes/institutional/FpaAgendaSection.astro b/frontend/src/themes/institutional/FpaAgendaSection.astro index d60b95e..357a043 100644 --- a/frontend/src/themes/institutional/FpaAgendaSection.astro +++ b/frontend/src/themes/institutional/FpaAgendaSection.astro @@ -352,6 +352,14 @@ const date_groups = [...by_date.entries()]; } } + .fpa-agenda__card { + /* Up to 48 cards can render on this list (FPA_AGENDA_MAX); most sit below the + fold. content-visibility skips style/layout/paint for off-screen cards, + which is where the bulk of this section's main-thread cost comes from. */ + content-visibility: auto; + contain-intrinsic-size: 0 260px; + } + .fpa-agenda__match { display: flex; flex-direction: column;