/* Social links
--------------------------------------------------------------------------------- */

footer .footer-social-links {
	display: flex;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

footer .footer-neu .footer-social-links {
	margin-block-start: 1.5em;
}

footer .footer-social-links li {
	display: block;
	margin: 0;
}

footer .footer-social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #008ff6;
	color: #ffffff;
	text-decoration: none;
	transition: background-color 0.2s ease;
}

footer .footer-social-links a:hover {
	background-color: #0b4d93;
}

footer .footer-social-links a:focus-visible {
	outline: 3px solid rgba(0, 143, 246, 0.5);
	outline-offset: 2px;
}

footer .footer-social-links svg {
	display: block;
	width: 20px;
	height: 20px;
}

/* Opening hours: keep day and time on the same row at every width
--------------------------------------------------------------------------------- */

footer .footer-neu .wp-block-column .wp-block-columns {
	flex-wrap: nowrap !important;
	gap: 1em;
}

footer .footer-neu .wp-block-column .wp-block-columns > .wp-block-column:first-child {
	flex: 0 0 auto !important;
}

footer .footer-neu .wp-block-column .wp-block-columns > .wp-block-column:last-child {
	flex: 1 1 auto !important;
}

footer .footer-neu .wp-block-column .wp-block-columns p {
	white-space: nowrap;
	hyphens: manual;
}

@media (max-width: 374px) {
	footer .footer-neu .wp-block-column .wp-block-columns {
		gap: 0.5em;
	}

	footer .footer-neu .wp-block-column .wp-block-columns p {
		font-size: 0.875em;
	}
}

/* Main columns: three columns only from 1100px, two columns below, stacked on phones
--------------------------------------------------------------------------------- */

@media (max-width: 1099px) {
	footer .footer-neu > .widget > .wp-block-group > .wp-block-group__inner-container > .wp-block-columns > .wp-block-column:has(.wp-block-image) {
		order: 1;
	}
}

@media (min-width: 600px) and (max-width: 1099px) {
	footer .footer-neu > .widget > .wp-block-group > .wp-block-group__inner-container > .wp-block-columns {
		flex-wrap: wrap !important;
	}

	footer .footer-neu > .widget > .wp-block-group > .wp-block-group__inner-container > .wp-block-columns > .wp-block-column {
		flex: 1 1 calc(50% - 16px) !important;
	}

	footer .footer-neu > .widget > .wp-block-group > .wp-block-group__inner-container > .wp-block-columns > .wp-block-column:has(.wp-block-image) {
		flex-basis: 100% !important;
	}

	footer .footer-neu .wp-block-column:has(.wp-block-image) .wp-block-group__inner-container {
		margin-block-start: 0 !important;
	}
}

/* Keep the bottom row clear of the fixed opening-hours tab and corner buttons
--------------------------------------------------------------------------------- */

@media (min-width: 768px) {
	footer {
		padding-bottom: 70px;
	}
}
