.emwc-archive-wrapper {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 20px;
}

.emwc-archive-header {
	margin-bottom: 40px;
	text-align: center;
}

.emwc-archive-title {
	font-size: 32px;
	font-weight: 700;
	margin: 0 0 10px;
	color: #1a1a2e;
}

.emwc-archive-desc {
	color: #64748b;
	max-width: 600px;
	margin: 0 auto;
}

.emwc-events-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.emwc-event-card {
	background: #fff;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 2px 12px rgba(0,0,0,0.08);
	transition: transform 0.2s, box-shadow 0.2s;
}

.emwc-event-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0,0,0,0.12);
}

.emwc-card-link,
.emwc-card-link:hover,
.emwc-card-link:focus,
.emwc-card-link:visited,
a.emwc-card-link {
	display: block;
	text-decoration: none !important;
	color: inherit;
}

/* Remove underlines from all elements inside card links */
.emwc-card-link *,
.emwc-event-card a * {
	text-decoration: none !important;
}

.emwc-card-image {
	position: relative;
	aspect-ratio: 16/10;
	overflow: hidden;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.emwc-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.emwc-card-placeholder {
	width: 100%;
	height: 100%;
}

.emwc-card-date {
	position: absolute;
	top: 12px;
	left: 12px;
	background: #fff;
	border-radius: 8px;
	padding: 8px 12px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0,0,0,0.15);
	min-width: 50px;
}

.emwc-card-month {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: #e74c3c;
	letter-spacing: 0.5px;
}

.emwc-card-day {
	display: block;
	font-size: 22px;
	font-weight: 700;
	color: #1a1a2e;
	line-height: 1;
}

.emwc-card-badge {
	position: absolute;
	top: 12px;
	right: 12px;
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 11px;
	font-weight: 600;
	text-transform: uppercase;
}

.emwc-badge-live {
	background: #dcfce7;
	color: #16a34a;
}

.emwc-badge-cancelled {
	background: #fee2e2;
	color: #dc2626;
}

.emwc-badge-soldout {
	background: #f3f4f6;
	color: #6b7280;
}

.emwc-badge-upcoming {
	background: #dbeafe;
	color: #1d4ed8;
}

.emwc-card-content {
	padding: 20px;
}

.emwc-card-title {
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 12px;
	color: #1e293b;
	line-height: 1.3;
}

.emwc-card-meta {
	display: flex;
	align-items: center;
	gap: 6px;
	font-size: 13px;
	color: #64748b;
	margin-bottom: 6px;
}

.emwc-card-meta .dashicons {
	font-size: 14px;
	width: 14px;
	height: 14px;
	color: #6366f1;
}

.emwc-card-excerpt {
	font-size: 14px;
	color: #64748b;
	line-height: 1.5;
	margin: 12px 0 16px;
}

.emwc-card-btn {
	display: inline-block;
	padding: 8px 16px;
	background: #f1f5f9;
	color: #475569;
	border-radius: 6px;
	font-size: 13px;
	font-weight: 600;
	transition: background 0.2s, color 0.2s;
}

.emwc-event-card:hover .emwc-card-btn {
	background: #6366f1;
	color: #fff;
}

.emwc-no-events {
	text-align: center;
	padding: 60px 20px;
	color: #64748b;
}

.emwc-archive-wrapper .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}

.emwc-archive-wrapper .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background: #f1f5f9;
	color: #475569;
	border-radius: 8px;
	text-decoration: none;
	font-weight: 500;
	transition: background 0.2s;
}

.emwc-archive-wrapper .page-numbers.current,
.emwc-archive-wrapper .page-numbers:hover {
	background: #6366f1;
	color: #fff;
}

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

@media (max-width: 600px) {
	.emwc-events-grid {
		grid-template-columns: 1fr;
	}
	.emwc-archive-title {
		font-size: 24px;
	}
}
