
/*
 * Reusable Events section styles (filters, list, cards)
 */
.filter-section {
	position: sticky;
	top: 0;
	z-index: 10;
	background-color: #fff;
	padding: 20px;
	margin-bottom: 0;
	text-align: left;
	padding-left: 190px;
	width: 100%;
	box-sizing: border-box;
}

.filter-label {
	display: block;
	margin-bottom: 12px;
	font-size: 16.5px;
	font-weight: bold;
	color: var(--blue);
}

.filter-buttons {
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-start;
	gap: 10px;
}

.filter-btn {
	border: none;
	border-radius: 20px;
	padding: 8px 29px;
	font-size: 20px;
	cursor: pointer;
	color: var(--green);
	transition: all .3s ease;
	background: #c1e8ba;
	font-weight: 700;
}

.filter-btn:hover {
	background-color: #e3eef2;
	color: var(--blue);
}

.filter-btn.active {
	background-color: #e3eef2;
	color: var(--blue);
}

.filter-btn.active-green {
	background-color: var(--green);
	color: #fff;
	border-color: var(--green);
}

.events-container {
	height: 600px;
	overflow-y: scroll;
	padding-right: 15px;
	margin-top: 30px;
	background-color: #fff;
	position: relative;
}

.event-card {
	display: flex;
	background-color: #fff;
	margin-bottom: 20px;
	padding: 25px;
	align-items: flex-start;
	gap: 30px;
}

.event-date {
	width: 140px;
	flex-shrink: 0;
	text-align: center;
	padding-right: 30px;
}

.event-date .day {
	display: block;
	font-size: 52px;
	font-weight: bold;
	color: var(--blue);
	line-height: 1;
}

.event-date .month {
	display: block;
	font-size: 18px;
	color: var(--blue);
	font-weight: 700;
}

.event-details {
	flex-grow: 1;
	max-width: 60%;
}

.event-details h3 {
	color: var(--blue);
	font-size: 26px;
	margin-bottom: 10px;
	font-weight: 700;
}

.event-details .event-meta {
	font-size: 16px;
	color: var(--text);
	margin-bottom: 15px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.event-details .event-meta span {
	display: block;
}

.event-details .event-meta-item {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--text);
}

.event-details .event-meta-item svg {
	width: 31px;
	height: 31px;
	flex-shrink: 0;
	vertical-align: middle;
}

.event-details .event-description {
	line-height: 1.6;
	color: var(--text);
	margin-bottom: 20px;
}

.event-icon-large {
	flex-shrink: 0;
	width: 200px;
	height: 200px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: 40px;
	align-self: center;
}

.event-icon-large svg {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	color: var(--green);
}

.cta-g.zur-anmeldung-btn {
	font-size: 16px;
	line-height: 30px;
	padding: 4px 18px;
}

.os-theme-custom.os-scrollbar {
	--os-size: 19px;
	--os-handle-bg: #676767;
	--os-handle-bg-hover: #555;
	--os-handle-bg-active: #333;
	--os-track-bg: #d9d9d9;
	--os-track-bg-hover: #d9d9d9;
	--os-track-bg-active: #d9d9d9;
}

.os-theme-custom > .os-scrollbar-vertical {
	width: var(--os-size);
}

.os-theme-custom > .os-scrollbar-track > .os-scrollbar-handle {
	width: 19px;
	background: var(--os-handle-bg);
	height: 22px !important;
	width: 28px !important;
}

.os-theme-custom > .os-scrollbar-track {
	display: flex;
	justify-content: center;
	padding: 0 0;
	background: var(--os-track-bg);
}

.os-theme-custom.os-scrollbar {
	padding: 0;
}

.os-theme-custom .os-viewport {
	padding: 0px 15px 0px 0px !important;
}

@media (max-width: 768px) {
	.event-date {
		padding: 0;
	}
	
	.filter-section {
		padding-left: 30px;
	}
	
	.event-icon-large {
		margin-left: 0px;
	}
}

@media (max-width: 767px) {
	.event-card {
		flex-direction: column;
		justify-content: center;
		align-items: center;
		text-align: center;
	}
}
