.common_hero_section {
    background-repeat: no-repeat;
    background-position: top right;
    background-size: auto;
    height: 313px;
    display: flex;
    align-items: start;
    justify-content: start;
    text-align: left;
    color: var(--white);
    position: relative;
}

.common_hero_section .vertical-l{
    background: #CEB33D;
    position: absolute;
    left: 0;
    top: 0;
    width: 566px;
    height: 100%;
    clip-path: polygon(100% 0%, 90% 100%, 0% 100%, 0% 0%);
}
.common-hero-content {
    width: 100%;
    max-width: 558px;
    padding: 76px 20px 20px 135px;
    background: linear-gradient(228deg, #0169AC 15.96%, #002B46 73.12%);
    position: relative;
    height: 100%;
    clip-path: polygon(0 0, 100% 0, 90% 100%, 0 100%);
    z-index: 2;
}
.common_hero_section.finance {
    background-image: url(/images/hero-images/header-finance.jpg);
}
#reviews .common_hero_section {
    background-image: url(/images/hero-images/header-reviews.jpg);
}
#about .common_hero_section {
    background-image: url(/images/hero-images/header-about.jpg);
}
#contactus .common_hero_section {
    background-image: url(/images/hero-images/header-contact.jpg);
}
#contactus .common_hero_section p {
    max-width: 270px;
}
#servicing-page .common_hero_section {
    background-image: url(/images/hero-images/header-workshop.jpg);
}
#car-sourcing .common_hero_section {
    background-image: url(/images/hero-images/header-carsourcing.jpg);
}
.common_hero_section h1 {
    font-size: 35px;
    font-weight: 600;
    line-height: 36px;
}
.common_hero_section h1.l-heading {
    font-size: 32px;
}
.common_hero_section p {
    margin: 8px 0 7px 1px;
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    text-transform: none;
    min-height: 38px;
}
.common_hero_section p.big{
    font-size: 20px;
    text-transform: none;
}
.common_hero_section .dark-btn {
    max-width: 308px;
}

@media screen and (min-width:768px) and (max-width: 1299px) {
    .common-hero-content {
        max-width: 402px;
        padding: 76px 20px 20px 45px;
    }
    .common_hero_section{
        background-position: center;
    }
    .common_hero_section .vertical-l{
        width: 410px;
    }
}
@media screen and (max-width: 767px) {
    .common-hero-content {
        text-align: center;
        padding:30px 20px ;
        clip-path: unset;
        max-width: 100%;
        background: transparent;
        padding: 0 15px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    .common_hero_section .vertical-l{
        display: none;
    }
    .common_hero_section {
        background-position: center;
        height: 240px;
    }
    .common_hero_section h1.l-heading,
    .common_hero_section h1 {
        font-size: 26px;
        line-height: 28px;
        margin-bottom: 8px;
    }
    .common_hero_section p.big,
    .common_hero_section p {
        margin: 7px auto 15px;
        min-height: auto;
        line-height: 20px;
    }

   .common_hero_section .dark-btn {
        width: 100%;
        max-width: 289px;
        margin-inline: auto;
    }
}

/* cashforcars common hero start */

.common_hero_section.cashforcars {
    justify-content: space-between;
    padding-right: 137px;
    gap: 30px;
    background-image: url(/images/hero-images/header-webuycars.jpg);
}

.common_hero_section.cashforcars .right-content h3 {
    font-size: 16px;
    font-weight: 700;
    line-height: 28px;
    margin-bottom: 12px;
    text-transform: capitalize;
    text-align: left;
    color: var(--white);
    margin-left: 0;
    margin-top: 2px;
}
.common_hero_section.cashforcars .right-content h3 img {
    margin-right: 23px;
    margin-top: -3px;
}

.common_hero_section.cashforcars .right-content p {
    font-size: 14px;
    font-weight: 400;
    line-height: 18px;
    text-align: left;
    color: var(--white);
    margin-left: 0;
    margin-bottom: 0;
    text-transform: none;
    width: 99%;
}

.common_hero_section.cashforcars .right-content {
    display: flex;
    width: 533px;
    min-height: 168px;
    padding: 28px 28px 20px 38px;
    border-radius: 0;
    background: rgba(0, 0, 0, 0.90);
    align-items: start;
    margin-top: 55px;
    gap: 37px;
}

@media screen and (min-width:991px) and (max-width:1600px) {
    .common_hero_section.cashforcars {
        padding-right: 4%;
    }
}

@media screen and (max-width:992px) {
    .common_hero_section.cashforcars {
        justify-content: space-between;
        padding-right: 137px;
        gap: 30px;
        background-image: url(/images/hero-images/header-webuycars.jpg);
        height: auto;
        flex-direction: column;
        align-items: center;
        padding: 25px 0;
        background-size: cover;
    }
    .cashforcars .common-hero-content{
        display: flex;
        flex-direction: column;
        justify-content: center;
        background: none;
        text-align: center;
        padding: 0;
    }
    .cashforcars.common_hero_section .vertical-l{
        display: none;
    }
    .common_hero_section.cashforcars .right-content{
        margin-top: 0;
    }
}

@media screen and (max-width:767px){
    .common_hero_section.cashforcars .right-content{
        flex-direction: column;
        align-items: center;
        text-align: center;
        row-gap: 15px;
        width: 100%;
        margin-inline: auto;
        padding: 20px;
    }
    .common_hero_section.cashforcars .right-content h3{
        line-height: 20px;
    }
    .common_hero_section.cashforcars{
        padding-inline: 15px;
    }
    .common_hero_section.cashforcars .right-content p,
    .common_hero_section.cashforcars .right-content h3{
        text-align: center;
    }
    #servicing-page .common_hero_section {
        background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .4)), url(/images/hero-images/header-workshop.jpg) center/cover;
    }
    .common_hero_section.cashforcars {
        background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .4)), url(/images/hero-images/header-webuycars.jpg) center/cover;
    }
    .common_hero_section.finance {
        background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .4)), url(/images/hero-images/header-finance.jpg) center/cover;
    }
    #reviews .common_hero_section {
        background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .4)), url(/images/hero-images/header-reviews.jpg) center/cover;
    }
    #about .common_hero_section {
       background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .4)), url(/images/hero-images/header-about.jpg) center/cover;
    }
    #contactus .common_hero_section {
        background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .4)), url(/images/hero-images/header-contact.jpg) center/cover;
    }
    #car-sourcing .common_hero_section {
        background: linear-gradient(rgba(0, 0, 0, .3), rgba(0, 0, 0, .4)), url(/images/hero-images/header-carsourcing.jpg) center/cover;
    }
}

@media screen and (min-width:1920px){
    .common_hero_section {
        background-size: cover;
    }
}