body {
    /*background: #f4f4f4;
    padding: 40px 0;*/
    /*font-family: sans-serif;*/
    font-family: 'DIN Next LT Pro', sans-serif;
}

.preview-wrapper {
    max-width: 900px;
    margin: auto;
    background: #fff;
    padding: 40px;
    overflow: hidden; /* prevent float overflow */
}
  

/* Reset figure properly */
.editor-styles-wrapper figure {
    display: block !important;
    margin: 0 0 1.5rem 0;
}

/* Image block wrapper */
.editor-styles-wrapper .wp-block-image {
    display: block !important;
    text-align: center;
}

/* Make image responsive */
.editor-styles-wrapper .wp-block-image img {
    display: block;
    max-width: 100%;
    height: auto;
    margin-left: auto;
    margin-right: auto;
}

/* Fix caption */
.editor-styles-wrapper .wp-block-image figcaption {
    display: block !important;
    width: 100%;
    margin-top: 8px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

/* LEFT */
.editor-styles-wrapper .wp-block-image.alignleft {
    float: left;
    margin: 0 20px 20px 0;
    max-width: 50%;
}

/* RIGHT */
.editor-styles-wrapper .wp-block-image.alignright {
    float: right;
    margin: 0 0 20px 20px;
    max-width: 50%;
}

/* CENTER */
.editor-styles-wrapper .wp-block-image.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

/* Clear floats */
.editor-styles-wrapper::after {
    content: "";
    display: block;
    clear: both;
}

/* ========================= */
/* GALLERY FIX (PREVIEW) */
/* ========================= */


.editor-styles-wrapper .wp-block-gallery {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 20px;
}

.editor-styles-wrapper .wp-block-gallery .wp-block-image {
    flex: 1 1 calc(33.333% - 20px);
    margin: 0 !important;
}

.editor-styles-wrapper .wp-block-gallery img {
    width: 100%;
    height: auto;
    display: block;
}

/* ========================= */
/* COLUMNS FIX (PREVIEW) */
/* ========================= */

.editor-styles-wrapper .wp-block-columns {
    display: flex;
    gap: 20px;
}

.editor-styles-wrapper .wp-block-column {
    flex: 1;
}

/* ========================= */
/* CSS as frontend pages */
/* ========================= */

.blog-press-podcast-case-details-content 
.editor-styles-wrapper img {
    padding-bottom: 0 !important;
    display: inline-block !important;
    justify-self: unset !important;
}