
.cards__item{
    background-color: var(--lightblue);
    border-radius: 40px;
}
.cards__image-wrapper{
    width: 100%;
    height: 352px;
    border-radius: 40px;
    overflow: hidden;
}
.cards__image{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cards__item-tags{
    padding: 0 32px;
    margin-top: -17px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.cards__item-info{
    text-decoration: none;
    padding: 14px 32px 26px;
    display: block;
}
.cards__item-info:hover .cards__item-title{
    text-decoration: underline;
}

.btn-category{
    border-radius: 32px;
    padding: 7px 16px;
    background: var(--blue);
    display: flex;
    align-items: center;
    font-weight: 700;
    font-size: 12px;
    line-height: 120%;
    text-transform: uppercase;
    color: var(--white);
    text-decoration: none;
    gap: 12px;
    transition-duration: 0.3s;
}
.btn-category:hover{
    background: var(--darkturquoise);
    transition-duration: 0.3s;
    color: var(--white);
}
.btn-category:hover path{
    stroke: var(--lightturquoise);
}
.cards__item .date{
    margin-bottom: 0;
}
.cards__item-title{
    font-weight: 500;
    font-size: 18px;
    line-height: 133%;
    color: var(--blue);
    display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cards__item-descript{
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--hardgrey);
    margin-top: 8px;
    display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cards__item-title{
    text-align: left !important;
}
.residents-page{
    padding-top: 55px;
}
.cards__wrapper{
    margin-top: 32px;
}
.cards__wrapper{
    display: grid ;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.cards__item-tags-icon{
    min-width: 32px;
    width: 32px;
    height: 32px;
    border-radius: 900px;
    background-color: var(--white);
    display: flex;
    justify-content: center;
    align-items: center;
}

@media(max-width:1330px){
    .cards__wrapper{
        padding: 0 32px;
    }
    .cards__image-wrapper{
        height: 27.4vw;
    }

    .residents-page .cards__wrapper{
        padding: 0;
    }

    .residents-page  .cards__image-wrapper {
        height: 21.4vw;
    }

}
@media(max-width:1199px){
    .filter__search{
        grid-column: span 12;
    }
    .filter__date{
        grid-column: span 6;
    }

    .residents-page .cards__image-wrapper {
        height: 27.4vw;
    }
    .breadcrumbs__list{
        margin-top: 3px;
    }
    .residents-page .accordion__header {
    justify-content: flex-start;
    padding-right: 32px;
    }
    .filter{
        row-gap: 26px;
    }
    .main-news-contacts .announcement-banner__action .btn_red{
        display: none;
    }
    .residents-page .cards__wrapper{
        grid-template-columns:repeat(3, 1fr) ;
    }
}
@media(max-width:920px){
    .residents {
        padding-bottom: 80px;
        border-radius: 0 0 80px 80px;
    }
    .cards__wrapper {
        padding: 0 24px;
    }
    .cards__image-wrapper {
        height: 34.5vw !important;
    }
    .cards__item-descript{
        -webkit-line-clamp: 7;
    }
    .swiper-news .cards__item-title{
        font-size: 18px !important;
    }
    .residents-page .cards__wrapper{
        grid-template-columns:repeat(2, 1fr) ;
    }
    .cards__image-wrapper {
        height: 48.5vw !important;
    }
}
@media(max-width:760px){
    .cards__wrapper{
        display: flex;
        flex-direction: column;
        padding: 0 12px;
        gap: 20px;
    }
    .cards__image-wrapper {
                height: 89.5vw !important;
        border-radius: 40px;
    }
    .cards__item-tags {
        padding: 0 24px;
    }
    .cards__item-info{
        padding-left: 26px;
        padding-right: 26px;
        padding-bottom: 20px;
    }
    .cards__item-descript {
        -webkit-line-clamp: 4;
    }
    
}