/* eSkarbnik WWW v1.3.2: zwarta stopka 4 kolumny / maksymalnie 3 pozycje. */
.site-footer.esk-footer-compact {
  background:#fff;
  border-top:1px solid #edf0f3;
  margin:0;
  color:#142449;
}
.site-footer.esk-footer-compact .footer-inner.esk-footer-grid {
  box-sizing:border-box;
  display:grid !important;
  grid-template-columns:minmax(0,.94fr) minmax(0,1.94fr) minmax(0,1.1fr) minmax(0,1.53fr) !important;
  gap:clamp(16px,2.25vw,32px) !important;
  align-items:center;
  margin:0 auto !important;
  padding:14px clamp(20px,3.6vw,54px) !important;
  width:100%;
  max-width:1440px;
  min-height:0;
}
.site-footer.esk-footer-compact .esk-footer-item {
  box-sizing:border-box;
  min-width:0;
  margin:0;
  padding:0;
  border:0;
  background:none;
  font:inherit;
}
.site-footer.esk-footer-compact a {
  color:#64799a;
  text-decoration:none;
  transition:color .15s ease;
}
.site-footer.esk-footer-compact a:hover {color:#00765c;text-decoration:underline;}
.site-footer.esk-footer-compact a:focus-visible {outline:2px solid #04795c;outline-offset:3px;border-radius:3px;}
.site-footer.esk-footer-compact .esk-footer-brand,
.site-footer.esk-footer-compact .esk-footer-legal,
.site-footer.esk-footer-compact .esk-footer-contact {
  display:flex !important;
  flex-direction:column;
  align-items:flex-start;
  justify-content:center;
  gap:7px;
  font-size:12px;
  line-height:1.4;
}
.site-footer.esk-footer-compact .esk-footer-brand span {color:#64799a;}
.site-footer.esk-footer-compact .esk-footer-brand .esk-footer-product {
  font-size:16px;
  line-height:1.2;
  font-weight:800;
  letter-spacing:-.025em;
  color:#142449;
}
.site-footer.esk-footer-compact .esk-footer-brand .esk-footer-copyright {font-size:11px;color:#8998ae;}
.site-footer.esk-footer-compact .esk-footer-operator {
  display:flex !important;
  flex-direction:row;
  align-items:center;
  gap:12px;
}
.site-footer.esk-footer-compact .esk-footer-logo-link {
  display:block;
  flex:0 0 70px;
  width:70px;
  height:70px;
  border-radius:50%;
}
.site-footer.esk-footer-compact .esk-footer-logo-link img {
  display:block;
  width:70px;
  height:70px;
  object-fit:contain;
  border-radius:50%;
}
.site-footer.esk-footer-compact .esk-footer-operator-name {
  color:#142449;
  font-size:12px;
  line-height:1.42;
  font-weight:600;
  overflow-wrap:normal;
  hyphens:auto;
}
.site-footer.esk-footer-compact .esk-footer-legal a {display:inline-flex;align-items:center;gap:5px;max-width:100%;}
.site-footer.esk-footer-compact .esk-footer-contact {
  border-left:1px solid #e6ebf1;
  padding-left:22px;
  gap:8px;
}
.site-footer.esk-footer-compact .esk-footer-contact a {
  display:flex !important;
  flex-direction:row;
  align-items:center;
  justify-content:flex-start;
  gap:9px;
  max-width:100%;
  white-space:nowrap;
  font-size:12px;
}
.site-footer.esk-footer-compact .esk-footer-icon {
  display:block;
  flex:0 0 16px;
  width:16px;
  height:16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.7;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.site-footer.esk-footer-compact .esk-cookie-footer-link {color:#08795b !important;}
.site-footer.esk-footer-compact .esk-cookie-icon {font-size:13px;color:#08795b;}
@media (max-width:1050px) {
  .site-footer.esk-footer-compact .footer-inner.esk-footer-grid {
    grid-template-columns:minmax(0,1fr) minmax(0,1.8fr) !important;
    gap:22px 26px !important;
    padding:24px 30px !important;
  }
  .site-footer.esk-footer-compact .esk-footer-contact {padding-left:0;border-left:0;}
}
@media (max-width:580px) {
  .site-footer.esk-footer-compact .footer-inner.esk-footer-grid {
    grid-template-columns:minmax(0,1fr) !important;
    gap:20px !important;
    padding:24px 22px !important;
  }
  .site-footer.esk-footer-compact .esk-footer-operator {order:0;}
  .site-footer.esk-footer-compact .esk-footer-brand {order:1;}
  .site-footer.esk-footer-compact .esk-footer-legal {order:2;}
  .site-footer.esk-footer-compact .esk-footer-contact {order:3;}
  .site-footer.esk-footer-compact .esk-footer-contact a {white-space:normal;overflow-wrap:anywhere;}
}


/* v1.3.2 — korekta pustej przestrzeni POD stopką na szerokich ekranach.
   Krótkie strony wypełniają co najmniej wysokość okna, a stopka nie rozciąga
   się sztucznie. Na stronie głównej pozostałą wysokość przejmuje karuzela. */
html { min-height:100%; }
body { min-height:100vh; min-height:100svh; }
.site-shell {
  min-height:100vh;
  min-height:100svh;
  display:flex;
  flex-direction:column;
}
.site-shell > main { flex:1 0 auto; min-width:0; }
/* Dotyczy wyłącznie strony z karuzelą — bez ingerencji w treść podstron. */
.site-shell > main:has(> .hero-carousel) {
  display:flex;
  flex-direction:column;
}
.site-shell > main > .hero-carousel { flex:1 0 auto; }
.site-shell > .site-footer.esk-footer-compact {
  flex:0 0 auto;
  min-height:0 !important;
  height:auto !important;
  padding:0 !important;
}

/* v1.3.6: nazwa Fundacji bez dzielenia wyrazu „Młodzieży”. */
.site-footer.esk-footer-compact .esk-footer-operator-name {hyphens:none !important;word-break:normal !important;overflow-wrap:normal !important;}
.site-footer.esk-footer-compact .esk-footer-no-break {white-space:nowrap;hyphens:none;}
