.me-events-filters {
	background: #ffffff;
	padding: 40px;
	border-radius: 12px;
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.03);
	border: 1px solid #e8e8e8;
}

.me-filter-form {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 25px;
	align-items: end;
}

.me-filter-group {
	display: flex;
	flex-direction: column;
	gap: 10px;
	position: relative;
}

.me-filter-group label {
	font-weight: 600;
	font-size: 13px;
	color: #2c3e50;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 2px;
}

.me-filter-select,
.me-filter-input {
	padding: 14px 20px;
	border: 1px solid rgba(37, 36, 34, 0.14);
	border-radius: 10px;
	font-size: 16px;
	font-weight: 400;
	background: #fff;
	width: 100%;
	transition: all 0.3s ease;
	color: #555;
	font-family: inherit;
	appearance: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23333' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 12px;
	padding-right: 40px;
}

.me-filter-select:hover,
.me-filter-input:hover {
	border-color: #b0b0b0;
}

.me-filter-select:focus,
.me-filter-input:focus {
	outline: none;
	border-color: #000;
	box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

.me-filter-input {
	background-image: none;
	padding-right: 18px;
}

.me-filter-search {
	grid-column: span 2;
}

.me-filter-actions {
	display: flex;
	gap: 12px;
	align-items: center;
}

.me-filter-clear {
	padding: 14px 28px;
	background: #f5f5f5;
	color: #666;
	border: 2px solid #e0e0e0;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 600;
	font-size: 13px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	transition: all 0.3s ease;
	display: inline-block;
	white-space: nowrap;
}

.me-filter-clear:hover {
	background: #000;
	border-color: #000;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.me-filter-clear:active {
	transform: translateY(0);
}

@media (max-width: 768px) {
	.me-events-filters {
		padding: 25px 20px;
		margin: 25px 0;
	}

	.me-filter-form {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	.me-filter-search {
		grid-column: span 1;
	}

	.me-filter-actions {
		justify-content: stretch;
		margin-top: 10px;
	}

	.me-filter-clear {
		width: 100%;
		text-align: center;
	}
}

.me-events-archive {
	display: flex;
	flex-direction: column;
	gap: 30px;
	margin: 40px 0;
	position: relative;
	min-height: 200px;
}

.me-events-archive.me-loading {
	opacity: 0.6;
	pointer-events: none;
}

.me-events-archive.me-loading::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 40px;
	height: 40px;
	border: 4px solid #f3f3f3;
	border-top: 4px solid #000;
	border-radius: 50%;
	animation: spin 1s linear infinite;
	z-index: 10;
}

@keyframes spin {
	0% {
		transform: translate(-50%, -50%) rotate(0deg);
	}

	100% {
		transform: translate(-50%, -50%) rotate(360deg);
	}
}

.post-type-archive-event #pxl-main {
	max-width: 1330px;
	padding: 0 15px;
	margin: 115px auto 110px;
	min-height: calc(100vh - 606px);
}

.me-event-item {
	display: flex;
	align-items: stretch;
	min-height: 480px;
	gap: 20px;
	margin: 0;
}

.me-event-content {
	padding: 35px 30px;
	border: 1px solid var(--secondary-color);
	border-radius: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.me-event-item:nth-child(3n+1) .me-event-content {
	background-color: #E3F2FD;
}

.me-event-item:nth-child(3n+2) .me-event-content {
	background-color: #F3E5F5;
}

.me-event-item:nth-child(3n) .me-event-content {
	background-color: #FCE4EC;
}

.me-event-title {
	font-size: 20px;
	font-weight: 400;
	line-height: 1.4;
	margin: 0 0 15px 0;
	color: var(--secondary-color);
}

.me-event-title a {
	color: inherit;
	text-decoration: none;
}

.me-event-title a:hover {
	opacity: 0.8;
}

.me-event-description {
	position: relative;
	font-size: 16px;
	line-height: 1.7;
	color: var(--secondary-color);
	margin-bottom: 28px;
	border-bottom: 1px solid rgba(37, 36, 34, 0.14);
	padding-bottom: 34px;
}

.me-event-meta {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-bottom: 48px;
}

.me-event-meta-item {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	color: var(--secondary-color);
}

.me-event-meta-item svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	fill: currentColor;
}

