/* WZ Exposés: document typography, shared by Gutenberg and the preview. */
.wz-expose {
    box-sizing: border-box;
    max-width: 940px;
    margin: 0 auto;
    padding: 32px 20px 64px;
}
.wz-expose article,
.editor-styles-wrapper {
    color: #333;
    background: #fff;
    font-size: 17px;
    line-height: 1.65;
    text-align: left;
    overflow-wrap: break-word;
}
.editor-styles-wrapper .wp-block {
    max-width: 900px;
}
.wz-expose :is(h1, h2, h3),
.editor-styles-wrapper :is(h1, h2, h3) {
    text-align: left;
    line-height: 1.3;
    font-weight: 600;
    margin: 40px 0 16px;
}
.wz-expose h1,
.editor-styles-wrapper h1 {
    font-size: 32px;
    margin-top: 0;
}
.wz-expose h2,
.editor-styles-wrapper h2 { font-size: 28px; }
.wz-expose h3,
.editor-styles-wrapper h3 {
    font-size: 22px;
    margin-top: 24px;
}
.wz-expose p,
.editor-styles-wrapper p {
    text-align: left;
    margin: 0 0 20px;
}
.wz-expose .wp-block-image img,
.editor-styles-wrapper .wp-block-image img {
    max-width: 100%;
    height: auto;
}
.wz-expose .wp-block-table,
.editor-styles-wrapper .wp-block-table {
    margin: 16px 0 28px;
    font-size: 16px;
}
.wz-expose .wp-block-table table,
.editor-styles-wrapper .wp-block-table table {
    width: 100%;
    border-collapse: collapse;
}
.wz-expose .wp-block-table :is(td, th),
.editor-styles-wrapper .wp-block-table :is(td, th) {
    padding: 12px;
    vertical-align: top;
    text-align: left;
    overflow-wrap: anywhere;
}
.wz-expose .wp-block-table td:first-child,
.editor-styles-wrapper .wp-block-table td:first-child {
    width: 40%;
    font-weight: 600;
}
.wz-expose .wp-block-gallery,
.editor-styles-wrapper .wp-block-gallery {
    --wp--style--unstable-gallery-gap: 16px;
    gap: 16px;
}
.wz-expose .wp-block-gallery.columns-2 figure.wp-block-image:not(#individual-image),
.editor-styles-wrapper .wp-block-gallery.columns-2 figure.wp-block-image:not(#individual-image) {
    width: calc((100% - 16px) / 2);
    flex: 0 1 calc((100% - 16px) / 2);
}
@media (max-width: 600px) {
    .wz-expose { padding: 24px 20px 40px; }
    .wz-expose h1,
    .editor-styles-wrapper h1 { font-size: 28px; }
    .wz-expose .wp-block-table :is(td, th),
    .editor-styles-wrapper .wp-block-table :is(td, th) { padding: 10px 8px; }
    .wz-expose .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image),
    .editor-styles-wrapper .wp-block-gallery.has-nested-images figure.wp-block-image:not(#individual-image) {
        width: 100%;
        flex: 0 0 100%;
    }
}
