/* Global Education Hub · gemeinsame Gestaltung · 17.11.2026 */
:root { --geh-gold:#cf9a35; --geh-ink:#34454f; --geh-paper:#f7f4ee; --geh-line:#e5ded1; }
body.site { font-family:Lato,Arial,sans-serif; color:var(--geh-ink); font-size:17px; line-height:1.7; }
body.site h1,body.site h2,body.site h3,body.site h4 { font-family:Merriweather,Georgia,serif!important; font-weight:400; line-height:1.3; }
body.site #sp-main-body a:not(.sppb-btn):not(.geh-impuls-button):focus-visible { outline:2px solid var(--geh-gold); outline-offset:4px; }
#sp-page-builder .sppb-addon-text-block .sppb-addon-content { color:var(--geh-ink)!important; font-family:Lato,Arial,sans-serif; font-size:17px; line-height:1.75; }
#sp-page-builder .sppb-addon-title { color:var(--geh-gold); }
#sp-page-builder .sppb-addon-text-block h3.sppb-addon-title { font-size:38px!important; line-height:1.3!important; margin-bottom:18px!important; }
#sp-page-builder .sppb-addon-text-block h4.sppb-addon-title { font-size:20px!important; line-height:1.5!important; }
#sp-page-builder .sppb-addon-text-block .sppb-addon-content p { margin-bottom:16px; }
#sp-page-builder .sppb-addon-text-block .sppb-addon-content h4 { color:var(--geh-ink)!important; font-family:Lato,Arial,sans-serif!important; font-size:18px!important; line-height:1.6!important; }
#sp-page-builder .sppb-addon-text-block .sppb-addon-content { max-width:900px; margin-left:auto; margin-right:auto; }
#sp-page-builder .sppb-addon-image-content h4,#sp-page-builder .sppb-addon-image-content h4 a { color:#fff!important; }
/* Newsletterbilder: flache Bildstreifen in allen Uebersichten. */
#sp-main-body img[alt*="Kompass mit Briefumschlag"],#sp-main-body img[src*="Kompass-Post"],#sp-main-body img[src*="kompass-post"] { display:block!important; width:100%!important; height:130px!important; max-height:130px!important; object-fit:cover!important; object-position:50% 55%!important; }
#sp-main-body .sppb-article-img-wrap:has(img[alt*="Kompass mit Briefumschlag"]),#sp-main-body .article-intro-image:has(img[alt*="Kompass mit Briefumschlag"]) { height:130px!important; min-height:0!important; overflow:hidden; }
#sp-page-builder .sppb-addon-article { border:1px solid var(--geh-line); background:#fff; border-radius:4px; overflow:hidden; }
#sp-page-builder .sppb-article-info-wrap { padding:22px!important; }
#sp-page-builder .sppb-addon-article h3 { font-size:24px!important; line-height:1.4!important; margin-bottom:12px!important; }
#sp-page-builder .sppb-addon-article h3 a { color:var(--geh-gold)!important; }
#sp-page-builder .sppb-article-meta { color:#66747b; font-size:13px; line-height:1.6; display:flex; flex-wrap:wrap; gap:6px 12px; margin-bottom:14px; }
#sp-page-builder .sppb-article-introtext { color:var(--geh-ink); font-size:16px; line-height:1.7; }
#sp-page-builder .sppb-readmore { color:var(--geh-ink)!important; text-decoration:underline; text-decoration-color:var(--geh-gold); text-underline-offset:4px; font-size:15px; }
#sp-page-builder .sppb-article-img-wrap img:not([alt*="Kompass mit Briefumschlag"]) { width:100%; height:210px; object-fit:cover; }
/* Themen-Einstiege. */
#sp-page-builder:is(.page-22,.page-23,.page-24,.page-25) #section-id-1511613808 { padding-top:64px!important; padding-bottom:64px!important; }
#sp-page-builder:is(.page-22,.page-23,.page-24,.page-25) #section-id-1511613808 h4 { font-size:38px!important; line-height:1.3!important; color:#fff!important; }
/* Einheitliche Impulskarten; die Originaltitelblaetter bleiben vollstaendig sichtbar. */
.geh-impuls-cover img { width:230px!important; max-width:100%!important; height:310px!important; object-fit:contain!important; border:1px solid var(--geh-line)!important; box-shadow:0 4px 15px #34454f12; }
.geh-impuls-title { font-family:Merriweather,Georgia,serif!important; color:var(--geh-gold)!important; font-size:34px!important; line-height:1.35!important; }
.geh-impuls-subtitle { color:var(--geh-ink)!important; font-weight:400!important; font-size:18px!important; }
.geh-impuls-label { color:#7a5861!important; font-size:14px!important; letter-spacing:.03em; }
.geh-impuls-button { background:var(--geh-gold)!important; color:#303030!important; font-size:16px!important; font-weight:600!important; padding:11px 20px!important; border-radius:4px!important; }
/* Joomla-Archive und Leseseiten. */
#sp-title .sp-page-title { background:var(--geh-paper)!important; padding:38px 0!important; border-bottom:1px solid var(--geh-line); }
#sp-title .sp-page-title h2,#sp-title .sp-page-title h3 { color:var(--geh-gold)!important; font-size:36px!important; }
#sp-title .breadcrumb,#sp-title .breadcrumb a,#sp-title .breadcrumb span { color:var(--geh-ink)!important; font-size:14px; }
body.view-category #sp-main-body { padding-top:44px; padding-bottom:60px; }
body.view-category .article-list .article { border:1px solid var(--geh-line); border-radius:4px; overflow:hidden; margin-bottom:30px; }
body.view-category .article-body { padding:24px!important; }
body.view-category .article-header h2 { font-size:27px!important; line-height:1.4!important; }
body.view-category .article-header h2 a { color:var(--geh-gold)!important; }
body.view-category .article-info { font-size:13px; color:#66747b; margin-bottom:14px; }
body.view-category .article-intro-image { float:none!important; width:100%!important; margin:0!important; }
body.view-category .article-intro-image img { width:100%!important; height:230px; object-fit:cover; }
body.view-category .article-introtext { font-size:17px; line-height:1.75; }
body.view-category .article-introtext > p:nth-of-type(n+3) { display:none; }
body.view-category .readmore a { color:var(--geh-ink); text-decoration:underline; text-decoration-color:var(--geh-gold); text-underline-offset:4px; }
body.view-article #sp-main-body { padding-top:48px; padding-bottom:70px; }
body.view-article .article-details { max-width:860px; margin:0 auto; }
body.view-article .article-details .article-header h1,body.view-article .article-details .article-header h2 { color:var(--geh-gold); font-size:36px; line-height:1.4; }
body.view-article .article-details .article-fulltext { font-size:18px; line-height:1.85; }
body.view-article .article-details .article-full-image img { width:100%; max-height:400px; object-fit:cover; }
/* Gemeinsamer heller Footer. */
#sp-bottom { background:var(--geh-paper)!important; color:var(--geh-ink)!important; padding:56px 0 42px!important; border-top:2px solid var(--geh-gold); }
#sp-bottom .sp-module-title { color:var(--geh-ink)!important; font-family:Lato,Arial,sans-serif!important; font-size:19px!important; font-weight:600!important; margin-bottom:20px!important; }
#sp-bottom p,#sp-bottom li,#sp-bottom label,#sp-bottom a { color:var(--geh-ink)!important; font-size:15px; line-height:1.7; }
#sp-bottom .sp-module { margin-bottom:28px; }
#sp-bottom .mod-menu li { margin-bottom:10px; }
#sp-bottom .brevo-label { font-size:14px!important; font-weight:600; }
#sp-bottom .brevo-gdpr-label,#sp-bottom label:has(input[type="checkbox"]) { font-size:13px!important; line-height:1.65!important; }
#sp-bottom label a { font-size:inherit!important; text-decoration:underline; text-decoration-color:var(--geh-gold); text-underline-offset:3px; }
#sp-bottom .brevo-form input[type="text"],#sp-bottom .brevo-form input[type="email"] { height:43px; border:1px solid #cbc3b6; border-radius:4px; font-size:15px; background:#fff; color:var(--geh-ink); }
#sp-bottom .brevo-form button[type="submit"] { background:var(--geh-gold)!important; color:#303030!important; border:0!important; border-radius:4px; font-weight:600; padding:11px 24px; font-size:15px; width:auto; }
#sp-bottom #sppb-addon-uB4glGo3pxrJhrZP-73wk li a { color:var(--geh-ink)!important; font-size:25px!important; }
#sp-footer { background:var(--geh-paper)!important; color:var(--geh-ink)!important; border-top:1px solid var(--geh-line); padding:22px 0!important; }
#sp-footer a,#sp-footer span,#sp-footer p { color:var(--geh-ink)!important; font-size:13px; }
@media(min-width:992px){ #offcanvas-toggler { display:none!important; } }
@media(max-width:767px){
 #sp-page-builder .sppb-addon-text-block h3.sppb-addon-title { font-size:29px!important; }
 #sp-page-builder:is(.page-22,.page-23,.page-24,.page-25) #section-id-1511613808 h4 { font-size:29px!important; }
 .geh-impuls-cover img { width:180px!important; height:245px!important; margin:0 auto; }
 .geh-impuls-title { font-size:27px!important; }
 #sp-title .sp-page-title h2,#sp-title .sp-page-title h3 { font-size:28px!important; }
 body.view-article .article-details .article-header h1,body.view-article .article-details .article-header h2 { font-size:28px!important; }
 body.view-article .article-details .article-fulltext { font-size:17px; }
 #sp-bottom { padding-top:38px!important; }
}

/* Helle Schrift auf den bebilderten Einstiegsflaechen. */
#sp-page-builder #section-id-1511613808 .sppb-addon-text-block .sppb-addon-content,#sp-page-builder #section-id-1519281382609 .sppb-addon-text-block .sppb-addon-content { color:#fff!important; }

/* Themenfelder: auch verlinkte Ueberschriften in Weiss. */
#sp-page-builder .overlay-image-title .sppb-addon-title,#sp-page-builder .overlay-image-title .sppb-addon-title a,#sp-page-builder .overlay-image-title .sppb-addon-title i {color:#fff!important;}

/* Lesbare soziale Verweise im Footer. */
#sp-bottom #sppb-addon-wrapper-uB4glGo3pxrJhrZP-73wk {width:100%!important;}
#sp-bottom #sppb-addon-uB4glGo3pxrJhrZP-73wk ul {display:flex!important;flex-direction:column;align-items:flex-start;gap:8px;}
#sp-bottom #sppb-addon-uB4glGo3pxrJhrZP-73wk li a {font-family:Lato,Arial,sans-serif!important;font-size:15px!important;line-height:1.6!important;color:#34454f!important;}
#sp-bottom #sppb-addon-uB4glGo3pxrJhrZP-73wk li a i {font-size:22px;margin-right:8px;}

/* Kuratierte Themenbeitraege und aeltere Impuls-Titelblaetter. */
#sp-page-builder .mod-articles-items {list-style:none;padding:0;margin:0 0 32px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:30px;}
#sp-page-builder .mod-articles-item {border:1px solid #e5ded1;border-radius:4px;overflow:hidden;padding:0;background:#fff;}
#sp-page-builder .mod-articles-item-content {display:flex;flex-direction:column;padding:22px;}
#sp-page-builder .mod-articles-item .article-intro-image {order:-1;float:none;margin:-22px -22px 20px;}
#sp-page-builder .mod-articles-item .article-intro-image img {display:block;width:100%;height:210px;object-fit:cover;}
#sp-page-builder .mod-articles-title {font-size:24px;line-height:1.4;margin:0 0 12px;}
#sp-page-builder .mod-articles-title a {color:#cf9a35;}
#sp-page-builder .mod-articles-item dl {font-size:13px;color:#66747b;}
#sp-main-body img[alt="Impulspaier"] {display:block;width:210px!important;height:300px!important;max-width:100%;object-fit:contain!important;margin:0 auto;box-shadow:0 4px 15px #34454f12;}
@media(max-width:767px){#sp-page-builder .mod-articles-items{grid-template-columns:1fr;}}

/* Vorrang vor aelteren seitenspezifischen Vorschauregeln. */
body.site #sp-main-body :is(#geh-impuls-oktober-2026,#geh-impuls-november-2026) .geh-impuls-cover img {width:230px!important;max-width:100%!important;height:310px!important;aspect-ratio:auto!important;object-fit:contain!important;border:1px solid #e5ded1!important;}
body.site #sp-main-body #sp-page-builder img[alt="Impulspaier"] {width:210px!important;height:300px!important;max-width:100%!important;aspect-ratio:auto!important;object-fit:contain!important;border:1px solid #e5ded1!important;}
@media(min-width:768px){body.site #sp-main-body :is(#geh-impuls-oktober-2026,#geh-impuls-november-2026) .geh-impuls-cover{flex:0 0 32%!important;max-width:32%!important;margin-right:0!important;}body.site #sp-main-body :is(#geh-impuls-oktober-2026,#geh-impuls-november-2026) .geh-impuls-text{flex:0 0 68%!important;max-width:68%!important;}}
body.view-article .article-details p{font-size:18px;line-height:1.8;}
body.view-article .article-details h2,body.view-article .article-details h3{font-size:27px;line-height:1.45;}
@media(max-width:767px){body.view-article .article-details p{font-size:17px;}body.site #sp-main-body :is(#geh-impuls-oktober-2026,#geh-impuls-november-2026) .geh-impuls-cover img{width:180px!important;height:245px!important;}}
