/* admin-mcp KM-4955 — poprawki zgodności J3-szablon → Joomla 6 */

/* 1) SPPB: WOW ukrywa treść do scrolla — gwarantujemy widoczność (SEO/no-JS) */
.sppb-wow{visibility:visible!important}
.wow{visibility:visible!important}

/* 2) J4+ używa .visually-hidden (Bootstrap 5) — stary szablon zna tylko .sr-only.
      Bez tego teksty dostępnościowe ("Select your language") są widoczne. */
.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within){
  position:absolute!important;width:1px!important;height:1px!important;
  padding:0!important;margin:-1px!important;overflow:hidden!important;
  clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;
}

/* 3) Górny pasek języka — jedna linia, kompaktowo (jak oryginał) */
#sp-top-bar{padding:6px 0;min-height:0;line-height:1}
#sp-top-bar .sp-column{display:flex;justify-content:flex-end;align-items:center}
#sp-top-bar .mod-languages ul{margin:0;padding:0;display:flex;gap:8px;align-items:center;list-style:none}
#sp-top-bar .mod-languages li{margin:0;padding:0;float:none}
#sp-top-bar .mod-languages img{display:block}

/* 4) Header w jednej linii: logo po lewej, menu po prawej, pionowo wyśrodkowane */
#sp-header{height:auto;min-height:90px}
#sp-header > .container > .row{display:flex;align-items:center;flex-wrap:nowrap}
#sp-header #sp-logo,#sp-header #sp-menu{display:flex;align-items:center}
#sp-header #sp-menu{justify-content:flex-end;flex:1}
#sp-header .logo{margin:0;display:flex;align-items:center}
#sp-header .logo img{max-height:58px;width:auto}
#sp-header .sp-megamenu-wrapper{display:flex;align-items:center}
.sp-megamenu-parent{margin:0}

/* 5) Ciemna stopka — czytelny kontrast (nagłówki cyjan, tekst jasny) */
#sp-bottom{color:#e9e9e9}
#sp-bottom .sp-module-title,#sp-bottom h1,#sp-bottom h2,#sp-bottom h3,
#sp-bottom h4,#sp-bottom h5,#sp-bottom p.sp-module-title{color:#00b9f2}
#sp-bottom a{color:#cfcfcf}
#sp-bottom a:hover{color:#00b9f2}
#sp-bottom li{border-color:rgba(255,255,255,.15)}
#sp-footer{color:#fff}
#sp-footer a{color:#fff;text-decoration:underline}
