/*
Theme Name: SG WGW
Theme URI: https://sg-wgw.de/
Author: SG WGW
Description: Das Vereins-Theme der SG Westerburg / Gemünden / Willmenrod. Ein WordPress-Block-Theme mit klaren Seitenvorlagen und der Gestaltung des Website-Entwurfs 2026.
Version: 0.4.21
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: sgwgw
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root{--sg-navy:#142448;--sg-blue:#30467c;--sg-ink:#192744;--sg-muted:#647087;--sg-line:#dce1ea;--sg-light:#f4f6fa;--sg-width:1280px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0}a{transition:color .18s,background .18s}a:focus-visible,button:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #517ac1;outline-offset:5px}img{max-width:100%;height:auto}main{min-height:45vh}.wp-site-blocks>header,.wp-site-blocks>footer{margin-block-start:0}.wp-site-blocks{overflow-x:clip}.wp-block-post-content>*,.entry-content>*{margin-block-start:0}.wp-element-button{font-weight:700;text-decoration:none;border-radius:4px;line-height:1.35}.wp-block-buttons{gap:12px}.wp-block-button.is-style-outline>.wp-block-button__link{border:1px solid currentColor;padding:15px 23px}.wp-block-image{margin:0}.wp-block-image img{display:block}.sg-topbar{background:var(--sg-navy);color:#d7e1f5;padding:8px max(24px,calc((100vw - 1280px)/2));font-size:12px;font-weight:650;letter-spacing:.13em}.sg-topbar p{margin:0}.sg-header{background:#fff;border-bottom:1px solid var(--sg-line)}.sg-header-inner{max-width:var(--sg-width);margin:auto;padding:22px 28px;gap:24px}.sg-brand{gap:12px;flex-shrink:0}.sg-brand img{width:52px;height:52px;object-fit:contain}.sg-brand-name{font-size:24px!important;font-weight:800;letter-spacing:-.035em;margin:0!important;line-height:1.2}.sg-brand-tag{font-size:11px!important;letter-spacing:.09em;color:var(--sg-muted);margin:5px 0 0!important}.sg-header .wp-block-navigation{font-size:14px;font-weight:650;gap:25px}.sg-header .wp-block-navigation-item__content{text-decoration:none}.sg-header .wp-block-navigation-item__content:hover{color:var(--sg-blue)}.sg-header .wp-block-navigation .wp-block-navigation-item.sg-navigation-cta>a{padding:13px 20px;background:var(--sg-blue);color:#fff;border-radius:4px}.sg-section{padding:84px max(28px,calc((100vw - 1224px)/2))}.sg-section>*,.sg-section-inner{max-width:1224px;margin-left:auto;margin-right:auto}.sg-light{background:var(--sg-light)}.sg-eyebrow{font-size:12px!important;letter-spacing:.15em;text-transform:uppercase;font-weight:800;color:#446795;margin:0 0 18px!important}.sg-section h2{font-size:clamp(32px,4vw,54px);line-height:1.08;letter-spacing:-.045em;margin:0 0 24px}.sg-section-intro{max-width:660px;margin-bottom:36px;color:var(--sg-muted)}.sg-hero-wrap{background:var(--sg-light);padding:30px max(28px,calc((100vw - 1280px)/2)) 0}.sg-hero{gap:0!important;align-items:stretch!important;margin:0!important;background:var(--sg-navy);color:#fff;min-height:570px}.sg-hero-copy{padding:54px 54px 40px;display:flex;flex-direction:column;justify-content:center}.sg-hero .sg-eyebrow{color:#b7cee9}.sg-hero h1{font-size:clamp(50px,5.9vw,82px);line-height:.98;letter-spacing:-.055em;margin:0 0 26px;max-width:510px}.sg-hero-copy>p:not(.sg-eyebrow){margin-top:0;color:#d4dbea;font-size:17px;line-height:1.7;max-width:440px}.sg-hero .wp-block-buttons{margin:24px 0 28px}.sg-hero .wp-block-button__link{background:#fff;color:var(--sg-navy);font-size:13px;padding:16px}.sg-hero .is-style-outline .wp-block-button__link{background:transparent;color:#fff;border-color:#667492}.sg-hero-photo{position:relative;min-height:480px}.sg-hero-photo figure,.sg-hero-photo img{height:100%;width:100%}.sg-hero-photo img{object-fit:cover;object-position:54% center}.sg-hero-photo::after{content:"";position:absolute;inset:50% 0 0;background:linear-gradient(transparent,rgba(11,27,54,.6));pointer-events:none}.sg-hero-caption{position:absolute;right:28px;bottom:24px;z-index:1;text-align:right;color:#fff;font-weight:700;font-size:18px;line-height:1.4;margin:0}.sg-facts{display:flex;gap:42px;border-top:1px solid #435371;padding-top:23px;margin-top:auto!important}.sg-facts p{margin:0;line-height:1.5;color:#b8c5dc;font-size:12px}.sg-facts strong{display:block;color:#fff;font-size:20px}.sg-match-strip{padding:0 max(28px,calc((100vw - 1280px)/2));background:var(--sg-light)}.sg-quicklinks{display:grid;grid-template-columns:repeat(4,1fr);border-top:1px solid var(--sg-line);border-bottom:1px solid var(--sg-line);margin-top:30px}.sg-quicklinks a{display:block;padding:27px 24px;border-right:1px solid var(--sg-line);text-decoration:none}.sg-quicklinks a:last-child{border:0}.sg-quicklinks a:hover{background:#eaf0f8}.sg-quicklinks small{display:block;color:#4a679b;font-weight:800;font-size:12px;margin-bottom:12px}.sg-quicklinks strong{display:block;font-size:20px}.sg-quicklinks span{display:block;font-size:14px;color:var(--sg-muted);margin-top:4px}.sg-grid{display:grid;gap:24px;grid-template-columns:repeat(3,minmax(0,1fr))}.sg-card{background:#fff;border:1px solid var(--sg-line);overflow:hidden}.sg-card a{color:inherit}.sg-card>img{width:100%;aspect-ratio:4/3;object-fit:cover}.sg-card-body{padding:27px}.sg-card h3{margin:0 0 12px;font-size:26px;letter-spacing:-.025em;line-height:1.15}.sg-card p{color:var(--sg-muted);font-size:15px}.sg-text-link{font-weight:750;text-decoration:none;font-size:14px}.sg-text-link:hover{text-decoration:underline}.sg-feature{display:grid;grid-template-columns:1.05fr 1fr;gap:0;background:var(--sg-light);margin-top:32px}.sg-feature>img{width:100%;height:100%;min-height:340px;object-fit:cover}.sg-feature-body{padding:48px;display:flex;flex-direction:column;justify-content:center}.sg-feature h3{font-size:32px;line-height:1.1;letter-spacing:-.035em;margin:0 0 16px}.sg-feature p{color:var(--sg-muted)}.sg-archive{background:var(--sg-navy);color:#fff}.sg-archive .sg-eyebrow{color:#b7cee9}.sg-archive p{color:#d1daea}.sg-archive img{filter:grayscale(1);aspect-ratio:4/3;object-fit:cover}.sg-archive-photos{position:relative;padding:10px 12px 50px 20px;min-height:380px}.sg-archive-photos figure:first-child{width:73%;transform:rotate(-3deg)}.sg-archive-photos figure:last-child{position:absolute;width:64%;right:0;bottom:0;transform:rotate(4deg);border:8px solid var(--sg-navy)}.sg-cta{background:var(--sg-blue);color:#fff}.sg-cta p{color:#d6dfef}.sg-cta .sg-eyebrow{color:#bdcee6}.sg-cta .wp-block-button__link{background:#fff;color:var(--sg-navy)}.sg-sponsors{display:flex;align-items:center;justify-content:space-between;gap:36px;flex-wrap:wrap;margin:40px 0 0}.sg-sponsors img{width:190px;height:70px;object-fit:contain;max-width:40%}.sg-footer{background:var(--sg-navy);color:#c7d2e5;padding:65px max(28px,calc((100vw - 1224px)/2)) 24px;font-size:14px}.sg-footer h3,.sg-footer strong{color:#fff}.sg-footer a{color:#c7d2e5;text-decoration:none}.sg-footer a:hover{color:#fff;text-decoration:underline}.sg-footer .wp-block-columns{gap:50px}.sg-footer p{margin-top:12px;margin-bottom:12px}.sg-footer-bottom{border-top:1px solid #405071;margin-top:44px;padding-top:22px;font-size:12px}.sg-page{padding:64px max(28px,calc((100vw - 1224px)/2)) 90px;background:var(--sg-light)}.sg-page>.wp-block-post-title{font-size:clamp(38px,5vw,64px);letter-spacing:-.045em;line-height:1.05;margin:10px 0 35px}.sg-page .wp-block-post-content{max-width:1224px}.sg-page .wp-block-post-content>p{max-width:800px}.sg-page h2{margin-top:48px;font-size:32px;letter-spacing:-.025em}.sg-page h3{font-size:24px}.sg-page .wp-block-image{margin:30px 0}.sg-page .wp-block-image img{max-height:560px;width:100%;object-fit:cover}.sg-page .wp-block-image figcaption{font-size:13px;color:var(--sg-muted)}.sg-info-box{padding:28px;border:1px solid var(--sg-line);background:#fff;margin:24px 0}.sg-info-box p:last-child{margin-bottom:0}.sg-page .wp-block-gallery img{object-fit:cover}.sg-empty{color:var(--sg-muted);background:#fff;padding:24px;border:1px solid var(--sg-line)}
.wp-site-blocks>main{margin-block-start:0}
@media(min-width:782px){.sg-hero-copy{flex-basis:44%!important}.sg-hero-photo{flex-basis:56%!important}}
@media(max-width:1050px){.sg-header-inner{gap:16px}.sg-header .wp-block-navigation{gap:15px}.sg-brand-tag{display:none}.sg-hero-copy{padding:40px 30px}.sg-hero{min-height:520px}.sg-facts{gap:28px}}
@media(max-width:781px){.sg-topbar{font-size:10px;letter-spacing:.08em;padding:8px 20px}.sg-header-inner{padding:16px 20px}.sg-brand-name{font-size:22px!important}.sg-brand img{width:44px;height:44px}.sg-hero-wrap{padding:20px 20px 0}.sg-hero-copy{padding:38px 26px}.sg-facts{gap:16px}.sg-facts p{flex:1;min-width:0;font-size:11px}.sg-hero h1{font-size:clamp(48px,9vw,70px)}.sg-hero-photo{min-height:300px;max-height:370px}.sg-hero-photo img{height:330px;object-position:50% center}.sg-hero .wp-block-buttons{margin-top:20px}.sg-hero-copy>p:not(.sg-eyebrow){font-size:16px}.sg-hero .wp-block-column{margin:0}.sg-section{padding:55px 20px}.sg-match-strip{padding:0 20px}.sg-quicklinks{grid-template-columns:repeat(2,1fr)}.sg-quicklinks a{padding:22px 14px;border-bottom:1px solid var(--sg-line)}.sg-quicklinks a:nth-child(2n){border-right:0}.sg-quicklinks a:nth-child(n+3){border-bottom:0}.sg-quicklinks strong{font-size:18px}.sg-grid{grid-template-columns:1fr}.sg-feature{grid-template-columns:1fr}.sg-feature>img{min-height:230px;max-height:330px}.sg-feature-body{padding:28px}.sg-archive-photos{margin-top:30px;min-height:330px}.sg-sponsors{gap:28px;justify-content:center}.sg-sponsors img{width:150px;height:58px}.sg-footer{padding:45px 24px 24px}.sg-footer .wp-block-columns{gap:25px}.sg-footer-bottom{gap:10px}.sg-page{padding:36px 20px 60px}.sg-page>.wp-block-post-title{font-size:42px}.sg-page h2{font-size:29px}.sg-header .wp-block-navigation__responsive-container.is-menu-open{padding:30px}.sg-header .wp-block-navigation__responsive-container-content{align-items:flex-start;gap:24px}.sg-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{align-items:flex-start;gap:24px;font-size:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

/* Team portraits keep the full squad visible at every screen width. */
.sg-page .wp-block-image.sg-team-photo{margin:0 0 40px}.sg-page .wp-block-image.sg-team-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}.sg-team-photo a{display:block}.sg-team-photo a:focus-visible{outline:3px solid var(--sg-blue);outline-offset:5px}

