/* gymiprep.ai · the legal pages: the privacy policy (/privacy), the terms (/terms), the legal notice (/imprint) and the
 * parents' page on privacy (/lernraum/eltern-datenschutz).
 *
 * Load it after /gp/theme.css and /gp/site.css (header, footer, the hero, the eyebrow, the placeholder tag). Every rule
 * sits under html[data-brand="gymiprep"], as in the theme. One column of text, German and English side by side
 * (data-gp-only="de|en"), numbered sections that a reader can cite, and a print style for the copy on paper (no header,
 * footer or page navigation, no paper grid). Colour roles as in the theme: lime is a fill only, violet is the tutor's
 * (the quoted texts of the tutor).
 */

/* ---- Head of the page ------------------------------------------------------------------------------------------ */
html[data-brand="gymiprep"] .gd-hero-in { padding-top: 28px; padding-bottom: 34px; }
@media (min-width: 760px) { html[data-brand="gymiprep"] .gd-hero-in { padding-top: 44px; padding-bottom: 46px; } }
html[data-brand="gymiprep"] .gd-h1 { margin: 16px 0 0; font-family: var(--gp-font-display); font-weight: 900; font-stretch: 112%;
  font-size: clamp(2rem, 2.6vw + 1.2rem, 3.3rem); line-height: 1.06; letter-spacing: -.025em; text-wrap: balance; }
html[data-brand="gymiprep"] .gd-stand { margin: 14px 0 0; font-family: var(--gp-font-mono); font-size: 13px; font-weight: 600;
  line-height: 1.4; letter-spacing: .02em; color: var(--gp-ink-2); }
html[data-brand="gymiprep"] .gd-hero .gp-lead { margin-top: 14px; }
/* the four legal pages as one row of pills; the page itself in ink */
html[data-brand="gymiprep"] .gd-nav { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 0; }
html[data-brand="gymiprep"] .gd-nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px;
  border: var(--gp-bn) solid var(--gp-ink); border-radius: var(--gp-pill); background: var(--gp-card); color: var(--gp-ink);
  font-weight: 700; font-size: var(--gp-fs-sm); line-height: 1.2; text-decoration: none; }
html[data-brand="gymiprep"] .gd-nav a:hover { background: var(--gp-lime-tint); }
html[data-brand="gymiprep"] .gd-nav a[aria-current="page"] { background: var(--gp-ink); color: var(--gp-paper); }

/* ---- The text -------------------------------------------------------------------------------------------------- */
html[data-brand="gymiprep"] .gd-doc { padding-top: 36px; padding-bottom: 72px; }
html[data-brand="gymiprep"] .gd-text { max-width: 46rem; }
html[data-brand="gymiprep"] .gd-text > :first-child { margin-top: 0; }
html[data-brand="gymiprep"] .gd-text h2 { margin: 44px 0 0; padding-top: 16px; border-top: var(--gp-bw) solid var(--gp-ink);
  font-family: var(--gp-font-display); font-weight: 900; font-stretch: 112%; font-size: clamp(1.35rem, .9vw + 1.05rem, 1.75rem);
  line-height: 1.15; letter-spacing: -.015em; text-wrap: balance; }
html[data-brand="gymiprep"] .gd-text h3 { margin: 26px 0 0; font-family: var(--gp-font-ui); font-weight: 800; font-size: 1.14rem; line-height: 1.3; }
html[data-brand="gymiprep"] .gd-text p, html[data-brand="gymiprep"] .gd-text li, html[data-brand="gymiprep"] .gd-text dd { font-size: 16.5px; line-height: 1.6; }
html[data-brand="gymiprep"] .gd-text p { margin: 10px 0 0; }
html[data-brand="gymiprep"] .gd-text ul, html[data-brand="gymiprep"] .gd-text ol { margin: 10px 0 0; padding-left: 1.35em; }
html[data-brand="gymiprep"] .gd-text li + li { margin-top: 6px; }
html[data-brand="gymiprep"] .gd-text a { color: var(--gp-ink); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px;
  text-underline-offset: 3px; overflow-wrap: anywhere; }
html[data-brand="gymiprep"] .gd-text a:hover { background: var(--gp-lime-tint); }
html[data-brand="gymiprep"] .gd-text b { font-weight: 800; }
/* the short version at the top: one card */
html[data-brand="gymiprep"] .gd-sum { padding: 18px 20px 20px; border: var(--gp-bw) solid var(--gp-ink); border-radius: var(--gp-r);
  background: var(--gp-card); box-shadow: var(--gp-sh); }
@media (min-width: 760px) { html[data-brand="gymiprep"] .gd-sum { padding: 22px 26px 24px; } }
html[data-brand="gymiprep"] .gd-label { margin: 0; font-family: var(--gp-font-mono); font-size: 12.5px; font-weight: 600; line-height: 1.4;
  letter-spacing: .08em; text-transform: uppercase; }
