.church-web-termine-block {
	margin-bottom: 12px;
}
.church-web-termine {
	width: 100%;
	border-collapse: collapse;
	margin: 1em 0;
}
.church-web-termine th,
.church-web-termine td {
	text-align: left;
	padding: 0.5em 0.75em;
	border-bottom: 1px solid #ddd;
	vertical-align: top;
}
.church-web-termine .church-web-termine-details-zelle {
	text-align: right;
}
.church-web-termine-leer,
.church-web-termine-hinweis {
	font-style: italic;
	color: #666;
}
.church-web-termine-hinweis {
	background: #fef8e7;
	border-left: 3px solid #dba617;
	padding: 0.5em 0.75em;
}

.church-web-termine-tag-start td {
	border-top: 2px solid #999;
}
.church-web-termine-wochenende {
	background: #f2f2f2;
}
.church-web-termine-zeit {
	font-weight: 600;
	white-space: nowrap;
}

.church-web-termine-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 0.4em;
	margin: 0 0 1em;
}
.church-web-termine-filter-btn {
	background: #f0f0f0;
	border: 1px solid #ccc;
	border-radius: 3px;
	padding: 0.3em 0.8em;
	font-size: 0.9em;
	cursor: pointer;
}
.church-web-termine-filter-btn.is-active {
	background: #333;
	border-color: #333;
	color: #fff;
}

.church-web-termine-details-btn {
	background: none;
	border: 1px solid #999;
	border-radius: 3px;
	padding: 0.2em 0.6em;
	font-size: 0.85em;
	cursor: pointer;
}

.church-web-termine-modal {
	position: fixed;
	inset: 0;
	z-index: 100000;
	display: none;
	align-items: center;
	justify-content: center;
}
.church-web-termine-modal.is-open {
	display: flex;
}
.church-web-termine-modal-hintergrund {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.5);
}
.church-web-termine-modal-box {
	position: relative;
	background: #fff;
	border-radius: 4px;
	padding: 1.5em;
	max-width: 90vw;
	width: 400px;
	max-height: 80vh;
	overflow-y: auto;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}
.church-web-termine-modal-schliessen {
	position: absolute;
	top: 0.5em;
	right: 0.5em;
	background: none;
	border: none;
	font-size: 1.5em;
	line-height: 1;
	cursor: pointer;
	padding: 0.2em 0.4em;
}
.church-web-termine-modal-titel {
	margin: 0 1.5em 1em 0;
}
.church-web-termine-modal-inhalt dt {
	font-weight: 600;
	margin-top: 0.6em;
}
.church-web-termine-modal-inhalt dd {
	margin: 0.1em 0 0;
}
body.church-web-termine-modal-offen {
	overflow: hidden;
}
