.eee-events {
	--eee-accent: #0b5bd3;
	--eee-accent-dark: #084bb0;
	--eee-primary-button: #0b5bd3;
	--eee-primary-button-text: #ffffff;
	--eee-secondary-button: #0b5bd3;
	--eee-date-badge-bg: #0b5bd3;
	--eee-date-badge-text: #ffffff;
	--eee-icon-color: #0b5bd3;
	--eee-border: #dbe3ee;
	--eee-text: #0c172b;
	--eee-muted: #637083;
	--eee-surface: #ffffff;
	--eee-soft: #f4f8ff;
	--eee-shadow: 0 8px 28px rgba(24, 39, 75, 0.09);
	color: var(--eee-text);
	font: inherit;
	margin-inline: auto;
	max-width: 1180px;
	width: 100%;
}

.eee-events *,
.eee-events *::before,
.eee-events *::after {
	box-sizing: border-box;
}

.eee-screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.eee-filter-panel {
	background: rgba(255, 255, 255, 0.98);
	border: 1px solid #e0e7f0;
	border-radius: 14px;
	box-shadow: 0 10px 32px rgba(24, 39, 75, 0.08);
	margin: 0 0 1rem;
	padding: 0.75rem;
}

.eee-filter-panel__toggle {
	display: none;
}

.eee-filter-panel__content {
	align-items: stretch;
	display: grid;
	gap: 0.7rem;
	grid-template-columns: minmax(250px, 1.45fr) minmax(180px, 0.9fr) minmax(205px, 1fr) auto;
}

.eee-filter-control {
	background: #ffffff;
	border: 1px solid #d7e0eb;
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(12, 23, 43, 0.03);
	min-height: 56px;
	position: relative;
	transition: border-color 0.18s ease, box-shadow 0.18s ease, transform 0.18s ease;
}

.eee-filter-control:hover {
	border-color: #b9c7da;
	box-shadow: 0 5px 16px rgba(12, 23, 43, 0.06);
}

.eee-filter-control:focus-within {
	border-color: var(--eee-accent);
	box-shadow: 0 0 0 3px rgba(11, 91, 211, 0.1), 0 5px 16px rgba(12, 23, 43, 0.06);
}

.eee-filter-control--search {
	align-items: center;
	display: flex;
	gap: 0.7rem;
	padding: 0 0.95rem;
}

.eee-filter-control--search > svg,
.eee-filter-reset svg,
.eee-filter-panel__toggle svg {
	fill: none;
	flex: 0 0 auto;
	height: 20px;
	stroke: var(--eee-icon-color);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 20px;
}

.eee-filter-control--search > svg {
	pointer-events: none;
}

.eee-events .eee-filter-control input,
.eee-events .eee-filter-control select {
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: var(--eee-text);
	font: inherit;
	margin: 0 !important;
	min-width: 0;
	outline: 0 !important;
	width: 100%;
}

.eee-events .eee-filter-control input:focus,
.eee-events .eee-filter-control input:focus-visible,
.eee-events .eee-filter-control select:focus,
.eee-events .eee-filter-control select:focus-visible {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	outline: 0 !important;
}

.eee-events .eee-filter-control input {
	height: 54px;
	padding: 0 !important;
}

.eee-events .eee-filter-control input::placeholder {
	color: #8a95a5;
	opacity: 1;
}

.eee-filter-control--select {
	cursor: pointer;
	overflow: hidden;
}

.eee-filter-control--select::after {
	border: solid #5c687b;
	border-width: 0 1.7px 1.7px 0;
	content: "";
	height: 7px;
	pointer-events: none;
	position: absolute;
	right: 16px;
	top: 22px;
	transform: rotate(45deg);
	width: 7px;
}

.eee-filter-control__label {
	color: #758196;
	font-size: 0.7rem;
	font-weight: 700;
	left: 14px;
	letter-spacing: 0.035em;
	line-height: 1;
	pointer-events: none;
	position: absolute;
	text-transform: uppercase;
	top: 9px;
	z-index: 1;
}

.eee-events .eee-filter-control--select select {
	cursor: pointer;
	display: block;
	font-weight: 600;
	height: 56px;
	padding: 19px 42px 3px 14px !important;
}

