.londonads-scope-listing {
    width: min(100% - 36px, 1220px);
    margin: 22px auto 42px;
    padding: 20px;
    border: 1px solid #eadbb8;
    border-radius: 16px;
    background: #fffdf7;
    color: #1b2a45;
    font-family: Inter, Arial, sans-serif;
}

.londonads-scope-listing__head {
    margin-bottom: 16px;
}

.londonads-scope-listing__head h2 {
    margin: 0;
    color: #142340;
    font-family: "DM Serif Display", Georgia, serif;
    font-size: 29px;
}

.londonads-scope-listing__summary {
    margin: 6px 0 0;
    color: #778196;
    font-size: 13px;
}

.londonads-scope-listing__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.londonads-scope-ad {
    min-width: 0;
    overflow: hidden;
    display: grid;
    grid-template-columns: 150px minmax(0, 1fr);
    border: 1px solid #eadfca;
    border-radius: 14px;
    background: #fff;
    color: inherit;
    text-decoration: none;
    transition: transform .15s ease, box-shadow .15s ease;
}

.londonads-scope-ad:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(17, 35, 63, .09);
}

.londonads-scope-ad__media {
    min-height: 150px;
    background: linear-gradient(145deg, #f8edcf, #fffaf0);
}

.londonads-scope-ad__media img {
    width: 100%;
    height: 100%;
    min-height: 150px;
    display: block;
    object-fit: cover;
}

.londonads-scope-ad__placeholder {
    height: 100%;
    min-height: 150px;
    display: grid;
    place-items: center;
    color: #aa7c31;
    font-size: 29px;
}

.londonads-scope-ad__body {
    min-width: 0;
    padding: 14px;
}

.londonads-scope-ad__badges {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.londonads-scope-ad__badge {
    padding: 4px 8px;
    border-radius: 999px;
    background: #f5e8c7;
    color: #8c6425;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.londonads-scope-ad h3 {
    margin: 0;
    color: #162845;
    font-size: 16px;
    line-height: 1.28;
}

.londonads-scope-ad__location {
    margin-top: 7px;
    color: #747e91;
    font-size: 11.5px;
}

.londonads-scope-ad__description {
    margin-top: 9px;
    overflow: hidden;
    color: #566177;
    font-size: 12px;
    line-height: 1.48;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.londonads-scope-ad__footer {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 11px;
    color: #8a94a8;
    font-size: 11px;
}

.londonads-scope-ad__price {
    color: #142744;
    font-weight: 800;
}

.londonads-scope-listing__empty,
.londonads-scope-listing__error {
    grid-column: 1 / -1;
    padding: 36px 20px;
    border: 1px dashed #dbc795;
    border-radius: 13px;
    background: #fffaf0;
    color: #6c7587;
    text-align: center;
}

.londonads-scope-pagination {
    margin-top: 20px;
    display: grid;
    gap: 12px;
    justify-items: center;
}

.londonads-scope-pagination__summary {
    color: #778196;
    font-size: 12px;
}

.londonads-scope-pagination__buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
}

.londonads-scope-page {
    min-width: 39px;
    min-height: 39px;
    border: 1px solid #d9c28d;
    border-radius: 9px;
    padding: 8px 11px;
    background: #fffaf0;
    color: #293850;
    font-weight: 700;
    cursor: pointer;
}

.londonads-scope-page.is-active {
    border-color: #11233f;
    background: #11233f;
    color: #fff;
}

.londonads-scope-page:disabled {
    opacity: .42;
    cursor: default;
}

@media (max-width: 850px) {
    .londonads-scope-listing__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 560px) {
    .londonads-scope-listing {
        width: min(100% - 18px, 1220px);
        padding: 14px;
    }

    .londonads-scope-ad {
        grid-template-columns: 1fr;
    }

    .londonads-scope-ad__media,
    .londonads-scope-ad__media img,
    .londonads-scope-ad__placeholder {
        min-height: 185px;
        max-height: 230px;
    }
}

/* EAST LONDON APPROVED ROW DESIGN START */

.londonads-scope-listing__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

#londonadsScopeGrid {
    display: grid;
    gap: 11px;
}

.latest-mixed-ad {
    width: 100%;
    min-height: 82px;
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        auto;
    align-items: center;
    gap: 18px;
    border: 1px solid rgba(169, 134, 76, 0.22);
    border-radius: 15px;
    padding: 15px 17px;
    color: #172840;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(72, 55, 25, 0.045);
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease;
}

.latest-mixed-ad:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 23px rgba(72, 55, 25, 0.09);
}

