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


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

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

#careers_section .common_hero_section {
    background-image: url(/images/common/header-careers.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/aftersales-header-image.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: 432px;
    min-height: 216px;
    padding: 35px 54px 39px 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: 17px;
    font-weight: 600;
    line-height: 17px;
    text-align: center;
    color: var(--white);
    padding: 19px 0;
    position: relative;
    text-transform: none;
    width: 329px;
    height: 55px;
    background: var(--button-color);
    box-shadow: unset;
    border-radius: 2px;
    border: none;
    font-family: var(--body-font);
}

.common_hero_section p {
    color: var(--primary-color);
    font-family: var(--body-font);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 23px;
    margin-bottom: 24px;
    margin-left: 2px;
}


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


@media screen and (max-width:992px) {
    .common_hero_section{
        background-position:center;
    }
    .common_hero_section.finance {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/finance-header-image.jpg);
    }
    #team-section .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/team-header.jpg);
    }

    #about .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/about-us-header.jpg);
    }

    #servicing-page .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/aftersales-header-image.jpg);
    }

    #reviews .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/reviews-header.jpg);
    }

    .common_hero_section.aftersales {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/header-service.jpg);
    }

    #history .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/header-history.jpg);
    }

    #cashforcars .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.7)), url(/images/common/sell-us-your-car-header.jpg);
    }
}

@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;
    }
}