/* Hallivuori – evästebanneri ja alatunnisteen Evästeasetukset-painike. Värit samat kuin sivuston hvp2.css:ssä. */
.hv-consent {
	position: fixed;
	left: max(24px, calc((100% - 1240px) / 2));
	bottom: 24px;
	z-index: 100000;
	width: min(560px, calc(100% - 48px));
	padding: 22px 24px 24px;
	background: #12171c;
	border: 1px solid rgba(232, 230, 225, .18);
	box-shadow: 0 18px 48px rgba(0, 0, 0, .5);
	color: #c9cdd1;
	font-family: Archivo, system-ui, sans-serif;
	font-size: 15px;
	line-height: 1.55;
	text-align: left;
}
.hv-consent p { margin: 0 !important; padding: 0; color: inherit !important; font: inherit; }
.hv-consent a { color: #e8e6e1 !important; text-decoration: underline; text-decoration-thickness: 1px; text-decoration-color: rgba(232, 230, 225, .4); text-underline-offset: 3px; transition: text-decoration-color .2s; }
.hv-consent a:hover { text-decoration-color: #e8e6e1; }
.hv-consent__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hv-consent .hv-consent__btns button,
.hv-consent .hv-consent__btns button:hover,
.hv-consent .hv-consent__btns button:focus {
	flex: 1 1 160px;
	height: 46px;
	margin: 0;
	padding: 0 18px !important;
	border: 1px solid rgba(232, 230, 225, .35) !important;
	border-radius: 0 !important;
	background: transparent !important;
	color: #e8e6e1 !important;
	font: 600 15px/1 Archivo, system-ui, sans-serif !important;
	letter-spacing: .01em;
	text-transform: none;
	box-shadow: none;
	cursor: pointer;
	transition: border-color .2s, background-color .2s;
}
.hv-consent .hv-consent__btns button:hover { border-color: #e8e6e1 !important; background: rgba(255, 255, 255, .05) !important; }
.hv-consent .hv-consent__btns button:focus-visible { outline: 2px solid #5aa0e6; outline-offset: 2px; }

.hv-footer__bottom .hv-footer__legal { display: flex; flex-wrap: wrap; align-items: baseline; gap: 8px 24px; }
.hv-footer__bottom .hv-consent-open,
.hv-footer__bottom .hv-consent-open:hover,
.hv-footer__bottom .hv-consent-open:focus {
	margin: 0;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	background: none !important;
	box-shadow: none;
	color: #9ba2a9 !important;
	font: inherit !important;
	line-height: inherit !important;
	text-transform: none;
	cursor: pointer;
	transition: color .2s;
}
.hv-footer__bottom .hv-consent-open:hover { color: #5aa0e6 !important; }
.hv-footer__bottom .hv-consent-open:focus-visible { outline: 2px solid #5aa0e6; outline-offset: 3px; }

@media (max-width: 600px) {
	.hv-consent { left: 12px; right: 12px; bottom: 12px; width: auto; padding: 18px 18px 20px; }
}
