.yi-category-events { clear: both; margin: 34px auto; color: #253546; text-align: center; }
.yi-category-events, .yi-event-municipal-link { scroll-margin-top: var(--anchor-offset, calc(var(--navigation-header-height, 96px) + 12px)); }
.yi-category-events h2 { margin: 0 0 12px; font-size: 26px; line-height: 1.25; }
.yi-event-context { margin: 0 0 16px; color: #45596a; }
.yi-events-grid { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }
.yi-events-grid > article { box-sizing: border-box; flex: 0 0 calc((100% - 32px) / 3); min-width: 0; padding: 18px; border: 1px solid #cbd9e1; border-radius: 9px; background: #fff; text-align: start; overflow-wrap: anywhere; }
.yi-events-grid h3 { margin: 0 0 12px; font-size: 19px; line-height: 1.35; }
.yi-events-grid a { color: #135781; text-decoration: underline; text-underline-offset: .12em; }
.yi-events-grid a:focus-visible, .yi-event-calendar:focus-visible { outline: 3px solid #205c80; outline-offset: 3px; }
.yi-event-kind { margin: 0 0 5px; font-size: 14px; font-weight: 600; }
.yi-event-date, .yi-event-venue { margin: 5px 0; line-height: 1.45; }
.yi-event-distance { display: inline-flex; align-items: baseline; gap: .45em; padding: .35em .65em; margin: 4px 0 0; border-radius: 5px; background: #e9f3f8; color: #104e70; font-size: 14px; }
.yi-event-calendar { display: inline-block; margin: 16px 0 0; }
.yi-event-municipal-link { margin: 20px auto; text-align: center; }
@media (max-width: 767px) {
    .yi-events-grid { flex-direction: column; }
    .yi-events-grid > article { flex: 0 1 auto; width: 100%; }
    .yi-category-events h2 { font-size: 23px; }
}
