.change-slid-hero {
    padding-top: 15px;
    min-height: 110px;
    background-position: top;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
    cursor: pointer;
    flex-direction: column;
    background-color: #2d3ca6;
    clip-path: polygon(50% 0, 50% 0, 100% 35%, 100% 100%, 100% 100%, 0 100%, 0 100%, 0 35%)
}

.change-slid-hero,
.change-slid-hero .slid-hero-banner {
    display: flex;
    justify-content: center;
    align-items: center
}

.change-slid-hero .slid-hero-banner {
    width: 100%;
    background: #4c61ff;
    min-height: 95px;
    clip-path: polygon(50% 0, 50% 0, 100% 25%, 100% 100%, 100% 100%, 0 100%, 0 100%, 0 25%);
    bottom: 0;
    padding-top: 10px
}

.change-slid-hero .desktop-content {
    display: none
}

.change-slid-hero h2 {
    height: 24px;
    letter-spacing: normal;
    font-size: 22px;
    font-weight: 300
}

.change-slid-hero h2,
.change-slid-hero p {
    line-height: 28px;
    color: #fff;
    margin-bottom: 0;
    text-align: center;
    font-style: normal
}

.change-slid-hero p {
    letter-spacing: .78px;
    font-size: 16px;
    font-weight: 400
}

.slid-hero-open {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity .3s linear;
    height: 0
}

.hp-top-section:has(>.slid-hero-open.active) {
    height: 760px;
    min-height: auto;
    overflow: hidden
}

.slid-hero-open.active {
    visibility: visible;
    transition: visibility 0s, opacity .3s linear;
    opacity: 1;
    height: 760px;
    position: absolute;
    top: 0;
    z-index: 2;
    background: #21517d;
    width: 100%;
    background-image: url(/wp-content/themes/ava_trade/assets/images/ab-v2.png);
    background-size: cover
}

.slid-hero-open.active .content-wrapper {
    text-align: center;
    color: #fff;
    max-width: 500px;
    display: flex;
    flex-flow: column;
    align-items: center;
    padding: 25px 20px 0;
    flex-wrap: nowrap;
    justify-content: space-between
}

.slid-hero-open.active .content-wrapper p {
    color: #fff;
    max-width: none;
    margin: 10px auto;
    text-align: center
}

.slid-hero-open.active .content-wrapper h2 {
    color: #fff;
    margin-bottom: 10px;
    padding: 0;
    text-align: center;
    font-size: 30px;
    font-style: normal;
    font-weight: 300;
    line-height: 33px
}

.slid-hero-open.active .content-wrapper h2 i {
    vertical-align: super;
    font-size: 15px;
    font-style: normal
}

.slid-hero-open.active .content-wrapper h3 {
    color: #fff;
    text-align: center;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 28px
}

.slid-hero-open.active .content-wrapper .btn-box {
    margin-bottom: 20px;
    margin-top: 10px;
    text-align: center
}

.slid-hero-open.active .content-wrapper .btn:first-child {
    font-size: 16px !important;
    background: #ff5100;
    padding: 13px 20px !important;
    border-radius: 0;
    min-width: 276px !important
}

.slid-hero-open.active .content-wrapper img {
    width: 205px
}

.slid-hero-banner .arrow {
    position: absolute;
    top: 12px;
    left: 0;
    right: 0
}

.slid-hero-banner .arrow i {
    display: inline-block;
    padding: 3px;
    transition: .3s
}

.change-slid-hero.active .arrow i {
    transform: rotate(180deg);
    -webkit-transform: rotate(180deg)
}

@media screen and (min-width:640px) {
    .change-slid-hero .slid-hero-banner {
        min-height: auto;
        clip-path: none;
        padding: 0;
        background: none;
        position: relative
    }

    .change-slid-hero {
        padding-top: 0;
        background-position: 50%;
        min-height: 63px;
        clip-path: none;
        background: #4c61ff
    }

    .slid-hero-open.active {
        background-image: url(/wp-content/themes/ava_trade/assets/images/ab-v2-desk.png)
    }

    .hp-top-section:has(>.slid-hero-open.active),
    .slid-hero-open.active {
        height: 80vh
    }

    .slid-hero-open.active img.mobile-drivers {
        display: none
    }

    .slid-hero-open.active .content-wrapper {
        justify-content: flex-start;
        max-width: 580px;
        margin: 0 auto
    }

    .slid-hero-open.active .content-wrapper h2 i {
        font-size: 23px
    }

    .slid-hero-open.active .content-wrapper h2 {
        font-size: 37px;
        line-height: 41px
    }

    .slid-hero-open.active .content-wrapper h3 {
        font-size: 25px
    }

    .change-slid-hero .mobile-content {
        position: relative
    }

    .slid-hero-banner .arrow {
        position: absolute;
        top: 10px;
        left: auto;
        right: -44px;
        border: 2px solid #fff;
        border-radius: 50px;
        width: 28px;
        height: 28px;
        line-height: inherit;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 14px;
        justify-items: flex-end
    }

    .change-slid-hero .arrow i {
        border-width: 0 2px 2px 0;
        display: inline-block;
        padding: 5px;
        transition: .3s;
        margin-top: 6px
    }

    .change-slid-hero.active .arrow i {
        margin-top: -5px
    }
}

