.digidot-events-archive {
	max-width: 1200px;
	margin: 0 auto;
	padding: 20px;
	font-family: inherit;
}

.digidot-events-archive *,
.digidot-events-archive *::before,
.digidot-events-archive *::after {
	box-sizing: border-box;
}

.digidot-events-filters {
	display: grid;
	grid-template-columns: 1fr 200px 200px minmax(180px, 1fr) auto;
	gap: 12px;
	align-items: center;
	margin-bottom: 16px;
}

.digidot-events-filters input,
.digidot-events-filters select {
	width: 100%;
	padding: 10px 12px;
	border-radius: 10px;
	border: 1px solid #e2e8f0;
	background: #fff;
}

.digidot-filter-group--dates {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
}

.digidot-filter-button {
	background: #00cc97;
	color: #fff;
	border: none;
	padding: 10px 16px;
	border-radius: 10px;
	font-weight: 600;
	cursor: pointer;
}

.digidot-events-toolbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-bottom: 16px;
}

.digidot-events-tabs a.is-active,
.digidot-view-icon.is-active {
	background: #00cc97;
	color: #fff;
	border-color: #00cc97;
}

.digidot-events-tabs a {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border-radius: 999px;
	border: 1px solid #e2e8f0;
	color: #0f172a;
	text-decoration: none;
	font-weight: 600;
	margin-right: 8px;
}

.digidot-view-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 999px;
	border: 1px solid #e2e8f0;
	background: #fff;
	text-decoration: none;
	margin-right: 8px;
}

.digidot-view-icon::before {
	content: "";
	width: 18px;
	height: 18px;
	display: inline-block;
	background-size: contain;
	background-repeat: no-repeat;
}

.digidot-view-icon--grid::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2300cc97' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><rect x='3' y='3' width='7' height='7'/><rect x='14' y='3' width='7' height='7'/><rect x='14' y='14' width='7' height='7'/><rect x='3' y='14' width='7' height='7'/></svg>");
}

.digidot-view-icon--list::before {
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%2300cc97' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'><line x1='8' y1='6' x2='21' y2='6'/><line x1='8' y1='12' x2='21' y2='12'/><line x1='8' y1='18' x2='21' y2='18'/><circle cx='3' cy='6' r='1'/><circle cx='3' cy='12' r='1'/><circle cx='3' cy='18' r='1'/></svg>");
}

.digidot-events-listing {
	display: grid;
	gap: 16px;
}

.digidot-events-listing--grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.digidot-event-item {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 16px;
	overflow: hidden;
	display: grid;
	grid-template-rows: auto 1fr;
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.digidot-event-thumb img {
	width: 100%;
	height: 280px;
	object-fit: cover;
}

.digidot-event-body {
	padding: 16px;
}

.digidot-event-body h3 {
	margin: 0 0 8px;
	font-size: 18px;
}

.digidot-event-body p {
	margin: 0 0 12px;
	color: #64748b;
}

.digidot-event-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: #0f172a;
	font-size: 13px;
	margin-bottom: 12px;
}

.digidot-event-link {
	display: inline-flex;
	padding: 8px 14px;
	border-radius: 999px;
	background: #00cc97;
	color: #fff;
	text-decoration: none;
	font-weight: 600;
}

.digidot-events-listing--list .digidot-event-item {
	grid-template-columns: 220px 1fr 220px;
	grid-template-rows: 1fr;
}

.digidot-events-listing--list .digidot-event-thumb {
	grid-column: 1;
}

.digidot-events-listing--list .digidot-event-body {
	grid-column: 2;
	min-width: 0;
}

.digidot-events-listing--list .digidot-event-services-summary {
	grid-column: 3;
}

.digidot-events-listing--list .digidot-event-thumb img {
	height: 100%;
	min-height: 160px;
}

.digidot-events-empty {
	padding: 20px;
	background: #fff;
	border: 1px dashed #e2e8f0;
	border-radius: 12px;
	text-align: center;
	color: #64748b;
}

@media (max-width: 900px) {
	.digidot-events-filters {
		grid-template-columns: 1fr;
	}

	.digidot-events-listing--grid {
		grid-template-columns: 1fr;
	}

	.digidot-events-listing--list .digidot-event-item {
		grid-template-columns: 1fr;
	}

	.digidot-events-listing--list .digidot-event-thumb,
	.digidot-events-listing--list .digidot-event-body,
	.digidot-events-listing--list .digidot-event-services-summary {
		grid-column: 1;
	}
}
