.common_hero_section {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 385px;
    padding-top: 67px;
    padding-left: 7.0%;
    display: flex;
    align-items: flex-start;
    justify-content: flex-start;
}


.common_hero_section.finance {
    background-image: url(/images/common/header-finance.jpg);
}
.common_hero_section.ev-info {
    background-image: url(/images/common/ev-header.jpg);
}
#team-section .common_hero_section {
    background-image: url(/images/common/team-header.jpg);
}

#about .common_hero_section {
    background-image: url(/images/common/about-us-header.jpg);
}

#servicing-page .common_hero_section {
    background-image: url(/images/common/header-aftersales.jpg);
}

#reviews .common_hero_section {
    background-image: url(/images/common/reviews-header.jpg);
}

.common_hero_section.aftersales {
    background-image: url(/images/common/header-service.jpg);
}

#history .common_hero_section{
    background-image: url(/images/common/header-history.jpg);
}

#cashforcars .common_hero_section {
    background-image: url(/images/common/sell-us-your-car-header.jpg);
}

.common-hero-content {
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.80);
    width: 451px;
    min-height: 243px;
    padding: 40px 59px 33px 49px;
}


@media screen and (min-width:991px) and (max-width:1499px) {
    #cashforcars .common_hero_section{
        padding-right: 4%;
    }
}
@media screen and (max-width:1299px) {
    .common_hero_section .right-content {
        background: rgba(0, 0, 0, 0.70);
        display: flex;
        flex-wrap: wrap-reverse;
        height: auto;
        padding: 26px 34px 36px 28px;
        gap: 20px;
        margin-top: 0;
        margin-bottom: 30px;
    }

    #cashforcars .common_hero_section {
        gap: 30px;
        flex-direction: column;
        height: auto;
    }

    .common_hero_section .right-content h3 {
        margin-bottom: 15px;
    }
    .common_hero_section .right-content h3{
        margin-bottom: 8px;
    }
}


.common_hero_section .common-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 2px;
    font-size: 15px;
    font-weight: 600;
    line-height: 17px;
    text-align: center;
    color: var(--white);
    padding: 19px 0;
    position: relative;
    text-transform: none;
    width: 215px;
    height: 60px;
    background: var(--button-color);
    box-shadow: unset;
    border-radius: 10px;
    border: none;
}

.common_hero_section p {
    color: var(--primary-color);
    font-family: var(--header-font);
    font-size:16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    margin-bottom: 23px;
}
#reviews .common_hero_section p {
    margin-bottom: 43px;
}

.common_hero_section h3 {
    color: var(--primary-color);
    font-family: var(--header-font);
    font-size: 30px;
    font-style: normal;
    font-weight:600;
    line-height: 22px;
    margin-bottom: 22px;
}



    @media screen and (max-width:767px) {
        .common-hero-content {
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
            padding: 30px 15px;
        }

        .common_hero_section {
            padding-left: 4%;
            padding-right: 4%;
            height: 300px;
            padding-top: 30px;
        }

        .common_hero_section .common-btn {
            width: 270px;
        }

        .common_hero_section h3 {
            font-size: 26px;
            margin-bottom: 10px;
        }

        .common_hero_section p {
            font-size: 14px;
            margin-bottom:20px;
            line-height: 19px;
        }
        .common_hero_section .right-content {
            background: rgba(0, 0, 0, 0.70);
            display: flex;
            flex-wrap: wrap-reverse;
            height: auto;
            padding: 26px 20px 36px 20px;
            gap: 20px;
            margin-top: 0;
            margin-bottom: 50px;
            width: 100%;
            text-align: center;
            align-items: center;
            justify-content: center;
        }
    
        #cashforcars .common_hero_section {
            gap: 30px;
            flex-direction: column;
            height: auto;
            padding-top: 50px;
        }
    
        .common_hero_section .right-content h3 {
            margin-bottom: 8px;
            text-align: center;
            font-size: 18px;
        }
        .common_hero_section .right-content p{
            font-size: 14px;
        }
    }
    

    @media screen and (max-width:360px) {

        .common_hero_section .common-btn {
            width: 220px;
        }
    }

    @media screen and (min-width:500px) and (max-width: 767px) and (orientation: landscape){
  .common-hero-content {
    width: 74%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 15px;
    margin: 0 auto;
  }
}