@charset "UTF-8";

/* src/css/prose.css */
@layer han-prose {
  @property --han-prose-fonts { syntax: "on | off"; inherits: true; initial-value: on; }
  :where(:root) {
    --han-prose-consecutive-headings-a-block-end: 0;
    --han-prose-consecutive-headings-b-block-start: 0;
  }
  :where(article) {
    --han-prose: on;
  }
  @container style(--han-prose: on) {
    :where(h1:has(+ h2, + h3, + h4, + h5, + h6, + blockquote, + p, + ol, + ul, + section)),
    :where(h2:has(+ h2, + h3, + h4, + h5, + h6, + blockquote, + p, + ol, + ul, + section)),
    :where(h3:has(+ h3, + h4, + h5, + h6, + blockquote, + p, + ol, + ul, + section)),
    :where(h4:has(+ h4, + h5, + h6, + blockquote, + p, + ol, + ul, + section)),
    :where(h5:has(+ h5, + h6, + blockquote, + p, + ol, + ul, + section)),
    :where(h6:has(+ h6, + blockquote, + p, + ol, + ul, + section)) {
      margin-block-end: var(--han-prose-consecutive-headings-a-block-end);
    }
    :where(h1, h2, h3, h4, h5, h6):where(:first-child),
    :where(h1) + :where(h2, h3, h4, h5, h6, blockquote, p, ol, ul),
    :where(h2) + :where(h2, h3, h4, h5, h6, blockquote, p, ol, ul),
    :where(h3) + :where(h3, h4, h5, h6, blockquote, p, ol, ul),
    :where(h4) + :where(h4, h5, h6, blockquote, p, ol, ul),
    :where(h5) + :where(h5, h6, blockquote, p, ol, ul),
    :where(h6) + :where(h6, blockquote, p, ol, ul) {
      margin-block-start: var(--han-prose-consecutive-headings-b-block-start);
    }
    @container style(--han-prose-fonts: on) {
      :where(blockquote):where(:lang(zh), :lang(ja), :lang(ko)) {
        & {
          --_han-em-role: accent;
          font-family: var(--han-font-accent);
        }
        :where(dfn, i, var) {
          --_han-em-role: default;
          font-family: var(--han-font-default);
        }
      }
    }
  }
}

/* src/han.prose.css */
/*# sourceMappingURL=/han/han.prose.css.map */
