.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pills a { min-height: 44px; line-height: 44px; padding: 0 18px; border-radius: 22px; background: var(--mist); color: var(--ink); font-weight: 500; font-size: 16px; text-decoration: none; }
.pills a:hover { background: #E0E8ED; color: var(--ink); }
.pills a[aria-current] { background: var(--ink); color: #fff; }

.event-row[hidden] { display: none; }
.event-row .row-title { margin: 0; font: 600 20px/1.3 var(--wp--preset--font-family--body); letter-spacing: 0; }
.event-row .event-line { color: var(--ink); }
.event-time { flex: 0 0 auto; font-weight: 500; white-space: nowrap; }
.event-row .date-tile { height: 76px; border-radius: 20px; }
.date-tile--weekend { background: var(--ground); }
.is-cancelled .row-title { text-decoration: line-through; }
.is-cancelled .event-time { padding: 2px 10px; border-radius: 12px; background: var(--wp--preset--color--coral); }
.events-week .event-line, .events-week .date-tile span:last-child { display: none; }
.events-week .event-row .date-tile { height: 68px; border-radius: 18px; }
.events-more { align-self: flex-start; line-height: 44px; font-weight: 500; }

.whats-on { display: grid; grid-template-columns: 340px minmax(0, 1fr); gap: 40px 64px; align-items: start; }
.whats-on-side, .whats-on-list { display: flex; flex-direction: column; gap: 28px; min-width: 0; }
.whats-on-list .h3 { margin-top: 16px; }
.calendar { display: flex; flex-direction: column; gap: 16px; }
.calendar-days { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 4px; text-align: center; font-size: 18px; }
.calendar-head { font-size: 15px; color: var(--muted); }
.calendar-days a, .calendar-days span { display: grid; place-items: center; aspect-ratio: 1; min-height: 44px; border-radius: 16px; color: #5A6B7D; text-decoration: none; }
.calendar-days a { background: var(--ground); color: var(--ink); font-weight: 700; }
.calendar-days a[aria-current] { background: var(--ink); color: #fff; }
.calendar-days .is-past { opacity: 0.55; }
.again { list-style: none; padding: 12px 0 0; display: grid; gap: 6px; }

@media (max-width: 900px) {
	.whats-on { grid-template-columns: minmax(0, 1fr); }
	.whats-on-side { display: contents; }
	.whats-on-side .box, .whats-on-ics { order: 2; }
}
@media (max-width: 560px) {
	.event-row { flex-wrap: wrap; gap: 12px 16px; }
	.event-row .row-text { flex: 1 1 60%; }
	.event-row .event-time { margin-left: 84px; }
}
