.newsletter {
    position: relative;
    margin-bottom: 60px;
    z-index: 1;
}

.newsletter::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 50%;
    background: #F0F8FF;
    z-index: -1;
}

.newsletter__heading h3 {
    margin: 0;
    padding: 0 0 15px;
    color: var(--navy);
    font-size: 1.5625rem;
    line-height: 1.2em;
    font-weight: 700;
    position: relative;
    text-transform: none;
}

.newsletter__heading h3::before {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 80px;
    height: 2px;
    background: #AF9972;
    transform: translate(-50%, 0);
}

.newsletter__wrap {
    border-radius: 3px;
    background: var(--white);
    box-shadow: 5px 5px 20px 0 rgba(23, 61, 99, 0.20);
    padding: 35px 10px;
    text-align: center;
}

.newsletter__form__input {
    margin-bottom: 20px;
}

.newsletter__form {
    margin-top: 25px;
    padding: 0 10px;
}

.newsletter__form .wpcf7 {
    width: 100%;
}

.newsletter__form label {
    color: var(--navy);
}

.newsletter__form__btn .btn {
    border: none;
}



@media (min-width: 768px) {
    .newsletter {
        margin-bottom: 0;
    }

    .newsletter__heading {
        max-width: 431px;
        margin: 0 auto;
    }

    .newsletter__heading h3 {
        padding: 0 0 20px;
        font-size: 1.875rem;
    }

    .newsletter__wrap {
        padding: 35px 70px 40px;
    }

    .newsletter__form {
        margin-top: 10px;
        padding: 0 0;
        display: flex;
        flex-wrap: wrap;
        align-items: flex-end;
    }

    .newsletter__form .flex-row {
        align-items: end;
    }

    .newsletter__form__input {
        margin-bottom: 0;
        width: calc(100% - 230px);
        text-align: left;
    }

    .newsletter__form__btn {
        width: 230px;
        text-align: right;
    }
        
}

@media (min-width: 1200px) {
    .newsletter__heading {
        max-width: 100%;
        width: 50%;
        margin: 0 auto;
        padding-right: 60px;
        text-align: left;
    }

    .newsletter__heading h3 {
        padding: 0 0 0;
        font-size: 2.5rem;
    }

    .newsletter__heading h3::before {
        left: auto;
        bottom: 22px;
        right: -44px;
    }

    .newsletter__wrap {
        padding: 49px 90px 49px 76px;
        display: flex;
        flex-wrap: wrap;
        /* align-items: flex-end; */
    }

    .newsletter__form {
        margin-top: 0;
        padding-left: 16px;
        width: 50%;
    }

    .newsletter__form__input {
        margin-bottom: 0;
        width: calc(100% - 230px);
        text-align: left;
    }

    .newsletter__form__btn {
        width: 230px;
        text-align: right;
    }
    
}

/* Mailpoet */
.newsletter__form #mailpoet_form_1 .mailpoet_form {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 1.25rem;
    padding: 0;
    text-align: center;
}

.newsletter__form #mailpoet_form_1 .mailpoet_form.mailpoet_form_successfully_send {
    display: flex;
}

.mailpoet_paragraph {
    margin-bottom: 20px;
}

.newsletter__form #mailpoet_form_1 .mailpoet_paragraph {
    margin-bottom: 0;
}

.newsletter__form #mailpoet_form_1 .mailpoet_text {
    min-width: 290px;
    width: 100%;
    margin-right: 0 !important;
    padding: 0.5rem 0.9375rem !important;
    font-size: 1.125rem;
}

.newsletter__form #mailpoet_form_1 .mailpoet_text_label {
    font-weight: 600;
}

.newsletter__form #mailpoet_form_1 .mailpoet_required {
    color: #ff4d51;
}

