/* GŁÓWNY ELEMENT NEWSLETTERA */
section.newsletter {
    padding: 28px 0;
}

section.newsletter .container-wrapper {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    padding: 28px 32px 22px;
}

section.newsletter .newsletter-content {
    font-family: Arial, Helvetica, sans-serif;
    align-items: center;
}

/* IKONA KOPERTY – BEZ TŁA, RAMKI I CIENIA */
section.newsletter .fa-envelope-o {
    width: auto;
    height: auto;
    min-width: auto;
    display: block;
    margin-right: 18px;
    font-size: 36px;
    line-height: 1;
    color: #D1371F;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* TEKST */
section.newsletter h2 {
    margin: 0 0 6px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 25px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -0.02em;
    color: #1a1a1a !important;
}

section.newsletter .sky-f-body-regular {
    max-width: 520px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
    color: #686868 !important;
}

/* FORMULARZ */
section.newsletter .newsletter-content > .col-lg-6:last-child {
    align-items: center !important;
}

section.newsletter .newsletter-form {
    width: 100%;
    max-width: 560px;
    margin-left: auto;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

section.newsletter .newsletter-form > .d-flex {
    width: 100%;
    display: flex !important;
    align-items: stretch !important;
    gap: 0;
    padding: 0;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 11px;
    box-sizing: border-box;
}

section.newsletter .newsletter-form .form-control {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    height: 54px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 17px !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px !important;
    line-height: 54px !important;
    font-weight: 400;
    color: #1a1a1a;
    background: #ffffff;
    border: 0 !important;
    border-radius: 10px 0 0 10px !important;
    box-shadow: none !important;
    box-sizing: border-box;
}

section.newsletter .newsletter-form .form-control::placeholder {
    color: #929292;
    opacity: 1;
}

section.newsletter .newsletter-form .form-control:focus {
    background: #fafafa;
    border: 0 !important;
    box-shadow: inset 0 0 0 2px rgba(209, 55, 31, 0.12) !important;
    outline: none;
}

/* PRZYCISK */
section.newsletter .newsletter-form .btn {
    flex: 0 0 150px;
    width: 150px;
    height: 54px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 700;
    color: #ffffff;
    background: #D1371F !important;
    border: 1px solid #D1371F !important;
    border-radius: 0 10px 10px 0 !important;
    box-shadow: none !important;
    box-sizing: border-box;
    transition: background-color 0.2s ease;
}

section.newsletter .newsletter-form .btn span {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 15px !important;
    line-height: 1 !important;
    font-weight: 700;
}

section.newsletter .newsletter-form .btn:hover {
    background: #b22e19 !important;
    border-color: #b22e19 !important;
    transform: none;
}

section.newsletter .newsletter-form .btn .icon-18 {
    transition: transform 0.2s ease;
}

section.newsletter .newsletter-form .btn:hover .icon-18 {
    transform: translateX(3px);
}

/* INFORMACJA O DANYCH */
section.newsletter .newsletter-consent-vaionet {
    width: 100%;
    padding: 0 20px;
    margin-top: 18px;
    box-sizing: border-box;
}

section.newsletter .newsletter-consent-vaionet p {
    max-width: 1180px;
    margin: 0 auto;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    line-height: 1.5;
    font-weight: 400;
    color: #6c6c6c;
    text-align: left;
}

section.newsletter .newsletter-consent-vaionet strong {
    font-weight: 600;
}

section.newsletter .newsletter-consent-vaionet a {
    color: #555555;
    font-weight: 600;
    text-decoration: underline;
}

section.newsletter .newsletter-consent-vaionet a:hover {
    color: #D1371F;
}

@media (max-width: 991px) {
    section.newsletter .container-wrapper {
        padding: 24px 20px 20px;
        border-radius: 10px;
    }

    section.newsletter .newsletter-gap-horizontal {
        flex-direction: column !important;
        align-items: center !important;
        gap: 10px;
        margin-bottom: 20px;
    }

    section.newsletter .fa-envelope-o {
        margin-right: 0;
        margin-bottom: 2px;
        font-size: 33px;
    }

    section.newsletter h2 {
        font-size: 23px;
        text-align: center;
    }

    section.newsletter .sky-f-body-regular {
        font-size: 14px;
        text-align: center;
    }

    section.newsletter .newsletter-form {
        max-width: 100%;
        margin: 0;
    }

    section.newsletter .newsletter-consent-vaionet {
        margin-top: 16px;
        padding: 0 8px;
    }

    section.newsletter .newsletter-consent-vaionet p {
        text-align: center;
    }
}

@media (max-width: 575px) {
    section.newsletter {
        padding: 18px 0;
    }

    section.newsletter .container-wrapper {
        padding: 20px 14px 17px;
    }

    section.newsletter h2 {
        font-size: 21px;
    }

    section.newsletter .sky-f-body-regular {
        font-size: 13px;
        line-height: 1.5;
    }

    section.newsletter .newsletter-form > .d-flex {
        gap: 0;
        padding: 0;
        border-radius: 9px;
    }

    section.newsletter .newsletter-form .form-control {
        height: 50px !important;
        min-height: 50px !important;
        padding: 0 12px !important;
        font-size: 14px !important;
        line-height: 50px !important;
        border-radius: 8px 0 0 8px !important;
    }

    section.newsletter .newsletter-form .btn {
        flex-basis: 112px;
        width: 112px;
        height: 50px !important;
        min-height: 50px !important;
        padding: 0 11px !important;
        border-radius: 0 8px 8px 0 !important;
    }

    section.newsletter .newsletter-form .btn span {
        font-size: 14px !important;
    }

    section.newsletter .newsletter-consent-vaionet {
        margin-top: 14px;
        padding: 0 4px;
    }

    section.newsletter .newsletter-consent-vaionet p {
        font-size: 10px;
        line-height: 1.45;
    }
}
/* =========================================================
   FINALNE NADPISANIA:
   - brak obramowania całego newslettera
   - brak obramowania formularza, pola i przycisku
   - tło rozciągnięte do pełnej szerokości ekranu
   ========================================================= */

section.newsletter {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 28px 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

section.newsletter > .container-xxl {
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: #ffffff !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

section.newsletter .container-wrapper {
    width: 100vw !important;
    max-width: none !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
    padding: 28px max(24px, calc((100vw - 1320px) / 2 + 24px)) 22px !important;
    background: #ffffff !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

section.newsletter .newsletter-content {
    width: 100% !important;
    max-width: 1320px !important;
    margin: 0 auto !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

section.newsletter .newsletter-content > div,
section.newsletter .newsletter-gap-horizontal,
section.newsletter .newsletter-content > .col-12,
section.newsletter .newsletter-content > .col-lg-6 {
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

section.newsletter .newsletter-form {
    width: 100% !important;
    max-width: 560px !important;
    margin-left: auto !important;
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

section.newsletter .newsletter-form > .d-flex {
    width: 100% !important;
    display: flex !important;
    align-items: stretch !important;
    gap: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
    background: #ffffff !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

section.newsletter .newsletter-form .form-control {
    flex: 1 1 auto !important;
    width: auto !important;
    min-width: 0 !important;
    height: 54px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 17px !important;
    background: #ffffff !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

section.newsletter .newsletter-form .form-control:focus,
section.newsletter .newsletter-form .form-control:active {
    background: #f7f7f7 !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

section.newsletter .newsletter-form .btn,
section.newsletter #button-newsletter {
    flex: 0 0 150px !important;
    width: 150px !important;
    height: 54px !important;
    min-height: 54px !important;
    margin: 0 !important;
    padding: 0 20px !important;
    background: #D1371F !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

section.newsletter .newsletter-form .btn:hover,
section.newsletter .newsletter-form .btn:focus,
section.newsletter .newsletter-form .btn:active,
section.newsletter #button-newsletter:hover,
section.newsletter #button-newsletter:focus,
section.newsletter #button-newsletter:active {
    background: #b22e19 !important;
    border: 0 !important;
    outline: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

section.newsletter .newsletter-consent-vaionet {
    border: 0 !important;
    outline: 0 !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

@media (max-width: 575px) {
    section.newsletter {
        padding: 18px 0 !important;
    }

    section.newsletter .container-wrapper {
        padding: 20px 14px 17px !important;
    }

    section.newsletter .newsletter-form > .d-flex,
    section.newsletter .newsletter-form .form-control,
    section.newsletter .newsletter-form .btn,
    section.newsletter #button-newsletter {
        border: 0 !important;
        outline: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    section.newsletter .newsletter-form .form-control {
        height: 50px !important;
        min-height: 50px !important;
    }

    section.newsletter .newsletter-form .btn,
    section.newsletter #button-newsletter {
        flex-basis: 112px !important;
        width: 112px !important;
        height: 50px !important;
        min-height: 50px !important;
    }
}
