/* legal.css - The imprint and the privacy page (#23): the legal text in a readable column, loaded by src/legal.html
   only. Every rule is scoped to the legal article, so the header, the footer and the contact block are the site's.
   The running text keeps the home page's size and line height (kja.css: 2.2rem and 1.5, 2rem on phones); sizes are in
   rem, so the column, the headings and the spacing grow with the visitor's text size. Colours are the site's: the
   text near-black, the green (#5f9727, 3.5:1 on white) only where a 3:1 indicator suffices, link underlines and list
   markers, never as text. */

/* About 70 characters of the running text per line at 2.2rem; on narrow screens the viewport less the gutter. The
   gutter is in px, as the header logo's 15px, so a larger text size widens the text, not the margins. Long words (12
   letters or more) are hyphenated (the text is German on every page: lang="de" on the article); a long address wraps
   anywhere rather than widening the page. The live pages' text paragraph was full width (its rules were the inline
   block this file replaces). */
.page-node-type-page .node--type-page{max-width:68rem;margin:0 auto 6rem;padding:0 15px;overflow-wrap:anywhere;hyphens:auto;hyphenate-limit-chars:12 5 5}
.page-node-type-page .node--type-page .paragraph--type--text{max-width:none;margin:0;padding:0}

/* The title (proposed in #23): the home page's h1, Futura Light at 4.4rem; 3.2rem on phones. */
.page-node-type-page .node--type-page .legal-title{font-family:Futura PT W01 Light;font-weight:400;font-size:4.4rem;line-height:1.25;margin:4rem 0 2.4rem}
/* The text sets its own breaks: an empty paragraph (&nbsp;) before almost every heading and between many paragraphs,
   one line high (22 of the privacy page's 24 later headings, all 5 of the imprint's; measured on the built pages). The
   margins here add to that line, so they stay small; the heading sizes, each about 1.2 times the next, carry the
   hierarchy. */
.page-node-type-page .node--type-page h2{font-family:FuturaPTW01-MediumObliq;font-weight:700;font-size:3.2rem;line-height:1.3;margin:2.4rem 0 1.2rem}
.page-node-type-page .node--type-page h3{font-family:Futura PT W01 Medium;font-weight:700;font-size:2.6rem;line-height:1.4;margin:1.2rem 0 .8rem}
.page-node-type-page .node--type-page .text-formatted > :first-child{margin-top:0}

.page-node-type-page .node--type-page p{margin:0 0 1.6rem}
.page-node-type-page .node--type-page ul,.page-node-type-page .node--type-page ol{margin:0 0 1.6rem;padding-left:2.4rem}
.page-node-type-page .node--type-page li{margin-bottom:.6rem}
.page-node-type-page .node--type-page li::marker{color:#5f9727}

/* Links in the text: the text's colour, underlined in the site's green; the underline thickens on hover, and the focus
   ring is the same green. */
.page-node-type-page .node--type-page a{color:inherit;text-decoration-line:underline;text-decoration-color:#5f9727;text-decoration-thickness:.1em;text-underline-offset:.2em}
.page-node-type-page .node--type-page a:hover{text-decoration-thickness:.18em}
.page-node-type-page .node--type-page a:focus-visible{outline:.2rem solid #5f9727;outline-offset:.2rem}

@media (max-width:767px){
.page-node-type-page .node--type-page .legal-title{font-size:3.2rem;margin:2.4rem 0 2rem}
.page-node-type-page .node--type-page h2{font-size:2.7rem;margin:2rem 0 1rem}
.page-node-type-page .node--type-page h3{font-size:2.3rem;margin:1rem 0 .6rem}
}
