.whrn-ev-wrap {
	--whrn-orange: #C1440E;
	--whrn-orange-light: #F3DCCF;
	--whrn-charcoal: #3F3733;
	--whrn-grey: #6E6B69;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	color: var(--whrn-charcoal);
	max-width: 1200px;
	margin: 0 auto;
}

.whrn-ev-notice {
	background: var(--whrn-orange-light);
	border-left: 4px solid var(--whrn-orange);
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-size: 14px;
}

.whrn-ev-vote-status {
	background: #e8f5e9;
	border-left: 4px solid #2e7d32;
	padding: 12px 16px;
	border-radius: 4px;
	margin-bottom: 20px;
	font-size: 14px;
}
.whrn-ev-vote-status.is-error {
	background: #fdecea;
	border-left-color: #c62828;
}

.whrn-ev-filter-group {
	margin-bottom: 14px;
}
.whrn-ev-filter-group-label {
	display: block;
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--whrn-grey);
	margin-bottom: 6px;
}

.whrn-ev-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.whrn-ev-card-type {
	display: inline-block;
	font-size: 10px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 2px 7px;
	border-radius: 3px;
	margin-left: 6px;
	color: #fff;
	background: var(--whrn-grey);
}
.whrn-ev-type-emerging { background: #2f7a63; }
.whrn-ev-type-open { background: #2f6a9c; }
.whrn-ev-type-general { background: #6e6b69; }
.whrn-ev-type-student { background: #7a4f9c; }

.whrn-ev-filter-btn {
	border: 1px solid var(--whrn-orange);
	background: #fff;
	color: var(--whrn-orange);
	padding: 8px 16px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.15s ease;
}
.whrn-ev-filter-btn:hover { background: var(--whrn-orange); }
.whrn-ev-filter-btn.is-active {
	background: var(--whrn-orange);
	color: #fff;
}
.whrn-ev-filter-lightning { border-color: #b8860b; color: #b8860b; }
.whrn-ev-filter-lightning.is-active { background: #b8860b; border-color: #b8860b; color: #fff; }

.whrn-ev-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
	gap: 20px;
}

.whrn-ev-card {
	border: 1px solid #e5e0dc;
	border-radius: 8px;
	overflow: hidden;
	cursor: pointer;
	background: #fff;
	transition: box-shadow 0.15s ease, transform 0.15s ease;
	display: flex;
	flex-direction: column;
}
.whrn-ev-card:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.1);
	transform: translateY(-2px);
}

.whrn-ev-card-thumb {
	position: relative;
	aspect-ratio: 4/3;
	background: #f4f1ee;
	overflow: hidden;
}
.whrn-ev-card-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.whrn-ev-card-noimg {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 100%;
	color: var(--whrn-grey);
	font-size: 13px;
}

.whrn-ev-badge-lightning {
	position: absolute;
	top: 8px;
	left: 8px;
	background: #b8860b;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 4px;
}

.whrn-ev-card-body { padding: 12px 14px 16px; flex: 1; display: flex; flex-direction: column; }
.whrn-ev-card-cat {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: var(--whrn-grey);
	font-weight: 700;
}
.whrn-ev-card-title {
	font-size: 15px;
	margin: 6px 0 4px;
	line-height: 1.35;
}
.whrn-ev-card-presenter {
	font-size: 13px;
	color: var(--whrn-grey);
	font-style: italic;
	margin: 0;
}


/* Lightbox */
.whrn-ev-lightbox {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(30,24,20,0.85);
	z-index: 9999;
	align-items: center;
	justify-content: center;
	padding: 20px;
}
.whrn-ev-lightbox.is-open { display: flex; }
.whrn-ev-lightbox-inner {
	background: #fff;
	border-radius: 8px;
	max-width: 900px;
	width: 100%;
	max-height: 90vh;
	overflow-y: auto;
	display: grid;
	grid-template-columns: 1.2fr 1fr;
	position: relative;
}
@media (max-width: 700px) {
	.whrn-ev-lightbox-inner { grid-template-columns: 1fr; }
}
.whrn-ev-lightbox-close {
	position: absolute;
	top: 10px;
	right: 14px;
	background: none;
	border: none;
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
	color: var(--whrn-charcoal);
	z-index: 2;
}
.whrn-ev-lightbox-image {
	background: #f4f1ee;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 260px;
}
.whrn-ev-lightbox-image img { width: 100%; height: auto; display: block; }
.whrn-ev-lightbox-details { padding: 24px; }
.whrn-ev-lightbox-details h2 { font-size: 20px; margin: 8px 0; line-height: 1.3; }
.whrn-ev-lightbox-presenter { font-style: italic; color: var(--whrn-grey); margin: 0 0 14px; }
.whrn-ev-lightbox-abstract { font-size: 14px; line-height: 1.6; margin-bottom: 20px; }

.whrn-ev-vote-btn {
	background: var(--whrn-orange);
	color: #fff;
	border: none;
	padding: 12px 22px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	width: 100%;
}
.whrn-ev-vote-btn:hover { background: #a3390b; }
.whrn-ev-vote-btn:disabled { background: #cfc7c1; cursor: not-allowed; }
.whrn-ev-vote-hint { font-size: 12px; color: var(--whrn-grey); margin-top: 10px; text-align: center; }

.whrn-ev-empty { color: var(--whrn-grey); text-align: center; padding: 40px 0; }
