/* ==========================================================
   STOPKA PREMIUM — DZIENNIK POLICKI
   Wersja finalna, niezależna od Font Awesome
   ========================================================== */

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

.dp-footer-pro {
    --dp-footer-navy: #01182a;
    --dp-footer-navy-2: #041f35;
    --dp-footer-red: #c0130e;
    --dp-footer-gold: #ffcc00;
    --dp-footer-white: #ffffff;

    position: relative;
    width: 100%;
    overflow: hidden;
    color: var(--dp-footer-white);
    background:
        radial-gradient(circle at 82% 5%, rgba(41, 104, 146, .18), transparent 30%),
        linear-gradient(135deg, #01182a 0%, #031f35 62%, #071522 100%);
    border-top: 5px solid var(--dp-footer-red);
    border-bottom: 5px solid var(--dp-footer-gold);
    font-family: "Saira Condensed", Arial, sans-serif;
}

.dp-footer-pro::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        linear-gradient(115deg, transparent 0 72%, rgba(255,255,255,.018) 72% 73%, transparent 73%),
        repeating-linear-gradient(
            90deg,
            rgba(255,255,255,.012) 0,
            rgba(255,255,255,.012) 1px,
            transparent 1px,
            transparent 80px
        );
}

.dp-footer-pro a,
.dp-footer-pro a:link,
.dp-footer-pro a:visited,
.dp-footer-pro a:hover,
.dp-footer-pro a:focus,
.dp-footer-pro a:active {
    text-decoration: none !important;
}

.dp-footer-pro__visually-hidden {
    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;
}

.dp-footer-pro__main {
    position: relative;
    z-index: 1;
}

.dp-footer-pro__inner {
    display: grid;
    grid-template-columns: 1.34fr .92fr .98fr 1.36fr;
    gap: 0;
    width: min(100%, 1600px);
    margin: 0 auto;
    padding: 54px 56px 48px;
}

.dp-footer-pro__brand,
.dp-footer-pro__column {
    min-width: 0;
}

.dp-footer-pro__brand {
    padding-right: 48px;
}

.dp-footer-pro__column {
    padding: 0 31px;
    border-left: 1px solid rgba(255,255,255,.14);
}

.dp-footer-pro__column:last-child {
    padding-right: 0;
}

/* Logo i opis */

.dp-footer-pro__logo-link,
.dp-footer-pro__bottom-logo-link {
    display: inline-flex;
    max-width: 100%;
}

.dp-footer-pro__logo {
    display: block;
    width: 330px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.dp-footer-pro__description {
    max-width: 430px;
    margin: 27px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 18px;
    line-height: 1.55;
}

.dp-footer-pro__since {
    position: relative;
    display: inline-block;
    margin: 20px 0 0;
    padding-left: 18px;
    color: var(--dp-footer-gold);
    font-size: 17px;
    line-height: 1.3;
    font-weight: 700;
}

.dp-footer-pro__since::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    width: 8px;
    height: 2px;
    background: var(--dp-footer-red);
    transform: translateY(-50%);
}

/* Nagłówki */

.dp-footer-pro__heading {
    position: relative;
    margin: 0 0 26px;
    padding: 0 0 15px;
    color: var(--dp-footer-white);
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .025em;
    text-transform: uppercase;
}

.dp-footer-pro__heading::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 52px;
    height: 3px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--dp-footer-red), var(--dp-footer-gold));
}

/* Linki */

.dp-footer-pro__links {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    columns: auto !important;
    column-count: 1 !important;
}

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

.dp-footer-pro__links li + li {
    margin-top: 13px !important;
}

.dp-footer-pro__links a,
.dp-footer-pro__links a:visited {
    position: relative;
    display: block !important;
    width: 100% !important;
    padding-left: 20px;
    color: rgba(255,255,255,.84) !important;
    font-size: 18px;
    line-height: 1.25;
    white-space: normal;
    transition:
        color .2s ease,
        transform .2s ease;
}

.dp-footer-pro__links a::before {
    content: "›";
    position: absolute;
    left: 0;
    top: -2px;
    color: var(--dp-footer-gold);
    font-size: 24px;
    line-height: 1;
    font-weight: 900;
}

.dp-footer-pro__links a:hover,
.dp-footer-pro__links a:focus {
    color: var(--dp-footer-gold) !important;
    transform: translateX(4px);
}

/* Social media */

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

.dp-footer-pro__socials a,
.dp-footer-pro__socials a:link,
.dp-footer-pro__socials a:visited {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    padding: 0;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 50%;
    background:
        linear-gradient(
            145deg,
            rgba(255,255,255,.10),
            rgba(255,255,255,.035)
        );
    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.07),
        0 8px 20px rgba(0,0,0,.16);
    color: var(--dp-footer-white) !important;
    transition:
        transform .2s ease,
        background .2s ease,
        border-color .2s ease,
        color .2s ease,
        box-shadow .2s ease;
}

