/*
 * Right footer column (Wartegg_Hotel_Footer): rating + "In Verbindung
 * bleiben". Labels match the logo band (.wartegg-logos .wl-title). The
 * rating itself lives in the gastfeedback shadow root and is styled via
 * Wartegg_Hotel_Footer::widget_css().
 */

body .wartegg-panel {
	--wf-accent: rgb(62, 175, 147);
	--wf-muted: #8c8c8c;
	display: grid;
	gap: 2rem;
	min-width: 240px;
	text-align: left;
}
body.kultur .wartegg-panel {
	--wf-accent: #4c0508; /* @rot_dunkel, like the other footer lines */
}

body .wartegg-panel .wf-label {
	margin: 0 0 1rem;
	padding-bottom: .7rem;
	border-bottom: 1px solid var(--wf-accent);
	font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif;
	font-size: .68rem;
	font-weight: 400;
	line-height: 1.2;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--wf-muted);
}

body .wartegg-panel .wf-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}
body .wartegg-panel .wf-links li {
	margin: 0;
	padding: 0;
}
body .wartegg-panel .wf-links li::before {
	content: none;
}

body .wartegg-panel .wf-icon,
body .wartegg-panel .wf-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 40px;
	border: 1px solid var(--wf-accent);
	color: var(--wf-accent);
	text-decoration: none;
	transition: background-color .2s ease, color .2s ease;
}
body .wartegg-panel .wf-icon {
	width: 40px;
	border-radius: 50%;
}
body .wartegg-panel .wf-pill {
	gap: 8px;
	padding: 0 16px 0 12px;
	border-radius: 20px;
	font-family: 'Gotham SSm A', 'Gotham SSm B', Helvetica, Arial, sans-serif;
	font-size: 13px;
	letter-spacing: .04em;
}
body .wartegg-panel svg {
	width: 18px;
	height: 18px;
	flex: none;
}
body .wartegg-panel .wf-icon:hover,
body .wartegg-panel .wf-pill:hover,
body .wartegg-panel .wf-icon:focus-visible,
body .wartegg-panel .wf-pill:focus-visible {
	background: var(--wf-accent);
	color: #fff;
}
body .wartegg-panel .wf-icon:focus-visible,
body .wartegg-panel .wf-pill:focus-visible {
	outline: 2px solid var(--wf-accent);
	outline-offset: 3px;
}

/* Phones: the link columns are hidden, the panel follows the address. */
@media (max-width: 991px) {
	/* Full width under the address, aligned with it and the logo band.
	   clear: a grid next to a floated widget would be squeezed beside it. */
	body footer .items .wartegg-panel {
		clear: both;
		float: none;
		width: auto;
		max-width: none;
		min-width: 0;
		margin: 2.5rem 0 0;
		padding: 0;
	}
	/* Room for the theme's fixed back-to-top arrow (i.up, 50px from the
	   bottom) so it doesn't sit on the last footer line. */
	body footer .items.impressum {
		padding-bottom: 110px;
	}
	body .wartegg-panel .wf-icon {
		width: 44px;
		height: 44px;
	}
	body .wartegg-panel .wf-pill {
		height: 44px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body .wartegg-panel .wf-icon,
	body .wartegg-panel .wf-pill {
		transition: none;
	}
}
