/* Quadros de evento com a mesma altura na fileira; aviso e "Saiba mais" no rodapé. */
.swiper-slide:has(> .event-card) { height: auto; }
.swiper-slide:has(> .event-card),
[class*="col"]:has(> .event-card) { display: flex; flex-direction: column; }
.event-card { display: flex; flex-direction: column; flex: 1 0 auto; width: 100%; }
.event-card .content { display: flex; flex-direction: column; flex: 1; }
.event-card .content > .row { display: grid; flex: 1; grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto 1fr; }
.event-card .content > .row > :first-child { grid-column: 1 / -1; }
.event-card .content > .row > :nth-child(2) { display: flex; flex-direction: column; }
.event-card .content > .row > :nth-child(2) .badge { margin-top: auto !important; }
.event-card .content > .row > :nth-child(2) .location { margin-bottom: 0; }
.event-card .content > .row > :nth-child(2) > :nth-last-child(2) { margin-bottom: .5rem; }
.event-card .content > .row > :last-child { align-self: end; }

@media (min-width: 768px) and (max-width: 1199.98px) {
    .event-card .content > .row { grid-template-columns: minmax(0, 1fr); grid-template-rows: auto 1fr auto; }
}
