body.eys-site { margin: 0; }
#eys .wp-block-group { box-sizing: border-box; }
/* The approved grids supply their own gap and stretch. Theme flow margins
   stagger otherwise equal cards when the grid is stored as a Group block. */
#eys .grid.is-layout-flow > .wp-block-group { margin-block: 0; }
#eys .wp-block-image img { vertical-align: middle; }
#eys .top nav.primary a:last-child { display: flex; }
#eys .actions > .eys-button-row { margin: 0; }
#eys .tile > .eys-button-row { margin-top: auto; text-align: center; }
/* Match the approved standalone horizontal Events card in the real listing. */
#eys .event-details { display: grid; align-content: center; justify-items: center; gap: 10px; text-align: center; }
#eys .event-details h3 { max-width: 30ch; text-wrap: balance; }
#eys .event-details .event-meta { margin: 0; max-width: 52ch; }
#eys .event-details p:not(.event-meta) { max-width: 58ch; }
#eys .event-details .link-btn { max-width: 100%; margin-top: 4px; }
#eys .eys-more-supporters { margin-block: 16px; }
#eys .eys-more-supporters summary { color: var(--purple); font-weight: 750; cursor: pointer; width: fit-content; padding: 8px; }
#eys .eys-gallery-wide .supporter-card { min-height: 8rem; padding: 14px; }
#eys .eys-gallery-wide .supporter-logo { height: 54px; }
#eys .eys-gallery-wide .supporter-logo img { max-height: 54px; }
@container (width >= 64rem) {
 #eys-involved .supporter-gallery.eys-gallery-wide { grid-template-columns: repeat(4, minmax(0, 1fr)); }
 #eys-involved .eys-gallery-wide .supporter-card:nth-child(n) { grid-column: auto; }
}
