/* Divi article content only; the common Theme Builder shell stays unchanged. */
.t12-article-reading .t12-editorial-body{padding:0!important;margin:0!important;background:transparent!important}
.t12-article-reading .t12-editorial-row{padding:0!important;margin:0!important;width:100%!important;max-width:100%!important}
.t12-editorial-body .et_pb_column{width:100%;float:none;margin:0!important;min-width:0}
.t12-editorial-body .et_pb_text{font-family:Montserrat,sans-serif;color:#263e46}
.t12-editorial-body .et_pb_module{margin-bottom:0}
.t12-editorial-body .t12-editor-text{margin-bottom:28px}
.t12-editor-image-group{margin:36px 0 44px!important;min-width:0}
.t12-editor-image,.t12-editor-image .et_pb_image_wrap{display:block;width:100%!important;max-width:100%!important}
.t12-editor-image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover;border-radius:7px;border:1px solid #ced9d5;box-shadow:0 5px 18px #263e460b}
.t12-editor-caption{margin:12px 0 0!important}
.t12-editor-caption p{font:400 12px/1.75 Montserrat,sans-serif!important;color:#53696e;margin:0!important}
.t12-editor-gallery-group{margin:24px 0 36px!important;min-width:0}
.t12-editor-gallery .et_pb_gallery_items{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:12px}
.t12-editor-gallery .et_pb_gallery_item{width:auto!important;float:none!important;margin:0!important;padding:0!important;min-width:0}
.t12-editor-gallery .et_pb_gallery_image{border-radius:6px;overflow:hidden}
.t12-editor-gallery .et_pb_gallery_image img{display:block;width:100%;height:auto;aspect-ratio:16/9;object-fit:cover}
.t12-editor-gallery .et_pb_gallery_title{font:600 12px/1.6 Montserrat,sans-serif!important;letter-spacing:normal!important;padding:0;margin:12px 0 6px!important}
.t12-editor-gallery .et_pb_gallery_caption{font:400 12px/1.75 Montserrat,sans-serif!important;margin:0!important;color:#53696e}
.t12-editor-video-group{margin:24px 0 40px!important;min-width:0}
.t12-editor-video .t12-article-video{margin:0!important}
.t12-editor-video .t12-article-video figcaption{font:400 12px/1.75 Montserrat,sans-serif;color:#53696e}
/* Divi's empty native video has no usable hit area. Give editors a clear surface. */
.et-fb .t12-editor-video:has(> .et_pb_video_box:empty){min-height:220px;display:grid;place-items:center;background:#263e46;border-radius:7px;border:1px dashed #72cace}
.et-fb .t12-editor-video:has(> .et_pb_video_box:empty)::after{content:"YouTube-Video: doppelt anklicken und Link einfügen";font:600 16px/1.6 Montserrat,sans-serif;color:#fdfcf5;max-width:85%;text-align:center;padding:24px}
@media(max-width:760px){.t12-editor-gallery .et_pb_gallery_items{grid-template-columns:repeat(2,minmax(0,1fr))!important}.t12-editor-gallery .et_pb_gallery_item:first-child{grid-column:1/-1}.t12-editorial-body .t12-editor-image-group{margin:28px 0 36px!important}}
