/* legal pages: policy, consent */
main.entry:has(.legal_doc) h1{
	font-size: clamp(26px, 3.4vw, 44px);
	line-height: 130%;
	max-width: 1100px;
}
.legal_doc{
	max-width: 1100px;
	font-size: 18px;
	line-height: 150%;
}
.legal_doc h2{
	font-size: 24px;
	font-weight: 800;
	line-height: 130%;
	margin: 45px 0 20px;
	scroll-margin-top: 120px;
}
.legal_doc p,
.legal_doc li{
	line-height: 150%;
}
.entry .legal_doc ul{
	list-style-position: outside;
	padding-left: 22px;
}
.entry .legal_doc li{
	margin-bottom: 10px;
}
.legal_doc code{
	font-family: monospace;
	font-size: 16px;
	background: #f3f3f3;
	padding: 1px 5px;
	border-radius: 4px;
}

/* form: link to policy under the consent checkbox */
.ok_policy{
	margin-top: 12px;
	font-size: 14px;
	font-weight: 300;
	line-height: 140%;
}
.ok_policy a{
	color: inherit;
	text-decoration: underline;
}

/* footer: operator requisites and legal links */
body footer{
	padding-bottom: 24px;
}
.footer_legal{
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,0.15);
	color: #999BA2;
	font-size: 14px;
	line-height: 160%;
}
.footer_legal a,
.footer_legal .cookie_settings_link{
	color: #999BA2;
	text-decoration: underline;
	margin-right: 20px;
	display: inline-block;
}
.footer_legal a:hover,
.footer_legal .cookie_settings_link:hover{
	color: #fff;
}
.footer_legal .cookie_settings_link{
	background: none;
	border: 0;
	padding: 0;
	font: inherit;
	cursor: pointer;
}

/* cookie banner */
.cookie_banner{
	position: fixed;
	left: 20px;
	right: 20px;
	bottom: 20px;
	z-index: 100000;
	max-width: 980px;
	margin: 0 auto;
	display: flex;
	align-items: center;
	gap: 25px;
	padding: 22px 26px;
	background: #fff;
	color: #373737;
	border-radius: 16px;
	box-shadow: 0 10px 40px rgba(0,0,0,0.18);
	font-family: 'Inter', sans-serif;
	font-size: 14px;
	line-height: 150%;
}
.cookie_banner[hidden]{
	display: none;
}
.cookie_banner a{
	color: #373737;
	text-decoration: underline;
}
.cookie_banner__btns{
	display: flex;
	gap: 10px;
	flex-shrink: 0;
}
.cookie_banner__btns button{
	min-width: 130px;
	padding: 12px 22px;
	border-radius: 90px;
	border: 1px solid #FFC700;
	font-family: 'Roboto', sans-serif;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	transition: 0.3s;
}
.cookie_banner__btns [data-consent="granted"]{
	background: #FFC700;
	color: #fff;
}
.cookie_banner__btns [data-consent="denied"]{
	background: #fff;
	color: #373737;
}
.cookie_banner__btns button:hover{
	border-color: #373737;
}
@media (max-width: 767px){
	.cookie_banner{
		flex-direction: column;
		align-items: stretch;
		left: 10px;
		right: 10px;
		bottom: 10px;
		padding: 18px;
		gap: 15px;
		font-size: 13px;
	}
	.cookie_banner__btns button{
		flex: 1;
		min-width: 0;
	}
	.legal_doc{
		font-size: 16px;
	}
	.legal_doc h2{
		font-size: 20px;
	}
}
