/* Regel 4.11.2026: weisser Rahmen ohne Linien, oben und seitlich gleich, unten etwas breiter; gleich grosse Blöcke, Desktop nebeneinander, Handy untereinander, Kopf nie anschneiden */
.wp-block-gallery,.gallery,.elementor-image-gallery .gallery,.galerie{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(240px,1fr))!important;gap:1.2rem!important;align-items:start}
.wp-block-gallery>figure,.wp-block-gallery .wp-block-image,.gallery .gallery-item,.galerie>figure{width:auto!important;max-width:none!important;margin:0!important;flex:none!important}
.wp-block-gallery img,.gallery img,.galerie img,.entry-content figure.wp-block-image img,.sz-rahmen img{box-sizing:border-box;width:100%!important;height:auto!important;aspect-ratio:4/5!important;object-fit:contain!important;object-position:50% 50%!important;background:#fff!important;padding:12px 12px 22px!important;border:0!important;outline:0;box-shadow:0 2px 14px rgba(0,0,0,.12)!important;border-radius:0!important}
.entry-content figure.wp-block-image:not(.wp-block-gallery figure) img{aspect-ratio:auto}
@media(max-width:700px){.wp-block-gallery,.gallery,.galerie{grid-template-columns:1fr!important}}
.galerie>figure,.wp-block-gallery>figure,.gallery .gallery-item{background:transparent!important;box-shadow:none!important;padding:0!important}
/* Bildblöcke auf Orts- und Themenseiten: gleich grosse Blöcke mit weissem Rahmen */
.sz-hero2,.sz-strip,.sz-hero{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:1.2rem!important;align-items:start!important;height:auto!important;max-height:none!important}
.sz-hero2 .sz-stack,.sz-hero .sz-stack,.sz-strip .sz-stack{display:contents!important}
.sz-hero2 figure,.sz-strip figure,.sz-hero figure{width:auto!important;max-width:none!important;height:auto!important;margin:0!important;grid-row:auto!important;grid-column:auto!important;flex:none!important;position:static!important;background:transparent!important;box-shadow:none!important}
.sz-hero2 img,.sz-strip img,.sz-hero img{box-sizing:border-box;width:100%!important;height:auto!important;aspect-ratio:4/5!important;object-fit:contain!important;object-position:50% 50%!important;background:#fff!important;padding:12px 12px 22px!important;border:0!important;box-shadow:0 2px 14px rgba(0,0,0,.12)!important;border-radius:0!important;position:static!important}
@media(max-width:700px){.sz-hero2,.sz-strip,.sz-hero{grid-template-columns:1fr!important}}
