.widget-advantages.template-8{
    position: relative;
    overflow: hidden;
}
.widget-advantages.template-8 .widget-about-wrapper{
    display: flex;
    justify-content: space-between;
    gap: 46px 40px;
}
.widget-advantages.template-8 .widget-header{
    max-width: calc(50% - 20px);
    flex: 0 0 calc(50% - 20px);
}
.widget-advantages.template-8 .widget-header .widget-title{
    font-size: 48px;
    font-weight: 700;
    line-height: 100%;
    color: #000000;
}
.widget-advantages.template-8 .widget-header .widget-title span.special{
    color: var(--main-color);
}
.widget-advantages.template-8 .widget-header .widget-description{
    font-size: 20px;
    font-weight: 400;
    line-height: 130%;
    color: #000000;
    margin-top: 38px;
}
.widget-advantages.template-8 .widget-button-wrap{
    display: flex;
    justify-content: flex-end;
    margin-top: 8px;
}
.widget-advantages.template-8 .widget-button{
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 20px;
    font-weight: 500;
    line-height: 1;
    color: var(--main-color);
    text-decoration: none;

    transition: color .2s ease-out;
}
.widget-advantages.template-8 .widget-button:hover,
.widget-advantages.template-8 .widget-button:focus{
    color: var(--dark-main-color);
}
.widget-advantages.template-8 .widget-button svg path,
.widget-advantages.template-8 .widget-button svg circle{
    stroke: var(--main-color);

    transition: stroke .2s ease-out;
}
.widget-advantages.template-8 .widget-button:hover svg path,
.widget-advantages.template-8 .widget-button:hover svg circle,
.widget-advantages.template-8 .widget-button:focus svg path,
.widget-advantages.template-8 .widget-button:focus svg circle{
    stroke: var(--dark-main-color);
}
.widget-advantages.template-8 .widget-header .widget-share{
    display: inline-flex;
    gap: .6em 1.35em;
    color: #000;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.15;
    background-color: #FBE2567D;
    padding: 15px 32px;
    margin-top: 52px;
    border-radius: 4px;
}
.widget-advantages.template-8 .widget-header .widget-share-title{
    color: #000;
    font-size: 1.6em;
    font-style: normal;
    font-weight: 700;
    line-height: 128%;
    text-transform: uppercase;
    margin-top: 3px;
}
.widget-advantages.template-8 .widget-header .widget-link{
    display: inline-block;
    font-size: 17px;
    font-weight: 400;
    line-height: 1;
    color: #ffffff;
    text-transform: uppercase;
    background-color: var(--main-color, #252525);
    white-space: nowrap;
    text-decoration: none;
    padding: 19px 34px;
    border-radius: 4px;
    cursor: pointer;
    margin-top: 2em;
    user-select: none;

    transition: background-color .2s ease-out;
}
.widget-advantages.template-8 .widget-header .widget-link:hover,
.widget-advantages.template-8 .widget-header .widget-link:focus {
    background-color: var(--dark-main-color, #000000);
}
.widget-advantages.template-8 .widget-content{
    max-width: 597px;
    flex: 0 0 50%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: auto;
}
.widget-advantages.template-8 .widget-picture{
    display: flex;
    width: calc(100% + 38px);
    transform: translate(-17px, 11px);
}
.widget-advantages.template-8 .widget-picture img{
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}
@media all and (max-width: 1600px) {
    .widget-advantages.template-8 .widget-header .widget-title{
        font-size: 54px;
    }
}
@media all and (max-width: 1240px) {
    .widget-advantages.template-8 .widget-header,
    .widget-advantages.template-8 .widget-content{
        max-width: calc(50% - 20px);
    }
    .widget-advantages.template-8 .widget-header{
        margin-top: 0;
    }
    .widget-advantages.template-8 .widget-header .widget-title{
        font-size: 42px;
    }
    .widget-advantages.template-8 .widget-header .widget-share{
        font-size: 18px;
    }
    .widget-advantages.template-8 .widget-picture{
        width: 100%;
        transform: none;
    }
}
@media all and (max-width: 1000px) {
    .widget-advantages.template-8 .widget-about-wrapper{
        flex-wrap: wrap;
    }
    .widget-advantages.template-8 .widget-header,
    .widget-advantages.template-8 .widget-content{
        max-width: 100%;
        flex: 0 0 100%;
    }
    .widget-advantages.template-8 .widget-header .widget-title {
        font-size: 48px;
    }
    .widget-advantages.template-8 .widget-picture img{
        aspect-ratio: 16/9;
    }
    .widget-advantages.template-8 .widget-header .widget-description{
        margin-top: 20px;
    }
    .widget-advantages.template-8 .widget-button-wrap{
        justify-content: center;
    }
}
@media all and (max-width: 800px) {
    .widget-advantages.template-8 .widget-header .widget-link {
        font-size: 14px;
        margin-top: 24px;
        padding: 16px 32px;
    }
}
@media all and (max-width: 600px) {
    .widget-advantages.template-8 .widget-about-wrapper{
        gap: 12px 40px;
    }
    .widget-advantages.template-8 .widget-header .widget-title{
        font-size: 28px;
        line-height: 111%;
    }
    .widget-advantages.template-8 .widget-header .widget-description{
        font-size: 16px;
        margin-top: 16px;
    }
    .widget-advantages.template-8 .widget-button{
        font-size: 16px;
        gap: 6px;
    }
    .widget-advantages.template-8 .widget-button svg{
        width: 43px;
        height: 43px;
    }
    .widget-advantages.template-8 .widget-header .widget-share{
        flex-wrap: wrap;
        font-size: 14px;
        padding: 12px 20px;
        margin-top: 24px;
    }
    .widget-advantages.template-8 .widget-picture{
        width: calc(100% + 13px);
    }
    .widget-advantages.template-8 .widget-picture img {
        aspect-ratio: 16 / 9.9;
    }
}