.dp-footer-pro__socials svg {
    display: block;
    width: 20px;
    height: 20px;
    fill: currentColor;
    pointer-events: none;
}

.dp-footer-pro__socials a:hover,
.dp-footer-pro__socials a:focus {
    transform: translateY(-3px);
    border-color: var(--dp-footer-gold);
    background: var(--dp-footer-gold);
    color: var(--dp-footer-navy) !important;
    box-shadow: 0 10px 25px rgba(255,204,0,.17);
    outline: none;
}

.dp-footer-pro__socials a:focus-visible {
    outline: 2px solid var(--dp-footer-white);
    outline-offset: 3px;
}

/* Kontakt */

.dp-footer-pro__contact-list {
    margin: 0;
    font-style: normal;
}

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

.dp-footer-pro__contact-list p + p {
    margin-top: 19px;
}

.dp-footer-pro__contact-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 23px;
    width: 23px;
    height: 23px;
    color: var(--dp-footer-gold);
}

.dp-footer-pro__contact-icon svg {
    display: block;
    width: 21px;
    height: 21px;
    fill: currentColor;
}

.dp-footer-pro__contact-list p > span:last-child,
.dp-footer-pro__contact-list p > a {
    min-width: 0;
}

.dp-footer-pro__contact-list a,
.dp-footer-pro__contact-list a:visited {
    display: inline-block;
    max-width: 100%;
    color: rgba(255,255,255,.88) !important;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    transition: color .2s ease;
}

.dp-footer-pro__contact-list a:hover,
.dp-footer-pro__contact-list a:focus {
    color: var(--dp-footer-gold) !important;
}

.dp-footer-pro__email {
    font-size: 15px;
    line-height: 1.25;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
}

/* Przycisk */

.dp-footer-pro__cta,
.dp-footer-pro__cta:visited {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    width: 100%;
    margin-top: 28px;
    padding: 14px 18px !important;
    border: 1px solid rgba(255,204,0,.82);
    border-radius: 5px;
    background: rgba(255,204,0,.03);
    color: var(--dp-footer-white) !important;
    font-size: 17px;
    line-height: 1;
    font-weight: 800;
    text-transform: uppercase;
    transition:
        background .2s ease,
        color .2s ease,
        transform .2s ease,
        box-shadow .2s ease;
}

.dp-footer-pro__cta svg {
    display: block;
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    fill: var(--dp-footer-gold);
    transition: fill .2s ease;
}

.dp-footer-pro__cta:hover,
.dp-footer-pro__cta:focus {
    transform: translateY(-2px);
    background: var(--dp-footer-gold);
    color: var(--dp-footer-navy) !important;
    box-shadow: 0 10px 26px rgba(255,204,0,.15);
}

.dp-footer-pro__cta:hover svg,
.dp-footer-pro__cta:focus svg {
    fill: var(--dp-footer-navy);
}

/* Dolny pasek */

.dp-footer-pro__bottom {
    position: relative;
    z-index: 1;
    border-top: 1px solid rgba(255,255,255,.13);
    background: rgba(0,0,0,.08);
}

.dp-footer-pro__bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    width: min(100%, 1600px);
    min-height: 96px;
    margin: 0 auto;
    padding: 22px 56px;
}

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

.dp-footer-pro__divider {
    width: 2px;
    height: 25px;
    background: var(--dp-footer-gold);
}

.dp-footer-pro__bottom-logo-link {
    justify-content: flex-end;
}

