/* R2.39 G3 — absolutna kontrola katalogu obrazow: URL w CSS sa wzgledne do assets/party-backgrounds-g3.css. */
.profile-summary--themed,.group-hero,.party-card-hero{background-color:#0a1c37;background-size:cover;background-position:right center;background-repeat:no-repeat}
.profile-summary--themed{min-height:375px}
.profile-summary--themed .portrait.no-photo{display:grid;place-items:center;background:#d6e1ed}
.portrait-fallback{display:none;color:#3a5271;font-size:34px;font-weight:900;letter-spacing:.06em}
.profile-summary--themed .portrait.no-photo .portrait-fallback,.group-mp .portrait.no-photo .portrait-fallback{display:block}
.profile-summary--themed .portrait.no-photo img,.group-mp .portrait.no-photo img{display:none}
.profile-summary--themed .profile-summary-copy{max-width:1000px}
.profile-summary--themed .profile-summary-lead{max-width:820px}
.profile-summary--themed .hero-stats{max-width:1000px}
.profile-summary--themed .hero-stat{background:rgba(12,32,58,.67);border-color:rgba(255,255,255,.22)}
.group-hero .group-meta{max-width:1050px}
.party-bg-asset--missing{background-image:linear-gradient(112deg,#101c31 0%,#253c5d 56%,#947221 100%)!important}
@media(max-width:680px){.profile-summary--themed,.group-hero{background-position:63% center}.profile-summary--themed{min-height:auto}.profile-summary--themed .hero-stats{grid-template-columns:repeat(2,minmax(0,1fr))}.profile-summary--themed .hero-stat strong{font-size:24px}}
@media(max-width:380px){.profile-summary--themed .hero-stats{grid-template-columns:1fr}}

.profile-summary--themed.party-art-pis,.group-hero.party-art-pis,.party-card-hero.party-art-pis{background-image:linear-gradient(90deg,rgba(4,15,34,.92) 0%,rgba(8,25,50,.84) 36%,rgba(8,28,56,.47) 59%,rgba(8,28,56,.08) 100%),url('party-bg/pis.webp')}
.profile-summary--themed.party-art-ko,.group-hero.party-art-ko,.party-card-hero.party-art-ko{background-image:linear-gradient(90deg,rgba(4,18,43,.89) 0%,rgba(7,27,55,.81) 35%,rgba(8,34,64,.42) 61%,rgba(8,34,64,.07) 100%),url('party-bg/ko.webp')}
.profile-summary--themed.party-art-psl,.group-hero.party-art-psl,.party-card-hero.party-art-psl{background-image:linear-gradient(90deg,rgba(5,29,27,.89) 0%,rgba(9,45,33,.88) 35%,rgba(10,56,43,.50) 59%,rgba(10,56,43,.10) 100%),url('party-bg/psl.webp')}
.profile-summary--themed.party-art-lewica,.group-hero.party-art-lewica,.party-card-hero.party-art-lewica{background-image:linear-gradient(90deg,rgba(20,8,33,.89) 0%,rgba(30,8,38,.80) 35%,rgba(47,14,51,.40) 60%,rgba(47,14,51,.03) 100%),url('party-bg/lewica.webp')}
.profile-summary--themed.party-art-konfederacja,.group-hero.party-art-konfederacja,.party-card-hero.party-art-konfederacja{background-image:linear-gradient(90deg,rgba(4,15,34,.92) 0%,rgba(8,25,50,.84) 36%,rgba(8,28,56,.47) 59%,rgba(8,28,56,.08) 100%),url('party-bg/konfederacja.webp')}
.profile-summary--themed.party-art-centrum,.group-hero.party-art-centrum,.party-card-hero.party-art-centrum{background-image:linear-gradient(90deg,rgba(4,15,34,.92) 0%,rgba(8,25,50,.84) 36%,rgba(8,28,56,.47) 59%,rgba(8,28,56,.08) 100%),url('party-bg/centrum.webp')}
.profile-summary--themed.party-art-inne,.group-hero.party-art-inne,.party-card-hero.party-art-inne{background-image:linear-gradient(110deg,#0b192e 0%,#24364f 54%,#546780 100%)}
.profile-summary--themed.party-art-polska2050,.group-hero.party-art-polska2050,.party-card-hero.party-art-polska2050{background-image:linear-gradient(110deg,#0d1c34 0%,#213251 43%,#d0a527 100%)}

/* G4: własne lekkie tło Polska 2050, ścieżki względem pliku CSS */
.profile-summary--themed.party-art-polska2050,.group-hero.party-art-polska2050,.party-card-hero.party-art-polska2050{background-image:linear-gradient(90deg,rgba(4,15,34,.95) 0%,rgba(8,25,50,.86) 36%,rgba(8,28,56,.49) 59%,rgba(8,28,56,.05) 100%),url('party-bg/polska2050.webp')}
/* Pozostałe kluby i koła: neutralna kompozycja bez podszywania się pod oficjalne logo */
.profile-summary--themed.party-art-rozwojplus,.group-hero.party-art-rozwojplus,.party-card-hero.party-art-rozwojplus,.profile-summary--themed.party-art-razem,.group-hero.party-art-razem,.party-card-hero.party-art-razem,.profile-summary--themed.party-art-demokracja,.group-hero.party-art-demokracja,.party-card-hero.party-art-demokracja,.profile-summary--themed.party-art-konfederacja_kp,.group-hero.party-art-konfederacja_kp,.party-card-hero.party-art-konfederacja_kp,.profile-summary--themed.party-art-niezrzeszeni,.group-hero.party-art-niezrzeszeni,.party-card-hero.party-art-niezrzeszeni,.profile-summary--themed.party-art-inne,.group-hero.party-art-inne,.party-card-hero.party-art-inne{background-image:linear-gradient(107deg,#0a192e 0%,#182d4b 42%,#394b67 75%,#60718b 100%),repeating-linear-gradient(128deg,transparent 0 80px,rgba(255,255,255,.05) 81px 86px,transparent 87px 155px)}
