/* =========================================================
   DZIENNIK POLICKI — STOPKA PREMIUM V3 (17.11.2026)
   V3.1 (22.11.2026): pasek „Obserwuj w Wiadomościach Google”
   Jeden uporządkowany zestaw reguł (zamiast V2 + 4 warstw
   poprawek). Wartości jak w ostatniej warstwie V2.
   ========================================================= */

.dp-footer-pro {
    --dp-navy: #01182a;
    --dp-navy-2: #00111f;
    --dp-red: #c0130e;
    --dp-red-bright: #f01818;
    --dp-yellow: #f2c500;
    --dp-line: rgba(255, 255, 255, .14);
    --dp-text: #e8eef2;
    --dp-saira: "Saira Condensed", Arial, sans-serif;
    --dp-sans: Arial, Helvetica, sans-serif;

    width: 100%;
    margin: 0;
    color: #fff;
    background:
        radial-gradient(circle at 15% 45%, rgba(27, 71, 98, .20), transparent 28%),
        linear-gradient(135deg, var(--dp-navy-2), var(--dp-navy));
    font-family: var(--dp-sans) !important;
}

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

.dp-footer-pro a { color: inherit; text-decoration: none !important; }

.dp-footer-pro p,
.dp-footer-pro address { margin: 0; font-style: normal; }

.dp-footer-pro__sr {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

.dp-footer-pro__accent { height: 5px; background: var(--dp-red); }

/* ---------- część główna ---------- */
.dp-footer-pro__main { padding: 48px 28px 40px; }

.dp-footer-pro__inner {
    display: grid;
    grid-template-columns: 1.35fr .9fr .9fr 1fr 1.2fr;
    width: min(1420px, 100%);
    margin: auto;
}

/* marka */
.dp-footer-pro__brand { padding-right: 46px; }
.dp-footer-pro__logo-link { display: inline-block; }
.dp-footer-pro__logo { display: block; width: min(285px, 100%); height: auto; }

.dp-footer-pro .dp-footer-pro__description {
    margin: 25px 0 18px;
    color: #eef4f7;
    font-family: var(--dp-sans) !important;
    font-size: 16px;
    line-height: 1.5;
}

.dp-footer-pro .dp-footer-pro__since {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 22px;
    color: #d8e0e5;
    font-family: var(--dp-sans) !important;
    font-size: 14px;
    line-height: 1.35;
}

.dp-footer-pro__since > span:first-child { width: 24px; height: 2px; flex: 0 0 24px; background: var(--dp-yellow); }
.dp-footer-pro__since strong { color: var(--dp-yellow) !important; }

/* media społecznościowe */
.dp-footer-pro .dp-footer-pro__socials {
    display: flex !important;
    flex-direction: row !important;
    gap: 11px;
    margin: 0 0 23px !important;
}

.dp-footer-pro .dp-footer-pro__socials li { width: auto !important; margin: 0 !important; }

.dp-footer-pro .dp-footer-pro__socials a {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 42px !important;
    height: 42px;
    padding: 0 !important;
    border: 1px solid rgba(255, 255, 255, .45);
    border-radius: 50%;
    color: #fff !important;
    transition: transform .18s ease, background-color .18s ease, border-color .18s ease, color .18s ease;
}

.dp-footer-pro .dp-footer-pro__socials a::before { display: none !important; }
.dp-footer-pro__socials svg { display: block; width: 19px; height: 19px; fill: currentColor; }

/* przycisk */
.dp-footer-pro .dp-footer-pro__cta {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;
    min-width: 190px;
    max-width: 260px;
    min-height: 46px;
    padding: 10px 16px 10px 18px;
    border: 1px solid var(--dp-red);
    border-radius: 3px;
    background: var(--dp-red);
    color: #fff !important;
    font-family: var(--dp-saira) !important;
    font-size: 19px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: .15px;
    text-transform: uppercase;
    white-space: nowrap;
}

.dp-footer-pro__cta-arrow { font-size: 25px; font-weight: 400; line-height: 1; transition: transform .2s ease; }

/* ---------- kolumny ---------- */
.dp-footer-pro__column,
.dp-footer-pro__contact { padding: 0 30px; border-left: 1px solid var(--dp-line); }

.dp-footer-pro h2 {
    position: relative;
    margin: 0 0 28px !important;
    padding: 0 0 13px !important;
    border: 0 !important;
    background: none !important;
    color: #fff !important;
    font-family: var(--dp-saira) !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: .1px !important;
    text-transform: uppercase;
}

.dp-footer-pro h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 30px;
    height: 3px;
    background: var(--dp-red);
}