.dp-footer-pro__bottom-logo {
    display: block;
    width: 245px;
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

/* Mniejsze laptopy */

@media (min-width: 1101px) and (max-width: 1350px) {
    .dp-footer-pro__inner {
        grid-template-columns: 1.25fr .9fr .95fr 1.4fr;
        padding-right: 34px;
        padding-left: 34px;
    }

    .dp-footer-pro__brand {
        padding-right: 34px;
    }

    .dp-footer-pro__column {
        padding-right: 24px;
        padding-left: 24px;
    }

    .dp-footer-pro__email {
        font-size: 14px;
    }
}

/* Tablet */

@media (max-width: 1100px) {
    .dp-footer-pro__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 40px 0;
        padding: 44px 34px 40px;
    }

    .dp-footer-pro__brand {
        padding-right: 34px;
    }

    .dp-footer-pro__column {
        padding: 0 34px;
    }

    .dp-footer-pro__column:nth-child(3) {
        padding-left: 0;
        border-left: 0;
    }

    .dp-footer-pro__column:nth-child(2),
    .dp-footer-pro__column:nth-child(4) {
        padding-right: 0;
    }

    .dp-footer-pro__email {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .dp-footer-pro__bottom-inner {
        padding: 22px 34px;
    }
}

/* Telefon */

@media (max-width: 760px) {
    .dp-footer-pro__inner {
        display: block;
        padding: 34px 22px 18px;
    }

    .dp-footer-pro__brand,
    .dp-footer-pro__column,
    .dp-footer-pro__column:nth-child(2),
    .dp-footer-pro__column:nth-child(3),
    .dp-footer-pro__column:nth-child(4) {
        padding: 24px 0;
        border-left: 0;
        border-bottom: 1px solid rgba(255,255,255,.12);
    }

    .dp-footer-pro__brand {
        padding-top: 0;
    }

    .dp-footer-pro__column:last-child {
        border-bottom: 0;
    }

    .dp-footer-pro__logo {
        width: 280px;
    }

    .dp-footer-pro__description {
        font-size: 16px;
    }

    .dp-footer-pro__heading {
        margin-bottom: 21px;
        font-size: 21px;
    }

    .dp-footer-pro__links a {
        font-size: 17px;
    }

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

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

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

    .dp-footer-pro__bottom-logo-link {
        justify-content: center;
        margin-top: 22px;
    }

    .dp-footer-pro__bottom-logo {
        width: 210px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .dp-footer-pro__links a,
    .dp-footer-pro__socials a,
    .dp-footer-pro__contact-list a,
    .dp-footer-pro__cta {
        transition: none !important;
    }
}


/* ==========================================================
   POPRAWKI PRODUKCYJNE — Joomla / GK TechNews
   ========================================================== */

/* Więcej miejsca dla kolumny kontaktowej */
.dp-footer-pro__inner {
    grid-template-columns: minmax(300px, 1.28fr) minmax(210px, .92fr) minmax(220px, .98fr) minmax(300px, 1.42fr) !important;
}

.dp-footer-pro__column {
    padding-left: 28px !important;
    padding-right: 28px !important;
}

.dp-footer-pro__column:last-child {
    padding-right: 0 !important;
}

/* Kontakt */
.dp-footer-pro__contact-list p {
    align-items: center !important;
}

.dp-footer-pro__email {
    display: inline-block !important;
    max-width: 100% !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
    overflow-wrap: normal !important;
    word-break: normal !important;
}

/* Przycisk — zabezpieczenie przed regułami szablonu */
.dp-footer-pro a.dp-footer-pro__cta,
.dp-footer-pro a.dp-footer-pro__cta:link,
.dp-footer-pro a.dp-footer-pro__cta:visited {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    min-width: 0 !important;
    min-height: 50px !important;
    padding: 13px 17px !important;
    gap: 14px !important;
    line-height: 1 !important;
    white-space: nowrap !important;
	border: 1px solid #fc0 !important;
}

.dp-footer-pro__cta span {
    display: inline-block !important;
    flex: 0 1 auto !important;
    width: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    white-space: nowrap !important;
}

.dp-footer-pro__cta svg {
    display: block !important;
    flex: 0 0 21px !important;
    width: 21px !important;
    height: 21px !important;
    margin: 0 !important;
}

/* Ikony społecznościowe */
.dp-footer-pro__socials {
    display: flex !important;
    align-items: center !important;
    flex-wrap: nowrap !important;
}

.dp-footer-pro__socials a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    flex: 0 0 46px !important;
    width: 46px !important;
    height: 46px !important;
    padding: 0 !important;
    line-height: 0 !important;
}

.dp-footer-pro__socials svg {
    position: static !important;
    display: block !important;
    width: 19px !important;
    height: 19px !important;
    margin: 0 !important;
    padding: 0 !important;
    transform: none !important;
}

/* Facebook wymaga subtelnej korekty optycznej */
.dp-footer-pro__socials a[aria-label*="Facebook"] svg {
    width: 18px !important;
    height: 18px !important;
    transform: translateX(1px) !important;
}

/* YouTube optycznie powinien być nieco szerszy */
.dp-footer-pro__socials a[aria-label*="YouTube"] svg {
    width: 21px !important;
    height: 21px !important;
}

/* Brak podkreśleń także przy regułach szablonu */
.dp-footer-pro a,
.dp-footer-pro a:hover,
.dp-footer-pro a:focus,
.dp-footer-pro a:active,
.dp-footer-pro a:visited {
    border-bottom: 0 !important;
    box-shadow: none;
    text-decoration: none !important;
}

/* Mniejsze laptopy */
@media (min-width: 1101px) and (max-width: 1350px) {
    .dp-footer-pro__inner {
        grid-template-columns: minmax(270px, 1.18fr) minmax(190px, .9fr) minmax(205px, .95fr) minmax(285px, 1.38fr) !important;
    }

    .dp-footer-pro__column {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }

    .dp-footer-pro__email {
        font-size: 13px !important;
    }
}

/* Tablet */
@media (max-width: 1100px) {
    .dp-footer-pro__inner {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .dp-footer-pro__email {
        font-size: 15px !important;
        white-space: normal !important;
        overflow-wrap: anywhere !important;
    }

    .dp-footer-pro__socials {
        flex-wrap: wrap !important;
    }
}

/* Telefon */
@media (max-width: 760px) {
    .dp-footer-pro__inner {
        display: block !important;
    }

    .dp-footer-pro a.dp-footer-pro__cta {
        width: 100% !important;
    }
}
