/* ==========================================================
   STOPKA DZIENNIKA POLICKIEGO 2.0 — bez JavaScript
   Wszystkie sekcje są zawsze widoczne
   ========================================================== */

.dp-footer,
.dp-footer *,
.dp-footer *::before,
.dp-footer *::after {
    box-sizing: border-box;
}

.dp-footer {
    width: 100%;
    overflow: hidden;
    color: #ffffff;
    background:
        radial-gradient(circle at 100% 0, rgba(255,204,0,.04) 0%, rgba(255,204,0,0) 34%),
        linear-gradient(135deg, #01182a 0%, #031f35 72%, #071522 100%);
    border-top: 5px solid #c0130e;
    border-bottom: 5px solid #ffcc00;
    font-family: 'Saira Condensed', Arial, sans-serif;
}

.dp-footer-main { 
    display: grid;
	grid-template-columns: 1.35fr repeat(4, minmax(0, 1fr));
	gap: 44px;
	width: min(100%, 1600px);
	margin: 0 auto;
	padding: 54px 56px 48px;
}

.dp-footer-brand,
.dp-footer-column {
    min-width: 0;
}

.dp-footer-column {
    display: block;
}



.dp-footer-logo,
.dp-footer-logo:hover,
.dp-footer-logo:focus {
    display: inline-flex;
    flex-direction: column;
    width: fit-content;
    color: #ffffff !important;
    text-decoration: none !important;
}

.dp-footer-logo-top,
.dp-footer-logo-bottom {
    display: block;
    font-family: "Saira Condensed", sans-serif;
    font-weight: 900;
    line-height: .85;
}

.dp-footer-logo-top {
    font-size: 44px;
    color: #ffffff;
}

.dp-footer-logo-bottom {
    margin-left: 96px;
    font-size: 34px;
    color: #c0130e;
}

.dp-footer-description {
    max-width: 300px;
    margin: 28px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 17px;
    line-height: 1.55;
}

.dp-footer-slogan {
    margin: 24px 0 0;
    color: #ffcc00;
    font-family: normal;
    font-size: 22px;
    line-height: 1.2;
}

.dp-footer-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 28px;
}

.dp-footer-socials a,
.dp-footer-socials a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,.07);
    color: #ffffff !important;
    font-size: 22px;
    font-weight: 900;
    text-decoration: none !important;
    transition:
        transform .2s ease,
        background .2s ease,
        color .2s ease;
}

.dp-footer-socials a:hover,
.dp-footer-socials a:focus {
    transform: translateY(-2px);
    background: #ffcc00;
    color: #01182a !important;
}

.dp-footer-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0 0 24px;
    padding: 0 0 14px;
    background: transparent;
    border: 0;
    border-bottom: 2px solid #c0130e;
    color: #ffffff;
    font-family: "Saira Condensed", sans-serif;
    font-size: 23px;
    line-height: 1;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
    cursor: default;
}


.dp-footer-panel ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.dp-footer-panel li + li {
    margin-top: 16px;
}

.dp-footer-panel li a,
.dp-footer-panel li a:visited {
    position: relative;
    display: inline-block;
    padding-left: 18px;
    color: rgba(255,255,255,.86) !important;
    font-size: 18px;
    line-height: 1.25;
    text-decoration: none !important;
    transition:
        color .2s ease,
        transform .2s ease;
}

.dp-footer-panel li a::before {
    content: "›";
    position: absolute;
    left: 0;
    top: -1px;
    color: #ffcc00;
    font-size: 24px;
    line-height: 1;
}

.dp-footer-panel li a:hover,
.dp-footer-panel li a:focus {
    color: #ffcc00 !important;
    transform: translateX(3px);
}

.dp-footer-contact address {
    margin: 0;
    font-style: normal;
}

.dp-footer-contact address p {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: 18px;
    line-height: 1.45;
}

.dp-footer-contact address p + p {
    margin-top: 20px;
}

.dp-footer-contact-icon {
    flex: 0 0 22px;
    color: #ffcc00;
    font-size: 22px;
    line-height: 1;
}

.dp-footer-contact a {
	display: inline-block;
    overflow-wrap: anywhere;
    word-break: break-word;
	white-space: nowrap;
    font-size:15px;
}

.dp-footer-contact a:visited {
    color: rgba(255,255,255,.86) !important;
    text-decoration: none !important;
    overflow-wrap: anywhere;
}

