.common_hero_section .positioned{
    left: 0;
    bottom: 0;
    position: absolute;
}
.common_hero_section {
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    height: 334px;
    display: flex;
    align-items: center;
    justify-content: start;
    text-align: left;
    padding-left: 4.4%;
    color: var(--primary-color);
    padding-bottom: 1px;
    position: relative;
}
@media screen and (min-width: 1500px) {
    #about .common_hero_section.about__team{
        padding-left: 82px;
        align-items: start;
        padding-top: 75px;
        align-items: start;
    }
}
.common-hero-content {
  width: 100%;
  max-width: 362px;
  padding: 30px 47px 33px;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.90);
  margin-top: 0;
  color: white;
  min-height: 201px;
  z-index: 2;
}
.common_hero_section.about__team .common-hero-content {
    background: var(--primary-color);
}
.common_hero_section.finance {
    background-image: url(/images/hero-images/header-finance.jpg);
}
.common_hero_section.cashforcars {
    background-image: url(/images/hero-images/header-we-buy.jpg);
}
#reviews .common_hero_section {
    background-image: url(/images/hero-images/header-reviews.jpg);
}
#about .common_hero_section .positioned{
    margin-top: -27px;
}
#about .common_hero_section {
    background-image: url(/images/hero-images/header-about.jpg);
    justify-content: space-between;
    align-items: center;
    padding-right: 134px;
}
#car-sourcing .common_hero_section {
    background-image: url(/images/hero-images/header-car-sourcing.jpg);
}
#contactus .common_hero_section {
    background-image: url(/images/hero-images/header-contact.jpg);
    background-position: center top;
}
@media screen and (min-width: 992px) {
    #contactus .common_hero_section {
        height: 227px;
    }
}
#team-section .common_hero_section {
    background-image: url(/images/hero-images/header-team.jpg);
}
#servicing-page .common_hero_section {
    background-image: url(/images/hero-images/header-service-overview.jpg);
}
#about .common_hero_section.about__team{
    background-image: url(/images/common/about-bgrnd-team.jpg);
    height: 375px;
}

.common_hero_section h1 {
    font-size: 32px;
    font-weight: 600;
    line-height: 40px;
    letter-spacing: normal;
}
.common_hero_section p {
    margin: 4px 0 15px;
    font-size: 18px;
    font-weight: 400;
    line-height: 24px;
    text-transform: capitalize;
}
.common_hero_section p.big{
    font-size: 20px;
}
.common_hero_section .dark-btn:hover,
.common_hero_section .dark-btn {
    max-width: 240px;
}
#about .common_hero_section.about__team .dark-btn{
    max-width: 248px;
}
@media screen and (max-width: 1699px) and (min-width: 992px) {
    #contactus .common_hero_section {
        padding-right: 0;
        padding-left: 600px;
        justify-content: start;
    }
}
@media screen and (max-width: 1499px) and (min-width: 1500px) {
    #contactus .common_hero_section {
        padding-left: 570px;
    }
}
@media screen and (max-width: 1499px) and (min-width: 1200px) {
    #contactus .common_hero_section {
        padding-left: 535px;
    }
}
@media screen and (max-width: 1199px) and (min-width: 992px) {
    #contactus .common_hero_section {
        padding-left: 520px;
        padding-right: 15px;
    }
    #contactus .common_hero_section img {
        width: 100%;
        max-width: 478px;
    }
}
@media screen and (max-width: 1700px) {
    #about .common_hero_section {
        padding-right: 4%;
    }
}
@media screen and (max-width: 992px) {
    #contactus .common_hero_section {
        background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.0)), url(/images/hero-images/header-contact.jpg);
        padding: 30px 15px;
        justify-content: center;
        align-items: start;
    }
    #contactus .common_hero_section img {
        width: 100%;
        max-width: 478px;
    }
}
@media screen and (max-width: 767px) {
    #about .common_hero_section .positioned{
        display: none;
    }
    .common_hero_section .common-hero-content {
        text-align: center;
        width: 100%;
        min-height: auto;
        padding:30px 20px ;
        margin-inline: auto;
    }
   
    #about .common_hero_section.about__team,
    .common_hero_section {
        height: 280px;
        padding-inline: 15px;
        justify-content: center;
        text-align: center;
        padding-bottom: 0;
    }
    .common_hero_section h1 {
        font-size: 26px;
        line-height: 28px;
    }
    .common_hero_section p.big,
    .common_hero_section p {
        font-size: 16px;
        line-height: 22px;
        margin: 6px auto 16px;
    }

   .common_hero_section .dark-btn:hover,
   .common_hero_section .dark-btn {
        width: 100%;
    }
}

/* cashforcars common hero start */

.common_hero_section.cashforcars {
    justify-content: space-between;
    padding-right: 148px;
    gap: 30px;
}

.common_hero_section.cashforcars .right-content h3 {
    font-size: 14px;
  font-weight: 600;
  line-height: 26px;
  margin-bottom: 11px;
  text-transform: uppercase;
  text-align: left;
  color: var(--white);
  letter-spacing: 0.14px;
  font-family: var(--semiexpanded-font);
}
.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: 17px;
  text-align: left;
  color: var(--white);
  letter-spacing: 0.14px;
  margin: 0 0 17px;
  text-transform: none;
  width: 97%;
}

.common_hero_section.cashforcars .right-content {
    display: flex;
  width: 479px;
  min-height: 204px;
  padding: 26px 36px 20px 38px;
  border-radius: 0;
  background: rgba(0, 0, 0, 0.70);
  align-items: start;
  margin-bottom: 30px;
}

@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:991px) {
    .common_hero_section.cashforcars {
        flex-direction: column;
        height: auto;
        padding-block: 20px;
        gap: 20px;
    }
}
@media screen and (min-width:768px) and (max-width:992px) {
    .common_hero_section.cashforcars{
        padding-inline:4% ;
    }
}

@media screen and (max-width:767px) {
    .common_hero_section.cashforcars .right-content{
        margin-bottom: 0;
    }
    .common_hero_section.cashforcars {
        flex-direction: column;
        height: auto;
        gap: 15px;
        align-items: center;
        justify-content: center;
        padding: 20px 20px 40px;
    }
    
    .common_hero_section.cashforcars .right-content {
        width: 100%;
        gap: 20px;
        padding: 18px 20px;
        flex-direction: column-reverse;
        align-items: center;
    }

    .common_hero_section.cashforcars .right-content h3 {
        text-align: center;
        line-height: 18px;
    }
  
    .common_hero_section.cashforcars .right-content p {
        text-align: center;
    }

    #cashforcars .common_hero_section {
        gap: 30px;
        flex-direction: column;
        height: auto;
        padding-top: 50px;
    }
}

@media screen and (min-width:560px) and (max-width:767px) and (orientation: landscape) {
    .common_hero_section.cashforcars .right-content {
        width: 500px;
    }
}

@media screen and (max-width: 450px){
    .common_hero_section .positioned {
        width: 100%;
    }
}