.common_hero_section {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 385px;
    display: flex;
    align-items: center;
    justify-content: start;
    text-align: left;
    padding-left: 7.1%;
    color: var(--white);
}
.common-hero-content{
    width: 100%;
    padding: 0;
    max-width: 432px;
    border-radius: 2px;
    background: rgba(21, 53, 138, 0.90);
    min-height: 216px;
    padding: 33px 54px 39px 49px;
}
.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);
}
#team-section .common_hero_section {
    background-image: url(/images/hero-images/header-team.jpg);
}
#car-sourcing .common_hero_section {
    background-image: url(/images/hero-images/header-carsource.jpg);
}
#about .common_hero_section {
    background-image: url(/images/hero-images/header-about.jpg);
}
.common_hero_section.cashfor_cars {
    background-image: url(/images/hero-images/header-get-a-quote.jpg);
}
#contactus .common_hero_section {
    background-image: url(/images/hero-images/header-contact.jpg);
    height: 294px;
}
#servicing-page .common_hero_section {
    background-image: url(/images/hero-images/header-workshop.jpg);
}
.common_hero_section .dark-btn {
    max-width: 329px;
}

.common_hero_section p {
   margin: 7px 0 21px 2px;
    font-size: 18px;
    font-weight: 400;
    line-height: 25px;
    font-family: var(--zalando-sans-font);
}
.common_hero_section h1 {
    font-size: 32px;
    font-weight: 600;
    line-height: 36px;
}
@media screen and (max-width: 767px) {
    .common_hero_section {
        height: 280px;
        padding: 30px 15px;
        justify-content: center;
        align-items: center;
        text-align: center;
        background-position: center ;
    }
    #reviews .common_hero_section {
        background-position: center left -600px;
    }
    .common_hero_section h1 {
        font-size: 28px;
        line-height: 30px;
        margin-bottom: 8px;
        margin-inline: auto;
    }

   .common_hero_section .dark-btn {
        width: 100%;
        max-width: 289px;
    }
}

/* cashforcars common hero start */

.common_hero_section.cashforcars {
    justify-content: space-between;
    padding-right: 138px;
    gap: 30px;
    background-image: url(/images/hero-images/header-sell-your-car.jpg);
    padding-top: 76px;
}
.common_hero_section.cashforcars .common-hero-content {
    width: 50%;
}

.common_hero_section.cashforcars .right-content h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 22px;
    margin-bottom: 14px;
    text-transform: capitalize;
    text-align: left;
    color: var(--white);
    margin-left: 1px;
    margin-top: 3px;
}

.common_hero_section.cashforcars .right-content p {
    font-size: 14px;
    font-weight: 400;
    line-height: 22px;
    text-align: left;
    color: var(--white);
    margin-left: 0;
    margin-bottom: 0;
    text-transform: none;
    width: 92%;
}

.common_hero_section.cashforcars .right-content {
    display: flex;
    width: 680px;
    min-height: 168px;
    padding: 28px 44px 20px 48px;
    border-radius: 0;
    background: rgba(42, 42, 42, 0.8);
    align-items: start;
}

@media screen and (min-width:991px) and (max-width:1600px) {
    .common_hero_section.cashforcars {
        padding-right: 5%;
        padding-left: 5%;
    }
}

@media screen and (min-width:1200px) and (max-width:1300px) {
    .common_hero_section.cashforcars .right-content{
        padding-left: 30px;
    }
}
@media screen and (min-width:768px) and (max-width:1200px) {
    .common_hero_section.cashforcars {
        flex-direction: column;
        height: auto;
        padding-bottom: 50px;
        padding-top: 50px;
        gap: 20px;
        padding-left: 7%;
    }
}

@media screen and (min-width:1200px) {
    .common_hero_section.cashforcars .right-content{
        margin-top: 32px;
    }
    #team-section .common_hero_section,
    #barber-shop .common_hero_section,
    #coffee-shop .common_hero_section{
        padding-left: 9.5%;
    }
}
@media screen and (max-width:767px) {
    .common_hero_section.cashforcars .common-hero-content {
        width: 100%;
    }
    .common_hero_section.cashforcars {
        flex-direction: column;
        height: auto;
        gap: 10px;
        align-items: center;
        justify-content: center;
        padding: 25px 20px 45px;
    }
    
    .common_hero_section.cashforcars .right-content {
        width: 100%;
        gap: 20px;
        padding: 22px 20px;
        flex-direction: column-reverse;
        align-items: center;
    }

    .common_hero_section.cashforcars .right-content h3 {
        font-size: 17px;
        margin-bottom: 15px;
        text-align: center;
        line-height: 20px;
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-inline: auto;
        align-items: center;
    }
    .common_hero_section.cashforcars .right-content h3 img {
        margin: 0;
    }
    .common_hero_section.cashforcars .right-content p {
        font-size: 14px;
        margin-bottom: 0;
        line-height: 18px;
        text-align: center;
        margin-inline: auto;
    }

    #cashforcars .common_hero_section {
        gap: 30px;
        flex-direction: column;
        height: auto;
        padding-top: 50px;
    }
    #car-sourcing .common_hero_section .dark-btn {
        width: 100%;
    }
    .common_hero_section p {
        font-size: 16px;
        line-height: 21px;
        margin: 11px 0 20px;
    }
    .common-hero-content{
        padding: 30px 15px;
        min-height: auto;
    }
}

@media screen and (min-width:560px) and (max-width:767px) and (orientation: landscape) {
    .common_hero_section.cashforcars .right-content {
        width: 500px;
    }
}