.dp-footer-contact a:hover,
.dp-footer-contact a:focus {
    color: #ffcc00 !important;
}

.dp-footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 26px 56px;
    border-top: 1px solid rgba(255,255,255,.14);
}

.dp-footer-copyright {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: rgba(255,255,255,.80);
    font-size: 15px;
    line-height: 1.3;
}

.dp-footer-bottom-separator {
    display: inline-block;
    width: 2px;
    height: 18px;
    background: #ffcc00;
}

.dp-footer-wordmark,
.dp-footer-wordmark:hover,
.dp-footer-wordmark:focus {
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
    color: #ffffff !important;
    font-family: "Saira Condensed", sans-serif;
    font-size: 28px;
    line-height: 1;
    font-weight: 900;
    text-decoration: none !important;
    white-space: nowrap;
}

.dp-footer-wordmark strong {
    color: #c0130e;
}

.dp-footer-wordmark em {
    color: #ffcc00;
    font-style: normal;
}

.dp-footer-squares {
    position: absolute;
    left: 1px;
    bottom: 0;
    display: flex;
    gap: 5px;
}

.dp-footer-squares b {
    display: block;
    width: 9px;
    height: 9px;
}

.dp-footer-squares b:nth-child(1) {
    background: #ffffff;
}

.dp-footer-squares b:nth-child(2) {
    background: #c0130e;
}

.dp-footer-squares b:nth-child(3) {
    background: #ffcc00;
}

}

@media (max-width: 1100px) {
    .dp-footer-main { grid-template-columns: 1.25fr repeat(4, minmax(0, 1.15fr)); gap: 28px; padding: 46px 34px 42px; }

    .dp-footer-logo-top {
        font-size: 36px;
    }

    .dp-footer-logo-bottom {
        margin-left: 76px;
        font-size: 28px;
    }

    .dp-footer-heading {
        font-size: 20px;
    }

    .dp-footer-panel li a {
        font-size: 15px;
    }

    .dp-footer-bottom {
        padding: 24px 34px;
    }
}

/* Mobile — wszystkie sekcje są zawsze widoczne */
@media (max-width: 760px) {
    .dp-footer-main {
        display: block;
        padding: 32px 22px 18px;
    }

    .dp-footer-brand {
        padding-bottom: 26px;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .dp-footer-logo-top {
        font-size: 31px;
    }

    .dp-footer-logo-bottom {
        margin-left: 66px;
        font-size: 24px;
    }

    .dp-footer-description {
        max-width: 100%;
        margin-top: 18px;
        font-size: 15px;
    }

    .dp-footer-slogan {
        display: none;
    }

    .dp-footer-socials {
        margin-top: 20px;
    }

    .dp-footer-socials a {
        width: 40px;
        height: 40px;
        font-size: 19px;
    }

    .dp-footer-column {
        padding: 22px 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .dp-footer-heading {
        margin: 0 0 16px;
        padding: 0 0 10px;
        border-bottom: 2px solid #c0130e;
        font-size: 18px;
        cursor: default;
    }

    .dp-footer-panel {
        display: block !important;
        padding: 0;
    }

    .dp-footer-panel li + li {
        margin-top: 12px;
    }

    .dp-footer-contact address p + p {
        margin-top: 14px;
    }

    .dp-footer-bottom {
        display: block;
        padding: 24px 22px 28px;
        text-align: center;
    }

    .dp-footer-copyright {
        justify-content: center;
        gap: 10px;
        font-size: 13px;
    }

    .dp-footer-bottom-separator {
        display: none;
    }

    .dp-footer-wordmark {
        margin-top: 22px;
        font-size: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dp-footer-socials a,
    .dp-footer-panel li a {
        transition: none !important;
    }
}
/* ==========================================================
   WYRÓWNANIE LINKÓW W KOLUMNACH STOPKI
   ========================================================== */

.dp-footer-panel ul {
    display: block !important;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

.dp-footer-panel li {
    display: block !important;
    float: none !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}

.dp-footer-panel li + li {
    margin-top: 14px !important;
}

.dp-footer-panel li a,
.dp-footer-panel li a:visited {
    display: block !important;
    width: 100% !important;
    padding-left: 18px !important;
    margin: 0 !important;
    text-align: left !important;
}
