/* Legal pages follow the source's long-form type rhythm, with a fluid phone layout. */
.be-page-privacy-policy .wp-block-post-content,
.be-page-terms .wp-block-post-content { display: flow-root; }
.editor-styles-wrapper:has(.be-legal-page) { --be-legal-unit: calc(100cqw / 1024); }
.editor-styles-wrapper .is-root-container:has(> .be-legal-page) { padding-inline: 0; }
.editor-styles-wrapper .is-root-container > .be-legal-page {
    width: calc(818 * var(--be-legal-unit)) !important;
    max-width: none !important;
    margin-left: calc(186 * var(--be-legal-unit)) !important;
    margin-right: 0 !important;
}
.editor-styles-wrapper:has(.be-legal-page) .editor-post-title {
    max-width: none;
    margin-left: calc(186 * var(--be-legal-unit)) !important;
    margin-right: calc(20 * var(--be-legal-unit)) !important;
}
.be-main .be-legal-page,
.editor-styles-wrapper .be-legal-page {
    --be-legal-unit: calc(100cqw / 1024);
    width: calc(818 * var(--be-legal-unit));
    max-width: none;
    margin: calc(20 * var(--be-legal-unit)) 0 0;
    color: var(--wp--preset--color--charcoal);
}
.be-legal-page .be-legal-title,
.editor-styles-wrapper .be-legal-page .be-legal-title {
    margin: 0 0 calc(28 * var(--be-legal-unit));
    font-size: calc(72 * var(--be-legal-unit));
    font-weight: 400;
    line-height: 1;
    letter-spacing: calc(-4 * var(--be-legal-unit));
}
.be-legal-page .be-legal-copy,
.editor-styles-wrapper .be-legal-copy {
    margin: 0;
    font-size: calc(12 * var(--be-legal-unit));
    line-height: calc(16 * var(--be-legal-unit));
}
.be-legal-copy p,
.editor-styles-wrapper .be-legal-copy p {
    margin: 0 0 calc(16 * var(--be-legal-unit));
    font-size: inherit;
    line-height: inherit;
}
.be-legal-copy strong,
.editor-styles-wrapper .be-legal-copy strong { font-weight: 700; }
.be-legal-copy p:last-child,
.editor-styles-wrapper .be-legal-copy p:last-child { margin-bottom: 0; }
.be-legal-copy .be-legal-continuation,
.editor-styles-wrapper .be-legal-copy .be-legal-continuation { margin-bottom: 0; }
.be-legal-terms .be-legal-copy,
.editor-styles-wrapper .be-legal-terms .be-legal-copy { padding-bottom: calc(16 * var(--be-legal-unit)); }
@media (max-width: 768px) {
    .editor-styles-wrapper .is-root-container > .be-legal-page {
        width: calc(100% - 40px) !important;
        margin-inline: 20px !important;
    }
    .editor-styles-wrapper:has(.be-legal-page) .editor-post-title { margin-inline: 20px !important; }
    .be-main .be-legal-page,
    .editor-styles-wrapper .be-legal-page {
        width: 100%;
        max-width: none;
        margin-top: 20px;
    }
    .be-legal-page .be-legal-title,
    .editor-styles-wrapper .be-legal-page .be-legal-title {
        margin-bottom: 28px;
        font-size: clamp(42px, 9vw, 72px);
        line-height: .96;
        letter-spacing: -.045em;
    }
    .be-legal-page .be-legal-copy,
    .editor-styles-wrapper .be-legal-copy {
        font-size: clamp(14px, 2.25vw, 16px);
        line-height: 1.45;
        overflow-wrap: anywhere;
    }
    .be-legal-copy p,
    .editor-styles-wrapper .be-legal-copy p { margin-bottom: 1.2em; }
}
