/* Source panda-editor-blocks.css native body/editor treatment, without the old
   `text` palette slug. No .has-text-color declaration: inline custom colours win. */
:where(.panda-editor-content, .editor-styles-wrapper) {
  font-family: Manrope, sans-serif;
  font-size: 17px;
  line-height: 1.7;
  color: var(--text-body);
}
.panda-editor-content :where(p, li) { font-size: inherit; line-height: inherit; }
:where(.panda-editor-content) [id] { scroll-margin-top: 112px; }
:where(.panda-editor-content, .editor-styles-wrapper) :is(p, li) a:not(.wp-block-button__link, .btn-primary, .btn-outline, .btn-text) {
  text-decoration-line: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .18em;
  text-decoration-skip-ink: auto;
}
:where(.panda-editor-content, .editor-styles-wrapper) :is(p, li) a:not(.wp-block-button__link, .btn-primary, .btn-outline, .btn-text):is(:hover, :focus-visible) { text-decoration-thickness: 2px; }
/* Preserve WP's native typography/colour controls over legacy component defaults.
   These target ONLY explicit attributes/presets, not all text indiscriminately. */
:is(.panda-editor-content, .editor-styles-wrapper) .has-text-color :where(h1, h2, h3, h4, h5, h6, p, li, figcaption):not(.has-text-color):not([style*="color:"]) { color: inherit; }
:is(.panda-editor-content, .editor-styles-wrapper) [style*="font-size"] :where(p, li):not([style*="font-size"]):not(.has-custom-font-size) { font-size: inherit; }
:is(.panda-editor-content, .editor-styles-wrapper) .has-custom-font-size :where(p, li):not([style*="font-size"]):not(.has-custom-font-size) { font-size: inherit; }
:is(.panda-editor-content, .editor-styles-wrapper) .wp-block-button[style*="font-size"] > .wp-block-button__link,
:is(.panda-editor-content, .editor-styles-wrapper) .wp-block-button.has-custom-font-size > .wp-block-button__link { font-size: inherit !important; }
:is(.panda-editor-content, .editor-styles-wrapper) .wp-block-button[style*="font-weight"] > .wp-block-button__link { font-weight: inherit !important; }
:is(.panda-editor-content, .editor-styles-wrapper) .wp-block-button[style*="line-height"] > .wp-block-button__link { line-height: inherit; }
/* Source hides captions globally and makes native Button groups transparent.
   Restore normal editable block semantics within owned native content only. */
:is(.panda-editor-content, .editor-styles-wrapper) .wp-block-image figcaption { display: block; font-size: 14px; line-height: 1.5; color: var(--text-muted); margin-top: 10px; }
:is(.panda-editor-content, .editor-styles-wrapper) .wp-block-button:not(.btn-primary, .btn-outline, .btn-text, .btn-small) { display: inline-block; }
.editor-styles-wrapper { --wp--style--global--content-size: 1200px; --wp--style--global--wide-size: 1200px; background: var(--bg-primary); }
.editor-styles-wrapper .is-root-container { max-width: 1200px; margin-inline: auto; }
.editor-styles-wrapper *, .editor-styles-wrapper *::before, .editor-styles-wrapper *::after { box-sizing: border-box; }
.editor-styles-wrapper a { color: inherit; }
.editor-styles-wrapper img { display: block; max-width: 100%; height: auto; }
/* Same bare native-body frame for default and content_only Pages. Semantic
   sections provide their own source .container; no universal 780px prose box. */
.panda-editor-content > :where(p, h1, h2, h3, h4, ul, ol, blockquote, table, .wp-block-details, .wp-block-image):not(.alignfull):not(.alignwide),
.editor-styles-wrapper .is-root-container > :where(p, h1, h2, h3, h4, ul, ol, blockquote, table, .wp-block-details, .wp-block-image):not(.alignfull):not(.alignwide) { max-width: 1200px; margin-inline: auto; padding-inline: 80px; }
.article-body.panda-editor-content > :where(p, h2, h3, h4, ul, ol, blockquote, table, .wp-block-details, .wp-block-image) { padding-inline: 0; }
@media (max-width: 968px) {
  .panda-editor-content > :where(p, h1, h2, h3, h4, ul, ol, blockquote, table, .wp-block-details, .wp-block-image):not(.alignfull):not(.alignwide),
  .editor-styles-wrapper .is-root-container > :where(p, h1, h2, h3, h4, ul, ol, blockquote, table, .wp-block-details, .wp-block-image):not(.alignfull):not(.alignwide) { padding-inline: 40px; }
  .article-body.panda-editor-content > :where(p, h2, h3, h4, ul, ol, blockquote, table, .wp-block-details, .wp-block-image) { padding-inline: 0; }
}
@media (max-width: 480px) {
  .panda-editor-content > :where(p, h1, h2, h3, h4, ul, ol, blockquote, table, .wp-block-details, .wp-block-image):not(.alignfull):not(.alignwide),
  .editor-styles-wrapper .is-root-container > :where(p, h1, h2, h3, h4, ul, ol, blockquote, table, .wp-block-details, .wp-block-image):not(.alignfull):not(.alignwide) { padding-inline: 20px; }
  .article-body.panda-editor-content > :where(p, h2, h3, h4, ul, ol, blockquote, table, .wp-block-details, .wp-block-image) { padding-inline: 0; }
}
