/*
 * Optometrie Online — Verzeichnis.
 *
 * Die Kachelform kommt aus dem Theme (.oo-card, .oo-tag). Hier steht nur, was
 * das Verzeichnis darüber hinaus braucht: das Suchformular und ein paar
 * Abstände.
 *
 * Bewusst keine eigenen Farben und keine eigene Kartenform: „Gleiches
 * Erscheinungsbild" heißt dieselbe Bauform, und die gehört ins Theme, nicht in
 * jedes Modul.
 */

.oo-dir {
	max-width: 900px;
}

/* ------------------------------------------------------------ Suchformular */

.oo-dir__search {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: flex-end;
	margin-bottom: 24px;
	padding: var(--oo-card-padding, 18px);
	border: 1px solid var(--oo-line, #edeff2);
	border-radius: var(--oo-radius, 12px);
	background: var(--oo-surface, #fff);
}

.oo-dir__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.oo-dir__field label {
	font-size: 12px;
	font-weight: 600;
	color: var(--oo-ink-quiet, #8a94a6);
}

.oo-dir__field input,
.oo-dir__field select {
	min-height: 40px;
	padding: 8px 10px;
	border: 1px solid var(--oo-line-strong, #e3e7eb);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 14px;
}

.oo-dir__field input {
	width: 9ch;
}

.oo-dir__submit {
	min-height: 40px;
	padding: 8px 18px;
	border: 0;
	border-radius: 8px;
	background: var(--oo-navy, #1e2a3a);
	color: #fff;
	font: inherit;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
}

.oo-dir__submit:hover {
	opacity: .9;
}

/* ---------------------------------------------------------------- Ergebnis */

.oo-dir__count,
.oo-dir__notice {
	margin: 0 0 14px;
	font-size: 13px;
	color: var(--oo-ink-quiet, #8a94a6);
}

.oo-dir__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.oo-dir__entry + .oo-dir__entry {
	margin-top: var(--oo-card-gap, 14px);
}

.oo-dir__heading {
	margin: 28px 0 12px;
	font-size: 15px;
	font-weight: 600;
	color: var(--oo-ink, #1a1d23);
}

.oo-dir__address {
	font-style: normal;
	font-size: 13px;
	line-height: var(--oo-line-height, 1.7);
	color: var(--oo-ink-soft, #4a5568);
}

.oo-dir__qualification {
	margin: 0 0 16px;
	font-size: 14px;
	color: var(--oo-ink-soft, #4a5568);
}

/* ------------------------------------------------------------ schmale Geräte */

@media (max-width: 575px) {
	.oo-dir__search {
		gap: 10px;
	}

	.oo-dir__field,
	.oo-dir__submit {
		flex: 1 1 100%;
	}

	.oo-dir__field input {
		width: 100%;
	}
}
