/*
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.1.0
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 { 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:hover,.cw-actions a:focus { background:var(--cw-blue); }
.cw-newsletter-actions{display:flex;flex-wrap:wrap;align-items:stretch;gap:.65rem;max-width:100%}
.cw-modal-signup{min-width:0}
.cw-modal-signup-button{display:inline-block;margin:0;border:0;padding:.65rem 1rem;border-radius:.4rem;background:var(--cw-blue);color:#fff;font:inherit;font-weight:700;line-height:1.7;text-align:center;cursor:pointer}
.cw-modal-signup-button:hover{text-decoration:underline;text-underline-offset:.15em;box-shadow:0 0 0 2px var(--cw-blue)}
.cw-modal-signup-button:focus-visible,.cw-signup-dialog-close:focus-visible{outline:3px solid var(--cw-blue);outline-offset:3px}
.cw-signup-dialog{box-sizing:border-box;width:min(450px,calc(100% - 32px));max-width:none;max-height:calc(100dvh - 32px);margin:auto;padding:0;border:1px solid var(--cw-line);border-radius:.8rem;background:#fff;color:var(--cw-blue);box-shadow:0 16px 60px rgb(0 0 0 / 25%);overflow:hidden}
.cw-signup-dialog::backdrop{background:rgb(0 0 0 / 35%)}
.cw-signup-dialog-heading{display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:.65rem 1rem;border-bottom:1px solid var(--cw-line)}
.cw-signup-dialog .cw-signup-dialog-heading h2{margin:0;font-size:1.35rem;line-height:1.3;color:var(--cw-blue)}
.cw-signup-dialog-close{flex:none;display:grid;place-items:center;width:44px;height:44px;padding:0;border:0;border-radius:.4rem;background:var(--cw-soft);color:var(--cw-blue);font:inherit;font-size:2rem;line-height:1;cursor:pointer}
.cw-signup-dialog iframe{display:block;width:100%;height:min(420px,calc(100dvh - 120px));min-height:180px;margin:0;border:0;background:#fff}
@media(max-width:700px){.cw-newsletter-actions,.cw-newsletter-actions>.cw-modal-signup,.cw-modal-signup-button{width:100%}.cw-signup-dialog{width:calc(100% - 16px);max-height:calc(100dvh - 16px)}.cw-signup-dialog-heading{padding:.5rem .75rem}.cw-signup-dialog iframe{height:min(420px,calc(100dvh - 100px))}}
.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{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}
.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,.single-post #primary{margin-top:2rem!important;margin-bottom:3rem!important}
.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,.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: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;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))}
.cw-home-news .cw-news.cw-news-custom-columns{grid-template-columns:repeat(var(--cw-news-columns),minmax(0,1fr))}
.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}
@media(max-width:700px){.cw-home-news .cw-news,.cw-home-news .cw-news.cw-news-custom-columns{grid-template-columns:1fr}}
/* 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}
