/* Shared by article, TinyMCE and Studio previews. Custom sizes shrink proportionally. */
.epw-media-box{box-sizing:border-box;max-width:100%;min-width:0;margin-block:28px}
.epw-media-box.epw-media-center{margin-inline:auto}
.epw-media-box.epw-media-left{margin-left:0;margin-right:auto}
.epw-media-box.epw-media-right{margin-left:auto;margin-right:0}
.epw-image-pair{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:22px;align-items:start;clear:both;margin:28px 0;max-width:100%}
.epw-image-pair>.epw-remote-image{margin-top:0;margin-bottom:0;min-width:0}
.epw-image-frame{display:block;max-width:100%;border-radius:9px;overflow:hidden}
.epw-image-frame.is-fixed{background:#f0eee5}
.epw-remote-image .epw-image-frame>img{display:block;width:100%;max-width:100%;height:auto;margin:0;border-radius:0}
.epw-remote-image .epw-image-frame.is-fixed>img{height:100%;object-fit:contain}
.epw-remote-image .epw-image-frame.epw-fit-cover>img{object-fit:cover}
.epw-remote-image figcaption{margin-top:10px;line-height:1.7;text-align:center;font-size:12px;color:#66735f;overflow-wrap:anywhere}
.epw-media-box .epw-video-frame{width:100%;aspect-ratio:16/9;min-height:200px;background:#17201f;border-radius:10px;overflow:hidden}
.epw-media-box .epw-video-frame>iframe{display:block;width:100%;height:100%;min-height:200px;max-width:100%;border:0;aspect-ratio:auto}
.epw-inline-youtube.epw-media-box{box-sizing:border-box;overflow-wrap:anywhere}
@media(max-width:600px){.epw-image-pair{grid-template-columns:minmax(0,1fr);gap:22px}}
