/**
 * Die Speisekarten-Seite /speisekarten/ (ua-orte 0.75.0).
 *
 * Kartentyp LISTE aus docs/gestaltung-massstab.md, dieselben Maße wie die
 * Mittagstisch-Seite (ua-orte-mittagstisch.css): Bild 80 px (unter 900 px
 * 72), Kicker 12 (unter 900 px 11), Titel --ua-t-kartentitel (Handy 17),
 * Nebeninfo 15 (Handy 14) 600 mit 7-px-Punkt in Amber, Linie in Sand unter
 * jeder Zeile, ab 900 px zwei Spalten mit 40 px Abstand (kein Kasten
 * daneben). Die ganze Zeile ist ein Link.
 *
 * Suchfeld 16 px (sonst zoomt iOS beim Tippen), mindestens 44 px hoch.
 *
 * Harte Werte ohne Paletteneintrag: Grau #6b6b6b (Treffer „+ n weitere“,
 * Gewähr-Zeile), Weiß #fff (Suchfeld). Bei der Farbrunde mitziehen.
 */

.ua-skl [hidden],
.ua-skl[hidden] {
	display: none !important;
}

.ua-skl {
	color: var(--ua-navy, #184058);
	font-family: var(--ua-sans);
	font-size: var(--ua-t-fliess);
	line-height: 1.5;
	margin: 0 0 48px;
}

/* -------------------------------------------------------------- Kopf */

.ua-skl__kopf {
	margin: 0 0 20px;
}

.ua-skl__krumenzeile {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 8px;
}

.ua-skl__krumenzeile .ua-tk {
	flex: none;
	margin-left: auto;
}

.ua-skl__krumen {
	font-size: var(--ua-t-klein);
	margin: 0;
}

.ua-skl__krumen a {
	color: var(--ua-navy, #184058);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ua-skl .ua-skl__titel {
	font-family: var(--ua-serif);
	font-size: var(--ua-t-h1);
	font-weight: 700;
	line-height: 1.15;
	color: var(--ua-navy, #184058);
	margin: 0 0 8px;
}

.ua-skl__unterzeile {
	font-size: var(--ua-t-fliess);
	color: var(--ua-text-weich, #3d4753);
	margin: 0;
	max-width: 46em;
}

/* ------------------------------------------------------------- Suche */

.ua-skl__suche {
	margin: 0 0 6px;
	max-width: 480px;
}

.ua-skl__suchwort {
	display: block;
	font-size: var(--ua-t-klein);
	font-weight: 700;
	margin: 0 0 6px;
}

.ua-skl .ua-skl__suche input[type="search"] {
	box-sizing: border-box;
	width: 100%;
	min-height: 44px;
	padding: 8px 12px;
	border: 1px solid var(--ua-sand, #d9cdb8);
	border-radius: 10px;
	background: #fff;
	color: var(--ua-navy, #184058);
	font-family: var(--ua-sans);
	font-size: 16px;
	line-height: 1.4;
	box-shadow: none;
}

.ua-skl .ua-skl__suche input[type="search"]:focus-visible {
	outline: 2px solid var(--ua-navy, #184058);
	outline-offset: 1px;
	border-color: var(--ua-navy, #184058);
}

.ua-skl__hinweis {
	font-size: var(--ua-t-klein);
	font-weight: 700;
	margin: 8px 0 4px;
	min-height: 0;
}

.ua-skl__hinweis:empty {
	margin: 0;
}

/* ------------------------------------------------------------ Liste */

.ua-skl__liste {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 900px) {
	.ua-skl__liste {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		column-gap: 40px;
	}
}

.ua-skl .ua-skl-ort {
	display: grid;
	grid-template-columns: var(--ua-karte-liste-bild, 80px) minmax(0, 1fr) auto;
	column-gap: 14px;
	align-items: start;
	padding: 14px 0;
	border-bottom: 1px solid var(--ua-sand, #d9cdb8);
	color: var(--ua-navy, #184058);
	text-decoration: none;
	min-width: 0;
}

/* Gegen `.entry-content a:hover` von Kadence, wie auf /mittagstisch/. */
.ua-skl .ua-skl-ort.ua-skl-ort:hover,
.ua-skl .ua-skl-ort.ua-skl-ort:focus-visible {
	color: var(--ua-navy, #184058);
	text-decoration: none;
}

.ua-skl .ua-skl-ort:hover .ua-skl-ort__titel {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ua-skl .ua-skl-ort:focus-visible {
	outline: 2px solid var(--ua-navy, #184058);
	outline-offset: 2px;
}

.ua-skl-ort__bild {
	display: block;
	width: var(--ua-karte-liste-bild, 80px);
	height: var(--ua-karte-liste-bild, 80px);
	border-radius: 10px;
	overflow: hidden;
	background: var(--ua-warm, #ede6d8);
}

.ua-skl-ort__img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ua-skl-ort__text {
	display: block;
	min-width: 0;
}

.ua-skl-ort__kicker,
.ua-skl-ort__titel,
.ua-skl-ort__zeile,
.ua-skl-ort__treffer {
	display: block;
	margin: 0;
}

.ua-skl-ort__kicker {
	font-size: var(--ua-t-kicker);
	font-weight: 700;
	letter-spacing: .12em;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--ua-amber-schrift, #8a5c08);
	margin-bottom: 3px;
}

.ua-skl-ort__titel {
	font-family: var(--ua-serif);
	font-size: var(--ua-t-kartentitel);
	font-weight: 700;
	line-height: 1.3;
	color: var(--ua-navy, #184058);
}

.ua-skl-ort__zeile {
	font-size: var(--ua-t-klein);
	font-weight: 600;
	line-height: 1.4;
	margin-top: 2px;
}

.ua-skl-ort__punkt {
	display: inline-block;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--ua-amber, #e8a020);
	margin-right: 7px;
	vertical-align: middle;
	position: relative;
	top: -1px;
}

/* Treffer der Suche: bis zu drei Gerichte mit Preis, dann „+ n weitere“. */
.ua-skl-ort__treffer {
	margin-top: 6px;
	font-size: var(--ua-t-klein);
	line-height: 1.4;
}

.ua-skl-ort__gericht {
	display: flex;
	align-items: baseline;
	gap: 12px;
}

.ua-skl-ort__gname {
	flex: 1 1 0;
	min-width: 0;
	overflow-wrap: anywhere;
}

.ua-skl-ort__preis {
	flex: none;
	font-weight: 700;
	white-space: nowrap;
	font-variant-numeric: tabular-nums lining-nums;
}

.ua-skl-ort__weitere {
	display: block;
	color: #6b6b6b;
}

.ua-skl-ort__pfeil {
	align-self: center;
	font-size: 22px;
	line-height: 1;
	color: var(--ua-navy, #184058);
	padding-left: 2px;
}

.ua-skl__gruppe {
	grid-column: 1 / -1;
	font-size: var(--ua-t-kicker);
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ua-amber-schrift, #8a5c08);
	margin: 22px 0 0;
}

.ua-skl__leer {
	padding: 18px 0;
	margin: 0;
}

/* ----------------------------------------- Für Betriebe, Gewähr */

/* Schlichter Text auf dem Grund (Auftrag A5): kein Kasten, kein Schatten. */
.ua-skl__betriebe {
	margin: 28px 0 0;
	font-size: var(--ua-t-fliess);
}

.ua-skl__betriebe a {
	display: inline-block;
	padding: 10px 0;
	color: var(--ua-navy, #184058);
	font-weight: 600;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ua-skl__gewaehr {
	font-size: var(--ua-t-klein);
	color: #6b6b6b;
	margin: 4px 0 0;
}

/* Liste unter 900 px: Bild 72, Kicker 11. */
@media (max-width: 899.98px) {
	.ua-skl .ua-skl-ort {
		grid-template-columns: var(--ua-karte-liste-bild-handy, 72px) minmax(0, 1fr) auto;
		column-gap: 12px;
	}

	.ua-skl-ort__bild {
		width: var(--ua-karte-liste-bild-handy, 72px);
		height: var(--ua-karte-liste-bild-handy, 72px);
	}

	.ua-skl-ort__kicker {
		font-size: var(--ua-t-kicker-klein);
	}
}

@media (max-width: 599.98px) {
	.ua-skl-ort__titel {
		line-height: 1.25;
	}

	.ua-skl-ort__zeile,
	.ua-skl-ort__treffer {
		font-size: 14px;
	}
}
