

/* Start:/bitrix/templates/aspro_max/components/bitrix/news/news.projects/bitrix/news.list/.default/style.css?17508587224141*/
.projects-section {
    margin-bottom: 120px;
}

.projects-line {
    display: block;
    margin-bottom: 41px;
    width: 100%;
    height: 1px;
    background-color: #CDCDCD;
}

.project-control {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 69px;
    width: 100%;
}

.project-control-button {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 30px;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
    border: 1px solid #cdcdcd;
    border-radius: 10px;
    background: #f8f8f8;
    transition: background-color .3s, color .3s;
    cursor: pointer;
}

.project-control-button:hover, .project-control-button:focus, .project-control-button:active, .project-control-button._active {
    color: #fff;
    background: #fe9a0c;
    border-color: #fe9a0c;
}

.project-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: 100%;
}

.project-item {
    position: relative;
    display: block;
    width: 32%;
    height: 320px;
}

.project-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center bottom;
}

.project-item-icon {
    position: absolute;
    bottom: 0;
    left: 50%;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 230px;
    max-width: 96%;
    height: 135px;
    border-radius: 3px;
    transform: translateX(-50%);
    transition: all .3s;
}

.project-item-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    backdrop-filter: blur(3px);
    background: rgba(255, 255, 255, 0.57);
    border-radius: 3px;
}

.project-item:hover .project-item-icon:before,
.project-item:focus .project-item-icon:before,
.project-item:active .project-item-icon:before {
    backdrop-filter: none;
    background: transparent;
}

.project-item-icon img {
    position: relative;
    z-index: 3;
}

.project-item:hover .project-item-icon img {
    display: block;
    max-height: 100%;
    max-width: 100%;
    transition: all .3s;
}

.project-item:hover .project-item-icon img,
.project-item:focus .project-item-icon img,
.project-item:active .project-item-icon img {
    filter: invert(1);
}

.project-item-name {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    padding: 15% 20px 0 20px;
    width: 100%;
    height: 100%;
    font-size: 24px;
    font-weight: 600;
    color: #000;
    text-align: center;
    backdrop-filter: blur(3px);
    /*background: rgba(255, 255, 255, 0.17);*/
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity .3s, color .3s;
}

.project-item:hover .project-item-name,
.project-item:focus .project-item-name,
.project-item:active .project-item-name {
    color: #fff;
    opacity: 1;
}

@media (max-width: 1200px) {
    .project-item {
        width: 31.9%;
    }
}

@media (max-width: 1024px) {
    .project-control {
        margin-bottom: 40px;
    }

    .project-control-button {
        padding: 15px 20px;
        font-size: 14px;
    }

    .project-item {
        width: 31.5%;
        height: 220px;
    }

    .project-item-name {
        padding: 10% 20px 0 20px;
        font-size: 20px;
    }
}

@media (max-width: 850px) {
    .project-item {
        width: 31.4%;
    }
}

@media (max-width: 768px) {
    .project-item {
        width: 31.1%;
        height: 150px;
    }

    .project-item-name {
        color: transparent !important;
    }
}

@media (max-width: 650px) {
    .project-control-button {
        padding: 12px 15px;
        font-size: 14px;
    }

    .project-item {
        width: 48.1%;
        height: 200px;
    }
}

@media (max-width: 576px) {
    .project-control {
        gap: 10px;
    }

    .project-control-button {
        padding: 10px 15px;
        font-size: 12px;
    }

    .project-item {
        width: 47.4%;
        height: 200px;
    }
}

@media (max-width: 480px) {
    .project-item {
        width: 100%;
        height: 200px;
    }
}
/* End */
/* /bitrix/templates/aspro_max/components/bitrix/news/news.projects/bitrix/news.list/.default/style.css?17508587224141 */
