/* Public layout: preserve page order, restore department accents, center content. */
html body:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) :is(main,#content,[data-elementor-type="wp-page"],.elementor-location-single,.elementor-location-archive,.elementor-location-footer) :is(h1,h2,h3,h4,h5,h6,p,li,figcaption,caption,summary,label,legend,address,blockquote,dt,dd,th,td,button,.elementor-heading-title,.elementor-widget-text-editor,.elementor-button-wrapper){text-align:center!important;}
html body:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) :is(main,#content,[data-elementor-type="wp-page"],.elementor-location-single) :is(figure,.wp-block-image,.elementor-widget-image){margin-left:auto!important;margin-right:auto!important;text-align:center!important;}
html body:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) :is(main,#content,[data-elementor-type="wp-page"],.elementor-location-single) img:not([aria-hidden="true"]){margin-left:auto!important;margin-right:auto!important;}
html body:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) :is(main,#content,[data-elementor-type="wp-page"],.elementor-location-single) :is(.wp-block-buttons,.elementor-field-type-submit,.elementor-button-wrapper,.md-nav,.mt-actions,.mh-actions,.ms-actions,.mv-actions,.mk-actions){justify-content:center!important;text-align:center!important;}
html body:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) :is(main,#content,[data-elementor-type="wp-page"]) :is(.elementor-button,.m-button,.mt-btn,.md-button,.mk-btn,.mosella-button,.mosella-kontakt-button){align-self:center!important;justify-content:center!important;text-align:center!important;}
html body:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) :is(main,#content,[data-elementor-type="wp-page"]) :is(input:not([type=checkbox]):not([type=radio]),select,textarea){text-align:center!important;}
/* Sports headers use the source aspect ratio so every person stays in frame. */
html body.mosella-sport-fullwidth:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) #mosella-page-hero:not(.mosella-store-hero){width:100%!important;max-width:none!important;margin:0!important;padding:0!important;overflow:visible!important;}
html body.mosella-sport-fullwidth:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) #mosella-page-hero .mosella-page-header-media{background:#06152e!important;}
html body.mosella-sport-fullwidth:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) #mosella-page-hero .mosella-page-header-media img{display:block!important;margin:0 auto!important;}
html body:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) :is(.m-sport-image,.mosella-kontakt-bild,.mt-photo,.mk-info-photo,.mh-place-photo,.mosella-gallery,.mosella-galerie) img{--mosella-image-position:center!important;}
/* Original football palette, including the matching contact cards. */
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) .bereich-kinder{--accent:#22D3EE!important;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) .bereich-aufbau,html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) .mosella-kontakt-jugend{--accent:#22C55E!important;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) .bereich-leistung{--accent:#8B5CF6!important;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) .bereich-senioren,html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) .mosella-kontakt-senioren{--accent:#EF4444!important;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) .bereich-ue,html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) .mosella-kontakt-ue{--accent:#F59E0B!important;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) :is(.mosella-kontakt-leitung,.mosella-kontakt-verwaltung){--accent:#0047FF!important;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) :is(.mosella-bereich-card,.mosella-kontakt-card){border-radius:16px!important;border-top:5px solid var(--accent,#0047ff)!important;background:linear-gradient(145deg,#071a3d,#020817)!important;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) :is(.mosella-bereich-card,.mosella-kontakt-card)::before{background:var(--accent,#0047ff)!important;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) :is(.mosella-bereich-type,.mosella-bereich-klassen,.mosella-kontakt-funktion){color:color-mix(in srgb,var(--accent,#0047ff) 78%,white)!important;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) :is(.mosella-bereich-link,.mosella-kontakt-button){background:#071a3d!important;color:color-mix(in srgb,var(--accent,#0047ff) 78%,white)!important;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) .mosella-kontakt-bild{border-color:var(--accent,#0047ff)!important;}
/* Turnen: keep each existing group and its contact in the same palette. */
[data-turn-group="eltern"]{--turn-accent:#22d3ee;}
[data-turn-group="bambini"]{--turn-accent:#22c55e;}
[data-turn-group="kinder"]{--turn-accent:#8b5cf6;}
[data-turn-group="jugend"]{--turn-accent:#ef4444;}
[data-turn-group="leistung"]{--turn-accent:#f59e0b;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) .mt :is([data-turn-group],.mt-card.turn-contact){border-top:5px solid var(--turn-accent,#73a4ff)!important;border-radius:16px!important;background:radial-gradient(ellipse at 50% 0%,color-mix(in srgb,var(--turn-accent,#73a4ff) 14%,transparent),transparent 70%),#071a3d!important;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) .mt :is([data-turn-group] h3,[data-turn-group]>summary,[data-turn-group] .mt-group-badge,.mt-card.turn-contact h3,.turn-group-contact .mt-label){color:color-mix(in srgb,var(--turn-accent,#73a4ff) 78%,white)!important;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) .mt :is([data-turn-group] .mt-btn,.turn-contact .mt-btn,.turn-group-contact .mt-btn){background:#071a3d!important;border-color:var(--turn-accent,#73a4ff)!important;color:color-mix(in srgb,var(--turn-accent,#73a4ff) 78%,white)!important;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) .turn-contact-tags span{border-color:var(--tag-color,#73a4ff)!important;color:color-mix(in srgb,var(--tag-color,#73a4ff) 78%,white)!important;background:#071a3d!important;}
/* Karate: the four established discipline accents remain distinct. */
.mk-card.mk-karate{--karate-accent:#81b9ff;}
.mk-card.mk-kumite{--karate-accent:#f5a6ad;}
.mk-card.mk-kobudo{--karate-accent:#edcf8d;}
.mk-card.mk-taichi{--karate-accent:#8fe5bc;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) :is(.karate-sparte,.mk-card.mk-karate,.mk-card.mk-kumite,.mk-card.mk-kobudo,.mk-card.mk-taichi){border-top:5px solid var(--karate-accent,#81b9ff)!important;border-radius:16px!important;}
html body:not(#mosella-color-a):not(#mosella-color-b):not(#mosella-color-c) :is(.karate-sparte h3,.mk-card.mk-karate h3,.mk-card.mk-kumite h3,.mk-card.mk-kobudo h3,.mk-card.mk-taichi h3){color:var(--karate-accent,#81b9ff)!important;}
/* Compact mascot, readable speech bubble. No assistant logic is changed. */
html body:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) .tusmo-launcher[aria-expanded="false"]>span{display:block!important;position:absolute!important;right:calc(100% + 8px)!important;left:auto!important;top:12px!important;width:170px!important;max-width:calc(100vw - 100px)!important;padding:12px 14px!important;border:1px solid #9cb7dc!important;border-radius:12px!important;background:white!important;color:#142a48!important;box-shadow:0 5px 25px #0003!important;text-align:center!important;line-height:1.45!important;white-space:normal!important;transform:none!important;opacity:1!important;visibility:visible!important;}
html body:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) .tusmo-launcher[aria-expanded="false"]>span strong{display:block!important;font:750 14px/1.45 Arial,sans-serif!important;color:#142a48!important;letter-spacing:0!important;text-transform:none!important;}
html body:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) .tusmo-launcher[aria-expanded="false"]>span small{display:block!important;font:400 13px/1.45 Arial,sans-serif!important;color:#385578!important;letter-spacing:0!important;text-transform:none!important;margin-top:3px!important;}
html body #mq-mobile-actions,html body .mosella-mobile-training{display:none!important;}
@media(max-width:767px){html body:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) .tusmo-launcher[aria-expanded="false"]>span{top:0!important;width:158px!important;max-width:calc(100vw - 90px)!important;padding:10px 12px!important;}html body:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) :is(main,#content,[data-elementor-type="wp-page"]) :is(a,button){overflow-wrap:break-word;}}
@media(prefers-reduced-motion:reduce){html body:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) :is(main,#content) img{transition:none!important;}}
/* Portrait frames must not mask heads or shoulders with circular cropping. */
html body:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) .mosella-kontakt-bild{margin-left:auto!important;margin-right:auto!important;}
html body:not(#mosella-center-a):not(#mosella-center-b):not(#mosella-center-c) .mosella-kontakt-bild img{display:block!important;--mosella-image-position:center!important;}

