.rental_ads_block {
    margin-bottom: 30px;
}

.rental_ads_title {
    font-size: 24px;
    font-weight: 300;
    margin: 0;
}

.rental_ads_comment {
    margin: 0;
    font-size: 18px;
    font-weight: 300;
}

.rental_ads {
    padding-top: 20px;
    display: grid;
    grid-template-columns: repeat(8, calc(100%/8 - 140px/8));
    gap: 20px;
}

.rental_ad_link {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    cursor: pointer;
}

@media only screen and (max-width: 920px) {
    .rental_ads {
        grid-template-columns: repeat(6, calc(100%/6 - 100px/6));
    }
}

@media only screen and (max-width: 760px) {
    .rental_ads {
        grid-template-columns: repeat(5, calc(100%/5 - 80px/5));
    }
}

@media only screen and (max-width: 680px) {
    .rental_ads {
        grid-template-columns: repeat(4, calc(100%/4 - 60px/4));
    }
}

@media only screen and (max-width: 480px) {
    .rental_ads {
        grid-template-columns: repeat(3, calc(100%/3 - 40px/3));
    }
}