.dp-footer-pro ul {
    display: flex !important;
    flex-direction: column;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}

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

.dp-footer-pro li::before { display: none !important; }

.dp-footer-pro__column li a,
.dp-footer-pro__soon {
    position: relative;
    display: block;
    padding-left: 16px;
    color: var(--dp-text) !important;
    font-family: var(--dp-saira) !important;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.16;
    transition: transform .18s ease, color .18s ease;
}

.dp-footer-pro__column li a::before,
.dp-footer-pro__soon::before {
    content: "›";
    position: absolute;
    left: 0;
    top: -4px;
    color: #e31818;
    font-size: 24px;
    font-weight: 700;
}

.dp-footer-pro__soon { color: rgba(232, 238, 242, .62) !important; }
.dp-footer-pro__soon::before { color: rgba(227, 24, 24, .5); }

.dp-footer-pro__soon small {
    margin-left: 6px;
    padding: 2px 6px 1px;
    border: 1px solid rgba(242, 197, 0, .45);
    border-radius: 3px;
    color: var(--dp-yellow);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
    text-transform: uppercase;
    vertical-align: 2px;
}

/* ---------- kontakt ---------- */
.dp-footer-pro__contact-item {
    display: grid;
    grid-template-columns: 26px minmax(0, 1fr);
    gap: 12px;
    align-items: start;
    margin: 0 0 20px;
    color: var(--dp-text) !important;
    font-family: var(--dp-sans) !important;
    font-size: 16px;
    line-height: 1.4;
}

