/* Shared Docs typography. Editor selectors affect content, not Gutenberg controls. */
.btm-docs,
.editor-styles-wrapper {
	--docs-body-color: #18231f;
	--docs-heading-color: #474747;
	--docs-ink: var(--docs-body-color);
	--docs-muted: #67726c;
	--docs-line: #e4e9e5;
	--docs-accent: #0068cc;
	--docs-soft: #f3f7fc;
	--docs-menu-color: #606060;
	--docs-menu-active-background: #f1f2f2;
	--docs-menu-hover-background: #f1f2f2;
	--docs-body-size: 16px;
	--docs-body-leading: 1.7;
	--docs-heading-weight: 700;
	--docs-heading-tracking: -.025em;
	--docs-title-size: 28px;
	--docs-subtitle-size: 18px;
	--docs-subtitle-color: var(--docs-muted);
	--docs-h2-size: 18px;
	--docs-h3-size: 18px;
	--docs-caption-size: 13px;
	color: var(--docs-body-color);
	font-family: var(--theme-font-family, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif);
	font-size: var(--docs-body-size);
	line-height: var(--docs-body-leading);
}
:is(.btm-docs-content, .editor-styles-wrapper) { overflow-wrap: anywhere; }
:is(.btm-docs-content, .editor-styles-wrapper) :is(p, li) {
	font-family: inherit;
	font-size: var(--docs-body-size);
	line-height: var(--docs-body-leading);
}
:is(.btm-docs-content, .editor-styles-wrapper) a { color: var(--docs-accent); }
:is(.btm-docs-content, .editor-styles-wrapper) :is(h1, h2, h3, h4, h5, h6) { color: var(--docs-heading-color); }
:is(.btm-docs-content, .editor-styles-wrapper) :is(h1, h2, h3) {
	font-family: inherit;
	font-weight: var(--docs-heading-weight);
	letter-spacing: var(--docs-heading-tracking);
}
.btm-docs h1,
.btm-docs .btm-docs-article-header h1,
.editor-styles-wrapper h1,
.editor-styles-wrapper .editor-post-title__input {
	color: var(--docs-heading-color);
	font-family: inherit;
	font-size: var(--docs-title-size);
	font-weight: var(--docs-heading-weight);
	letter-spacing: var(--docs-heading-tracking);
	line-height: 1.25;
	margin: 0 0 10px;
}
.btm-docs .btm-docs-intro,
.editor-styles-wrapper .btm-docs-intro {
	font-size: var(--docs-subtitle-size);
	font-weight: 400;
	line-height: 1.6;
	color: var(--docs-subtitle-color);
	margin: 0;
}
:is(.btm-docs-content, .editor-styles-wrapper) h2 { font-size: var(--docs-h2-size); line-height: 1.35; margin: 32px 0 14px; }
:is(.btm-docs-content, .editor-styles-wrapper) h3 { font-size: var(--docs-h3-size); line-height: 1.4; margin: 24px 0 12px; }
:is(.btm-docs-content, .editor-styles-wrapper) p { margin: 0 0 22px; }
:is(.btm-docs-content, .editor-styles-wrapper) figcaption { font-size: var(--docs-caption-size); line-height: 1.6; color: var(--docs-muted); }
:is(.btm-docs-content, .editor-styles-wrapper) blockquote { border-left: 3px solid var(--docs-accent); background: var(--docs-soft); margin: 24px 0; padding: 20px 24px; }
:is(.btm-docs-content, .editor-styles-wrapper) blockquote p:last-child { margin-bottom: 0; }
:is(.btm-docs-content, .editor-styles-wrapper) pre { overflow-x: auto; border-radius: 8px; padding: 18px; background: #f5f6f5; }
:is(.btm-docs-content, .editor-styles-wrapper) table { font-size: 14px; }
