footer .footer-wrapper {
	width: 100%;
	justify-content: space-between;
}

footer {
	background-color: var(--wp--preset--color--main-black);
}

footer * {
	color: var(--wp--preset--color--main-white);
}

footer .footer-hy-logo img {
    width: auto !important;
	max-width: 300px !important;
    height: 100px !important;
    object-fit: contain !important;
}

footer a:hover {
	color: var(--wp--preset--color--main-white);
}

footer a:focus {
	outline: 2px solid var(--wp--preset--color--main-white);
	outline-offset: 2px;
}

footer a.wp-block-button__link {
	background-color: transparent;
	color: var(--wp--preset--color--main-white);
	border: none;
	text-decoration: underline;
}

footer a.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	flex-direction: row;
	gap: 5px;
	padding: 6px 12px;
	background-color: transparent;
	color: var(--wp--preset--color--main-white);
	border: none;
	text-decoration: underline;
}

footer a.wp-block-button__link::after {
	content: "";
	width: 24px;
	height: 24px;
	background-image: url("/wp-content/themes/blogs-helsinki-2026/assets/icons/arrow_forward_white_icon.svg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

footer a.wp-block-button__link:hover {
	background-color:  var(--wp--preset--color--hover-black);
}

footer .wp-block-social-links .wp-social-link svg {
	width: 30px;
	height: 30px;
	background: var(--wp--preset--color--main-white);
	padding: 4px;
}
footer .wp-block-social-links .wp-social-link svg path {
	fill: var(--wp--preset--color--main-black);
}

footer .wp-block-social-links .wp-social-link span.wp-block-social-link-label {
	font-size: 16px;
}

footer .scroll-to-top-button a {
	position: fixed;
	right: 16px;
	bottom: calc(env(safe-area-inset-bottom) + 16px);
	width: 48px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--wp--preset--color--main-white);
	border: none;
	border-radius: 50%;
	padding: 0;
	opacity: 0;
	visibility: hidden;
	z-index: 1;
	transition: 0.25s ease-in-out;
}

footer .scroll-to-top-button a:hover {
	background-color: var(--wp--preset--color--main-white);
}

footer .scroll-to-top-button a.is-visible {
	opacity: 0.75;
	visibility: visible;
}

footer .scroll-to-top-button a span.icon {
	width: 36px;
	height: 36px;
	display: block;
	background-image: url("/wp-content/themes/blogs-helsinki-2026/assets/icons/scroll_to_top_icon.svg");
	background-size: contain;
	background-position: center;
	background-repeat: no-repeat;
}

footer .scroll-to-top-button a::after {
	display: none;
}

@media (max-width: 599px) {
	footer .scroll-to-top-button a {
		width: 36px;
		height: 36px;
	}
	footer .scroll-to-top-button a span.icon {
		width: 24px;
		height: 24px;
	}
}
