/* Reusable core Group style; native palette, typography and inline choices win. */
:where(.wp-block-group.is-style-huamao-editorial) {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  margin-block: 32px;
  margin-inline: 0;
  padding: 36px 40px;
  border-top: 1px solid var(--wp--preset--color--muted-gold, #b5a269);
  color: var(--wp--preset--color--muted, #736d66);
  font-size: var(--wp--preset--font-size--body, 16px);
  line-height: 1.85;
}
:where(.wp-block-group.is-style-huamao-editorial):not(.has-background) {
  background: var(--wp--preset--color--ivory, #f8f5ed);
}
.is-style-huamao-editorial > .huamao-editorial-inner {
  max-width: 72ch;
  margin-inline: auto;
  margin-block: 0;
}
.is-style-huamao-editorial :where(p) {
  max-width: 72ch;
  margin-block: 0 18px;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
  overflow-wrap: anywhere;
}
.is-style-huamao-editorial :where(p):last-child { margin-bottom: 0; }
:where(.is-style-huamao-editorial):not(.has-text-color) :where(h2, h3, h4):not(.has-text-color) {
  color: var(--wp--preset--color--deep-red, #8e2521);
}
.is-style-huamao-editorial :where(h2, h3, h4) {
  margin-block: 0 24px;
  font-family: var(--wp--preset--font-family--serif, Georgia, "Songti SC", "STSong", serif);
  font-size: clamp(26px, 2.6vw, 34px);
  font-weight: 400;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
/* Existing imported content-section margins must not turn a card into a page shell. */
.huamao-content-section > .is-style-huamao-editorial:first-child { margin-top: 0; }
@media (max-width: 680px) {
  :where(.wp-block-group.is-style-huamao-editorial) { padding: 28px 24px; }
}
