.ecom-events-list-widget {
	font-family: inherit;
	color: #0f172a;
	width: 100%;
	box-sizing: border-box;
}

.ecom-events-list-widget *,
.ecom-events-list-widget *::before,
.ecom-events-list-widget *::after {
	box-sizing: border-box;
}

.ecom-el-icon-preload {
	position: absolute;
	width: 1px;
	height: 1px;
	margin: -1px;
	overflow: hidden;
	clip: rect( 0, 0, 0, 0 );
	white-space: nowrap;
	border: 0;
}

.ecom-el-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 24px;
	padding-bottom: 4px;
	border-bottom: 1px solid #e2e8f0;
}

.ecom-el-quick-filters {
	display: flex;
	align-items: center;
	gap: 4px;
}

.ecom-el-quick-filters--empty {
	min-height: 1px;
}

.ecom-el-qf-btn {
	background: transparent;
	border: none;
	border-bottom: 2px solid transparent;
	padding: 8px 4px;
	margin-right: 12px;
	font-size: 0.9375rem;
	font-weight: 500;
	line-height: 1.25;
	color: #64748b;
	cursor: pointer;
	transition: color 0.15s ease, border-color 0.15s ease;
	white-space: nowrap;
}

.ecom-el-qf-btn:hover {
	color: #0f172a;
}

.ecom-el-qf-btn.is-active {
	color: #0f172a;
	font-weight: 600;
	border-bottom-color: #2563eb;
}

.ecom-el-filters-right {
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
	justify-content: flex-end;
	flex: 1;
	min-width: 0;
}

.ecom-el-search-wrap {
	position: relative;
	display: flex;
	align-items: center;
	flex: 0 1 260px;
	min-width: 180px;
}

.ecom-el-search-ico {
	position: absolute;
	left: 16px;
	pointer-events: none;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	color: #667085;
}

.ecom-el-search-ico svg,
.ecom-el-search-ico i {
	width: 18px;
	height: 18px;
}

