/* Shared reading and native-block styles. Saved inline block settings take precedence. */
:where(.fsh-content, .fsh-article-content, .editor-styles-wrapper) {
    font-family: var(--fsh-sans);
    font-size: 1.0625rem;
    line-height: 1.8;
    overflow-wrap: break-word;
}
:where(.fsh-content, .fsh-article-content, .editor-styles-wrapper) :where(h1,h2,h3,h4,h5,h6) {
    font-family: var(--fsh-display); font-weight: 650; letter-spacing: -.025em; line-height: 1.2;
    margin-block: var(--fsh-space-heading-before) var(--fsh-space-heading-after); text-wrap: pretty;
}
:where(.fsh-content, .fsh-article-content, .editor-styles-wrapper) h1 { font-size: var(--fsh-title-size); }
:where(.fsh-content, .fsh-article-content, .editor-styles-wrapper) h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
:where(.fsh-content, .fsh-article-content, .editor-styles-wrapper) h3 { font-size: clamp(1.3rem, 2.4vw, 1.75rem); }
:where(.fsh-content, .fsh-article-content, .editor-styles-wrapper) h4 { font-size: 1.25rem; }
:where(.fsh-content, .fsh-article-content, .editor-styles-wrapper) p { margin-block: 0 var(--fsh-space-paragraph); }
:where(.fsh-content, .fsh-article-content, .editor-styles-wrapper) :where(ul,ol) { margin-block: 1rem 1.4rem; padding-inline-start: 1.5em; }
:where(.fsh-content, .fsh-article-content, .editor-styles-wrapper) li + li { margin-top: .4rem; }
:where(.fsh-content, .fsh-article-content, .editor-styles-wrapper) li > p { margin-bottom: .4rem; }
:where(.fsh-content, .fsh-article-content, .editor-styles-wrapper) :where(.wp-block-group,.wp-block-column,.wp-block-cover__inner-container) > :first-child { margin-top: 0; }
:where(.fsh-content, .fsh-article-content, .editor-styles-wrapper) :where(.wp-block-group,.wp-block-column,.wp-block-cover__inner-container) > :last-child { margin-bottom: 0; }
.fsh-content > :where(:not(.alignwide):not(.alignfull)) { max-width: var(--fsh-reading-width); margin-inline: auto; }
.fsh-content > :where(.alignwide,.alignfull) { max-width: 100%; }
.fsh-content > * + * { margin-block-start: var(--fsh-section-gap); }
.fsh-content > :where(p,ul,ol) + :where(p,ul,ol) { margin-block-start: 0; }
.fsh-content > .wp-block-cover { min-height: clamp(12rem, 22vw, 20rem); border-radius: var(--fsh-radius); overflow: hidden; padding: var(--fsh-content-padding); }
.fsh-content > .wp-block-cover h1 { margin: 0; color: #fff; }
.fsh-content > .fsh-dark { min-height: auto; color: #fff; padding: var(--fsh-content-padding); }
.fsh-dark .wp-block-cover__inner-container { max-width: var(--fsh-reading-width); }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) :where(.fsh-section,.fsh-testimonial,.fsh-consultation) { padding: var(--fsh-content-padding); border-radius: var(--fsh-radius); }
.fsh-section { background: var(--fsh-background); }
.fsh-testimonial, .fsh-consultation { background: var(--fsh-accent); }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) :where(.wp-block-group,.wp-block-column,.wp-block-columns,.wp-block-query,.wp-block-post-template,.wp-block-post) { min-width: 0; }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) .wp-block-columns { gap: var(--fsh-space-columns); }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) :where(figure,.wp-caption,pre) { max-width: 100%; }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) .wp-block-image img { max-width: 100%; height: auto; border-radius: var(--fsh-radius); }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) :where(figcaption,cite) { color: var(--fsh-muted); font-size: .875rem; line-height: 1.55; }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) blockquote { margin: 1.5rem 0; border-inline-start: 2px solid var(--fsh-primary); padding: .25rem 0 .25rem clamp(1rem, 3vw, 1.5rem); font-size: 1.05em; }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) blockquote > :last-child { margin-bottom: 0; }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) cite { display: block; margin-top: .75rem; }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) .wp-block-separator { border: 0; border-top: 1px solid var(--fsh-rule); margin-block: 2rem; }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) .wp-block-button__link { display: inline-flex; align-items: center; justify-content: center; min-height: 2.75rem; padding: .65rem 1.15rem; font-size: .95rem; line-height: 1.4; border-radius: var(--fsh-radius); text-align: center; text-decoration: none; }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) .wp-block-buttons { gap: .75rem; }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) .wp-block-table { overflow-x: auto; }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) table { display: block; max-width: 100%; overflow-x: auto; border-collapse: collapse; margin-block: 1.5rem; font-size: .95rem; }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) :where(td,th) { border: 1px solid var(--fsh-rule); padding: .65rem .8rem; text-align: start; }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) th { background: var(--fsh-accent); }
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) pre { overflow-x: auto; padding: 1rem; background: var(--fsh-accent); }
:where(.fsh-content,.fsh-article-content) iframe[src*="youtube"],
:where(.fsh-content,.fsh-article-content) iframe[src*="vimeo"] { width: 100%; height: auto; aspect-ratio: 16 / 9; }
:where(.fsh-content,.fsh-article-content) .wp-block-embed__wrapper iframe { height: 100%; }
.fsh-article-content { display: flow-root; }
.fsh-article-content .alignleft { float: left; margin: .5rem 1.5rem 1rem 0; }
.fsh-article-content .alignright { float: right; margin: .5rem 0 1rem 1.5rem; }
.fsh-article-content .aligncenter { display: block; margin-inline: auto; }
.fsh-content .wp-block-query .wp-block-post-featured-image img { max-width: 100%; }
.fsh-content .wp-block-query .wp-block-post-title { margin-block: .8rem .5rem; line-height: 1.25; }
.fsh-content .wp-block-query .wp-block-post-date { margin-block: .4rem .7rem; font-size: .875rem; color: var(--fsh-muted); }
.fsh-content .wp-block-query .wp-block-read-more { display: inline-flex; align-items: center; min-height: 2.75rem; font-size: .95rem; }
.fsh-content .wp-block-query-pagination { gap: .5rem 1rem; flex-wrap: wrap; }
.fsh-content .wp-block-query-pagination a { display: inline-flex; align-items: center; min-height: 2.75rem; padding-inline: .5rem; }
@media (max-width: 599px) {
    :where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) { font-size: 1rem; line-height: 1.75; }
    .fsh-article-content .alignleft, .fsh-article-content .alignright { float: none; margin: 1rem auto; }
}

/* Let the preceding paragraph own prose spacing; sections own their padding. */
:where(.fsh-content,.fsh-article-content,.editor-styles-wrapper) :where(.wp-block-group,.wp-block-column) > :where(h1,h2,h3,h4,h5,h6) + p { margin-top: 0; }
