.prose {
	font-size: clamp(calc(var(--hd-body) + .075rem), calc(var(--hd-body) + .35vw), calc(var(--hd-body) + .23rem));
	line-height: 1.72;
	overflow-wrap: break-word;
}

.prose > :not(.alignleft, .alignright, .alignwide, .alignfull) { max-inline-size: var(--hd-prose); margin-inline: auto; }
.prose > .alignwide { max-inline-size: var(--hd-wide); margin-inline: auto; }
.prose > .alignfull { max-inline-size: none; }
.prose .aligncenter { margin-inline: auto; }
.prose > .alignleft { float: left; margin-inline: max(0px, calc((100% - var(--hd-prose)) / 2)) 1rem; }
.prose > .alignright { float: right; margin-inline: 1rem max(0px, calc((100% - var(--hd-prose)) / 2)); }
.prose::after { display: block; clear: both; content: ""; }
:is(.prose, .editor-styles-wrapper) :where(p, ul, ol, dl, blockquote, pre, figure, .wp-block-buttons, .wp-block-group, .wp-block-embed) { margin-block: 0 1.15em; }
:is(.prose, .editor-styles-wrapper) :where(h2, h3, h4, h5, h6) { margin-block: 1.9em .5em; color: var(--hd-ink); font-weight: 765; line-height: 1.15; letter-spacing: -.036em; }
:is(.prose, .editor-styles-wrapper) h2 { font-size: clamp(1.65rem, 1.25rem + 1.2vw, 2.3rem); }
:is(.prose, .editor-styles-wrapper) h3 { font-size: clamp(1.34rem, 1.15rem + .52vw, 1.68rem); }
:is(.prose, .editor-styles-wrapper) h4 { font-size: 1.22em; }
:is(.prose, .editor-styles-wrapper) h5 { font-size: 1.1em; }
:is(.prose, .editor-styles-wrapper) h6 { font-size: 1em; }
.prose [id] { scroll-margin-block-start: 4.5rem; }
:is(.prose, .editor-styles-wrapper) :where(ul, ol) { padding-inline-start: 1.55em; }
:is(.prose, .editor-styles-wrapper) li + li { margin-block-start: .34em; }
:is(.prose, .editor-styles-wrapper) li > :where(ol, ul) { margin-block: .35em; }
:is(.prose, .editor-styles-wrapper) li::marker { color: var(--hd-accent); }
:is(.prose, .editor-styles-wrapper) :where(blockquote, .wp-block-quote, .wp-block-pullquote) { padding: .75em 1.25em; border: 0; border-inline-start: 3px solid var(--hd-accent); background: var(--hd-tint); }
:is(.prose, .editor-styles-wrapper) :where(blockquote, .wp-block-pullquote) :last-child { margin-block-end: 0; }
:is(.prose, .editor-styles-wrapper) :where(cite, figcaption, .wp-element-caption, .wp-caption-text, .gallery-caption) { color: var(--hd-muted); font: normal var(--hd-small)/1.5 var(--hd-sans); }
.prose :where(.wp-caption, .gallery) { max-inline-size: 100%; }
.prose .wp-caption-text { margin-block-start: .45rem; }

:is(.prose, .editor-styles-wrapper) .is-style-hardium-product-demo a:has(> img) { display: block; overflow: clip; border-radius: var(--hd-radius); }
:is(.prose, .editor-styles-wrapper) .is-style-hardium-product-demo a > img { display: block; }

@media (prefers-reduced-motion: no-preference) {
	.prose .is-style-hardium-product-demo a > img { transition: transform var(--hd-motion-ui) var(--hd-ease-out); }
	.prose .is-style-hardium-product-demo a:focus-visible > img { transform: scale(1.035); }
	.prose .wp-block-button .wp-block-button__link { transition: color var(--hd-motion-fast), background-color var(--hd-motion-fast), transform var(--hd-motion-fast); }
	.prose .wp-block-button .wp-block-button__link:active { transform: scale(.98); }
}

@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) {
	.prose .is-style-hardium-product-demo a:hover > img { transform: scale(1.035); }
}
:is(.prose, .editor-styles-wrapper) :where(.wp-block-image img, .wp-block-gallery img) { border-radius: var(--hd-radius); }
:is(.prose, .editor-styles-wrapper) .wp-block-table { overflow-x: auto; }
:is(.prose, .editor-styles-wrapper) table { inline-size: 100%; border-collapse: collapse; font-size: .92em; }
:is(.prose, .editor-styles-wrapper) :where(th, td) { padding: .55em .67em; text-align: start; border: 1px solid var(--hd-line); }
:is(.prose, .editor-styles-wrapper) th { background: var(--hd-tint); font-weight: 720; }
:is(.prose, .editor-styles-wrapper) :where(pre, code, kbd, samp) { font-family: var(--hd-mono); }
:is(.prose, .editor-styles-wrapper) code { padding: .13em .27em; background: var(--hd-tint); color: var(--hd-ink); font-size: .88em; }
:is(.prose, .editor-styles-wrapper) pre { max-inline-size: 100%; overflow-x: auto; padding: 1em; background: #252b27; color: #f8f6f0; border-radius: var(--hd-radius); font-size: .84em; }
:is(.prose, .editor-styles-wrapper) pre code { padding: 0; background: transparent; color: inherit; font-size: inherit; }
:is(.prose, .editor-styles-wrapper) iframe, .prose video { max-inline-size: 100%; }
:is(.prose, .editor-styles-wrapper) .wp-block-separator { border: 0; border-block-end: 1px solid var(--hd-line); }
:is(.prose, .editor-styles-wrapper) .wp-block-button .wp-block-button__link { border-radius: var(--hd-radius); background: var(--hd-accent); color: var(--hd-white); font-weight: 670; }
:is(.prose, .editor-styles-wrapper) .wp-block-button .wp-block-button__link:hover { text-decoration: underline; }
:is(.prose, .editor-styles-wrapper) .wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: var(--hd-accent); }

:is(.prose, .editor-styles-wrapper) :where(.is-style-hardium-note, .is-style-hardium-tip, .is-style-hardium-warning) {
	padding: clamp(1rem, 3vw, 1.65rem);
	border-inline-start: 3px solid var(--hd-accent);
	background: var(--hd-tint);
}
:is(.prose, .editor-styles-wrapper) .is-style-hardium-note { background: #eef1f2; border-color: #415767; }
:is(.prose, .editor-styles-wrapper) .is-style-hardium-tip { background: #edf1e8; border-color: #4c6546; }
:is(.prose, .editor-styles-wrapper) .is-style-hardium-warning { background: #f8eee3; border-color: #923921; }
:is(.prose, .editor-styles-wrapper) :is(.is-style-hardium-note, .is-style-hardium-tip, .is-style-hardium-warning) > :first-child { margin-block-start: 0; }
:is(.prose, .editor-styles-wrapper) :is(.is-style-hardium-note, .is-style-hardium-tip, .is-style-hardium-warning) > :last-child { margin-block-end: 0; }

@media (max-width: 560px) {
	.prose > :is(.alignleft, .alignright) { float: none; margin-inline: 0; }
}
