/* Featured Ads */
:root {
    --primary-color: #0047AB;
    --text-color: #333;
    --border-color: #ddd;
    --light-bg: #f9f9f9;
    --card-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.featured-boosted-adverts {
    padding-top: 30px;
    font-family: "Poppins", sans-serif;
    max-width: 85%;
    margin: auto;
}

.featured-boosted-adverts h2 {
    font-weight: 500;
    margin-bottom: 0;
    font-size: 24px;
}

.myBoostedAdverts {
    max-width: 85%;
    padding-top: 20px !important;
    padding-bottom: 20px !important;
    font-family: "Montserrat", sans-serif;
    line-height: 1.5;
}

.myBoostedAdverts .card {
    height: 100%;
    width: fit-content;
}

.myBoostedAdverts .swiper {
    padding: 20px 0;
}

.myBoostedAdverts .swiper-slide {
    display: flex;
    justify-content: center;
}

.myBoostedAdverts .swiper-button-next,
.myBoostedAdverts .swiper-button-prev {
    color: #C41E3A;
}

.myBoostedAdverts .swiper-button-next:after,
.myBoostedAdverts .swiper-button-prev:after {
    font-weight: 900;
}

.myBoostedAdverts .listing-card {
    display: block;
    background: #fff;
    border: none;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    transition: all 0.3s ease;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
    height: 420px;
    width: 290px;
}

.myBoostedAdverts .listing-card:hover {
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.432);
    transform: translateY(-3px);
}

.myBoostedAdverts .listing-card .listing-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    max-width: 290px;
}

.myBoostedAdverts .listing-card .listing-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-style: none;
}

.myBoostedAdverts .listing-card .badges {
    top: 0.625rem;
    left: 0.625rem;
    color: #fff;
    font-size: 0.75rem;
    display: flex;
    flex-direction: row;
    align-items: start;
    gap: 0.25rem;
    align-items: center;
}

.myBoostedAdverts .listing-card .badges .badge-boosted {
    background-color: #C9A137;
    display: block;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.myBoostedAdverts .listing-card .badges .badge-verified {
    display: block;
    background-color: #0B5B34;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
}

.myBoostedAdverts .listing-card .listing-content {
    padding: 0.75rem;
}

.myBoostedAdverts .listing-card .listing-content h2 {
    font-size: 1rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.myBoostedAdverts .listing-card .listing-content .listing-price {
    font-weight: bold;
    margin-bottom: 0.5rem;
    font-size: 0.875rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.myBoostedAdverts .listing-card .listing-content .listing-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.625rem;
    font-size: 0.75rem;
    color: #777;
}

.myBoostedAdverts .listing-card .listing-content .meta-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.myBoostedAdverts .listing-card .listing-content .meta-item i {
    color: #666;
    font-size: 0.875rem;
}

@media only screen and (max-width: 1025px) {
    .myBoostedAdverts .listing-card {
        height: 460px;
        width: 390px;
    }
}

/* @media only screen and (max-width: 769px) {
    .myBoostedAdverts .listing-card {
        height: 460px;
        width: 390px;
    }
} */

@media only screen and (max-width: 950px) {
    .myBoostedAdverts .listing-card {
        height: 440px;
        width: 320px;
    }
}

@media only screen and (max-width: 450px) {
    .myBoostedAdverts .listing-card {
        height: 420px;
        width: 290px;
    }
}
