/* Reviewed layout values are saved with each native block, not keyed by page ID. */
[style*="--fs-width:"] { width: var(--fs-width); }
[style*="--fs-max-width:"] { max-width: var(--fs-max-width); }
[style*="--fs-text-align:"] { text-align: var(--fs-text-align); }
.fs-content .fs-row.fs-layout { width: var(--fs-width, 80%); max-width: var(--fs-max-width, 1080px); }
.fs-restored .fs-section > .fs-row + .fs-row { margin-top: 0; }
.fs-restored .fs-row { margin-block: 0; }
.fs-restored .fs-column { flex-grow: 0; }
.fs-restored .fs-column > :last-child { margin-bottom: 0; }
.fs-restored .fs-column > .fs-text + .fs-text { margin-top: 30px; }
.fs-restored .fs-cta > .wp-block-buttons { margin-top: 20px; margin-bottom: 0; justify-content: inherit; }
.fs-restored .fs-cta.has-background .wp-block-button__link { border: 2px solid currentColor; background: transparent; color: inherit; padding: 6px 20px; }
.fs-restored .has-text-color h1, .fs-restored .has-text-color h2, .fs-restored .has-text-color h3 { color: inherit; }
.fs-restored .fs-cta.has-background { width: 100%; }
.fs-restored .fs-equal-columns { align-items: stretch; }
.fs-restored .fs-equal-columns > .fs-column { display: flex; flex-direction: column; }
.fs-restored .fs-equal-columns > .fs-column > .fs-cta:only-child { flex: 1; }
.fs-restored .fs-photo-section .fs-row { align-items: flex-start; }
.fs-restored .fs-team-member { display: flex; }
@media (max-width: 980px) {
    .fs-content [style*="--fs-tablet-width:"], .editor-styles-wrapper [style*="--fs-tablet-width:"] { width: var(--fs-tablet-width) !important; }
    .fs-content [style*="--fs-tablet-max-width:"], .editor-styles-wrapper [style*="--fs-tablet-max-width:"] { max-width: var(--fs-tablet-max-width) !important; }
    [style*="--fs-tablet-font-size:"] { font-size: var(--fs-tablet-font-size) !important; }
    [style*="--fs-tablet-padding-top:"] { padding-top: var(--fs-tablet-padding-top) !important; }
    [style*="--fs-tablet-padding-right:"] { padding-right: var(--fs-tablet-padding-right) !important; }
    [style*="--fs-tablet-padding-bottom:"] { padding-bottom: var(--fs-tablet-padding-bottom) !important; }
    [style*="--fs-tablet-padding-left:"] { padding-left: var(--fs-tablet-padding-left) !important; }
    [style*="--fs-tablet-margin-top:"] { margin-top: var(--fs-tablet-margin-top) !important; }
    [style*="--fs-tablet-margin-right:"] { margin-right: var(--fs-tablet-margin-right) !important; }
    [style*="--fs-tablet-margin-bottom:"] { margin-bottom: var(--fs-tablet-margin-bottom) !important; }
    [style*="--fs-tablet-margin-left:"] { margin-left: var(--fs-tablet-margin-left) !important; }
    .fs-restored .wp-block-columns.fs-row { gap: 30px; }
    .fs-restored .fs-equal-columns > .fs-column { display: block; }
}
@media (max-width: 767px) {
    .fs-content [style*="--fs-phone-width:"], .editor-styles-wrapper [style*="--fs-phone-width:"] { width: var(--fs-phone-width) !important; }
    .fs-content [style*="--fs-phone-max-width:"], .editor-styles-wrapper [style*="--fs-phone-max-width:"] { max-width: var(--fs-phone-max-width) !important; }
    [style*="--fs-phone-font-size:"] { font-size: var(--fs-phone-font-size) !important; }
    [style*="--fs-phone-padding-top:"] { padding-top: var(--fs-phone-padding-top) !important; }
    [style*="--fs-phone-padding-right:"] { padding-right: var(--fs-phone-padding-right) !important; }
    [style*="--fs-phone-padding-bottom:"] { padding-bottom: var(--fs-phone-padding-bottom) !important; }
    [style*="--fs-phone-padding-left:"] { padding-left: var(--fs-phone-padding-left) !important; }
    [style*="--fs-phone-margin-top:"] { margin-top: var(--fs-phone-margin-top) !important; }
    [style*="--fs-phone-margin-right:"] { margin-right: var(--fs-phone-margin-right) !important; }
    [style*="--fs-phone-margin-bottom:"] { margin-bottom: var(--fs-phone-margin-bottom) !important; }
    [style*="--fs-phone-margin-left:"] { margin-left: var(--fs-phone-margin-left) !important; }
}
/* Shared Divi measurements, expressed afresh for native content blocks. */
.fs-restored .fs-photo-section .fs-cta h1,
.fs-restored .fs-photo-section .fs-cta .fs-original-h1 {
    /* A 2:1 rem range allows at least 2x text enlargement at 400% browser
       zoom while retaining the original fluid desktop/tablet proportions. */
    font-size: clamp(2.025rem, 4.5vw, 4.05rem); line-height: 1; color: #fff;
    overflow-wrap: anywhere;
    padding-right: 5%; padding-bottom: 10px; margin: 0;
    text-shadow: 2px 3px 3px #0006;
}
.fs-restored :is(h1,h2,h3,h4,h5,h6) { font-weight: 500; line-height: 1; letter-spacing: normal; margin-block: 0; padding-bottom: 10px; }
.fs-restored .fs-cta h2 { margin-bottom: 0; line-height: 1; }
.fs-restored .fs-cta.has-background a:not(.wp-block-button__link) { color: #ffb087; }
.fs-restored .fs-cta.has-background .wp-block-button__link { font-size: 20px; line-height: 1.7; }
.fs-restored .fs-cta.has-background p + .wp-block-buttons { margin-top: 20px; }
.fs-home.fs-restored .fs-section-0 .fs-cta.has-background h2 { font-size: 1.3vw; }
.fs-restored .fs-team-description > :is(h2, h3) { margin-bottom: 10px; }
@media (max-width: 980px) {
    .fs-restored .fs-photo-section .fs-cta h1,
    .fs-restored .fs-photo-section .fs-cta .fs-original-h1 { font-size: clamp(2.025rem, 5.5vw, 4.05rem); padding-right: 0; }
}
@media (max-width: 767px) {
    :root { --fs-shell: 80%; }
}
@media (max-width: 480px) {
    .fs-restored .fs-photo-section .fs-cta h1,
    .fs-restored .fs-photo-section .fs-cta .fs-original-h1 { font-size: clamp(2.025rem, 6.8vw, 4.05rem); padding-right: 0; }
}
/* Original rich-text rhythm; padding also preserves intentionally empty paragraphs. */
.fs-restored .fs-text p, .fs-restored .fs-cta p { margin: 0; padding-bottom: 1em; }
.fs-restored .fs-text p:last-child { padding-bottom: 0; }
.fs-restored .fs-cta > p:has(+ .wp-block-buttons) { padding-bottom: 0; }
.fs-restored .fs-text ul, .fs-restored .fs-cta ul,
.fs-restored .fs-text ol, .fs-restored .fs-cta ol { margin: 0; padding: 0 0 23px 1em; line-height: 26px; }
.fs-restored .fs-cta > .wp-block-buttons { padding-top: 0; }

.fs-cta[style*="--fs-text-align:center"] > .wp-block-buttons { justify-content: center; }
/* Core Cover's 430px default must not override source-sized mobile heroes. */
.fs-restored .fs-photo-section { min-height: 0; }
.fs-restored .fs-promo-description > p:last-child { padding-bottom: 0; }
.fs-restored .fs-cta > .fs-promo-description + .wp-block-buttons { margin: 0; }
.fs-restored .fs-column > .fs-text + .wp-block-buttons { margin: 2.75% 0 0; }
.fs-restored .fs-text ol, .fs-restored .fs-cta ol { padding-bottom: 1em; }
.fs-restored .fs-blurb > .wp-block-image { margin-bottom: 30px; }
.fs-restored .fs-blurb > p { margin-block: 0; padding-bottom: 1em; }
.fs-restored .fs-blurb > p:last-child { padding-bottom: 8%; }
@media (max-width: 980px) {
    .fs-restored .fs-row:not(.fs-service-grid):has(> .fs-column > .fs-blurb) { row-gap: 0; }
}
@media (max-width: 767px) {
    .fs-restored .fs-column > .fs-text:has(+ .wp-block-buttons.fs-hide-phone) { margin-bottom: 30px; }
}

@media (min-width: 981px) and (max-width: 1080px) {
    [style*="--fs-small-desktop-font-size:"] { font-size: var(--fs-small-desktop-font-size) !important; }
}
@media (max-width: 480px) {
    [style*="--fs-compact-font-size:"] { font-size: var(--fs-compact-font-size) !important; }
}

.fs-footer-bottom .wp-block-social-links { margin: 0 0 8px; padding: 0; gap: 16px; font-size: 20px; }
.fs-header-inner > .fs-cart { flex: 0 0 auto; margin: 0; }
.fs-header-inner > .fs-cart a { display: flex; padding: 4px; }
.fs-header-inner > .fs-cart img { display: block; }
.fs-header-inner > .fs-navigation { margin-left: auto; }
@media (max-width: 1199px) {
    .fs-header-inner { gap: 16px; }
    .fs-header-inner > .wp-block-site-logo { margin-right: auto; }
    .fs-header-inner > .fs-cart { order: 2; }
    .fs-header-inner > .fs-navigation { order: 3; margin-left: 0; flex: 0 0 auto; }
}