.mailpoet_submit,
.newsletter__form #mailpoet_form_1 .mailpoet_submit {
    position: relative;
    color: var(--navy);
    font-size: 1.375rem;
    font-weight: 700;
    line-height: 1.5em;
    text-decoration: none;
    padding: 0.5rem 3.75rem 0.5rem 1.625rem !important;
    background-color: var(--gold);
    background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMTUiIHZpZXdCb3g9IjAgMCAyNCAxNSIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIzLjY5OTcgNi43OTk0NkwxNi45MTQxIDAuMjg3ODk4QzE2LjcyMDQgMC4xMDIwMjUgMTYuNDYyMyAwIDE2LjE4NyAwQzE1LjkxMTQgMCAxNS42NTM0IDAuMTAyMTcxIDE1LjQ1OTcgMC4yODc4OThMMTQuODQzNiAwLjg3OTIzMUMxNC42NTAxIDEuMDY0ODEgMTQuNTQzNSAxLjMxMjY5IDE0LjU0MzUgMS41NzY5OUMxNC41NDM1IDEuODQxMTQgMTQuNjUwMSAyLjA5NzM3IDE0Ljg0MzYgMi4yODI5NUwxOC44MDIyIDYuMDg5OThIMS4wMTUwOEMwLjQ0ODA0MiA2LjA4OTk4IDAgNi41MTU5NiAwIDcuMDYwMjRWNy44OTYyM0MwIDguNDQwNTEgMC40NDgwNDIgOC45MDk0NCAxLjAxNTA4IDguOTA5NDRIMTguODQ3MUwxNC44NDM4IDEyLjczNzdDMTQuNjUwMiAxMi45MjM2IDE0LjU0MzYgMTMuMTY0NyAxNC41NDM2IDEzLjQyOUMxNC41NDM2IDEzLjY5MyAxNC42NTAyIDEzLjkzNzcgMTQuODQzOCAxNC4xMjM0TDE1LjQ1OTkgMTQuNzEyOEMxNS42NTM2IDE0Ljg5ODcgMTUuOTExNiAxNSAxNi4xODcxIDE1QzE2LjQ2MjQgMTUgMTYuNzIwNiAxNC44OTc0IDE2LjkxNDMgMTQuNzExNUwyMy42OTk4IDguMjAwMUMyMy44OTQgOC4wMTM2NCAyNC4wMDA4IDcuNzY0NzQgMjQgNy41MDAxNUMyNC4wMDA2IDcuMjM0NjggMjMuODk0IDYuOTg1NjMgMjMuNjk5NyA2Ljc5OTQ2WiIgZmlsbD0iIzAwMkM1NyIvPgo8L3N2Zz4K);
    background-repeat: no-repeat;
    display: inline-block;
    border-radius: var(--border-radius);
    border: none;
    transition: all ease-in-out 0.3s;
}

.mailpoet_submit {
    background-position: 90px 17px;
}

.newsletter__form #mailpoet_form_1 .mailpoet_submit {
    background-position: calc(120px + calc(var(--font-size-adjustment) * 6)) calc(12px + var(--font-size-adjustment));
}

.newsletter__form #mailpoet_form_1 .mailpoet_form_loading {
    display: none;
}

.newsletter__form #mailpoet_form_1 ul {
    list-style: none;
}

.newsletter__form #mailpoet_form_1 ul li {
    padding-left: 0;
}

.newsletter__form #mailpoet_form_1 ul li:before {
    display: none;
}

.newsletter__form #mailpoet_form_1 ul.parsley-errors-list {
    font-weight: 600;
    color: var(--gold);
}

.newsletter__form #mailpoet_form_1 input.parsley-error,
.newsletter__form #mailpoet_form_1 select.parsley-error,
.newsletter__form #mailpoet_form_1 textarea.parsley-error {
    background-color: #fff;
    border: 2px solid var(--gold);
}

.newsletter__form #mailpoet_form_1 .mailpoet_form:not(.mailpoet_form_successfully_send) .mailpoet_message {
    display: none;
}

.mailpoet_form.mailpoet_form_successfully_send .mailpoet_validate_success {
    width: 100%;
    color: var(--gold);
}

.mailpoet_paragraph label {
    color: var(--black);
}

.newsletter__form .ctct-form-field {
    width: 100%;
}

.newsletter__form .ctct-form-field-submit {
    max-width: fit-content;
}

.newsletter__form .ctct-disclosure hr {
    display: none;
}

@media (min-width: 500px) {
    .newsletter__form #mailpoet_form_1 .mailpoet_submit {
        background-position: calc(150px + calc(var(--font-size-adjustment) * 6)) calc(17px + var(--font-size-adjustment));
    }
}

@media (min-width: 768px) {
    .newsletter__form #mailpoet_form_1 .mailpoet_form {
        flex-direction: row;
        justify-content: center;
        align-items: flex-start;
        gap: 2rem;
        text-align: left;
    }

    .newsletter__form .ctct-form {
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        gap: 30px;
        text-align: left;
    }

    .newsletter__form .ctct-disclosure {
        text-align: left;
    }

    .newsletter__form #mailpoet_form_1 .mailpoet_submit {
        margin-top: 25px !important;
    }
}

@media (min-width: 1200px) {
    .mailpoet_submit:hover,
    .newsletter__form #mailpoet_form_1 .mailpoet_submit:hover {
        background-color: var(--gold-hover);
        color: var(--navy);
    }
}