/* ═══════════════════════════════════════════════════════
   MIG Mediencenter – Legal Pages Stylesheet
   ═══════════════════════════════════════════════════════ */

.legal-main {
  flex: 1;
  padding: 3rem 2.5rem 4rem;
}

.legal-container {
  max-width: 780px;
  margin: 0 auto;
}

.legal-title {
  font-family: var(--font-display);
  font-weight: 400;
  font-size: clamp(2rem, 3vw, 2.8rem);
  color: var(--blue);
  letter-spacing: -0.02em;
  margin-bottom: 2.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(35, 50, 93, 0.1);
}

.legal-section {
  margin-bottom: 2rem;
}

.legal-section h2 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 0.75rem;
  margin-top: 0.25rem;
}

.legal-section p {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 0.75rem;
}

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

.legal-lead {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--blue);
  line-height: 1.6;
}

.legal-section a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 2px;
  word-break: break-word;
}

.legal-section a:hover {
  opacity: 0.65;
}

.legal-section strong {
  font-weight: 600;
  color: var(--blue);
}

.legal-section ul,
.legal-section ol {
  margin: 0.5rem 0 0.75rem 1.4rem;
}

.legal-section li {
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--text);
  margin-bottom: 0.25rem;
}

.legal-section table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  margin: 0.75rem 0;
}

.legal-section table td {
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(35, 50, 93, 0.12);
  vertical-align: top;
  line-height: 1.5;
}

.legal-section table tr:first-child td {
  font-weight: 600;
  background: rgba(35, 50, 93, 0.04);
}

.legal-subsection-title {
  font-weight: 700;
  color: var(--blue);
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  display: block;
}

@media (max-width: 600px) {
  .legal-main {
    padding: 2rem 1.25rem 3rem;
  }

  .legal-section table {
    font-size: 0.8rem;
  }

  .legal-section table td {
    padding: 0.4rem 0.5rem;
  }
}
