/* Layout overrides are opt-in. Small screens return to the normal reading flow. */
[style*="--editor-width:"]{width:var(--editor-width)!important;max-width:100%!important;min-width:0}
[style*="--editor-x:"],[style*="--editor-y:"]{translate:var(--editor-x,0px) var(--editor-y,0px)}
[style*="--editor-span:"]{grid-column:span var(--editor-span);min-width:0}
@media(max-width:760px){[style*="--editor-width:"]{width:100%!important}[style*="--editor-x:"],[style*="--editor-y:"]{translate:none!important}[style*="--editor-span:"]{grid-column:auto!important}}

[style*="--editor-height:"]{height:var(--editor-height)!important;min-height:0!important;overflow:auto}
:is(span,a,b,strong,em)[style*="--editor-width:"]{display:inline-block}
@media(max-width:760px){[style*="--editor-height:"]{height:auto!important;overflow:visible}}

@media(max-width:760px){[data-design-key][style*="font-size:"]{overflow-wrap:anywhere;max-width:100%}}

.page [data-design-key]:is([style^="color:"],[style*=";color:"]) :is(p,h2,h3,h4,small,figcaption){color:inherit}
@media(max-width:760px){[style*="--editor-font-size:"]{font-size:min(var(--editor-font-size),calc(5vw + 14px))!important}}

.editor-list-line{display:block;padding-left:1.3em;text-indent:-1.3em}

/* A block's typography must reach text with an explicit size in the original design. */
.page [data-design-key][style*="--editor-font-size:"] :is(h1,h2,h3,h4,p,small,span,a,strong,em,li):not([data-editor-inline]):not([style*="--editor-font-size:"]){font-size:inherit}
.page [data-design-key][style*="font-family:"] :is(h1,h2,h3,h4,p,small,span,a,strong,em,li):not([data-editor-inline]):not([style*="font-family:"]){font-family:inherit}
.page [data-editor-inline]{overflow-wrap:anywhere}