@media screen and (min-width:1024px) {
    .slid-hero-open.active .content-wrapper .btn:first-child {
        font-size: 18px !important;
        padding: 12px 22px !important
    }
}

@media screen and (min-width:1200px) {
    .slid-hero-open.active {
        background-position: 50%
    }

    .change-slid-hero {
        background-position: 0;
        background-image: url(/wp-content/themes/ava_trade/assets/images/banner-bg.png)
    }

    .change-slid-hero .slid-hero-banner {
        justify-content: flex-start
    }

    .change-slid-hero .mobile-content {
        display: none
    }

    .slid-hero-banner {
        width: 100%;
        max-width: 1650px;
        position: relative
    }

    .change-slid-hero .desktop-content {
        align-items: center;
        width: 100%;
        max-width: 1500px;
        padding: 0;
        display: flex;
        flex-wrap: nowrap;
        justify-content: flex-start;
        align-content: center;
        overflow: hidden;
        flex-direction: row
    }

    .change-slid-hero h2 {
        font-size: 22px;
        line-height: 1;
        font-weight: 400;
        font-stretch: normal;
        font-style: normal;
        letter-spacing: normal;
        text-align: left
    }

    .change-slid-hero h2.white {
        color: #fff;
        margin-left: 40px
    }

    .change-slid-hero .left-side {
        margin-right: 150px
    }

    .change-slid-hero .left-side,
    .change-slid-hero .right-side {
        display: flex;
        align-items: center
    }

    .slid-hero-open.active .content-wrapper {
        max-width: 100%;
        align-items: flex-start
    }

    .slid-hero-open.active .content-wrapper h2 {
        font-size: 57px;
        font-style: normal;
        font-weight: 300;
        line-height: 58px;
        text-align: left;
        margin-bottom: 20px
    }

    .slid-hero-open.active .content-wrapper h3 {
        font-size: 25px;
        font-weight: 400;
        line-height: 37px;
        max-width: 470px;
        text-align: left;
        margin-bottom: 20px
    }

    .slid-hero-open.active .content-wrapper .btn-box {
        text-align: left;
        margin-bottom: 60px
    }

    .slid-hero-banner .arrow {
        left: auto;
        right: -10px;
        position: relative;
        top: 0
    }
}

@media screen and (max-width:1400px) {
    .change-slid-hero #car {
        display: none
    }
}

@media screen and (min-width:1400px) {
    .change-slid-hero #car {
        position: absolute;
        right: 10px;
        width: 188px;
        top: 0;
        transition: visibility 0s, opacity .2s linear
    }

    .change-slid-hero.active #car {
        display: none;
        transition: visibility 0s, opacity .2s linear
    }

    .slid-hero-open.active .content-wrapper {
        max-width: 1560px
    }

    .hp-top-section:has(>.slid-hero-open.active),
    .slid-hero-open.active {
        height: 76vh
    }
}

@media screen and (min-width:1600px) {
    .change-slid-hero #car {
        right: 10px;
        width: 328px;
        top: -30px
    }

    .slid-hero-open.active .content-wrapper img {
        width: 326px
    }

    .slid-hero-open.active .content-wrapper .btn:first-child {
        font-size: 18px !important;
        padding: 15px 29px !important
    }
}

@media screen and (min-width:1900px) {
    .slid-hero-open.active .content-wrapper {
        max-width: 1700px;
        padding-top: 100px
    }

    .slid-hero-banner {
        max-width: 1780px
    }

    .change-slid-hero {
        background-image: url(/wp-content/themes/ava_trade/assets/images/am-bg-2.png)
    }

    .change-slid-hero.active {
        background-image: url(/wp-content/themes/ava_trade/assets/images/banner-bg.png)
    }

    .change-slid-hero .desktop-content {
        max-width: 1220px
    }

    .change-slid-hero #car {
        right: 160px;
        width: fit-content;
        top: -42px
    }

    .change-slid-hero h2.white {
        margin-left: 30px
    }

    .change-slid-hero .left-side {
        margin-right: 120px
    }

    .slid-hero-banner .arrow {
        right: -50px
    }
}