/**
 * Block editor content styles — mirrors front-end typography in content zones.
 */

.editor-styles-wrapper,
.tpa-entry-content {
  font-family: var(--font-sans);
  color: hsl(var(--foreground));
  line-height: 1.7;
  font-size: 1rem;
}

.tpa-entry-content > * + * {
  margin-top: 1.25rem;
}

.tpa-entry-content h1,
.tpa-entry-content h2,
.tpa-entry-content h3,
.tpa-entry-content h4 {
  font-family: var(--font-serif);
  color: hsl(var(--foreground));
  line-height: 1.25;
  font-weight: 700;
}

.tpa-entry-content h2 {
  font-size: clamp(1.5rem, 3vw, 1.875rem);
  margin-top: 2rem;
}

.tpa-entry-content h3 {
  font-size: 1.25rem;
}

.tpa-entry-content p,
.tpa-entry-content li {
  color: hsl(var(--muted-foreground));
}

.tpa-entry-content a {
  color: hsl(var(--accent));
  text-decoration: underline;
  text-underline-offset: 3px;
}

.tpa-entry-content ul,
.tpa-entry-content ol {
  padding-left: 1.25rem;
}

.tpa-entry-content img {
  border-radius: 1rem;
  max-width: 100%;
  height: auto;
}

.tpa-entry-content .wp-block-image img {
  box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.08);
}

.tpa-entry-content .alignwide {
  max-width: min(100%, 1200px);
  margin-left: auto;
  margin-right: auto;
}

.tpa-entry-content .alignfull {
  max-width: none;
}

.tpa-entry-content table {
  width: 100%;
  border-collapse: collapse;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  overflow: hidden;
}

.tpa-entry-content th,
.tpa-entry-content td {
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid hsl(var(--border));
}

.tpa-entry-content .tpa-callout,
.tpa-entry-content .wp-block-group.tpa-callout {
  background: hsl(var(--section-warm));
  border: 1px solid hsl(var(--border));
  border-radius: 0.5rem;
  padding: 1.5rem;
}

.tpa-kennisbank-body {
  max-width: 56rem;
  margin: 0 auto;
}

.tpa-kennisbank-back {
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border));
}

.tpa-link-accent {
  color: hsl(var(--accent));
  font-weight: 500;
  text-decoration: none;
}

.tpa-link-accent:hover {
  text-decoration: underline;
}

.tpa-page-content {
  padding: 3rem 0 5rem;
}

.tpa-article--seo .tpa-entry-content,
.tpa-article--kennisbank .tpa-entry-content {
  max-width: 56rem;
  margin: 0 auto;
}