.dp-footer-pro__contact-icon {
    width: 22px;
    height: 22px;
    margin-top: 1px;
    fill: none;
    stroke: var(--dp-red-bright);
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dp-footer-pro__contact-item a { color: var(--dp-text) !important; transition: color .18s ease; }

.dp-footer-pro__contact-item a[href^="mailto:"] {
    display: inline-block;
    max-width: 100%;
    white-space: nowrap;
}

/* ---------- Obserwuj w Wiadomościach Google ---------- */
.dp-footer-pro__gnews { padding: 0 28px 30px; }

.dp-footer-pro__gnews-inner {
    display: flex;
    align-items: center;
    gap: 18px;
    width: min(1420px, 100%);
    margin: auto;
    padding: 18px 22px;
    border: 1px solid var(--dp-line);
    border-left: 4px solid var(--dp-yellow);
    border-radius: 12px;
    background: rgba(255, 255, 255, .05);
}

.dp-footer-pro__gnews-icon {
    display: grid;
    flex: 0 0 48px;
    place-items: center;
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(242, 197, 0, .14);
    color: var(--dp-yellow);
}

.dp-footer-pro__gnews-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.dp-footer-pro .dp-footer-pro__gnews-text {
    flex: 1 1 auto;
    min-width: 0;
    color: #d6dfe5;
    font-family: var(--dp-sans) !important;
    font-size: 15px;
    line-height: 1.4;
}

.dp-footer-pro__gnews-text strong {
    display: block;
    margin-bottom: 3px;
    color: #fff;
    font-family: var(--dp-saira);
    font-size: 22px;
    font-weight: 800;
    line-height: 1.1;
    text-transform: uppercase;
}

/* !important przy układzie – szablon nadpisuje display linków w stopce (jak przy „Napisz do nas”) */
.dp-footer-pro .dp-footer-pro__gnews .dp-footer-pro__gnews-btn {
    display: inline-flex !important;
    flex: 0 0 auto;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 16px;
    height: 48px !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 18px !important;
    border: 1px solid var(--dp-red);
    border-radius: 6px;
    background: var(--dp-red);
    color: #fff !important;
    font-family: var(--dp-saira) !important;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    text-transform: uppercase;
    white-space: nowrap;
}

/* tekst na środku w pionie – jak w „Napisz do nas” (wielkie litery Saira siedzą wysoko) */
.dp-footer-pro .dp-footer-pro__gnews-btn > span:not(.dp-footer-pro__sr) {
    display: block !important;
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    text-box: trim-both cap alphabetic;
}

@supports not (text-box: trim-both cap alphabetic) {
    .dp-footer-pro .dp-footer-pro__gnews-btn > span:first-child { padding-top: 2px !important; }
}

@media (hover: hover) and (pointer: fine) {
    .dp-footer-pro .dp-footer-pro__gnews-btn:hover { filter: brightness(1.08); }
    .dp-footer-pro__gnews-btn:hover .dp-footer-pro__cta-arrow { transform: translateX(4px); }
}

@media (max-width: 860px) {
    .dp-footer-pro__gnews-inner { flex-wrap: wrap; }
    .dp-footer-pro .dp-footer-pro__gnews-text { flex-basis: calc(100% - 66px); }
    .dp-footer-pro .dp-footer-pro__gnews .dp-footer-pro__gnews-btn { display: flex !important; width: 100%; }
}

@media (max-width: 700px) {
    .dp-footer-pro__gnews { padding: 0 20px 24px; }
    .dp-footer-pro__gnews-inner { gap: 14px; padding: 16px; }
    .dp-footer-pro__gnews-icon { flex-basis: 42px; width: 42px; height: 42px; }
    .dp-footer-pro .dp-footer-pro__gnews-text { flex-basis: calc(100% - 56px); font-size: 14px; }
    .dp-footer-pro__gnews-text strong { font-size: 19px; }
}

/* ---------- dół ---------- */
.dp-footer-pro__bottom {
    border-top: 1px solid var(--dp-line);
    border-bottom: 5px solid var(--dp-yellow);
}

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

.dp-footer-pro .dp-footer-pro__copyright {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 24px;
    color: #d6dfe5;
    font-family: var(--dp-saira) !important;
    font-size: 14px;
}

.dp-footer-pro__copyright i { display: block; width: 1px; height: 24px; background: rgba(242, 197, 0, .55); }
.dp-footer-pro__bottom-logo-link { flex: 0 0 auto; }
.dp-footer-pro__bottom-logo { display: block; width: 200px; height: auto; opacity: .95; }

/* ---------- najechanie i klawiatura ---------- */
@media (hover: hover) and (pointer: fine) {
    .dp-footer-pro .dp-footer-pro__column li a:hover { transform: translateX(5px); color: #fff !important; }
    .dp-footer-pro .dp-footer-pro__contact-item a:hover { color: #fff !important; }
    .dp-footer-pro .dp-footer-pro__cta:hover { filter: brightness(1.08); }
    .dp-footer-pro__cta:hover .dp-footer-pro__cta-arrow { transform: translateX(4px); }

    .dp-footer-pro .dp-footer-pro__socials a:hover {
        transform: translateY(-3px);
        border-color: #fff;
        background: #fff;
        color: var(--dp-navy) !important;
    }
}

.dp-footer-pro a:focus-visible {
    outline: 2px solid var(--dp-yellow) !important;
    outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .dp-footer-pro * { transition: none !important; }
}

/* =========================================================
   TABLET (≤ 1100 px) – marka po lewej, 2 kolumny menu,
   pod nimi trzecie menu i kontakt
   ========================================================= */
@media (max-width: 1100px) {
    .dp-footer-pro__inner { grid-template-columns: 1.3fr 1fr 1fr; row-gap: 32px; }
    .dp-footer-pro__brand { grid-row: span 2; }
    .dp-footer-pro__column:nth-of-type(3),
    .dp-footer-pro__contact { padding-top: 28px; border-top: 1px solid var(--dp-line); }
}

/* =========================================================
   TELEFON (≤ 700 px) – menu zostaje (2 kolumny), kontakt pod nim
   ========================================================= */
@media (max-width: 700px) {
    .dp-footer-pro__main { padding: 34px 20px 26px; }

    .dp-footer-pro__inner { grid-template-columns: 1fr 1fr; row-gap: 0; column-gap: 18px; }

    .dp-footer-pro__brand { grid-column: 1 / -1; grid-row: auto; padding: 0 0 28px; text-align: center; }
    .dp-footer-pro__logo { width: 230px; margin: auto; }
    .dp-footer-pro .dp-footer-pro__description { font-size: 15px; line-height: 1.48; }
    .dp-footer-pro .dp-footer-pro__since { justify-content: center; font-size: 13px; }
    .dp-footer-pro .dp-footer-pro__socials { justify-content: center; }
    .dp-footer-pro .dp-footer-pro__cta { width: 100%; max-width: 300px; margin: 0 auto; }

    .dp-footer-pro__column,
    .dp-footer-pro__column:nth-of-type(3),
    .dp-footer-pro__contact {
        padding: 24px 0 8px;
        border-left: 0;
        border-top: 1px solid var(--dp-line);
    }

    .dp-footer-pro__column:nth-of-type(3),
    .dp-footer-pro__contact { grid-column: 1 / -1; }

    /* „Dla czytelnika”: 2 kolumny linków */
    .dp-footer-pro__column:nth-of-type(3) ul {
        display: grid !important;
        grid-template-columns: 1fr 1fr;
        column-gap: 18px;
    }

    .dp-footer-pro h2 { margin-bottom: 18px !important; font-size: 19px !important; }
    .dp-footer-pro li { margin-bottom: 11px !important; }
    .dp-footer-pro__column li a,
    .dp-footer-pro__soon { font-size: 16.5px; }
    .dp-footer-pro__soon small { display: inline-block; margin: 4px 0 0; }

    .dp-footer-pro__contact-item { font-size: 15px; }

    .dp-footer-pro__bottom-inner { display: block; min-height: 0; padding: 22px 20px; text-align: center; }
    .dp-footer-pro .dp-footer-pro__copyright { justify-content: center; gap: 6px 15px; font-size: 12px; }
    .dp-footer-pro__copyright i { height: 15px; }
    .dp-footer-pro__bottom-logo-link { display: inline-block; }
    .dp-footer-pro__bottom-logo { width: 120px; margin: 18px auto 0; }
}

@media (max-width: 380px) {
    .dp-footer-pro__contact-item a[href^="mailto:"] { font-size: 14px; }
}

/* ---------- przycisk „Napisz do nas”: tekst zawsze na środku w pionie ---------- */
.dp-footer-pro .dp-footer-pro__brand .dp-footer-pro__cta {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: 48px !important;
    min-height: 0 !important;
    padding: 0 16px 0 18px !important;
    line-height: 1 !important;
    vertical-align: middle;
}

.dp-footer-pro .dp-footer-pro__cta > span {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 1 !important;
    /* wielkie litery Saira siedzą wysoko – wyrównanie do wysokości liter */
    text-box: trim-both cap alphabetic;
}

/* przeglądarki bez text-box: lekkie przesunięcie w dół */
@supports not (text-box: trim-both cap alphabetic) {
    .dp-footer-pro .dp-footer-pro__cta > span:first-child { padding-top: 2px !important; }
}

.dp-footer-pro .dp-footer-pro__cta-arrow { font-family: Arial, sans-serif !important; font-size: 24px !important; }

@media (max-width: 700px) {
    .dp-footer-pro .dp-footer-pro__brand .dp-footer-pro__cta { display: flex !important; height: 50px !important; }
}
