.widget-form.template-8{
    position: relative;
    overflow: hidden;
    font-size: clamp(16px, 1.8vw, 20px);
}
.widget-form.template-8 .widget-item{
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2em;
    border-radius: 4px;
    background-color: var(--form-background-color, #000000);
    padding: 2.3em 3em;
    overflow: hidden;
}
.widget-form.template-8 .widget-item-wrapper{
    position: relative;
    z-index: 1;
    flex: 1;
}
.widget-form.template-8 .widget-item:has(.widget-picture){
    max-width: calc(50% - 20px);
    flex: 0 0 calc(50% - 20px);
}
.widget-form.template-8 .widget-item-name{
    font-size: 1.4em;
    font-weight: 500;
    line-height: 116%;
    color: #ffffff;
    text-wrap-style: balance;
    text-wrap: balance;
}
.widget-form.template-8 .widget-item-description{
    font-size: .8em;
    font-weight: 500;
    line-height: 126%;
    color: #ffffff;
    margin-top: 2em;
}
.widget-form.template-8 .widget-item-description ul li{
    position: relative;
    padding-left: 1.9em;
    margin-bottom: .8em;
}
.widget-form.template-8 .widget-item-description ul li:before{
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(0, 1px);
    width: 1.063em;
    height: 1.063em;
    background-image: url("icons/icon.svg");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}
.widget-form.template-8 .widget-item-button{
    display: inline-block;
    font-size: .85em;
    font-weight: 400;
    line-height: 1;
    color: #ffffff;
    text-transform: uppercase;
    background-color: var(--main-color);
    white-space: nowrap;
    text-decoration: none;
    padding: 19px 34px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 2em;
    border: none;
    outline: none;
    user-select: none;

    transition: background-color .2s ease-out;
}
.widget-form.template-8 .widget-item-button:hover,
.widget-form.template-8 .widget-item-button:focus{
    background-color: var(--dark-main-color);
}
.widget-form.template-8 .widget-item-picture{
    display: flex;
    align-self: flex-end;
    max-width: 60%;
    margin-bottom: -2.4em;
}
.widget-form.template-8 .widget-item-picture img{
    position: relative;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    pointer-events: none;
    user-select: none;
}
@media all and (max-width: 1240px) {
    .widget-form.template-8 .widget-item-name br{
        display: none;
    }
    .widget-form.template-8 .widget-item-description br{
        display: none;
    }
    .widget-form.template-8 .widget-item-description,
    .widget-form.template-8 .widget-item-button{
        font-size: 1em;
    }
}
@media all and (max-width: 1000px) {
    .widget-form.template-8 .widget-item{
        gap: 2em;
    }
    .widget-form.template-8 .widget-item-picture{
        max-width: 50%;
    }
}
@media all and (max-width: 800px) {
    .widget-form.template-8{
        font-size: clamp(16px, 2.8vw, 18px);
    }
    .widget-form.template-8 .widget-item{
        flex-wrap: wrap;
        padding: 60px 40px;
        gap: 1.5em;
    }
    .widget-form.template-8 .widget-item-name{
        font-size: 1.6em;
        line-height: 124%;
        font-weight: 600;
    }
    .widget-form.template-8 .widget-item-description {
        font-weight: 400;
        line-height: 124%;
        margin-top: 1.8em;
    }
    .widget-form.template-8 .widget-item-button{
        font-size: .875em;
        margin-top: 1.715em;
        padding: 16px 32px;
    }
    .widget-form.template-8 .widget-item-picture{
        max-width: 100%;
        flex: 0 0 100%;
        margin-bottom: -2.1em;
    }

    .widget-form.template-8 .widget-item {
        justify-content: flex-start;
        flex-direction: column;
        gap: 1.5em;
        padding: 2em 1.5em;
        width: calc(100% + 32px);
        margin: 0 -16px;
        border-radius: 0;
    }
}
@media all and (max-width: 600px) {
    .widget-form.template-8 .widget-item{
        gap: 20px;
    }
}