/* The camp module supplies this banner only while publicly enabled. */
.sg-camp-teaser-wrap{background:var(--sg-light);padding:24px max(28px,calc((100vw - 1280px)/2)) 0}.sg-camp-teaser{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:24px 30px;background:#fff;border:1px solid var(--sg-line);border-left:5px solid var(--sg-blue)}.sg-camp-teaser .sg-eyebrow{margin:0 0 8px!important}.sg-camp-teaser h2{font-size:clamp(22px,3vw,30px);line-height:1.15;letter-spacing:-.025em;margin:0;overflow-wrap:anywhere}.sg-camp-teaser-date{font-size:14px;color:var(--sg-muted);margin:8px 0 0}.sg-camp-teaser>.wp-element-button{flex-shrink:0;display:inline-block;background:var(--sg-blue);color:#fff;padding:14px 20px;font-size:14px;text-decoration:none}.sg-camp-teaser>.wp-element-button:hover{background:var(--sg-navy)}
@media(max-width:599px){.sg-camp-teaser-wrap{padding:20px 20px 0}.sg-camp-teaser{align-items:flex-start;flex-direction:column;padding:22px;gap:18px}.sg-camp-teaser>.wp-element-button{width:100%;text-align:center}}

@media(max-width:781px){.sg-camp-teaser-wrap{padding-left:20px;padding-right:20px}}
@media(max-width:1200px){.sg-header .wp-block-navigation__responsive-container:not(.is-menu-open){display:none}.sg-header .wp-block-navigation__responsive-container-open:not(.always-shown){display:flex}.sg-header .wp-block-navigation__responsive-container.is-menu-open{padding:30px}.sg-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content{align-items:flex-start;gap:24px}.sg-header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container{align-items:flex-start;gap:24px;font-size:20px}}

/* Camps have their own event template, without a post-publication date. */
.sg-camp-page{padding:42px max(28px,calc((100vw - 1224px)/2)) 80px;background:var(--sg-light)}.sg-camp-page>.wp-block-post-content{max-width:1224px}.sg-camp-page>.wp-block-post-title{max-width:1224px;font-size:clamp(38px,5vw,62px);letter-spacing:-.045em;line-height:1.1;margin:0 0 30px;overflow-wrap:anywhere}.sg-camp-page>.sg-eyebrow{margin-bottom:12px!important}.sg-camp-back{font-size:13px;font-weight:650;margin:0 0 32px}.sg-camp-back a{text-decoration:none}.sg-camp-back a:hover{text-decoration:underline}
@media(max-width:781px){.sg-camp-page{padding:28px 20px 55px}.sg-camp-back{margin-bottom:24px}.sg-camp-page>.wp-block-post-title{font-size:38px;margin-bottom:24px}}

/* Club membership: each parent club owns its logo and application route. */
.sg-club-page{margin-top:0}.sg-club-page h2,.sg-club-page h3,.sg-club-page p{margin-top:0}.sg-club-page h2{font-size:clamp(30px,3.4vw,44px);line-height:1.1;letter-spacing:-.04em;margin-bottom:20px}.sg-club-page p{line-height:1.7}.sg-club-hero{display:grid;grid-template-columns:1.05fr 1fr;background:#142448;color:#fff;overflow:hidden}.sg-club-hero-copy{padding:44px}.sg-club-hero .sg-eyebrow{color:#b7cee9}.sg-club-hero-copy>p:not(.sg-eyebrow){color:#d7e1f2;margin-bottom:28px;font-size:16px}.sg-club-hero .wp-element-button{display:inline-block;background:#fff;color:#142448;padding:15px 21px;font-size:14px}.sg-club-hero-photo{margin:0;min-height:340px}.sg-club-hero-photo img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 50%}.sg-club-membership,.sg-club-community{margin-top:64px}.sg-club-section-heading{max-width:740px;margin-bottom:30px}.sg-club-section-heading>p:last-child{color:#52617c;margin-bottom:0}.sg-club-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.sg-club-card{display:flex;flex-direction:column;min-width:0;padding:28px;background:#fff;border:1px solid #dfe5ee;border-top:4px solid #30467c}.sg-club-card-top{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:26px}.sg-club-card-top img{display:block;width:100px;height:110px;object-fit:contain}.sg-club-badge{font-size:11px;font-weight:700;color:#30467c;background:#eaf0f8;padding:7px 10px;border-radius:3px;white-space:nowrap}.sg-club-card h3{font-size:25px;line-height:1.16;letter-spacing:-.025em;margin-bottom:16px;min-height:58px}.sg-club-card>p{font-size:15px;color:#52617c;margin-bottom:22px}.sg-club-card ol{margin:0 0 28px;padding-left:22px;font-size:14px;line-height:1.6}.sg-club-card li{padding-left:5px;margin-bottom:10px}.sg-club-card li::marker{color:#446795;font-weight:700}.sg-club-card a{overflow-wrap:anywhere}.sg-club-card-action{margin-top:auto}.sg-club-card-action .wp-element-button{display:block;text-align:center;background:#30467c;color:#fff;padding:15px 12px;font-size:13px;line-height:1.4}.sg-club-card-action small{display:block;margin-top:12px;font-size:11px;line-height:1.5;color:#647087}.sg-club-page .wp-element-button:hover{background:#20315d;color:#fff}.sg-club-pass{display:flex;align-items:center;justify-content:space-between;gap:36px;margin-top:30px;background:#eaf0f8;border:1px solid #dfe5ee;padding:34px}.sg-club-pass>div{max-width:660px}.sg-club-pass h2{font-size:30px;margin-bottom:12px}.sg-club-pass p:last-child{margin-bottom:0;font-size:15px;color:#52617c}.sg-club-pass>.wp-element-button{flex:0 0 auto;max-width:290px;background:#30467c;color:#fff;padding:16px 20px;font-size:13px;text-align:center}.sg-club-support-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px}.sg-club-support-grid article{padding:30px;background:#fff;border:1px solid #dfe5ee}.sg-club-support-grid h3{font-size:25px;line-height:1.2;margin-bottom:15px}.sg-club-support-grid p{font-size:15px;color:#52617c;margin-bottom:22px}.sg-club-secondary-link{display:block;font-size:12px;margin-top:12px;color:#52617c}.sg-club-more{display:flex;flex-wrap:wrap;gap:16px 30px;margin-top:28px;border-top:1px solid #dfe5ee;padding-top:22px;font-size:13px}
@media(max-width:1050px){.sg-club-hero-copy{padding:30px}.sg-club-card{padding:22px}.sg-club-card-top{align-items:flex-start;flex-direction:column;gap:18px}.sg-club-pass{align-items:flex-start;flex-direction:column;gap:22px}}
@media(max-width:760px){.sg-club-hero,.sg-club-grid,.sg-club-support-grid{grid-template-columns:1fr}.sg-club-hero-photo{min-height:0;height:260px}.sg-club-hero-copy{padding:28px}.sg-club-membership,.sg-club-community{margin-top:44px}.sg-club-card{padding:26px}.sg-club-card-top{flex-direction:row;align-items:center;margin-bottom:24px}.sg-club-card h3{min-height:0;font-size:27px}.sg-club-pass{padding:26px}.sg-club-pass>.wp-element-button{max-width:100%;width:100%}.sg-club-support-grid article{padding:26px}.sg-club-more{flex-direction:column;gap:14px}}
/* Community photo and the combined training / facilities page. */
.sg-squad-heading{display:grid;grid-template-columns:1fr 1fr;align-items:end;gap:35px;margin-bottom:30px}.sg-squad-heading h2{max-width:530px;margin:0}.sg-squad-heading>p{font-size:16px;line-height:1.7;color:#647087;margin:0;max-width:470px}.sg-squad-photo{margin:0}.sg-squad-photo>a{display:block}.sg-squad-photo img{display:block;width:100%;height:auto;max-height:none;object-fit:contain}.sg-squad-photo figcaption{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 25px;font-size:12px;line-height:1.5;color:#647087;padding:15px 0;border-bottom:1px solid #dce1ea}.sg-squad-photo figcaption a{font-weight:650;white-space:nowrap}.sg-sports-intro>p{max-width:820px;line-height:1.7}.sg-sports-nav{display:flex;flex-wrap:wrap;gap:12px;margin:25px 0 44px}.sg-sports-nav a{background:#fff;border:1px solid #dce1ea;padding:12px 17px;font-size:13px;font-weight:700;text-decoration:none}.sg-sports-nav a:last-child{background:#30467c;color:#fff;border-color:#30467c}.sg-sports-heading{margin:55px 0 27px}.sg-sports-heading h2{margin:0 0 15px!important;line-height:1.15;font-size:clamp(28px,3vw,38px)}.sg-sports-heading>p:last-child{color:#647087;font-size:15px;margin:0}.sg-facility-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:25px}.sg-facility{background:#fff;border:1px solid #dce1ea;display:flex;flex-direction:column;min-width:0}.sg-facility-image{display:flex;align-items:center;justify-content:center;background:#e4eaf1;aspect-ratio:16/10;overflow:hidden}.sg-facility-image img{display:block;width:100%;height:100%;object-fit:contain}.sg-facility-body{padding:25px;display:flex;flex-direction:column;align-items:flex-start;flex:1}.sg-facility-body h3{font-size:25px;line-height:1.2;margin:0 0 12px;letter-spacing:-.025em}.sg-facility-body p{margin:0 0 20px;font-size:14px;color:#647087}.sg-facility-body a{margin-top:auto}
@media(min-width:1201px){.sg-header .wp-block-navigation{gap:17px}}@media(max-width:760px){.sg-squad-heading,.sg-facility-grid{grid-template-columns:1fr}.sg-squad-heading{gap:20px}.sg-squad-photo figcaption{font-size:11px}.sg-sports-nav{gap:8px}.sg-sports-nav a{padding:11px 13px}.sg-sports-heading{margin-top:42px}.sg-facility-body{padding:23px}}
/* Full photo in an accessible modal, with native focus trapping and Escape. */
.sg-photo-lightbox{width:min(1600px,calc(100vw - 32px));max-width:none;max-height:calc(100dvh - 32px);padding:16px;margin:auto;border:1px solid #52617c;border-radius:6px;background:#142448;color:#fff;box-shadow:0 20px 80px #0008;overflow:auto}.sg-photo-lightbox::backdrop{background:rgba(7,15,30,.88)}.sg-photo-lightbox-header{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:0 0 14px}.sg-photo-lightbox-header h2{font-family:inherit;font-weight:700;font-size:16px;line-height:1.4;margin:0;color:#fff}.sg-photo-lightbox-close{font:inherit;font-size:13px;font-weight:700;background:#fff;color:#142448;border:0;border-radius:3px;padding:12px 17px;white-space:nowrap;cursor:pointer;min-height:44px}.sg-photo-lightbox-close:focus-visible{outline:3px solid #a5c9ff;outline-offset:3px}.sg-photo-lightbox>img{display:block;width:100%;height:auto;max-height:calc(100dvh - 125px);object-fit:contain}.sg-photo-lightbox-status{font-size:14px;margin:0 0 14px}.sg-photo-lightbox-status[hidden]{display:none}
@media(max-width:600px){.sg-photo-lightbox{width:calc(100vw - 20px);max-height:calc(100dvh - 20px);padding:12px}.sg-photo-lightbox-header{gap:10px}.sg-photo-lightbox-header h2{font-size:13px}.sg-photo-lightbox-close{font-size:12px;padding:11px}.sg-photo-lightbox>img{max-height:calc(100dvh - 150px)}}

.sg-photo-lightbox.is-portrait{width:min(760px,calc(100vw - 32px))}
@media(max-width:600px){.sg-photo-lightbox.is-portrait{width:calc(100vw - 20px)}}

/* Förderverein: youth support, membership and the operator of website and app. */
.sg-support-page{margin-top:0}.sg-support-page h2,.sg-support-page h3,.sg-support-page p{margin-top:0}.sg-support-page h2{font-size:clamp(28px,3.3vw,43px);line-height:1.12;letter-spacing:-.035em;margin-bottom:20px}.sg-support-page p{line-height:1.7}.sg-support-page .wp-element-button{display:inline-block;padding:16px 22px;font-size:14px;text-align:center}.sg-support-page a{overflow-wrap:anywhere}.sg-support-hero{display:grid;grid-template-columns:1.35fr 1fr;background:var(--sg-navy);color:#fff}.sg-support-hero-copy{padding:clamp(28px,4vw,52px);align-self:center}.sg-support-hero .sg-eyebrow{color:#b7cee9}.sg-support-hero h2{font-size:clamp(32px,3.8vw,49px);color:#fff}.sg-support-hero-copy>p:not(.sg-eyebrow){font-size:16px;color:#d7e1f2;max-width:530px;margin-bottom:28px}.sg-support-hero .wp-element-button{background:#fff;color:var(--sg-navy)}.sg-support-hero .wp-element-button:hover{background:#dce7f5}.sg-support-brand{background:#eaf0f8;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:34px;color:var(--sg-ink)}.sg-support-brand img{display:block;width:min(100%,280px);height:auto}.sg-support-brand p{text-align:center;margin:24px 0 0;font-size:17px;line-height:1.5}.sg-support-digital{display:grid;grid-template-columns:1fr 1.15fr;gap:40px;padding:36px 40px;background:#fff;border:1px solid var(--sg-line);border-top:4px solid var(--sg-blue);margin-top:24px;align-items:center}.sg-support-digital h2{font-size:30px;margin-bottom:0;max-width:410px}.sg-support-digital p:not(.sg-eyebrow){font-size:15px;color:#52617c;margin-bottom:12px}.sg-support-digital p:last-child{margin-bottom:0}.sg-support-section{margin-top:64px}.sg-support-heading{max-width:800px;margin-bottom:30px}.sg-support-heading>p:last-child{color:#52617c;margin-bottom:0;font-size:16px}.sg-support-projects{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.sg-support-projects article{padding:28px 24px;background:#fff;border:1px solid var(--sg-line)}.sg-support-number{display:block;color:#446795;font-size:13px;font-weight:800;letter-spacing:.08em;margin-bottom:32px}.sg-support-projects h3{font-size:23px;line-height:1.2;letter-spacing:-.025em;margin-bottom:15px}.sg-support-projects p{font-size:14px;color:#52617c;margin-bottom:0}.sg-support-membership{padding:44px;background:var(--sg-navy);color:#fff}.sg-support-membership h2{color:#fff}.sg-support-membership .sg-eyebrow{color:#b7cee9}.sg-support-membership .sg-support-heading>p:last-child{color:#d7e1f2}.sg-support-prices{display:grid;grid-template-columns:1fr 1fr;gap:22px}.sg-support-prices article{background:#fff;color:var(--sg-ink);padding:28px}.sg-support-prices h3{font-size:21px;line-height:1.25;margin-bottom:18px}.sg-support-price{display:flex;align-items:baseline;gap:14px;margin-bottom:14px}.sg-support-price strong{font-size:52px;line-height:1;letter-spacing:-.045em}.sg-support-price span{font-size:14px;color:var(--sg-muted)}.sg-support-prices article>p:last-child{font-size:14px;color:#52617c;margin-bottom:0}.sg-support-join{display:flex;flex-wrap:wrap;align-items:center;gap:18px 24px;margin-top:26px}.sg-support-join .wp-element-button{background:#fff;color:var(--sg-navy)}.sg-support-join .wp-element-button:hover{background:#dce7f5}.sg-support-join>p{font-size:12px;color:#c7d2e5;margin:0;max-width:300px}.sg-support-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;list-style:none;counter-reset:join;padding:28px 0 0;margin:32px 0 0;border-top:1px solid #405071}.sg-support-steps li{counter-increment:join;position:relative;padding-left:36px;line-height:1.5}.sg-support-steps li::before{content:counter(join,decimal-leading-zero);position:absolute;top:1px;left:0;font-size:13px;font-weight:800;color:#b7cee9}.sg-support-steps strong{display:block;font-size:15px;margin-bottom:6px}.sg-support-steps span{display:block;font-size:13px;color:#c7d2e5}.sg-support-membership-note{font-size:12px;color:#c7d2e5;margin:28px 0 0;padding-top:22px;border-top:1px solid #405071}.sg-support-membership-note a{color:#fff}.sg-support-contact{display:grid;grid-template-columns:1.2fr 1fr;gap:50px;align-items:start}.sg-support-contact>div>p:not(.sg-eyebrow){font-size:16px;color:#52617c}.sg-support-contact aside{padding:34px;background:#eaf0f8;border:1px solid var(--sg-line)}.sg-support-contact aside h3{font-size:28px;line-height:1.15;letter-spacing:-.025em;margin-bottom:20px}.sg-support-contact aside>p:not(.sg-eyebrow){font-size:15px;color:#52617c}.sg-footer-operator{font-size:12px;line-height:1.7;max-width:340px;margin-top:25px!important}.sg-footer-operator a{font-weight:700;color:#fff}
@media(min-width:1201px) and (max-width:1380px){.sg-header .sg-brand-tag{display:none}}
@media(max-width:1000px){.sg-support-projects{grid-template-columns:repeat(2,minmax(0,1fr))}.sg-support-digital{padding:30px;gap:26px}.sg-support-digital h2{font-size:27px}.sg-support-hero h2{font-size:34px}.sg-support-brand img{max-width:230px}.sg-support-membership{padding:32px}.sg-support-contact{gap:28px}}
@media(max-width:760px){.sg-support-hero,.sg-support-digital,.sg-support-contact{grid-template-columns:1fr}.sg-support-hero-copy{padding:28px}.sg-support-hero h2{font-size:clamp(31px,7vw,42px)}.sg-support-brand{padding:26px}.sg-support-brand img{max-width:180px}.sg-support-brand p{font-size:15px;margin-top:18px}.sg-support-digital{padding:26px;gap:20px}.sg-support-digital h2{font-size:28px;max-width:none}.sg-support-section{margin-top:44px}.sg-support-membership{padding:28px}.sg-support-prices{gap:16px}.sg-support-prices article{padding:22px}.sg-support-prices h3{font-size:19px}.sg-support-price strong{font-size:44px}.sg-support-price{flex-wrap:wrap;gap:6px 12px}.sg-support-steps{grid-template-columns:1fr;gap:22px}.sg-support-contact aside{padding:28px}.sg-support-join{gap:14px}.sg-support-join .wp-element-button{width:100%}.sg-support-join>p{max-width:none}.sg-support-projects article{padding:24px}.sg-support-number{margin-bottom:20px}}
@media(max-width:520px){.sg-support-projects,.sg-support-prices{grid-template-columns:1fr}.sg-support-projects h3{font-size:24px}.sg-support-membership{padding:24px}.sg-support-membership h2{font-size:29px}.sg-support-prices article{padding:24px}.sg-support-hero .wp-element-button{width:100%}}

/* The youth bus is a visible, concrete Förderverein project. */
.sg-support-bus{display:grid;grid-template-columns:1.15fr 1fr;align-items:center;gap:38px;padding:34px;background:#fff;border:1px solid var(--sg-line)}.sg-support-bus-photo{margin:0}.sg-support-bus-photo img{display:block;width:100%;height:auto}.sg-support-bus-photo figcaption{margin-top:14px;color:var(--sg-muted);font-size:12px;line-height:1.5}.sg-support-bus p:not(.sg-eyebrow){font-size:15px;color:#52617c}.sg-support-bus h2{font-size:34px}.sg-support-bus-photo a{display:block}
/* Child/youth protection uses the same typography and brand palette. */
.sg-safety-brand img{border-radius:50%;width:min(100%,300px)}.sg-support-hero .sg-safety-download-note{font-size:12px;margin:14px 0 0}.sg-safety-nav{display:flex;flex-wrap:wrap;gap:12px;margin-top:24px}.sg-safety-nav a{display:block;background:#fff;border:1px solid var(--sg-line);padding:12px 17px;font-size:13px;font-weight:700;text-decoration:none}.sg-safety-nav a:hover{background:#eaf0f8}.sg-safety-rules-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.sg-safety-card{padding:30px;background:#fff;border:1px solid var(--sg-line)}.sg-safety-card h3{font-size:27px;line-height:1.2;margin-bottom:20px;letter-spacing:-.025em}.sg-safety-card ul{padding:0 0 0 20px;margin:0}.sg-safety-card li{font-size:15px;line-height:1.7;padding-left:6px;margin-bottom:14px;color:#52617c}.sg-safety-card li:last-child{margin-bottom:0}.sg-safety-card li::marker{color:#446795}.sg-safety-training-list{display:grid;grid-template-columns:1fr 1fr;column-gap:42px;row-gap:14px}.sg-safety-training-list li{margin-bottom:0}.sg-safety-privacy{display:grid;grid-template-columns:1fr 1fr;gap:38px;padding:36px;background:#eaf0f8;border-left:4px solid var(--sg-blue)}.sg-safety-privacy h3{font-size:25px;margin-bottom:16px}.sg-safety-privacy p:not(.sg-eyebrow){font-size:15px;color:#52617c}.sg-safety-privacy p:last-child{margin-bottom:0}.sg-safety-closing{display:grid;grid-template-columns:1.5fr 1fr;gap:36px;align-items:center;padding:36px;background:#fff;border:1px solid var(--sg-line)}.sg-safety-closing h2{font-size:32px}.sg-safety-closing p:not(.sg-eyebrow){font-size:15px;color:#52617c}.sg-safety-closing p:last-child{margin-bottom:0}.sg-safety-actions{display:flex;flex-direction:column;align-items:flex-start;gap:22px}.sg-safety-actions .wp-element-button{background:var(--sg-blue);color:#fff}.sg-safety-actions .wp-element-button:hover{background:var(--sg-navy)}
@media(max-width:900px){.sg-support-bus{grid-template-columns:1fr;gap:24px}.sg-support-bus-photo{max-width:650px;margin:auto}.sg-safety-privacy,.sg-safety-closing{gap:26px;padding:28px}}
@media(max-width:760px){.sg-support-bus{padding:26px}.sg-support-bus h2{font-size:30px}.sg-safety-brand img{max-width:220px}.sg-safety-rules-grid,.sg-safety-training-list,.sg-safety-privacy,.sg-safety-closing{grid-template-columns:1fr}.sg-safety-card{padding:26px}.sg-safety-nav{gap:8px}.sg-safety-nav a{padding:11px 13px}.sg-safety-actions .wp-element-button{width:100%}.sg-safety-actions{align-items:stretch}.sg-safety-closing h2{font-size:28px}}

/* Current group portraits remain complete, including people at the edges. */
.sg-card.sg-card-current-team>img{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#eaf0f8}
/* Editorial sections below the trial form need their own vertical rhythm. */
.sg-page .sg-join-section{margin:52px 0 0;max-width:800px}
.sg-page .sg-join-section>h2{margin:0 0 20px;line-height:1.2}
.sg-page .sg-join-section>p{margin:0 0 20px;line-height:1.7}
.sg-page .sg-join-section>.wp-block-buttons{margin:26px 0 0}
.sg-page .sg-join-section>p:last-child{margin-bottom:0}
.sg-page .wp-block-image.sg-trial-photo{margin:32px 0 44px}
.sg-page .sg-trial-photo img{width:100%;height:auto;max-height:none;aspect-ratio:16/9;object-fit:cover;object-position:center}
/* Referees: invitation, benefits, team and a direct contact. */
.sg-referee-page h2,.sg-referee-page h3{margin-top:0}
.sg-referee-hero{display:grid;grid-template-columns:1.1fr 1fr;background:var(--sg-navy);color:#fff}
.sg-referee-hero-copy{padding:clamp(28px,4vw,48px);align-self:center}
.sg-referee-hero .sg-eyebrow{color:#b7cee9}
.sg-referee-hero h2{color:#fff;font-size:clamp(34px,4vw,49px);line-height:1.1;letter-spacing:-.035em;margin:0 0 24px}
.sg-referee-hero-copy>p:not(.sg-eyebrow){color:#d7e1f2;font-size:16px;line-height:1.7;margin:0 0 20px}
.sg-referee-hero .wp-element-button{display:inline-block;background:#fff;color:var(--sg-navy);padding:15px 22px;margin-top:8px;font-size:14px}
.sg-referee-hero-photo{min-width:0;margin:0}
.sg-referee-hero-photo img{display:block;width:100%;height:100%;object-fit:cover}
.sg-referee-section{margin-top:60px}
.sg-referee-section h2{font-size:clamp(28px,3.2vw,38px);line-height:1.15;margin:0 0 20px}
.sg-referee-intro{max-width:760px;color:var(--sg-muted);margin:0 0 28px;line-height:1.7}
.sg-referee-benefits,.sg-referee-team{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.sg-referee-benefits article,.sg-referee-team article{background:#fff;border:1px solid var(--sg-line);padding:28px}
.sg-referee-number{display:block;font-size:13px;font-weight:800;color:#446795;letter-spacing:.1em;margin-bottom:28px}
.sg-referee-benefits h3{font-size:25px;line-height:1.2;margin:0 0 18px}
.sg-referee-benefits ul{padding-left:20px;margin:0;color:#52617c;font-size:15px;line-height:1.7}
.sg-referee-benefits li+li{margin-top:10px}
.sg-referee-team article{border-top:3px solid var(--sg-blue)}
.sg-referee-team h3{font-size:24px;margin:0 0 10px;line-height:1.2}
.sg-referee-team p{font-size:14px;margin:0;color:var(--sg-muted)}
.sg-referee-contact{display:grid;grid-template-columns:1.25fr 1fr;gap:40px;align-items:center;background:#eaf0f8;border:1px solid var(--sg-line);padding:38px}
.sg-referee-contact p:not(.sg-eyebrow){font-size:16px;line-height:1.7;margin:0;color:#52617c}
.sg-referee-contact-details{border-left:1px solid #c5d1e3;padding-left:36px}
.sg-referee-contact-details h3{font-size:29px;margin:0 0 12px}
.sg-referee-contact-details a{display:inline-block;margin-top:20px;font-weight:700;overflow-wrap:anywhere}
@media(max-width:900px){.sg-referee-hero{grid-template-columns:1fr 1fr}.sg-referee-hero-copy{padding:28px}.sg-referee-hero h2{font-size:35px}.sg-referee-benefits,.sg-referee-team{gap:16px}.sg-referee-benefits article,.sg-referee-team article{padding:22px}}
@media(max-width:760px){.sg-referee-hero,.sg-referee-benefits,.sg-referee-team,.sg-referee-contact{grid-template-columns:1fr}.sg-referee-hero-photo img{height:auto;max-height:460px;object-fit:contain;background:#eaf0f8}.sg-referee-section{margin-top:44px}.sg-referee-number{margin-bottom:20px}.sg-referee-contact{padding:26px;gap:26px}.sg-referee-contact-details{border-left:0;border-top:1px solid #c5d1e3;padding:24px 0 0}.sg-page .sg-join-section{margin-top:40px}.sg-page .sg-join-section>h2{margin-bottom:18px}.sg-page .sg-join-section>.wp-block-buttons{margin-top:22px}.sg-page .sg-trial-photo img{aspect-ratio:4/3}.sg-page .wp-block-image.sg-trial-photo{margin-bottom:32px}}

/* Two-row, four-column homepage introduction; crest is visible immediately. */
.sg-welcome{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:var(--sg-navy);color:#fff;overflow:hidden}
.sg-welcome-brand{grid-column:4;grid-row:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:30px 38px 24px 0;background:var(--sg-navy)}
.sg-emblem-stage{position:relative;display:grid;place-items:center;isolation:isolate;aspect-ratio:1;width:100%;max-width:204px;margin:auto}
.sg-emblem-stage::before{content:"";position:absolute;inset:-7%;border-radius:50%;background:radial-gradient(circle,#6986b866 0,#5272a42b 50%,transparent 72%);opacity:0;z-index:-1;pointer-events:none}
.sg-emblem-mark{position:relative;width:100%;aspect-ratio:1;border-radius:50%;overflow:hidden;transform-origin:center}
.sg-emblem-mark img{display:block;width:100%;height:auto;border-radius:50%}
.sg-emblem-mark::after{content:"";position:absolute;inset:-25%;background:linear-gradient(105deg,transparent 35%,#ffffff9c 49%,transparent 63%);transform:translateX(-130%);opacity:0;pointer-events:none}

.sg-welcome-title{grid-column:1/4;grid-row:1;align-self:center;padding:42px 48px}
.sg-welcome-title .sg-eyebrow{color:#b7cee9;font-size:11px!important;margin-bottom:18px!important}
.sg-welcome-title h1{font-size:clamp(44px,5.2vw,68px);line-height:1.02;letter-spacing:-.05em;margin:0;color:#fff}
.sg-welcome-title h1 span{display:block}
.sg-welcome-photo{grid-column:1/3;position:relative;min-width:0;min-height:340px;margin:0 0 36px 48px;overflow:hidden;border:1px solid #657797;border-radius:4px;box-shadow:0 12px 28px #07132940}
.sg-welcome-photo img{display:block;position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:52% center}
.sg-welcome-photo::after{content:"";position:absolute;inset:65% 0 0;background:linear-gradient(transparent,#0b1b36a6);pointer-events:none}
.sg-welcome-photo figcaption{position:absolute;bottom:20px;left:26px;right:26px;z-index:1;color:#fff;font-size:13px;font-weight:700}
.sg-welcome-copy{grid-column:3/5;padding:34px 38px;display:flex;flex-direction:column;justify-content:center;gap:24px;background:var(--sg-navy)}
.sg-welcome-copy>p{font-size:17px;line-height:1.7;color:#dae2ef;margin:0;max-width:480px}
.sg-welcome-actions{display:flex;gap:12px;flex-wrap:wrap}
.sg-welcome-actions a{font-size:13px;font-weight:750;line-height:1.4;padding:14px 16px;border:1px solid #fff;border-radius:4px;background:#fff;color:var(--sg-navy);text-decoration:none}
.sg-welcome-actions a:last-child{background:transparent;color:#fff;border-color:#8a9bb8}
.sg-welcome-actions a:hover{background:#dce7f6;color:var(--sg-navy)}
.sg-welcome-facts{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px;border-top:1px solid #5f70924d;padding-top:20px}
.sg-welcome-facts p{font-size:11px;line-height:1.5;color:#bdcce1;margin:0}.sg-welcome-facts strong{display:block;font-size:20px;color:#fff}
@media(prefers-reduced-motion:no-preference){
.sg-home-emblem.is-animating .sg-emblem-mark{animation:sg-emblem-arrive 2.8s cubic-bezier(.2,.75,.25,1) both}
.sg-home-emblem.is-animating .sg-emblem-stage::before{animation:sg-emblem-glow 4s ease-out both}
.sg-home-emblem.is-animating .sg-emblem-mark::after{animation:sg-emblem-shine 2.7s .9s ease-in-out both}
}
@keyframes sg-emblem-arrive{from{opacity:.2;transform:translateY(12px) scale(.86)}to{opacity:1;transform:translateY(0) scale(1)}}
@keyframes sg-emblem-glow{0%{opacity:.15;transform:scale(.72)}65%{opacity:1;transform:scale(1.1)}100%{opacity:0;transform:scale(1)}}
@keyframes sg-emblem-shine{0%{opacity:0;transform:translateX(-100%)}15%,70%{opacity:.65}100%{opacity:0;transform:translateX(100%)}}
@media(max-width:1000px){.sg-welcome-title{padding:32px 34px}.sg-welcome-copy{padding:26px;gap:20px}.sg-welcome-photo{min-height:320px;margin-left:34px;margin-bottom:30px}.sg-welcome-brand{padding:24px 24px 18px 0}.sg-welcome-title h1{font-size:52px}.sg-welcome-copy>p{font-size:16px}}
@media(max-width:700px){.sg-welcome{grid-template-columns:minmax(0,1fr) 106px}.sg-welcome-brand{grid-column:2;grid-row:1;padding:24px 18px 18px 0}.sg-welcome-title{grid-column:1;grid-row:1;padding:26px 12px 26px 22px}.sg-welcome-title .sg-eyebrow{font-size:8px!important;letter-spacing:.09em;margin-bottom:12px!important}.sg-welcome-title h1{font-size:clamp(26px,6.9vw,46px)}.sg-welcome-photo{grid-column:1/-1;min-height:0;aspect-ratio:16/10;margin:0;border:0;border-radius:0;box-shadow:none}.sg-welcome-photo figcaption{font-size:11px;bottom:14px;left:20px;right:20px}.sg-welcome-copy{grid-column:1/-1;padding:26px 22px}.sg-welcome-facts{gap:10px}.sg-welcome-actions a{font-size:12px;padding:13px}}

/* Compact desktop hero; keep the approved mobile/tablet composition above. */
@media(min-width:1001px){
.sg-welcome{grid-template-columns:132px minmax(0,1fr) minmax(0,1.4fr);grid-template-rows:auto 1fr;column-gap:28px;row-gap:22px;padding:36px}
.sg-welcome-brand{grid-column:1;grid-row:1;align-self:center;padding:0}
.sg-emblem-stage{max-width:132px;margin:0}

.sg-welcome-title{grid-column:2;grid-row:1;padding:0;align-self:center}
.sg-welcome-title .sg-eyebrow{font-size:9px!important;letter-spacing:.1em;line-height:1.6;margin-bottom:14px!important}
.sg-welcome-title h1{font-size:clamp(40px,4.35vw,56px);line-height:1.04;letter-spacing:-.045em}
.sg-welcome-photo{grid-column:3;grid-row:1/3;margin:0;min-height:390px}
.sg-welcome-copy{grid-column:1/3;grid-row:2;padding:0;justify-content:flex-start;gap:22px}
.sg-welcome-copy>p{max-width:none;font-size:16px;line-height:1.65}
.sg-welcome-facts{margin-top:auto;padding-top:18px}
.sg-welcome-actions{gap:10px}
.sg-welcome-actions a{padding:13px 14px;font-size:12px}
}

/* Keep the child and ball together in the homepage trial-training feature. */
.sg-feature .sg-try-football-photo{height:100%;margin:0}
.sg-feature .sg-try-football-photo img{width:100%;height:100%;aspect-ratio:3/2;object-fit:cover;object-position:40% center}
@media(max-width:781px){.sg-feature .sg-try-football-photo img{height:auto;aspect-ratio:3/2;object-fit:contain}}

/* Leadership page: five equal cards with clearly labelled interim portraits. */
.sg-leadership-intro{display:grid;grid-template-columns:1fr 1.2fr;gap:54px;padding:46px;background:var(--sg-navy);color:#fff;align-items:center}
.sg-page .sg-leadership-intro h2{font-size:clamp(34px,3.8vw,48px);line-height:1.08;letter-spacing:-.04em;color:#fff;margin:0}
.sg-leadership-intro .sg-eyebrow{color:#b7cee9;font-size:11px!important}
.sg-leadership-intro-copy p{color:#d9e2f1;font-size:16px;line-height:1.75;margin:0 0 16px}
.sg-leadership-intro-copy p:first-child{color:#fff;font-size:19px;font-weight:650;line-height:1.5}.sg-leadership-intro-copy p:last-child{margin-bottom:0}
.sg-leadership-team{margin-top:58px}
.sg-page .sg-leadership-team>h2{margin:0 0 16px;font-size:36px;line-height:1.15}
.sg-leadership-photo-note{color:var(--sg-muted);font-size:15px;margin:0 0 28px}
.sg-leadership-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:26px}
.sg-leadership-card{grid-column:span 2;background:#fff;border:1px solid var(--sg-line);overflow:hidden}
.sg-leadership-portrait{position:relative;aspect-ratio:16/10;overflow:hidden;background:#30467c;isolation:isolate}
.sg-leadership-portrait>img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 62%;opacity:.38}
.sg-leadership-portrait::after{content:"";position:absolute;inset:0;background:linear-gradient(155deg,#14244855,#14244899);z-index:1;pointer-events:none}
.sg-leadership-placeholder{position:absolute;inset:0;z-index:2;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;color:#fff}
.sg-leadership-placeholder>span{display:grid;place-items:center;width:84px;height:84px;border:1px solid #ffffff8c;border-radius:50%;background:#14244866;font-size:30px;letter-spacing:.04em;font-weight:750}
.sg-leadership-placeholder>p{font-size:13px;letter-spacing:.08em;color:#fff;margin:0;text-transform:uppercase;font-weight:700}
.sg-leadership-person{padding:26px 28px 30px}
.sg-leadership-person .sg-eyebrow{font-size:10px!important;margin-bottom:12px!important}
.sg-page .sg-leadership-person h3{font-size:26px;line-height:1.15;letter-spacing:-.025em;margin:0 0 14px}
.sg-leadership-role{font-size:15px;line-height:1.6;color:var(--sg-muted);margin:0;min-height:48px}
.sg-leadership-contact{display:flex;align-items:center;justify-content:space-between;gap:38px;margin-top:60px;padding:36px 40px;background:#eaf0f8;border-top:3px solid var(--sg-blue)}
.sg-page .sg-leadership-contact h2{margin:0 0 18px;font-size:32px;line-height:1.15}
.sg-leadership-contact p:not(.sg-eyebrow){font-size:16px;line-height:1.7;color:#52617c;margin:0;max-width:720px}
.sg-leadership-contact>a{flex-shrink:0;font-size:14px}
@media(max-width:960px){.sg-leadership-intro{gap:30px;padding:32px;grid-template-columns:1fr 1.2fr}.sg-leadership-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:22px}.sg-leadership-card{grid-column:auto}.sg-leadership-person{padding:24px}.sg-leadership-contact{align-items:flex-start;flex-direction:column;gap:24px}}
@media(max-width:600px){.sg-leadership-intro{grid-template-columns:1fr;gap:24px;padding:28px 24px}.sg-page .sg-leadership-intro h2{font-size:36px}.sg-leadership-intro-copy p{font-size:15px}.sg-leadership-team{margin-top:42px}.sg-page .sg-leadership-team>h2{font-size:30px}.sg-leadership-grid{grid-template-columns:1fr;gap:24px}.sg-leadership-portrait{aspect-ratio:16/9}.sg-leadership-role{min-height:0}.sg-leadership-contact{padding:28px 24px;margin-top:42px}.sg-page .sg-leadership-contact h2{font-size:29px}}

/* Trial-training flyer preview, original PDF and focused A4 print view. */
.sg-trial-flyer-box{display:grid;grid-template-columns:300px minmax(0,1fr);gap:42px;align-items:center;background:#fff;border:1px solid var(--sg-line);margin:0 0 46px;padding:32px 40px}
.sg-trial-flyer{margin:0;text-align:center}
.sg-trial-flyer>a{display:block;max-width:245px;margin:auto}
.sg-trial-flyer img{display:block;width:100%;height:auto;box-shadow:0 10px 25px #14244821}
.sg-trial-flyer figcaption{font-size:13px;margin-top:15px}
.sg-trial-flyer figcaption a{text-decoration:none;font-weight:650}
.sg-page .sg-trial-flyer-copy h2{font-size:36px;line-height:1.1;letter-spacing:-.035em;margin:0 0 22px}
.sg-trial-flyer-copy>p:not(.sg-eyebrow){font-size:16px;line-height:1.7;color:#52617c;margin:0 0 16px;max-width:600px}
.sg-trial-flyer-actions{display:flex;align-items:center;gap:24px;flex-wrap:wrap;margin-top:26px}
.sg-trial-flyer-actions .wp-element-button{font-size:14px}
.sg-trial-flyer-print{font-size:14px;font-weight:700;text-underline-offset:4px}
.sg-trial-flyer-copy>.sg-trial-flyer-file{font-size:12px!important;color:var(--sg-muted)!important;margin:16px 0 0!important}
.sg-trial-flyer-copy>.sg-trial-flyer-status{font-size:13px!important;margin:12px 0 0!important}
@media(max-width:780px){.sg-trial-flyer-box{grid-template-columns:220px minmax(0,1fr);gap:28px;padding:28px}.sg-page .sg-trial-flyer-copy h2{font-size:30px}.sg-trial-flyer-actions{gap:18px}}
@media(max-width:600px){.sg-trial-flyer-box{grid-template-columns:1fr;gap:26px;padding:26px 22px}.sg-trial-flyer>a{max-width:210px}.sg-trial-flyer-copy>p:not(.sg-eyebrow){font-size:15px}.sg-page .sg-trial-flyer-copy h2{font-size:31px}}
