/*
Theme Name: PSG Pro League
Theme URI: https://pilkarskastrefagrudziadza.pl/
Author: KK WP Designer
Description: Dedykowany motyw dla Piłkarskiej Strefy Grudziądza z obsługą SportsPress i kolorami lig.
Version: 1.5.57
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.0
Text Domain: psg-pro-league
*/
:root{--psg-bg:#f4f6f8;--psg-surface:#fff;--psg-dark:#141b23;--psg-dark2:#202a35;--psg-text:#26323f;--psg-muted:#6f7b86;--psg-border:#dfe5ea;--psg-primary:#E3180A;--psg-accent:#463487;--psg-league-color:#E3180A;--psg-radius:10px;--psg-shadow:0 16px 40px rgba(18,32,45,.10);--psg-container:1220px}*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--psg-bg);color:var(--psg-text);font-family:Inter,Arial,sans-serif;line-height:1.6}img{max-width:100%;height:auto}a{color:var(--psg-primary);text-decoration:none}a:hover{color:#008d85}.psg-container{width:min(var(--psg-container),calc(100% - 40px));margin:auto}.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.skip-link:focus{position:fixed!important;left:12px;top:12px;width:auto;height:auto;padding:10px 14px;background:#fff;color:#000;z-index:99999;clip:auto}
.site-header{position:sticky;top:0;z-index:1000;background:rgba(20,27,35,.97);border-bottom:1px solid rgba(255,255,255,.08);backdrop-filter:blur(12px)}.psg-header-inner{min-height:88px;display:flex;align-items:center;justify-content:space-between;gap:24px}.site-branding{display:flex;align-items:center;gap:14px}.custom-logo{width:auto;max-height:62px}.psg-site-name{color:#fff;font-size:18px;font-weight:900;line-height:1.15}.psg-site-tagline{color:rgba(255,255,255,.58);font-size:12px;margin-top:4px}.main-navigation ul{list-style:none;margin:0;padding:0}.main-navigation .menu{display:flex;gap:2px}.main-navigation li{position:relative}.main-navigation a{display:flex;align-items:center;min-height:42px;padding:0 11px;color:#fff;font-size:13px;font-weight:750}.main-navigation a:hover,.main-navigation .current-menu-item>a,.main-navigation .current-menu-ancestor>a{color:var(--psg-primary)}.main-navigation .sub-menu{position:absolute;left:0;top:100%;min-width:235px;padding:8px;background:#fff;border:1px solid var(--psg-border);border-radius:8px;box-shadow:var(--psg-shadow);opacity:0;visibility:hidden;transform:translateY(8px);transition:.2s}.main-navigation li:hover>.sub-menu,.main-navigation li:focus-within>.sub-menu{opacity:1;visibility:visible;transform:none}.main-navigation .sub-menu a{color:var(--psg-text);min-height:38px;border-radius:5px;padding:8px 10px}.main-navigation .sub-menu a:hover{background:var(--psg-bg);color:var(--psg-primary)}.main-navigation .sub-menu .sub-menu{left:100%;top:0}.menu-toggle{display:none;border:0;border-radius:6px;background:var(--psg-primary);color:#fff;padding:10px 13px;font-weight:800}
.psg-hero{position:relative;min-height:590px;display:grid;align-items:center;color:#fff;background:linear-gradient(90deg,rgba(13,19,25,.97),rgba(13,19,25,.72) 54%,rgba(13,19,25,.42)),var(--psg-hero-image,linear-gradient(135deg,#202a35,#0f141a));background-size:cover;background-position:center}.psg-hero:after{content:"";position:absolute;left:0;right:0;bottom:0;height:6px;background:linear-gradient(90deg,#E3180A 0 50%,#463487 50% 100%)}.psg-hero-content{position:relative;z-index:2;max-width:820px;padding:78px 0}.psg-kicker{display:inline-flex;align-items:center;gap:9px;margin-bottom:18px;padding:7px 11px;border:1px solid rgba(255,255,255,.18);border-radius:999px;background:rgba(255,255,255,.06);font-size:12px;font-weight:850;letter-spacing:.1em;text-transform:uppercase}.psg-kicker:before{content:"";width:8px;height:8px;border-radius:50%;background:var(--psg-primary);box-shadow:0 0 0 5px rgba(0,166,156,.16)}.psg-hero h1{margin:0;font-size:clamp(44px,7vw,84px);line-height:.96;letter-spacing:-.055em;text-transform:uppercase}.psg-hero h1 span{display:block;color:var(--psg-primary)}.psg-hero p{max-width:680px;margin:24px 0 30px;color:rgba(255,255,255,.78);font-size:clamp(17px,2vw,21px)}.psg-actions{display:flex;flex-wrap:wrap;gap:12px}.psg-button{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:13px 21px;border:1px solid transparent;border-radius:6px;font-size:14px;font-weight:850;transition:.2s}.psg-button:hover{transform:translateY(-2px)}.psg-button-primary{background:var(--psg-primary);color:#fff!important;box-shadow:0 12px 28px rgba(0,166,156,.23)}.psg-button-secondary{border-color:rgba(255,255,255,.25);background:rgba(255,255,255,.07);color:#fff!important}
.site-content{padding:56px 0}.psg-layout{display:grid;grid-template-columns:minmax(0,1fr) 310px;gap:32px}.psg-layout.no-sidebar{grid-template-columns:1fr}.content-area,.widget-area{min-width:0}.entry-card,.widget,.sp-template{background:#fff;border:1px solid var(--psg-border);border-radius:var(--psg-radius);box-shadow:0 8px 24px rgba(18,32,45,.05)}.entry-card{padding:clamp(22px,4vw,42px);margin-bottom:24px}.entry-header{margin-bottom:28px}.entry-title{margin:0;color:var(--psg-dark);font-size:clamp(30px,4vw,48px);line-height:1.08;letter-spacing:-.035em}.entry-meta{margin-top:10px;color:var(--psg-muted);font-size:13px}.entry-content h2,.entry-content h3,.entry-content h4{color:var(--psg-dark);line-height:1.2}.widget{padding:22px;margin-bottom:20px}.widget-title{margin:0 0 15px;color:var(--psg-dark);font-size:18px}.widget ul{list-style:none;margin:0;padding:0}.widget li+li{border-top:1px solid var(--psg-border)}.widget li a{display:block;padding:9px 0}
.psg-front-content{padding:70px 0}.psg-front-content .entry-card{border-top:5px solid var(--psg-primary)}.psg-league-strip{margin-top:-42px;position:relative;z-index:5}.psg-league-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.psg-league-box{position:relative;min-height:160px;padding:24px;background:#fff;border:1px solid var(--psg-border);border-radius:9px;box-shadow:var(--psg-shadow);overflow:hidden}.psg-league-box:before{content:"";position:absolute;left:0;top:0;bottom:0;width:6px;background:var(--league)}.psg-league-box h3{margin:0 0 8px;color:var(--psg-dark);font-size:22px}.psg-league-box p{margin:0 0 16px;color:var(--psg-muted);font-size:14px}.psg-league-box a{font-weight:850;color:var(--league)}
.site-footer{background:var(--psg-dark);color:rgba(255,255,255,.72);border-top:6px solid var(--psg-primary)}.psg-footer-main{padding:52px 0;display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:38px}.psg-footer-brand h2{margin:0 0 12px;color:#fff;font-size:24px}.footer-navigation ul{list-style:none;margin:0;padding:0;columns:2}.footer-navigation a{display:block;padding:5px 0;color:rgba(255,255,255,.75)}.psg-footer-bottom{padding:18px 0;border-top:1px solid rgba(255,255,255,.1);font-size:13px}
input[type=text],input[type=email],input[type=search],input[type=number],input[type=date],input[type=time],input[type=password],select,textarea{width:100%;padding:11px 12px;border:1px solid var(--psg-border);border-radius:6px;background:#fff;color:var(--psg-text)}button,input[type=submit]{border:0;border-radius:6px;background:var(--psg-primary);color:#fff;padding:11px 17px;font-weight:800;cursor:pointer}
@media(max-width:1080px){.menu-toggle{display:block}.main-navigation{position:relative}.main-navigation .menu{display:none;position:absolute;right:0;top:54px;width:min(360px,calc(100vw - 28px));max-height:75vh;overflow:auto;flex-direction:column;align-items:stretch;padding:10px;background:#fff;border-radius:8px;box-shadow:var(--psg-shadow)}.main-navigation.toggled .menu{display:flex}.main-navigation a{color:var(--psg-text)}.main-navigation .sub-menu{position:static;display:none;min-width:0;padding:0 0 0 12px;border:0;box-shadow:none;opacity:1;visibility:visible;transform:none}.main-navigation li:hover>.sub-menu,.main-navigation li:focus-within>.sub-menu{display:block}.psg-layout{grid-template-columns:1fr}.psg-league-grid{grid-template-columns:1fr}}@media(max-width:760px){.psg-container{width:min(100% - 28px,var(--psg-container))}.psg-site-name,.psg-site-tagline{display:none}.custom-logo{max-height:52px}.psg-header-inner{min-height:72px}.psg-hero{min-height:540px}.psg-hero-content{padding:62px 0}.psg-actions{display:grid}.psg-button{width:100%}.site-content{padding:34px 0}.psg-footer-main{grid-template-columns:1fr}.footer-navigation ul{columns:1}}


/* ===== PSG 1.1 — identyfikacja z logo ===== */
:root{
  --psg-logo-red:#E3180A;
  --psg-logo-blue:#463487;
  --psg-logo-white:#FFFFFF;
  --psg-logo-red-dark:#B81208;
  --psg-logo-blue-dark:#34256F;
}

.site-header{
  background:
    linear-gradient(90deg,rgba(227,24,10,.08),transparent 32%),
    rgba(20,27,35,.98);
}

.site-header::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:0;
  height:3px;
  background:linear-gradient(90deg,var(--psg-logo-red) 0 50%,var(--psg-logo-blue) 50% 100%);
}

.psg-kicker::before{background:var(--psg-logo-red);box-shadow:0 0 0 5px rgba(227,24,10,.16)}
.psg-hero h1 span{color:var(--psg-logo-red)}
.psg-button-primary{background:linear-gradient(135deg,var(--psg-logo-red),#F13B2E);box-shadow:0 12px 28px rgba(227,24,10,.25)}
.psg-button-primary:hover{background:var(--psg-logo-red-dark)}
.menu-toggle{background:linear-gradient(135deg,var(--psg-logo-red),var(--psg-logo-blue))}
.site-footer{border-top-color:var(--psg-logo-red)}
.psg-front-content .entry-card{border-top-color:var(--psg-logo-blue)}

/* ===== Wyniki SportsPress — karty meczowe ===== */
.sp-template-event-blocks .sp-event-blocks{
  border-collapse:separate!important;
  border-spacing:0 16px!important;
  background:transparent!important;
}

.sp-template-event-blocks .sp-event-blocks thead{
  display:none!important;
}

.sp-template-event-blocks .sp-event-blocks tbody,
.sp-template-event-blocks .sp-event-blocks tr,
.sp-template-event-blocks .sp-event-blocks td{
  border:0!important;
}

.sp-template-event-blocks .sp-event-blocks tr.sp-row{
  display:block;
  margin-bottom:16px;
}

.sp-template-event-blocks .sp-event-blocks tr.sp-row>td{
  position:relative;
  display:grid!important;
  grid-template-columns:minmax(150px,1fr) minmax(150px,1fr);
  grid-template-areas:
    "title title"
    "team1 team2"
    "date date"
    "score score"
    "halves halves"
    "meta meta";
  align-items:start;
  gap:8px 24px;
  padding:24px!important;
  overflow:hidden;
  border:1px solid var(--psg-border)!important;
  border-top:5px solid var(--psg-league-color)!important;
  border-radius:12px;
  background:#fff!important;
  box-shadow:0 12px 32px rgba(18,32,45,.08);
}

.sp-template-event-blocks .sp-event-title-top{grid-area:title;text-align:center;margin-bottom:6px!important}
.sp-template-event-blocks .sp-event-title{margin:0!important;font-size:18px!important;line-height:1.3}
.sp-template-event-blocks .sp-event-title a{color:var(--psg-dark)!important;font-weight:900!important}

.sp-template-event-blocks .team-logo{
  float:none!important;
  width:auto!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  gap:12px;
  text-align:center;
}

.sp-template-event-blocks .team-logo.logo-odd{grid-area:team1}
.sp-template-event-blocks .team-logo.logo-even{grid-area:team2}

.sp-template-event-blocks .team-logo>a:first-child{
  min-height:120px;
  display:flex!important;
  align-items:center;
  justify-content:center;
}

.sp-template-event-blocks .team-logo>a:first-child img{
  width:auto!important;
  height:auto!important;
  max-width:112px!important;
  max-height:112px!important;
  object-fit:contain;
}

/* MVP z nazwą i zdjęciem zawodnika */
.psg-mvp-pill{
  position:relative;
  min-width:150px;
  max-width:210px;
  min-height:48px;
  display:flex!important;
  align-items:center;
  justify-content:center;
  gap:9px;
  padding:7px 12px 7px 10px;
  border:1px solid rgba(70,52,135,.18);
  border-radius:999px;
  background:
    linear-gradient(135deg,rgba(227,24,10,.08),rgba(70,52,135,.10)),
    #fff;
  box-shadow:0 7px 18px rgba(31,37,48,.09);
}

.psg-mvp-pill::before{
  content:"MVP";
  position:absolute;
  left:50%;
  top:-9px;
  transform:translateX(-50%);
  padding:2px 7px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--psg-logo-red),var(--psg-logo-blue));
  color:#fff;
  font-size:9px;
  line-height:1.35;
  font-weight:900;
  letter-spacing:.08em;
}

.psg-mvp-photo{
  flex:0 0 38px;
  width:38px!important;
  height:38px!important;
  max-width:38px!important;
  max-height:38px!important;
  margin:0!important;
  border:2px solid #fff;
  border-radius:50%!important;
  object-fit:cover!important;
  box-shadow:0 0 0 2px rgba(70,52,135,.22);
}

.psg-mvp-star{
  flex:0 0 auto;
  color:#F4B400;
  font-size:18px;
  line-height:1;
  text-shadow:0 1px 2px rgba(0,0,0,.15);
}

.psg-mvp-link{
  display:flex!important;
  flex-direction:column;
  align-items:flex-start;
  color:var(--psg-dark)!important;
  font-size:12px!important;
  font-weight:850!important;
  line-height:1.12!important;
  text-align:left;
  overflow-wrap:anywhere;
}

.psg-mvp-link:hover{color:var(--psg-logo-blue)!important}

.sp-template-event-blocks .sp-event-date{
  grid-area:date;
  margin-top:6px!important;
  text-align:center;
  font-size:13px!important;
}

.sp-template-event-blocks .sp-event-matchday{
  grid-area:date;
  justify-self:center;
  margin-top:28px;
  color:var(--psg-muted);
  font-size:12px;
}

.sp-template-event-blocks .sp-event-results{
  grid-area:score;
  margin:10px 0 0!important;
  text-align:center;
  font-size:clamp(34px,5vw,54px)!important;
  line-height:1!important;
}

.sp-template-event-blocks .sp-result{
  display:inline-grid;
  place-items:center;
  min-width:60px;
  min-height:60px;
  padding:5px 12px;
  border-radius:10px;
  background:var(--psg-dark);
  color:#fff;
}

.sp-template-event-blocks .sp-result.ok{
  background:linear-gradient(135deg,var(--psg-logo-red),var(--psg-logo-blue));
}

.sp-template-event-blocks .psg-halves-note{
  grid-area:halves;
  justify-content:center;
  margin:2px 0 0!important;
}

.sp-template-event-blocks .sp-event-league,
.sp-template-event-blocks .sp-event-venue{
  grid-area:meta;
  justify-self:center;
  color:var(--psg-muted);
  font-size:12px;
}

.sp-template-event-blocks .sp-event-venue{margin-top:22px}

/* Profile zawodników i rankingi */
.sp-template-player-photo img,
.sp-player-gallery img,
.sp-player-list .player-photo img,
.sp-data-table .data-photo img{
  border-radius:50%!important;
  object-fit:cover;
  border:3px solid #fff;
  box-shadow:0 0 0 2px rgba(70,52,135,.22);
}

@media(max-width:782px){
  .sp-template-event-blocks .sp-event-blocks tr.sp-row>td{
    grid-template-columns:1fr 1fr;
    gap:8px 10px;
    padding:18px 10px!important;
  }

  .sp-template-event-blocks .team-logo>a:first-child{
    min-height:86px;
  }

  .sp-template-event-blocks .team-logo>a:first-child img{
    max-width:78px!important;
    max-height:78px!important;
  }

  .psg-mvp-pill{
    min-width:0;
    width:100%;
    max-width:155px;
    min-height:44px;
    padding:7px 7px;
    gap:5px;
  }

  .psg-mvp-photo{
    flex-basis:32px;
    width:32px!important;
    height:32px!important;
    max-width:32px!important;
    max-height:32px!important;
  }

  .psg-mvp-star{font-size:15px}
  .psg-mvp-link{font-size:10px!important}
  .sp-template-event-blocks .sp-event-title{font-size:15px!important}
  .sp-template-event-blocks .sp-result{min-width:49px;min-height:49px}
}


/* ===== Wynik pierwszej i drugiej połowy pod wynikiem głównym ===== */
.sp-template-event-blocks .psg-halves-note,
.sp-event-results + .psg-halves-note,
.psg-halves-note{
  display:flex!important;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:7px;
  margin:6px auto 0!important;
  color:var(--psg-muted)!important;
  font-size:12px!important;
  line-height:1.25!important;
  text-align:center;
}

.psg-halves-note .psg-half{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  min-height:25px;
  padding:3px 8px!important;
  border:1px solid rgba(70,52,135,.16)!important;
  border-radius:999px!important;
  background:rgba(70,52,135,.06)!important;
  color:var(--psg-dark)!important;
  font-weight:800!important;
}

.psg-halves-note .psg-half-ht::before{
  content:"I połowa ";
  margin-right:3px;
  color:var(--psg-logo-blue);
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.03em;
}

.psg-halves-note .psg-half-sh::before{
  content:"II połowa ";
  margin-right:3px;
  color:var(--psg-logo-red);
  font-size:10px;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.03em;
}

@media(max-width:782px){
  .psg-halves-note{
    gap:5px;
    font-size:11px!important;
  }

  .psg-halves-note .psg-half{
    min-height:23px;
    padding:3px 6px!important;
  }

  .psg-halves-note .psg-half-ht::before,
  .psg-halves-note .psg-half-sh::before{
    font-size:9px;
  }
}


/* =========================================================
   PSG 1.1.2 — poprawka bloków wyników, MVP i nachodzenia logo
   ========================================================= */

.sp-template-event-blocks,
.sp-template-event-blocks .sp-table-wrapper,
.sp-template-event-blocks .sp-event-blocks,
.sp-template-event-blocks .sp-event-blocks tbody{
  overflow:visible!important;
}

.sp-template-event-blocks .sp-event-blocks tr.sp-row{
  display:block!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  overflow:visible!important;
}

.sp-template-event-blocks .sp-event-blocks tr.sp-row>td{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-areas:
    "title title"
    "team1 team2"
    "date date"
    "score score"
    "halves halves"
    "league league"
    "venue venue"!important;
  align-items:start!important;
  min-height:0!important;
  height:auto!important;
  padding:26px 22px 22px!important;
  overflow:visible!important;
  position:relative!important;
}

/* reset starych floatów/pozycjonowania SportsPress */
.sp-template-event-blocks .team-logo,
.sp-template-event-blocks .team-logo.logo-odd,
.sp-template-event-blocks .team-logo.logo-even{
  position:relative!important;
  inset:auto!important;
  top:auto!important;
  right:auto!important;
  bottom:auto!important;
  left:auto!important;
  float:none!important;
  clear:none!important;
  width:100%!important;
  max-width:none!important;
  height:auto!important;
  min-height:0!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  overflow:visible!important;
  z-index:2!important;
}

.sp-template-event-blocks .team-logo.logo-odd{
  grid-area:team1!important;
}

.sp-template-event-blocks .team-logo.logo-even{
  grid-area:team2!important;
}

.sp-template-event-blocks .team-logo>a:first-child{
  position:relative!important;
  inset:auto!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:126px!important;
  margin:0!important;
  padding:0!important;
  transform:none!important;
  z-index:1!important;
}

.sp-template-event-blocks .team-logo>a:first-child img{
  position:static!important;
  float:none!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:106px!important;
  max-height:106px!important;
  margin:0 auto!important;
  object-fit:contain!important;
  transform:none!important;
}

/* MVP zawsze widoczne pod herbem */
.sp-template-event-blocks .psg-mvp-pill{
  position:relative!important;
  inset:auto!important;
  display:flex!important;
  visibility:visible!important;
  opacity:1!important;
  z-index:10!important;
  width:auto!important;
  min-width:150px!important;
  max-width:220px!important;
  min-height:48px!important;
  margin:2px auto 0!important;
  overflow:visible!important;
  transform:none!important;
}

.sp-template-event-blocks .psg-mvp-pill[style*="display:none"],
.sp-template-event-blocks .psg-mvp-pill[hidden]{
  display:flex!important;
}

.sp-template-event-blocks .psg-mvp-link{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  color:var(--psg-dark)!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
  line-height:1.15!important;
  text-align:left!important;
}

.sp-template-event-blocks .psg-mvp-star{
  display:inline-block!important;
  visibility:visible!important;
  opacity:1!important;
}

/* data i kolejka pod herbami — bez nachodzenia */
.sp-template-event-blocks .sp-event-date{
  grid-area:date!important;
  position:static!important;
  display:block!important;
  width:100%!important;
  margin:14px 0 0!important;
  padding:0!important;
  text-align:center!important;
  transform:none!important;
  z-index:1!important;
}

.sp-template-event-blocks .sp-event-date a{
  display:inline-block!important;
  color:var(--psg-dark)!important;
  font-size:13px!important;
  font-weight:800!important;
  line-height:1.3!important;
}

.sp-template-event-blocks .sp-event-matchday{
  grid-area:date!important;
  position:static!important;
  display:block!important;
  width:100%!important;
  margin:36px 0 0!important;
  text-align:center!important;
  transform:none!important;
  color:var(--psg-muted)!important;
  z-index:1!important;
}

/* wynik zawsze niżej niż data */
.sp-template-event-blocks .sp-event-results{
  grid-area:score!important;
  position:static!important;
  width:100%!important;
  margin:18px 0 0!important;
  padding:0!important;
  text-align:center!important;
  transform:none!important;
  z-index:1!important;
}

/* połówki, liga i obiekt w osobnych rzędach */
.sp-template-event-blocks .psg-halves-note{
  grid-area:halves!important;
  position:static!important;
  width:100%!important;
  margin:8px 0 0!important;
}

.sp-template-event-blocks .sp-event-league{
  grid-area:league!important;
  position:static!important;
  width:100%!important;
  margin:10px 0 0!important;
  text-align:center!important;
}

.sp-template-event-blocks .sp-event-venue{
  grid-area:venue!important;
  position:static!important;
  width:100%!important;
  margin:0!important;
  text-align:center!important;
}

/* nie ukrywaj zdjęć MVP */
.sp-template-event-blocks .psg-mvp-photo{
  display:block!important;
  visibility:visible!important;
  opacity:1!important;
  flex:0 0 38px!important;
  width:38px!important;
  height:38px!important;
  max-width:38px!important;
  max-height:38px!important;
  margin:0!important;
  border-radius:50%!important;
  object-fit:cover!important;
}

/* telefon */
@media(max-width:782px){
  .sp-template-event-blocks .sp-event-blocks tr.sp-row>td{
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    padding:20px 10px 18px!important;
    gap:7px 8px!important;
  }

  .sp-template-event-blocks .team-logo>a:first-child{
    min-height:88px!important;
  }

  .sp-template-event-blocks .team-logo>a:first-child img{
    max-width:76px!important;
    max-height:76px!important;
  }

  .sp-template-event-blocks .psg-mvp-pill{
    min-width:0!important;
    width:100%!important;
    max-width:155px!important;
    min-height:44px!important;
    margin-top:4px!important;
    padding:7px 6px!important;
  }

  .sp-template-event-blocks .psg-mvp-photo{
    flex-basis:31px!important;
    width:31px!important;
    height:31px!important;
    max-width:31px!important;
    max-height:31px!important;
  }

  .sp-template-event-blocks .sp-event-date{
    margin-top:12px!important;
  }

  .sp-template-event-blocks .sp-event-matchday{
    margin-top:34px!important;
  }

  .sp-template-event-blocks .sp-event-results{
    margin-top:15px!important;
  }
}


/* =========================================================
   PSG 1.2 — minimalistyczny interfejs, mobile first
   ========================================================= */

:root{
  --psg-logo-red:#e31b12;
  --psg-logo-blue:#342b8c;
  --psg-ink:#151b23;
  --psg-soft:#f5f6f8;
}

/* Mniej dekoracji */
.entry-card,.widget,.sp-template{
  box-shadow:none!important;
}

.sp-template{
  border:1px solid var(--psg-border)!important;
  border-radius:8px!important;
  overflow:hidden!important;
  border-top:0!important;
}

.sp-table-caption{
  margin:0 0 12px!important;
  padding:12px 14px!important;
  border:0!important;
  border-left:4px solid var(--psg-league-color)!important;
  background:#fff!important;
  color:var(--psg-dark)!important;
  font-size:18px!important;
  line-height:1.25!important;
  box-shadow:none!important;
}

.sp-template-event-blocks{
  border:0!important;
  background:transparent!important;
}

.sp-template-event-blocks .sp-table-wrapper{
  overflow:visible!important;
}

.sp-template-event-blocks .sp-event-blocks{
  border-spacing:0 12px!important;
  background:transparent!important;
}

.sp-template-event-blocks .sp-event-blocks thead{
  display:none!important;
}

.sp-template-event-blocks .sp-event-blocks tr.sp-row{
  display:block!important;
  margin:0 0 12px!important;
}

.sp-template-event-blocks .sp-event-blocks tr.sp-row>td{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
  grid-template-areas:
    "title title"
    "team1 team2"
    "date date"
    "score score"
    "halves halves"
    "league venue"!important;
  gap:8px 18px!important;
  padding:18px!important;
  border:1px solid var(--psg-border)!important;
  border-top:3px solid var(--psg-league-color)!important;
  border-radius:8px!important;
  background:#fff!important;
  box-shadow:none!important;
  overflow:visible!important;
}

.sp-template-event-blocks .sp-event-title-top{
  grid-area:title!important;
  margin:0 0 2px!important;
  text-align:center!important;
}

.sp-template-event-blocks .sp-event-title{
  margin:0!important;
  font-size:16px!important;
  line-height:1.3!important;
}

.sp-template-event-blocks .sp-event-title a{
  color:var(--psg-dark)!important;
  font-weight:800!important;
}

.sp-template-event-blocks .team-logo{
  position:static!important;
  float:none!important;
  width:100%!important;
  margin:0!important;
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:flex-start!important;
  gap:8px!important;
  overflow:visible!important;
}

.sp-template-event-blocks .team-logo.logo-odd{grid-area:team1!important}
.sp-template-event-blocks .team-logo.logo-even{grid-area:team2!important}

.sp-template-event-blocks .team-logo>a:first-child{
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:100%!important;
  min-height:92px!important;
}

.sp-template-event-blocks .team-logo>a:first-child img{
  position:static!important;
  display:block!important;
  width:auto!important;
  height:auto!important;
  max-width:82px!important;
  max-height:82px!important;
  margin:auto!important;
  object-fit:contain!important;
}

/* MVP kompaktowo */
.psg-mvp-pill{
  position:relative!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:5px!important;
  min-width:0!important;
  max-width:190px!important;
  min-height:34px!important;
  margin:0 auto!important;
  padding:4px 7px!important;
  border:1px solid var(--psg-border)!important;
  border-radius:999px!important;
  background:#fff!important;
  box-shadow:none!important;
  visibility:visible!important;
  opacity:1!important;
}

.psg-mvp-pill::before{
  display:none!important;
}

.psg-mvp-photo{
  display:block!important;
  width:28px!important;
  height:28px!important;
  max-width:28px!important;
  max-height:28px!important;
  border:0!important;
  border-radius:50%!important;
  object-fit:cover!important;
  box-shadow:none!important;
}

.psg-mvp-star{
  color:#e5ad00!important;
  font-size:14px!important;
  line-height:1!important;
}

.psg-mvp-link{
  display:block!important;
  color:var(--psg-dark)!important;
  font-size:11px!important;
  font-weight:700!important;
  line-height:1.15!important;
  text-align:left!important;
  white-space:normal!important;
  overflow-wrap:anywhere!important;
}

.sp-template-event-blocks .sp-event-date{
  grid-area:date!important;
  position:static!important;
  margin:4px 0 0!important;
  text-align:center!important;
}

.sp-template-event-blocks .sp-event-date a{
  color:var(--psg-dark)!important;
  font-size:12px!important;
  font-weight:700!important;
}

.sp-template-event-blocks .sp-event-matchday{
  grid-area:date!important;
  position:static!important;
  margin:23px 0 0!important;
  text-align:center!important;
  color:var(--psg-muted)!important;
  font-size:11px!important;
}

.sp-template-event-blocks .sp-event-results{
  grid-area:score!important;
  position:static!important;
  margin:10px 0 0!important;
  text-align:center!important;
  font-size:32px!important;
  line-height:1!important;
}

.sp-template-event-blocks .sp-result{
  display:inline-grid!important;
  place-items:center!important;
  min-width:46px!important;
  min-height:46px!important;
  padding:4px 9px!important;
  border-radius:7px!important;
  background:var(--psg-ink)!important;
  color:#fff!important;
}

.sp-template-event-blocks .sp-result.ok{
  background:linear-gradient(135deg,var(--psg-logo-red),var(--psg-logo-blue))!important;
}

.psg-halves-note{
  grid-area:halves!important;
  display:flex!important;
  justify-content:center!important;
  gap:6px!important;
  margin:0!important;
  font-size:11px!important;
  color:var(--psg-muted)!important;
}

.psg-halves-note .psg-half{
  padding:2px 6px!important;
  border:0!important;
  border-radius:4px!important;
  background:var(--psg-soft)!important;
  color:var(--psg-text)!important;
  font-weight:700!important;
}

.psg-halves-note .psg-half-ht::before{content:"I poł. ";color:var(--psg-logo-blue)}
.psg-halves-note .psg-half-sh::before{content:"II poł. ";color:var(--psg-logo-red)}

.sp-template-event-blocks .sp-event-league{
  grid-area:league!important;
  margin:2px 0 0!important;
  text-align:right!important;
  color:var(--psg-muted)!important;
  font-size:11px!important;
}

.sp-template-event-blocks .sp-event-venue{
  grid-area:venue!important;
  margin:2px 0 0!important;
  text-align:left!important;
  color:var(--psg-muted)!important;
  font-size:11px!important;
}

/* Tabele: jedna linia koloru, zero złotych ramek */
.sp-league-table,
.sp-player-list,
.sp-data-table{
  border:0!important;
  box-shadow:none!important;
}

.sp-data-table thead th{
  padding:10px 8px!important;
  background:var(--psg-ink)!important;
  font-size:11px!important;
}

.sp-data-table tbody td{
  padding:9px 8px!important;
  font-size:12px!important;
}

.sp-data-table tbody tr:nth-child(even){
  background:#f7f8fa!important;
}

/* Mobile-first */
@media(max-width:782px){
  body{font-size:15px}
  .psg-container{width:calc(100% - 24px)!important}
  .site-content{padding:22px 0!important}
  .entry-card{padding:16px!important;border-radius:8px!important}
  .entry-title{font-size:28px!important}

  .site-header{position:sticky!important}
  .psg-header-inner{min-height:64px!important}
  .custom-logo{max-height:46px!important}

  .main-navigation .menu{
    width:calc(100vw - 24px)!important;
    right:-2px!important;
    top:46px!important;
    max-height:calc(100vh - 82px)!important;
  }
  .main-navigation a{
    min-height:44px!important;
    padding:8px 10px!important;
    font-size:14px!important;
  }

  .sp-table-caption{
    margin-bottom:8px!important;
    padding:10px 11px!important;
    font-size:16px!important;
  }

  .sp-template-event-blocks .sp-event-blocks{
    border-spacing:0 9px!important;
  }

  .sp-template-event-blocks .sp-event-blocks tr.sp-row>td{
    gap:6px 8px!important;
    padding:14px 8px!important;
    border-top-width:3px!important;
  }

  .sp-template-event-blocks .sp-event-title{
    font-size:14px!important;
  }

  .sp-template-event-blocks .team-logo>a:first-child{
    min-height:68px!important;
  }

  .sp-template-event-blocks .team-logo>a:first-child img{
    max-width:60px!important;
    max-height:60px!important;
  }

  .psg-mvp-pill{
    width:100%!important;
    max-width:138px!important;
    min-height:31px!important;
    padding:3px 5px!important;
  }

  .psg-mvp-photo{
    width:24px!important;
    height:24px!important;
    max-width:24px!important;
    max-height:24px!important;
  }

  .psg-mvp-link{font-size:9.5px!important}
  .psg-mvp-star{font-size:12px!important}

  .sp-template-event-blocks .sp-event-results{
    margin-top:7px!important;
    font-size:27px!important;
  }

  .sp-template-event-blocks .sp-result{
    min-width:40px!important;
    min-height:40px!important;
    border-radius:6px!important;
  }

  .psg-halves-note{
    gap:4px!important;
    font-size:9.5px!important;
  }

  .psg-halves-note .psg-half{
    padding:2px 5px!important;
  }

  /* Najważniejsze kolumny bez poziomego przewijania */
  .sp-table-wrapper{
    overflow-x:visible!important;
  }

  .sp-league-table{
    min-width:0!important;
    table-layout:auto!important;
  }

  .sp-league-table .data-gf,
  .sp-league-table .data-ga,
  .sp-league-table .data-gd,
  .sp-league-table .data-bz,
  .sp-league-table .data-bs,
  .sp-league-table .data-rb,
  .sp-league-table th:nth-last-child(2){
    display:none!important;
  }

  .sp-league-table .data-rank{
    width:28px!important;
  }

  .sp-league-table .data-name{
    width:auto!important;
  }

  .sp-league-table th,
  .sp-league-table td{
    padding:8px 5px!important;
    font-size:10.5px!important;
    white-space:normal!important;
  }

  .sp-league-table .team-logo,
  .sp-league-table img{
    max-width:18px!important;
    max-height:18px!important;
  }
}

@media(max-width:420px){
  .psg-container{width:calc(100% - 16px)!important}
  .sp-template-event-blocks .sp-event-blocks tr.sp-row>td{
    padding:12px 6px!important;
  }
  .sp-template-event-blocks .team-logo>a:first-child{
    min-height:58px!important;
  }
  .sp-template-event-blocks .team-logo>a:first-child img{
    max-width:52px!important;
    max-height:52px!important;
  }
  .psg-mvp-pill{
    max-width:126px!important;
  }
  .psg-mvp-link{
    font-size:9px!important;
  }
}


/* =========================================================
   PSG 1.2.1 — poprawka zawijania nazwisk MVP
   ========================================================= */

.psg-mvp-pill{
  width:auto!important;
  min-width:150px!important;
  max-width:220px!important;
  padding:5px 10px!important;
  gap:6px!important;
}

.psg-mvp-link{
  display:block!important;
  width:auto!important;
  max-width:155px!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:normal!important;
  hyphens:none!important;
  text-align:center!important;
  line-height:1.2!important;
  font-size:11px!important;
}

.psg-mvp-pill:not(:has(.psg-mvp-photo)) .psg-mvp-link{
  max-width:170px!important;
}

@media(max-width:782px){
  .psg-mvp-pill{
    width:auto!important;
    min-width:118px!important;
    max-width:150px!important;
    padding:4px 7px!important;
  }

  .psg-mvp-link{
    max-width:108px!important;
    font-size:10px!important;
    line-height:1.18!important;
  }

  .psg-mvp-pill:not(:has(.psg-mvp-photo)) .psg-mvp-link{
    max-width:122px!important;
  }
}

@media(max-width:420px){
  .psg-mvp-pill{
    min-width:108px!important;
    max-width:138px!important;
  }

  .psg-mvp-link{
    max-width:98px!important;
    font-size:9.5px!important;
  }

  .psg-mvp-pill:not(:has(.psg-mvp-photo)) .psg-mvp-link{
    max-width:112px!important;
  }
}


/* =========================================================
   PSG 1.2.2 — kolor PSG Liga A
   ========================================================= */

:root{
  --psg-liga-a:#E3180A;
}

/* Klasy pomocnicze dla stron, tabel i sekcji Ligi A */
.psg-liga-a,
.psg-league-a,
body.psg-liga-a,
body.psg-league-a{
  --psg-league-color:var(--psg-liga-a)!important;
}

/* Nagłówki i tabele Ligi A */
.sp-template.psg-liga-a,
.sp-template.psg-league-a,
.psg-liga-a .sp-template,
.psg-league-a .sp-template{
  --sp-accent:var(--psg-liga-a)!important;
  --psg-league-color:var(--psg-liga-a)!important;
}

.psg-liga-a .sp-table-caption,
.psg-league-a .sp-table-caption{
  border-left-color:var(--psg-liga-a)!important;
}

.psg-liga-a .sp-template-event-blocks .sp-event-blocks tr.sp-row>td,
.psg-league-a .sp-template-event-blocks .sp-event-blocks tr.sp-row>td{
  border-top-color:var(--psg-liga-a)!important;
}


/* =========================================================
   PSG 1.2.3 — pełna responsywność wyników na telefonie
   ========================================================= */

html,
body{
  max-width:100%;
  overflow-x:hidden;
}

.sp-template-event-blocks,
.sp-template-event-blocks .sp-table-wrapper,
.sp-template-event-blocks .sp-event-blocks,
.sp-template-event-blocks .sp-event-blocks tbody,
.sp-template-event-blocks .sp-event-blocks tr,
.sp-template-event-blocks .sp-event-blocks td{
  width:100%!important;
  max-width:100%!important;
  min-width:0!important;
}

.sp-template-event-blocks .sp-table-wrapper{
  overflow-x:hidden!important;
}

.sp-template-event-blocks .sp-event-blocks{
  table-layout:fixed!important;
}

.sp-template-event-blocks .sp-event-title,
.sp-template-event-blocks .sp-event-title a{
  display:block!important;
  width:100%!important;
  max-width:100%!important;
  white-space:normal!important;
  word-break:normal!important;
  overflow-wrap:anywhere!important;
  text-align:center!important;
}

.sp-template-event-blocks .team-logo,
.sp-template-event-blocks .team-logo>a:first-child,
.sp-template-event-blocks .psg-mvp-pill{
  min-width:0!important;
  max-width:100%!important;
}

@media(max-width:782px){
  .sp-template-event-blocks .sp-event-blocks{
    min-width:0!important;
    width:100%!important;
    max-width:100%!important;
    table-layout:fixed!important;
  }

  .sp-template-event-blocks .sp-event-blocks tr.sp-row{
    width:100%!important;
    max-width:100%!important;
    margin:0 0 10px!important;
  }

  .sp-template-event-blocks .sp-event-blocks tr.sp-row>td{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    grid-template-columns:minmax(0,1fr) minmax(0,1fr)!important;
    grid-template-areas:
      "title title"
      "team1 team2"
      "date date"
      "score score"
      "halves halves"
      "league venue"!important;
    column-gap:8px!important;
    row-gap:6px!important;
    padding:12px 8px 11px!important;
    overflow:hidden!important;
  }

  .sp-template-event-blocks .sp-event-title-top{
    width:100%!important;
    max-width:100%!important;
    overflow:hidden!important;
  }

  .sp-template-event-blocks .sp-event-title,
  .sp-template-event-blocks .sp-event-title a{
    font-size:13px!important;
    line-height:1.25!important;
    padding:0 2px!important;
  }

  .sp-template-event-blocks .team-logo{
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    overflow:hidden!important;
  }

  .sp-template-event-blocks .team-logo>a:first-child{
    width:100%!important;
    min-width:0!important;
    max-width:100%!important;
    min-height:56px!important;
  }

  .sp-template-event-blocks .team-logo>a:first-child img{
    width:auto!important;
    height:auto!important;
    max-width:52px!important;
    max-height:52px!important;
  }

  .sp-template-event-blocks .psg-mvp-pill{
    width:calc(100% - 4px)!important;
    min-width:0!important;
    max-width:132px!important;
    min-height:30px!important;
    margin:0 auto!important;
    padding:3px 5px!important;
    overflow:hidden!important;
  }

  .sp-template-event-blocks .psg-mvp-photo{
    flex:0 0 22px!important;
    width:22px!important;
    height:22px!important;
    max-width:22px!important;
    max-height:22px!important;
  }

  .sp-template-event-blocks .psg-mvp-star{
    flex:0 0 auto!important;
    font-size:11px!important;
  }

  .sp-template-event-blocks .psg-mvp-link{
    min-width:0!important;
    max-width:96px!important;
    font-size:9px!important;
    line-height:1.12!important;
    white-space:normal!important;
    word-break:normal!important;
    overflow-wrap:normal!important;
    hyphens:none!important;
    text-align:left!important;
  }

  .sp-template-event-blocks .sp-event-date{
    width:100%!important;
    margin-top:7px!important;
  }

  .sp-template-event-blocks .sp-event-date a{
    font-size:11px!important;
    line-height:1.2!important;
  }

  .sp-template-event-blocks .sp-event-matchday{
    width:100%!important;
    margin-top:25px!important;
    font-size:10px!important;
  }

  .sp-template-event-blocks .sp-event-results{
    width:100%!important;
    margin-top:8px!important;
    font-size:25px!important;
  }

  .sp-template-event-blocks .sp-result{
    min-width:38px!important;
    min-height:38px!important;
    padding:3px 7px!important;
  }

  .sp-template-event-blocks .psg-halves-note{
    width:100%!important;
    max-width:100%!important;
    flex-wrap:wrap!important;
    gap:4px!important;
  }

  .sp-template-event-blocks .psg-halves-note .psg-half{
    font-size:9px!important;
    white-space:nowrap!important;
  }

  .sp-template-event-blocks .sp-event-league,
  .sp-template-event-blocks .sp-event-venue{
    min-width:0!important;
    max-width:100%!important;
    font-size:9.5px!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  .sp-template-event-blocks .sp-event-league{
    text-align:right!important;
  }

  .sp-template-event-blocks .sp-event-venue{
    text-align:left!important;
  }
}

@media(max-width:380px){
  .sp-template-event-blocks .sp-event-blocks tr.sp-row>td{
    padding-left:6px!important;
    padding-right:6px!important;
    column-gap:5px!important;
  }

  .sp-template-event-blocks .psg-mvp-pill{
    max-width:118px!important;
  }

  .sp-template-event-blocks .psg-mvp-link{
    max-width:83px!important;
    font-size:8.5px!important;
  }

  .sp-template-event-blocks .team-logo>a:first-child img{
    max-width:46px!important;
    max-height:46px!important;
  }
}


/* ===== PSG 1.2.6 — Gutenberg/Kadence homepage shell ===== */
body.home .psg-gutenberg-home{width:100%;min-width:0;overflow:hidden}
body.home .psg-gutenberg-home>.wp-block-group,
body.home .psg-gutenberg-home>.wp-block-html{margin-block-start:0;margin-block-end:0}
body.home .psg-gutenberg-home .alignfull{width:100%;max-width:none;margin-left:0;margin-right:0}
body.home .psg-gutenberg-home .alignwide{width:min(1280px,calc(100% - 32px));max-width:1280px;margin-left:auto;margin-right:auto}
body.home .psg-gutenberg-home .entry-card{box-shadow:none;border:0;border-radius:0;padding:0;background:transparent}

/* PSG 1.3.1 */
body{overflow-x:hidden}.entry-content>*{max-width:100%}.entry-content iframe{max-width:100%}.single-sp_event .entry-card,.single-sp_team .entry-card,.single-sp_player .entry-card{border-top:5px solid var(--psg-league-color)}

/* =========================================================
   PSG 1.3.3 — profesjonalna, zwarta stopka
   ========================================================= */
.sp-footer-sponsors:empty,
.sp-footer-sponsors .sp-sponsors:empty,
.sp-footer-sponsors:has(.sp-sponsors:empty){display:none!important}

.site-footer{
  position:relative;
  overflow:hidden;
  border-top:3px solid transparent;
  border-image:linear-gradient(90deg,var(--psg-logo-red),var(--psg-logo-blue),#00A69C) 1;
  background:#101720;
  color:rgba(255,255,255,.72);
}
.site-footer::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:radial-gradient(circle at 8% 0%,rgba(227,24,10,.08),transparent 32%),radial-gradient(circle at 92% 100%,rgba(70,52,135,.10),transparent 36%);
}
.psg-footer-main{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(280px,1.35fr) minmax(180px,.75fr) minmax(240px,.9fr);
  align-items:start;
  gap:clamp(34px,5vw,72px);
  padding:48px 0 40px;
}
.psg-footer-brand,.footer-navigation,.psg-footer-contact{min-width:0}
.psg-footer-logo{
  display:flex;
  align-items:center;
  gap:16px;
  color:#fff!important;
}
.psg-footer-logo__image{
  flex:0 0 76px;
  width:76px!important;
  height:76px!important;
  object-fit:contain;
  border-radius:16px;
  background:#fff;
  padding:8px;
}
.psg-footer-logo span{display:block;min-width:0}
.psg-footer-logo strong{
  display:block;
  margin:0 0 7px;
  color:#fff;
  font-size:clamp(19px,2vw,24px);
  line-height:1.15;
}
.psg-footer-logo small{
  display:block;
  max-width:390px;
  color:rgba(255,255,255,.62);
  font-size:13px;
  line-height:1.55;
}
.site-footer h2{
  margin:0 0 15px;
  color:#fff;
  font-size:14px;
  line-height:1.2;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.footer-navigation ul,
.footer-navigation .menu{
  display:grid;
  grid-template-columns:1fr;
  gap:4px;
  margin:0;
  padding:0;
  list-style:none;
  columns:auto;
}
.footer-navigation li{margin:0;border:0!important}
.footer-navigation a,
.psg-footer-contact>a{
  display:inline-flex;
  width:fit-content;
  padding:5px 0;
  color:rgba(255,255,255,.72)!important;
  font-size:13px;
  line-height:1.4;
}
.footer-navigation a:hover,
.psg-footer-contact>a:hover,
.psg-footer-socials a:hover{color:#fff!important}
.psg-footer-contact{display:flex;flex-direction:column;align-items:flex-start}
.psg-footer-socials{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:17px;
}
.psg-footer-socials a{
  display:inline-flex;
  align-items:center;
  min-height:34px;
  padding:7px 11px;
  border:1px solid rgba(255,255,255,.13);
  border-radius:999px;
  color:rgba(255,255,255,.78)!important;
  background:rgba(255,255,255,.04);
  font-size:11px;
  font-weight:800;
}
.psg-footer-bottom{
  position:relative;
  z-index:1;
  padding:15px 0;
  border-top:1px solid rgba(255,255,255,.09);
  font-size:12px;
}
.psg-footer-bottom .psg-container{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
}
.site-footer .widget,
.site-footer .widget_media_gallery,
.site-footer .widget_text{display:none!important}

@media(max-width:900px){
  .psg-footer-main{grid-template-columns:1fr 1fr}
  .psg-footer-brand{grid-column:1/-1}
}
@media(max-width:620px){
  .psg-footer-main{grid-template-columns:1fr;gap:28px;padding:38px 0 32px}
  .psg-footer-brand{grid-column:auto}
  .psg-footer-logo{align-items:flex-start}
  .psg-footer-logo__image{flex-basis:62px;width:62px!important;height:62px!important;border-radius:13px}
  .psg-footer-bottom .psg-container{display:block;text-align:center}
  .psg-footer-bottom span{display:block}
  .psg-footer-bottom span+span{margin-top:4px;color:rgba(255,255,255,.48)}
}


/* PSG 1.3.4 — dyskretny podpis wykonawcy */
.psg-footer-credit{display:block;color:rgba(255,255,255,.52);font-size:10px;line-height:1.4;text-align:right}
.psg-footer-credit a{color:rgba(255,255,255,.72)!important;font-weight:700;text-decoration:none}
.psg-footer-credit a:hover{color:#fff!important;text-decoration:underline}
@media(max-width:760px){.psg-footer-credit{text-align:center}}

/* PSG 1.3.5 — menu rozwijane zawsze nad paskiem nagłówka */
.site-header{
  isolation:isolate;
  overflow:visible!important;
}
.site-header::after{
  z-index:0!important;
  pointer-events:none!important;
}
.psg-header-inner,
.site-branding,
.main-navigation{
  position:relative;
  z-index:2;
  overflow:visible!important;
}
.main-navigation .menu,
.main-navigation li{
  overflow:visible!important;
}
.main-navigation .sub-menu{
  z-index:10000!important;
}
@media(max-width:1080px){
  .main-navigation .menu{z-index:10000!important}
}

/* =========================================================
   PSG League Hub — full-width page shell fix (v1.3.6)
   The hub plugin owns its own spacing and responsive layout.
   ========================================================= */
body:has(.psg-league-hub-page) .site-content{
  padding:0!important;
}
.psg-league-hub-page,
.psg-league-hub-article,
.psg-league-hub-content{
  width:100%!important;
  max-width:none!important;
  margin:0!important;
  padding:0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
}
.psg-league-hub-content > .psghub{
  width:100%!important;
  max-width:none!important;
  margin-left:0!important;
  margin-right:0!important;
}
.psg-league-hub-content > :first-child{margin-top:0!important}
.psg-league-hub-content > :last-child{margin-bottom:0!important}

@media (max-width:782px){
  .psg-league-hub-page,
  .psg-league-hub-article,
  .psg-league-hub-content{
    overflow:visible!important;
  }
}


/* ===== PSG 1.3.7: strony O nas i Kontakt spójne z serwisem ===== */
.psg-brand-page{padding:44px 0 64px;background:linear-gradient(180deg,#edf1f5 0,#f7f9fa 220px,#f4f6f8 100%)}
.psg-brand-page .psg-layout{display:block;max-width:1180px}
.psg-brand-card{padding:0!important;overflow:hidden;border:1px solid #dce3e9;border-radius:18px;background:#fff;box-shadow:0 18px 48px rgba(18,26,36,.08)}
.psg-brand-hero{position:relative;margin:0!important;padding:38px 44px 34px;background:#121a24;color:#fff;border-bottom:5px solid var(--psg-league-color,#00a69c)}
.psg-brand-hero::after{content:"";position:absolute;right:32px;top:50%;width:120px;height:120px;border:1px solid rgba(255,255,255,.08);border-radius:50%;transform:translateY(-50%)}
.psg-brand-eyebrow{display:block;margin-bottom:8px;color:var(--psg-league-color,#00a69c);font-size:12px;font-weight:850;letter-spacing:.09em;text-transform:uppercase}
.psg-brand-hero .entry-title{position:relative;z-index:1;margin:0;color:#fff;font-size:clamp(34px,5vw,54px);line-height:1.02}
.psg-brand-content{padding:40px 44px 46px;color:#33404d;font-size:16px;line-height:1.75}
.psg-brand-content>:first-child{margin-top:0}.psg-brand-content>:last-child{margin-bottom:0}
.psg-brand-content h2,.psg-brand-content h3{margin-top:1.6em;color:#121a24;line-height:1.15}
.psg-brand-content h2{font-size:30px}.psg-brand-content h3{font-size:22px}
.psg-brand-content p{max-width:900px}
.psg-brand-content a{color:var(--psg-league-color,#00a69c);font-weight:750;text-decoration-thickness:1px;text-underline-offset:3px}
.psg-brand-content ul,.psg-brand-content ol{padding-left:22px}
.psg-brand-content img{max-width:100%;height:auto;border-radius:14px}
.psg-page-contact .psg-brand-content a[href^="tel:"],.psg-page-contact .psg-brand-content a[href^="mailto:"]{display:inline-flex;align-items:center;min-height:42px;margin:4px 8px 4px 0;padding:8px 13px;border:1px solid #dce3e9;border-radius:9px;background:#f5f7f9;color:#18212b;text-decoration:none}
.psg-page-contact .psg-brand-content a[href^="tel:"]:hover,.psg-page-contact .psg-brand-content a[href^="mailto:"]:hover{border-color:var(--psg-league-color,#00a69c);background:#fff}
@media(max-width:700px){
 .psg-brand-page{padding:22px 10px 38px}.psg-brand-hero{padding:28px 22px 25px}.psg-brand-hero::after{right:-32px;width:100px;height:100px}.psg-brand-content{padding:26px 22px 32px;font-size:15px}.psg-brand-content h2{font-size:25px}.psg-brand-content h3{font-size:20px}
}

/* =========================================================
   PSG 1.3.8 — compact SportsPress mobile, no empty sidebar
   ========================================================= */
.psg-sp-page .psg-sp-container{width:min(1380px,calc(100% - 32px));max-width:1380px}
.psg-sp-page .content-area{width:100%;min-width:0}
.psg-sp-page .psg-sportspress-wrapper{width:100%;max-width:none}
.psg-sp-page .widget-area,.psg-sp-page #secondary{display:none!important}
.psg-sp-page .sp-template,.psg-sp-page .sportspress,.psg-sp-page .sp-table-wrapper{max-width:100%;min-width:0}
.psg-sp-page .sp-scrollable-table-wrapper{max-width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}

@media(max-width:782px){
  .psg-sp-page .site-content{padding:18px 0 34px}
  .psg-sp-page .psg-sp-container{width:calc(100% - 20px)}
  .psg-sp-page .psg-sportspress-wrapper{padding:18px 12px;border-radius:12px}
  .psg-sp-page .entry-title{font-size:clamp(28px,9vw,38px);line-height:1.05;margin-bottom:20px}
  .psg-sp-page .sp-scrollable-table-wrapper{overflow:visible!important}
  .psg-sp-page table.sp-data-table{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
    border-collapse:collapse!important;
    font-size:10px!important;
  }
  .psg-sp-page table.sp-data-table th,
  .psg-sp-page table.sp-data-table td{
    padding:8px 4px!important;
    font-size:10px!important;
    line-height:1.2!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
    vertical-align:middle!important;
  }
  .psg-sp-page table.sp-data-table th{font-size:9px!important}
  .psg-sp-page table.sp-data-table img{width:18px!important;height:18px!important;object-fit:contain!important}

  /* Team profile: logo above content, no empty left column */
  .single-sp_team .sp-template-team-logo,
  .single-sp_team .sp-team-logo{
    float:none!important;
    width:100%!important;
    max-width:none!important;
    margin:0 0 16px!important;
    text-align:center!important;
  }
  .single-sp_team .sp-template-team-logo img,
  .single-sp_team .sp-team-logo img{width:auto!important;max-width:130px!important;height:auto!important;max-height:130px!important}
  .single-sp_team .sp-template-team-details,
  .single-sp_team .sp-team-details,
  .single-sp_team .sp-template-player-list{float:none!important;width:100%!important;max-width:none!important;margin-left:0!important;padding-left:0!important}

  /* Team roster: compact columns only, no horizontal movement */
  .single-sp_team table.sp-player-list th:nth-child(2),
  .single-sp_team table.sp-player-list td:nth-child(2){width:46%!important;text-align:left!important}
  .single-sp_team table.sp-player-list th:nth-child(1),
  .single-sp_team table.sp-player-list td:nth-child(1){display:none!important}
  .single-sp_team table.sp-player-list th:nth-child(3),
  .single-sp_team table.sp-player-list td:nth-child(3){display:none!important}
  .single-sp_team table.sp-player-list th:nth-child(n+8),
  .single-sp_team table.sp-player-list td:nth-child(n+8){display:none!important}
  .single-sp_team table.sp-player-list th:nth-child(4),
  .single-sp_team table.sp-player-list td:nth-child(4),
  .single-sp_team table.sp-player-list th:nth-child(5),
  .single-sp_team table.sp-player-list td:nth-child(5),
  .single-sp_team table.sp-player-list th:nth-child(6),
  .single-sp_team table.sp-player-list td:nth-child(6),
  .single-sp_team table.sp-player-list th:nth-child(7),
  .single-sp_team table.sp-player-list td:nth-child(7){width:13.5%!important;text-align:center!important}

  /* Generic standings on team/player/event pages */
  .psg-sp-page table.sp-league-table th:nth-child(5),
  .psg-sp-page table.sp-league-table td:nth-child(5),
  .psg-sp-page table.sp-league-table th:nth-child(6),
  .psg-sp-page table.sp-league-table td:nth-child(6),
  .psg-sp-page table.sp-league-table th:nth-child(n+8),
  .psg-sp-page table.sp-league-table td:nth-child(n+8){display:none!important}
  .psg-sp-page table.sp-league-table th:nth-child(1),.psg-sp-page table.sp-league-table td:nth-child(1){width:8%!important}
  .psg-sp-page table.sp-league-table th:nth-child(2),.psg-sp-page table.sp-league-table td:nth-child(2){width:52%!important;text-align:left!important}
  .psg-sp-page table.sp-league-table th:nth-child(3),.psg-sp-page table.sp-league-table td:nth-child(3){width:13%!important}
  .psg-sp-page table.sp-league-table th:nth-child(4),.psg-sp-page table.sp-league-table td:nth-child(4){width:13%!important}
  .psg-sp-page table.sp-league-table th:nth-child(7),.psg-sp-page table.sp-league-table td:nth-child(7){width:14%!important}
}


/* =========================================================
   PSG 1.3.9 — team roster mobile: restore player names
   ========================================================= */
@media(max-width:782px){
  .single-sp_team table.sp-player-list{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
  }

  /* Najpierw ukryj wszystkie kolumny, potem pokaż tylko potrzebne. */
  .single-sp_team table.sp-player-list th,
  .single-sp_team table.sp-player-list td{
    display:none!important;
  }

  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name,
  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals,
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp,
  .single-sp_team table.sp-player-list th.data-appearances,
  .single-sp_team table.sp-player-list td.data-appearances,
  .single-sp_team table.sp-player-list th.data-yellowcards,
  .single-sp_team table.sp-player-list td.data-yellowcards,
  .single-sp_team table.sp-player-list th.data-redcards,
  .single-sp_team table.sp-player-list td.data-redcards{
    display:table-cell!important;
  }

  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name{
    width:46%!important;
    text-align:left!important;
    white-space:normal!important;
    overflow:visible!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
    font-size:12px!important;
    line-height:1.25!important;
  }

  .single-sp_team table.sp-player-list td.data-name a{
    display:block!important;
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    overflow-wrap:break-word!important;
    word-break:normal!important;
  }

  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals,
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp,
  .single-sp_team table.sp-player-list th.data-appearances,
  .single-sp_team table.sp-player-list td.data-appearances{
    width:12%!important;
    text-align:center!important;
  }

  .single-sp_team table.sp-player-list th.data-yellowcards,
  .single-sp_team table.sp-player-list td.data-yellowcards,
  .single-sp_team table.sp-player-list th.data-redcards,
  .single-sp_team table.sp-player-list td.data-redcards{
    width:9%!important;
    text-align:center!important;
  }

  .single-sp_team table.sp-player-list th,
  .single-sp_team table.sp-player-list td{
    padding:9px 4px!important;
  }

  .single-sp_team table.sp-player-list th.data-name::after{content:"Zawodnik"}
  .single-sp_team table.sp-player-list th.data-name{font-size:0!important}
  .single-sp_team table.sp-player-list th.data-name::after{font-size:9px!important}
}

/* =========================================================
   PSG 1.4.0 — profesjonalny profil zawodnika
   ========================================================= */
.single-sp_player .psg-sportspress-wrapper{
  padding:clamp(24px,3vw,38px)!important;
}
.single-sp_player .entry-header{
  margin-bottom:22px!important;
  padding-bottom:18px;
  border-bottom:1px solid var(--psg-border);
}
.single-sp_player .entry-title{
  font-size:clamp(30px,3.1vw,42px)!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
}

/* Górne dane zawodnika — zamiast surowej listy etykieta/wartość */
.single-sp_player .sp-template-player-details,
.single-sp_player .sp-player-details,
.single-sp_player .sp-template-details{
  margin:0 0 28px!important;
  padding:18px 20px!important;
  border:1px solid var(--psg-border)!important;
  border-radius:12px!important;
  background:#f7f9fb!important;
  box-shadow:none!important;
}
.single-sp_player .sp-template-player-details dl,
.single-sp_player .sp-player-details dl,
.single-sp_player .sp-template-details dl{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px 22px;
  margin:0!important;
}
.single-sp_player .sp-template-player-details dt,
.single-sp_player .sp-player-details dt,
.single-sp_player .sp-template-details dt{
  margin:0 0 4px!important;
  color:#788493!important;
  font-size:10px!important;
  font-weight:850!important;
  line-height:1.2!important;
  letter-spacing:.07em!important;
  text-transform:uppercase!important;
}
.single-sp_player .sp-template-player-details dd,
.single-sp_player .sp-player-details dd,
.single-sp_player .sp-template-details dd{
  margin:0!important;
  color:#17212c!important;
  font-size:14px!important;
  font-weight:750!important;
  line-height:1.45!important;
}
.single-sp_player .sp-template-player-details a,
.single-sp_player .sp-player-details a,
.single-sp_player .sp-template-details a{
  color:var(--psg-league-color,#B8860B)!important;
  text-decoration:none!important;
}

/* Wariant, gdy SportsPress generuje tabelę zamiast dl */
.single-sp_player .sp-template-player-details table,
.single-sp_player .sp-player-details table{
  width:100%!important;
  table-layout:fixed!important;
  border:0!important;
  background:transparent!important;
}
.single-sp_player .sp-template-player-details th,
.single-sp_player .sp-player-details th{
  color:#788493!important;
  font-size:10px!important;
  letter-spacing:.06em!important;
  text-transform:uppercase!important;
}
.single-sp_player .sp-template-player-details td,
.single-sp_player .sp-player-details td{
  color:#17212c!important;
  font-size:14px!important;
  font-weight:750!important;
}

/* Nie pokazuj technicznego numeru/rankingu # w sekcji danych */
.single-sp_player .sp-template-player-details [data-label="#"],
.single-sp_player .sp-player-details [data-label="#"],
.single-sp_player .sp-template-player-details .data-number,
.single-sp_player .sp-player-details .data-number,
.single-sp_player .sp-template-player-details .data-rank,
.single-sp_player .sp-player-details .data-rank{
  display:none!important;
}

.single-sp_player .sp-template-player-statistics,
.single-sp_player .sp-template-player-list,
.single-sp_player .sp-template-event-list{
  margin-top:20px!important;
}
.single-sp_player .sp-table-caption{
  margin-top:20px!important;
}

@media(max-width:900px){
  .single-sp_player .sp-template-player-details dl,
  .single-sp_player .sp-player-details dl,
  .single-sp_player .sp-template-details dl{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media(max-width:782px){
  .single-sp_player .psg-sportspress-wrapper{padding:18px 14px!important}
  .single-sp_player .entry-header{margin-bottom:16px!important;padding-bottom:14px}
  .single-sp_player .entry-title{font-size:30px!important}
  .single-sp_player .sp-template-player-details,
  .single-sp_player .sp-player-details,
  .single-sp_player .sp-template-details{
    padding:14px!important;
    margin-bottom:20px!important;
  }
  .single-sp_player .sp-template-player-details dl,
  .single-sp_player .sp-player-details dl,
  .single-sp_player .sp-template-details dl{
    grid-template-columns:1fr!important;
    gap:11px!important;
  }
  .single-sp_player .sp-template-player-details dd,
  .single-sp_player .sp-player-details dd,
  .single-sp_player .sp-template-details dd{
    font-size:13px!important;
  }
}

/* =========================================================
   PSG 1.4.1 — pełne statystyki drużyny: gole, asysty i MVP
   ========================================================= */

/* Desktop: czytelne, pełne nazwy najważniejszych kolumn. */
.single-sp_team table.sp-player-list th.data-goals,
.single-sp_player table th.data-goals{
  font-size:0!important;
}
.single-sp_team table.sp-player-list th.data-goals::after,
.single-sp_player table th.data-goals::after{
  content:"GOLE";
  font-size:11px!important;
}
.single-sp_team table.sp-player-list th.data-assists,
.single-sp_player table th.data-assists{
  font-size:0!important;
}
.single-sp_team table.sp-player-list th.data-assists::after,
.single-sp_player table th.data-assists::after{
  content:"ASYSTY";
  font-size:11px!important;
}

@media(max-width:782px){
  /* Na telefonie pokaż nazwisko, gole, asysty, MVP, mecze i kartki. */
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list td.data-assists{
    display:table-cell!important;
  }

  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name{
    width:40%!important;
  }

  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals,
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list td.data-assists,
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp{
    width:10%!important;
    text-align:center!important;
  }

  .single-sp_team table.sp-player-list th.data-appearances,
  .single-sp_team table.sp-player-list td.data-appearances{
    width:12%!important;
    text-align:center!important;
  }

  .single-sp_team table.sp-player-list th.data-yellowcards,
  .single-sp_team table.sp-player-list td.data-yellowcards,
  .single-sp_team table.sp-player-list th.data-redcards,
  .single-sp_team table.sp-player-list td.data-redcards{
    width:9%!important;
    text-align:center!important;
  }

  /* Krótkie etykiety tylko na małym ekranie. */
  .single-sp_team table.sp-player-list th.data-goals::after{content:"G";font-size:9px!important}
  .single-sp_team table.sp-player-list th.data-assists::after{content:"A";font-size:9px!important}
  .single-sp_team table.sp-player-list th.data-mvp{font-size:9px!important}
  .single-sp_team table.sp-player-list th.data-appearances{font-size:0!important}
  .single-sp_team table.sp-player-list th.data-appearances::after{content:"MECZE";font-size:8px!important}

  .single-sp_team table.sp-player-list th,
  .single-sp_team table.sp-player-list td{
    padding:8px 2px!important;
    font-size:10px!important;
  }

  .single-sp_team table.sp-player-list th.data-name::after{font-size:8px!important}
  .single-sp_team table.sp-player-list td.data-name{font-size:11px!important}
}

/* =========================================================
   PSG 1.4.2 — czytelne nagłówki tabeli drużyny na telefonie
   ========================================================= */
@media(max-width:782px){
  /* Na telefonie zostają wyłącznie: zawodnik, gole, asysty, MVP i kartki. */
  .single-sp_team table.sp-player-list th.data-appearances,
  .single-sp_team table.sp-player-list td.data-appearances{
    display:none!important;
  }

  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name{
    display:table-cell!important;
    width:42%!important;
    min-width:0!important;
  }

  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals{
    display:table-cell!important;
    width:10%!important;
  }

  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list td.data-assists{
    display:table-cell!important;
    width:11%!important;
  }

  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp{
    display:table-cell!important;
    width:9%!important;
  }

  .single-sp_team table.sp-player-list th.data-yellowcards,
  .single-sp_team table.sp-player-list td.data-yellowcards,
  .single-sp_team table.sp-player-list th.data-redcards,
  .single-sp_team table.sp-player-list td.data-redcards{
    display:table-cell!important;
    width:14%!important;
  }

  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list th.data-yellowcards,
  .single-sp_team table.sp-player-list th.data-redcards{
    font-size:0!important;
    line-height:1.05!important;
    white-space:normal!important;
    text-align:center!important;
    vertical-align:middle!important;
    padding:8px 1px!important;
  }

  .single-sp_team table.sp-player-list th.data-goals::after{
    content:"GOLE"!important;
    font-size:7px!important;
  }
  .single-sp_team table.sp-player-list th.data-assists::after{
    content:"ASYSTY"!important;
    font-size:7px!important;
  }
  .single-sp_team table.sp-player-list th.data-mvp::after{
    content:"MVP"!important;
    font-size:7px!important;
  }
  .single-sp_team table.sp-player-list th.data-yellowcards::after{
    content:"KARTKI\AŻÓŁTE"!important;
    white-space:pre-line!important;
    font-size:6.5px!important;
  }
  .single-sp_team table.sp-player-list th.data-redcards::after{
    content:"KARTKI\ACZERWONE"!important;
    white-space:pre-line!important;
    font-size:6px!important;
  }

  .single-sp_team table.sp-player-list td.data-goals,
  .single-sp_team table.sp-player-list td.data-assists,
  .single-sp_team table.sp-player-list td.data-mvp,
  .single-sp_team table.sp-player-list td.data-yellowcards,
  .single-sp_team table.sp-player-list td.data-redcards{
    text-align:center!important;
    padding:8px 1px!important;
    font-size:10px!important;
  }

  .single-sp_team table.sp-player-list td.data-name{
    padding:8px 4px!important;
    font-size:10.5px!important;
    line-height:1.18!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }

  .single-sp_team table.sp-player-list{
    width:100%!important;
    table-layout:fixed!important;
  }
}

/* =========================================================
   PSG 1.4.3 — końcowa korekta tabel drużyn desktop/mobile
   ========================================================= */
.single-sp_team table.sp-player-list th.data-goals,
.single-sp_team table.sp-player-list th.data-assists,
.single-sp_team table.sp-player-list th.data-mvp,
.single-sp_team table.sp-player-list th.data-yellowcards,
.single-sp_team table.sp-player-list th.data-redcards{
  font-size:11px!important;
  line-height:1.15!important;
  white-space:nowrap!important;
  text-align:center!important;
}
.single-sp_team table.sp-player-list th.data-goals::after,
.single-sp_team table.sp-player-list th.data-assists::after,
.single-sp_team table.sp-player-list th.data-mvp::after,
.single-sp_team table.sp-player-list th.data-yellowcards::after,
.single-sp_team table.sp-player-list th.data-redcards::after{content:none!important;display:none!important}

@media(min-width:783px){
  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name{width:auto!important;text-align:left!important}
  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals,
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list td.data-assists,
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp,
  .single-sp_team table.sp-player-list th.data-yellowcards,
  .single-sp_team table.sp-player-list td.data-yellowcards,
  .single-sp_team table.sp-player-list th.data-redcards,
  .single-sp_team table.sp-player-list td.data-redcards{display:table-cell!important;width:9%!important;text-align:center!important}
}

@media(max-width:782px){
  .single-sp_team .sp-scrollable-table-wrapper,
  .single-sp_team .sp-table-wrapper{overflow:visible!important;max-width:100%!important}
  .single-sp_team table.sp-player-list{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
  }
  .single-sp_team table.sp-player-list th,
  .single-sp_team table.sp-player-list td{box-sizing:border-box!important}

  /* Zostają tylko nazwisko + pięć wymaganych statystyk. */
  .single-sp_team table.sp-player-list th,
  .single-sp_team table.sp-player-list td{display:none!important}
  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name,
  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals,
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list td.data-assists,
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp,
  .single-sp_team table.sp-player-list th.data-yellowcards,
  .single-sp_team table.sp-player-list td.data-yellowcards,
  .single-sp_team table.sp-player-list th.data-redcards,
  .single-sp_team table.sp-player-list td.data-redcards{display:table-cell!important}

  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name{width:39%!important;text-align:left!important}
  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals{width:10%!important}
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list td.data-assists{width:11%!important}
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp{width:9%!important}
  .single-sp_team table.sp-player-list th.data-yellowcards,
  .single-sp_team table.sp-player-list td.data-yellowcards{width:15%!important}
  .single-sp_team table.sp-player-list th.data-redcards,
  .single-sp_team table.sp-player-list td.data-redcards{width:16%!important}

  .single-sp_team table.sp-player-list th.data-name{
    font-size:0!important;
    padding:7px 3px!important;
  }
  .single-sp_team table.sp-player-list th.data-name::after{
    content:"ZAWODNIK"!important;
    display:block!important;
    font-size:7.5px!important;
  }
  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list th.data-yellowcards,
  .single-sp_team table.sp-player-list th.data-redcards{
    font-size:6.7px!important;
    line-height:1.05!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
    padding:7px 1px!important;
    text-align:center!important;
  }
  .single-sp_team table.sp-player-list th.data-yellowcards{font-size:6.1px!important}
  .single-sp_team table.sp-player-list th.data-redcards{font-size:5.8px!important}

  .single-sp_team table.sp-player-list td.data-name{
    padding:8px 4px!important;
    font-size:10px!important;
    line-height:1.15!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .single-sp_team table.sp-player-list td.data-goals,
  .single-sp_team table.sp-player-list td.data-assists,
  .single-sp_team table.sp-player-list td.data-mvp,
  .single-sp_team table.sp-player-list td.data-yellowcards,
  .single-sp_team table.sp-player-list td.data-redcards{
    padding:8px 1px!important;
    font-size:10px!important;
    text-align:center!important;
  }
}


/* =========================================================
   PSG 1.4.4 — nowy wygląd O nas / Kontakt + Super Piłkarze
   ========================================================= */
.psg-brand-page{padding:36px 16px 64px!important;background:#f2f5f7!important}
.psg-brand-page .psg-container{width:min(1180px,calc(100% - 0px))!important;max-width:1180px!important}
.psg-brand-card{border:0!important;border-radius:18px!important;background:transparent!important;box-shadow:none!important;overflow:visible!important}
.psg-brand-hero{border-radius:18px!important;border:1px solid #26313d!important;border-bottom:5px solid #00a69c!important;padding:34px 38px!important;background:linear-gradient(135deg,#101923,#18232f)!important;overflow:hidden!important}
.psg-brand-hero .entry-title{font-size:clamp(32px,4vw,48px)!important;letter-spacing:-.025em!important}
.psg-brand-content{padding:24px 0 0!important;font-size:16px!important;line-height:1.65!important}
.psg-brand-content>.elementor{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
.psg-brand-content>.elementor>.e-con.e-parent{display:block!important;width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:28px!important;border:1px solid #dce3e8!important;border-radius:15px!important;background:#fff!important;background-image:none!important;box-shadow:0 8px 24px rgba(18,26,36,.05)!important}
.psg-brand-content>.elementor>.e-con.e-parent:first-child{grid-column:1/-1!important;background:#fff!important}
.psg-brand-content .e-con-inner,.psg-brand-content .e-con,.psg-brand-content .elementor-widget,.psg-brand-content .elementor-widget-container{max-width:none!important;width:100%!important}
.psg-brand-content .e-con-inner{padding:0!important}
.psg-brand-content .elementor-heading-title{color:#111a24!important;font-family:inherit!important;font-size:clamp(23px,2.5vw,32px)!important;line-height:1.15!important;margin:0 0 12px!important}
.psg-brand-content .elementor-icon-box-wrapper{display:grid!important;grid-template-columns:44px 1fr!important;gap:14px!important;align-items:start!important;text-align:left!important}
.psg-brand-content .elementor-icon{width:44px!important;height:44px!important;border-radius:10px!important;background:#eef7f6!important;color:#00a69c!important;display:flex!important;align-items:center!important;justify-content:center!important}
.psg-brand-content .elementor-icon-box-title{font-size:15px!important;margin:0 0 3px!important;color:#111a24!important}
.psg-brand-content .elementor-icon-box-description{margin:0!important;color:#55626f!important}
.psg-brand-content .elementor-button{border-radius:9px!important;background:#00a69c!important;color:#fff!important;font-weight:800!important;padding:12px 18px!important;box-shadow:none!important}
.psg-brand-content .elementor-shortcode{overflow:visible!important}
.psg-brand-card-kontakt .psg-brand-content>.elementor>.e-con.e-parent:last-child{grid-column:1/-1!important}
.psg-brand-card-o-nas .psg-brand-hero{border-bottom-color:#b8860b!important}
.psg-brand-card-o-nas .psg-brand-eyebrow{color:#d6a307!important}

.psg-kids{--kids-red:#ef281a;--kids-blue:#1236a8;--kids-gold:#f0b800;background:#f2f5f7;color:#121b25}
.psg-kids-wrap{width:min(1180px,calc(100% - 32px));margin:0 auto}
.psg-kids-hero{padding:40px 0 34px;background:#0b1728;color:#fff;border-bottom:4px solid var(--kids-red)}
.psg-kids-hero-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(380px,.9fr);gap:38px;align-items:center}
.psg-kids-eyebrow{display:inline-flex;align-items:center;gap:8px;margin-bottom:10px;color:var(--kids-gold);font-size:12px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.psg-kids-copy h1{margin:0 0 16px;font-size:clamp(42px,5vw,68px);line-height:.98;letter-spacing:-.04em;text-transform:uppercase}.psg-kids-copy h1 span{color:#ff3325}
.psg-kids-lead{max-width:680px;margin:0;color:#d3dbe5;font-size:18px;line-height:1.6}
.psg-kids-badges{display:flex;flex-wrap:wrap;gap:9px;margin:24px 0}.psg-kids-badges span{padding:8px 11px;border:1px solid #314257;border-radius:999px;background:#132238;font-size:13px;font-weight:800}
.psg-kids-actions{display:flex;flex-wrap:wrap;gap:10px}.psg-kids-btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #566477;border-radius:9px;color:#fff!important;text-decoration:none!important;font-weight:850}.psg-kids-btn-primary{border-color:var(--kids-red);background:var(--kids-red)}
.psg-kids-poster{margin:0;border-radius:16px;overflow:hidden;box-shadow:0 22px 48px rgba(0,0,0,.3);transform:rotate(1deg)}.psg-kids-poster img{display:block;width:100%;height:auto}
.psg-kids-section{padding:58px 0}.psg-kids-section-soft{background:#e9eef2}.psg-kids-intro{max-width:820px;margin-bottom:28px}.psg-kids h2{margin:0 0 14px;font-size:clamp(30px,3.5vw,44px);line-height:1.05;letter-spacing:-.025em}.psg-kids-intro p,.psg-kids-program-grid p,.psg-kids-values-grid p{color:#53606d;font-size:16px;line-height:1.7}
.psg-kids-info-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px}.psg-kids-info-grid article{padding:22px;border:1px solid #d9e1e7;border-top:4px solid var(--kids-red);border-radius:12px;background:#fff}.psg-kids-info-grid strong{display:block;font-size:22px}.psg-kids-info-grid span{color:#6b7680;font-size:13px}
.psg-kids-program-grid{display:grid;grid-template-columns:.8fr 1.2fr;gap:42px;align-items:start}.psg-kids-program{display:grid;grid-template-columns:1fr 1fr;gap:12px}.psg-kids-program div{padding:16px 18px;border:1px solid #d5dde4;border-radius:10px;background:#fff;font-weight:800}
.psg-kids-values-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.psg-kids-coach,.psg-kids-values{padding:30px;border:1px solid #dce3e9;border-radius:15px;background:#fff}.psg-kids-values{background:#111b28;color:#fff}.psg-kids-values p{color:#d6dde5}.psg-kids-values h3{margin:0 0 12px;font-size:25px}.psg-kids-values-list{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.psg-kids-values-list span{padding:7px 10px;border-radius:999px;background:#1e2c3c;color:#fff;font-size:12px;font-weight:800}
.psg-kids-cta{padding:42px 0;background:linear-gradient(135deg,#b91813,#ef281a);color:#fff}.psg-kids-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:28px}.psg-kids-cta h2{margin-bottom:8px}.psg-kids-cta p{max-width:720px;margin:0;color:#ffe1dd}.psg-kids-cta .psg-kids-eyebrow{color:#fff4a5}.psg-kids-cta .psg-kids-btn-primary{background:#fff;border-color:#fff;color:#b91813!important}.psg-kids-cta .psg-kids-btn{border-color:rgba(255,255,255,.55)}
@media(max-width:900px){.psg-brand-content>.elementor{grid-template-columns:1fr!important}.psg-brand-content>.elementor>.e-con.e-parent{grid-column:1!important}.psg-kids-hero-grid,.psg-kids-program-grid,.psg-kids-values-grid{grid-template-columns:1fr}.psg-kids-poster{max-width:650px;transform:none}.psg-kids-info-grid{grid-template-columns:1fr 1fr}.psg-kids-cta-inner{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.psg-brand-page{padding:18px 10px 38px!important}.psg-brand-hero{padding:25px 20px!important;border-radius:14px!important}.psg-brand-content>.elementor>.e-con.e-parent{padding:20px!important}.psg-brand-content .elementor-icon-box-wrapper{grid-template-columns:38px 1fr!important}.psg-brand-content .elementor-icon{width:38px!important;height:38px!important}.psg-kids-wrap{width:calc(100% - 24px)}.psg-kids-hero{padding:26px 0}.psg-kids-copy h1{font-size:42px}.psg-kids-lead{font-size:16px}.psg-kids-badges{margin:18px 0}.psg-kids-actions{display:grid;grid-template-columns:1fr}.psg-kids-btn{width:100%}.psg-kids-section{padding:40px 0}.psg-kids-info-grid,.psg-kids-program{grid-template-columns:1fr}.psg-kids-info-grid article{padding:18px}.psg-kids-coach,.psg-kids-values{padding:22px}.psg-kids-poster{border-radius:12px}.psg-kids-hero-grid{gap:24px}}


/* =========================================================
   PSG 1.4.5 — forced brand pages + clean Super Piłkarze layout
   ========================================================= */
body.psg-page-about .site-content,
body.psg-page-contact .site-content{background:#eef2f5!important}
.psg-brand-shell{padding:36px 16px 68px;background:linear-gradient(180deg,#eaf0f4 0,#f5f7f9 260px,#f2f5f7 100%)}
.psg-brand-shell__wrap{width:min(1180px,100%);margin:0 auto}
.psg-brand-shell__hero{position:relative;overflow:hidden;padding:38px 42px;border:1px solid #263341;border-bottom:4px solid #00a69c;border-radius:18px;background:linear-gradient(135deg,#0d1723,#182635);color:#fff}
.psg-brand-shell--about .psg-brand-shell__hero{border-bottom-color:#b8860b}
.psg-brand-shell__hero::after{content:"";position:absolute;right:-50px;top:-75px;width:260px;height:260px;border:1px solid rgba(255,255,255,.07);border-radius:50%;box-shadow:0 0 0 38px rgba(255,255,255,.02),0 0 0 78px rgba(255,255,255,.018)}
.psg-brand-shell__eyebrow{position:relative;z-index:1;display:block;margin-bottom:9px;color:#20c2b8;font-size:11px;font-weight:900;letter-spacing:.12em;text-transform:uppercase}
.psg-brand-shell--about .psg-brand-shell__eyebrow{color:#d7aa24}
.psg-brand-shell__hero h1{position:relative;z-index:1;margin:0;font-size:clamp(34px,4.5vw,50px);line-height:1.02;letter-spacing:-.035em;color:#fff}
.psg-brand-shell__hero p{position:relative;z-index:1;max-width:720px;margin:12px 0 0;color:#b9c4cf;font-size:16px;line-height:1.65}
.psg-brand-shell__content{margin-top:20px}
.psg-brand-shell__content>.elementor{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:18px!important}
.psg-brand-shell__content>.elementor>.e-con.e-parent{display:block!important;width:100%!important;max-width:none!important;min-height:0!important;margin:0!important;padding:28px!important;border:1px solid #d8e0e7!important;border-radius:15px!important;background:#fff!important;background-image:none!important;box-shadow:0 10px 26px rgba(16,26,36,.055)!important}
.psg-brand-shell__content>.elementor>.e-con.e-parent:first-child{grid-column:1/-1!important}
.psg-brand-shell__content .e-con-inner,.psg-brand-shell__content .e-con,.psg-brand-shell__content .elementor-widget,.psg-brand-shell__content .elementor-widget-container{width:100%!important;max-width:none!important}
.psg-brand-shell__content .e-con-inner{padding:0!important}
.psg-brand-shell__content .elementor-heading-title{margin:0 0 12px!important;color:#111a24!important;font-family:inherit!important;font-size:clamp(22px,2.5vw,30px)!important;line-height:1.15!important}
.psg-brand-shell__content p,.psg-brand-shell__content .elementor-icon-box-description{color:#536170!important;line-height:1.65!important}
.psg-brand-shell__content .elementor-icon-box-wrapper{display:grid!important;grid-template-columns:42px minmax(0,1fr)!important;gap:13px!important;align-items:start!important;text-align:left!important}
.psg-brand-shell__content .elementor-icon{display:flex!important;align-items:center!important;justify-content:center!important;width:42px!important;height:42px!important;border-radius:10px!important;background:#e8f7f5!important;color:#00a69c!important}
.psg-brand-shell__content .elementor-icon-box-title{margin:0 0 3px!important;font-size:14px!important;color:#111a24!important}
.psg-brand-shell__content .elementor-button{padding:11px 17px!important;border-radius:9px!important;background:#00a69c!important;color:#fff!important;font-weight:850!important;box-shadow:none!important}
.psg-brand-shell--contact .elementor-widget-shortcode{display:none!important}
.psg-brand-shell--contact .e-con.e-parent:last-child:has(.elementor-widget-shortcode){display:none!important}
.psg-brand-shell__contact-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:20px 0 0}
.psg-brand-shell__contact-strip a,.psg-brand-shell__contact-strip div{display:flex;min-height:86px;flex-direction:column;justify-content:center;padding:16px 18px;border:1px solid #d9e1e7;border-radius:13px;background:#fff;text-decoration:none!important;box-shadow:0 8px 20px rgba(16,26,36,.04)}
.psg-brand-shell__contact-strip small{margin-bottom:4px;color:#73808d;font-size:11px;font-weight:800;text-transform:uppercase;letter-spacing:.07em}
.psg-brand-shell__contact-strip strong{color:#17212c;font-size:17px;line-height:1.25}
.psg-brand-shell__contact-strip a:hover{border-color:#00a69c;transform:translateY(-1px)}

/* Super Piłkarze — no poster, only page content translated into a professional layout */
.psg-kids-v2{--red:#e9281b;--blue:#2938c8;--navy:#0d1726;--gold:#e6ae17;background:#f1f4f7;color:#14202b}
.psg-kids-v2__wrap{width:min(1180px,calc(100% - 32px));margin:0 auto}
.psg-kids-v2__hero{position:relative;overflow:hidden;padding:54px 0 48px;background:linear-gradient(125deg,#091424 0,#101e32 58%,#171b34 100%);color:#fff;border-bottom:4px solid var(--red)}
.psg-kids-v2__hero::after{content:"";position:absolute;right:-100px;top:-130px;width:520px;height:520px;border-radius:50%;background:radial-gradient(circle at center,rgba(41,56,200,.32),rgba(41,56,200,0) 66%)}
.psg-kids-v2__hero-grid{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(340px,.65fr);gap:44px;align-items:center}
.psg-kids-v2__eyebrow{display:inline-flex;margin-bottom:10px;color:#f1bf2b;font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}
.psg-kids-v2 h1{max-width:760px;margin:0 0 16px;font-size:clamp(42px,5.5vw,72px);line-height:.95;letter-spacing:-.045em;color:#fff}
.psg-kids-v2 h1 span{color:#ff3b2d}
.psg-kids-v2__lead{max-width:720px;margin:0;color:#c8d1dc;font-size:17px;line-height:1.65}
.psg-kids-v2__actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:24px}.psg-kids-v2__btn{display:inline-flex;align-items:center;justify-content:center;min-height:44px;padding:10px 16px;border:1px solid #4b5c70;border-radius:9px;color:#fff!important;text-decoration:none!important;font-weight:850}.psg-kids-v2__btn--main{border-color:var(--red);background:var(--red)}
.psg-kids-v2__visual{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:18px;border:1px solid rgba(255,255,255,.12);border-radius:18px;background:rgba(255,255,255,.055);box-shadow:0 20px 50px rgba(0,0,0,.22)}
.psg-kids-v2__metric{min-height:126px;padding:18px;border:1px solid rgba(255,255,255,.09);border-radius:13px;background:#111f32}.psg-kids-v2__metric--wide{grid-column:1/-1;min-height:auto;background:linear-gradient(120deg,rgba(233,40,27,.18),rgba(41,56,200,.12)),#111f32}.psg-kids-v2__metric strong{display:block;color:#fff;font-size:26px;line-height:1}.psg-kids-v2__metric span{display:block;margin-top:7px;color:#aebccc;font-size:12px;font-weight:700;line-height:1.4}.psg-kids-v2__metric--wide strong{color:#f2c548;font-size:18px}
.psg-kids-v2__section{padding:58px 0}.psg-kids-v2__section--soft{background:#e8edf1}.psg-kids-v2__heading{max-width:800px;margin-bottom:26px}.psg-kids-v2__heading h2{margin:0 0 10px;font-size:clamp(30px,3.5vw,44px);line-height:1.05;letter-spacing:-.03em}.psg-kids-v2__heading p{margin:0;color:#566473;line-height:1.7}
.psg-kids-v2__facts{display:grid;grid-template-columns:repeat(4,1fr);gap:13px}.psg-kids-v2__fact{padding:21px;border:1px solid #d6dee5;border-top:4px solid var(--red);border-radius:12px;background:#fff}.psg-kids-v2__fact strong{display:block;font-size:21px}.psg-kids-v2__fact span{color:#6e7a86;font-size:13px}
.psg-kids-v2__program{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.psg-kids-v2__program div{padding:18px;border:1px solid #d6dee5;border-radius:11px;background:#fff;font-weight:800;line-height:1.35}.psg-kids-v2__program div::before{content:"✓";display:inline-grid;place-items:center;width:24px;height:24px;margin-right:9px;border-radius:50%;background:#eaf7f5;color:#00a69c;font-size:13px}
.psg-kids-v2__split{display:grid;grid-template-columns:1fr 1fr;gap:18px}.psg-kids-v2__card{padding:30px;border:1px solid #d8e0e7;border-radius:15px;background:#fff}.psg-kids-v2__card--dark{background:#111c2a;color:#fff;border-color:#1f3041}.psg-kids-v2__card h3{margin:0 0 12px;font-size:26px}.psg-kids-v2__card p{margin:0;color:#566473;line-height:1.7}.psg-kids-v2__card--dark p{color:#c3cdd7}.psg-kids-v2__tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:18px}.psg-kids-v2__tags span{padding:7px 10px;border-radius:999px;background:#1d2b3b;color:#fff;font-size:12px;font-weight:800}
.psg-kids-v2__cta{padding:44px 0;background:linear-gradient(120deg,#b91f17,#e72b1e);color:#fff}.psg-kids-v2__cta-grid{display:flex;align-items:center;justify-content:space-between;gap:28px}.psg-kids-v2__cta h2{margin:0 0 8px;color:#fff;font-size:38px}.psg-kids-v2__cta p{max-width:720px;margin:0;color:#ffe0dc;line-height:1.6}.psg-kids-v2__cta .psg-kids-v2__btn--main{background:#fff;border-color:#fff;color:#b91f17!important}
@media(max-width:900px){.psg-brand-shell__content>.elementor{grid-template-columns:1fr!important}.psg-brand-shell__content>.elementor>.e-con.e-parent{grid-column:1!important}.psg-brand-shell__contact-strip{grid-template-columns:1fr}.psg-kids-v2__hero-grid,.psg-kids-v2__split{grid-template-columns:1fr}.psg-kids-v2__visual{max-width:620px}.psg-kids-v2__facts{grid-template-columns:1fr 1fr}.psg-kids-v2__program{grid-template-columns:1fr 1fr}.psg-kids-v2__cta-grid{align-items:flex-start;flex-direction:column}}
@media(max-width:600px){.psg-brand-shell{padding:18px 10px 42px}.psg-brand-shell__hero{padding:26px 21px;border-radius:14px}.psg-brand-shell__hero h1{font-size:34px}.psg-brand-shell__content>.elementor>.e-con.e-parent{padding:20px!important}.psg-kids-v2__wrap{width:calc(100% - 24px)}.psg-kids-v2__hero{padding:34px 0}.psg-kids-v2 h1{font-size:43px}.psg-kids-v2__lead{font-size:15px}.psg-kids-v2__visual{grid-template-columns:1fr 1fr;padding:12px}.psg-kids-v2__metric{min-height:104px;padding:14px}.psg-kids-v2__metric strong{font-size:23px}.psg-kids-v2__section{padding:42px 0}.psg-kids-v2__facts,.psg-kids-v2__program{grid-template-columns:1fr}.psg-kids-v2__card{padding:22px}.psg-kids-v2__actions{display:grid}.psg-kids-v2__btn{width:100%}.psg-kids-v2__cta h2{font-size:31px}}

/* =========================================================
   PSG 1.4.6 — profesjonalne strony O NAS / KONTAKT
   ========================================================= */
.psg-info-page,.psg-info-page *{box-sizing:border-box}
.psg-info-page{--pi-dark:#101823;--pi-dark2:#172433;--pi-text:#17212c;--pi-muted:#667482;--pi-line:#dce3e8;--pi-bg:#f3f6f8;--pi-gold:#b8860b;--pi-teal:#00a69c;background:var(--pi-bg);color:var(--pi-text);overflow:hidden}
.psg-info-page a{text-decoration:none}
.psg-info-wrap{width:min(1180px,calc(100% - 36px));margin:0 auto}
.psg-info-hero{padding:46px 0;background:radial-gradient(circle at 82% 16%,rgba(0,166,156,.16),transparent 28%),linear-gradient(135deg,#0d1620,#182535);border-bottom:4px solid var(--pi-teal);color:#fff}
.psg-info-hero--about{background:radial-gradient(circle at 82% 16%,rgba(184,134,11,.18),transparent 28%),linear-gradient(135deg,#0d1620,#182535);border-bottom-color:var(--pi-gold)}
.psg-info-hero__grid{display:grid;grid-template-columns:minmax(0,1fr) 180px;gap:50px;align-items:center}
.psg-info-kicker{display:block;margin-bottom:10px;color:#20c2b8;font-size:11px;font-weight:900;letter-spacing:.15em;text-transform:uppercase}.psg-info-hero--about .psg-info-kicker{color:#e0b83d}
.psg-info-hero h1{margin:0;color:#fff;font-size:clamp(40px,5vw,62px);line-height:.98;letter-spacing:-.045em}
.psg-info-hero p{max-width:760px;margin:17px 0 0;color:#c5ced7;font-size:17px;line-height:1.65}
.psg-info-hero__mark{display:grid;place-items:center;width:150px;height:150px;justify-self:end;border:1px solid rgba(255,255,255,.1);border-radius:50%;box-shadow:0 0 0 22px rgba(255,255,255,.025),0 0 0 45px rgba(255,255,255,.016)}
.psg-info-hero__mark span{font-size:28px;font-weight:950;letter-spacing:.08em;color:rgba(255,255,255,.86)}
.psg-info-section{padding:66px 0}.psg-info-section--light{background:#f3f6f8}.psg-info-section--soft{background:#fff}.psg-info-section--dark{background:linear-gradient(135deg,#101823,#182433);color:#fff}
.psg-info-heading{display:flex;justify-content:space-between;align-items:end;gap:36px;margin-bottom:28px}.psg-info-heading>div>span{display:block;margin-bottom:7px;color:var(--pi-teal);font-size:11px;font-weight:900;letter-spacing:.13em;text-transform:uppercase}.psg-info-page--about .psg-info-heading>div>span{color:var(--pi-gold)}
.psg-info-heading h2,.psg-info-section--dark h2{margin:0;font-size:clamp(30px,4vw,44px);line-height:1.04;letter-spacing:-.035em}.psg-info-heading p{max-width:560px;margin:0;color:var(--pi-muted);line-height:1.7}
.psg-about-feature-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.psg-about-feature{position:relative;min-height:230px;padding:27px;border:1px solid var(--pi-line);border-top:4px solid var(--pi-gold);border-radius:14px;background:#fff;box-shadow:0 10px 30px rgba(20,32,45,.05)}.psg-about-feature b{display:inline-grid;place-items:center;width:38px;height:38px;border-radius:10px;background:#f7f0de;color:#9a7000;font-size:12px}.psg-about-feature h3{margin:24px 0 10px;font-size:22px}.psg-about-feature p{margin:0;color:var(--pi-muted);line-height:1.65}
.psg-about-person-grid{display:grid;grid-template-columns:1fr .8fr;gap:50px;align-items:center}.psg-about-person-grid h2{font-size:clamp(34px,4.8vw,56px)}.psg-info-lead{max-width:630px;margin:18px 0 28px;color:#c2cbd4;font-size:18px;line-height:1.65}.psg-info-btn{display:inline-flex;align-items:center;justify-content:center;min-height:47px;padding:12px 19px;border-radius:9px;background:#00a69c;color:#fff!important;font-size:12px;font-weight:900;text-transform:uppercase;letter-spacing:.04em}.psg-info-page--about .psg-info-btn{background:#b8860b}.psg-about-quote{position:relative;padding:30px;border:1px solid rgba(255,255,255,.1);border-radius:16px;background:rgba(255,255,255,.045)}.psg-about-quote span{display:block;height:42px;color:#d7a91e;font-family:Georgia,serif;font-size:64px;line-height:.8}.psg-about-quote p{margin:10px 0 0;color:#e1e6eb;font-size:19px;line-height:1.6}
.psg-history-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.psg-history-grid article{padding:30px;border:1px solid var(--pi-line);border-radius:14px;background:#fff}.psg-history-grid article>span{color:#b8860b;font-size:11px;font-weight:900;letter-spacing:.1em}.psg-history-grid h3{margin:13px 0 12px;font-size:24px}.psg-history-grid p{margin:0;color:var(--pi-muted);line-height:1.75}
.psg-vision-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.psg-vision-grid article{display:flex;align-items:center;gap:17px;min-height:92px;padding:20px 22px;border:1px solid var(--pi-line);border-radius:13px;background:#f8fafb}.psg-vision-grid i{display:grid;place-items:center;flex:0 0 42px;width:42px;height:42px;border-radius:50%;background:#f5ead0;color:#9d7300;font-size:11px;font-style:normal;font-weight:900}.psg-vision-grid strong{font-size:16px}
.psg-contact-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}.psg-contact-card{position:relative;display:flex;min-height:190px;flex-direction:column;padding:25px;border:1px solid var(--pi-line);border-top:4px solid var(--pi-teal);border-radius:14px;background:#fff;box-shadow:0 10px 30px rgba(20,32,45,.05);transition:.2s}.psg-contact-card:hover{transform:translateY(-3px);box-shadow:0 16px 34px rgba(20,32,45,.08)}.psg-contact-card__icon{display:grid;place-items:center;width:42px;height:42px;margin-bottom:25px;border-radius:10px;background:#e7f7f5;color:#008f87;font-size:11px;font-weight:950}.psg-contact-card small{color:#788592;font-size:10px;font-weight:900;letter-spacing:.09em;text-transform:uppercase}.psg-contact-card strong{margin-top:6px;color:#17212c;font-size:19px;line-height:1.35;overflow-wrap:anywhere}.psg-contact-card em{margin-top:auto;padding-top:18px;color:#00a69c;font-size:12px;font-style:normal;font-weight:850}.psg-contact-card--static{border-top-color:#263342}.psg-contact-card--static .psg-contact-card__icon{background:#edf1f4;color:#263342}.psg-contact-card--static em{color:#788592}
.psg-contact-cta{display:flex;justify-content:space-between;align-items:center;gap:36px}.psg-contact-cta h2{color:#fff}.psg-contact-cta p{max-width:700px;margin:11px 0 0;color:#bfc8d1;line-height:1.65}.psg-info-final{border-top:1px solid rgba(255,255,255,.06)}
@media(max-width:900px){.psg-info-hero__grid{grid-template-columns:1fr}.psg-info-hero__mark{display:none}.psg-info-heading{align-items:flex-start;flex-direction:column}.psg-about-feature-grid,.psg-contact-grid,.psg-vision-grid{grid-template-columns:1fr 1fr}.psg-about-person-grid,.psg-history-grid{grid-template-columns:1fr}.psg-contact-cta{align-items:flex-start;flex-direction:column}}
@media(max-width:620px){.psg-info-wrap{width:calc(100% - 24px)}.psg-info-hero{padding:34px 0}.psg-info-hero h1{font-size:42px}.psg-info-hero p{font-size:15px}.psg-info-section{padding:44px 0}.psg-info-heading{gap:12px;margin-bottom:20px}.psg-info-heading h2,.psg-info-section--dark h2{font-size:31px}.psg-about-feature-grid,.psg-contact-grid,.psg-vision-grid{grid-template-columns:1fr}.psg-about-feature{min-height:0;padding:22px}.psg-about-person-grid{gap:28px}.psg-about-quote{padding:22px}.psg-history-grid article{padding:22px}.psg-contact-card{min-height:166px;padding:21px}.psg-contact-card__icon{margin-bottom:18px}.psg-contact-card strong{font-size:17px}}

/* =========================================================
   PSG 1.4.7 — dopracowany widok drużyny desktop + mobile
   ========================================================= */
.single-sp_team .psg-sportspress-wrapper{
  width:min(1180px,calc(100% - 32px))!important;
  margin:48px auto 64px!important;
  padding:32px 36px!important;
  border:1px solid #dbe2e8!important;
  border-top:4px solid var(--psg-league-color,#B8860B)!important;
  border-radius:14px!important;
  background:#fff!important;
  box-shadow:0 12px 32px rgba(18,32,45,.05)!important;
}
.single-sp_team .entry-header{margin:0 0 24px!important;padding:0!important;border:0!important}
.single-sp_team .entry-title{margin:0!important;font-size:clamp(32px,3.6vw,46px)!important;line-height:1.05!important;letter-spacing:-.035em!important}

/* Górny blok klubu ma być zwarty; tabela zawsze pod nim na pełną szerokość. */
.single-sp_team .sp-template-team-logo{
  float:left!important;
  width:98px!important;
  margin:0 18px 16px 0!important;
  padding:12px!important;
  border:1px solid #dbe2e8!important;
  border-radius:10px!important;
  background:#fff!important;
}
.single-sp_team .sp-template-team-logo img{display:block!important;width:72px!important;height:72px!important;object-fit:contain!important;margin:auto!important}
.single-sp_team .sp-template-team-details,
.single-sp_team .sp-team-details{
  min-height:98px!important;
  margin:0 0 18px!important;
  padding:0!important;
  border:0!important;
  background:transparent!important;
}
.single-sp_team .sp-template-team-details dl,
.single-sp_team .sp-team-details dl{margin:0!important}
.single-sp_team .sp-template-team-details dt,
.single-sp_team .sp-team-details dt{color:#6f7b86!important;font-size:10px!important;font-weight:850!important;text-transform:uppercase!important;letter-spacing:.05em!important}
.single-sp_team .sp-template-team-details dd,
.single-sp_team .sp-team-details dd{margin:4px 0 8px!important;color:#17212c!important;font-size:14px!important;font-weight:700!important}
.single-sp_team .sp-template-player-list{clear:both!important;width:100%!important;margin:0!important}
.single-sp_team .sp-template-player-list .sp-table-caption{margin:0!important;padding:12px 0 14px!important;border:0!important;border-top:4px solid var(--psg-league-color,#B8860B)!important;background:#fff!important;font-size:20px!important}
.single-sp_team .sp-template-player-list .sp-table-wrapper,
.single-sp_team .sp-template-player-list .sp-scrollable-table-wrapper{width:100%!important;max-width:100%!important;overflow:visible!important}

/* Desktop: sztywna siatka, dzięki czemu nagłówki są dokładnie nad liczbami. */
@media(min-width:783px){
  .single-sp_team table.sp-player-list{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
  }
  .single-sp_team table.sp-player-list th,
  .single-sp_team table.sp-player-list td{box-sizing:border-box!important;vertical-align:middle!important}
  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name{width:34%!important;text-align:left!important}
  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals{width:8%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list td.data-assists{width:8%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp{width:8%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-appearances,
  .single-sp_team table.sp-player-list td.data-appearances{display:table-cell!important;width:9%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-yellowcards,
  .single-sp_team table.sp-player-list td.data-yellowcards{width:11%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-redcards,
  .single-sp_team table.sp-player-list td.data-redcards{width:12%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-owngoals,
  .single-sp_team table.sp-player-list td.data-owngoals{width:10%!important;text-align:center!important}
  .single-sp_team table.sp-player-list thead th{padding:12px 6px!important;font-size:10px!important;white-space:nowrap!important}
  .single-sp_team table.sp-player-list tbody td{padding:12px 8px!important}
}

/* Telefon: bez przewijania w bok, tylko najważniejsze statystyki. */
@media(max-width:782px){
  .single-sp_team .psg-sportspress-wrapper{
    width:calc(100% - 20px)!important;
    margin:18px auto 36px!important;
    padding:20px 12px!important;
    border-radius:12px!important;
  }
  .single-sp_team .entry-title{font-size:31px!important;margin-bottom:18px!important}
  .single-sp_team .sp-template-team-logo{
    float:none!important;
    width:104px!important;
    margin:0 auto 14px!important;
    padding:10px!important;
  }
  .single-sp_team .sp-template-team-logo img{width:82px!important;height:82px!important}
  .single-sp_team .sp-template-team-details,
  .single-sp_team .sp-team-details{min-height:0!important;margin:0 0 16px!important;text-align:center!important}
  .single-sp_team .sp-template-player-list .sp-table-caption{padding:12px 0!important;font-size:20px!important}

  .single-sp_team table.sp-player-list{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
    font-size:10px!important;
  }
  .single-sp_team table.sp-player-list th,
  .single-sp_team table.sp-player-list td{display:none!important;box-sizing:border-box!important}
  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name,
  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals,
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list td.data-assists,
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp,
  .single-sp_team table.sp-player-list th.data-yellowcards,
  .single-sp_team table.sp-player-list td.data-yellowcards,
  .single-sp_team table.sp-player-list th.data-redcards,
  .single-sp_team table.sp-player-list td.data-redcards{display:table-cell!important}

  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name{width:42%!important;text-align:left!important}
  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals{width:10%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list td.data-assists{width:10%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp{width:9%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-yellowcards,
  .single-sp_team table.sp-player-list td.data-yellowcards{width:14%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-redcards,
  .single-sp_team table.sp-player-list td.data-redcards{width:15%!important;text-align:center!important}

  .single-sp_team table.sp-player-list thead th{
    padding:8px 1px!important;
    font-size:6.4px!important;
    line-height:1.05!important;
    white-space:normal!important;
    text-align:center!important;
  }
  .single-sp_team table.sp-player-list th.data-name{font-size:7px!important;text-align:left!important;padding-left:4px!important}
  .single-sp_team table.sp-player-list th.data-yellowcards{font-size:5.8px!important}
  .single-sp_team table.sp-player-list th.data-redcards{font-size:5.4px!important}
  .single-sp_team table.sp-player-list tbody td{padding:9px 2px!important;font-size:10px!important}
  .single-sp_team table.sp-player-list td.data-name{
    padding-left:4px!important;
    font-size:10.5px!important;
    font-weight:750!important;
    line-height:1.18!important;
    white-space:normal!important;
    overflow-wrap:anywhere!important;
  }
  .single-sp_team table.sp-player-list td.data-name img,
  .single-sp_team table.sp-player-list td.data-name .player-photo img{width:18px!important;height:18px!important;object-fit:cover!important;margin-right:4px!important;vertical-align:middle!important}
}

/* =========================================================
   PSG 1.4.8 — finalne wyrównanie tabel drużyny i zawodnika
   ========================================================= */

/* -------- WIDOK DRUŻYNY: desktop -------- */
@media (min-width:783px){
  .single-sp_team table.sp-player-list{
    width:100%!important;
    table-layout:fixed!important;
  }
  .single-sp_team table.sp-player-list th,
  .single-sp_team table.sp-player-list td{
    box-sizing:border-box!important;
    vertical-align:middle!important;
  }
  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name{width:34%!important;text-align:left!important}
  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals{width:8%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list td.data-assists{width:8%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp{width:8%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-appearances,
  .single-sp_team table.sp-player-list td.data-appearances{display:table-cell!important;width:9%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-yellowcards,
  .single-sp_team table.sp-player-list td.data-yellowcards{width:11%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-redcards,
  .single-sp_team table.sp-player-list td.data-redcards{width:12%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-owngoals,
  .single-sp_team table.sp-player-list td.data-owngoals{width:10%!important;text-align:center!important}

  .single-sp_team table.sp-player-list thead th{
    padding:12px 5px!important;
    white-space:nowrap!important;
    text-align:center!important;
  }
  .single-sp_team table.sp-player-list thead th.data-name{text-align:left!important}
}

/* -------- WIDOK DRUŻYNY: telefon — tylko Zawodnik, Gole, Asysty, MVP, Mecze -------- */
@media (max-width:782px){
  .single-sp_team .sp-table-wrapper,
  .single-sp_team .sp-scrollable-table-wrapper{overflow:visible!important;width:100%!important;max-width:100%!important}

  .single-sp_team table.sp-player-list{
    width:100%!important;
    min-width:0!important;
    table-layout:fixed!important;
  }
  .single-sp_team table.sp-player-list th,
  .single-sp_team table.sp-player-list td{display:none!important}

  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name,
  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals,
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list td.data-assists,
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp,
  .single-sp_team table.sp-player-list th.data-appearances,
  .single-sp_team table.sp-player-list td.data-appearances{display:table-cell!important}

  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name{width:48%!important;text-align:left!important}
  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals{width:12%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list td.data-assists{width:14%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp{width:11%!important;text-align:center!important}
  .single-sp_team table.sp-player-list th.data-appearances,
  .single-sp_team table.sp-player-list td.data-appearances{width:15%!important;text-align:center!important}

  .single-sp_team table.sp-player-list thead th{
    padding:9px 1px!important;
    font-size:7px!important;
    line-height:1!important;
    white-space:nowrap!important;
    letter-spacing:0!important;
  }
  .single-sp_team table.sp-player-list thead th.data-name{font-size:7px!important;text-align:left!important;padding-left:4px!important}
  .single-sp_team table.sp-player-list tbody td{padding:9px 2px!important;font-size:10.5px!important}
  .single-sp_team table.sp-player-list td.data-name{font-weight:750!important;line-height:1.16!important;white-space:normal!important;overflow-wrap:anywhere!important;padding-left:4px!important}
}

/* -------- WIDOK ZAWODNIKA: desktop — jedna siatka nagłówków i danych -------- */
@media (min-width:783px){
  .single-sp_player .sp-template-player-statistics table,
  .single-sp_player table.sp-player-statistics{
    width:100%!important;
    table-layout:fixed!important;
  }
  .single-sp_player .sp-template-player-statistics th,
  .single-sp_player .sp-template-player-statistics td,
  .single-sp_player table.sp-player-statistics th,
  .single-sp_player table.sp-player-statistics td{
    box-sizing:border-box!important;
    vertical-align:middle!important;
    text-align:center!important;
    padding-left:5px!important;
    padding-right:5px!important;
  }
  .single-sp_player .sp-template-player-statistics th.data-season,
  .single-sp_player .sp-template-player-statistics td.data-season,
  .single-sp_player table.sp-player-statistics th.data-season,
  .single-sp_player table.sp-player-statistics td.data-season{width:22%!important;text-align:left!important}
  .single-sp_player .sp-template-player-statistics th.data-team,
  .single-sp_player .sp-template-player-statistics td.data-team,
  .single-sp_player table.sp-player-statistics th.data-team,
  .single-sp_player table.sp-player-statistics td.data-team{width:13%!important;text-align:left!important}
  .single-sp_player .sp-template-player-statistics th.data-goals,
  .single-sp_player .sp-template-player-statistics td.data-goals,
  .single-sp_player .sp-template-player-statistics th.data-assists,
  .single-sp_player .sp-template-player-statistics td.data-assists,
  .single-sp_player .sp-template-player-statistics th.data-goalassists,
  .single-sp_player .sp-template-player-statistics td.data-goalassists,
  .single-sp_player .sp-template-player-statistics th.data-mvp,
  .single-sp_player .sp-template-player-statistics td.data-mvp,
  .single-sp_player table.sp-player-statistics th.data-goals,
  .single-sp_player table.sp-player-statistics td.data-goals,
  .single-sp_player table.sp-player-statistics th.data-assists,
  .single-sp_player table.sp-player-statistics td.data-assists,
  .single-sp_player table.sp-player-statistics th.data-goalassists,
  .single-sp_player table.sp-player-statistics td.data-goalassists,
  .single-sp_player table.sp-player-statistics th.data-mvp,
  .single-sp_player table.sp-player-statistics td.data-mvp{width:6%!important}
  .single-sp_player .sp-template-player-statistics th.data-appearances,
  .single-sp_player .sp-template-player-statistics td.data-appearances,
  .single-sp_player table.sp-player-statistics th.data-appearances,
  .single-sp_player table.sp-player-statistics td.data-appearances{width:7%!important}
  .single-sp_player .sp-template-player-statistics th.data-yellowcards,
  .single-sp_player .sp-template-player-statistics td.data-yellowcards,
  .single-sp_player .sp-template-player-statistics th.data-redcards,
  .single-sp_player .sp-template-player-statistics td.data-redcards,
  .single-sp_player table.sp-player-statistics th.data-yellowcards,
  .single-sp_player table.sp-player-statistics td.data-yellowcards,
  .single-sp_player table.sp-player-statistics th.data-redcards,
  .single-sp_player table.sp-player-statistics td.data-redcards{width:6%!important}
  .single-sp_player .sp-template-player-statistics th[class*="ratio"],
  .single-sp_player .sp-template-player-statistics td[class*="ratio"],
  .single-sp_player table.sp-player-statistics th[class*="ratio"],
  .single-sp_player table.sp-player-statistics td[class*="ratio"]{width:8%!important}
  .single-sp_player .sp-template-player-statistics th.data-owngoals,
  .single-sp_player .sp-template-player-statistics td.data-owngoals,
  .single-sp_player table.sp-player-statistics th.data-owngoals,
  .single-sp_player table.sp-player-statistics td.data-owngoals{width:6%!important}
  .single-sp_player .sp-template-player-statistics thead th,
  .single-sp_player table.sp-player-statistics thead th{font-size:9px!important;white-space:nowrap!important}
}

/* -------- WIDOK ZAWODNIKA: telefon — Sezon + Gole + Asysty + MVP + Mecze -------- */
@media (max-width:782px){
  .single-sp_player .sp-template-player-statistics .sp-table-wrapper,
  .single-sp_player .sp-template-player-statistics .sp-scrollable-table-wrapper{overflow:visible!important;max-width:100%!important}
  .single-sp_player .sp-template-player-statistics table,
  .single-sp_player table.sp-player-statistics{width:100%!important;min-width:0!important;table-layout:fixed!important}

  .single-sp_player .sp-template-player-statistics th,
  .single-sp_player .sp-template-player-statistics td,
  .single-sp_player table.sp-player-statistics th,
  .single-sp_player table.sp-player-statistics td{display:none!important;box-sizing:border-box!important}

  .single-sp_player .sp-template-player-statistics th.data-season,
  .single-sp_player .sp-template-player-statistics td.data-season,
  .single-sp_player .sp-template-player-statistics th.data-goals,
  .single-sp_player .sp-template-player-statistics td.data-goals,
  .single-sp_player .sp-template-player-statistics th.data-assists,
  .single-sp_player .sp-template-player-statistics td.data-assists,
  .single-sp_player .sp-template-player-statistics th.data-mvp,
  .single-sp_player .sp-template-player-statistics td.data-mvp,
  .single-sp_player .sp-template-player-statistics th.data-appearances,
  .single-sp_player .sp-template-player-statistics td.data-appearances,
  .single-sp_player table.sp-player-statistics th.data-season,
  .single-sp_player table.sp-player-statistics td.data-season,
  .single-sp_player table.sp-player-statistics th.data-goals,
  .single-sp_player table.sp-player-statistics td.data-goals,
  .single-sp_player table.sp-player-statistics th.data-assists,
  .single-sp_player table.sp-player-statistics td.data-assists,
  .single-sp_player table.sp-player-statistics th.data-mvp,
  .single-sp_player table.sp-player-statistics td.data-mvp,
  .single-sp_player table.sp-player-statistics th.data-appearances,
  .single-sp_player table.sp-player-statistics td.data-appearances{display:table-cell!important}

  .single-sp_player .sp-template-player-statistics th.data-season,
  .single-sp_player .sp-template-player-statistics td.data-season,
  .single-sp_player table.sp-player-statistics th.data-season,
  .single-sp_player table.sp-player-statistics td.data-season{width:48%!important;text-align:left!important}
  .single-sp_player .sp-template-player-statistics th.data-goals,
  .single-sp_player .sp-template-player-statistics td.data-goals,
  .single-sp_player table.sp-player-statistics th.data-goals,
  .single-sp_player table.sp-player-statistics td.data-goals{width:12%!important;text-align:center!important}
  .single-sp_player .sp-template-player-statistics th.data-assists,
  .single-sp_player .sp-template-player-statistics td.data-assists,
  .single-sp_player table.sp-player-statistics th.data-assists,
  .single-sp_player table.sp-player-statistics td.data-assists{width:14%!important;text-align:center!important}
  .single-sp_player .sp-template-player-statistics th.data-mvp,
  .single-sp_player .sp-template-player-statistics td.data-mvp,
  .single-sp_player table.sp-player-statistics th.data-mvp,
  .single-sp_player table.sp-player-statistics td.data-mvp{width:11%!important;text-align:center!important}
  .single-sp_player .sp-template-player-statistics th.data-appearances,
  .single-sp_player .sp-template-player-statistics td.data-appearances,
  .single-sp_player table.sp-player-statistics th.data-appearances,
  .single-sp_player table.sp-player-statistics td.data-appearances{width:15%!important;text-align:center!important}

  .single-sp_player .sp-template-player-statistics thead th,
  .single-sp_player table.sp-player-statistics thead th{padding:8px 1px!important;font-size:7px!important;white-space:nowrap!important;line-height:1!important}
  .single-sp_player .sp-template-player-statistics thead th.data-season,
  .single-sp_player table.sp-player-statistics thead th.data-season{text-align:left!important;padding-left:4px!important}
  .single-sp_player .sp-template-player-statistics tbody td,
  .single-sp_player table.sp-player-statistics tbody td{padding:9px 2px!important;font-size:10px!important}
  .single-sp_player .sp-template-player-statistics td.data-season,
  .single-sp_player table.sp-player-statistics td.data-season{font-weight:700!important;line-height:1.16!important;white-space:normal!important;overflow-wrap:anywhere!important;padding-left:4px!important}
}

/* ==========================================================
   PSG 1.4.9 — twarda siatka tabeli drużyny
   Każdy nagłówek stoi dokładnie nad swoją wartością.
   ========================================================== */
.single-sp_team table.sp-player-list{
  table-layout:auto!important;
}
@media (min-width:783px){
  .single-sp_team table.sp-player-list,
  .single-sp_team table.sp-player-list thead,
  .single-sp_team table.sp-player-list tbody{
    display:block!important;
    width:100%!important;
  }
  .single-sp_team table.sp-player-list tr{
    display:grid!important;
    grid-template-columns:minmax(260px,34fr) 8fr 8fr 8fr 9fr 11fr 12fr 10fr!important;
    width:100%!important;
    align-items:stretch!important;
  }
  .single-sp_team table.sp-player-list th,
  .single-sp_team table.sp-player-list td{
    display:flex!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    align-items:center!important;
    justify-content:center!important;
    box-sizing:border-box!important;
    text-align:center!important;
    margin:0!important;
  }
  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name{
    justify-content:flex-start!important;
    text-align:left!important;
  }
  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals,
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list td.data-assists,
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp,
  .single-sp_team table.sp-player-list th.data-appearances,
  .single-sp_team table.sp-player-list td.data-appearances,
  .single-sp_team table.sp-player-list th.data-yellowcards,
  .single-sp_team table.sp-player-list td.data-yellowcards,
  .single-sp_team table.sp-player-list th.data-redcards,
  .single-sp_team table.sp-player-list td.data-redcards,
  .single-sp_team table.sp-player-list th.data-owngoals,
  .single-sp_team table.sp-player-list td.data-owngoals{
    width:auto!important;
    text-align:center!important;
    justify-content:center!important;
  }
}

@media (max-width:782px){
  .single-sp_team table.sp-player-list,
  .single-sp_team table.sp-player-list thead,
  .single-sp_team table.sp-player-list tbody{
    display:block!important;
    width:100%!important;
  }
  .single-sp_team table.sp-player-list tr{
    display:grid!important;
    grid-template-columns:minmax(0,48fr) 12fr 14fr 11fr 15fr!important;
    width:100%!important;
    align-items:stretch!important;
  }
  .single-sp_team table.sp-player-list th,
  .single-sp_team table.sp-player-list td{
    display:none!important;
    width:auto!important;
    min-width:0!important;
    max-width:none!important;
    box-sizing:border-box!important;
    margin:0!important;
  }
  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name,
  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals,
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list td.data-assists,
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp,
  .single-sp_team table.sp-player-list th.data-appearances,
  .single-sp_team table.sp-player-list td.data-appearances{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    text-align:center!important;
  }
  .single-sp_team table.sp-player-list th.data-name,
  .single-sp_team table.sp-player-list td.data-name{
    justify-content:flex-start!important;
    text-align:left!important;
  }
  .single-sp_team table.sp-player-list th.data-goals,
  .single-sp_team table.sp-player-list td.data-goals,
  .single-sp_team table.sp-player-list th.data-assists,
  .single-sp_team table.sp-player-list td.data-assists,
  .single-sp_team table.sp-player-list th.data-mvp,
  .single-sp_team table.sp-player-list td.data-mvp,
  .single-sp_team table.sp-player-list th.data-appearances,
  .single-sp_team table.sp-player-list td.data-appearances{
    width:auto!important;
  }
}


/* ==========================================================
   PSG 1.5.2 — Polska Federacja Socca + hero
   ========================================================== */
.site-branding{
  min-width:0;
}
.psg-brand-copy{
  min-width:0;
}
.psg-socca-brand{
  display:inline-flex;
  align-items:center;
  gap:8px;
  flex:0 0 auto;
  margin-left:2px;
}
.psg-socca-brand__divider{
  display:block;
  width:1px;
  height:42px;
  background:rgba(255,255,255,.20);
}
.psg-socca-brand img{
  display:block;
  width:auto;
  height:62px;
  max-width:152px;
  object-fit:contain;
}
.psghome__eyebrow{
  max-width:760px;
}

@media(max-width:1180px){
  .psg-socca-brand img{
    height:56px;
    max-width:138px;
  }
  .psg-socca-brand__divider{
    height:46px;
  }
  .site-branding{
    gap:10px;
  }
}
@media(max-width:900px){
  .psg-socca-brand{
    margin-left:0;
    gap:8px;
  }
  .psg-socca-brand img{
    height:52px;
    max-width:128px;
  }
  .psg-socca-brand__divider{
    height:42px;
  }
}
@media(max-width:760px){
  .site-branding{
    gap:8px!important;
  }
  .psg-socca-brand img{
    height:46px;
    max-width:113px;
  }
  .psg-socca-brand__divider{
    height:36px;
  }
}
@media(max-width:480px){
  .psg-socca-brand__divider{
    display:none;
  }
  .psg-socca-brand img{
    height:46px;
    max-width:113px;
  }
}


/* ==========================================================
   PSG 1.5.4 — Super Piłkarze: animator na górze strony
   ========================================================== */
.psg-kids-v2__animator-top{
  padding:28px 0 4px;
  background:#fff;
}
.psg-kids-v2__animator-card{
  display:grid;
  grid-template-columns:minmax(210px,.72fr) minmax(0,1.55fr);
  gap:34px;
  align-items:center;
  padding:26px 30px;
  border:1px solid #dfe5eb;
  border-left:5px solid #00A69C;
  border-radius:16px;
  background:#fff;
  box-shadow:0 14px 34px rgba(16,25,35,.07);
}
.psg-kids-v2__animator-label h2{
  margin:5px 0 0;
  font-size:30px;
  line-height:1.05;
  color:#101923;
}
.psg-kids-v2__animator-copy{
  border-left:1px solid #e5e9ed;
  padding-left:30px;
}
.psg-kids-v2__animator-copy p{
  margin:0;
  color:#43505d;
  font-size:15px;
  line-height:1.65;
}
.psg-kids-v2__animator-copy p+p{
  margin-top:9px;
}
.psg-kids-v2__animator-copy strong{
  color:#101923;
}
.psg-kids-v2__card--wide{
  width:100%;
}

@media(max-width:782px){
  .psg-kids-v2__animator-top{
    padding:18px 0 0;
  }
  .psg-kids-v2__animator-card{
    grid-template-columns:1fr;
    gap:16px;
    padding:20px;
  }
  .psg-kids-v2__animator-label h2{
    font-size:25px;
  }
  .psg-kids-v2__animator-copy{
    border-left:0;
    border-top:1px solid #e5e9ed;
    padding-left:0;
    padding-top:16px;
  }
  .psg-kids-v2__animator-copy p{
    font-size:14px;
  }
}


/* =========================================================
   PSG 1.5.9 — O nas: nowa wizja + Regulamin PSG
   ========================================================= */
.psg-info-heading--vision{align-items:end}
.psg-vision-grid--expanded{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.psg-vision-grid--expanded article{align-items:flex-start;min-height:160px;padding:25px 26px;background:#fff;box-shadow:0 10px 28px rgba(20,32,45,.045)}
.psg-vision-grid--expanded i{margin-top:1px}
.psg-vision-grid--expanded article>div{min-width:0}
.psg-vision-grid--expanded strong{display:block;color:#17212c;font-size:19px;line-height:1.25}
.psg-vision-grid--expanded p{margin:8px 0 0;color:#6f7b86;font-size:14px;line-height:1.65}
.psg-about-final-statement{text-align:center;padding:84px 0}
.psg-about-final-statement .psg-info-wrap{max-width:960px}
.psg-about-final-statement h2{margin:17px auto 0;font-size:clamp(38px,5.8vw,68px);line-height:1.03;letter-spacing:-.045em}
.psg-about-final-statement h2 span{color:#d7a91e}
.psg-about-final-actions{display:flex;justify-content:center;gap:12px;margin-top:30px}
.psg-info-btn--ghost{border:1px solid rgba(255,255,255,.22);background:transparent!important}
.psg-info-btn--ghost:hover{background:rgba(255,255,255,.07)!important}

.psg-rules-page{--pr-dark:#121a23;--pr-dark2:#1c2834;--pr-gold:#b8860b;--pr-muted:#697682;--pr-line:#dde4e9;background:#f5f7f9;color:#17212c}
.psg-rules-hero{position:relative;overflow:hidden;padding:82px 0 74px;background:linear-gradient(120deg,#111922 0%,#202d39 100%);color:#fff}
.psg-rules-hero:after{content:"";position:absolute;right:-100px;bottom:-170px;width:470px;height:470px;border:90px solid rgba(184,134,11,.10);border-radius:50%}
.psg-rules-hero__grid{position:relative;z-index:2;display:grid;grid-template-columns:minmax(0,1fr) 220px;align-items:center;gap:54px}
.psg-rules-hero h1{margin:10px 0 16px;color:#fff;font-size:clamp(48px,7vw,82px);line-height:.95;letter-spacing:-.055em}
.psg-rules-hero p{max-width:720px;margin:0;color:#c9d1d8;font-size:18px;line-height:1.65}
.psg-rules-hero__badge{display:grid;place-items:center;justify-self:end;width:190px;height:190px;border:1px solid rgba(255,255,255,.14);border-radius:50%;background:rgba(255,255,255,.04);box-shadow:inset 0 0 0 14px rgba(255,255,255,.02)}
.psg-rules-hero__badge span{display:block;color:#d4a51c;font-size:54px;font-weight:950;letter-spacing:-.06em;line-height:1}
.psg-rules-hero__badge small{display:block;margin-top:-42px;color:#fff;font-size:10px;font-weight:900;letter-spacing:.16em}
.psg-rules-summary{padding:62px 0 70px;background:#fff;border-bottom:1px solid var(--pr-line)}
.psg-rules-summary__heading{max-width:750px;margin-bottom:28px}
.psg-rules-summary__heading>span,.psg-rules-heading-row>div>span{color:#9a7000;font-size:11px;font-weight:900;letter-spacing:.1em;text-transform:uppercase}
.psg-rules-summary__heading h2,.psg-rules-heading-row h2{margin:7px 0 10px;font-size:clamp(30px,4vw,44px);line-height:1.05;letter-spacing:-.035em}
.psg-rules-summary__heading p{margin:0;color:var(--pr-muted);line-height:1.7}
.psg-rules-facts{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:12px}
.psg-rules-facts article{min-height:132px;padding:22px 18px;border:1px solid var(--pr-line);border-top:4px solid var(--pr-gold);border-radius:13px;background:#f9fafb}
.psg-rules-facts strong{display:block;color:#17212c;font-size:25px;line-height:1.05}
.psg-rules-facts span{display:block;margin-top:9px;color:var(--pr-muted);font-size:12px;font-weight:750;line-height:1.4}
.psg-rules-content-section{padding:74px 0 86px}
.psg-rules-heading-row{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:26px}
.psg-rules-heading-row h2{margin-bottom:0}
.psg-rules-toplink{flex:0 0 auto;padding:8px 12px;border:1px solid #d6dee4;border-radius:999px;background:#fff;color:#697682;font-size:11px;font-weight:850}
.psg-rules-list{display:grid;gap:12px}
.psg-rules-item{display:grid;grid-template-columns:64px minmax(0,1fr);gap:20px;padding:25px 28px;border:1px solid var(--pr-line);border-radius:13px;background:#fff;box-shadow:0 8px 26px rgba(18,32,45,.035)}
.psg-rules-number{display:grid;place-items:center;width:48px;height:48px;border-radius:11px;background:#f4ead0;color:#8e6800;font-size:12px;font-weight:950;letter-spacing:.06em}
.psg-rules-copy{min-width:0}
.psg-rules-copy p{margin:0;color:#45525e;font-size:14px;line-height:1.78}
.psg-rules-copy p+p{margin-top:13px}
.psg-rules-copy a{color:#9a7000;font-weight:850;text-decoration:underline;text-underline-offset:3px}
.psg-rules-item:nth-child(6){border-top:4px solid var(--pr-gold)}
.psg-rules-item:nth-child(6) .psg-rules-copy p:first-child{color:#17212c;font-weight:800}
.psg-rules-contact{padding:68px 0;background:var(--pr-dark);color:#fff}
.psg-rules-contact__inner{display:flex;align-items:center;justify-content:space-between;gap:36px}
.psg-rules-contact h2{margin:8px 0 8px;color:#fff;font-size:clamp(34px,4.2vw,50px);line-height:1}
.psg-rules-contact p{max-width:690px;margin:0;color:#bfc8d1;line-height:1.65}
.psg-rules-contact .psg-info-btn{background:#b8860b}
@media(max-width:1080px){.psg-rules-facts{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:900px){.psg-vision-grid--expanded{grid-template-columns:1fr}.psg-rules-hero__grid{grid-template-columns:1fr}.psg-rules-hero__badge{display:none}.psg-rules-heading-row,.psg-rules-contact__inner{align-items:flex-start;flex-direction:column}.psg-rules-toplink{align-self:flex-start}}
@media(max-width:620px){.psg-about-final-statement{padding:60px 0}.psg-about-final-statement h2{font-size:36px}.psg-about-final-actions{display:grid}.psg-about-final-actions .psg-info-btn{width:100%}.psg-rules-hero{padding:48px 0 44px}.psg-rules-hero h1{font-size:46px}.psg-rules-hero p{font-size:15px}.psg-rules-summary{padding:44px 0 50px}.psg-rules-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}.psg-rules-facts article{min-height:114px;padding:18px 14px}.psg-rules-facts strong{font-size:21px}.psg-rules-content-section{padding:50px 0 60px}.psg-rules-item{grid-template-columns:1fr;gap:14px;padding:20px 18px}.psg-rules-number{width:42px;height:42px}.psg-rules-copy p{font-size:13.5px;line-height:1.72}.psg-rules-contact{padding:50px 0}}


/* ==========================================================
   PSG Pro League 1.5.10 — MOBILE STABILITY FIX
   - profil zawodnika: poprawne nagłówki GOLE / ASYSTY
   - spójne wagi wartości liczbowych
   - logo Polska Federacja Socca nie rośnie na telefonie
   ========================================================== */

@media (max-width:782px){

  /* SportsPress w profilu zawodnika potrafi podać skróty G / A.
     Starsza reguła dopisywała do nich pseudo-element GOLE / ASYSTY,
     co dawało gGOLE i aASYSTY. Ukrywamy tekst źródłowy i pokazujemy
     jedną, kontrolowaną etykietę. */
  .single-sp_player .sp-template-player-statistics th.data-goals,
  .single-sp_player table.sp-player-statistics th.data-goals,
  .single-sp_player .sp-template-player-statistics th.data-assists,
  .single-sp_player table.sp-player-statistics th.data-assists{
    font-size:0!important;
    white-space:nowrap!important;
    overflow-wrap:normal!important;
    word-break:normal!important;
  }

  .single-sp_player .sp-template-player-statistics th.data-goals::after,
  .single-sp_player table.sp-player-statistics th.data-goals::after{
    content:"GOLE"!important;
    display:inline-block!important;
    font-size:7px!important;
    line-height:1!important;
  }

  .single-sp_player .sp-template-player-statistics th.data-assists::after,
  .single-sp_player table.sp-player-statistics th.data-assists::after{
    content:"ASYSTY"!important;
    display:inline-block!important;
    font-size:7px!important;
    line-height:1!important;
  }

  /* Wszystkie wartości statystyk zawodnika mają jedną wagę.
     Dotyczy wierszy sezonów oraz podsumowań. */
  .single-sp_player .sp-template-player-statistics td:not(.data-season):not(.data-team),
  .single-sp_player table.sp-player-statistics td:not(.data-season):not(.data-team),
  .single-sp_player .sp-template-player-statistics td strong,
  .single-sp_player table.sp-player-statistics td strong{
    font-weight:700!important;
    font-variant-numeric:tabular-nums!important;
  }

  /* Nagłówki nie dostają przypadkowego pogrubienia/zmiany rozmiaru. */
  .single-sp_player .sp-template-player-statistics thead th,
  .single-sp_player table.sp-player-statistics thead th{
    font-weight:800!important;
    letter-spacing:0!important;
  }
}

/* Logo Socca — twarde limity na urządzeniach mobilnych.
   Wymuszone !important, żeby nie przebiły tego ogólne reguły img z WP/SP. */
@media (max-width:760px){
  .site-header .psg-socca-brand{
    flex:0 0 auto!important;
    max-width:108px!important;
    overflow:hidden!important;
  }
  .site-header .psg-socca-brand img{
    display:block!important;
    width:auto!important;
    height:38px!important;
    min-height:0!important;
    max-height:38px!important;
    max-width:105px!important;
    object-fit:contain!important;
  }
  .site-header .psg-socca-brand__divider{
    height:32px!important;
  }
}
@media (max-width:480px){
  .site-header .psg-socca-brand{
    max-width:100px!important;
  }
  .site-header .psg-socca-brand img{
    height:36px!important;
    max-height:36px!important;
    max-width:98px!important;
  }
}

/* Dodatkowe zabezpieczenie spójnej wagi cyfr w kartach/statystykach
   profilu zawodnika również poza samą tabelą SportsPress. */
@media (max-width:782px){
  .single-sp_player .sp-template-player-statistics tbody td,
  .single-sp_player .sp-template-player-statistics tfoot td,
  .single-sp_player table.sp-player-statistics tbody td,
  .single-sp_player table.sp-player-statistics tfoot td{
    font-variant-numeric:tabular-nums!important;
  }
}


/* =========================================================
   PSG Pro League 1.5.14 — widget „Kolejny mecz” w sidebarze
   Dopasowanie stylistyczne do kart PSG / paneli.
   ========================================================= */
.widget-area .widget:has(.sp-countdown),
.widget-area .widget:has(.sp-countdown-wrapper){
  position:relative;
  overflow:hidden;
  padding:0!important;
  border:1px solid var(--psg-border)!important;
  border-radius:16px!important;
  background:#fff!important;
  box-shadow:0 10px 30px rgba(18,32,45,.06)!important;
}

.widget-area .widget:has(.sp-countdown)::before,
.widget-area .widget:has(.sp-countdown-wrapper)::before{
  content:"";
  display:block;
  height:4px;
  background:linear-gradient(90deg,var(--psg-league-color,#00a69c),#1414b8);
}

.widget-area .widget:has(.sp-countdown) .widget-title,
.widget-area .widget:has(.sp-countdown-wrapper) .widget-title{
  margin:0!important;
  padding:18px 20px 13px!important;
  color:var(--psg-dark)!important;
  font-size:18px!important;
  line-height:1.15!important;
  font-weight:900!important;
  border-bottom:1px solid #edf1f4;
  background:#fff;
}

.widget-area .widget .sp-countdown,
.widget-area .widget .sp-countdown-wrapper{
  margin:0!important;
  padding:16px 18px 20px!important;
  border:0!important;
  background:#fff!important;
  text-align:left!important;
}

.widget-area .widget .sp-countdown .sp-event-name,
.widget-area .widget .sp-countdown-wrapper .sp-event-name,
.widget-area .widget .sp-countdown h4,
.widget-area .widget .sp-countdown h5{
  margin:0 0 14px!important;
  color:var(--psg-dark)!important;
  font-size:16px!important;
  line-height:1.3!important;
  font-weight:900!important;
}

.widget-area .widget .sp-countdown .sp-event-logos,
.widget-area .widget .sp-countdown-wrapper .sp-event-logos{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) 34px minmax(0,1fr)!important;
  align-items:center!important;
  gap:10px!important;
  margin:0 0 14px!important;
}

.widget-area .widget .sp-countdown .sp-team-logo,
.widget-area .widget .sp-countdown-wrapper .sp-team-logo{
  display:flex!important;
  flex-direction:column!important;
  align-items:center!important;
  justify-content:center!important;
  min-width:0!important;
  text-align:center!important;
}

.widget-area .widget .sp-countdown .sp-team-logo img,
.widget-area .widget .sp-countdown-wrapper .sp-team-logo img{
  display:block!important;
  width:48px!important;
  height:48px!important;
  max-width:48px!important;
  max-height:48px!important;
  margin:0 auto 7px!important;
  object-fit:contain!important;
}

.widget-area .widget .sp-countdown .sp-team-logo a,
.widget-area .widget .sp-countdown-wrapper .sp-team-logo a,
.widget-area .widget .sp-countdown .sp-team-logo strong,
.widget-area .widget .sp-countdown-wrapper .sp-team-logo strong{
  display:block!important;
  max-width:100%!important;
  color:var(--psg-dark)!important;
  font-size:12px!important;
  line-height:1.22!important;
  font-weight:850!important;
  text-decoration:none!important;
  white-space:normal!important;
  overflow-wrap:normal!important;
  word-break:normal!important;
}

.widget-area .widget .sp-countdown .sp-event-logos::before,
.widget-area .widget .sp-countdown-wrapper .sp-event-logos::before{
  content:"VS";
  grid-column:2;
  grid-row:1;
  display:flex;
  align-items:center;
  justify-content:center;
  width:32px;
  height:28px;
  border-radius:8px;
  background:var(--psg-dark);
  color:#fff;
  font-size:9px;
  font-weight:900;
  justify-self:center;
}

/* jeśli SportsPress generuje separator jako osobny element */
.widget-area .widget .sp-countdown .sp-event-logos .sp-event-vs,
.widget-area .widget .sp-countdown-wrapper .sp-event-logos .sp-event-vs{
  grid-column:2!important;
  grid-row:1!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
  width:32px!important;
  height:28px!important;
  border-radius:8px!important;
  background:var(--psg-dark)!important;
  color:#fff!important;
  font-size:9px!important;
  font-weight:900!important;
}

/* unikamy podwójnego VS, jeżeli SportsPress ma własny separator */
.widget-area .widget .sp-countdown .sp-event-logos:has(.sp-event-vs)::before,
.widget-area .widget .sp-countdown-wrapper .sp-event-logos:has(.sp-event-vs)::before{
  content:none;
}

.widget-area .widget .sp-countdown .sp-event-date,
.widget-area .widget .sp-countdown .sp-event-venue,
.widget-area .widget .sp-countdown .sp-event-league,
.widget-area .widget .sp-countdown-wrapper .sp-event-date,
.widget-area .widget .sp-countdown-wrapper .sp-event-venue,
.widget-area .widget .sp-countdown-wrapper .sp-event-league{
  display:flex!important;
  align-items:center!important;
  min-height:28px!important;
  margin:0!important;
  padding:7px 9px!important;
  border-bottom:1px solid #edf1f4!important;
  color:#5e6b78!important;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:750!important;
}

.widget-area .widget .sp-countdown .sp-event-league,
.widget-area .widget .sp-countdown-wrapper .sp-event-league{
  border-bottom:0!important;
}

.widget-area .widget .sp-countdown time,
.widget-area .widget .sp-countdown-wrapper time{
  display:block!important;
  margin:15px 0 0!important;
  padding:13px 10px!important;
  border-radius:12px!important;
  background:#f1f8f7!important;
  color:#008f87!important;
  font-size:17px!important;
  line-height:1.35!important;
  font-weight:900!important;
  text-align:center!important;
  font-variant-numeric:tabular-nums;
}

/* Fallback dla prostszego markup SportsPress, jak na obecnym sidebarze */
.widget-area .widget .sp-countdown > a,
.widget-area .widget .sp-countdown-wrapper > a{
  color:#00a69c!important;
  font-weight:850!important;
  text-decoration:none!important;
}

@media(max-width:980px){
  .widget-area .widget:has(.sp-countdown),
  .widget-area .widget:has(.sp-countdown-wrapper){
    max-width:100%;
  }
}


/* =========================================================
   PSG Pro League 1.5.15 — „Kolejny mecz” w kolorze swojej ligi
   Kolor jest ustawiany indywidualnie dla każdego widgetu na podstawie
   nazwy ligi meczu, a nie na podstawie strony, na której widget się znajduje.
   ========================================================= */
.widget-area .widget:has(.sp-countdown),
.widget-area .widget:has(.sp-countdown-wrapper){
  --psg-widget-league:#00A69C;
}

.widget-area .widget:has(.sp-countdown)::before,
.widget-area .widget:has(.sp-countdown-wrapper)::before{
  background:var(--psg-widget-league)!important;
}

.widget-area .widget:has(.sp-countdown) .widget-title,
.widget-area .widget:has(.sp-countdown-wrapper) .widget-title{
  border-top-color:var(--psg-widget-league)!important;
}

.widget-area .widget .sp-countdown time,
.widget-area .widget .sp-countdown-wrapper time{
  color:var(--psg-widget-league)!important;
  background:color-mix(in srgb,var(--psg-widget-league) 9%,#fff)!important;
}

.widget-area .widget .sp-countdown > a,
.widget-area .widget .sp-countdown-wrapper > a,
.widget-area .widget .sp-countdown a:hover,
.widget-area .widget .sp-countdown-wrapper a:hover{
  color:var(--psg-widget-league)!important;
}

/* delikatny akcent przy nazwie ligi, jeżeli SportsPress ją renderuje */
.widget-area .widget .sp-countdown .sp-event-league,
.widget-area .widget .sp-countdown-wrapper .sp-event-league{
  color:var(--psg-widget-league)!important;
  font-weight:900!important;
}


/* =========================================================
   PSG Pro League 1.5.16 — nazwy drużyn w widgetcie „Kolejny mecz”
   od razu w kolorze ligi, nie dopiero po hover.
   ========================================================= */
.widget-area .widget:has(.sp-countdown) .sp-team-logo a,
.widget-area .widget:has(.sp-countdown-wrapper) .sp-team-logo a,
.widget-area .widget:has(.sp-countdown) .sp-team-logo strong,
.widget-area .widget:has(.sp-countdown-wrapper) .sp-team-logo strong,
.widget-area .widget:has(.sp-countdown) .sp-event-name a,
.widget-area .widget:has(.sp-countdown-wrapper) .sp-event-name a{
  color:var(--psg-widget-league)!important;
}

.widget-area .widget:has(.sp-countdown) .sp-team-logo a:hover,
.widget-area .widget:has(.sp-countdown-wrapper) .sp-team-logo a:hover,
.widget-area .widget:has(.sp-countdown) .sp-event-name a:hover,
.widget-area .widget:has(.sp-countdown-wrapper) .sp-event-name a:hover{
  color:var(--psg-widget-league)!important;
  opacity:.86;
}


/* =========================================================
   PSG Pro League 1.5.17 — miejsce spotkania w widgetcie
   „Kolejny mecz” również w kolorze ligi.
   ========================================================= */
.widget-area .widget:has(.sp-countdown) .sp-event-venue,
.widget-area .widget:has(.sp-countdown-wrapper) .sp-event-venue,
.widget-area .widget:has(.sp-countdown) .sp-event-venue a,
.widget-area .widget:has(.sp-countdown-wrapper) .sp-event-venue a,
.widget-area .widget:has(.sp-countdown) [class*="venue"],
.widget-area .widget:has(.sp-countdown-wrapper) [class*="venue"]{
  color:var(--psg-widget-league)!important;
}

.widget-area .widget:has(.sp-countdown) .sp-event-venue a:hover,
.widget-area .widget:has(.sp-countdown-wrapper) .sp-event-venue a:hover{
  color:var(--psg-widget-league)!important;
  opacity:.86;
}


/* PSG Pro League 1.5.32 — Regulamin 26.08.2026 */
.psg-rules-copy .psg-rule-point{font-weight:800;color:#17212c}
.psg-rules-publication{margin:22px 0 0;text-align:right;color:#6b7680;font-size:13px}
@media(max-width:620px){.psg-rules-publication{text-align:center;font-size:12.5px}}
