.o-captcha {
    display: flex;
    flex-direction: row-reverse;
    gap: 15px;
    justify-content: start;
    margin: 15px 0;
}

@media (max-width: 480px) {
    .o-captcha {
        flex-direction: column-reverse;
    }
}

.o-captcha > * {
    flex: 1 1;
}

.o-captcha input {
    width: 100%;
}

.o-captcha__img-wrap {
    display: grid;
    grid-auto-columns: max-content;
}

.o-captcha__img {
    cursor: pointer;
}

.o-captcha__img-wrap small {
    opacity: 0.9;
}

.o-form__title {
    font-size: 1.5rem;
}

.o-form__submit-btn {
    background-color: transparent;
    border: 1px solid #ccc;
    border-radius: 3px;
    padding: 5px 12px;
    cursor: pointer;
}

.o-form__term {
    font-size: smaller;
    opacity: 0.9;
}

.o-form__error {
    color: #f00;
}

@media (max-width: 480px) {
    .b-form-subscribe .o-captcha__img-wrap {
        align-self: center;
    }
}


@media (min-width: 1024px) {
    .b-form-subscribe {
        display: grid;
        gap: 15px;
        grid-template-areas: "email-field submit-btn";
    }

    .b-form-subscribe .o-field--name-email {
        grid-area: email-field;
        display: grid;
    }

    .b-form-subscribe .o-form__submit-btn {
        grid-area: submit-btn;
    }

}

.b-form-subscribe .o-field input {
    padding: 9px 12px;
    border-radius: 4px;
    font-size: 16px;
    line-height: 160%;
    max-width: 100%;

    transition: all 0.3s ease;
    background-color: transparent;
    
    color: #1E1E1E;
    border: 1px solid #1E1E1E;
}

.b-form-subscribe .o-form__submit-btn {
    padding: 9px 20px;
    background-color: transparent;
    border: 1px solid #1E1E1E;
    border-radius: 4px;
    font-size: 16px;
    line-height: 160%;
    color: #1E1E1E;
    transition: all 0.3s ease;
}

.b-form-subscribe .o-form__submit-btn:hover {
    background: #1E1E1E;
    color: #fff;
}

.b-form-subscribe .o-form__term {
    font-size: initial;
    opacity: 1;
}

.b-form-subscribe .o-form__term .o-field--type-checkbox input {
    display: none;
}

.b-form-subscribe .o-form__term .o-field__label {
    font-weight: normal;
}

.b-form-subscribe .o-form__term .o-field--type-checkbox input + span::before {
    content: '';
    display: inline-block;
    vertical-align: text-bottom;
    margin-right: 10px;
    box-shadow: none;
    border: 1px solid #1E1E1E;
    border-radius: 4px;
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.b-form-subscribe .o-form__term .o-field--type-checkbox input:checked + span::before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='12' viewBox='0 0 16 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7L6 11L15 1' stroke='black' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 75%;
}

.l-footer .b-form-subscribe .o-form__term a {
	text-decoration: underline;
	text-underline-offset: 5px;
    transition: all 0.3s ease;
}

.l-footer .b-form-subscribe .o-form__term a:hover {
	text-decoration: none;
}


.l-footer .b-form-subscribe .o-field input {
    border: 1px solid #fff;
    color: #fff;
}

.l-footer .b-form-subscribe .o-field input:focus {
    color: #1E1E1E;
    background-color: #fff;
}

.l-footer .b-form-subscribe .o-form__submit-btn {
    background-color: #fff;
    border: 1px solid #fff;
    color: #1E1E1E;
}

.l-footer .b-form-subscribe .o-form__submit-btn:hover {
    background: #1E1E1E;
    color: #fff;
}

.l-footer .b-form-subscribe .o-form__term .o-field--type-checkbox input + span::before {
    border: 1px solid #fff;
}

.l-footer .b-form-subscribe .o-form__term .o-field--type-checkbox input:checked + span::before {
    background-image: url("data:image/svg+xml,%3Csvg width='16' height='12' viewBox='0 0 16 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7L6 11L15 1' stroke='white' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

.l-footer .b-form-subscribe .o-form__term a {
	color: #848484;
}

.l-footer .b-form-subscribe .o-form__term a:hover {
	color: #fff;
}