.ecom-el-search {
	width: 100%;
	padding: 10px 20px 10px 44px;
	border: 1px solid #d5d7da;
	border-radius: 9999px;
	font-size: 0.875rem;
	line-height: 1.556;
	background: #fff;
	color: #414651;
	outline: none;
	box-shadow: 0px 1px 0.5px 0.05px rgba( 24, 24, 27, 0.04 );
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.ecom-el-search:focus {
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba( 37, 99, 235, 0.12 );
}

.ecom-el-dropdown-wrap {
	position: relative;
	flex: 0 1 auto;
}

.ecom-el-dropdown-btn {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 20px;
	border: 1px solid #d5d7da;
	border-radius: 9999px;
	background: #fff;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.556;
	color: #414651;
	cursor: pointer;
	touch-action: manipulation;
	box-shadow: 0px 1px 0.5px 0.05px rgba( 24, 24, 27, 0.04 );
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
	white-space: nowrap;
}

.ecom-el-dropdown-btn:hover,
.ecom-el-dropdown-btn[aria-expanded="true"] {
	border-color: #bbbfc7;
	box-shadow: 0 1px 3px rgba( 24, 24, 27, 0.08 );
}

.ecom-el-dropdown-btn .ecom-chevron {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	color: #667085;
	transition: transform 0.15s ease;
}

.ecom-el-dropdown-btn[aria-expanded="true"] .ecom-chevron {
	transform: rotate( 180deg );
}

.ecom-el-dropdown-list {
	display: none;
	position: absolute;
	top: calc( 100% + 6px );
	right: 0;
	left: auto;
	min-width: 100%;
	width: max-content;
	max-width: min( 320px, 90vw );
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 10px;
	box-shadow: 0 10px 40px rgba( 15, 23, 42, 0.12 );
	list-style: none;
	margin: 0;
	padding: 6px 0;
	z-index: 200;
	max-height: 280px;
	overflow-y: auto;
	-webkit-overflow-scrolling: touch;
}

.ecom-el-dropdown-list.is-open {
	display: block;
}

.ecom-el-dropdown-item {
	padding: 10px 16px;
	font-size: 0.875rem;
	color: #334155;
	cursor: pointer;
	transition: background 0.12s ease;
}

.ecom-el-dropdown-item:hover {
	background: #f1f5f9;
}

.ecom-el-dropdown-item.is-selected {
	color: #1d4ed8;
	font-weight: 600;
	background: #eff6ff;
}

.ecom-el-grid {
	display: grid;
	grid-template-columns: repeat( var( --ecom-list-columns, 2 ), 1fr );
	gap: 20px;
	margin-bottom: 28px;
}

.ecom-el-card {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	border-radius: 24px;
	overflow: hidden;
	background: #fff;
	text-decoration: none;
	color: inherit;
	box-shadow: 0 0 60px rgba( 0, 0, 0, 0.08 );
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.ecom-el-card-link {
	display: flex;
	flex-direction: row;
	align-items: stretch;
	width: 100%;
	text-decoration: none;
	color: inherit;
}


.ecom-el-card-thumb {
	flex-shrink: 0;
	width: 217px;
	min-width: 217px;
	overflow: hidden;
	background: #f2f4f7;
	border-radius: 24px 0 0 24px;
}

.ecom-el-card-thumb img {
	width: 100%;
	height: 100%;
	min-height: 200px;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.ecom-el-card-thumb-placeholder {
	width: 100%;
	height: 100%;
	min-height: 200px;
	background: linear-gradient( 145deg, #eceff3 0%, #d8dde4 100% );
}

.ecom-el-card-body {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 24px;
	min-width: 0;
	background: #fff;
	border-top: 1px solid #e9eaeb;
	border-right: 1px solid #e9eaeb;
	border-bottom: 1px solid #e9eaeb;
	border-radius: 0 24px 24px 0;
}

.ecom-el-badge {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	padding: 4px 12px;
	border-radius: 999px;
	background: #e9effc;
	color: #414651;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.43;
}

.ecom-el-card-content {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.ecom-el-card-title {
	font-family: "Instrument Serif", Georgia, serif;
	font-size: 2rem;
	font-weight: 400;
	font-style: normal;
	margin: 0;
	line-height: 1.125;
	color: #181d27;
	letter-spacing: -0.01em;
}

.ecom-el-card-meta {
	list-style: none;
	margin: 0;
	padding: 0 0 0 12px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	border-left: 1px solid #d5d7da;
}

.ecom-el-meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1rem;
	line-height: 1.5;
	color: #414651;
}

.ecom-el-meta-dual {
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.ecom-el-meta-dual__seg {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.ecom-el-meta-icon-wrap {
	display: contents;
}

.ecom-el-meta-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	font-size: 20px;
	width: 20px;
	height: 20px;
	color: #414651;
}

.ecom-el-meta-icon--el {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.ecom-el-meta-icon--el svg {
	display: block;
	width: 1em;
	height: 1em;
}

.ecom-el-meta-text {
	flex: 1;
	min-width: 0;
	word-break: break-word;
}

.ecom-el-loading {
	grid-column: 1 / -1;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 64px 0;
}

.ecom-el-spinner {
	display: inline-block;
	width: 36px;
	height: 36px;
	border: 3px solid #e2e8f0;
	border-top-color: #2563eb;
	border-radius: 50%;
	animation: ecom-spin 0.75s linear infinite;
}

@keyframes ecom-spin {
	to {
		transform: rotate( 360deg );
	}
}

.ecom-el-empty-state {
	grid-column: 1 / -1;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	padding: 64px 24px;
	gap: 32px;
}

.ecom-el-empty-content {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 20px;
}

.ecom-el-empty-icon {
	width: 40px;
	height: 40px;
	color: #181d27;
	flex-shrink: 0;
}

.ecom-el-empty-icon svg {
	width: 40px;
	height: 40px;
	display: block;
}

.ecom-el-empty-text {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
}

.ecom-el-empty-title {
	font-size: 1.25rem;
	font-weight: 700;
	line-height: 1.5;
	color: #181d27;
	margin: 0;
}

.ecom-el-empty-subtitle {
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
	color: #414651;
	margin: 0;
	max-width: 360px;
}

.ecom-el-empty-actions {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}

.ecom-el-empty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 24px;
	border-radius: 9999px;
	font-size: 1rem;
	font-weight: 500;
	line-height: 1.5;
	text-decoration: none;
	cursor: pointer;
	border: none;
	white-space: nowrap;
	font-family: inherit;
	transition: opacity 0.15s ease, box-shadow 0.15s ease;
}

.ecom-el-empty-btn--primary {
	background-color: #487de5;
	color: #ffffff;
}

.ecom-el-empty-btn--primary:hover {
	opacity: 0.88;
	box-shadow: 0 4px 14px rgba( 72, 125, 229, 0.38 );
}

.ecom-el-empty-btn--secondary {
	background-color: #ffffff;
	color: #181d27;
}

.ecom-el-empty-btn--secondary:hover {
	opacity: 0.7;
}

.ecom-el-pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 4px;
}

.ecom-el-pager {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	flex-wrap: wrap;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ecom-el-page-btn {
	width: 40px;
	height: 40px;
	padding: 0;
	border: none;
	border-radius: 12px;
	background: #fff;
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.556;
	color: #535862;
	cursor: pointer;
	transition: background 0.15s ease, color 0.15s ease;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.ecom-el-page-btn svg {
	display: block;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.ecom-el-page-btn:hover:not( [disabled] ) {
	background: #f5f5f5;
	color: #181d27;
}

.ecom-el-page-btn.is-active {
	background: #f5f5f5;
	border-radius: 24px;
	color: #181d27;
	font-weight: 400;
}

.ecom-el-page-btn[disabled] {
	opacity: 0.35;
	cursor: default;
}

.ecom-el-page-ellipsis {
	width: 40px;
	height: 40px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #535862;
	font-size: 1.125rem;
}

@media ( max-width: 900px ) {
	.ecom-el-grid {
		grid-template-columns: repeat( 2, 1fr );
	}
}

@media ( max-width: 640px ) {
	.ecom-el-toolbar {
		flex-direction: column;
		align-items: stretch;
	}

	.ecom-el-filters-right {
		width: 100%;
		justify-content: stretch;
	}

	.ecom-el-search-wrap {
		flex: 1 1 100%;
		max-width: none;
	}

	.ecom-el-dropdown-btn {
		flex: 1;
		min-width: 0;
	}

	.ecom-el-grid {
		grid-template-columns: 1fr;
	}

	.ecom-el-card {
		flex-direction: column;
	}

	.ecom-el-card-link {
		flex-direction: column;
	}

	.ecom-el-card-thumb {
		width: 100%;
		min-width: 0;
		min-height: 220px;
		border-radius: 24px 24px 0 0;
	}

	.ecom-el-card-thumb img {
		min-height: 220px;
	}

	.ecom-el-card-body {
		border-top: none;
		border-left: 1px solid #e9eaeb;
		border-radius: 0 0 24px 24px;
	}
}
