.bem-screen-reader-text {
	border: 0 !important;
	clip: rect(1px, 1px, 1px, 1px) !important;
	clip-path: inset(50%) !important;
	height: 1px !important;
	margin: -1px !important;
	overflow: hidden !important;
	padding: 0 !important;
	position: absolute !important;
	width: 1px !important;
	word-wrap: normal !important;
}

.bem-calendar {
	--bem-accent: #185adb;
	--bem-accent-contrast: #fff;
	--bem-surface: #fff;
	--bem-surface-muted: #f5f7fa;
	--bem-border: #dfe3e8;
	--bem-text: #1d2327;
	--bem-text-muted: #646970;
	--bem-filter-bg: #fff;
	--bem-filter-border: #8c8f94;
	--bem-filter-text: #1d2327;
	--bem-filter-label-color: #646970;
	--bem-filter-gap: 8px;
	background: var(--bem-surface);
	border: 1px solid var(--bem-border);
	border-radius: 12px;
	color: var(--bem-text);
	font-family: inherit;
	overflow: hidden;
}

.bem-calendar *,
.bem-calendar *::before,
.bem-calendar *::after {
	box-sizing: border-box;
}

.bem-calendar__toolbar {
	align-items: center;
	display: grid;
	gap: 16px;
	grid-template-columns: 1fr auto 1fr;
	padding: 18px;
}

.bem-calendar__navigation {
	display: flex;
	gap: 6px;
}

.bem-calendar__button {
	background: var(--bem-surface);
	border: 1px solid #8c8f94;
	border-radius: 6px;
	color: var(--bem-text);
	cursor: pointer;
	font: inherit;
	min-height: 38px;
	padding: 7px 12px;
}

.bem-calendar__button:hover,
.bem-calendar__button:focus-visible {
	border-color: var(--bem-accent);
	outline: 2px solid color-mix(in srgb, var(--bem-accent) 24%, transparent);
	outline-offset: 1px;
}

.bem-calendar__button--icon {
	font-size: 24px;
	line-height: 1;
	padding: 3px 12px;
}

.bem-calendar__title {
	font-size: clamp(1.2rem, 2.5vw, 1.7rem);
	line-height: 1.2;
	margin: 0;
	text-align: center;
	text-transform: capitalize;
}

.bem-calendar__filters {
	display: flex;
	justify-content: flex-end;
	padding: 0 18px 18px;
}

.bem-calendar__status {
	color: var(--bem-text-muted);
	min-height: 24px;
	padding: 0 18px 8px;
	text-align: center;
}

.bem-calendar__weekdays,
.bem-calendar__grid {
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
}

.bem-calendar__weekdays {
	background: var(--bem-surface-muted);
	border-bottom: 1px solid var(--bem-border);
	border-top: 1px solid var(--bem-border);
}

.bem-calendar__weekday {
	color: var(--bem-text-muted);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .04em;
	padding: 9px 6px;
	text-align: center;
	text-transform: uppercase;
}

.bem-calendar__day {
	border-bottom: 1px solid var(--bem-border);
	border-right: 1px solid var(--bem-border);
	min-height: 112px;
	padding: 7px;
	position: relative;
}

.bem-calendar__day:nth-child(7n) {
	border-right: 0;
}

.bem-calendar__day.is-outside {
	background: var(--bem-surface-muted);
	color: var(--bem-text-muted);
}

.bem-calendar__day.is-selected {
	box-shadow: inset 0 0 0 2px var(--bem-accent);
}

.bem-calendar__day-number {
	align-items: center;
	background: transparent;
	border: 0;
	border-radius: 50%;
	color: inherit;
	cursor: pointer;
	display: inline-flex;
	font: inherit;
	font-size: .88rem;
	height: 30px;
	justify-content: center;
	padding: 0;
	width: 30px;
}

.bem-calendar__day-number:focus-visible {
	outline: 2px solid var(--bem-accent);
	outline-offset: 1px;
}

.bem-calendar__day.is-today .bem-calendar__day-number {
	background: var(--bem-accent);
	color: var(--bem-accent-contrast);
	font-weight: 700;
}

.bem-calendar__day-events {
	display: grid;
	gap: 4px;
	margin-top: 5px;
}

