.carsListingBanner {
    position: relative;
    width: 100%;
    height: 350px;
    background-color: beige;
}

.carsListingBanner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(70%);
}

.carsListingBannerTitle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.carsListingBannerTitle h1 {
    color: white;
    font-size: 55px;
    white-space: nowrap;
    text-transform: uppercase;
}

/* CARS LISTING CSS */
.cs-offers-items-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    position: relative;
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    width: 90%;
    padding: 50px;
    gap: 5px;
}

.cs-offers-items-container a {
    width: 32.9%;
}

.cs-card {
    width: 100%;
    margin: auto;
    text-align: center;
    font-family: arial;
    display: inline-block;
    margin-right: 0.3%;
    margin-bottom: 0.3%;
    border: 1px solid rgba(179, 179, 179, 0.485);
    position: relative;
}

.cs-ImgContainer {
    width: 100%;
    height: 270px;
}

.itemImg {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.share-icon {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
}

.counrtyTag {
    position: absolute;
    left: 0;
    top: 5%;
    width: fit-content;
    padding: 10px;
    background-color: var(--mainColor);
    font-size: 18px;
    color: white;
    display: flex;
    gap: 3px;
}

.priceTag {
    background-color: var(--mainColor);
    color: white;
    width: 100%;
    padding: 10px;
    font-size: 25px;
    margin-top: -2%;
}

.carShortDesc {
    padding: 20px 10px;
    background-color: white;
}

.car-listing-desc h1 {
    font-size: 25px;
    color: var(--mainColor);
    font-weight: bold;
}

.car-listing-desc h3 {
    font-size: 15px;
    color: rgb(181, 181, 181);
}

.car-listing-more-bttn button {
    background-color: transparent;
    border: 2px solid rgb(165, 165, 165);
    color: rgb(165, 165, 165);
    font-size: 20px;
    padding: 10px;
    width: fit-content;
    margin-top: 3%;
}

.car-listing-more-bttn button:hover {
    background-color: var(--mainColor);
    color: white;
    border: 2px solid var(--mainColor);
    cursor: pointer;
}

.carsListingViewMore {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 5%;
}

.carsListingViewMore button {
    font-size: 20px;
    color: var(--mainColor);
    background-color: white;
    text-transform: uppercase;
    padding: 15px 10px;
    cursor: pointer;
}

.carsListingViewMore button:hover {
    background-color: var(--mainColor);
    color: white;
}


/* RESPONSIVE MEDIA QUERIES */
@media screen and (max-width: 1150px) {
    .cs-offers-items-container a {
        width: 49%;
    }
}

@media screen and (max-width: 881px) {
    .cs-offers-items-container {
        display: block;
        text-align: center;
        width: 100%;
    }

    .cs-offers-items-container a {
        display: block;
        margin: auto;
        width: 65%;
        padding-bottom: 1%;
        margin-bottom: 1%;
    }
}

@media screen and (max-width: 600px) {
    .carsListingBanner {
        height: 130px;
    }

    .carsListingBannerTitle h1 {
        font-size: 25px;
    }

    .cs-offers-items-container {
        padding: 20px;
    }

    .cs-offers-items-container a {
        width: 100%;
    }
}