/* Events: date-tile list, the event page's booking box and the "next event" card. */
.ev-wrap { max-width: calc(1000px + 2 * var(--gut)); }
.ev-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; }
.ev-card { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: clamp(16px, 2.4vw, 28px); align-items: center; padding: clamp(18px, 2.2vw, 24px); background: #fff; border: 1px solid var(--line); border-radius: var(--r); transition: box-shadow .25s, border-color .25s; }
.ev-card:hover { box-shadow: var(--shadow); border-color: transparent; }
.ev-card:focus-within { box-shadow: 0 0 0 3px rgba(55, 114, 254, .35); }
.ev-card.is-past { background: var(--light); }
.ev-card.is-cancelled .ev-card__title a { text-decoration: line-through; text-decoration-thickness: 1.5px; }
.ev-date { display: grid; place-items: center; align-content: center; width: 84px; height: 88px; border-radius: var(--r-sm); background: var(--navy); color: #fff; line-height: 1; text-align: center; }
.ev-card.is-past .ev-date { background: #5b6474; }
.ev-date__day { font-size: 32px; font-weight: 600; letter-spacing: -.02em; }
.ev-date__mon { margin-top: 6px; font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.ev-card__body { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; min-width: 0; }
.ev-card__title { font-size: 21px; line-height: 1.3; margin: 0; }
.ev-card__title a { color: var(--ink); text-decoration: none; }
.ev-card__title a::after { content: ''; position: absolute; inset: 0; }
.ev-card__title a:focus-visible { outline: none; }
.ev-card__sum { margin: 2px 0 0; color: var(--muted); font-size: 15px; }
.ev-card__img { width: 180px; aspect-ratio: 4 / 3; border-radius: var(--r-sm); overflow: hidden; background: var(--light-2); }
.ev-card__img img { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 760px) { .ev-card { grid-template-columns: auto minmax(0, 1fr); } .ev-card__img { display: none; } .ev-date { width: 68px; height: 72px; } .ev-date__day { font-size: 26px; } }
.ev-note { text-align: center; color: var(--muted); font-size: 14px; margin: 18px 0 0; }
.ev-alert { margin: 0 0 24px; padding: 14px 18px; border-radius: var(--r-sm); background: #fffaeb; color: #93370d; font-weight: 600; }
.ev-alert--off { background: #fef3f2; color: #b42318; }
.ev-box .cm-meta-list { margin-bottom: 20px; }
.ev-box__btns { flex-direction: column; }
.ev-box__btns .btn { width: 100%; gap: 8px; }

/* Next event */
.ev-next__card { display: grid; gap: clamp(24px, 4vw, 56px); align-items: center; padding: clamp(24px, 4vw, 48px); border-radius: var(--r-lg); background: #fff; box-shadow: var(--shadow); }
.ev-next__card.has-img { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
.ev-next__img { border-radius: var(--r); overflow: hidden; aspect-ratio: 4 / 3; background: var(--light-2); }
.ev-next__img img { width: 100%; height: 100%; object-fit: cover; }
.ev-next__title { margin: 6px 0 18px; }
.ev-next__meta { margin-bottom: 16px; color: var(--ink); font-weight: 500; }
.ev-next__sum { color: var(--muted); }
@media (max-width: 860px) { .ev-next__card.has-img { grid-template-columns: minmax(0, 1fr); } }