.bem-calendar__event-chip,
.bem-calendar__more {
	border: 0;
	border-radius: 4px;
	display: block;
	font-size: .76rem;
	line-height: 1.3;
	min-height: 24px;
	overflow: hidden;
	padding: 4px 6px;
	text-align: left;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bem-calendar__event-chip {
	background: color-mix(in srgb, var(--bem-accent) 12%, var(--bem-surface));
	border-left: 3px solid var(--bem-accent);
	color: var(--bem-text);
	text-decoration: none;
}

.bem-calendar__event-chip:hover,
.bem-calendar__event-chip:focus-visible {
	background: color-mix(in srgb, var(--bem-accent) 20%, var(--bem-surface));
	color: var(--bem-text);
}

.bem-calendar__more {
	background: transparent;
	color: var(--bem-accent);
	cursor: pointer;
	padding-left: 3px;
}

.bem-calendar__agenda {
	padding: 22px;
}

.bem-calendar__agenda-title {
	font-size: 1.15rem;
	margin: 0 0 15px;
	scroll-margin-top: 24px;
}

.bem-calendar__agenda-item {
	align-items: start;
	border-top: 1px solid var(--bem-border);
	display: grid;
	gap: 16px;
	grid-template-columns: minmax(90px, 150px) 1fr;
	padding: 16px 0;
}

.bem-calendar__agenda-item:first-child {
	border-top: 0;
	padding-top: 0;
}

.bem-calendar__agenda-item:not(:has(.bem-calendar__agenda-image)) {
	grid-template-columns: 1fr;
}

.bem-calendar__agenda-image {
	aspect-ratio: 4 / 3;
	border-radius: 7px;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.bem-calendar__agenda-event-title {
	font-size: 1.05rem;
	margin: 0;
}

.bem-calendar__agenda-event-title a {
	color: var(--bem-text);
	text-decoration: none;
}

.bem-calendar__agenda-event-title a:hover,
.bem-calendar__agenda-event-title a:focus-visible {
	color: var(--bem-accent);
	text-decoration: underline;
}

.bem-calendar__agenda-meta,
.bem-calendar__agenda-admission,
.bem-calendar__agenda-excerpt,
.bem-calendar__empty {
	margin: 6px 0 0;
}

.bem-calendar__agenda-meta {
	color: var(--bem-text-muted);
	font-size: .9rem;
}

.bem-calendar__agenda-admission {
	font-weight: 700;
}

.bem-calendar__categories {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-top: 10px;
}

.bem-calendar__category {
	background: var(--bem-surface-muted);
	border-radius: 999px;
	font-size: .75rem;
	padding: 3px 8px;
}

.bem-calendar.is-loading .bem-calendar__grid,
.bem-calendar.is-loading .bem-calendar__agenda {
	opacity: .55;
	pointer-events: none;
}

.bem-calendar .screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

@media (max-width: 760px) {
	.bem-calendar__toolbar {
		grid-template-columns: 1fr auto;
	}

	.bem-calendar__title {
		grid-column: 1 / -1;
		grid-row: 1;
	}

	.bem-calendar__navigation {
		grid-column: 1;
		grid-row: 2;
	}

	.bem-calendar__day {
		min-height: 72px;
		padding: 4px;
	}

	.bem-calendar__event-chip {
		border-left-width: 0;
		font-size: 0;
		height: 7px;
		padding: 0;
	}

	.bem-calendar__event-chip::before {
		background: var(--bem-accent);
		border-radius: 999px;
		content: "";
		display: block;
		height: 7px;
		width: 100%;
	}

	.bem-calendar__more {
		font-size: .66rem;
		padding: 1px;
	}
}

@media (max-width: 480px) {
	.bem-calendar__toolbar {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
	}

	.bem-calendar__title {
		flex-basis: 100%;
		order: -1;
	}

	.bem-calendar__weekday {
		font-size: .64rem;
		padding-inline: 2px;
	}

	.bem-calendar__day {
		min-height: 60px;
	}

	.bem-calendar__agenda {
		padding: 16px;
	}

	.bem-calendar__agenda-item {
		grid-template-columns: 1fr;
	}

	.bem-calendar__agenda-image {
		max-width: 180px;
	}
}

/* Event modal */
.bem-modal {
	--bem-accent: #185adb;
	--bem-accent-contrast: #fff;
	--bem-surface: #fff;
	--bem-surface-muted: #f5f7fa;
	--bem-border: #dfe3e8;
	--bem-text: #1d2327;
	--bem-text-muted: #646970;
	align-items: center;
	background: rgba(15, 23, 42, .55);
	display: flex;
	inset: 0;
	justify-content: center;
	opacity: 0;
	padding: 20px;
	position: fixed;
	transition: opacity .18s ease;
	z-index: 100000;
}

.bem-modal[hidden] {
	display: none;
}

.bem-modal.is-open {
	opacity: 1;
}

.bem-modal *,
.bem-modal *::before,
.bem-modal *::after {
	box-sizing: border-box;
}

.bem-modal__dialog {
	background: var(--bem-surface);
	border-radius: 14px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, .3);
	color: var(--bem-text);
	max-height: calc(100vh - 40px);
	max-width: 520px;
	overflow-y: auto;
	position: relative;
	transform: translateY(12px) scale(.98);
	transition: transform .18s ease;
	width: 100%;
}

.bem-modal.is-open .bem-modal__dialog {
	transform: none;
}

.bem-modal__dialog:focus {
	outline: none;
}

.bem-modal__close {
	background: rgba(255, 255, 255, .85);
	border: 0;
	border-radius: 50%;
	color: var(--bem-text);
	cursor: pointer;
	font-size: 26px;
	height: 36px;
	line-height: 1;
	position: absolute;
	right: 12px;
	top: 12px;
	width: 36px;
}

.bem-modal__close:hover,
.bem-modal__close:focus-visible {
	background: var(--bem-surface-muted);
	outline: 2px solid color-mix(in srgb, var(--bem-accent) 30%, transparent);
	outline-offset: 1px;
}

.bem-modal__media {
	margin: 0;
}

.bem-modal__image {
	aspect-ratio: 16 / 9;
	border-radius: 14px 14px 0 0;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.bem-modal__body {
	padding: 24px;
}

.bem-modal__title {
	font-size: 1.4rem;
	line-height: 1.25;
	margin: 0 40px 16px 0;
}

.bem-modal__row {
	display: grid;
	gap: 2px 14px;
	grid-template-columns: 120px 1fr;
	padding: 7px 0;
}

.bem-modal__row + .bem-modal__row {
	border-top: 1px solid var(--bem-border);
}

.bem-modal__label {
	color: var(--bem-text-muted);
	font-size: .85rem;
	font-weight: 600;
}

.bem-modal__value {
	font-size: .95rem;
}

.bem-modal__excerpt {
	color: var(--bem-text);
	line-height: 1.55;
	margin: 16px 0 0;
}

.bem-modal .bem-calendar__categories {
	margin-top: 16px;
}

.bem-modal__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 22px;
}

.bem-modal__action {
	background: var(--bem-modal-secondary-bg, transparent);
	border: 1px solid var(--bem-modal-secondary-border, var(--bem-accent));
	border-radius: 8px;
	color: var(--bem-modal-secondary-text, var(--bem-accent));
	display: inline-block;
	font-weight: 600;
	padding: 9px 16px;
	text-decoration: none;
}

.bem-modal__action:hover,
.bem-modal__action:focus-visible {
	background: var(--bem-modal-secondary-bg, color-mix(in srgb, var(--bem-accent) 12%, var(--bem-surface)));
	color: var(--bem-modal-secondary-text, var(--bem-accent));
}

.bem-modal__action--primary {
	background: var(--bem-modal-primary-bg, var(--bem-accent));
	border-color: var(--bem-modal-primary-border, var(--bem-modal-primary-bg, var(--bem-accent)));
	color: var(--bem-modal-primary-text, var(--bem-accent-contrast));
}

.bem-modal__action--primary:hover,
.bem-modal__action--primary:focus-visible {
	background: var(--bem-modal-primary-bg, color-mix(in srgb, var(--bem-accent) 85%, #000));
	color: var(--bem-modal-primary-text, var(--bem-accent-contrast));
}

body.bem-modal-open {
	overflow: hidden;
}

/* Single event detail page */
.bem-event-detail {
	--bem-accent: #185adb;
	--bem-accent-contrast: #fff;
	--bem-surface: #fff;
	--bem-surface-muted: #f5f7fa;
	--bem-border: #dfe3e8;
	--bem-text: #1d2327;
	--bem-text-muted: #646970;
	background: var(--bem-surface);
	border: 1px solid var(--bem-border);
	border-radius: 18px;
	box-shadow: 0 18px 48px rgba(29, 35, 39, .08);
	color: var(--bem-text);
	margin: 0 0 36px;
	overflow: hidden;
}

.bem-event-detail *,
.bem-event-detail *::before,
.bem-event-detail *::after {
	box-sizing: border-box;
}

.bem-event-detail__media {
	aspect-ratio: 16 / 5;
	background: var(--bem-surface-muted);
	margin: 0;
	max-height: 420px;
	min-height: 240px;
	overflow: hidden;
	position: relative;
}

.bem-event-detail__image {
	display: block;
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.bem-event-detail__media::after {
	background: linear-gradient(180deg, transparent 55%, rgba(0, 0, 0, .42));
	content: '';
	inset: 0;
	pointer-events: none;
	position: absolute;
}

.bem-event-detail__media-status {
	bottom: 22px;
	left: 24px;
	margin: 0;
	position: absolute;
	z-index: 1;
}

.bem-event-detail__media-status .bem-status-badge,
.bem-event-detail__status .bem-status-badge {
	box-shadow: 0 6px 20px rgba(0, 0, 0, .2);
	font-size: .78rem;
	margin: 0;
	padding: 6px 13px;
}

.bem-event-detail__status {
	margin: 0;
	padding: 28px 32px 0;
}

.bem-event-detail__layout {
	display: grid;
	grid-template-columns: minmax(0, 1.8fr) minmax(280px, .8fr);
}

.bem-event-detail__layout--single {
	grid-template-columns: minmax(0, 1fr);
}

.bem-event-detail__layout--single .bem-event-detail__booking {
	border-left: 0;
}

.bem-event-detail__information {
	padding: 32px;
}

.bem-event-detail__heading,
.bem-event-detail__booking-title {
	color: var(--bem-text);
	font-size: 1.2rem;
	font-weight: 700;
	line-height: 1.3;
	margin: 0 0 18px;
	padding: 0;
}

.bem-event-detail__facts {
	margin: 0;
}

.bem-event-detail__fact {
	border-top: 1px solid var(--bem-border);
	display: grid;
	gap: 6px 22px;
	grid-template-columns: 132px minmax(0, 1fr);
	padding: 15px 0;
}

.bem-event-detail__label {
	color: var(--bem-text-muted);
	font-size: .88rem;
	font-weight: 600;
	margin: 0;
}

.bem-event-detail__value {
	font-weight: 500;
	line-height: 1.5;
	margin: 0;
}

.bem-event-detail__categories {
	margin-top: 20px;
}

.bem-event-detail__booking {
	background: var(--bem-surface-muted);
	border-left: 1px solid var(--bem-border);
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 32px;
}

.bem-event-detail__booking-copy {
	color: var(--bem-text-muted);
	font-size: .92rem;
	line-height: 1.55;
	margin: 0 0 20px;
}

.bem-event-detail__button {
	background: var(--bem-accent);
	border: 1px solid var(--bem-accent);
	border-radius: 9px;
	color: var(--bem-accent-contrast);
	display: block;
	font-weight: 700;
	padding: 12px 18px;
	text-align: center;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}

.bem-event-detail__button:hover,
.bem-event-detail__button:focus-visible {
	background: color-mix(in srgb, var(--bem-accent) 85%, #000);
	border-color: color-mix(in srgb, var(--bem-accent) 85%, #000);
	color: var(--bem-accent-contrast);
	transform: translateY(-1px);
}

.bem-event-detail__button.is-disabled {
	background: var(--bem-text-muted);
	border-color: var(--bem-text-muted);
	cursor: not-allowed;
	opacity: .75;
}

.bem-event-detail__back {
	align-self: flex-start;
	color: var(--bem-text-muted);
	font-size: .9rem;
	font-weight: 600;
	margin-top: 22px;
	text-decoration: none;
}

.bem-event-detail__back:hover,
.bem-event-detail__back:focus-visible {
	color: var(--bem-accent);
	text-decoration: underline;
}

.bem-event-detail__pretix {
	background: var(--bem-surface);
	border-top: 1px solid var(--bem-border);
	padding: 32px;
}

.bem-event-detail__map {
	background: var(--bem-surface);
	border-top: 1px solid var(--bem-border);
	padding: 32px;
}

.bem-event-detail__map-frame {
	height: 400px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.bem-event-detail__map-frame iframe {
	border: 0;
	display: block;
	height: 100%;
	width: 100%;
}

.bem-event-detail__content,
.bem-event-detail__description {
	background: var(--bem-surface);
	border-top: 1px solid var(--bem-border);
	line-height: 1.7;
	padding: 32px;
}

.bem-event-detail__content > :first-child,
.bem-event-detail__description > :first-child {
	margin-top: 0;
}

.bem-event-detail__content > :last-child,
.bem-event-detail__description > :last-child {
	margin-bottom: 0;
}

.bem-event-detail__content img,
.bem-event-detail__description img {
	height: auto;
	max-width: 100%;
}

.bem-event-detail__pretix pretix-widget,
.bem-event-detail__pretix .pretix-widget-compat {
	display: block;
	width: 100%;
}

@media (max-width: 760px) {
	.bem-event-detail__media {
		aspect-ratio: 16 / 7;
		min-height: 200px;
	}

	.bem-event-detail__layout {
		grid-template-columns: 1fr;
	}

	.bem-event-detail__booking {
		border-left: 0;
		border-top: 1px solid var(--bem-border);
	}
}

@media (max-width: 480px) {
	.bem-event-detail {
		border-radius: 12px;
	}

	.bem-event-detail__media {
		aspect-ratio: 4 / 3;
		min-height: 180px;
	}

	.bem-event-detail__information,
	.bem-event-detail__booking,
	.bem-event-detail__content,
	.bem-event-detail__description,
	.bem-event-detail__map,
	.bem-event-detail__pretix {
		padding: 24px 20px;
	}

	.bem-event-detail__map-frame {
		height: 280px;
	}

	.bem-event-detail__fact {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 480px) {
	.bem-modal__row {
		grid-template-columns: 1fr;
	}

	.bem-modal__actions .bem-modal__action {
		flex: 1 1 auto;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bem-calendar *,
	.bem-calendar *::before,
	.bem-calendar *::after {
		scroll-behavior: auto !important;
	}

	.bem-modal,
	.bem-modal__dialog {
		transition: none;
	}
}

/* Shared taxonomy filter bar (calendar + list) */
.bem-filters {
	align-items: flex-end;
	display: flex;
	flex-wrap: wrap;
	gap: var(--bem-filter-gap, 8px);
	justify-content: flex-start;
}

.bem-filter {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.bem-filter__label {
	color: var(--bem-filter-label-color, #646970);
	font: inherit;
	font-size: .78rem;
	font-weight: 600;
	letter-spacing: .01em;
}

.bem-filters select,
.bem-filters input[type="date"] {
	background: var(--bem-filter-bg, #fff);
	border: 1px solid var(--bem-filter-border, #8c8f94);
	border-radius: 6px;
	color: var(--bem-filter-text, #1d2327);
	font: inherit;
	min-height: 38px;
	padding: 7px 12px;
}

.bem-filters select:focus-visible,
.bem-filters input[type="date"]:focus-visible {
	border-color: var(--bem-accent, #185adb);
	outline: 2px solid color-mix(in srgb, var(--bem-accent, #185adb) 24%, transparent);
	outline-offset: 1px;
}

.bem-filters__reset {
	background: none;
	border: 0;
	color: var(--bem-accent, #185adb);
	cursor: pointer;
	font: inherit;
	font-weight: 600;
	min-height: 38px;
	padding: 7px 4px;
	text-decoration: none;
}

.bem-filters__reset:hover,
.bem-filters__reset:focus-visible {
	/* Explicitly overrides theme/browser default button hover/focus
	   backgrounds — this is a plain <button> element, not a themed one. */
	background: none;
	color: var(--bem-accent, #185adb);
}

/* Event list view */
.bem-event-list {
	--bem-accent: #185adb;
	--bem-accent-contrast: #fff;
	--bem-surface: #fff;
	--bem-border: #e3e6ea;
	--bem-text: #14181d;
	--bem-text-muted: #5b6470;
	--bem-date-bg: #101216;
	--bem-filter-bg: #fff;
	--bem-filter-border: #8c8f94;
	--bem-filter-text: #1d2327;
	--bem-filter-label-color: #5b6470;
	--bem-filter-gap: 8px;
	color: var(--bem-text);
	font-family: inherit;
}

.bem-event-list *,
.bem-event-list *::before,
.bem-event-list *::after {
	box-sizing: border-box;
}

.bem-event-list__filters {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 30px;
}

.bem-event-list__status {
	color: var(--bem-text-muted);
	min-height: 20px;
}

.bem-event-list__status:empty {
	min-height: 0;
}

.bem-event-list__month {
	align-items: center;
	display: flex;
	gap: 24px;
	margin: 10px 0 28px;
}

.bem-event-list__event + .bem-event-list__month {
	margin-top: 26px;
}

.bem-event-list__month-label {
	font-size: clamp(1.25rem, 2.5vw, 1.6rem);
	font-weight: 600;
	letter-spacing: .01em;
	margin: 0;
	text-transform: capitalize;
	white-space: nowrap;
}

.bem-event-list__month-rule {
	background: var(--bem-border);
	flex: 1;
	height: 1px;
}

.bem-event-list__event {
	margin-bottom: 42px;
}

.bem-event-list__figure {
	align-items: stretch;
	border: 1px solid var(--bem-border);
	display: grid;
	grid-template-areas: "date media body";
	grid-template-columns: 168px minmax(0, 1.7fr) minmax(260px, 1fr);
	overflow: hidden;
}

.bem-event-list--no-image .bem-event-list__figure {
	grid-template-areas: "date body";
	grid-template-columns: 168px minmax(0, 1fr);
}

.bem-event-list__date {
	align-items: center;
	background: var(--bem-date-bg);
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 6px;
	grid-area: date;
	justify-content: center;
	padding: 26px 14px;
	text-align: center;
}

.bem-event-list__day {
	font-size: 2.6rem;
	font-weight: 700;
	line-height: 1;
}

.bem-event-list__month-year {
	font-size: .95rem;
	font-weight: 600;
	text-transform: capitalize;
}

.bem-event-list__weekday {
	color: rgba(255, 255, 255, .68);
	font-size: .85rem;
}

.bem-event-list__media {
	align-self: stretch;
	display: block;
	grid-area: media;
	height: 100%;
	min-height: 210px;
	overflow: hidden;
	position: relative;
}

.bem-event-list__image {
	height: 100%;
	inset: 0;
	object-fit: cover;
	position: absolute;
	transition: transform .45s ease;
	width: 100%;
}

.bem-event-list__media:hover .bem-event-list__image,
.bem-event-list__media:focus-visible .bem-event-list__image {
	transform: scale(1.05);
}

.bem-event-list__media--placeholder {
	align-items: center;
	background: linear-gradient(135deg, #1f2937, #0f172a);
	color: #fff;
	display: flex;
	justify-content: center;
	padding: 20px;
}

.bem-event-list__placeholder {
	font-size: 1.1rem;
	font-weight: 600;
	opacity: .92;
	text-align: center;
}

.bem-event-list__body {
	display: flex;
	flex-direction: column;
	grid-area: body;
	justify-content: center;
	padding: 24px 28px;
}

.bem-event-list__heading {
	margin: 0 0 10px;
}

.bem-event-list__title {
	color: var(--bem-text);
	font-size: clamp(1.3rem, 2vw, 1.7rem);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
}

.bem-event-list__title:hover,
.bem-event-list__title:focus-visible {
	color: var(--bem-accent);
}

.bem-event-list__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin-bottom: 20px;
}

.bem-event-list__time {
	font-weight: 600;
}

.bem-event-list__venue {
	color: var(--bem-text-muted);
}

.bem-event-list__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.bem-event-list__button {
	border: 1px solid var(--bem-accent);
	border-radius: 8px;
	color: var(--bem-accent);
	display: inline-block;
	font-weight: 600;
	padding: 10px 22px;
	text-decoration: none;
	transition: background-color .15s ease, color .15s ease;
}

.bem-event-list__button:hover,
.bem-event-list__button:focus-visible {
	background: color-mix(in srgb, var(--bem-accent) 12%, var(--bem-surface));
	color: var(--bem-accent);
}

.bem-event-list__button--primary {
	background: var(--bem-accent);
	color: var(--bem-accent-contrast);
}

.bem-event-list__button--primary:hover,
.bem-event-list__button--primary:focus-visible {
	background: color-mix(in srgb, var(--bem-accent) 86%, #000);
	color: var(--bem-accent-contrast);
}

.bem-event-list__empty {
	color: var(--bem-text-muted);
	padding: 20px 0;
}

.bem-event-list.is-loading .bem-event-list__items {
	opacity: .55;
	pointer-events: none;
}

.bem-event-list__pagination {
	align-items: center;
	display: flex;
	gap: 16px;
	justify-content: center;
	margin-top: 28px;
}

.bem-event-list__page-button {
	background: transparent;
	border: 1px solid var(--bem-accent);
	border-radius: 8px;
	color: var(--bem-accent);
	cursor: pointer;
	font-weight: 600;
	padding: 10px 22px;
	transition: background-color .15s ease, color .15s ease, opacity .15s ease;
}

.bem-event-list__page-button:hover:not(:disabled),
.bem-event-list__page-button:focus-visible:not(:disabled) {
	background: color-mix(in srgb, var(--bem-accent) 12%, var(--bem-surface));
}

.bem-event-list__page-button:disabled {
	cursor: not-allowed;
	opacity: .4;
}

.bem-event-list__page-info {
	color: var(--bem-text-muted);
	font-size: .9rem;
	font-weight: 600;
}

@media (max-width: 900px) {
	.bem-event-list__figure {
		grid-template-areas:
			"date media"
			"body body";
		grid-template-columns: 168px minmax(0, 1fr);
	}

	.bem-event-list--no-image .bem-event-list__figure {
		grid-template-areas: "date body";
		grid-template-columns: 168px minmax(0, 1fr);
	}
}

@media (max-width: 540px) {
	.bem-event-list__figure {
		grid-template-areas:
			"date"
			"media"
			"body";
		grid-template-columns: 1fr;
	}

	.bem-event-list--no-image .bem-event-list__figure {
		grid-template-areas:
			"date"
			"body";
		grid-template-columns: 1fr;
	}

	.bem-event-list__date {
		flex-direction: row;
		gap: 14px;
		justify-content: flex-start;
		padding: 14px 18px;
	}

	.bem-event-list__day {
		font-size: 1.9rem;
	}

	.bem-event-list__media {
		min-height: 180px;
	}

	.bem-event-list__actions .bem-event-list__button {
		flex: 1 1 auto;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.bem-event-list__image {
		transition: none;
	}
}

/* Status badges */
.bem-status-badge {
	border-radius: 999px;
	color: #fff;
	display: inline-block;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .02em;
	line-height: 1.5;
	margin: 0 0 12px;
	padding: 3px 12px;
	text-transform: uppercase;
	vertical-align: middle;
}

.bem-status-badge--cancelled {
	background: #b32d2e;
}

.bem-status-badge--sold-out {
	background: #52585d;
}

.bem-status-badge--postponed,
.bem-status-badge--few-tickets {
	background: #a86100;
}

/* Cancelled event de-emphasis */
.bem-event-list__event.is-cancelled .bem-event-list__media,
.bem-event-list__event.is-cancelled .bem-event-list__date {
	filter: grayscale(1);
	opacity: .7;
}

.bem-event-list__event.is-cancelled .bem-event-list__title,
.bem-calendar__event-chip.is-cancelled,
.bem-calendar__agenda-item.is-cancelled .bem-calendar__agenda-event-title {
	text-decoration: line-through;
}

.bem-calendar__event-chip.is-cancelled,
.bem-calendar__agenda-item.is-cancelled {
	opacity: .75;
}

/* Disabled ticket button (sold out) */
.bem-event-list__button.is-disabled,
.bem-modal__action.is-disabled {
	background: #52585d;
	border-color: #52585d;
	color: #fff;
	cursor: not-allowed;
	opacity: .9;
	pointer-events: none;
}

.bem-event-detail__status {
	margin: 0 0 16px;
}

/* Consistent, high-contrast keyboard focus across all public components. */
.bem-calendar a:focus-visible,
.bem-calendar button:focus-visible,
.bem-calendar select:focus-visible,
.bem-event-list a:focus-visible,
.bem-event-list button:focus-visible,
.bem-event-list select:focus-visible,
.bem-event-detail a:focus-visible,
.bem-event-detail button:focus-visible,
.bem-modal a:focus-visible,
.bem-modal button:focus-visible,
.bem-calendar__agenda-title:focus-visible {
	outline: 3px solid var(--bem-accent);
	outline-offset: 3px;
}

.bem-event-list__media:focus-visible {
	outline-offset: -4px;
}

@media (forced-colors: active) {
	.bem-status-badge,
	.bem-event-list__button,
	.bem-event-detail__button,
	.bem-modal__action {
		border: 1px solid ButtonText;
	}
}
