/* Suche (Häkchen „suche“): Lupe in der Menüzeile, Feld im Handy-Menü, Ergebnisseite. Vereinsfarben (design_plan.md): Blau #043883, Gelb #f2dd32, Hover #2d93ce bzw. Menü-Hover #b2a508. */

.scd-suche {
	display: flex;
	align-items: center;
	margin: 0;
}
.scd-suche input[type="search"] {
	font-family: 'Nunito', sans-serif;
	font-size: 15px;
	color: #000;
	background: transparent;
	border: 0;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
	outline: none;
}
.scd-suche button {
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 6px;
	background: none;
	border: 0;
	color: #043883;
	cursor: pointer;
	font: inherit;
}
.scd-suche button svg {
	width: 22px;
	height: 22px;
}
.scd-suche button:hover {
	color: #b2a508;
}

/* PC: Lupe rechts in der Menüzeile, Feld klappt auf */
.scd-suche--kopf {
	margin-left: auto;
	flex-shrink: 0;
}
.scd-suche--kopf input[type="search"] {
	width: 0;
	padding: 6px 0;
	opacity: 0;
	border-bottom: 2px solid #043883;
	transition: width .25s ease-in-out, opacity .25s ease-in-out, padding .25s ease-in-out;
}
.scd-suche--kopf.offen input[type="search"] {
	width: 190px;
	padding: 6px 8px;
	opacity: 1;
}

/* Handy: Feld oben im aufgeklappten Menü */
.scd-suche--menue {
	display: none;
}
@media (max-width: 767px) {
	.scd-suche--kopf {
		display: none;
	}
	#header-navbar-menu .oxy-pro-menu-off-canvas-container .scd-suche--menue,
	#header-navbar-menu .oxy-pro-menu-open-container .scd-suche--menue {
		display: flex;
		width: 100%;
		max-width: 320px;
		margin: 0 auto 18px;
		border: 1px solid #b8c2d6;
		border-radius: 8px;
		background: #fff;
	}
	.scd-suche--menue input[type="search"] {
		flex: 1;
		min-width: 0;
		padding: 10px 12px;
	}
}

/* Ergebnisseite */
.scd-suche-seite h1 {
	margin-top: 0;
}
.scd-suche--seite {
	max-width: 620px;
	margin: 0 0 18px;
	border: 2px solid #043883;
	border-radius: 10px;
	background: #fff;
	overflow: hidden;
}
.scd-suche--seite input[type="search"] {
	flex: 1;
	min-width: 0;
	padding: 12px 14px;
	font-size: 17px;
}
.scd-suche--seite button {
	padding: 12px 16px;
	background: #043883;
	color: #fff;
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	border-radius: 0;
}
.scd-suche--seite button:hover {
	background: #2d93ce;
	color: #fff;
}
.scd-suche-anzahl {
	color: #555;
	margin: 0 0 6px;
}
.scd-suche-sprung {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 16px;
	margin: 0 0 24px;
	font-size: 14px;
}
.scd-suche-sprung a {
	color: #043883;
}
.scd-treffer-gruppe {
	margin: 0 0 30px;
}
.scd-treffer-gruppe h2 {
	margin: 0 0 6px;
	padding-bottom: 6px;
	border-bottom: 2px solid #f2dd32;
}
.scd-treffer {
	list-style: none;
	margin: 0;
	padding: 0;
}
.scd-treffer li {
	padding: 12px 0;
	border-bottom: 1px solid #e5e9f0;
}
.scd-treffer li > a {
	font-weight: 700;
	font-size: 17px;
	color: #043883;
	text-decoration: none;
}
.scd-treffer li > a:hover {
	text-decoration: underline;
}
.scd-treffer__meta {
	font-size: 13px;
	color: #666;
	margin-top: 2px;
}
.scd-treffer p {
	margin: 4px 0 0;
	font-size: 15px;
	line-height: 1.5;
}
.scd-treffer mark {
	background: #fff3a8;
	padding: 0 1px;
}
.scd-treffer-gruppe details summary {
	cursor: pointer;
	color: #043883;
	font-weight: 600;
	padding: 10px 0;
}

/* Ergebnisseite: linksbündig, Sprunglinks als Knöpfe */
.scd-suche-seite,
.scd-suche-seite .ct-section-inner-wrap {
	text-align: left;
	align-items: stretch;
}
.scd-suche-sprung a {
	display: inline-block;
	padding: 5px 12px;
	border: 1px solid #043883;
	border-radius: 999px;
	text-decoration: none;
	font-weight: 600;
}
.scd-suche-sprung a:hover {
	background: #043883;
	color: #fff;
}
.scd-treffer-gruppe h2 span {
	font-size: .6em;
	font-weight: 400;
	color: #666;
}
.scd-treffer-gruppe {
	scroll-margin-top: 90px;
}
.scd-nach-oben {
	margin: 8px 0 0;
	font-size: 13px;
	text-align: right;
}
.scd-nach-oben a {
	color: #043883;
}

/* Kacheln mit Bild (Berichte, Fotogalerien) */
.scd-kacheln {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
	gap: 18px;
	margin-top: 12px;
}
.scd-kachel {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 1px 4px rgba(0, 0, 0, .12);
	text-decoration: none;
	color: #000;
	transition: box-shadow .2s ease-in-out;
}
.scd-kachel:hover {
	box-shadow: 0 3px 12px rgba(4, 56, 131, .28);
}
.scd-kachel__bild {
	display: block;
	aspect-ratio: 3 / 2;
	background: #f2f5fa center / cover no-repeat;
}
.scd-kachel__bild--leer {
	background: #043883 url('../../../../uploads/web/header.png') center / cover no-repeat;
	opacity: .85;
}
.scd-kachel__datum {
	padding: 10px 12px 0;
	font-size: 12px;
	color: #666;
}
.scd-kachel__titel {
	padding: 4px 12px 12px;
	font-family: 'Nunito', sans-serif;
	font-weight: 700;
	font-size: 16px;
	line-height: 1.3;
	color: #043883;
}
.scd-kachel:hover .scd-kachel__titel {
	color: #2d93ce;
}
.scd-treffer-gruppe details > .scd-kacheln {
	margin-top: 6px;
}
@media (max-width: 480px) {
	.scd-kacheln {
		grid-template-columns: repeat(2, 1fr);
		gap: 12px;
	}
	.scd-kachel__titel {
		font-size: 14px;
	}
}
