.newsletter {
    background: #fafafa;
    border-top: 1px solid #f0f0f0;
    padding: 48px 24px;
}

.newsletter__inner {
    max-width: 1240px;
    margin: 0 auto;
}

.newsletter__content {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.newsletter__left {
    display: flex;
    /* only on mobile */
    flex-direction: column;
    gap: 12px;
    width: 100%;
    flex-shrink: 0;
}

.newsletter__title {
    margin: 0;
    font-size: 20px;
    line-height: 28px;
    font-weight: 600;
    color: #242424;
}

.newsletter__description {
    margin: 0;
    font-size: 12px;
    line-height: 16px;
    font-weight: 400;
    color: #707070;
    margin-bottom: 40px;
}

.newsletter__image-wrapper {
    width: 100%;
    margin-bottom: 48px;
}

.newsletter__form {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
    flex-shrink: 0;
}

.newsletter__field {
    display: flex;
    flex-direction: column;
    gap: 0;
    width: 100%;
}

.newsletter__row {
    display: flex;
    /* only on mobile */
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

.newsletter__row .newsletter__field {
    flex: 1;
}

.newsletter__label {
    display: flex;
    align-items: flex-end;
    gap: 4px;
    height: 26px;
    padding-bottom: 2px;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #242424;
    margin-bottom: 0;
}

.newsletter__required {
    color: #db4f4f;
}

.newsletter__input,
.newsletter__select,
.newsletter__textarea {
    width: 100%;
    height: 36px;
    padding: 0 10px;
    background: #ffffff;
    border: 1px solid #d1d1d1;
    border-radius: 6px;
    font-size: 14px;
    line-height: 20px;
    font-family: inherit;
    color: #242424;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

.newsletter__input:focus,
.newsletter__select:focus,
.newsletter__textarea:focus {
    outline: none;
    border-color: #147852;
    background: #fafafa;
}

.newsletter__input--focused {
    border-color: #147852;
    background: #fafafa;
}

.newsletter__select-wrapper {
    position: relative;
    width: 100%;
}

.newsletter__select {
    appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.newsletter__select-icon {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
}

.newsletter__select-icon svg {
    width: 12px;
    height: 6.5px;
}

.newsletter__textarea {
    min-height: 110px;
    padding: 5px 10px 7px;
    resize: vertical;
    font-family: inherit;
}

.newsletter__checkbox-wrapper {
    display: flex;
    gap: 4px;
    align-items: flex-start;
    padding: 8px 0;
    min-height: 48px;
}

.newsletter__checkbox {
    width: 16px;
    height: 16px;
    margin-top: 2px;
    border: 1px solid #616161;
    border-radius: 2px;
    cursor: pointer;
    flex-shrink: 0;
}

.newsletter__checkbox-label {
    flex: 1;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    color: #242424;
    cursor: pointer;
    padding-right: 12px;
}

.newsletter__link {
    color: #0078d4;
    text-decoration: underline;
    text-decoration-skip-ink: none;
}

.newsletter__link:hover {
    text-decoration: none;
}

.newsletter__button {
    width: 173px;
    height: 48px;
    padding: 8px 16px;
    background: #11875c;
    border: none;
    border-radius: 6px;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    color: #ffffff;
    cursor: pointer;
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.newsletter__button:hover {
    background: #147852;
    transform: translateY(-1px);
}

.newsletter__button:active {
    transform: translateY(0);
}

@media (min-width: 800px) {
    .newsletter {
        padding: 100px 24px;
    }

    .newsletter__left {
        flex-direction: row;
        gap: 40px;
        padding: 0 22px
    }

    .newsletter__title {
        font-size: 28px;
        line-height: 36px;
        margin-bottom: 12px;
    }

    .newsletter__description {
        font-size: 16px;
        line-height: 22px;
    }

    .newsletter__row {
        flex-direction: row;
    }

    .newsletter__form {
        gap: 16px;
    }

    .newsletter__form {
        padding: 0 88.5px;
    }
}

@media (min-width: 1024px) {
    .newsletter {
        padding: 100px 80px;
    }
}

@media (min-width: 1440px) {
    .newsletter {
        padding: 100px;
    }

    .newsletter__content {
        flex-direction: row;
        gap: 100px;
        justify-content: space-between;
        max-width: 100%;
    }

    .newsletter__left {
        max-width: 512px;
        flex-direction: column;
        padding: 0;
    }

    .newsletter__title {
        font-size: 40px;
        line-height: 52px;
    }

    .newsletter__description {
        font-size: 20px;
        line-height: 28px;
    }

    .newsletter__image-wrapper {
    }    

    .newsletter__form {
        padding: 0;
        width: 575px;
    }
}