/*
 * Kouider — Legal pages (Imprint / Privacy Policy)
 * Scoped to .k-legal (a .k-section group) so the long-form legal text
 * renders with the house typography on the dark glass design.
 * Mirrors the tokens used in 16-post-content.css.
 */

.k-section.k-legal {
  max-width: 900px; /* narrower measure for comfortable reading */
}

.k-legal h2,
.k-legal h3 {
  color: var(--wp--preset--color--k-white);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -.02em;
}
.k-legal h2 {
  font-size: clamp(1.25rem, 2.4vw, 1.55rem);
  margin: 2.1em 0 .55em;
}
.k-legal h3 {
  font-size: clamp(1.1rem, 2vw, 1.3rem);
  margin: 1.7em 0 .5em;
}
.k-legal > h2:first-child,
.k-legal h3:first-child {
  margin-top: 0;
}

.k-legal p {
  line-height: 1.75;
  margin: .8em 0 1.1em;
}
.k-legal strong {
  color: var(--wp--preset--color--k-white);
  font-weight: 600;
}

.k-legal a {
  color: var(--wp--preset--color--k-red-bright);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}
.k-legal a:hover { color: #fff; }

.k-legal ul,
.k-legal ol {
  margin: .8em 0 1.2em;
  padding-left: 1.5em;
}
.k-legal li {
  margin-bottom: .45em;
  line-height: 1.65;
}
.k-legal ul li::marker { color: var(--wp--preset--color--k-red); }

.k-legal em {
  color: var(--wp--preset--color--k-muted);
  font-size: .92rem;
}

.k-legal code {
  font-family: ui-monospace, 'Cascadia Code', 'JetBrains Mono', Menlo, Consolas, monospace;
  font-size: .88em;
  color: #ff7a86;
  background: rgba(255,38,56,.08);
  border: 1px solid rgba(255,38,56,.18);
  border-radius: 6px;
  padding: 1px 6px;
}
