
:root{--ak-nav:#ffffff;--ak-navy:#12385b;--ak-green:#16734a;--ak-line:#dce4ea;--ak-shadow:0 8px 24px rgba(18,56,91,.10)}
html{scroll-padding-top:88px}
.ak-site-header{position:sticky;top:0;z-index:5000;background:rgba(255,255,255,.97);border-bottom:1px solid var(--ak-line);box-shadow:var(--ak-shadow);backdrop-filter:saturate(150%) blur(10px);-webkit-backdrop-filter:saturate(150%) blur(10px)}
.ak-site-header *{box-sizing:border-box}
.ak-nav{max-width:1180px;min-height:68px;margin:0 auto;padding:0 24px;display:flex;align-items:center;gap:24px}
.ak-brand{display:inline-flex;align-items:center;gap:10px;flex:0 0 auto;color:var(--ak-navy);text-decoration:none;font-weight:900;font-size:18px;letter-spacing:-.2px;white-space:nowrap}
.ak-brand img{display:block;width:36px;height:36px;object-fit:contain}
.ak-nav-links{display:flex;align-items:stretch;justify-content:flex-end;gap:4px;margin-left:auto;min-height:68px}
.ak-nav-link{position:relative;display:flex;align-items:center;padding:0 14px;color:#30485c;text-decoration:none;font-size:14px;font-weight:800;line-height:1.25;text-align:center;border-radius:8px;transition:background .16s ease,color .16s ease}
.ak-nav-link:hover,.ak-nav-link:focus-visible{background:#eef5f1;color:var(--ak-green);outline:none}
.ak-nav-link[aria-current="page"],.ak-nav-link.is-current{color:#0f6841;background:#e7f5ed;box-shadow:inset 0 0 0 1px rgba(22,115,74,.10)}
.ak-nav-link[aria-current="page"]:after,.ak-nav-link.is-current:after{content:"";position:absolute;left:14px;right:14px;bottom:0;height:3px;background:var(--ak-green);border-radius:3px 3px 0 0}
.ak-menu-toggle{display:none;margin-left:auto;width:44px;height:44px;border:1px solid #cdd9e1;border-radius:9px;background:#fff;color:var(--ak-navy);cursor:pointer;align-items:center;justify-content:center}
.ak-menu-toggle span,.ak-menu-toggle span:before,.ak-menu-toggle span:after{display:block;width:21px;height:2px;background:currentColor;border-radius:2px;position:relative;transition:.18s ease}
.ak-menu-toggle span:before,.ak-menu-toggle span:after{content:"";position:absolute;left:0}.ak-menu-toggle span:before{top:-7px}.ak-menu-toggle span:after{top:7px}
.ak-menu-toggle[aria-expanded="true"] span{background:transparent}.ak-menu-toggle[aria-expanded="true"] span:before{top:0;transform:rotate(45deg)}.ak-menu-toggle[aria-expanded="true"] span:after{top:0;transform:rotate(-45deg)}
@media(max-width:820px){
 .ak-nav{min-height:62px;padding:0 14px;position:relative;gap:10px}.ak-brand{font-size:17px}.ak-brand img{width:34px;height:34px}.ak-menu-toggle{display:inline-flex}
 .ak-nav-links{display:none;position:absolute;left:10px;right:10px;top:calc(100% + 1px);min-height:0;margin:0;padding:8px;background:#fff;border:1px solid var(--ak-line);border-top:0;border-radius:0 0 12px 12px;box-shadow:0 14px 24px rgba(18,56,91,.14);flex-direction:column;align-items:stretch;gap:2px}
 .ak-site-header.ak-open .ak-nav-links{display:flex}.ak-nav-link{min-height:48px;justify-content:flex-start;padding:10px 13px;text-align:left}.ak-nav-link[aria-current="page"]:after,.ak-nav-link.is-current:after{left:0;right:auto;top:8px;bottom:8px;width:4px;height:auto;border-radius:0 3px 3px 0}
}
@media(max-width:390px){.ak-brand span{font-size:16px}.ak-nav{padding:0 10px}}


/* v56: czytelniejszy pełny logotyp w górnym pasku */
.ak-nav{min-height:76px}
.ak-nav-links{min-height:76px}
.ak-brand img.ak-brand-full{display:block;width:248px;height:auto;max-height:52px;object-fit:contain;object-position:left center}
@media(max-width:820px){.ak-nav{min-height:66px}.ak-brand img.ak-brand-full{width:195px;max-height:42px}}
@media(max-width:390px){.ak-brand img.ak-brand-full{width:168px;max-height:38px}}
/* mały logotyp w stopce */
.ak-footer-logo{display:block;width:158px;max-width:52vw;height:auto;margin:0 0 10px 0;object-fit:contain}

/* v57: spójny, czytelny logotyp na wszystkich podstronach */
.ak-brand{min-width:240px}
.ak-brand img.ak-brand-full{display:block!important;width:240px!important;max-width:45vw!important;height:auto!important;max-height:46px!important;object-fit:contain!important;object-position:left center!important}
.ak-footer-logo{display:block!important;width:150px!important;max-width:45vw!important;height:auto!important;margin:0 0 12px 0!important;object-fit:contain!important}
@media(max-width:820px){.ak-brand{min-width:0}.ak-brand img.ak-brand-full{width:190px!important;max-width:58vw!important;max-height:40px!important}.ak-footer-logo{width:138px!important}}
@media(max-width:390px){.ak-brand img.ak-brand-full{width:165px!important;max-width:62vw!important;max-height:36px!important}}

/* Shared header: all dropdown styles live here, independent of page styles. */
.ak-site-header .ak-nav{font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;gap:20px;min-height:76px;align-items:center}
.ak-site-header .ak-nav-links{min-height:76px;align-items:center;gap:5px}
.ak-site-header .ak-nav-group{position:relative;display:flex;align-items:center;align-self:stretch;min-width:0}
.ak-site-header .ak-nav-group-toggle{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;min-height:54px;padding:10px 12px;border:0;border-radius:9px;background:transparent;color:#294958;font-family:inherit;font-size:14px;line-height:1.3;text-align:left;cursor:pointer}
.ak-site-header .ak-nav-group-title{display:flex;align-items:center;gap:6px;font-size:14px;font-weight:700;white-space:nowrap}
.ak-site-header .ak-nav-group-toggle small{display:block;margin-top:4px;font-size:10px;line-height:1.35;color:#657c83;white-space:nowrap;font-weight:500}
.ak-site-header .ak-nav-group-toggle:hover,.ak-site-header .ak-nav-group.is-open>.ak-nav-group-toggle{background:#edf4ef;color:#31674f}
.ak-site-header .ak-nav-link{min-height:48px;padding:12px;font-size:13px;align-self:center;text-decoration:none}
.ak-site-header .ak-nav-group-toggle:focus-visible,.ak-site-header .ak-menu-card:focus-visible,.ak-site-header .ak-nav-link:focus-visible{outline:3px solid #b37619;outline-offset:3px}
.ak-site-header .ak-dropdown{display:none;position:absolute;z-index:5100;top:100%;right:0;left:auto;width:520px;max-width:calc(100vw - 32px);grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:12px;background:#fff;border:1px solid #d6e3dc;border-radius:12px;box-shadow:0 12px 35px #193c4326}
.ak-site-header .ak-nav-group:first-child>.ak-dropdown{left:0;right:auto}
.ak-site-header .ak-nav-group:not(.is-open)>.ak-dropdown{display:none!important}
.ak-site-header .ak-nav-group.is-open>.ak-dropdown{display:grid!important}
.ak-site-header .ak-menu-card{display:block;min-width:0;padding:13px 14px;border:1px solid #e1e9e3;border-radius:8px;background:#fff;color:#284e5c;text-decoration:none;line-height:1.45;text-align:left}
.ak-site-header .ak-menu-card:hover{background:#f2f7f2;border-color:#a7c5b2}
.ak-site-header .ak-menu-card strong{display:block;font-size:13px;line-height:1.45;font-weight:700;margin-bottom:5px}
.ak-site-header .ak-menu-card span{display:block;font-size:12px;line-height:1.6;color:#647b81;font-weight:400}
@media(max-width:1024px){
 .ak-site-header .ak-nav{position:relative;min-height:66px;padding:0 16px;gap:10px}
 .ak-site-header .ak-brand{min-width:0}
 .ak-site-header .ak-brand img.ak-brand-full{width:195px!important;max-width:58vw!important}
 .ak-site-header .ak-menu-toggle{display:inline-flex}
 .ak-site-header .ak-nav-links{display:none;position:absolute;left:10px;right:10px;top:100%;min-height:0;margin:0;padding:10px;flex-direction:column;align-items:stretch;gap:5px;background:#fff;border:1px solid #d6e3dc;border-radius:0 0 12px 12px;max-height:calc(100dvh - 80px);overflow:auto;box-shadow:0 12px 30px #193c4326}
 .ak-site-header.ak-open .ak-nav-links{display:flex}
 .ak-site-header .ak-nav-group{display:block;width:100%}
 .ak-site-header .ak-nav-group-toggle{width:100%;min-height:50px;padding:10px 12px}
 .ak-site-header .ak-nav-group-toggle small{display:block;white-space:normal}
 .ak-site-header .ak-nav-link{align-self:stretch;justify-content:flex-start;min-height:48px;margin:0;text-align:left}
 .ak-site-header .ak-dropdown{position:static!important;width:100%!important;max-width:100%;grid-template-columns:1fr!important;padding:7px!important;margin:4px 0 9px;border-radius:9px;box-shadow:none!important;background:#f4f7f3!important}
}
@media print{.ak-site-header{display:none!important}}
