/* ==========================================================
   PNW CUSTOM – STOPKA BIAŁA NA CAŁĄ SZEROKOŚĆ
   Zawartość max 1300px; bez ramki i efektu karty.
   Istniejące klasy trzech głównych SEKCJI Elementor:
   pnw-footer-main / pnw-footer-divider / pnw-footer-bottom
   ========================================================== */

.pnw-footer-main,
.pnw-footer-divider,
.pnw-footer-bottom {
    font-family: "Rubik", Arial, sans-serif;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}

/* 1. GÓRNA CZĘŚĆ: białe tło na całą szerokość,
   treść trzech kolumn ograniczona do 1300 px */
.pnw-footer-main {
    padding: 46px 28px 36px !important;
}

.pnw-footer-main > .elementor-container {
    width: 100%;
    max-width: 1300px !important;
    margin: 0 auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    overflow: visible !important;
}

/* Elementor: zewnętrzna kolumna, w środku sekcja z 3 kolumnami */
.pnw-footer-main > .elementor-container > .elementor-column {
    width: 100% !important;
}

.pnw-footer-main > .elementor-container > .elementor-column > .elementor-widget-wrap {
    padding: 0 !important;
}

.pnw-footer-main .elementor-inner-section,
.pnw-footer-main .elementor-inner-section > .elementor-container {
    width: 100%;
    max-width: none !important;
}

.pnw-footer-main .elementor-inner-section > .elementor-container {
    display: flex;
    align-items: flex-start;
}

/* Kolumny: logo+UE / kontakt / linki */
.pnw-footer-main .elementor-inner-section > .elementor-container > .elementor-column {
    min-width: 0;
    padding: 0 28px !important;
    border: 0 !important;
}

.pnw-footer-main .elementor-inner-section > .elementor-container > .elementor-column:first-child {
    width: 38% !important;
    padding-left: 0 !important;
}

.pnw-footer-main .elementor-inner-section > .elementor-container > .elementor-column:nth-child(2) {
    width: 35% !important;
}

.pnw-footer-main .elementor-inner-section > .elementor-container > .elementor-column:nth-child(3) {
    width: 27% !important;
    padding-right: 0 !important;
}

/* Teksty i odnośniki – bez ingerencji w treści */
.pnw-footer-main p,
.pnw-footer-main li,
.pnw-footer-main a,
.pnw-footer-main .elementor-heading-title {
    font-family: "Rubik", Arial, sans-serif;
    line-height: 1.65;
}

.pnw-footer-main p,
.pnw-footer-main li {
    color: #4d6255;
    font-size: 13px;
}

.pnw-footer-main a {
    color: #40584a;
    text-decoration: none;
    transition: color .2s ease;
}

.pnw-footer-main a:hover,
.pnw-footer-main a:focus-visible {
    color: #159447;
}

.pnw-footer-main a:focus-visible {
    outline: 2px solid #159447;
    outline-offset: 3px;
    border-radius: 3px;
}

/* Obrazy logo i UE bez przycinania i rozciągania */
.pnw-footer-main .elementor-widget-image img {
    max-width: 100%;
    height: auto;
}

.pnw-footer-main .elementor-icon-list-item,
.pnw-footer-main .elementor-icon-list-text,
.pnw-footer-main .elementor-widget-tm-modern-icon-list li {
    font-size: 13px;
    line-height: 1.65;
}

.pnw-footer-main .elementor-icon-list-icon,
.pnw-footer-main .elementor-icon-list-icon i,
.pnw-footer-main .elementor-icon-list-icon svg {
    color: #159447;
    fill: currentColor;
}

/* 2. DELIKATNY PODZIAŁ NAD COPYRIGHT */
.pnw-footer-divider,
.pnw-footer-bottom {
    padding-left: 28px !important;
    padding-right: 28px !important;
}

.pnw-footer-divider > .elementor-container,
.pnw-footer-bottom > .elementor-container {
    width: 100%;
    max-width: 1300px !important;
    margin: 0 auto !important;
}

.pnw-footer-divider {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}

.pnw-footer-divider .elementor-divider,
.pnw-footer-divider .elementor-widget-divider {
    margin: 0 !important;
    padding: 0 !important;
}

.pnw-footer-divider .elementor-divider-separator {
    border-top-color: #dce7df !important;
}

/* 3. DOLNA BELKA – białe tło, jak reszta stopki */
.pnw-footer-bottom {
    padding-top: 19px !important;
    padding-bottom: 28px !important;
}

.pnw-footer-bottom p,
.pnw-footer-bottom a,
.pnw-footer-bottom .elementor-heading-title {
    color: #708076;
    font-family: "Rubik", Arial, sans-serif;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.6;
}

/* Tablet */
@media (max-width: 1024px) {
    .pnw-footer-main {
        padding: 34px 22px 28px !important;
    }

    .pnw-footer-main .elementor-inner-section > .elementor-container > .elementor-column {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    .pnw-footer-divider,
    .pnw-footer-bottom {
        padding-left: 22px !important;
        padding-right: 22px !important;
    }
}

/* Telefon: zachowujemy układ mobilny/rozwijane listy motywu */
@media (max-width: 767px) {
    .pnw-footer-main {
        padding: 30px 20px 14px !important;
    }

    .pnw-footer-main .elementor-inner-section > .elementor-container {
        display: flex;
        flex-direction: column;
    }

    .pnw-footer-main .elementor-inner-section > .elementor-container > .elementor-column,
    .pnw-footer-main .elementor-inner-section > .elementor-container > .elementor-column:first-child,
    .pnw-footer-main .elementor-inner-section > .elementor-container > .elementor-column:nth-child(2),
    .pnw-footer-main .elementor-inner-section > .elementor-container > .elementor-column:nth-child(3) {
        width: 100% !important;
        padding: 0 0 20px !important;
        margin-bottom: 20px;
        border: 0 !important;
        border-bottom: 1px solid #dce8df !important;
    }

    .pnw-footer-main .elementor-inner-section > .elementor-container > .elementor-column:last-child {
        padding-bottom: 0 !important;
        margin-bottom: 0;
        border-bottom: 0 !important;
    }

    .pnw-footer-divider,
    .pnw-footer-bottom {
        padding-left: 20px !important;
        padding-right: 20px !important;
    }

    .pnw-footer-bottom {
        padding-top: 14px !important;
        padding-bottom: 24px !important;
    }

    .pnw-footer-bottom .elementor-heading-title {
        font-size: 11px;
    }
}

/* ==========================================================
   PNW – COPYRIGHT W STOPCE
   ========================================================== */

.pnw-footer-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    text-align: center !important;
}

.pnw-footer-bottom .elementor-widget-heading,
.pnw-footer-bottom .elementor-widget-container {
    width: 100% !important;
    text-align: center !important;
}

.pnw-footer-bottom .elementor-heading-title {
    width: 100% !important;
    margin: 0 !important;
    text-align: center !important;
}