.aee-events-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
	gap: 28px;
}

.aee-event-card {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 28px;
	background:
		radial-gradient(circle at top right, rgba(255, 184, 77, 0.35), transparent 28%),
		linear-gradient(180deg, #fffdf7 0%, #ffffff 55%, #f4f8ff 100%);
	box-shadow: 0 20px 55px rgba(15, 23, 42, 0.12);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.aee-event-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 65px rgba(15, 23, 42, 0.18);
}

.aee-event-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: linear-gradient(135deg, #dbeafe, #fef3c7);
}

.aee-event-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.aee-event-card:hover .aee-event-thumb img {
	transform: scale(1.05);
}

.aee-event-content {
	padding: 24px;
}

.aee-event-topline {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
	margin-bottom: 14px;
}

.aee-event-status,
.aee-event-category {
	display: inline-flex;
	align-items: center;
	padding: 7px 12px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.aee-event-status.is-upcoming {
	background: #dcfce7;
	color: #166534;
}

.aee-event-status.is-past {
	background: #fee2e2;
	color: #991b1b;
}

.aee-event-category {
	background: #e0f2fe;
	color: #075985;
}

.aee-event-title {
	margin: 0 0 12px;
	font-size: 24px;
	line-height: 1.2;
}

.aee-event-title a {
	color: #0f172a;
	text-decoration: none;
}

.aee-event-meta {
	margin-bottom: 8px;
	color: #334155;
	font-size: 14px;
	font-weight: 600;
}

.aee-event-excerpt {
	margin-top: 14px;
	color: #475569;
	font-size: 15px;
	line-height: 1.7;
}

.aee-event-link {
	display: inline-flex;
	margin-top: 18px;
	padding: 12px 18px;
	border-radius: 999px;
	background: #0f172a;
	color: #ffffff;
	font-size: 14px;
	font-weight: 700;
	text-decoration: none;
}

.aee-events-empty {
	padding: 24px;
	border-radius: 20px;
	background: #fff7ed;
	color: #9a3412;
	font-weight: 600;
}

.aee-single-event {
	display: grid;
	grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
	gap: 32px;
	align-items: start;
}

.aee-single-event-image img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 30px;
	box-shadow: 0 24px 60px rgba(15, 23, 42, 0.16);
}

.aee-single-event-panel {
	padding: 28px;
	border: 1px solid rgba(15, 23, 42, 0.08);
	border-radius: 30px;
	background:
		radial-gradient(circle at top right, rgba(96, 165, 250, 0.18), transparent 24%),
		linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
	box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.aee-single-event-title {
	margin: 16px 0 14px;
	font-size: 34px;
	line-height: 1.1;
	color: #0f172a;
}

.aee-single-event-taxonomy {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 16px;
}

.aee-single-event-meta {
	margin-bottom: 10px;
	color: #334155;
	font-size: 15px;
	line-height: 1.6;
}

.aee-single-event-content {
	margin-top: 20px;
	color: #334155;
	font-size: 16px;
	line-height: 1.8;
}

.aee-single-event-content p:last-child {
	margin-bottom: 0;
}

/* Pagination Styles */
.aee-pagination {
	margin-top: 32px;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 10px;
}

/* Page Numbers Pagination */
.aee-pagination-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.aee-pagination-numbers li {
	margin: 0;
	padding: 0;
}

.aee-pagination-numbers a,
.aee-pagination-numbers span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	padding: 0 8px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	background: #ffffff;
	color: #0f172a;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.25s ease;
}

.aee-pagination-numbers a:hover {
	background: #f1f5f9;
	border-color: #cbd5e1;
}

.aee-pagination-numbers .active a {
	background: #0f172a;
	color: #ffffff;
	border-color: #0f172a;
}

.aee-pagination-prev,
.aee-pagination-next {
	display: flex;
	align-items: center;
}

.aee-pagination-prev a,
.aee-pagination-next a {
	padding: 0 12px;
	font-size: 13px;
}

/* Previous/Next Pagination */
.aee-pagination-prev-next {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 16px;
	flex-wrap: wrap;
}

.aee-pagination-button {
	display: inline-flex;
	align-items: center;
	padding: 10px 20px;
	border-radius: 8px;
	background: #0f172a;
	color: #ffffff;
	text-decoration: none;
	font-weight: 600;
	font-size: 14px;
	transition: all 0.25s ease;
}

.aee-pagination-button:hover:not(.aee-pagination-disabled) {
	background: #1e293b;
	transform: translateX(2px);
}

.aee-pagination-button.aee-pagination-disabled {
	background: #cbd5e1;
	color: #94a3b8;
	cursor: not-allowed;
	opacity: 0.6;
}

.aee-pagination-button-prev {
	order: -1;
}

.aee-pagination-button-next {
	order: 1;
}

.aee-pagination-info {
	color: #475569;
	font-size: 14px;
	font-weight: 600;
	order: 0;
}

/* Load More Pagination */
.aee-pagination-load-more {
	display: flex;
	justify-content: center;
	margin-top: 24px;
}

.aee-pagination-button-load-more {
	padding: 14px 32px;
	border-radius: 999px;
	background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
	color: #ffffff;
	text-decoration: none;
	font-weight: 700;
	font-size: 15px;
	transition: all 0.25s ease;
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}

.aee-pagination-button-load-more:hover {
	transform: translateY(-2px);
	box-shadow: 0 14px 36px rgba(15, 23, 42, 0.28);
}

/* Loading State */
.aee-events-grid {
	transition: opacity 0.3s ease;
}

.aee-pagination-link {
	cursor: pointer;
}

.aee-pagination-link.disabled {
	opacity: 0.6;
	cursor: not-allowed;
	pointer-events: none;
}

@media (max-width: 767px) {
	.aee-event-content {
		padding: 20px;
	}

	.aee-event-title {
		font-size: 21px;
	}

	.aee-single-event {
		grid-template-columns: 1fr;
		gap: 22px;
	}

	.aee-single-event-panel {
		padding: 22px;
	}

	.aee-single-event-title {
		font-size: 28px;
	}

	.aee-pagination-numbers {
		gap: 6px;
	}

	.aee-pagination-numbers a,
	.aee-pagination-numbers span {
		min-width: 36px;
		height: 36px;
		font-size: 13px;
		padding: 0 4px;
	}

	.aee-pagination-prev-next {
		gap: 12px;
	}

	.aee-pagination-button {
		padding: 8px 16px;
		font-size: 13px;
	}

	.aee-pagination-button-load-more {
		padding: 12px 24px;
		font-size: 14px;
	}
}
