/**
 * Responsive type scale and optional editorial text styles.
 */
h1, h2, h3, h4, h5, h6 {
  color: var(--hc-color-heading);
  font-family: var(--hc-font-heading);
  line-height: var(--hc-leading-heading);
  overflow-wrap: anywhere;
}

h1 { font-size: clamp(var(--hc-text-3xl), 4vw, var(--hc-text-4xl)); }
h2 { font-size: clamp(var(--hc-text-2xl), 3vw, var(--hc-text-3xl)); }
h3 { font-size: var(--hc-text-2xl); }
h4 { font-size: var(--hc-text-xl); }
h5 { font-size: var(--hc-text-lg); }
h6 { font-size: var(--hc-text-base); }

code, kbd, samp, pre {
  font-family: var(--hc-font-code);
}

pre {
  overflow-x: auto;
}

.hc-prose {
  max-inline-size: var(--hc-article-width);
  line-height: var(--hc-leading-article);
  overflow-wrap: anywhere;
}

.hc-prose :where(p, ul, ol, blockquote) {
  margin-block: 0 var(--hc-space-lg);
}