.latest-mixed-ad--image {
    grid-template-columns:
        116px
        minmax(0, 1fr)
        auto;
    min-height: 112px;
}

.latest-mixed-ad__image {
    width: 116px;
    height: 80px;
    overflow: hidden;
    border-radius: 11px;
    background: rgba(255, 255, 255, 0.62);
}

.latest-mixed-ad__image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.latest-mixed-ad__content {
    min-width: 0;
}

.latest-mixed-ad__content b {
    display: block;
    color: #122744;
    font-size: 14px;
    line-height: 1.35;
}

.latest-mixed-ad__details {
    margin-top: 7px;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 7px 13px;
    color: #6f798b;
    font-size: 11px;
}

.latest-mixed-ad__details strong {
    color: #8f6728;
    font-size: 12px;
}

.latest-mixed-ad__button {
    min-width: 82px;
    border: 1px solid rgba(17, 35, 63, 0.13);
    border-radius: 999px;
    padding: 8px 13px;
    background: rgba(255, 255, 255, 0.72);
    color: #173761;
    font-size: 11px;
    font-weight: 800;
    text-align: center;
    white-space: nowrap;
}

.latest-pastel-blue {
    background: #d8ebff;
}

.latest-pastel-mint {
    background: #d9f3e4;
}

.latest-pastel-peach {
    background: #ffe2cf;
}

.latest-pastel-lilac {
    background: #e8dcff;
}

.latest-pastel-yellow {
    background: #fff0ad;
}

.latest-pastel-rose {
    background: #ffd9e3;
}

.latest-mixed-empty {
    border: 1px dashed #d9c291;
    border-radius: 14px;
    padding: 30px 20px;
    background: #fffaf0;
    color: #798397;
    font-size: 13px;
    text-align: center;
}

@media (max-width: 700px) {
    .latest-mixed-ad,
    .latest-mixed-ad--image {
        grid-template-columns: 1fr;
        gap: 11px;
    }

    .latest-mixed-ad__image {
        width: 100%;
        height: auto;
        aspect-ratio: 3 / 2;
    }

    .latest-mixed-ad__button {
        width: 100%;
    }
}
/* LONDONADS 12 DISTINCT PASTELS START */
#londonadsScopeGrid {
    --p1: #D6E8FF;
    --p2: #FFF2A8;
    --p3: #C8F5DA;
    --p4: #FFD9B5;
    --p5: #DDD1FF;
    --p6: #C5E8B8;
    --p7: #FFD1D9;
    --p8: #BFEFF2;
    --p9: #FFE5A3;
    --p10: #A8E4C9;
    --p11: #FFC49C;
    --p12: #B9C8FF;
}

#londonadsScopeGrid .latest-mixed-ad:nth-child(12n+1) {
    background: var(--p1);
}

#londonadsScopeGrid .latest-mixed-ad:nth-child(12n+2) {
    background: var(--p2);
}

#londonadsScopeGrid .latest-mixed-ad:nth-child(12n+3) {
    background: var(--p3);
}

#londonadsScopeGrid .latest-mixed-ad:nth-child(12n+4) {
    background: var(--p4);
}

#londonadsScopeGrid .latest-mixed-ad:nth-child(12n+5) {
    background: var(--p5);
}

#londonadsScopeGrid .latest-mixed-ad:nth-child(12n+6) {
    background: var(--p6);
}

#londonadsScopeGrid .latest-mixed-ad:nth-child(12n+7) {
    background: var(--p7);
}

#londonadsScopeGrid .latest-mixed-ad:nth-child(12n+8) {
    background: var(--p8);
}

#londonadsScopeGrid .latest-mixed-ad:nth-child(12n+9) {
    background: var(--p9);
}

#londonadsScopeGrid .latest-mixed-ad:nth-child(12n+10) {
    background: var(--p10);
}

#londonadsScopeGrid .latest-mixed-ad:nth-child(12n+11) {
    background: var(--p11);
}

#londonadsScopeGrid .latest-mixed-ad:nth-child(12n+12) {
    background: var(--p12);
}
/* LONDONADS 12 DISTINCT PASTELS END */

/* EAST LONDON APPROVED ROW DESIGN END */