.me-event-meta-item strong {
	font-weight: 500;
}

.me-event-pricing {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	color: var(--secondary-color);
}

.me-event-pricing svg {
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	fill: currentColor;
}

.me-event-pricing-text {
	font-weight: 500;
}

.me-event-footer {
	margin-top: auto;
}

.me-event-details-btn.btn.btn-2-icons {
	text-decoration: none;
	transition: all 0.3s ease;
	background-color: transparent;
	border: 1px solid var(--secondary-color);
	color: var(--secondary-color);
}

.me-event-details-btn.btn.btn-2-icons:hover {
	background-color: transparent;
}

.me-event-details-btn.btn.btn-2-icons .btn-icon-left {
	background-color: var(--secondary-color);
}

.me-event-thumbnail {
	flex-shrink: 0;
	overflow: hidden;
	position: relative;
}

@media (max-width: 1366px) {
	.me-event-thumbnail {
		width: 55%;
	}
}

@media (max-width: 991px) {
	.me-event-thumbnail {
		width: 100%;
	}
}

.me-event-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.me-event-thumbnail-placeholder {
	width: 100%;
	height: 100%;
	background-color: #e0e0e0;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #999;
	font-size: 18px;
}

.me-events-pagination {
	margin: 60px 0 40px;
	display: flex;
	justify-content: center;
	gap: 8px;
}

.me-events-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 12px;
	border: 1px solid #ddd;
	background-color: #fff;
	color: #333;
	text-decoration: none;
	font-weight: 500;
	border-radius: 4px;
	transition: all 0.3s ease;
}

.me-events-pagination .page-numbers:hover {
	background-color: #f5f5f5;
	border-color: #999;
}

.me-events-pagination .page-numbers.current {
	background-color: #FFC107;
	border-color: #FFC107;
	color: #000;
}

.me-events-pagination .page-numbers.dots {
	border: none;
	background: transparent;
	cursor: default;
}

.me-events-pagination .page-numbers.dots:hover {
	background: transparent;
}

.me-events-loadmore-wrapper {
	margin: 60px 0 40px;
	display: flex;
	justify-content: center;
	align-items: center;
}

.me-events-loadmore-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 16px 40px;
	background-color: #1a1a1a;
	color: #fff;
	border: none;
	border-radius: 4px;
	font-weight: 600;
	font-size: 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	min-width: 160px;
}

.me-events-loadmore-btn:hover:not(:disabled) {
	background-color: #333;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.me-events-loadmore-btn:active:not(:disabled) {
	transform: translateY(0);
}

.me-events-loadmore-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.me-loadmore-spinner {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.me-loadmore-spinner svg {
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}

	100% {
		transform: rotate(360deg);
	}
}

@media (max-width: 991px) {
	.me-event-item {
		flex-direction: column;
	}

	.me-event-item:nth-child(even) {
		direction: ltr;
	}

	.me-event-content {
		padding: 40px 30px;
	}

	.me-events-loadmore-btn {
		padding: 14px 32px;
		font-size: 15px;
		min-width: 140px;
	}
}

/* Event Countdown Widget */
.widget_event_countdown {
	background: #1a1a1a;
	padding: 30px 25px;
	border-radius: 12px;
	margin-bottom: 30px;
	border: 1px solid rgba(255, 193, 7, 0.2);
}

.widget_event_countdown .widget-title {
	color: #fff;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 2px;
	margin-bottom: 25px;
	text-align: center;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	padding-bottom: 15px;
}

.widget_event_countdown .widget-title span {
	position: relative;
}

.me-event-countdown {
	display: flex;
	justify-content: space-between;
	gap: 10px;
}

.countdown-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
	background: rgba(255, 255, 255, 0.05);
	padding: 15px 5px;
	border-radius: 8px;
	transition: all 0.3s ease;
}

.countdown-item:hover {
	background: rgba(255, 193, 7, 0.1);
	transform: translateY(-2px);
}

.countdown-value {
	font-size: 28px;
	font-weight: 700;
	color: #FFC107;
	line-height: 1;
	margin-bottom: 5px;
	font-family: inherit;
}

.countdown-label {
	font-size: 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

@media (max-width: 1200px) {
	.countdown-value {
		font-size: 24px;
	}
}