.elementor:has(.comparison-first-screen) .elementor-element.elementor-element-eeebcab:not(.elementor-motion-effects-element-type-background) {
    clip-path: polygon(0 0, 100% 0, 100% 82%, 0 100%);
    margin-top: 70px;
    margin-bottom: 80px;
    overflow: hidden;
    position: relative;
}

/* Основний фон із чорною полоскою */
.comparison-first-screen__main-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 72%;
    height: 100%;
    z-index: 2; /* Цей шар перекриває жовтий */
    clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
    box-shadow: -3px 0 black; /* Чорна смуга на межі */
    background-color: #e7ebfd;
}

.comp-first-btn.elementor-addons-button-primary {
    background: #092dc5;
}

.comp-second-btn.elementor-addons-button-secondary {
    background: #e7ebfd;
    border-color: #092dc5;
}

/* Жовтий шар */
.comparison-first-screen__highlight-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #2c2d22; /* Жовтий фон */
    z-index: 1; /* Шар під основним */
}


.elementor-column-gap-default>.elementor-row>.elementor-column>.elementor-element-populated>.elementor-widget-wrap {
    padding: 0!important;
}

.comparison-first-screen {
    position: relative;
    z-index: 5;
}

.comparison-first-screen__wrapper {
    display: flex;
}


.elementor-container:has(.comparison-first-screen),
.elementor-column:has(.comparison-first-screen),
.elementor-column-wrap:has(.comparison-first-screen),
.elementor-widget-wrap:has(.comparison-first-screen),
.elementor-element:has(.comparison-first-screen) {
    position: static;
}

.comparison-first-screen__text-content {
padding-top: 122px;
    padding-bottom: 118px;
    flex-basis: 645px;
}


.comparison-first-screen__heading {
    color: #193BC8;
    font-weight: 600!important;
    font-size: 64px;
    line-height: 1.2;
    margin-bottom: 10px;
}

.comp-second-btn {
    border-width: 1px;
    border-style: solid;
    min-width: 104px;
}

.comparison-first-screen__image-wrapper {
    flex-basis: 495px;
    height: auto;
}


.comparison-first-screen__image {
    height: 100% !important;
    object-fit: cover!important;
}

.comparison-first-screen__actions {
    display: flex;
    gap: 21px;
}
.comparison-first-screen__text {
    font-size: 18px;
    line-height: 1.78;
    color: #373f49;
    margin-bottom: 30px;
}

.comparison-first-screen__btn {
    font-weight: 500;
    font-size: 12px;
    line-height: 1.3;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    min-height: 40px;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.comp-mobile-img {
    display: none;
}

@media screen and (max-width: 2349.98px) {
    .comparison-first-screen__main-bg {
        width: 74%;
    }

}

@media screen and (max-width: 1899.98px) {
    .comparison-first-screen__main-bg {
        width: 80%;
    }

}

@media screen and (max-width: 1429.98px) {
.comparison-first-screen__main-bg {
    width: 90%;
}

}

@media screen and (max-width: 1023.98px) {
    body:has(.comparison-first-screen) .elementor-section.elementor-section-boxed > .elementor-container {
        padding: 0 15px 0 15px!important;
    }

    .comp-desktop-img {
        display: none;
    }

    .comp-mobile-img {
        display: flex;
        object-fit: contain!important;
        width: 100%;
        max-height: 300px;
    }


    .comparison-first-screen__actions {
        justify-content: center;
    }
    .comparison-first-screen__wrapper {
        flex-direction: column;
        gap: 30px;
    }

    .comparison-first-screen__image-wrapper {
        margin: 0 auto;
        flex-basis: 100%;
    }

    .comparison-first-screen__text-content {
        flex-basis: 100%;
        padding-top: 50px;
        padding-bottom: 0;
    }

    .comparison-first-screen__actions {
        gap: 10px;
    }

    .comparison-first-screen__image-wrapper {
        margin: 0 -15px 62px -15px;
    }

    .comparison-first-screen__main-bg {
        width: 100%;
        clip-path: unset;
    }

    .comparison-first-screen__highlight-bg {
        display: none;
    }

    .elementor:has(.comparison-first-screen) .elementor-element.elementor-element-eeebcab:not(.elementor-motion-effects-element-type-background) {
        clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
        margin-bottom: 50px;
    }

    .comparison-first-screen__actions {
        flex-wrap: wrap;
    }

    .comparison-first-screen__heading {
        font-size: 40px;
        text-align: center;
    }

    .comparison-first-screen__text {
        font-size: 16px;
        line-height: 1.5;
        text-align: center;
    }
}

@media screen and (max-width: 767.98px) {
    .elementor:has(.comparison-first-screen) .elementor-element.elementor-element-eeebcab:not(.elementor-motion-effects-element-type-background) {
        margin-bottom: 30px;
    }
}

@media screen and (max-width: 599.98px) {
    .comparison-first-screen__btn {
        flex-grow: 1;
    }
}
