/* Editor HTML has no theme-owned element classes; keep its typography inside this boundary. */
.entry_content {
  color: var(--ink-muted);
  line-height: var(--leading-relaxed);
  overflow-wrap: anywhere;
}
.entry_content > * + * {
  margin-top: var(--space-6);
}
.entry_content :where(h1, h2, h3, h4) {
  margin-block: var(--space-8) var(--space-4);
  color: var(--ink-main);
  font-family: var(--font-heading);
  line-height: var(--leading-tight);
}
.entry_content :where(h1) {
  font-size: var(--text-4xl);
}
.entry_content :where(h2) {
  font-size: var(--text-3xl);
}
.entry_content :where(h3) {
  font-size: var(--text-2xl);
}
.entry_content :where(h4) {
  font-size: var(--text-xl);
}
.entry_content :where(h1, h2, h3, h4, h5, h6) :where(em, i) {
  color: var(--ink-accent);
}
.entry_content :where(p + p) {
  margin-top: var(--space-6);
}
.entry_content :where(a) {
  color: var(--action-primary);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}
.entry_content :where(ul, ol) {
  padding-left: var(--space-6);
  list-style: disc;
}
.entry_content :where(ol) {
  list-style: decimal;
}
.entry_content :where(blockquote) {
  padding-left: var(--space-4);
  border-left: 4px solid var(--action-primary);
  font-style: italic;
}
.entry_content :where(img) {
  border-radius: var(--radius-lg);
}
.entry_content :where(figure, pre, table) {
  max-width: 100%;
  overflow-x: auto;
}
.entry_content :where(th, td) {
  padding: var(--space-2);
  border: 1px solid var(--border-base);
}
.entry_content :where(input:not([type='submit']), textarea) {
  max-width: 100%;
  padding: var(--space-3);
  border: 1px solid var(--border-strong);
  background: var(--bg-surface);
}
.entry_content-media {
  margin-bottom: var(--space-8);
  overflow: hidden;
  border-radius: var(--radius-lg);
}
.entry_content-image {
  width: 100%;
  height: auto;
}
.entry_content[data-variant='article'] {
  font-size: var(--text-lg);
}