html[data-brand="gymiprep"] .gd-sum .gd-label + p { margin-top: 8px; }
/* the contents of a long page */
html[data-brand="gymiprep"] .gd-toc { margin: 28px 0 0; }
html[data-brand="gymiprep"] .gd-toc ol { display: grid; gap: 2px; margin: 8px 0 0; padding: 0; list-style: none; }
html[data-brand="gymiprep"] .gd-toc li + li { margin-top: 0; }
html[data-brand="gymiprep"] .gd-toc a { display: inline-flex; min-height: 32px; align-items: center; font-weight: 700; }
/* a text the tutor shows the child, quoted: violet is the tutor's colour */
html[data-brand="gymiprep"] .gd-quote { margin: 12px 0 0; padding: 12px 16px; border: var(--gp-bn) solid var(--gp-ink);
  border-left: 8px solid var(--gp-violet); border-radius: var(--gp-r-sm); background: var(--gp-violet-tint); }
html[data-brand="gymiprep"] .gd-quote p { margin: 0; }
/* how long: one row per kind of data, two columns from 640 px */
html[data-brand="gymiprep"] .gd-keep { margin: 14px 0 0; border-top: var(--gp-bn) solid var(--gp-ink); }
html[data-brand="gymiprep"] .gd-keep > div { display: grid; gap: 2px 20px; padding: 12px 0; border-bottom: var(--gp-bn) dashed var(--gp-ink); }
@media (min-width: 640px) { html[data-brand="gymiprep"] .gd-keep > div { grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); } }
html[data-brand="gymiprep"] .gd-keep dt { font-weight: 800; font-size: 16.5px; line-height: 1.5; }
html[data-brand="gymiprep"] .gd-keep dd { margin: 0; }
/* where to find help, and an open point for the legal review (the theme's placeholder tag) */
html[data-brand="gymiprep"] .gd-text .gp-fb { margin-top: 14px; }
html[data-brand="gymiprep"] .gd-text .gp-fb p { margin: 0; }
html[data-brand="gymiprep"] .gd-text .gp-fb p + p, html[data-brand="gymiprep"] .gd-text .gp-fb ul { margin-top: 6px; }
html[data-brand="gymiprep"] .gd-text .gp-ph { margin-right: 4px; vertical-align: 1px; }
/* the operator of the site, on the legal notice */
html[data-brand="gymiprep"] .gd-op { margin: 12px 0 0; padding: 16px 18px; border: var(--gp-bw) solid var(--gp-ink); border-radius: var(--gp-r);
  background: var(--gp-card); box-shadow: var(--gp-sh-sm); font-size: var(--gp-fs-lg); line-height: 1.5; }
html[data-brand="gymiprep"] .gd-text .gd-op { font-size: var(--gp-fs-lg); }
html[data-brand="gymiprep"] .gd-more { margin-top: 36px; padding-top: 16px; border-top: var(--gp-bn) dashed var(--gp-ink); }

/* ---- Print: the text alone --------------------------------------------------------------------------------------- */
@media print {
  html[data-brand="gymiprep"], html[data-brand="gymiprep"] body { background: #FFFFFF !important; }
  html[data-brand="gymiprep"] .site-head.gp-head, html[data-brand="gymiprep"] .site-foot.gp-foot, html[data-brand="gymiprep"] .gp-skip,
  html[data-brand="gymiprep"] .gd-nav, html[data-brand="gymiprep"] .gd-more { display: none !important; }
  html[data-brand="gymiprep"] .gp-grid-paper { background: none !important; }
  html[data-brand="gymiprep"] .gs-hero { border-bottom-width: var(--gp-bn); }
  html[data-brand="gymiprep"] .gd-hero-in { padding: 0 0 14px; }
  html[data-brand="gymiprep"] .gd-doc { padding-top: 14px; padding-bottom: 0; }
  html[data-brand="gymiprep"] .gd-text { max-width: none; }
  html[data-brand="gymiprep"] .gd-sum, html[data-brand="gymiprep"] .gd-op { box-shadow: none; }
  html[data-brand="gymiprep"] .gd-toc ol { display: block; columns: 2; column-gap: 32px; }
  html[data-brand="gymiprep"] .gd-toc li { break-inside: avoid; }
  html[data-brand="gymiprep"] .gd-text h2, html[data-brand="gymiprep"] .gd-text h3, html[data-brand="gymiprep"] .gd-keep dt { break-after: avoid; }
  html[data-brand="gymiprep"] .gd-keep > div, html[data-brand="gymiprep"] .gd-quote, html[data-brand="gymiprep"] .gp-fb { break-inside: avoid; }
}
