/*
 * Document pages built from blocks (group with the class "mgm-doc", e.g. the translations of the privacy policy, whose
 * Polish original is designed in Oxygen): the same look as the site's Oxygen text pages, measured on
 * /polityka-prywatnosci/ (19.11.2026): section pulled 100 px under the transparent header, dark gradient, content up to
 * 1600 px with 150 / 20 / 75 px padding, title Poppins 35 / 500 (20 px on phones), text 14 px (13 px up to 1249 px),
 * section headings 20 / 700, lists indented 18 px.
 */
.mgm-doc {
	box-sizing: border-box;
	width: 100%;
	margin: -100px 0 0;
	padding: 150px max(20px, calc((100% - 1600px) / 2 + 20px)) 75px;
	background-image: linear-gradient(#000000, #101113);
	color: #fdfdfd;
	font-family: 'Poppins', sans-serif;
	font-size: 16px;
	line-height: 1.6;
	overflow-wrap: break-word; /* long words / addresses never push the page sideways on small phones */
}
.mgm-doc h1,
.mgm-doc h2 {
	-webkit-hyphens: auto;
	hyphens: auto; /* long compounds in headings (e.g. Dutch "verwerkingsverantwoordelijke") break with a hyphen */
}
.mgm-doc .mgm-doc-title {
	margin: 0 0 15px;
	color: #fdfdfd;
	font-family: inherit;
	font-size: 35px;
	font-weight: 500;
	line-height: 1.125;
}
.mgm-doc .mgm-doc-note {
	margin: 0 0 15px;
	font-style: italic;
	opacity: .8;
}
.mgm-doc h2 {
	margin: 0 0 8px;
	color: #fdfdfd;
	font-family: inherit;
	font-size: 20px;
	font-weight: 700;
	line-height: 1.125;
}
.mgm-doc p {
	margin: 1em 0 14px;
}
.mgm-doc p:has(+ ul) {
	margin-bottom: 8px;
}
.mgm-doc ul {
	margin: 0 0 14px;
	padding-left: 18px;
	line-height: 1.5;
	list-style: disc;
}
.mgm-doc li {
	margin: 0;
}
.mgm-doc a {
	color: inherit;
	text-decoration: underline;
}
@media (max-width: 1600px) {
	.mgm-doc { font-size: 14px; }
}
@media (max-width: 1249px) {
	.mgm-doc { font-size: 13px; }
}
@media (max-width: 967px) {
	.mgm-doc .mgm-doc-title { font-size: 20px; }
}
