/*
 * Footer layout and footer-specific elements.
 */

.site-footer {
	margin-top: auto;
	background: #FFFFFF;
	color: var(--color-grey-charcoal);
	border-top: 0;
}

.site-footer__inner {
	display: grid;
	gap: 0;
	width: min(calc(100% - 2rem), 65.75rem);
	padding-block: 1.875rem 0;
}

.footer-column {
	border-bottom: 1px solid rgba(81, 81, 81, 0.16);
}

.footer-column__toggle {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 4rem;
	padding: 0 1.75rem;
	border: 0;
	background: transparent;
	color: inherit;
	font-size: 1rem;
	font-weight: var(--font-weight-bold);
	line-height: 4rem;
	letter-spacing: 0;
	text-transform: uppercase;
	box-shadow: none;
}

.footer-column__toggle:hover,
.footer-column__toggle:focus-visible {
	background: transparent;
	color: inherit;
	border-color: transparent;
	box-shadow: none;
	transform: none;
}

.footer-column__toggle svg {
	width: 1rem;
	transition: transform 0.2s ease;
}

.footer-column__content {
	display: none;
	padding: 0 1.75rem 1.25rem;
	color: inherit;
	font-size: 1rem;
	font-weight: var(--font-weight-medium);
	line-height: 1.625;
}

.footer-contact__address,
.footer-contact__details,
.footer-contact__cvr {
	margin: 0;
}

.footer-contact__address,
.footer-contact__details {
	margin-bottom: 0.81rem;
}

.footer-contact__address span,
.footer-contact__details span,
.footer-contact__cvr span {
	display: block;
}

.footer-column.is-open .footer-column__content {
	display: block;
}

.footer-column.is-open .footer-column__toggle svg {
	transform: rotate(180deg);
}

.footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-links li + li {
	margin-top: 0rem;
}

.footer-links a,
.footer-column__content a {
	color: inherit;
	text-decoration: none;
	text-underline-offset: 0.16em;
}

.footer-links a:hover,
.footer-links a:focus-visible,
.footer-column__content a:hover,
.footer-column__content a:focus-visible {
	color: inherit;
	text-decoration: underline;
}

.social-links a:hover,
.social-links a:focus-visible {
	text-decoration: none;
}

.social-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem;
	margin-top: 1.5rem;
}

.social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.25rem;
	height: 2.25rem;
	padding: 0;
	border: 1.5px solid var(--color-blue-dark);
	border-radius: 50%;
	background: transparent;
	color: var(--color-blue-dark);
	transition: background-color 0.18s ease, color 0.18s ease, opacity 0.18s ease, transform 0.18s ease;
}

.social-links a:hover,
.social-links a:focus-visible {
	background: var(--color-blue-dark);
	color: var(--color-white);
	transform: translateY(-2px);
	opacity: 1;
}

.social-links svg {
	display: block;
	width: 1.25rem;
	height: 1.25rem;
}

.social-links img {
	width: 2rem;
	height: 2rem;
	object-fit: contain;
}

.facebook-icon {
	transform: scale(0.94);
	transform-origin: center;
}

.site-footer__bottomline {
	margin-top: 0;
	background: var(--color-surface-light);
	border-top: 0;
	padding-block: 0.6875rem;
}

.site-footer__bottomline p {
	margin: 0;
	font-size: 0.6875rem;
	line-height: normal;
	color: var(--color-grey-light);
	text-align: center;
}
