/* Shared Classic Editor/frontend rules. Never target theme navigation or block galleries. */
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .gallery {
 display:grid; grid-template-columns:repeat(var(--spursuche-gallery-columns,3),minmax(0,1fr)); gap:16px; clear:both; margin:1.2em 0;
}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .gallery-columns-1 {--spursuche-gallery-columns:1}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .gallery-columns-2 {--spursuche-gallery-columns:2}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .gallery-columns-3 {--spursuche-gallery-columns:3}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .gallery-columns-4 {--spursuche-gallery-columns:4}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .gallery-columns-5 {--spursuche-gallery-columns:5}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .gallery-columns-6 {--spursuche-gallery-columns:6}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .gallery-columns-7 {--spursuche-gallery-columns:7}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .gallery-columns-8 {--spursuche-gallery-columns:8}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .gallery-columns-9 {--spursuche-gallery-columns:9}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .gallery .gallery-item {float:none;display:block;width:auto;max-width:none;min-width:0;margin:0;text-align:center}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .gallery > br {display:none}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .gallery img {display:block;max-width:100%;height:auto;margin:0 auto}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .gallery-caption {margin:.5em 0 0;font-size:.875em;overflow-wrap:anywhere}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) img:not(.emoji) {max-width:100%;height:auto}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .wp-caption {max-width:100%;box-sizing:border-box}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .wp-caption-text {font-size:.875em;margin:.5em 0 1em}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .alignleft {float:left;margin:0 1.5em 1em 0}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .alignright {float:right;margin:0 0 1em 1.5em}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .aligncenter {display:block;clear:both;margin-left:auto;margin-right:auto}
:where(.wp-block-post-content,.entry-content,body.mce-content-body) .spursuche-abstand {flex:none;box-sizing:content-box}
@media(max-width:1024px) {
 :where(.wp-block-post-content,.entry-content) .gallery {grid-template-columns:repeat(min(var(--spursuche-gallery-columns,3),2),minmax(0,1fr))}
}
@media(max-width:600px) {
 :where(.wp-block-post-content,.entry-content) .gallery {grid-template-columns:minmax(0,1fr)}
 :where(.wp-block-post-content,.entry-content) .alignleft,
 :where(.wp-block-post-content,.entry-content) .alignright {float:none;display:block;margin:1em auto}
}


:where(.wp-block-post-content,.entry-content,body.mce-content-body) a {overflow-wrap:anywhere}