.eee-events .eee-filter-control select option {
	background: #ffffff;
	color: var(--eee-text);
}

.eee-filter-panel__actions {
	align-items: center;
	display: flex;
	gap: 0.55rem;
	justify-content: flex-end;
	min-width: max-content;
}

/* Hidden by default to prevent a flash during page reload/reset. It is shown on mobile below. */
.eee-events .eee-filter-submit {
	display: none !important;
	background: var(--eee-primary-button);
	border: 1px solid var(--eee-primary-button);
	border-radius: 9px;
	color: var(--eee-primary-button-text);
	cursor: pointer;
	font: inherit;
	font-weight: 650;
	min-height: 52px;
	padding: 0.7rem 1rem;
}

.eee-events .eee-filter-submit:hover,
.eee-events .eee-filter-submit:focus {
	background: var(--eee-primary-button);
	border-color: var(--eee-primary-button);
	color: var(--eee-primary-button-text);
	filter: brightness(0.92);
}

.eee-filter-reset {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 9px;
	color: #4c596d !important;
	display: inline-flex;
	font-size: 0.9rem;
	font-weight: 650;
	gap: 0.45rem;
	justify-content: center;
	min-height: 52px;
	padding: 0.55rem 0.75rem;
	text-decoration: none !important;
	transition: background-color 0.18s ease, border-color 0.18s ease, color 0.18s ease;
	white-space: nowrap;
}

.eee-filter-reset:hover,
.eee-filter-reset:focus {
	background: #f3f7fc;
	border-color: #dce5ef;
	color: var(--eee-accent) !important;
}

.eee-events__list {
	display: grid;
	gap: 0.75rem;
}

.eee-event-card {
	align-items: stretch;
	background: var(--eee-surface);
	border: 1px solid rgba(219, 227, 238, 0.9);
	border-radius: 12px;
	box-shadow: 0 5px 20px rgba(24, 39, 75, 0.07);
	display: grid;
	gap: 1.4rem;
	grid-template-columns: 265px minmax(0, 1fr) 185px;
	min-height: 164px;
	padding: 0.75rem;
}

.eee-event-card__media {
	border-radius: 9px;
	min-height: 140px;
	overflow: hidden;
	position: relative;
}

.eee-event-card__media img,
.eee-event-card__placeholder {
	display: block;
	height: 100%;
	min-height: 140px;
	object-fit: cover;
	width: 100%;
}

