.newsletter-block {
    padding: 65px 0;
    background: #ECF5FA;
    margin-top: 60px;
}

.newsletter-form {
    max-width: 57%;
    width: 100%;
}

.newsletter-form input {
    outline: 1px solid var(--color-light-grey) !important;
}

.newsletter-form input:hover {
    outline: 1px solid var(--color-dark-grey) !important;
}

.newsletter-form input:focus {
    outline: 2px solid var(--color-dark-grey) !important;
    outline-offset: -2px !important;
}

.newsletter-form form {
    padding: 12px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0px 1px 4px rgba(6, 7, 29, 0.08), 0px 2px 14px rgba(6, 7, 29, 0.14);
    display: flex;
    gap: 6px;
    flex-direction: column;
}

.newsletter-form button {
    padding-left: 36px;
    padding-right: 36px;
    font-size: 16px;
    line-height: 28px;
}

.newsletter-text svg {
    flex-shrink: 0;
}

.newsletter-text {
    display: flex;
    align-items: center;
    color: #0D0D1C;
    font-weight: 700;
    font-size: 20px;
    line-height: 30px;
    gap: 24px;
    max-width: 43%;
    width: 100%;
}

#subscribe_newsletter {
    display: flex;
    justify-content: center;
}

.newsletter-fields {
    width: 50%;
}

.newsletter-fields li:has(button) {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 12px;
}

.newsletter-fields button {
    font-size: 16px;
    cursor: pointer;
    background: var(--color-secondary);
    border-radius: 6px;
    outline: 1px solid var(--color-light-grey);
    border: none;
    font-weight: 700;
    font-size: 14px;
    line-height: 24px;
    text-align: center;
    color: var(--color-dark);
    padding: 9px 30px;
}

.newsletter-fields button:hover {
    background: var(--color-light);
    outline: 1px solid var(--color-dark-grey);
}

@media all and (max-width: 1024px) {
    .newsletter-fields {
        width: 50%;
    }
    
    .newsletter-form, .newsletter-text {
        max-width: 100%;
    }

    .newsletter-block {
        padding: 24px 0;
        margin-top: 24px;
    }
}

@media all and (max-width: 767px) {
    .newsletter-text {
        width: 100%;
        text-align: left;
    }

    .newsletter-text svg,
    .newsletter-text i {
        display: none;
    }

    .newsletter-form form {
        background: transparent;
        box-shadow: none;
        padding: 0;
    }

    .newsletter-fields {
        width: 100%;
    }

    .newsletter-fields button {
        width: 100%;
    }
}