/* Shared styles for the legal pages (imprint, privacy). Blackboard CI, all local. */
@font-face { font-family: "Eloquia"; src: url("fonts/EloquiaDisplay-Regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Eloquia"; src: url("fonts/EloquiaDisplay-SemiBold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Eloquia"; src: url("fonts/EloquiaDisplay-ExtraBold.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --navy: #1F3380;
  --blue: #3B6BF5;
  --mid: #2E6FA8;
  --white: #FFFFFF;
  --black: #000000;
  --light: #6C9FCB;
  --line: rgba(255, 255, 255, 0.12);
  --soft: rgba(255, 255, 255, 0.78);
  --dark-soft: rgba(255, 255, 255, 0.72);
  --todo: #FFE98A;

  --font: "Eloquia", system-ui, sans-serif;
  --gutter: max(16px, 4vw);
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--black);
  color: var(--soft);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
}

a { color: var(--light); }
strong { color: var(--white); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.on-dark :focus-visible { outline-color: var(--white); }

.on-dark { background: var(--black); color: var(--white); }
.on-dark a { color: var(--white); }

.bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 24px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 24px var(--gutter);
}

.bar img { display: block; height: 72px; width: auto; }

.bar nav { display: flex; flex-wrap: wrap; gap: 8px 28px; font-size: 14px; }
.bar nav a { color: var(--soft); text-decoration: none; }
.bar nav a:hover, .bar nav a[aria-current="page"] { color: var(--white); }

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px var(--gutter) 88px;
}

.lang {
  display: flex;
  gap: 8px;
  margin: 0 0 32px;
}

.lang a {
  padding: 6px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--white);
  font-weight: 400;
  font-size: 14px;
  text-decoration: none;
}

h1, h2, h3 { color: var(--white); text-wrap: balance; }

h1 {
  margin: 0 0 8px;
  font-weight: 800;
  font-size: clamp(30px, 5vw, 44px);
  line-height: 1.1;
}

.stamp { margin: 0 0 40px; color: var(--light); font-size: 15px; }

h2 {
  margin: 48px 0 12px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-weight: 800;
  font-size: 23px;
  line-height: 1.25;
}

h3 { margin: 28px 0 8px; font-weight: 600; font-size: 18px; }

p, ul, address { margin: 0 0 14px; }
address { font-style: normal; }
ul { padding-left: 1.2em; }
li { margin-bottom: 6px; }

section.version + section.version {
  margin-top: 80px;
  padding-top: 40px;
  border-top: 4px solid var(--blue);
}

.box {
  margin: 20px 0;
  padding: 18px 20px;
  border-left: 4px solid var(--blue);
  border-radius: 0 12px 12px 0;
  background: rgba(31, 51, 128, 0.35);
}

.box p:last-child { margin-bottom: 0; }

/* Placeholders that must be filled in before the page goes live. */
mark.todo {
  padding: 1px 4px;
  border-radius: 3px;
  background: var(--todo);
  color: var(--black);
}

.optional {
  margin: 20px 0;
  padding: 16px 20px;
  border: 2px dashed #C9A400;
  border-radius: 4px;
}

.optional > .note {
  margin: 0 0 10px;
  font-size: 14px;
  font-weight: 600;
  color: #E5C04A;
}

footer .bar { font-size: 15px; color: var(--dark-soft); border-top: 1px solid var(--line); }
footer .bar img { height: 56px; }