.eee-event-card__placeholder {
	align-items: center;
	background: linear-gradient(135deg, #eaf2ff, #f7faff);
	display: flex;
	justify-content: center;
}

.eee-event-card__placeholder svg {
	fill: none;
	height: 48px;
	stroke: var(--eee-icon-color);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.5;
	width: 48px;
}

.eee-date-badge {
	align-items: center;
	background: var(--eee-date-badge-bg);
	border-radius: 8px;
	box-shadow: 0 7px 15px rgba(11, 91, 211, 0.28);
	color: var(--eee-date-badge-text);
	display: flex;
	flex-direction: column;
	justify-content: center;
	left: 0.75rem;
	line-height: 1.05;
	min-height: 72px;
	min-width: 70px;
	padding: 0.55rem 0.5rem;
	position: absolute;
	text-align: center;
	top: 0.75rem;
}

.eee-date-badge span {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.eee-date-badge strong {
	font-size: 1.2rem;
	margin: 0.2rem 0;
}

.eee-date-badge small {
	font-size: 0.72rem;
	font-weight: 700;
}

.eee-event-card__main {
	align-self: center;
	min-width: 0;
	padding: 0.35rem 0;
}

.eee-event-card__title {
	color: var(--eee-text);
	font-size: clamp(1.18rem, 1.8vw, 1.55rem);
	font-weight: 700;
	line-height: 1.25;
	margin: 0 0 1rem;
}

.eee-event-card__details {
	display: grid;
	gap: 0;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eee-event-card__field {
	display: grid;
	gap: 0.55rem;
	grid-template-columns: 20px minmax(0, 1fr);
	min-width: 0;
	padding: 0 1rem;
}

.eee-event-card__field:first-child {
	padding-left: 0;
}

.eee-event-card__field + .eee-event-card__field {
	border-left: 1px solid #e4e9f1;
}

.eee-event-card__field > svg {
	fill: none;
	height: 19px;
	margin-top: 0.12rem;
	stroke: var(--eee-icon-color);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	width: 19px;
}

.eee-event-card__field > div {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.eee-event-card__label {
	color: #3e4b5f;
	font-size: 0.78rem;
	font-weight: 600;
	margin-bottom: 0.3rem;
}

.eee-event-card__value {
	color: var(--eee-text);
	font-size: 0.88rem;
	line-height: 1.45;
	overflow-wrap: anywhere;
}

.eee-event-card__subvalue {
	color: var(--eee-muted);
	font-size: 0.8rem;
	line-height: 1.4;
	margin-top: 0.18rem;
}

.eee-events .eee-event-card__hotel-link {
	color: var(--eee-accent) !important;
	font-size: 0.82rem;
	margin-top: 0.22rem;
	text-decoration: none !important;
}

.eee-events .eee-event-card__hotel-link:hover,
.eee-events .eee-event-card__hotel-link:focus {
	text-decoration: underline !important;
}

.eee-event-card__actions {
	align-self: center;
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	justify-content: center;
}

.eee-events .eee-button {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 6px;
	display: inline-flex;
	font-size: 0.86rem;
	font-weight: 600;
	gap: 0.55rem;
	justify-content: center;
	line-height: 1.2;
	min-height: 45px;
	padding: 0.72rem 0.85rem;
	text-align: center;
	text-decoration: none !important;
	transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
	width: 100%;
}

.eee-events .eee-button svg {
	fill: none;
	height: 17px;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.9;
	width: 17px;
}

.eee-events .eee-button--primary {
	background: var(--eee-primary-button) !important;
	border-color: var(--eee-primary-button) !important;
	color: var(--eee-primary-button-text) !important;
}

.eee-events .eee-button--primary:hover,
.eee-events .eee-button--primary:focus {
	background: var(--eee-primary-button) !important;
	border-color: var(--eee-primary-button) !important;
	color: var(--eee-primary-button-text) !important;
	filter: brightness(0.9);
}

.eee-events .eee-button--secondary {
	background: var(--eee-surface) !important;
	border-color: var(--eee-secondary-button) !important;
	color: var(--eee-secondary-button) !important;
}

.eee-events .eee-button--secondary:hover,
.eee-events .eee-button--secondary:focus {
	background: var(--eee-soft) !important;
	border-color: var(--eee-secondary-button) !important;
	color: var(--eee-secondary-button) !important;
	filter: brightness(0.92);
}

.eee-events .eee-button:focus-visible,
.eee-pagination a:focus-visible,
.eee-filter-submit:focus-visible,
.eee-filter-reset:focus-visible,
.eee-filter-panel__toggle:focus-visible {
	outline: 3px solid rgba(11, 91, 211, 0.25);
	outline-offset: 2px;
}

.eee-events__empty {
	align-items: center;
	background: var(--eee-soft);
	border: 1px solid var(--eee-border);
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 0.7rem;
	justify-content: center;
	min-height: 180px;
	padding: 2rem;
	text-align: center;
}

.eee-events__empty svg {
	fill: none;
	height: 38px;
	stroke: var(--eee-icon-color);
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.6;
	width: 38px;
}

.eee-events__empty p {
	margin: 0;
}

.eee-pagination {
	margin-top: 1.5rem;
}

.eee-pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.eee-pagination a,
.eee-pagination span {
	align-items: center;
	border: 1px solid var(--eee-border);
	border-radius: 7px;
	display: inline-flex;
	justify-content: center;
	min-height: 40px;
	min-width: 40px;
	padding: 0.45rem 0.75rem;
	text-decoration: none;
}

.eee-pagination a {
	background: var(--eee-surface);
	color: var(--eee-accent);
}

.eee-pagination a:hover,
.eee-pagination a:focus {
	background: var(--eee-soft);
	border-color: var(--eee-accent);
}

.eee-pagination .current {
	background: var(--eee-accent);
	border-color: var(--eee-accent);
	color: #ffffff;
}

@media (max-width: 1080px) {
	.eee-filter-panel__content {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.eee-filter-panel__actions {
		grid-column: 1 / -1;
		justify-content: flex-start;
	}

	.eee-event-card {
		grid-template-columns: 230px minmax(0, 1fr);
	}

	.eee-event-card__actions {
		flex-direction: row;
		grid-column: 2;
		justify-content: flex-start;
	}

	.eee-events .eee-event-card__actions .eee-button {
		max-width: 210px;
	}

	.eee-event-card__details {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		row-gap: 1rem;
	}

	.eee-event-card__field:nth-child(3) {
		border-left: 0;
		grid-column: 1 / -1;
		padding-left: 0;
	}
}

@media (max-width: 780px) {
	.eee-filter-panel__content {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eee-filter-control--search {
		grid-column: 1 / -1;
	}

	.eee-event-card {
		grid-template-columns: minmax(190px, 38%) minmax(0, 1fr);
	}

	.eee-event-card__details {
		grid-template-columns: 1fr;
	}

	.eee-event-card__field,
	.eee-event-card__field:first-child,
	.eee-event-card__field:nth-child(3),
	.eee-event-card__field + .eee-event-card__field {
		border-left: 0;
		grid-column: auto;
		padding: 0.7rem 0;
	}

	.eee-event-card__field + .eee-event-card__field {
		border-top: 1px solid #e4e9f1;
	}

	.eee-event-card__field:first-child {
		border-top: 0;
		padding-top: 0;
	}

	.eee-event-card__actions {
		grid-column: 1 / -1;
	}

	.eee-events .eee-event-card__actions .eee-button {
		max-width: none;
	}
}

@media (max-width: 640px) {
	.eee-filter-panel {
		padding: 0;
	}

	.eee-filter-panel__toggle {
		align-items: center;
		cursor: pointer;
		display: flex;
		font-weight: 700;
		justify-content: space-between;
		list-style: none;
		min-height: 56px;
		padding: 0 1rem;
	}

	.eee-filter-panel__toggle::-webkit-details-marker {
		display: none;
	}

	.eee-filter-panel__toggle > span {
		align-items: center;
		display: inline-flex;
		gap: 0.6rem;
	}

	.eee-filter-panel__toggle > svg {
		transition: transform 0.2s ease;
	}

	.eee-filter-panel[open] .eee-filter-panel__toggle > svg {
		transform: rotate(180deg);
	}

	details.eee-filter-panel:not([open]) > .eee-filter-panel__content {
		display: none;
	}

	details.eee-filter-panel[open] > .eee-filter-panel__content {
		display: grid;
	}

	.eee-filter-panel__content {
		border-top: 1px solid var(--eee-border);
		grid-template-columns: 1fr;
		padding: 1rem;
	}

	.eee-filter-control--search,
	.eee-filter-panel__actions {
		grid-column: auto;
	}

	.eee-filter-panel__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.eee-events .eee-filter-submit {
		display: inline-flex !important;
		align-items: center;
		justify-content: center;
	}

	.eee-filter-submit,
	.eee-filter-reset {
		justify-content: center;
		width: 100%;
	}

	.eee-event-card {
		display: block;
		padding: 0.65rem;
	}

	.eee-event-card__media {
		aspect-ratio: 16 / 8.3;
		min-height: 0;
	}

	.eee-event-card__media img,
	.eee-event-card__placeholder {
		min-height: 0;
	}

	.eee-event-card__main {
		padding: 0.9rem 0.25rem 0.25rem;
	}

	.eee-event-card__title {
		font-size: 1.28rem;
		margin-bottom: 0.75rem;
	}

	.eee-event-card__details {
		display: block;
	}

	.eee-event-card__field,
	.eee-event-card__field:first-child,
	.eee-event-card__field:nth-child(3),
	.eee-event-card__field + .eee-event-card__field {
		border-left: 0;
		border-top: 0;
		display: grid;
		grid-template-columns: 20px minmax(0, 1fr);
		padding: 0.28rem 0;
	}

	.eee-event-card__label {
		display: none;
	}

	.eee-event-card__actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding: 0.6rem 0.15rem 0.15rem;
	}

	.eee-events .eee-button {
		font-size: 0.8rem;
		min-height: 46px;
		padding-inline: 0.6rem;
	}

	.eee-date-badge {
		left: 0.65rem;
		top: 0.65rem;
	}
}

@media (max-width: 420px) {
	.eee-event-card__actions {
		grid-template-columns: 1fr;
	}
}
