/*
Theme Name: Lubań Maniowy
Author: Projekt dla LKS Lubań Maniowy
Description: Klubowy motyw z galerią, podstronami i integracją Facebook Feed PRO.
Version: 3.1.3
Requires at least: 6.4
Requires PHP: 7.4
License: GPL-2.0-or-later
Text Domain: luban-maniowy
*/
@font-face{font-family:Oswald;src:url('assets/oswald-bold.ttf') format('truetype');font-weight:700;font-display:swap}
:root{--green:#073e2e;--deep:#08271e;--ink:#071a13;--yellow:#f5dc35;--paper:#f1f2e9;--line:#ffffff24;--header:126px}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:150px}body{margin:0;background:var(--green);color:white;font-family:Arial,Helvetica,sans-serif;line-height:1.6;overflow-x:clip}img{max-width:100%;height:auto;display:block}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button,a{-webkit-tap-highlight-color:transparent}button{border:0;background:none}a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--yellow);outline-offset:5px}h1,h2,h3,p,figure{margin:0}h1,h2,h3{line-height:1.06}h1,h2{font-family:Oswald,Impact,sans-serif;font-weight:700;text-transform:uppercase}h1{font-size:clamp(52px,7.4vw,116px)}h2{font-size:clamp(36px,4.7vw,72px)}h3{font-size:24px}p{margin:18px 0;color:#d3dfd8}.wrap{width:min(1440px,calc(100% - 100px));margin-inline:auto}.section{padding-block:100px}.eyebrow{display:block;font-size:11px;letter-spacing:2px;font-weight:700;color:var(--yellow)}.dot{color:var(--yellow)}.button{display:inline-flex;align-items:center;justify-content:space-between;gap:32px;padding:20px 26px;font-size:12px;letter-spacing:.7px;font-weight:800;line-height:1.35;transition:background .2s,transform .2s}.button:hover{transform:translateY(-3px)}.yellow{background:var(--yellow);color:var(--ink)}.dark{background:var(--ink);color:white}.outline{border:1px solid #ffffff66}.text-link{font-size:11px;letter-spacing:1px;font-weight:700;border-bottom:1px solid currentColor;padding-bottom:6px}.text-link:hover{color:var(--yellow)}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:30px;margin-bottom:44px}.section-heading h2{margin-top:14px}.screen-reader-text,.skip-link:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}.skip-link:focus{position:fixed;z-index:300;background:var(--yellow);color:black;padding:15px}[hidden]{display:none!important}
.site-header{position:fixed;top:0;left:0;right:0;z-index:90;transition:transform .3s}.contact-bar{height:38px;background:var(--ink);font-size:11px;color:#c8d6ce}.contact-inner,.contact-inner>div{display:flex;align-items:center;gap:22px;height:100%}.contact-inner{justify-content:space-between}.contact-inner strong{color:white}.contact-inner .social-icon{width:16px;height:16px}.social-icon{display:inline-flex;width:22px;height:22px}.social-icon svg{width:100%;height:100%;fill:currentColor}.social-icon:hover{color:var(--yellow)}.nav-bar{background:#073e2ee8;backdrop-filter:blur(15px);border-bottom:1px solid var(--line)}.header-inner{height:88px;position:relative;display:flex;align-items:center}.brand{position:absolute;left:50%;top:5px;transform:translateX(-50%);z-index:4;width:126px;height:126px;filter:drop-shadow(0 4px 5px #0004)}.brand img{width:126px;height:126px;object-fit:contain}.brand-monochrome{display:none}.site-header.is-scrolled{transform:translateY(-38px)}.site-header.is-scrolled .brand-color{display:none}.site-header.is-scrolled .brand-monochrome{display:block}.site-header.is-scrolled .nav-bar{background:rgba(7,62,46,.6)}#primary-nav{width:100%;display:flex;justify-content:space-between;gap:160px}.nav-left{flex:1}.nav-right{flex:1;display:flex;justify-content:end}.nav-links{display:flex;gap:clamp(12px,1.6vw,26px);align-items:center;list-style:none;padding:0;margin:0;font-size:12px;font-weight:700;white-space:nowrap}.nav-links>li{position:relative;display:flex;align-items:center;min-height:88px}.nav-links a:hover{color:var(--yellow)}.accent{color:var(--yellow)}.sub-menu{display:none;position:absolute;top:100%;left:-20px;min-width:160px;padding:14px 0;list-style:none;background:var(--ink);border-top:2px solid var(--yellow)}.sub-menu a{display:block;padding:10px 24px}.menu-item-has-children:hover>.sub-menu,.menu-item-has-children.expanded>.sub-menu{display:block}.submenu-toggle{padding:10px 4px;font-size:12px}.menu-toggle{display:none}.admin-bar .site-header{top:32px}
.hero-carousel{position:relative;background:var(--ink);height:100svh;min-height:0}.hero{position:relative;height:100%;overflow:hidden}.hero-photo{position:absolute;width:100%;height:100%;object-fit:cover;object-position:center 42%;inset:0}.hero-shade{position:absolute;inset:0;background:linear-gradient(90deg,#031b10bb,transparent 85%),linear-gradient(0deg,#031b10cc,transparent 70%)}.hero-content{position:relative;z-index:2;height:100%;display:flex;flex-direction:column;justify-content:end;align-items:start;padding-top:180px;padding-bottom:130px}.hero h1,.hero h2{font-size:clamp(60px,7.1vw,110px);max-width:1050px;letter-spacing:-2px;line-height:1.02;margin-top:18px;text-shadow:0 2px 30px #0004}.hero-content p{font-size:17px;margin:22px 0 28px;color:#fff}.hero .button{font-size:11px;padding:18px 24px}.carousel-controls{position:absolute;bottom:28px;left:0;right:0;z-index:3;display:flex;align-items:center;gap:32px}.slide-tabs{display:flex;gap:15px}.slide-tabs button{padding:10px 13px;border-bottom:2px solid #ffffff44;opacity:.6;font-size:13px;font-weight:bold}.slide-tabs button[aria-current]{border-color:var(--yellow);color:var(--yellow);opacity:1}.hero-location{font-size:10px;letter-spacing:2px;opacity:.7}.slide-actions{margin-left:auto;display:flex;gap:8px}.slide-actions button{width:44px;height:44px;border:1px solid #ffffff55}.slide-actions button:hover{background:var(--yellow);color:var(--ink)}.carousel-ready .is-active .hero-photo{animation:hero-pan 7s ease-out both}.carousel-ready .is-active .hero-content{animation:hero-copy .6s both}@keyframes hero-pan{from{transform:scale(1.04)}to{transform:scale(1)}}@keyframes hero-copy{from{opacity:0;transform:translateY(18px)}to{opacity:1;transform:none}}
.matches-bar{background:var(--ink);border-bottom:1px solid var(--line)}.matches-inner{display:grid;grid-template-columns:1fr auto 1fr auto;align-items:center;gap:40px;min-height:150px;padding-block:24px}.matches-inner strong{display:block;font-size:17px;margin:8px 0 2px}.matches-inner small{color:#aabeb1;font-size:11px}.match-score{font:700 50px Oswald;color:var(--yellow);white-space:nowrap}.next-game{border-left:1px solid var(--line);padding-left:40px}.round-link{border:1px solid #ffffff4d;width:50px;height:50px;border-radius:50%;display:grid;place-items:center;font-size:24px}.round-link:hover{background:var(--yellow);color:var(--ink)}.main-content{position:relative;isolation:isolate;overflow:hidden}.main-content:before{content:'';position:absolute;z-index:-1;right:-420px;top:200px;width:840px;height:1000px;background:url('assets/crest-white-619.png') center/contain no-repeat;filter:brightness(0);opacity:.15;pointer-events:none}
.feed-note,.source-note{font-size:12px;line-height:1.6;color:#9db7aa}.feed-note{margin-top:-15px;margin-bottom:24px}.source-note a{text-decoration:underline}.facebook-wall{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;align-items:start}.wall-card{background:#f9faf5;color:var(--ink);border-radius:2px;overflow:hidden}.wall-author{display:flex;align-items:center;gap:10px;padding:17px}.wall-author strong{display:block;font-size:13px}.wall-author small{font-size:10px;color:#65776d}.facebook-mark{font:bold 24px Arial;color:#1877f2;margin-left:auto}.wall-image{display:block;overflow:hidden}.wall-image img{width:100%;max-height:450px;object-fit:cover;object-position:top;transition:transform .4s}.wall-image:hover img{transform:scale(1.025)}.wall-body{padding:23px}.wall-body h3{font-size:22px}.wall-body p{font-size:13px;color:#526258;margin:12px 0 20px}.wall-body a{font-size:11px;font-weight:bold;border-top:1px solid #dce3dc;padding-top:16px;display:block}.masonry-gallery{columns:4;column-gap:18px}.masonry-gallery figure{break-inside:avoid;margin:0 0 22px}.masonry-gallery a[data-gallery]{display:block;position:relative;overflow:hidden}.masonry-gallery img{width:100%;object-fit:cover;aspect-ratio:4/3;transition:transform .5s,filter .5s}.masonry-gallery figure:nth-child(3n+1) img{aspect-ratio:4/5}.masonry-gallery figure:nth-child(5n) img{aspect-ratio:1}.masonry-gallery a:hover img{transform:scale(1.045);filter:brightness(.8)}.masonry-gallery a>span{position:absolute;bottom:12px;right:12px;border-radius:50%;background:var(--yellow);color:var(--ink);width:34px;height:34px;text-align:center;line-height:34px}.masonry-gallery figcaption{font-size:10px;line-height:1.5;color:#a9bfb2;margin-top:8px}.partner-banner{background:var(--yellow);color:var(--ink);padding:46px 0}.partner-banner .wrap{display:flex;justify-content:space-between;align-items:center;gap:36px}.partner-banner .eyebrow{color:var(--green)}.partner-banner h2{font-size:clamp(28px,3vw,44px);margin-top:10px}.partner-banner .button{max-width:380px}.club-grid{display:grid;grid-template-columns:1.05fr 1fr;gap:80px;align-items:center}.stadium-visual{position:relative;min-height:530px;height:100%;overflow:hidden}.stadium-photo{width:100%;height:100%;position:absolute;object-fit:cover}.stadium-visual:after{content:'';position:absolute;inset:0;background:linear-gradient(0deg,#071a1399,transparent 65%)}.stadium-crest{position:absolute;top:50%;left:50%;width:230px;transform:translate(-50%,-50%);opacity:.5;z-index:1}.stadium-visual figcaption{position:absolute;bottom:25px;left:25px;z-index:2;font-size:10px;letter-spacing:2px}.club-copy h2{font-size:clamp(40px,4.2vw,64px);margin:18px 0 24px}.club-copy p{font-size:15px;line-height:1.9}.club-facts{display:flex;gap:60px;border-block:1px solid var(--line);padding:25px 0;margin:30px 0}.club-facts strong{font:700 32px Oswald}.club-facts span{display:block;font-size:9px;letter-spacing:1px;color:#afc4b8}.sponsor-section{background:var(--paper);color:var(--ink);padding:70px 0}.sponsor-section .eyebrow{color:var(--green)}.sponsor-section h2{font-size:42px}.sponsor-section .dot{color:var(--green)}.crawler-toggle{font-size:11px;border-bottom:1px solid;padding:8px 0}.sponsor-window{overflow:hidden;padding:25px 0}.sponsor-track{display:flex;width:max-content;animation:crawl 32s linear infinite}.sponsor-group{display:flex;align-items:center;gap:24px;padding-inline:12px}.sponsor-logo{width:260px;height:95px;display:flex;align-items:center;justify-content:center}.sponsor-logo img{max-width:240px;max-height:85px;object-fit:contain;filter:brightness(0) saturate(100%);transition:filter .25s}.sponsor-logo:hover img,.sponsor-logo:focus-visible img{filter:brightness(0) saturate(100%) invert(26%) sepia(37%) saturate(1300%) hue-rotate(108deg) brightness(90%);animation:bounce .6s}.sponsor-window:hover .sponsor-track,.sponsor-window:focus-within .sponsor-track,.sponsor-section.paused .sponsor-track{animation-play-state:paused}@keyframes crawl{to{transform:translateX(-50%)}}@keyframes bounce{0%,100%{transform:translateY(0)}40%{transform:translateY(-12px)}65%{transform:translateY(-3px)}80%{transform:translateY(-6px)}}
footer{background:var(--ink);padding:70px 0 0;font-size:13px}footer .eyebrow{color:#93a99c}footer a:hover{color:var(--yellow)}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr;gap:50px;padding-bottom:55px}.footer-brand{display:grid;grid-template-columns:80px 1fr;gap:0 20px;align-items:center}.footer-brand img{grid-row:span 2}.footer-brand h2{font-size:28px;line-height:1.1}.footer-brand p{margin:8px 0;font-size:12px}.footer-social{display:flex;gap:20px;margin-top:20px}.footer-bottom{border-top:1px solid var(--line);padding-block:24px;display:flex;justify-content:space-between;gap:20px;font-size:10px;color:#94a99c}.inner-page{padding-top:205px;min-height:75vh;padding-bottom:100px}.page-heading{padding-bottom:45px}.page-heading h1{font-size:clamp(48px,6.5vw,90px);margin-top:15px}.page-content>.lead{font-size:24px;max-width:900px;margin:0 0 40px}.page-content p{max-width:950px}.page-content .matches-bar{margin-block:40px}.page-content .matches-inner{width:calc(100% - 50px)}.info-card{border:1px solid var(--line);padding:36px;background:#082f2399}.info-card h2{font-size:32px;margin-top:14px}.contact-cards,.partner-options{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-block:45px}.partner-options{grid-template-columns:repeat(3,1fr)}.team-links{display:flex;gap:20px;margin-top:30px}.timeline{border-left:1px solid #f5dc3577;margin:50px 0 40px 15px;padding-left:45px;max-width:1000px}.timeline article{position:relative;padding-bottom:45px}.timeline article:before{content:'';position:absolute;left:-52px;top:10px;width:13px;height:13px;background:var(--yellow);border-radius:50%}.timeline b{font:700 44px Oswald;color:var(--yellow)}.timeline h2{font-size:30px;margin-top:12px}.roster-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;margin:40px 0}.player-card{padding:30px;border:1px solid var(--line);background:#052b21}.player-card span{font:700 60px Oswald;color:#f5dc3577}.player-card h2{font-size:25px;margin-top:20px}.stats-row{display:grid;grid-template-columns:repeat(4,1fr);gap:20px;margin:40px 0}.stats-row>div{background:var(--ink);padding:30px}.stats-row b{display:block;font:700 50px Oswald;color:var(--yellow)}.stats-row span{font-size:10px;letter-spacing:1px}.table-scroll{overflow:auto;margin:40px 0}table{width:100%;border-collapse:collapse;text-align:left;min-width:600px}caption{text-align:left;padding-bottom:20px;font-size:13px}th,td{padding:20px 18px;border-bottom:1px solid var(--line);font-size:14px}thead{background:var(--ink);color:var(--yellow)}tbody tr:nth-child(odd){background:#ffffff06}.prose{max-width:950px;padding-top:200px;padding-bottom:100px}.prose h1{font-size:60px}.prose p{margin:25px 0}.lightbox{background:#061b13f5;color:white;border:1px solid #ffffff33;padding:40px;width:min(1250px,95vw);max-width:95vw;max-height:95vh}.lightbox::backdrop{background:#000c}.lightbox[open]{display:flex;align-items:center;justify-content:center;gap:18px}.lightbox figure{margin:auto}.lightbox figure img{max-height:75vh;width:auto;max-width:100%;margin:auto;object-fit:contain}.lightbox figcaption{text-align:center;font-size:12px;margin-top:15px}.lightbox-close{position:absolute;right:10px;top:0;font-size:32px}.lightbox-prev,.lightbox-next{font-size:28px;padding:15px}.reveal-pending{opacity:0;transform:translateY(28px);transition:opacity .8s,transform .8s cubic-bezier(.2,.7,.2,1)}[data-reveal=left].reveal-pending{transform:translateX(-35px)}[data-reveal=right].reveal-pending{transform:translateX(35px)}[data-reveal=bounce].reveal-pending{transform:scale(.94)}.reveal-pending.is-visible{opacity:1;transform:none}
@media(min-width:1700px){.hero-content{padding-bottom:160px}}@media(max-width:1200px){.wrap{width:calc(100% - 48px)}.nav-links{gap:13px;font-size:10px}.brand,.brand img{width:112px;height:112px}#primary-nav{gap:130px}.contact-inner,.contact-inner>div{gap:14px}.club-grid{gap:40px}.masonry-gallery{columns:3}.hero h1,.hero h2{font-size:80px}.contact-inner{font-size:10px}}
@media(max-width:1000px){.contact-inner>div:first-child span{display:none}.menu-toggle{display:flex;justify-content:space-between;width:90px;font-size:11px;border:1px solid #ffffff55;padding:10px}.header-inner{height:80px}.brand{top:3px}#primary-nav{display:none;position:absolute;top:80px;left:-24px;right:-24px;width:auto;background:var(--green);max-height:calc(100dvh - 110px);overflow:auto;padding:45px 30px 25px;border-bottom:1px solid var(--yellow);gap:0}#primary-nav.is-open{display:block}.nav-right{display:block}.nav-links{display:block;font-size:16px}.nav-links>li{display:flex;flex-wrap:wrap;min-height:52px;border-bottom:1px solid var(--line)}.nav-links>li>a{padding:14px 0}.submenu-toggle{margin-left:auto;padding:15px}.sub-menu{position:static;width:100%;border:0;padding:0 0 12px;background:var(--deep)}.menu-item-has-children:hover>.sub-menu{display:none}.menu-item-has-children.expanded>.sub-menu{display:block}.section{padding-block:75px}.facebook-wall{gap:16px}.wall-author{padding:12px}.wall-author small{font-size:9px}.wall-body{padding:18px}.wall-body h3{font-size:19px}.matches-inner{gap:22px}.next-game{padding-left:22px}.matches-inner strong{font-size:14px}.match-score{font-size:40px}.club-grid{gap:30px}.stadium-visual{min-height:460px}.club-copy h2{font-size:42px}.footer-grid{gap:25px}.footer-brand{display:block}.footer-brand h2{margin-top:20px}.partner-banner .wrap{align-items:start}.partner-banner .button{font-size:10px;max-width:300px}.roster-grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:700px){.wrap{width:calc(100% - 36px)}.contact-bar{height:34px}.contact-inner{font-size:9px}.contact-inner>div{gap:12px}.contact-inner>div:first-child{display:none}.contact-inner>div:last-child{width:100%;justify-content:space-between}.contact-inner .social-icon{width:14px;height:14px}.site-header.is-scrolled{transform:translateY(-34px)}.header-inner{height:70px}.brand,.brand img{width:98px;height:98px}.brand{top:1px}.hero-carousel{height:750px;min-height:0;max-height:none}.hero-photo{object-position:60% center}.hero-content{padding-top:160px;padding-bottom:130px}.hero h1,.hero h2{font-size:clamp(52px,11vw,76px);letter-spacing:-1px}.hero-content p{font-size:14px;max-width:290px}.hero-location{display:none}.carousel-controls{bottom:25px;gap:12px}.slide-tabs{gap:8px}.slide-tabs button{padding:8px}.slide-actions button{width:36px;height:36px}.matches-inner{grid-template-columns:1fr auto;gap:22px;padding-block:28px}.matches-inner strong{font-size:15px}.next-game{padding:20px 0 0;border-left:0;border-top:1px solid var(--line)}.round-link{margin-top:20px}.matches-inner small{font-size:10px}.section{padding-block:60px}.section-heading{align-items:start;flex-direction:column;gap:20px;margin-bottom:30px}h2{font-size:40px}.facebook-wall{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:15px;gap:18px}.wall-card{flex:0 0 86%;scroll-snap-align:start}.wall-image img{max-height:390px}.wall-author{padding:17px}.wall-body{padding:22px}.masonry-gallery{columns:2;column-gap:12px}.masonry-gallery figure{margin-bottom:15px}.masonry-gallery figcaption{font-size:9px}.partner-banner{padding:35px 0}.partner-banner .wrap{flex-direction:column;gap:25px}.partner-banner h2{font-size:36px}.partner-banner .button{max-width:none;width:100%;font-size:11px}.club-grid{grid-template-columns:1fr;gap:40px}.stadium-visual{height:420px;min-height:0}.club-copy h2{font-size:43px}.club-facts{gap:45px}.sponsor-section{padding:50px 0}.sponsor-section h2{font-size:38px}.sponsor-logo{width:190px;height:75px}.sponsor-logo img{max-width:180px;max-height:65px}.sponsor-group{gap:18px;padding-inline:9px}.footer-grid{grid-template-columns:1fr;gap:35px}.footer-brand{display:grid;grid-template-columns:70px 1fr;gap:15px}.footer-brand h2{margin:0}.footer-bottom{flex-wrap:wrap}.footer-grid{padding-bottom:40px}footer{padding-top:50px}.main-content:before{width:600px;right:-300px;top:600px;height:700px}.inner-page{padding-top:170px;padding-bottom:60px}.page-heading{padding-bottom:25px}.page-heading h1{font-size:48px}.page-content>.lead{font-size:20px}.contact-cards,.partner-options{grid-template-columns:1fr}.info-card{padding:25px}.roster-grid{grid-template-columns:1fr 1fr;gap:12px}.player-card{padding:20px}.player-card h2{font-size:22px}.stats-row{grid-template-columns:1fr 1fr;gap:12px}.team-links{flex-wrap:wrap}.page-content .matches-inner{width:calc(100% - 30px)}.lightbox{padding:38px 10px 20px}.lightbox[open]{gap:4px}.lightbox-prev,.lightbox-next{padding:4px;font-size:20px}.lightbox figcaption{font-size:10px}.timeline{padding-left:25px}.timeline article:before{left:-32px}#primary-nav{top:70px;left:-18px;right:-18px}.admin-bar .site-header{top:46px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*:before,*:after{animation:none!important;transition:none!important}.reveal-pending{opacity:1!important;transform:none!important}.sponsor-track{transform:none}.sponsor-window{overflow:auto}}

.sponsor-logo img{filter:brightness(0) saturate(100%) invert(8%) sepia(25%) saturate(1300%) hue-rotate(105deg) brightness(90%)}

.sponsor-group{justify-content:flex-start}
@media(max-width:700px){.contact-bar{height:58px}.contact-inner{flex-direction:column;gap:0;justify-content:center}.contact-inner>div{height:25px}.contact-inner>div:first-child{display:flex;justify-content:space-between;width:100%;gap:8px}.contact-inner>div:first-child span{display:inline;font-size:9px}.contact-inner strong{font-size:10px}.site-header.is-scrolled{transform:translateY(-58px)}}

.scroll-up{position:fixed;right:24px;bottom:24px;z-index:85;width:48px;height:48px;border:1px solid var(--yellow);border-radius:50%;background:var(--yellow);color:var(--ink);font-size:26px;box-shadow:0 4px 18px #0004;cursor:pointer}.scroll-up[hidden]{display:none}.scroll-up:hover{background:var(--paper);transform:translateY(-3px)}.scroll-up:focus-visible{outline:3px solid white;outline-offset:4px}

.site-header.is-scrolled .nav-links,.site-header.is-scrolled .menu-toggle{text-shadow:0 1px 3px #001b12,0 0 5px #001b1299}

/* Mobile navigation: crest clearance and independent menu scrolling. */
@media(max-width:1000px){
 body.mobile-menu-open{overflow:hidden}
 .mobile-menu-open .scroll-up{display:none}
 .menu-toggle{min-height:44px;align-items:center}
 #primary-nav{max-height:calc(100dvh - 118px);overscroll-behavior:contain;scrollbar-gutter:stable}
 .site-header.is-scrolled #primary-nav{max-height:calc(100dvh - 80px)}
}
@media(max-width:700px){
 #primary-nav{max-height:calc(100dvh - 128px)}
 .site-header.is-scrolled #primary-nav{max-height:calc(100dvh - 70px)}
}
@media(max-width:380px){
 .menu-toggle{width:70px;padding:10px 8px}
 .brand,.brand img{width:90px;height:90px}
 .contact-inner strong{font-size:9px}
 .contact-inner>div:first-child span{font-size:8px}
}
@media (min-width:701px) and (max-width:1000px){.mobile-menu-open .nav-bar{padding-bottom:46px}#primary-nav{top:126px;max-height:calc(100dvh - 164px)}.site-header.is-scrolled #primary-nav{max-height:calc(100dvh - 126px)}}
@media(max-width:700px){.mobile-menu-open .nav-bar{padding-bottom:28px}#primary-nav{top:98px;max-height:calc(100dvh - 156px)}.site-header.is-scrolled #primary-nav{max-height:calc(100dvh - 98px)}}
@media(min-width:1001px){#primary-nav{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:186px}.nav-left{display:flex;justify-content:flex-end}.nav-right{justify-content:flex-start}}
@media(min-width:1001px) and (max-width:1200px){#primary-nav{gap:172px}}

/* Light inner pages, with a half-visible crest at 20% opacity. */
.inner-page{background:#fff;color:#111;--line:#073e2e26}
.inner-page.main-content:before{width:min(840px,90vw);height:min(840px,90vw);right:0;top:230px;transform:translateX(50%);opacity:.2;filter:brightness(0)}
.inner-page h1,.inner-page h2,.inner-page h3,.inner-page a,.inner-page .eyebrow,.inner-page .dot,.inner-page .timeline b,.inner-page .match-score,.inner-page .stats-row b{color:#073e2e}
.inner-page p,.inner-page small,.inner-page figcaption,.inner-page caption,.inner-page .feed-note{color:#17271e}
.inner-page a:hover{color:#126f45}
.inner-page .info-card,.inner-page .player-card,.inner-page .stats-row>div,.inner-page .matches-bar,.inner-page .wall-card{background:#f3f6f3;color:#111;border-color:#073e2e26}
.inner-page .player-card span{color:#276446}
.inner-page thead{background:#e6eee8;color:#073e2e}
.inner-page tbody tr:nth-child(odd){background:#073e2e06}
.inner-page .timeline{border-color:#073e2e40}
.inner-page .timeline article:before{background:#073e2e}
.inner-page .button{background:#073e2e;color:#fff}
.inner-page .button:hover{background:#125b40;color:#fff}
.inner-page .round-link{border-color:#073e2e55}
.inner-page .round-link:hover{background:#e6eee8}
.inner-page .text-link{border-color:#073e2e}
.inner-page .prose{padding:0}
@media(max-width:700px){.inner-page.main-content:before{top:220px}}


/* Dark green monochrome crest on scrolled light inner pages. */
body:has(.inner-page) .site-header.is-scrolled .brand-monochrome{visibility:hidden}
body:has(.inner-page) .site-header.is-scrolled .brand:after{content:'';position:absolute;inset:0;background:url('assets/crest-green-619.png') center/contain no-repeat;pointer-events:none}

/* Light sticky navigation only on inner pages. */
body:has(.inner-page) .site-header.is-scrolled .nav-bar{background:rgba(255,255,255,.8);border-bottom-color:#073e2e26;color:#073e2e}
body:has(.inner-page) .site-header.is-scrolled #primary-nav a,
body:has(.inner-page) .site-header.is-scrolled .submenu-toggle,
body:has(.inner-page) .site-header.is-scrolled .menu-toggle{color:#073e2e}
body:has(.inner-page) .site-header.is-scrolled .menu-toggle{border-color:#073e2e55}
body:has(.inner-page) .site-header.is-scrolled .sub-menu{background:#fff;border-color:#073e2e26}
body:has(.inner-page) .site-header.is-scrolled #primary-nav a:hover{color:#126f45}
@media(max-width:1000px){
 body:has(.inner-page) .site-header.is-scrolled #primary-nav{background:#fff;border-color:#073e2e26}
 body:has(.inner-page) .site-header.is-scrolled .nav-links>li{border-color:#073e2e26}
 body:has(.inner-page) .site-header.is-scrolled .sub-menu{background:#edf3ef}
}

/* Yellow sticky header: 90% opacity, without shadows. */
body:has(.inner-page) .site-header.is-scrolled .nav-bar{background:rgba(245,220,53,.9);box-shadow:none;backdrop-filter:none;-webkit-backdrop-filter:none}
body:has(.inner-page) .site-header.is-scrolled,
body:has(.inner-page) .site-header.is-scrolled *{box-shadow:none;text-shadow:none;filter:none}

/* Keep the desktop dropdown distinct from the white page, without shadows. */
@media(min-width:1001px){
 body:has(.inner-page) .site-header.is-scrolled .sub-menu{border:1px solid #073e2e33;border-top:2px solid #073e2e}
 body:has(.inner-page) .site-header.is-scrolled .sub-menu a:hover,
 body:has(.inner-page) .site-header.is-scrolled .sub-menu a:focus-visible{background:#edf3ef;color:#073e2e}
}

/* Yellow dropdowns on inner pages, including mobile navigation. */
body:has(.inner-page) .site-header .sub-menu,
body:has(.inner-page) .site-header.is-scrolled .sub-menu{background:#f5dc35;color:#073e2e;box-shadow:none;text-shadow:none}
body:has(.inner-page) .site-header .sub-menu a{color:#073e2e;box-shadow:none;text-shadow:none}
body:has(.inner-page) .site-header .sub-menu a:hover,
body:has(.inner-page) .site-header .sub-menu a:focus-visible,
body:has(.inner-page) .site-header.is-scrolled .sub-menu a:hover,
body:has(.inner-page) .site-header.is-scrolled .sub-menu a:focus-visible{background:#e8cc24;color:#073e2e}
@media(max-width:1000px){
 body:has(.inner-page) .site-header #primary-nav,body:has(.inner-page) .site-header.is-scrolled #primary-nav{background:#f5dc35;color:#073e2e;box-shadow:none;text-shadow:none;border-color:#073e2e33}
 body:has(.inner-page) .site-header #primary-nav a,
 body:has(.inner-page) .site-header #primary-nav button{color:#073e2e;text-shadow:none}
 body:has(.inner-page) .site-header #primary-nav li{border-color:#073e2e33}
}
/* Full-width white club news module. */
#aktualnosci{background:#fff;color:#073e2e}
#aktualnosci .eyebrow,#aktualnosci h2,#aktualnosci .dot,#aktualnosci .text-link{color:#073e2e}
#aktualnosci .text-link{border-color:#073e2e}
#aktualnosci .feed-note{color:#294c3c}

/* Mobile news cards: readable authors and uncropped portrait graphics. */
@media(max-width:700px){
 #aktualnosci .facebook-wall{gap:14px;scroll-padding-inline:0;scrollbar-width:thin;scrollbar-color:#073e2e #e6eee8}
 #aktualnosci .wall-card{border:1px solid #dce5df;min-width:0}
 #aktualnosci .wall-author{padding:14px;gap:9px}
 #aktualnosci .wall-author>img{flex:0 0 32px;width:32px;height:32px;object-fit:contain}
 #aktualnosci .wall-author>div{flex:1;min-width:0}
 #aktualnosci .wall-author small{display:block;line-height:1.5;margin-top:3px}
 #aktualnosci .facebook-mark{flex-shrink:0}
 #aktualnosci .wall-image img{height:auto;max-height:none;object-fit:contain}
 #aktualnosci .wall-body{padding:18px}
 #aktualnosci .wall-body a{line-height:1.5;min-height:44px}
}

/* First-team portraits. */
.squad-section{background:#073e2e;position:relative;isolation:isolate;overflow:hidden}
.squad-section:before{content:'LUBAŃ';position:absolute;top:180px;left:50%;transform:translateX(-50%);font:700 clamp(120px,24vw,380px)/1 Oswald;color:#ffffff06;z-index:-1;pointer-events:none}
.squad-section .section-heading{margin-bottom:36px}.squad-section .section-heading p{max-width:440px;font-size:15px}
.squad-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px;align-items:end}
.squad-portrait{margin:0;min-width:0;position:relative;border-bottom:2px solid #f5dc35}
.squad-portrait:before{content:'';position:absolute;inset:25% 8% 0;background:linear-gradient(0deg,#092b20,transparent);border-radius:45% 45% 0 0;z-index:-1}
.squad-portrait img{width:100%;height:480px;object-fit:contain;object-position:center bottom;transition:transform .35s}
.squad-portrait:hover img{transform:translateY(-6px)}
.squad-portrait figcaption{padding:18px 0;color:#d9e5dc;font-size:11px;letter-spacing:.4px}
.squad-portrait figcaption a:hover{color:#f5dc35}.squad-portrait strong{display:block;color:#fff;font:700 25px Oswald;margin-bottom:8px}
.squad-footer{display:flex;justify-content:space-between;align-items:center;gap:24px;margin-top:32px}.squad-footer p{font-size:12px;max-width:520px;margin:0}
@media(max-width:1000px){.squad-grid{gap:16px}.squad-portrait img{height:360px}}
@media(max-width:700px){.squad-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:18px;scrollbar-color:#f5dc35 #092b20;padding-bottom:18px}.squad-portrait{flex:0 0 86%;scroll-snap-align:start}.squad-portrait img{height:390px}.squad-footer{align-items:start;flex-direction:column}.squad-section .section-heading{gap:15px}.squad-section:before{top:230px}}

@media(max-width:700px){
 .hero-carousel{height:780px;background:#071a13}
 .hero-photo{top:128px;height:auto;width:100%;object-fit:contain;object-position:center;aspect-ratio:3/2}
 .hero-shade{background:linear-gradient(0deg,#071a13 0%,transparent 55%);pointer-events:none}
 .hero-content{justify-content:flex-end;padding-top:calc(148px + 66.67vw);padding-bottom:105px}
 .hero h1,.hero h2{font-size:clamp(40px,10.5vw,58px);margin-top:12px}
 .hero-content p{margin:16px 0 20px}
 .carousel-ready .is-active .hero-photo{animation:none}
 .squad-grid{overscroll-behavior-x:contain;scroll-behavior:smooth;scroll-padding-inline:0}
 .squad-portrait img,.squad-portrait:hover img{transform:none}
 .squad-portrait strong{font-size:22px;line-height:1.25;overflow-wrap:break-word}
}
@media(prefers-reduced-motion:reduce){.squad-grid{scroll-behavior:auto}}
@media(max-width:700px){.squad-grid{overflow-y:hidden}.squad-portrait.reveal-pending{transform:none}.squad-portrait img{height:clamp(300px,100vw,390px)}}

.squad-portrait figcaption{text-align:center}
.squad-footer{justify-content:flex-end}

/* Visible keyboard focus on yellow menus and light content. */
body:has(.inner-page) .site-header.is-scrolled :is(a,button):focus-visible,
body:has(.inner-page) .site-header .sub-menu a:focus-visible,
.inner-page :is(a,button,summary):focus-visible,
#aktualnosci :is(a,button):focus-visible{outline:3px solid #073e2e;outline-offset:4px}
@media(max-width:1000px){body:has(.inner-page) #primary-nav :is(a,button):focus-visible{outline:3px solid #073e2e;outline-offset:3px}}

/* Club update — authentic team, academy, forms and privacy. */
.brand{filter:none!important}.team-photo-section{background:#fff;color:#073e2e}
.team-photo-section .eyebrow,.team-photo-section .dot{color:#073e2e}.team-photo{width:100%;height:auto;aspect-ratio:auto}
.roster-photos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}.roster-photos figure{margin:0;overflow:hidden;border-bottom:4px solid #f5dc35}.roster-photos img{width:100%;height:auto;aspect-ratio:3/4;object-fit:cover}
.academy-module{padding:90px 0;background:#073e2e;color:#fff;border-block:1px solid #ffffff24}.academy-grid{display:grid;grid-template-columns:1.2fr 1fr;align-items:center;gap:70px}.academy-grid h2{font-size:clamp(38px,5vw,76px);margin-top:20px}.academy-grid p{max-width:590px;margin:25px 0 35px}.academy-mark{display:flex;align-items:center;flex-direction:column;gap:24px}.academy-mark img{width:280px;height:280px;object-fit:contain}.academy-mark span{font:700 28px/1.2 Oswald;text-align:center;color:#f5dc35}
.contact-cards{grid-template-columns:180px 1fr 1fr;align-items:center}.contact-identity img{width:160px;height:160px;object-fit:contain}.form-section{margin-top:60px;padding:40px;background:#f3f6f0;border-top:4px solid #f5dc35;color:#073e2e}.form-section h2{font-size:36px}.form-section p{color:#294c3c}.form-fields{display:grid;grid-template-columns:1fr 1fr;gap:22px}.club-form label{display:block;font-weight:700;font-size:14px}.club-form input:not([type=checkbox]),.club-form textarea{width:100%;min-width:0;padding:14px;margin-top:8px;border:1px solid #91a79a;background:white;color:#071a13;font:16px Arial;border-radius:0}.club-form textarea{resize:vertical}.club-form input:focus,.club-form textarea:focus{outline:2px solid #073e2e;outline-offset:2px}.full-field{grid-column:1/-1}.club-form .form-check{display:flex;gap:12px;align-items:flex-start;margin-top:24px}.form-check input{width:20px;height:20px;flex-shrink:0;accent-color:#073e2e}.form-privacy{font-size:12px}.form-privacy a{text-decoration:underline}.form-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.form-result{padding:16px;border:1px solid #073e2e}.club-form button{margin-top:10px}
.cookie-panel{position:fixed;z-index:250;bottom:20px;left:20px;right:20px;max-width:1040px;margin:auto;padding:24px;background:#fff;color:#073e2e;border:2px solid #073e2e;box-shadow:0 12px 45px #0003}.cookie-panel h2{font-size:24px}.cookie-panel p{font-size:13px;line-height:1.55;color:#294c3c;margin:10px 0 16px}.cookie-panel a{text-decoration:underline}.cookie-actions{display:flex;flex-wrap:wrap;gap:10px}.cookie-actions button{background:#f5dc35;color:#073e2e;padding:13px 16px;font-size:11px;font-weight:700;border:1px solid #073e2e;min-height:44px}.cookie-actions button:focus-visible,.cookie-panel input:focus-visible{outline:3px solid #073e2e;outline-offset:3px}.cookie-options{padding:12px 0 20px}.cookie-options label{display:block;font-size:14px;margin:8px 0}.cookie-settings-link{font-size:inherit;padding:0;text-decoration:underline}
.sponsor-logo img[src*="sponsor-czorsztyn"]{filter:grayscale(1) contrast(1.5)}.sponsor-logo:hover img[src*="sponsor-czorsztyn"],.sponsor-logo:focus-visible img[src*="sponsor-czorsztyn"]{filter:grayscale(1) sepia(1) hue-rotate(85deg) saturate(2)}
.header-enroll{display:none}.nav-right{align-items:center;gap:16px}.nav-enroll{background:#f5dc35;color:#073e2e!important;display:inline-flex;align-items:center;justify-content:center;padding:12px;font-size:10px;font-weight:800;white-space:nowrap}.nav-enroll:hover{background:#fff}.nav-links{gap:16px;font-size:11px}
@media(min-width:1001px){#primary-nav{gap:186px}.nav-left,.nav-right{min-width:0}.nav-left{justify-content:flex-end}.nav-right{justify-content:flex-start}}
@media(min-width:1001px) and (max-width:1279px){.nav-right{gap:10px}.nav-links{gap:9px;font-size:10px}.nav-enroll{font-size:9px;padding:10px 8px}.header-inner{width:calc(100% - 36px)}}
@media(max-width:1000px){.header-enroll{display:block;position:absolute;left:0;top:50%;transform:translateY(-50%);background:#f5dc35;color:#073e2e!important;font-size:10px;font-weight:800;padding:12px 9px;max-width:calc(50% - 75px);text-align:center;line-height:1.35}.nav-right{display:block}.nav-enroll{margin:16px 0}.contact-cards{grid-template-columns:1fr 1fr}.contact-identity{grid-column:1/-1}.contact-identity img{margin:auto}.roster-photos{grid-template-columns:repeat(3,minmax(0,1fr))}.academy-grid{gap:35px}}
@media(max-width:700px){.roster-photos{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.academy-module{padding:55px 0}.academy-grid{grid-template-columns:1fr}.academy-mark img{width:200px;height:200px}.academy-mark span{font-size:24px}.academy-grid h2{font-size:43px}.contact-cards,.form-fields{grid-template-columns:1fr}.form-section{padding:24px 18px;margin-top:35px}.form-section h2{font-size:29px}.full-field{grid-column:auto}.cookie-panel{bottom:8px;left:8px;right:8px;padding:18px;max-height:75svh;overflow:auto}.cookie-actions{display:grid;grid-template-columns:1fr 1fr;gap:8px}.cookie-actions button{font-size:10px;padding:10px 6px}.header-enroll{max-width:calc(50% - 59px);font-size:9px;padding:10px 7px}.nav-enroll{font-size:11px}.team-photo-section .section-heading h2{font-size:39px}}
@media(prefers-reduced-motion:reduce){.academy-module *{animation:none!important}}

@media(max-width:1000px){.menu-toggle{margin-left:auto;position:relative;z-index:5}}

/* Academy invitation based on supplied split-panel reference. */
.academy-split{display:grid;grid-template-columns:1.04fr 1fr;background:#f3f5f4;color:#071a13;overflow:hidden}
.academy-split-photo{margin:0;display:flex;align-items:center;background:#e7ece7;min-width:0}
.academy-split-photo img{display:block;width:100%;height:100%;object-fit:contain}
.academy-split-copy{padding:clamp(40px,5.5vw,100px) clamp(32px,5.3vw,100px);align-self:center;min-width:0}
.academy-split-copy .eyebrow{color:#087c43;font-size:13px;letter-spacing:2px}
.academy-split-copy h2{color:#071a13;font-size:clamp(40px,4.2vw,76px);line-height:1.02;letter-spacing:-1px;margin:22px 0 0}
.academy-split-copy p{font-size:17px;line-height:1.75;color:#67756d;margin:16px 0 34px;max-width:650px}
.academy-benefits{display:grid;grid-template-columns:1fr 1fr;gap:0 28px;list-style:none;padding:0;margin:0 0 34px}
.academy-benefits li{border-top:1px solid #087c43;padding:17px 0;font-size:14px;font-weight:700;line-height:1.5}
.academy-join{background:#087c43;color:#fff;padding:21px 28px;gap:12px;font-size:12px}.academy-join:hover{background:#073e2e;color:#fff}.academy-join:focus-visible{outline:3px solid #073e2e;outline-offset:4px}
@media(max-width:1000px){.academy-split{grid-template-columns:1fr}.academy-split-photo img{height:auto;object-fit:contain}.academy-split-copy{padding:48px max(24px,6vw)}.academy-split-copy h2{font-size:clamp(40px,7vw,66px)}.academy-split-copy p{max-width:700px}}
@media(max-width:480px){.academy-split-copy{padding:38px 22px}.academy-split-copy .eyebrow{font-size:10px;letter-spacing:1.4px}.academy-split-copy h2{font-size:39px;letter-spacing:-.5px}.academy-split-copy p{font-size:15px;margin:18px 0 26px}.academy-benefits{gap:0 18px;margin-bottom:25px}.academy-benefits li{font-size:12px;padding:14px 0}.academy-join{padding:18px 24px}}

/* Waist-up home portraits; keep heads and arms fully visible. */
.squad-portrait{overflow:hidden}.squad-portrait img{height:440px;object-fit:contain;object-position:center bottom}.squad-portrait:hover img{transform:none}
@media(max-width:1000px){.squad-portrait img{height:340px}}
@media(max-width:700px){.squad-portrait img{height:370px}}
