/* Sekcja newslettera nad stopką – dopasowana do motywu foten */

.wpo_bar {
    padding: 0 0 50px;
    font-family: "Sofia Sans Semi Condensed", sans-serif;
}

.wpo_bar__inner {
    position: relative;
    border-radius: 20px;
    padding: 50px 56px;
    background: linear-gradient(135deg, #176247 0%, #0f4a35 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #EFEDDD;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    gap: 48px;
    align-items: center;
    overflow: hidden;
}

/* Nagłówek – baza w przygaszonym kremie, pogrubienia w pełnej bieli (efekt dwukolorowy) */
.wpo_bar__heading {
    margin: 0;
    font-size: 40px;
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: rgba(239, 237, 221, 0.6);
}

.wpo_bar__heading strong,
.wpo_bar__heading b {
    color: #fff;
    font-weight: 800;
}

.wpo_bar__heading p {
    margin: 0;
}

/* Formularz */
.wpo_bar__form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.wpo_bar__row {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.wpo_bar__row input[type="email"] {
    flex: 1 1 180px;
    min-width: 0;
    border: 0;
    border-radius: 10px;
    padding: 16px 22px;
    font-family: inherit;
    font-size: 16px;
    line-height: 1.2;
    color: #333;
    background: #fff;
    outline: none;
}

@media (max-width: 560px){
    .wpo_bar__row input[type="email"]{
        flex: unset;
    }
}

.wpo_bar__row input[type="email"]::placeholder {
    color: #9a9a9a;
}

.wpo_bar__row button {
    flex: 0 0 auto;
    border: 0;
    border-radius: 10px;
    padding: 16px 36px;
    background: #EFEDDD;
    color: #176247;
    font-family: inherit;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    cursor: pointer;
    transition: opacity 0.25s ease;
}

.wpo_bar__row button:hover {
    opacity: 0.9;
}

.wpo_bar__row button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Zgoda RODO */
.wpo_bar__consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
}

.wpo_bar__consent input[type="checkbox"] {
    flex: 0 0 auto;
    margin: 3px 0 0;
    width: 16px;
    height: 16px;
    accent-color: #176247;
}

.wpo_bar__consent span {
    font-size: 11px;
    font-weight: 300;
    line-height: 1.5;
    color: rgba(239, 237, 221, 0.92);
}

.wpo_bar__consent a {
    color: #fff;
    text-decoration: underline;
}

/* Komunikat AJAX (klasy współdzielone z popupem) wewnątrz sekcji */
.wpo_bar__form .wpo-newsletter-message {
    margin: 0;
}

/* Responsywność */
@media (max-width: 900px) {
    .wpo_bar__inner {
        grid-template-columns: 1fr;
        gap: 28px;
        padding: 36px 28px;
    }

    .wpo_bar__heading {
        font-size: 30px;
    }
}

@media (max-width: 560px) {
    .wpo_bar {
        padding-bottom: 30px;
    }

    .wpo_bar__row {
        flex-direction: column;
    }

    .wpo_bar__row button {
        width: 100%;
    }

    .wpo_bar__heading {
        font-size: 26px;
    }
}
