/*
Theme Name: Clarenbach 2027
Description: Eigenständiges Gemeindetheme der Ev. Clarenbach-Gemeinde Köln-West. Enthält die Kadence-1.5.2-Basis und die visuellen Clarenbach-Gutenberg-Erweiterungen.
Version: 1.4.1
Author: Ev. Clarenbach-Gemeinde Köln-West; Kadence WP (Basis)
License: GNU General Public License v3.0 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Text Domain: kadence
Requires at least: 6.3
Requires PHP: 7.4
Update URI: false
*/
/* Source Sans 3, Adobe: locally hosted variable fonts (SIL Open Font License).
   Source and license: fonts/LICENSE-Source-Sans-3.md */
@font-face {
  font-family:'Source Sans 3';
  src:url('fonts/source-sans-3-upright.woff2') format('woff2');
  font-style:normal;
  font-weight:200 900;
  font-display:swap;
}
@font-face {
  font-family:'Source Sans 3';
  src:url('fonts/source-sans-3-italic.woff2') format('woff2');
  font-style:italic;
  font-weight:200 900;
  font-display:swap;
}
:root { --cw-font:'Source Sans 3',sans-serif; --cw-ink:#595959; --cw-blue:#003770; --cw-soft:#e3e3e3; --cw-line:#e3e3e3; --cw-orange:#f7ab59; --cw-junkersdorf:#469cd0; --cw-red:#b51318; --cw-gray:#878787; }
body { color:var(--cw-ink); font-family:var(--cw-font); }
h1,h2,h3,h4,h5,h6,input,button,select,textarea,optgroup { font-family:var(--cw-font); }
.site-header { border-bottom:1px solid var(--cw-line); }
.entry-content { line-height:1.7; }
.entry-content h2 { color:var(--cw-blue); margin-top:2rem; }
.cw-hero { background:var(--cw-soft); border-radius:1.2rem; padding:clamp(1.5rem,4vw,3.5rem); margin:0 0 2rem; }
.cw-hero h2 { margin-top:0; font-size:clamp(1.9rem,4vw,3rem); line-height:1.15; }
.cw-hero p { max-width:52rem; font-size:1.1rem; }
.cw-grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:1rem; margin:1.25rem 0 2rem; }
.cw-card { display:block; padding:1.25rem; border:1px solid var(--cw-line); border-radius:.8rem; color:var(--cw-ink); text-decoration:none; background:#fff; }
.cw-card:hover, .cw-card:focus { border-color:var(--cw-blue); box-shadow:0 4px 18px #00377017; }
.cw-card strong { display:block; color:var(--cw-blue); font-size:1.12rem; margin-bottom:.35rem; }
.cw-card p { margin:0; }
.cw-note { padding:1rem 1.25rem; border-left:4px solid var(--cw-blue); background:var(--cw-soft); }
.cw-news time { color:var(--cw-ink); font-size:.9rem; }
.cw-events { min-height:8rem; }
@media(max-width:600px) { .cw-hero { border-radius:.7rem; } .cw-grid { grid-template-columns:1fr; } }
.home .entry-header { display:none; }
.home .entry-hero { display:none; }
.home #primary { margin-top:clamp(1.5rem,4vw,3rem); }
.cw-hero h1 { color:var(--cw-blue); font-size:clamp(2rem,4vw,3rem); line-height:1.15; margin:.4rem 0 1rem; }
.entry-content > .cw-grid:not(.cw-news) { grid-template-columns:repeat(3,minmax(0,1fr)); }
.cw-eyebrow { color:var(--cw-blue); font-size:.85rem!important; font-weight:700; letter-spacing:.08em; text-transform:uppercase; }
.cw-hero h2 { margin:.4rem 0 1rem; }
.cw-actions { display:flex; flex-wrap:wrap; gap:.65rem; margin-top:1.5rem; }
.cw-actions a:where(:not(.cnl-signup a)) { display:inline-block; padding:.65rem 1rem; border-radius:.4rem; background:var(--cw-blue); color:#fff!important; text-decoration:none; font-weight:700; }
.cw-actions a:where(:not(.cnl-signup a)):hover,.cw-actions a:where(:not(.cnl-signup a)):focus { background:var(--cw-blue); }
.cw-newsletter-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:.65rem;max-width:100%}
.cw-newsletter-actions>.cnl-popup{min-width:0}
@media(max-width:700px){.cw-newsletter-actions,.cw-newsletter-actions>.cnl-popup,.cw-newsletter-actions>.cnl-popup>[data-cnl-open]{width:100%}}
.cw-grid { align-items:stretch; }
.cw-card { display:flex; flex-direction:column; gap:.45rem; min-height:8.25rem; }
.cw-card span { display:block; line-height:1.5; }
.cw-card strong { margin-bottom:0; }
.cw-sources { margin:2.5rem 0 0; border-top:1px solid var(--cw-line); padding-top:.85rem; font-size:.9rem; }
.cw-sources summary { cursor:pointer; color:var(--cw-blue); font-weight:700; }
.cw-sources li { overflow-wrap:anywhere; }
.cw-photo { margin:1.5rem 0 2rem; max-width:850px; }
.cw-photo-portrait { max-width:520px; }
.cw-location-image { width:100%; height:auto; max-height:32rem; object-fit:cover; border-radius:.7rem; }
.cw-photo-portrait .cw-location-image { object-fit:contain; max-height:38rem; background:var(--cw-soft); }
.cw-photo figcaption { margin-top:.45rem; color:var(--cw-ink); font-size:.78rem; line-height:1.45; }
.cw-photo figcaption a { color:inherit; text-decoration:underline; }
.entry-content address { font-style:normal; padding:1rem 1.25rem; border-left:4px solid var(--cw-blue); background:var(--cw-soft); max-width:34rem; line-height:1.75; }
.entry-content h2 { scroll-margin-top:2rem; }
.entry-content p,.entry-content li { overflow-wrap:break-word; }
.single-post .posted-by { display:none; }
@media(max-width:700px){.cw-grid,.entry-content > .cw-grid:not(.cw-news){grid-template-columns:1fr;}.cw-card{min-height:0;}.cw-actions a:where(:not(.cnl-signup a)){width:100%;text-align:center;}.cw-photo{margin-inline:0;}}

.cw-home-top{display:grid;grid-template-columns:minmax(0,var(--cw-home-intro-ratio,1.85fr)) minmax(300px,1fr);gap:1.1rem;align-items:stretch;margin-bottom:1.1rem}
.cw-home-intro{background:var(--cw-soft);border-radius:1rem;padding:clamp(1.5rem,3.5vw,3rem)}
.cw-home-intro h1{color:var(--cw-blue);font-size:clamp(2rem,4vw,3rem);line-height:1.15;margin:.45rem 0 1.2rem}
.cw-home-intro p{max-width:47rem}
.cw-upcoming{border:1px solid var(--cw-line);border-radius:1rem;padding:1.35rem;background:#fff}
.cw-upcoming h2{font-size:1.5rem;margin:.2rem 0 1rem}
.cw-next-list{list-style:none;padding:0!important;margin:0!important}
.cw-next-list li{display:flex;gap:.8rem;padding:.8rem 0;border-top:1px solid var(--cw-line);align-items:flex-start}
.cw-next-list time{flex:0 0 4.1rem;border-radius:.4rem;background:var(--cw-soft);padding:.35rem .2rem;text-align:center;color:var(--cw-blue);line-height:1.25;font-size:.85rem}
.cw-next-list time span,.cw-next-list time b,.cw-next-list strong,.cw-next-list small{display:block}
.cw-next-list strong{font-size:.94rem;line-height:1.35;color:var(--cw-ink)}
.cw-next-list small{color:var(--cw-ink);margin-top:.25rem;line-height:1.35}
/* Optional compact dates; shared by frontend and Gutenberg server preview. */
.cw-next-list-inline li{gap:.5rem;align-items:baseline;flex-wrap:wrap}
.cw-next-list-inline time{display:inline-flex;gap:.4rem;align-items:baseline;flex:0 0 auto;width:auto;padding:.25rem .4rem}
.cw-next-list-inline time+div{flex:1 1 6rem;min-width:0;overflow-wrap:anywhere}
.cw-next-more{margin:.85rem 0 0!important;font-weight:700}
.cw-scene-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.7rem;margin:0 0 .3rem}
.cw-scene-grid a{position:relative;display:block;overflow:hidden;border-radius:.7rem;background:var(--cw-soft);min-height:13rem}
.cw-scene-image{display:block;width:100%;height:13rem;object-fit:cover;transition:transform .2s ease}
.cw-scene-grid a:hover .cw-scene-image,.cw-scene-grid a:focus .cw-scene-image{transform:scale(1.035)}
.cw-scene-grid span{position:absolute;bottom:0;left:0;right:0;background:linear-gradient(transparent,#003770e6);color:#fff;padding:1.2rem .85rem .65rem;font-weight:700;text-shadow:0 1px 2px #0008}
.cw-image-credit{font-size:.75rem;color:var(--cw-ink);margin:.35rem 0 1.8rem!important}
.cw-home-discover{display:flex;flex-wrap:wrap;gap:.6rem;margin:0 0 2rem}
.cw-home-discover a{border-radius:.5rem;padding:.7rem .9rem;background:var(--cw-soft);color:var(--cw-blue);font-weight:700;text-decoration:none}
.cw-home-discover a:hover,.cw-home-discover a:focus{background:var(--cw-soft);text-decoration:underline}
.cw-legacy-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1rem 0 2rem}
.cw-legacy-grid a{display:flex;flex-direction:column;gap:.4rem;border:1px solid var(--cw-line);border-radius:.75rem;padding:1rem;text-decoration:none;color:var(--cw-ink)}
.cw-legacy-grid a:hover,.cw-legacy-grid a:focus{border-color:var(--cw-blue);box-shadow:0 4px 18px #00377017}
.cw-legacy-logo{width:100%;height:5.5rem;object-fit:contain;object-position:left center;margin-bottom:.55rem}
.cw-legacy-grid strong{color:var(--cw-blue);font-size:1.12rem}
.cw-gallery{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:1rem;margin:1rem 0 2rem}
.cw-gallery .cw-photo,.cw-music-images .cw-photo{margin:0;max-width:none}
.cw-gallery .cw-location-image{height:220px;object-fit:cover}
.cw-gallery figcaption{display:none}
.cw-music-images{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0}
.cw-music-images .cw-location-image{height:250px;object-fit:cover}
.cw-photo-small{max-width:220px}
.cw-photo-small .cw-location-image{height:auto;max-height:none}
.cw-download{display:flex;flex-direction:column;gap:.4rem;border:1px solid var(--cw-line);background:var(--cw-soft);border-radius:.7rem;padding:1.25rem;max-width:42rem;margin:1.3rem 0}
.cw-download strong{color:var(--cw-blue);font-size:1.12rem}
.cw-download span{font-size:.9rem;color:var(--cw-ink)}
@media(max-width:900px){.cw-home-top{grid-template-columns:1fr}.cw-legacy-grid{grid-template-columns:1fr 1fr}}
@media(max-width:600px){.cw-home-intro,.cw-upcoming{padding:1.3rem}.cw-scene-grid{gap:.35rem}.cw-scene-grid a{min-height:8rem}.cw-scene-image{height:8rem}.cw-scene-grid span{font-size:.76rem;padding:.9rem .35rem .35rem}.cw-legacy-grid,.cw-music-images{grid-template-columns:1fr}.cw-gallery{grid-template-columns:1fr 1fr}.cw-gallery .cw-location-image{height:150px}}

/* Compact page titles and image-led current news. */
.entry-hero.page-hero-section .entry-header{min-height:0!important;height:auto;padding:1.05rem 0!important}
.entry-hero.page-hero-section .entry-title{font-size:clamp(1.7rem,2.8vw,2.25rem);line-height:1.2;margin:0}
.page:not(.home) #primary{margin-top:1rem!important;margin-bottom:3rem!important}
.single-post #primary{margin-top:2rem!important;margin-bottom:3rem!important}
/* Page-title to content gap: halve both contributing spaces. */
body.page:not(.home):not(.cp-places-page) .entry-content-wrap{padding-top:1rem}
@media(max-width:767px){body.page:not(.home):not(.cp-places-page) .entry-content-wrap{padding-top:.75rem}}
.cw-news .cw-card{padding:0;overflow:hidden;gap:0}
.cw-news-image{display:block;width:100%;height:185px;object-fit:cover;background:var(--cw-soft)}
.cw-news-copy{display:flex;flex-direction:column;gap:.4rem;padding:1.15rem 1.25rem 1.3rem;flex:1}
.single-post .content-wrap > .article-post-thumbnail{display:none!important}
.cw-article-photo{max-width:100%;margin:0 0 1.5rem;text-align:center}
.cw-article-photo img{display:block;width:auto;max-width:100%;max-height:700px;object-fit:contain;margin-inline:auto}
.cw-article-photo figcaption{text-align:left;font-size:.8rem;color:var(--cw-ink);margin-top:.35rem}
.cw-instagram{display:flex;flex-wrap:wrap;align-items:baseline;gap:.25rem .8rem;margin-top:1.3rem;font-size:.9rem;line-height:1.45}
.cw-instagram span{font-weight:700;color:var(--cw-blue)}
.cw-instagram a{color:var(--cw-blue);text-underline-offset:.16em}
.cw-letter-current{display:grid;grid-template-columns:minmax(140px,190px) minmax(0,1fr);gap:1.5rem;align-items:start;border:1px solid var(--cw-line);border-radius:.8rem;background:var(--cw-soft);padding:1.4rem;margin:1.5rem 0 2rem}
.cw-letter-current .cw-photo{margin:0;max-width:none}
.cw-letter-current .cw-location-image{height:auto;max-height:270px;object-fit:contain;border-radius:.35rem}
.cw-letter-current h2{margin:.1rem 0 .6rem}
.cw-primary-link{display:inline-block;border-radius:.4rem;padding:.7rem 1rem;background:var(--cw-blue);color:#fff!important;font-weight:700;text-decoration:none}
.cw-primary-link:hover,.cw-primary-link:focus{background:var(--cw-blue);color:#fff!important}
.cw-issue-list{list-style:none!important;padding:0!important;margin:1.2rem 0 2rem!important;max-width:54rem}
.cw-issue-list li{display:flex;justify-content:space-between;gap:1rem;align-items:baseline;border-bottom:1px solid var(--cw-line);padding:.7rem .2rem}
.cw-issue-list a{font-weight:600}
.cw-issue-list small{white-space:nowrap;color:var(--cw-ink)}
@media(max-width:600px){.entry-hero.page-hero-section .entry-header{padding:.9rem 0!important}.entry-hero.page-hero-section .entry-title{font-size:1.55rem}.page:not(.home) #primary{margin-top:.6rem!important}.single-post #primary{margin-top:1.2rem!important}.cw-letter-current{grid-template-columns:1fr}.cw-letter-current .cw-photo{max-width:180px}.cw-issue-list li{display:block}.cw-issue-list small{display:block;margin-top:.15rem}}

/* Full original logo including its wordmark. Only the transparent outer
   margin is removed from the displayed area; all logo artwork stays visible. */
#masthead .site-branding{padding-block:.5rem}
#masthead .site-branding a.brand{--cw-logo-width:150px;display:block;position:relative;flex:none;width:var(--cw-logo-width);height:calc(var(--cw-logo-width) * 1878 / 2990);overflow:hidden}
#masthead .site-branding a.brand::before{content:none}
#masthead .site-branding a.brand img.custom-logo{display:block;position:absolute;left:calc(var(--cw-logo-width) * -260 / 2990);top:calc(var(--cw-logo-width) * -260 / 2990);width:calc(var(--cw-logo-width) * 3508 / 2990)!important;max-width:none!important;height:auto!important;max-height:none!important}
.cw-header-social{display:flex;align-items:center;gap:.3rem;margin-left:.45rem;flex:0 0 auto}
.cw-header-social a{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border-radius:.45rem;color:#fff;text-decoration:none;transition:transform .16s ease,box-shadow .16s ease}
.cw-header-social .cw-social-instagram{background:linear-gradient(145deg,#7341b7,#bf3c91 55%,#f09036)}
.cw-header-social .cw-social-facebook{background:#1877f2}
.cw-header-social a:hover,.cw-header-social a:focus-visible{color:#fff;transform:translateY(-2px);box-shadow:0 3px 8px #4b314a55;outline-offset:2px}
.cw-topic-grid .cw-card{padding:0;gap:0;min-height:0;overflow:hidden}
.cw-topic-grid .cw-scene-image{width:100%;height:145px;object-fit:cover;transition:transform .2s ease}
.cw-topic-grid .cw-card:hover .cw-scene-image,.cw-topic-grid .cw-card:focus .cw-scene-image{transform:scale(1.035)}
.cw-topic-copy{padding:1rem 1.15rem 1.25rem;flex:1}
.cw-topic-grid .cw-card strong{font-size:1.1rem}
.cw-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.5rem 0 .7rem;align-items:start}
.cw-contact-card{border:1px solid var(--cw-line);border-radius:.85rem;overflow:hidden;background:#fff;min-width:0;scroll-margin-top:2rem;box-shadow:0 2px 12px #0037700d}
.cw-contact-image{position:relative}
.cw-contact-image .cw-scene-image{width:100%;height:145px;object-fit:cover}
.cw-contact-image .wp-block-image{margin:0}
.cw-contact-image figcaption{position:absolute;bottom:0;left:0;right:0;margin:0;padding:.3rem .55rem;background:rgba(255,255,255,.94);font-size:.75rem;line-height:1.45;color:var(--cw-ink);text-align:left;overflow-wrap:anywhere}
.cw-contact-image figcaption a{color:var(--cw-blue);text-decoration:underline}
.cw-contact-image figcaption a:focus-visible{outline:2px solid var(--cw-blue);outline-offset:2px}
.cw-contact-body{padding:1.15rem;display:flex;flex-direction:column;gap:0}
.cw-contact-body h2{margin:0 0 1rem;font-size:1.45rem}
.cw-contact-unit{padding:.9rem 0;border-top:1px solid var(--cw-line)}
.cw-contact-unit h3{font-size:1.05rem;color:var(--cw-blue);margin:0 0 .5rem}
.cw-contact-unit p{margin:.35rem 0 .7rem;line-height:1.55}
.cw-contact-actions{display:flex;flex-wrap:wrap;gap:.4rem;margin:.55rem 0}
.cw-contact-actions a,.cw-next-links a{display:inline-flex;align-items:center;border:1px solid var(--cw-line);border-radius:.5rem;background:var(--cw-soft);padding:.38rem .65rem;color:var(--cw-blue);font-weight:700;text-decoration:none;font-size:.87rem;line-height:1.3}
.cw-contact-actions a:hover,.cw-contact-actions a:focus,.cw-next-links a:hover,.cw-next-links a:focus{background:var(--cw-soft);border-color:var(--cw-blue)}
.cw-contact-mail{font-size:.83rem;color:var(--cw-ink);overflow-wrap:anywhere}
.cw-contact-location{display:block;margin-top:auto;padding-top:1rem;border-top:1px solid var(--cw-line);font-weight:700;font-size:.93rem}
.cw-next-links{display:flex;flex-wrap:wrap;gap:.5rem;margin:1rem 0 2rem}
.cw-offer-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;margin:1rem 0 1.8rem}
.cw-offer-card{border:1px solid var(--cw-line);border-radius:.75rem;background:#fff;padding:1.1rem 1.2rem;min-width:0;box-shadow:0 2px 9px #0037700b}
.cw-offer-card h3{font-size:1.13rem;color:var(--cw-blue);margin:0 0 .5rem}
.cw-offer-card p{margin:0;line-height:1.55}
.cw-offer-card a[href^="mailto:"],.cw-offer-card a[href^="tel:"]{display:inline-block;border-radius:.35rem;background:var(--cw-soft);padding:.08rem .34rem;margin:.08rem 0;color:var(--cw-blue);text-decoration:none;overflow-wrap:anywhere}
.cw-offer-card a[href^="mailto:"]:hover,.cw-offer-card a[href^="tel:"]:hover{background:var(--cw-soft);text-decoration:underline}
.cw-contact-mini-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;margin:1rem 0 1.8rem}
.cw-contact-mini-grid .cw-offer-card p{margin:.3rem 0 .6rem}
.cw-youth-grid .cw-offer-card h2{font-size:1.25rem;margin:0 0 .8rem}
.cw-youth-grid .cw-offer-card p+p{margin-top:.9rem}
.cw-contact-mini-grid .cw-offer-card a[href^="mailto:"],.cw-contact-mini-grid .cw-offer-card a[href^="tel:"]{overflow-wrap:anywhere}
@media(max-width:1100px){.cw-contact-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:850px){.cw-header-social{margin-left:.25rem}.cw-header-social a{width:27px;height:27px}.cw-header-social svg{width:17px;height:17px}}
@media(max-width:700px){.cw-contact-grid,.cw-offer-grid,.cw-contact-mini-grid{grid-template-columns:1fr}.cw-contact-image .cw-scene-image{height:190px}.cw-topic-grid .cw-scene-image{height:165px}}
@media(max-width:450px){#masthead .site-branding a.brand{--cw-logo-width:135px}.cw-header-social{gap:.12rem}.cw-header-social a{width:24px;height:24px}}
@media(max-width:360px){#mobile-header .site-container{padding-inline:1rem}#masthead .mobile-site-branding a.brand{--cw-logo-width:127.5px}#mobile-header .site-header-main-section-right{display:grid;grid-template-columns:42px 42px;justify-content:end;align-content:center;gap:.4rem 0;flex:0 0 84px;margin-left:.5rem}#mobile-header .cw-header-social{grid-column:1 / -1;justify-content:center;margin-left:0;gap:.5rem}#mobile-header .cw-header-search-toggle{margin-left:0}#mobile-header .mobile-toggle-open-container{justify-content:center}}

/* Visual navigation on the inside pages: place photos where they tell the
   reader something, original line symbols for the abstract topics. */
.cw-photo-card{padding:0;gap:0;overflow:hidden;min-height:0}
.cw-photo-card .cw-scene-image{display:block;width:100%;height:142px;object-fit:cover;transition:transform .2s ease}
.cw-photo-card:hover .cw-scene-image,.cw-photo-card:focus-visible .cw-scene-image{transform:scale(1.035)}
.cw-photo-card>strong{padding:.95rem 1.15rem .15rem}
.cw-photo-card>span:not(.cw-card-symbol){padding:0 1.15rem 1.15rem}
.cw-photo-card .cw-card-credit{display:block;margin:.25rem 1.15rem 0;color:var(--cw-ink);font-size:.72rem}
.cw-icon-card{position:relative;padding:1.15rem 1.15rem 1.15rem 4.35rem;min-height:7.7rem}
.cw-card-symbol,.cw-offer-icon{display:inline-flex;align-items:center;justify-content:center;flex:none;color:var(--cw-blue);background:var(--cw-soft);border-radius:.62rem}
.cw-card-symbol{position:absolute;left:1.1rem;top:1.2rem;width:2.45rem;height:2.45rem}
.cw-card-symbol svg,.cw-offer-icon svg{width:1.45rem;height:1.45rem}
.cw-team-entry{grid-template-columns:minmax(0,34rem)!important;margin:1.25rem 0 2rem}
.cw-team-entry .cw-card{min-height:0}
.cw-album-index .cw-card{min-height:0}
.cw-album-index .cw-scene-image{height:190px}
.cw-album-index .cw-card>span{padding-bottom:1.1rem;color:var(--cw-ink);font-size:.9rem}
.cw-album-meta{color:var(--cw-ink);font-weight:600}
.cw-album-back{margin-bottom:.4rem}
.cw-album-gallery:has(>.cw-photo:first-child:nth-last-child(n+2):nth-last-child(-n+4)){grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}
.cw-album-gallery .cw-photo{margin:0}
.cw-album-gallery .cw-photo>a{display:block;line-height:0;border-radius:.7rem;overflow:hidden}
.cw-album-gallery .cw-photo>a:focus-visible{outline:3px solid var(--cw-blue);outline-offset:3px}
.cw-album-gallery .cw-photo figcaption{display:block}
.cw-album-gallery:has(>.cw-photo:first-child:nth-last-child(n+2):nth-last-child(-n+4)) .cw-location-image{object-fit:contain;background:var(--cw-soft)}
.cw-album-gallery>.cw-photo:only-child{grid-column:1/-1}
.cw-album-gallery>.cw-photo:only-child>a{width:100%;max-width:64rem}
.cw-album-gallery>.cw-photo:only-child .cw-location-image{display:block;width:100%;max-width:64rem;height:auto;max-height:none;object-fit:contain}
@media(min-width:1260px){.cw-album-gallery:has(>.cw-photo:first-child:nth-last-child(n+2):nth-last-child(-n+4)){grid-template-columns:repeat(5,minmax(0,1fr))}}
@media(max-width:600px){.cw-album-gallery:has(>.cw-photo:first-child:nth-last-child(n+2):nth-last-child(-n+4)){grid-template-columns:repeat(2,minmax(0,1fr))}}
.cw-offer-card .cw-offer-icon{float:left;width:2.45rem;height:2.45rem;margin:0 .75rem .4rem 0}
.cw-offer-card h2,.cw-offer-card h3{min-height:2.45rem;display:flex;align-items:center}
.cw-offer-heading{display:flex;align-items:center;gap:.75rem;flex-wrap:nowrap}
.cw-offer-card .cw-offer-heading .cw-offer-icon{float:none;margin:0;flex-shrink:0}
.cw-offer-card .cw-offer-heading h2,.cw-offer-card .cw-offer-heading h3{display:block;min-height:0;min-width:0;flex:1;overflow-wrap:anywhere}
.cw-offer-card p{clear:both}
.entry-content a.cw-action-link{display:inline-flex!important;align-items:center;gap:.35rem;max-width:100%;border:1px solid var(--cw-line);border-radius:.48rem;background:var(--cw-soft);padding:.23rem .5rem;margin:.1rem .1rem .1rem 0;color:var(--cw-blue)!important;font-weight:700;font-size:.88em;line-height:1.25;text-decoration:none!important;vertical-align:baseline;overflow-wrap:anywhere;box-shadow:0 1px 2px #00377010}
.entry-content a.cw-action-link:hover,.entry-content a.cw-action-link:focus-visible{background:var(--cw-soft);border-color:var(--cw-blue);color:var(--cw-blue)!important;text-decoration:underline!important}
.cw-action-link svg{width:1rem;height:1rem;flex:none;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.cw-action-link span{min-width:0;overflow-wrap:anywhere}
.cw-contact-actions a.cw-action-link{font-size:.87rem}
.cw-download .cw-primary-link{max-width:max-content;margin-top:.35rem}
@media(max-width:700px){.cw-photo-card .cw-scene-image{height:170px}.cw-icon-card{min-height:0}}

/* Use the available desktop width while keeping long lines readable. */
:root{
  --global-content-width:1560px;
  --global-calc-content-width:calc(1560px - var(--global-content-edge-padding) - var(--global-content-edge-padding));
  --wp--style--global--content-size:var(--global-calc-content-width);
}
@media(min-width:1025px){
  #masthead .site-header-main-section-left{flex:0 0 auto}
  #masthead .site-header-main-section-right{min-width:0;flex:1}
  #masthead .site-header-item-main-navigation{min-width:0;flex:1}
  #masthead .main-navigation{width:100%;min-width:0}
  #masthead .main-navigation .primary-menu-container>ul>li.menu-item>a{font-size:18.75px!important;padding-left:.4em!important;padding-right:.4em!important;white-space:nowrap}
  #masthead .primary-menu-container>ul{flex-wrap:wrap;justify-content:flex-end;white-space:normal}
}
@media(min-width:1320px){
  #masthead .main-navigation .primary-menu-container>ul>li.menu-item>a{font-size:20px!important;padding-left:.45em!important;padding-right:.45em!important}
}
@media(min-width:1160px) and (max-width:1319px){
  #masthead .primary-menu-container>ul{display:grid;grid-template-columns:repeat(3,max-content);gap:0 .35rem;justify-content:flex-end}
}
/* Keep the smaller notebook range usable with the existing compact header. */
@media(min-width:1025px) and (max-width:1159px){
  #main-header{display:none!important}
  #mobile-header{display:block!important}
}
@media(min-width:1200px){
  .entry-content>p,.entry-content>ul,.entry-content>ol{max-width:72rem}
}

/* People directory: one shared visual language across all three locations. */
.cw-team-intro{max-width:75ch}
.cw-team-nav{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.2rem 0 2.2rem}
.cw-team-nav a{display:inline-flex;padding:.45rem .75rem;border:1px solid var(--cw-line);border-radius:.5rem;background:var(--cw-soft);color:var(--cw-blue);font-weight:700;text-decoration:none}
.cw-team-nav a:hover,.cw-team-nav a:focus-visible{border-color:var(--cw-blue);text-decoration:underline}
.cw-team-section{margin:2.5rem 0;scroll-margin-top:2rem}
.cw-team-section>h2{margin:0 0 .35rem}
.cw-team-section>p{margin:.3rem 0 1.1rem}
.cw-person-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.85rem;margin:1rem 0 1.7rem}
.cw-person-card{display:grid;grid-template-columns:112px minmax(0,1fr);gap:.85rem;align-items:start;min-width:0;padding:.9rem;border:1px solid var(--cw-line);border-radius:.8rem;background:#fff;box-shadow:0 2px 10px #0037700b}
.cw-person-visual{width:112px;min-width:0}
.cw-person-visual img,.cw-person-symbol{display:block;width:112px;height:112px;border-radius:.55rem;object-fit:cover;object-position:center 30%;background:var(--cw-soft)}
.cw-person-symbol{display:flex;align-items:center;justify-content:center;color:var(--cw-blue)}
.cw-person-symbol svg{width:3.5rem;height:3.5rem;fill:none;stroke:currentColor;stroke-width:1.4;stroke-linecap:round;stroke-linejoin:round}
.cw-person-credit{display:block;margin:.25rem 0 0;color:var(--cw-ink);font-size:.67rem;line-height:1.2}
.cw-person-copy{min-width:0}
.cw-person-copy h3{margin:.05rem 0 .25rem;font-size:1.13rem;line-height:1.3;color:var(--cw-blue)}
.cw-person-role{margin:0 0 .55rem!important;font-size:.91rem;line-height:1.4;color:var(--cw-ink)}
.cw-person-actions{display:flex;flex-wrap:wrap;gap:.25rem .35rem;align-items:flex-start}
.cw-person-actions a{font-size:.8rem!important}
.cw-person-actions .cw-action-link{margin:0!important}
.cw-team-details{border-top:1px solid var(--cw-line);padding-top:1rem}
.cw-team-details>summary{cursor:pointer;display:list-item;color:var(--cw-blue);font-weight:700;font-size:1.28rem;padding:.25rem 0}
.cw-team-details[open]>summary{margin-bottom:.8rem}
.cw-team-details>p{max-width:75ch}
@media(max-width:1159px){.cw-person-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.cw-person-grid{grid-template-columns:1fr}.cw-person-card{grid-template-columns:90px minmax(0,1fr)}.cw-person-visual,.cw-person-visual img,.cw-person-symbol{width:90px}.cw-person-visual img,.cw-person-symbol{height:90px}.cw-person-symbol svg{width:2.8rem;height:2.8rem}}

/* Volunteer page: two clear contact routes, consistent offers and a compact form. */
.cw-volunteer-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem;margin:1.5rem 0 2.5rem}
.cw-volunteer-path{min-width:0;padding:1.25rem;border:1px solid var(--cw-line);border-radius:.8rem;background:var(--cw-soft)}
.cw-volunteer-path h2{font-size:1.35rem;margin:0 0 .55rem}
.cw-volunteer-path p{margin:0 0 1rem}
.cw-volunteer-path .cw-next-links{margin:.7rem 0 0}
.cw-volunteer-path .cw-volunteer-button .wp-block-button__link{padding:.7rem 1rem;border:0;border-radius:.4rem;background:var(--cw-blue);color:#fff;font-family:inherit;font-size:1rem;font-weight:700;line-height:1.7;text-decoration:none}
.cw-volunteer-path .cw-volunteer-button .wp-block-button__link:hover{text-decoration:underline;text-underline-offset:.15em;box-shadow:0 0 0 2px var(--cw-blue)}
@media(min-width:1160px){
    .cw-volunteer-paths:has(>.cw-volunteer-action-path){grid-template-rows:auto 1fr auto}
    .cw-volunteer-paths>.cw-volunteer-coordinator{grid-row:span 3}
    .cw-volunteer-paths>.cw-volunteer-action-path{display:grid;grid-template-rows:subgrid;grid-row:span 3}
    .cw-volunteer-action-path>.wp-block-buttons{align-self:stretch;display:flex;align-items:stretch}
    .cw-volunteer-action-path .cw-volunteer-button{display:flex;align-self:stretch}
    .cw-volunteer-action-path .cw-volunteer-button .wp-block-button__link{display:flex;align-items:center}
}
.cw-volunteer-coordinator-head{display:grid;grid-template-columns:110px minmax(0,1fr);gap:1rem;align-items:start;margin-bottom:1rem}
.cw-volunteer-coordinator-photo{display:block;width:110px;height:auto;border-radius:.55rem}
.cw-volunteer-coordinator-head p:last-child{margin-bottom:0}
.cw-volunteer-coordinator .cw-eyebrow{margin:0 0 .25rem}
.cw-volunteer-coordinator .cw-contact-actions{margin:.5rem 0 1rem}
.cw-volunteer-coordinator .cw-contact-actions a{max-width:100%;overflow-wrap:anywhere}
.cw-volunteer-coordinator p:last-child{margin-bottom:0}
.cw-volunteer-offers .cw-offer-location{font-size:.82rem;font-weight:700;color:var(--cw-blue);margin:.15rem 0 .5rem}
.cw-volunteer-offers .cw-offer-card p:last-child{margin-top:.2rem}
.cw-volunteer-form-section{scroll-margin-top:2rem;max-width:56rem;margin:2.5rem 0 1.5rem;padding:clamp(1.25rem,3vw,2rem);border-radius:.9rem;background:var(--cw-soft)}
.cw-volunteer-form-section h2{margin:0 0 .45rem}
.cw-volunteer-form-section>.wpcf7{margin-top:1.4rem}
.cw-volunteer-form-fields p{margin:0 0 1rem}
.cw-volunteer-form-section .wpcf7-form label{font-weight:600}
.cw-volunteer-form-section .wpcf7 input[type=text],.cw-volunteer-form-section .wpcf7 input[type=email],.cw-volunteer-form-section .wpcf7 input[type=tel],.cw-volunteer-form-section .wpcf7 textarea{display:block;width:100%;max-width:100%;margin-top:.35rem;padding:.65rem .75rem;border:1px solid var(--cw-blue);border-radius:.4rem;background:#fff;color:var(--cw-ink);font:inherit}
.cw-volunteer-form-section .wpcf7 textarea{resize:vertical}
.cw-volunteer-form-section .wpcf7 input:focus-visible,.cw-volunteer-form-section .wpcf7 textarea:focus-visible,.cw-volunteer-form-section .wpcf7 button:focus-visible,.cw-volunteer-form-section .wpcf7 input[type=submit]:focus-visible,.cw-volunteer-path a:focus-visible{outline:3px solid var(--cw-blue);outline-offset:3px}
.cw-volunteer-choices{border:0;padding:0;margin:1.6rem 0}
.cw-volunteer-choices legend{font-weight:700;font-size:1.05rem;padding:0}
.cw-volunteer-choices>p{font-size:.9rem;margin:.25rem 0 .75rem}
.cw-volunteer-choices .wpcf7-checkbox{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem .75rem}
.cw-volunteer-choices .wpcf7-list-item,.cw-volunteer-consent .wpcf7-list-item{display:block;margin:0}
.cw-volunteer-choices .wpcf7-list-item label,.cw-volunteer-consent .wpcf7-list-item label{display:flex;align-items:flex-start;gap:.55rem;min-width:0;cursor:pointer;font-weight:400}
.cw-volunteer-choices .wpcf7-list-item label{height:100%;padding:.6rem .7rem;border:1px solid var(--cw-line);border-radius:.45rem;background:#fff}
.cw-volunteer-form-section .wpcf7 input[type=checkbox]{flex:none;width:1.2rem;height:1.2rem;margin:.18rem 0 0;accent-color:var(--cw-blue)}
.cw-form-hint{display:block;font-size:.88rem;color:var(--cw-ink);margin:.25rem 0 .3rem}
.cw-volunteer-consent{margin:1.35rem 0;padding:1rem;border:1px solid var(--cw-line);border-radius:.5rem;background:#fff}
.cw-volunteer-consent a{text-decoration:underline;text-underline-offset:.15em}
.cw-form-required{font-size:.85rem;color:var(--cw-ink);margin:.5rem 0 1rem}
.cw-volunteer-form-section .wpcf7 input[type=submit]{background:var(--cw-blue);color:#fff;border:0;border-radius:.45rem;padding:.75rem 1.1rem;font-weight:700;cursor:pointer}
.cw-volunteer-form-section .wpcf7 input[type=submit]:hover{background:var(--cw-blue)}
.cw-volunteer-protection{max-width:56rem}
.cw-draft-notice{padding:1rem 1.25rem;border-left:4px solid var(--cw-orange);border-radius:.3rem;background:var(--cw-soft)}
@media(max-width:700px){.cw-volunteer-paths,.cw-volunteer-choices .wpcf7-checkbox{grid-template-columns:1fr}.cw-volunteer-form-section{padding:1.25rem}}
@media(max-width:390px){.cw-volunteer-coordinator-head{grid-template-columns:84px minmax(0,1fr);gap:.75rem}.cw-volunteer-coordinator-photo{width:84px}}

/* Pastoral care contacts: one portrait and the relevant contact routes per person. */
.cw-seelsorge-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1.25rem 0 2rem}
.cw-seelsorge-card{display:flex;flex-direction:column;min-width:0;padding:1.25rem;border:1px solid var(--cw-line);border-radius:.85rem;background:#fff;box-shadow:0 2px 12px #0037700d}
.cw-seelsorge-card-head{display:grid;grid-template-columns:116px minmax(0,1fr);gap:.9rem;align-items:center;min-width:0}
.cw-seelsorge-photo{display:block;width:116px;height:116px;object-fit:cover;object-position:center 28%;border-radius:.65rem;background:var(--cw-soft)}
.cw-seelsorge-site{margin:0 0 .3rem;font-size:.8rem;font-weight:700;line-height:1.35;color:var(--cw-blue)}
.cw-seelsorge-card h3{margin:0 0 .2rem;font-size:1.2rem;line-height:1.25;color:var(--cw-blue)}
.cw-seelsorge-role{margin:0;font-size:.9rem;color:var(--cw-ink)}
.cw-seelsorge-actions{display:flex;flex-direction:column;align-items:flex-start;gap:.45rem;margin-top:auto;padding-top:1rem}
.cw-seelsorge-actions a{max-width:100%;overflow-wrap:anywhere}
.cw-seelsorge-actions a:focus-visible{outline:3px solid var(--cw-blue);outline-offset:3px}
@media(max-width:1100px){.cw-seelsorge-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.cw-seelsorge-grid{grid-template-columns:1fr}}
@media(max-width:390px){.cw-seelsorge-card-head{grid-template-columns:84px minmax(0,1fr);gap:.75rem}.cw-seelsorge-photo{width:84px;height:84px}}

/* Bildnachweise: jedes Bild bleibt auch auf schmalen Bildschirmen zuordenbar. */
.cw-credit-nav{display:flex;flex-wrap:wrap;gap:.5rem;margin:1.4rem 0 2rem}
.cw-credit-nav a{padding:.45rem .7rem;border:1px solid var(--cw-line);border-radius:.4rem;color:var(--cw-blue);text-decoration:none;font-weight:700;font-size:.9rem}
.cw-credit-nav a:hover,.cw-credit-nav a:focus-visible{border-color:var(--cw-blue);text-decoration:underline}
.cw-credit-section{scroll-margin-top:2rem;margin:2.5rem 0}
.cw-credit-section>h2{margin-bottom:.35rem}
.cw-credit-section>p{margin:.2rem 0 1rem;max-width:75ch}
.cw-credit-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.8rem;list-style:none;padding:0!important;margin:0!important}
.cw-credit-item{display:grid;grid-template-columns:96px minmax(0,1fr);gap:.8rem;align-items:start;min-width:0;padding:.8rem;border:1px solid var(--cw-line);border-radius:.65rem;background:#fff}
.cw-credit-image{display:block;width:96px;height:96px;overflow:hidden;border-radius:.4rem;background:var(--cw-soft)}
.cw-credit-image img{display:block;width:100%;height:100%;object-fit:cover}
.cw-credit-copy{min-width:0;font-size:.86rem;line-height:1.45;overflow-wrap:anywhere}
.cw-credit-copy>strong,.cw-credit-copy>span{display:block}
.cw-credit-copy>strong{font-size:.98rem;line-height:1.3;color:var(--cw-blue);margin-bottom:.35rem}
.cw-credit-copy>span+span{margin-top:.28rem}
.cw-credit-copy>span>strong{font-weight:700}
.cw-credit-copy a{overflow-wrap:anywhere}
.cw-credit-image:focus-visible,.cw-credit-copy a:focus-visible{outline:3px solid var(--cw-blue);outline-offset:3px}
@media(max-width:900px){.cw-credit-list{grid-template-columns:1fr}}
@media(max-width:430px){.cw-credit-item{grid-template-columns:72px minmax(0,1fr);gap:.6rem}.cw-credit-image{width:72px;height:72px}.cw-credit-copy{font-size:.82rem}}

/* Site search opens as a light row beneath the header. */
#masthead .cw-header-search-toggle{display:inline-flex;align-items:center;align-self:center;justify-content:center;flex:0 0 auto;width:42px;height:42px;margin-left:.2rem;padding:0;border:0;border-radius:.5rem;background:transparent;color:var(--cw-blue);cursor:pointer}
#masthead .cw-header-search-toggle:hover,#masthead .cw-header-search-toggle[aria-expanded="true"]{background:var(--cw-soft);color:var(--cw-blue)}
#masthead .cw-header-search-toggle:focus-visible{outline:3px solid var(--cw-blue);outline-offset:2px}
.cw-header-search-panel[hidden]{display:none!important}
.cw-header-search-panel{background:#fff;border-bottom:1px solid var(--cw-line);box-shadow:0 5px 14px #00377014}
.cw-header-search-inner{display:flex;justify-content:flex-end;padding-block:.8rem 1rem}
.cw-header-search-inner .cw-search-form{max-width:32rem;margin-left:auto}
.cw-search-form{width:100%;max-width:42rem}
.cw-search-label{display:block;margin:0 0 .45rem;font-weight:700;color:var(--cw-ink)}
.cw-search-controls{display:flex;gap:.6rem;align-items:stretch}
.cw-search-form .cw-search-controls .search-field{flex:1;min-width:0;width:100%;height:48px;margin:0;padding:.65rem .8rem;border:1px solid var(--cw-blue);border-radius:.45rem;background:#fff;color:var(--cw-ink);font:inherit}
.cw-search-form .cw-search-controls .cw-search-submit{position:static;flex:none;width:auto;min-height:48px;margin:0;padding:.65rem 1rem;border:0;border-radius:.45rem;background:var(--cw-blue);color:#fff;font:inherit;font-weight:700;cursor:pointer}
.cw-search-form .cw-search-controls .cw-search-submit:hover{background:var(--cw-blue)}
.cw-search-form .search-field:focus-visible,.cw-search-form .cw-search-submit:focus-visible,.cw-search-result a:focus-visible,.cw-search-scope a:focus-visible,.cw-search-empty a:focus-visible{outline:3px solid var(--cw-blue);outline-offset:3px}
.cw-search-form .kadence-search-icon-wrap{display:none!important}
.cw-search-page{max-width:58rem;margin-inline:auto;padding:clamp(1.5rem,3vw,2.5rem) 0 3rem}
.cw-search-header h1{font-size:clamp(1.8rem,3vw,2.5rem);line-height:1.2;margin:0 0 .5rem;color:var(--cw-blue);overflow-wrap:anywhere}
.cw-search-header>p{margin:.25rem 0 1.25rem}
.cw-search-scope{max-width:55rem;margin:1.5rem 0 2rem;padding:.9rem 1.1rem;border-left:4px solid var(--cw-blue);background:var(--cw-soft);font-size:.92rem}
.cw-search-count{margin:0 0 .8rem;font-weight:700;color:var(--cw-blue)}
.cw-search-results-list{display:grid;gap:.85rem;margin:0;padding:0;list-style:none}
.cw-search-result{padding:1.2rem 1.4rem;border:1px solid var(--cw-line);border-radius:.75rem;background:#fff}
.cw-search-type{display:block;margin-bottom:.3rem;color:var(--cw-ink);font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.04em}
.cw-search-result h2{margin:0 0 .5rem;font-size:1.25rem;line-height:1.3}
.cw-search-result h2 a{color:var(--cw-blue);text-decoration:underline;text-underline-offset:.14em}
.cw-search-result p{margin:0;line-height:1.6}
.cw-search-empty{padding:1.4rem;border:1px solid var(--cw-line);border-radius:.75rem;background:#fff}
.cw-search-empty h2{margin:0 0 .4rem;color:var(--cw-blue)}
.cw-search-empty>p{margin:.3rem 0 1.2rem}
.cw-search-empty ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.45rem .9rem;margin:0;padding:0;list-style:none}
.cw-search-empty li a{display:block;padding:.5rem .65rem;border-radius:.4rem;background:var(--cw-soft);color:var(--cw-blue);font-weight:700;text-decoration:none}
.cw-search-empty li a:hover{text-decoration:underline}
.cw-search-page .navigation.pagination{margin-top:1.75rem}
@media(max-width:700px){.cw-header-search-inner .cw-search-form{max-width:none;margin-left:0}}
@media(max-width:600px){.cw-search-controls{gap:.4rem}.cw-search-form .cw-search-controls .cw-search-submit{padding:.65rem .75rem}.cw-search-result{padding:1rem}.cw-search-empty{padding:1rem}.cw-search-empty ul{grid-template-columns:1fr}}

/* Corporate colors: locations remain named, so color is an additional cue. */
.cw-site-mark{display:inline-block;width:.55rem;height:.55rem;margin-right:.35rem;border-radius:50%;vertical-align:baseline}
input::placeholder,textarea::placeholder{color:var(--cw-ink);opacity:1}
.cw-site-mark--braunsfeld{background:var(--cw-orange)}
.cw-site-mark--junkersdorf{background:var(--cw-junkersdorf)}
.cw-site-mark--weiden{background:var(--cw-red)}
.cw-scene-grid a[href="/braunsfeld/"]{--cw-site-color:var(--cw-orange);border-top:4px solid var(--cw-orange)}
.cw-scene-grid a[href="/junkersdorf/"]{--cw-site-color:var(--cw-junkersdorf);border-top:4px solid var(--cw-junkersdorf)}
.cw-scene-grid a[href="/weiden-loevenich/"]{--cw-site-color:var(--cw-red);border-top:4px solid var(--cw-red)}
.page-id-18 .entry-hero{border-bottom:4px solid var(--cw-orange)}
.page-id-19 .entry-hero{border-bottom:4px solid var(--cw-junkersdorf)}
.page-id-20 .entry-hero{border-bottom:4px solid var(--cw-red)}
.cw-actions a:where(:not(.cnl-signup a)):hover,.cw-primary-link:hover,.cw-search-submit:hover,.cw-volunteer-form-section input[type=submit]:hover{text-decoration:underline;text-underline-offset:.15em;box-shadow:0 0 0 2px var(--cw-blue)}
.cw-header-social a:focus-visible{outline:3px solid var(--cw-blue);outline-offset:3px}
.cw-volunteer-form-section .wpcf7-not-valid-tip{color:var(--cw-red)}
.cw-volunteer-form-section .wpcf7 [aria-invalid="true"]{border-color:var(--cw-red)}
.cw-volunteer-form-section .wpcf7-response-output{color:var(--cw-ink);background:#fff}

/* Optional Gutenberg settings. Unset values keep the existing responsive design. */
@media(min-width:1160px){.cw-design-columns-desktop{grid-template-columns:repeat(var(--cw-design-columns-desktop),minmax(0,1fr))!important}}
@media(min-width:701px) and (max-width:1159px){.cw-design-columns-tablet{grid-template-columns:repeat(var(--cw-design-columns-tablet),minmax(0,1fr))!important}}
@media(max-width:700px){.cw-design-columns-mobile{grid-template-columns:repeat(var(--cw-design-columns-mobile),minmax(0,1fr))!important}}
.cw-design-gap{gap:var(--cw-design-gap)!important}
@media(min-width:701px){.cw-design-image-height-desktop{height:var(--cw-design-image-height-desktop)!important;max-height:none!important}}
@media(max-width:700px){.cw-design-image-height-mobile{height:var(--cw-design-image-height-mobile)!important;max-height:none!important}}
.cw-design-image-fit{object-fit:var(--cw-design-image-fit)!important}
.cw-volunteer-form-section .wpcf7 form.invalid .wpcf7-response-output,.cw-volunteer-form-section .wpcf7 form.unaccepted .wpcf7-response-output,.cw-volunteer-form-section .wpcf7 form.failed .wpcf7-response-output{border-color:var(--cw-red)}

/* Startpage controls preserve the approved defaults when fields are unset. */
.cw-scene-grid a.cw-design-site-border{border-top:var(--cw-site-border-width,4px) solid var(--cw-site-color,transparent)}
@media(min-width:701px){.cw-home-top.cw-design-home-stack-700{grid-template-columns:minmax(0,var(--cw-home-intro-ratio,1.85fr)) minmax(300px,1fr)}}
@media(max-width:700px){.cw-home-top.cw-design-home-stack-700{grid-template-columns:1fr}}
@media(max-width:1159px){.cw-home-top.cw-design-home-stack-1159{grid-template-columns:1fr}}
.cw-topic-copy:has(.cw-topic-title){line-height:1.5}
.cw-topic-copy .cw-topic-title{color:var(--cw-blue);font-size:1.1rem;font-weight:700;line-height:1.5;margin:0}
.cw-topic-copy .cw-topic-description{font-size:inherit;font-weight:400;line-height:1.5;margin:0}
.cw-home-news{margin-block:0 2rem}
.cw-home-news .cw-news{padding:0;margin-bottom:0;list-style:none}
.cw-home-news .cw-news>li{display:flex;flex-direction:column;margin:0;min-width:0}
.cw-home-news .cw-card{position:relative;height:100%;min-width:0}
.cw-home-news .wp-block-post-featured-image{margin:0;line-height:0}
.cw-home-news .wp-block-post-featured-image img{display:block;width:100%;height:185px;object-fit:cover;background:var(--cw-soft)}
.cw-home-news .wp-block-post-date{margin:0;font-size:.9rem;line-height:1.7;color:var(--cw-ink)}
.cw-home-news .wp-block-post-date time{display:block}
.cw-home-news .wp-block-post-title{margin:0;font-size:1.12rem;font-weight:700;line-height:1.7;color:var(--cw-blue)}
.cw-home-news .wp-block-post-title a{color:inherit;text-decoration:none}
.cw-home-news .wp-block-post-title a::after{position:absolute;inset:0;content:""}
.cw-home-news .wp-block-post-excerpt{margin:0;font-size:inherit;line-height:1.7}
.cw-home-news .wp-block-post-excerpt p{margin:0}
.cw-home-news .cw-card:has(a:hover),.cw-home-news .cw-card:has(a:focus){border-color:var(--cw-blue);box-shadow:0 4px 18px #00377017}
.cw-home-news .cw-card:has(a:hover) .wp-block-post-excerpt,.cw-home-news .cw-card:has(a:focus) .wp-block-post-excerpt{color:var(--cw-blue)}
.cw-home-news .wp-block-post-title a:focus-visible{outline:none}
.cw-home-news .wp-block-post-title a:focus-visible::after{outline:3px solid var(--cw-blue);outline-offset:3px;border-radius:.8rem}
/* External applications remain within the normal responsive content width. */
.cw-external-page{width:100%;max-width:100%;margin:0}
.cw-external-page-frame{display:block;width:100%;max-width:100%;border:0;background:#fff}
.cw-external-page-link{margin:.75rem 0 0;font-size:.95rem}


/* Registration pages: shared frontend/editor styling; RegiFair retains its own form logic. */
.cw-registration-pages{min-width:0;--wp-components-color-accent:var(--cw-blue);--wp-components-color-accent-darker-10:var(--cw-blue);--wp-components-color-accent-darker-20:var(--cw-blue)}
.cw-registration-pages .cw-registration-grid{grid-template-columns:repeat(2,minmax(0,1fr));align-items:start}
.cw-registration-pages .cw-registration-grid>.wp-block-group__inner-container{display:contents}
.cw-registration-pages .cw-registration-card{display:flex;flex-direction:column;gap:.8rem;min-width:0}
.cw-registration-pages .cw-registration-card>.wp-block-group__inner-container{display:contents}
.cw-registration-pages .cw-registration-card p,.cw-registration-pages .cw-registration-card h2{margin:0}
.cw-registration-pages .cw-offer-heading{margin:0;gap:.75rem}
.cw-registration-pages .cw-offer-heading h2{font-size:1.2rem;line-height:1.35}
.cw-registration-pages .cw-registration-meta{font-weight:700;color:var(--cw-blue)}
.cw-registration-pages .cw-registration-info{max-width:52rem;padding:1.1rem 1.3rem;border-left:4px solid var(--cw-blue);border-radius:.5rem;background:var(--cw-soft);margin:1.5rem 0}
.cw-registration-pages .cw-registration-info p{margin:0 0 .5rem}
.cw-registration-pages .cw-registration-info p:last-child{margin-bottom:0}
.cw-registration-pages .cw-registration-form{max-width:52rem;padding:clamp(1rem,3vw,2rem);margin:2rem 0;border:1px solid var(--cw-line);border-radius:.9rem;background:#fff;box-shadow:0 2px 9px #0037700b}
.cw-registration-pages .cw-registration-form h2{margin:0 0 .6rem}
.cw-registration-pages .cw-registration-form p{max-width:none;line-height:1.55}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form){font-family:var(--cw-font);font-size:1rem;line-height:1.5;--wp-components-color-accent:var(--cw-blue);--wp-components-color-accent-darker-10:var(--cw-blue);--wp-components-color-accent-darker-20:var(--cw-blue)}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) :is(input,select,textarea,button){font-family:inherit;font-size:1rem;line-height:1.4}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) :is(.components-base-control__label,.components-checkbox-control__label){font-size:1rem;line-height:1.45;text-transform:none;letter-spacing:normal;color:var(--cw-blue);overflow-wrap:anywhere}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .components-base-control__label{font-weight:600;margin-bottom:.4rem}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) :is(input[type=text],input[type=email],input[type=number],select,textarea){display:block;width:100%;max-width:100%;min-width:0;min-height:48px;height:auto;padding:.65rem .75rem;border:1px solid var(--cw-blue);border-radius:.4rem;background:#fff;color:var(--cw-ink);box-shadow:none}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .components-base-control__help{font-size:.9rem;line-height:1.5;color:var(--cw-ink);margin:.4rem 0 0!important;overflow-wrap:anywhere}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .components-base-control{margin:0 0 1.25rem}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .components-checkbox-control__label{font-weight:400}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .components-checkbox-control__input-container{flex:none;width:1.25rem;height:1.25rem;margin-top:.15rem}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) input[type=checkbox]{width:1.25rem;height:1.25rem;border:1px solid var(--cw-blue);border-radius:.2rem;accent-color:var(--cw-blue)}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .components-checkbox-control__input:checked{background:var(--cw-blue);border-color:var(--cw-blue)}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .components-checkbox-control__input:checked+svg{fill:#fff}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .components-button{min-height:44px;height:auto;padding:.7rem 1rem;border-radius:.45rem;font-weight:700;white-space:normal;text-align:center;justify-content:center}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .components-button.is-primary{background:var(--cw-blue);color:#fff}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .components-button.is-secondary{color:var(--cw-blue);background:#fff;box-shadow:inset 0 0 0 1px var(--cw-blue)}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) :is(input,select,textarea,button,a):focus-visible{outline:3px solid var(--cw-blue);outline-offset:3px;box-shadow:none}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .form-error,.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .error-text{color:var(--cw-red)}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .form-error input{border-color:var(--cw-red)!important}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .error-text{font-size:.9rem;line-height:1.45;margin:.4rem 0 1rem}
.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .components-notice{margin:1rem 0;padding:.8rem;background:var(--cw-soft);color:var(--cw-blue);border-left-color:var(--cw-blue)}
.cw-registration-pages .cw-registration-privacy{font-size:.9rem;margin-top:1.4rem}
.cw-registration-pages .cw-registration-contact{margin:2rem 0}
.cw-registration-pages a:not(.wp-block-button__link){color:var(--cw-blue);text-decoration:underline;text-underline-offset:.15em;overflow-wrap:anywhere}
@media(max-width:700px){.cw-registration-pages .cw-registration-grid{grid-template-columns:minmax(0,1fr)}.cw-registration-pages .cw-registration-form{padding:1rem}.cw-registration-pages .cw-registration-info{padding:1rem}.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .components-flex{min-width:0}.cw-registration-pages :is(.regi-fair-form,.wp-block-regi-fair-form) .components-checkbox-control__label{flex:1;min-width:0}}

/* Mitmachen: native core/details cards, scoped to this page's editable wrapper. */
.mitmachen-angebote .mitmachen-bereich{margin:2rem 0 2.5rem}
.mitmachen-angebote .mitmachen-bereich>h2{margin:0 0 1rem;color:var(--cw-blue)}
.mitmachen-angebote .mitmachen-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.85rem;align-items:start;margin:1rem 0 1.8rem}
.mitmachen-angebote .mitmachen-grid>.wp-block-group__inner-container{display:contents}
.mitmachen-angebote .mitmachen-kachel{min-width:0;min-height:0;height:auto;align-self:start;padding:0;margin:0;border:1px solid var(--cw-line);border-radius:.75rem;background:#fff;box-shadow:0 2px 9px #0037700b}
.mitmachen-angebote .mitmachen-kachel>summary{display:grid;grid-template-columns:2.45rem minmax(0,1fr) 1rem;align-items:center;gap:.75rem;box-sizing:border-box;min-height:44px;padding:1.1rem 1.2rem;list-style:none;cursor:pointer;color:var(--cw-blue);font-family:var(--cw-font);font-size:1.13rem;font-weight:700;line-height:1.45;overflow-wrap:anywhere}
.mitmachen-angebote .mitmachen-kachel>summary::-webkit-details-marker{display:none}
.mitmachen-angebote .mitmachen-kachel>summary::marker{content:""}
.mitmachen-angebote .mitmachen-kachel>summary::before{content:"";display:block;width:2.45rem;height:2.45rem;border-radius:.62rem;background-color:var(--cw-soft);background-image:var(--mitmachen-icon);background-repeat:no-repeat;background-position:center;background-size:1.45rem}
.mitmachen-angebote .mitmachen-kachel>summary::after{content:"";width:.55rem;height:.55rem;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);justify-self:center}
.mitmachen-angebote .mitmachen-kachel[open]>summary::after{transform:rotate(225deg)}
.mitmachen-angebote .mitmachen-kachel>summary:focus-visible{outline:3px solid var(--cw-blue);outline-offset:-4px;border-radius:.75rem}
.mitmachen-angebote .mitmachen-kachel p{clear:none;max-width:none;margin:0 1.2rem 1rem;line-height:1.55;overflow-wrap:anywhere}
.mitmachen-angebote .mitmachen-kachel .mitmachen-zeit{border-top:1px solid var(--cw-line);padding-top:.85rem}
.mitmachen-angebote .mitmachen-kachel p:last-child{margin-bottom:1.1rem}
.mitmachen-angebote .mitmachen-kontakt{padding:1.1rem 1.2rem;border:1px solid var(--cw-line);border-radius:.75rem;background:#fff;box-shadow:0 2px 9px #0037700b;margin:2rem 0 0}
.mitmachen-angebote .mitmachen-kontakt p{max-width:none;margin:0 0 1rem;line-height:1.55}
.mitmachen-angebote .mitmachen-kontakt p:last-child{margin-bottom:0}
.mitmachen-angebote a{color:var(--cw-blue);text-decoration:underline;text-underline-offset:.15em;overflow-wrap:anywhere}
.mitmachen-angebote a:focus-visible{outline:3px solid var(--cw-blue);outline-offset:3px}
@media(max-width:700px){.mitmachen-angebote .mitmachen-grid{grid-template-columns:minmax(0,1fr)}}
.mitmachen-angebote .mitmachen-icon-heart{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%2021%204%2013a5%205%200%200%201%207-7l1%201%201-1a5%205%200%200%201%207%207l-8%208Z%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-people{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%228%22%20cy%3D%227%22%20r%3D%222%22%2F%3E%3Ccircle%20cx%3D%2217%22%20cy%3D%228%22%20r%3D%222%22%2F%3E%3Cpath%20d%3D%22M5%2020v-5a3%203%200%200%201%206%200v5M14%2020v-5a3%203%200%200%201%206%200v5M4%2012l4-2%204%202m2%201%203-2%203%202%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-book{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%206c-3-2-6-2-9-1v14c3-1%206-1%209%201%203-2%206-2%209-1V5c-3-1-6-1-9%201Zm0%200v14%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-calendar{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%2010h16M6%204v4m12-4v4M5%206h14a2%202%200%200%201%202%202v11a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V8a2%202%200%200%201%202-2Z%22%2F%3E%3Cpath%20d%3D%22m9%2016%202%202%204-4%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-bell{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M12%203a4%204%200%200%200-4%204v2c0%202-1%203-2%205l-1%202h14l-1-2c-1-2-2-3-2-5V7a4%204%200%200%200-4-4Z%22%2F%3E%3Cpath%20d%3D%22M10%2020h4M5%2016h14%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-conversation{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M4%204h16v12H9l-5%204V4Z%22%2F%3E%3Cpath%20d%3D%22M8%208h8M8%2012h5%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-market{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%2010h18l-2-6H5l-2%206Zm1%200v10h16V10M9%2020v-6h6v6M8%204l-1%206m9-6%201%206%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-bus{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Crect%20x%3D%224%22%20y%3D%223%22%20width%3D%2216%22%20height%3D%2216%22%20rx%3D%223%22%2F%3E%3Cpath%20d%3D%22M4%2010h16M12%203v7M7%2019v2m10-2v2%22%2F%3E%3Ccircle%20cx%3D%228%22%20cy%3D%2215%22%20r%3D%221%22%2F%3E%3Ccircle%20cx%3D%2216%22%20cy%3D%2215%22%20r%3D%221%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-megaphone{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m3%209%2017-5v16L3%2015V9Zm5%207%202%205h4l-2-4M3%2012h5%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-brush{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m9%2014%209-11%203%203-11%209M9%2014c-3-2-5%200-5%203%200%202-1%203-2%204%204%200%208-1%208-4%200-1%200-2-1-3Z%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-globe{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Ccircle%20cx%3D%2212%22%20cy%3D%2212%22%20r%3D%229%22%2F%3E%3Cellipse%20cx%3D%2212%22%20cy%3D%2212%22%20rx%3D%224%22%20ry%3D%229%22%2F%3E%3Cpath%20d%3D%22M3%2012h18M5%207h14M5%2017h14%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-cross{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%203h6v6h6v6h-6v6H9v-6H3V9h6V3Z%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-music{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2018V5l11-2v13M9%209l11-2%22%2F%3E%3Cellipse%20cx%3D%226%22%20cy%3D%2218%22%20rx%3D%223%22%20ry%3D%222%22%2F%3E%3Cellipse%20cx%3D%2217%22%20cy%3D%2216%22%20rx%3D%223%22%20ry%3D%222%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-star{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m12%203%203%206%207%201-5%205%201%207-6-3-6%203%201-7-5-5%207-1%203-6Z%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-tools{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22m5%203%204%204-2%202-4-4v5l3%203%203-1%2010%2010%203-3L12%209l1-3-3-3H5Z%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-gift{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M3%208h18v4H3V8Zm2%204v9h14v-9M12%208v13%22%2F%3E%3Cpath%20d%3D%22M12%208C3%208%205%201%209%203l3%205Zm0%200c9%200%207-7%203-5l-3%205Z%22%2F%3E%3C%2Fsvg%3E")}
.mitmachen-angebote .mitmachen-icon-bulb{--mitmachen-icon:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23003770%22%20stroke-width%3D%221.7%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M9%2018h6M9%2021h6M8%2014a6%206%200%201%201%208%200l-1%204H9l-1-4Z%22%2F%3E%3C%2Fsvg%3E")}

/* Consistent photographic preview frames. Keep the same 4:3 image area within
   each responsive grid, regardless of the source photo's own dimensions. */
.cw-scene-image,
:is(.cw-scene-grid,.cw-topic-grid,.cw-photo-card,.cw-contact-image,.cw-album-index) .cw-scene-image,
.cw-news-image,
.cw-home-news .wp-block-post-featured-image img,
.cw-gallery:not(:where(.cw-album-gallery:has(>.cw-photo:only-child),[data-cw-album-count="1"])) .cw-location-image,
.cw-music-images .cw-location-image{
    display:block;
    width:100%;
    height:auto;
    max-height:none;
    aspect-ratio:4/3;
    object-fit:cover;
    flex-shrink:0;
}
.cw-scene-grid a{min-height:0}

/* A compact introduction on the start page; text and controls remain editable. */
.home #primary{margin-top:clamp(.75rem,2vw,1.5rem)}
.home .entry-content-wrap{padding-top:1rem}
.cw-home-intro{padding-block:1.5rem;align-self:stretch}
.entry-content .cw-home-intro>p{line-height:1.5;margin-top:0;margin-bottom:1rem}
.cw-home-intro .cw-actions{margin-top:1rem;gap:.585rem}
.cw-home-intro .cw-newsletter-actions{gap:.585rem}
.cw-home-intro .cw-actions a:where(:not(.cnl-signup a)),.cw-home-intro .cnl-popup>[data-cnl-open]{
    display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;
    font-size:.9em;line-height:1.7;padding:.585rem .9rem;min-height:44px;
}
@media(max-width:600px){.cw-home-intro{padding-block:1rem}}
@media(max-width:767px){.home .entry-content-wrap{padding-top:.75rem}}

/* More space between photographic cards; button groups and Events stay separate.
   Keep the former column thresholds (220/230px + 16px gap) even though the
   visible gap is now 48px, so wider spacing makes the photographs smaller. */
:is(.cw-grid,.cw-contact-grid):has(.cw-scene-image,.cw-news-image,.wp-block-post-featured-image),
.cw-gallery,.cw-music-images{gap:3rem}
.cw-scene-grid{gap:2.1rem}
.cw-gallery{
    --cw-gallery-columns:2;
    --cw-gallery-track:calc((100% - (var(--cw-gallery-columns) - 1) * 3rem) / var(--cw-gallery-columns) - .01px);
    grid-template-columns:repeat(auto-fit,minmax(var(--cw-gallery-track),1fr));
}
.cw-album-gallery:has(>.cw-photo:first-child:nth-last-child(n+2):nth-last-child(-n+4)){
    grid-template-columns:repeat(auto-fill,minmax(var(--cw-gallery-track),1fr));
}
@media(min-width:834px){.cw-gallery{--cw-gallery-columns:3}}
@media(min-width:1080px){.cw-gallery{--cw-gallery-columns:4}}
@media(min-width:1260px){
    .cw-album-gallery:has(>.cw-photo:first-child:nth-last-child(n+2):nth-last-child(-n+4)){--cw-gallery-columns:5}
}
@media(min-width:1326px){.cw-gallery{--cw-gallery-columns:5}}
/* News keep their regular card width even when a row contains fewer items.
   The same rules are mirrored into Gutenberg by the editor appearance layer. */
.cw-grid.cw-news{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1023px){.cw-grid.cw-news{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.cw-grid.cw-news{grid-template-columns:minmax(0,1fr)}}
.cw-home-news .wp-block-query-pagination{gap:1rem;margin-top:2rem;flex-wrap:wrap}
@media(max-width:600px){
    .cw-scene-grid{gap:1.05rem}
    .cw-scene-grid span{line-height:1.3;padding:.6rem .35rem .35rem}
}

/* Explicitly opened desktop submenus remain stable for touch and keyboard.
   The mobile drawer keeps its existing independent accordion behavior. */
.header-navigation.nav--toggle-sub li.cw-touch-open>ul.sub-menu{
    display:block;visibility:visible;opacity:1;transform:none;clip:auto;height:auto;overflow:visible;pointer-events:auto;
}
.header-navigation.nav--toggle-sub li.cw-menu-closed:not(.cw-touch-open)>ul.sub-menu{display:none}
.header-navigation .dropdown-nav-special-toggle:focus-visible{outline:2px solid var(--cw-blue);outline-offset:2px}
.wp-site-blocks .header-navigation.nav--toggle-sub[data-cw-touch-mode="true"] .dropdown-nav-special-toggle{
    pointer-events:auto;z-index:2;min-width:44px;right:0;
}

/* Startseite: drei dynamische Meldungen und Die Losungen als vierte Kachel.
   display:contents lässt die Query-Kinder am gemeinsamen Raster teilnehmen. */
.cw-home-updates{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;align-items:stretch;margin:1.25rem 0 1rem;min-width:0}
.cw-home-updates>.cw-home-news,.cw-home-updates .cw-home-news>.wp-block-post-template.cw-news{display:contents!important}
.cw-home-updates .cw-news>.wp-block-post{min-width:0;margin:0;display:flex;align-items:stretch}
.cw-home-updates .cw-news>.wp-block-post>.cw-card{width:100%;min-width:0;height:auto;align-self:stretch}
:is(.cw-home-updates,.cw-news-archive) .cw-news-copy{padding:1rem;min-width:0}
:is(.cw-home-updates,.cw-news-archive) .wp-block-post-title{font-size:1.12rem;line-height:1.35;overflow-wrap:anywhere}
:is(.cw-home-updates,.cw-news-archive) .wp-block-post-excerpt{font-size:1rem;line-height:1.55}
.cw-home-updates .ctlos-card{height:auto;min-width:0}
@media(max-width:1199px){.cw-home-updates{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.cw-home-updates{grid-template-columns:minmax(0,1fr)}}
.cw-home-updates .cw-news>.wp-block-post>.cw-card{flex:1}

/* Kompakter Startseitenkopf; Breiten und Außenabstände bleiben in Gutenberg einstellbar.
   Die optionale Gutenberg-Abstandseinstellung (.cw-design-gap) hat weiterhin Vorrang. */
@media(min-width:901px){.cw-home-top{column-gap:8px}}

@media(min-width:1200px){
    .cw-home-intro{padding-inline:1.25rem}
    .cw-home-intro .cw-actions{gap:8px}
    .cw-home-intro .cw-newsletter-actions{display:contents}
    .cw-home-intro .cw-actions a:where(:not(.cnl-signup a)),.cw-home-intro .cnl-popup>[data-cnl-open]{padding-inline:10px}
}

/* Kalender und rechte Meldungskachel teilen dieselbe Breite und rechte Spaltenkante. */
@media(min-width:1200px){
 .cw-home-top.cw-design-home-news-aligned{grid-template-columns:minmax(0,1fr) minmax(0,calc((100% - 36px)/4));column-gap:12px!important}
}
@media(min-width:901px) and (max-width:1199px){
 .cw-home-top.cw-design-home-news-aligned{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:12px!important}
}

/* The news archive uses the same card width, spacing and typography as home. */
.cw-news-archive .cw-grid.cw-news{grid-template-columns:repeat(4,minmax(0,1fr));gap:12px}
@media(max-width:1199px){.cw-news-archive .cw-grid.cw-news{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:700px){.cw-news-archive .cw-grid.cw-news{grid-template-columns:minmax(0,1fr)}}

/* Shared field focus for the public site and editable Gutenberg canvas.
   Keep a visible indicator for pointer and keyboard focus on text controls;
   checkboxes/radios use keyboard focus without a persistent click ring. */
:where(body:not(.wp-admin), .editor-styles-wrapper) :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), textarea, select):focus,
:where(body:not(.wp-admin), .editor-styles-wrapper) :is(input[type="checkbox"], input[type="radio"]):focus-visible {
    outline: 3px solid var(--cw-blue, #003770);
    outline-offset: 3px;
}
@media (forced-colors: active) {
    :where(body:not(.wp-admin), .editor-styles-wrapper) :is(input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]):not([type="reset"]):not([type="image"]), textarea, select):focus,
    :where(body:not(.wp-admin), .editor-styles-wrapper) :is(input[type="checkbox"], input[type="radio"]):focus-visible {
        outline-color: Highlight;
    }
}

/* Selectable news image format; mirrored into the Gutenberg canvas. */
.cw-home-news .cw-design-news-image-din img,
.wp-block-post-featured-image.cw-design-news-image-din img{display:block;width:100%;height:auto!important;max-height:none;aspect-ratio:1 / 1.41421356237!important;object-fit:contain!important;background:var(--cw-soft)}
.cw-home-news .cw-design-news-image-landscape img,
.wp-block-post-featured-image.cw-design-news-image-landscape img{display:block;width:100%;height:auto!important;max-height:none;aspect-ratio:4 / 3!important;object-fit:cover!important}
