

/* Start:/local/templates/main/components/bitrix/news.list/city-projects/style.css?17132677493884*/
.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 36px;
    margin-bottom: 3rem;
}

.project {
    position: relative;
    z-index: 1;
    height: 290px;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -webkit-align-items: flex-end;
    -ms-flex-align: end;
    align-items: flex-end;
    padding: 30px;
    color: #fff;
    overflow: hidden;
}

.project img {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}

.project.big {
    grid-column-start: 1;
    grid-column-end: 4;
    height: 441px;
    padding: 34px 45px;
}

.project.big .project-name {
    font-size: 45px;
    line-height: 1.22;
    max-width: 796px;
}

.project:hover .project-hover {
    opacity: 1;
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

.project:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background: -webkit-gradient(linear, left top, left bottom, color-stop(43.93%, rgba(0, 0, 0, 0)), color-stop(100.39%, rgba(0, 0, 0, 0.9)));
    background: -o-linear-gradient(top, rgba(0, 0, 0, 0) 43.93%, rgba(0, 0, 0, 0.9) 100.39%);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 43.93%, rgba(0, 0, 0, 0.9) 100.39%);
}

.project-name {
    line-height: 1.5;
    width: 100%;
    position: relative;
    z-index: 1;
}

.project-hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background-color: rgba(255, 178, 0, 0.9);
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 35px 35px 25px;
    -webkit-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
    opacity: 0;
    -webkit-transform: scale(1.05);
    -ms-transform: scale(1.05);
    transform: scale(1.05);
}

.project-hover .preview-text{
    color: #000;
}

.project-icon {
    margin-top: auto;
    font-size: 45px;
    line-height: 0;
}

.project-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.s-projects {
    padding-bottom: 88px;
}

@media(max-width: 1500px) {
    .project {
        padding: 20px;
    }
    .project.big {
        padding: 30px;
        height: 360px;
    }
    .project.big .project-name {
        font-size: 27px;
        max-width: 50%;
    }
    .h4.project-name {
        font-size: 16px;
    }
    .project-hover {
        padding: 20px;
    }
    .project-hover .h6 {
        font-size: 12px;
    }
    .project-hover .h4 {
        font-size: 16px;
    }
    .projects-grid {
        grid-gap: 20px;
    }
}

@media(max-width: 1250px) {
    .project {
        height: 270px !important;
    }
}

@media(max-width: 1024px) {
    .project.big .project-name {
        max-width: 75%;
        font-size: 21px;
    }
    .project-name {
        font-size: 16px !important;
    }
}

@media(max-width: 768px) {
    .projects-grid {
        grid-gap: 15px;
    }
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .project.big {
        grid-column-end: 3;
    }
}

@media(max-width: 480px) {
    .projects-grid {
        grid-template-columns: repeat(1, 1fr);
        margin-bottom: 30px;
    }
    .project.big {
        grid-column-end: 2;
    }
    .project {
        padding: 20px !important;
        height: 170px !important;
    }
    .project .project-hover {
        display: none;
    }

    .s-projects {
        padding-bottom: 40px;
    }
}
/* End */


/* Start:/local/templates/main/components/bitrix/news.last/city_last_updates/style.css?1713268438870*/
.news .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-gap: 2rem;
    margin-bottom: 3rem;
}

@media(max-width: 767px) {
    .news .grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media(max-width: 575px) {
    .news .grid {
        grid-template-columns: 1fr;
    }
}

.news .grid .item .img {
    padding-bottom: 66%;
    position: relative;
    margin-bottom: 1rem;
}

.news .grid .item .img img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news .grid .item .title {
    color: #171000;
    font-size: 1.125rem;
    text-transform: uppercase;
    font-weight: 600;
    margin-bottom: .5rem;
}

.news .grid .item .date_news_detail {
    color: #999;
    margin-bottom: .5rem;
}

.news .grid .item .preview-text {
    font-size: .875rem;
    color: #000;
}
/* End */
/* /local/templates/main/components/bitrix/news.list/city-projects/style.css?17132677493884 */
/* /local/templates/main/components/bitrix/news.last/city_last_updates/style.css?1713268438870 */
