/* Fastpage shared block style layer (helpers/fp_block_style.php). Wrapper .fp-bs around a block, or on a Page section itself. */
.fp-bs:not(.fp-sec) { flex: 0 0 100%; max-width: 100%; }
.fp-bs-al-left, .fp-bs-al-left .fp-sec__in { text-align: left !important; }
.fp-bs-al-center, .fp-bs-al-center .fp-sec__in { text-align: center !important; }
.fp-bs-al-right, .fp-bs-al-right .fp-sec__in { text-align: right !important; }
.fp-bs-al-left .fp-sec__btns, .fp-bs-al-left .fp-sec__logos { justify-content: flex-start !important; }
.fp-bs-al-center .fp-sec__btns, .fp-bs-al-center .fp-sec__logos { justify-content: center !important; }
.fp-bs-al-right .fp-sec__btns, .fp-bs-al-right .fp-sec__logos { justify-content: flex-end !important; }
.fp-bs-al-center .fp-sec__text { margin-left: auto !important; margin-right: auto !important; }
.fp-bs-al-right .fp-sec__text { margin-left: auto !important; margin-right: 0 !important; }
/* Vertical: content of tall sections, and the content of cards in a grid */
.fp-sec.fp-bs-va-top, .fp-sec.fp-bs-va-middle, .fp-sec.fp-bs-va-bottom { display: flex; flex-direction: column; }
/* Auto margins must not shrink the inner grid when vertical alignment enables flex. */
.fp-sec.fp-bs-va-top > .fp-sec__in, .fp-sec.fp-bs-va-middle > .fp-sec__in, .fp-sec.fp-bs-va-bottom > .fp-sec__in { width: 100%; }
.fp-sec.fp-bs-va-top { justify-content: flex-start; }
.fp-sec.fp-bs-va-middle { justify-content: center; }
.fp-sec.fp-bs-va-bottom { justify-content: flex-end; }
.fp-bs-va-top .fp-sec__card, .fp-bs-va-middle .fp-sec__card, .fp-bs-va-bottom .fp-sec__card { display: flex; flex-direction: column; }
.fp-bs-va-middle .fp-sec__card { justify-content: center; }
.fp-bs-va-bottom .fp-sec__card { justify-content: flex-end; }
.fp-bs-va-middle .fp-sec__split, .fp-bs-va-middle .fp-sec__grid { align-items: center; }
.fp-bs-va-bottom .fp-sec__split, .fp-bs-va-bottom .fp-sec__grid { align-items: end; }
.fp-bs-va-top .fp-sec__split, .fp-bs-va-top .fp-sec__grid { align-items: start; }
/* Spacing above and below */
.fp-bs-st-none { margin-top: 0 !important; } .fp-bs-st-s { margin-top: 8px !important; } .fp-bs-st-m { margin-top: 24px !important; } .fp-bs-st-l { margin-top: 56px !important; }
.fp-bs-sb-none { margin-bottom: 0 !important; } .fp-bs-sb-s { margin-bottom: 8px !important; } .fp-bs-sb-m { margin-bottom: 24px !important; } .fp-bs-sb-l { margin-bottom: 56px !important; }
/* Background, corners, shadow, text colour */
.fp-bs-bg:not(.fp-sec) { background: var(--fp-bs-bg); padding: 16px; }
.fp-sec.fp-bs-bg { background: var(--fp-bs-bg) !important; }
.fp-bs-r-square, .fp-bs-r-square .link-btn, .fp-bs-r-square .fp-sec__card, .fp-bs-r-square img { border-radius: 0 !important; }
.fp-bs-r-soft:not(.fp-sec), .fp-bs-r-soft .link-btn, .fp-bs-r-soft .fp-sec__card, .fp-bs-r-soft .fp-sec__shot { border-radius: 12px !important; }
.fp-bs-r-round:not(.fp-sec), .fp-bs-r-round .link-btn, .fp-bs-r-round .fp-sec__card, .fp-bs-r-round .fp-sec__shot { border-radius: 28px !important; }
.fp-bs-r-round .link-btn { border-radius: 999px !important; }
.fp-bs-sh:not(.fp-sec), .fp-bs-sh .fp-sec__card { box-shadow: 0 18px 40px -18px rgba(0, 0, 0, .45) !important; }
.fp-bs-tc, .fp-bs-tc :is(h1, h2, h3, h4, p, span, a:not(.link-btn):not(.fp-sec__btn), li, small, b, summary) { color: var(--fp-bs-tc) !important; }
.fp-sec.fp-bs-tc { --fp-text: var(--fp-bs-tc) !important; }
