/* Language disclaimer ribbon */
:root {
	--custom-ribbon-position: 128px;
	--custom-nav-position: 104px;
}

@media only screen and (min-width: 506px) and (max-width: 734px) {
	:root {
		--custom-nav-position: 84px;
	}
}

@media only screen and (min-width: 735px) {
	:root {
		--custom-nav-position: 50px;
	}
}

@media only screen and (min-width: 735px) and (max-width: 833px) {
	:root {
		--custom-ribbon-position: 112px;
	}
}

@media only screen and (min-width: 834px) and (max-width: 1068px) {
	:root {
		--custom-ribbon-position: 108px;
	}
}

@media only screen and (min-width: 1069px) {
	:root {
		--custom-ribbon-position: 88px;
	}
}

.custom-language-disclaimer-ribbon.ribbon {
	top: calc(
		var(--custom-ribbon-position) + var(--r-localeswitcher-height, 0px)
	);
}

.custom-language-disclaimer-ribbon.ribbon + .section {
	padding-top: var(--custom-nav-position);
}
