/* EL-HYDRO Dla Agentów 1.7.5 – isolated footer navigation */
nav.elha-footer-links, nav.elha-footer-links * { box-sizing: border-box; }
nav.elha-footer-links {
    display: block; width: 100%; max-width: none; margin: 0; padding: 0;
    background: linear-gradient(135deg,#04162b,#071f39 55%,#04162b);
    border: 0; border-top: 1px solid rgba(84,164,225,.33);
    color: #ccdeeb; text-align: center; line-height: 1.45;
}
.elha-footer-links .elha-footer-links__inner {
    width: 100%; max-width: 1280px; margin: 0 auto; padding: 20px 22px 24px;
}
.elha-footer-links p.elha-footer-links__title {
    margin: 0 0 13px; padding: 0; color: #e9f5ff; font-size: 14px;
    font-weight: 700; line-height: 1.4; text-align: center;
}
.elha-footer-links .elha-footer-links__grid {
    display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 8px;
    align-items: stretch; margin: 0; padding: 0;
}
.elha-footer-links .elha-footer-links__grid > a,
.elha-footer-links .elha-footer-links__grid > a:visited {
    display: flex; align-items: center; justify-content: center; min-width: 0;
    min-height: 44px; height: 100%; margin: 0; padding: 9px 10px;
    border: 1px solid #345773; border-radius: 9px;
    background: linear-gradient(160deg,#123651,#0b2540); color: #c5e0f5 !important;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.06);
    font-size: 13px; font-weight: 600; line-height: 1.4; text-align: center;
    text-decoration: none; white-space: normal; overflow-wrap: anywhere;
}
.elha-footer-links .elha-footer-links__grid > a:hover {
    color: #ffbd92 !important; border-color: #ff9959;
}
.elha-footer-links .elha-footer-links__grid > a:focus-visible {
    outline: 2px solid #ffaf70; outline-offset: 2px;
}
@media (min-width: 1100px) {
    .elha-footer-links .elha-footer-links__grid { grid-template-columns: repeat(6,minmax(0,1fr)); }
}
@media (max-width: 767px) {
    .elha-footer-links .elha-footer-links__inner { padding: 16px 10px calc(88px + env(safe-area-inset-bottom, 0px)); }
    .elha-footer-links .elha-footer-links__grid { grid-template-columns: repeat(2,minmax(0,1fr)); grid-auto-rows: 1fr; }
    .elha-footer-links .elha-footer-links__grid > a { font-size: 12px; padding: 8px 6px; }
}
