/**
 * Page content isolation: undo theme-wide p / h* rules inside the block editor
 * output so spacing and alignment match wp-admin (Privacy Policy, Terms, etc.).
 *
 * Loaded after products-archive.css and style.css — only on singular pages.
 */

.page .body-data .entry-content.wacom-page-prose {
  /* Let block layout breathe; avoid openTypelight + zero margins from globals */
  font-family: var(--wp--preset--font-family--system-font, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, sans-serif);
  color: #161f28;
}

.page .body-data .entry-content.wacom-page-prose > *:first-child {
  margin-top: 0 !important;
}

/* Paragraphs: products-archive.css sets p { margin-bottom: 0 } globally */
.page .body-data .entry-content.wacom-page-prose p,
.page .body-data .entry-content.wacom-page-prose .wp-block-paragraph {
  margin-top: 0;
  margin-bottom: 1em;
  font-family: inherit;
}

/* Headings: style.css centers/colors h2–h4 globally */
.page .body-data .entry-content.wacom-page-prose h1,
.page .body-data .entry-content.wacom-page-prose h2,
.page .body-data .entry-content.wacom-page-prose h3,
.page .body-data .entry-content.wacom-page-prose h4,
.page .body-data .entry-content.wacom-page-prose h5,
.page .body-data .entry-content.wacom-page-prose h6,
.page .body-data .entry-content.wacom-page-prose .wp-block-heading {
  color: #161f28;
  text-align: left;
  font-style: normal;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 1.25em;
  margin-bottom: 0.5em;
}

.page .body-data .entry-content.wacom-page-prose h1,
.page .body-data .entry-content.wacom-page-prose .wp-block-heading.level-1 {
  font-size: 2em;
}

.page .body-data .entry-content.wacom-page-prose h2,
.page .body-data .entry-content.wacom-page-prose .wp-block-heading.level-2 {
  font-size: 1.5em;
  line-height: 1.3;
}

.page .body-data .entry-content.wacom-page-prose h3,
.page .body-data .entry-content.wacom-page-prose .wp-block-heading.level-3 {
  font-size: 1.25em;
}

.page .body-data .entry-content.wacom-page-prose h4 {
  font-size: 1.1em;
}

/* Lists */
.page .body-data .entry-content.wacom-page-prose ul,
.page .body-data .entry-content.wacom-page-prose ol {
  margin: 0 0 1em 0;
  padding-left: 1.5em;
}

.page .body-data .entry-content.wacom-page-prose li {
  margin-bottom: 0.35em;
}

.page .body-data .entry-content.wacom-page-prose li > ul,
.page .body-data .entry-content.wacom-page-prose li > ol {
  margin-bottom: 0;
}

/* Block editor grouped columns / separators */
.page .body-data .entry-content.wacom-page-prose .wp-block-separator {
  margin: 1.5em auto;
}

.page .body-data .entry-content.wacom-page-prose blockquote {
  margin: 1em 0;
  padding-left: 1em;
  border-left: 4px solid #e5e7eb;
}
