/* Styles for the standalone legal pages (impressum.html, privacy.html).
   These pages reuse main.css for the background and typography, but they are plain
   documents rather than Dimension panels: no JS, no header, always publicly readable. */

body.legal-page #wrapper {
	padding: 4rem 2rem;
	-moz-justify-content: flex-start;
	-webkit-justify-content: flex-start;
	-ms-justify-content: flex-start;
	justify-content: flex-start;
}

body.legal-page #main {
	-moz-flex-grow: 0;
	-webkit-flex-grow: 0;
	-ms-flex-grow: 0;
	flex-grow: 0;
	display: block;
	width: 100%;
	max-width: 100%;
}

body.legal-page #main article {
	width: 52rem;
	max-width: 100%;
	margin: 0 auto;
	padding: 3rem 3rem 2rem 3rem;
	opacity: 1;
	-moz-transform: none;
	-webkit-transform: none;
	-ms-transform: none;
	transform: none;
	text-align: left;
}

	@media screen and (max-width: 736px) {

		body.legal-page #wrapper {
			padding: 2rem 1rem;
		}

		body.legal-page #main article {
			padding: 2rem 1.5rem 1.5rem 1.5rem;
		}

	}

body.legal-page h2.major {
	text-align: left;
}

	body.legal-page h2.major:after {
		margin-left: 0;
	}

/* "Datenschutzerklärung" is long enough that the tracked-out heading style overruns
   a phone-width panel, so ease off the letter-spacing and let it wrap. */
body.legal-page h2,
body.legal-page h3 {
	overflow-wrap: break-word;
	word-wrap: break-word;
}

	@media screen and (max-width: 480px) {

		body.legal-page h2.major {
			font-size: 1.1rem;
			letter-spacing: 0.2rem;
			line-height: 1.6;
		}

		body.legal-page h3 {
			letter-spacing: 0.2rem;
			line-height: 1.6;
		}

	}

body.legal-page h3 {
	margin-top: 2.5rem;
}

body.legal-page h4 {
	margin-top: 1.75rem;
	opacity: 0.85;
}

body.legal-page p,
body.legal-page li {
	text-align: left;
}

body.legal-page address {
	font-style: normal;
	line-height: 1.9;
	margin: 0 0 2rem 0;
}

/* Language switch between the German and English versions of the same document. */
.legal-lang {
	font-size: 0.8rem;
	letter-spacing: 0.15rem;
	text-transform: uppercase;
	margin-bottom: 2rem;
	opacity: 0.75;
}

.legal-back {
	display: inline-block;
	margin-top: 2rem;
	font-size: 0.8rem;
	letter-spacing: 0.15rem;
	text-transform: uppercase;
}

.legal-updated {
	font-size: 0.8rem;
	opacity: 0.7;
	margin-top: 3rem;
}

/* Email obfuscation. The address is written into the HTML with junk segments
   spliced in, which are hidden here. A scraper reading the raw source harvests
   the poisoned string; a human reads the real address, and because display:none
   text is excluded from selections, copy-paste still yields the correct one. */
.mail-decoy {
	display: none;
}

/* Unfilled placeholders. Deliberately loud so nothing ships half-finished. */
.todo {
	color: #ffd479;
	border-bottom: 1px dashed #ffd479;
	font-style: italic;
}
