

/* Start:/local/templates/newdmcg/components/bitrix/news.list/proj/style.css?17657296263517*/
/* Projects */
.projects {
    padding: 96px 0;
    background: radial-gradient(
            circle at top left,
            #121212 0%,
            #000000 60%
    );
}

.projects-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 64px;
    gap: 32px;
    flex-wrap: wrap;
}

.projects-title h2 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 16px;
}

.projects-title p {
    color: #9ca3af;
}

.projects-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.filter-btn {
    padding: 8px 16px;
    border-radius: 9999px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: #9ca3af;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s;
}

.filter-btn:hover {
    border-color: #84cc16;
    color: #84cc16;
}

.filter-btn.active {
    background: #84cc16;
    border-color: #84cc16;
    color: #000;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

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

.project-name {
    font-size: 20px;
    font-weight: 700;
    color: white;
    transition: color 0.3s;
}


@media (max-width: 768px) {
    .project-name {
        font-size: 16px;
    }

    .projects-title h2 {
        font-size: 25px;
    }

    .projects-grid {
        grid-template-columns: 1fr;
    }

    .projects-header {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* Project Card */
.project-card {
    position: relative;
    cursor: none;
}

.project-image {
    position: relative;
    overflow: hidden;

    border-radius: 2px;
    margin-bottom: 16px;
}

.project-overlay {
    position: absolute;
    inset: 0;
    background: rgba(132, 204, 22, 0);
    transition: background 0.5s;
    z-index: 10;
}

a {
    text-decoration: none;
}

.project-card:hover .project-overlay {
    background: rgba(132, 204, 22, 0.2);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(100%);
    transform: scale(1);
    transition: transform 0.7s ease-in-out, filter 0.7s;
}

.project-card:hover .project-image img {
    transform: scale(1.1);
    filter: grayscale(0%);
}

.project-action {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 5;

    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(0, 0, 0, .5);

    display: flex;
    align-items: center;
    justify-content: center;

    opacity: 0;
    transform: translateY(8px);
    transition: opacity .3s ease, transform .3s ease;
}

.project-card:hover .project-action {
    opacity: 1;
    transform: translateY(0);
}

.project-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}


.project-card:hover .project-name {
    color: #84cc16;
}


.project-category {
    font-size: 12px;
    font-family: monospace;
    color: #6b7280;
    border: 1px solid #1f2937;
    padding: 4px 8px;
    border-radius: 2px;
}

.project-description {
    font-size: 14px;
    color: #9ca3af;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* End */
/* /local/templates/newdmcg/components/bitrix/news.list/proj/style.css?17657296263517 */
