

/* Start:/local/templates/agstudio/components/bitrix/news/projects/bitrix/news.list/.default/style.css?17716994423284*/
.projects {
    padding: 80px 0;
    background: #ffffff;
    color: var(--black-color);
    font-family: var(--font-family);
}

@media (max-width: 767px) {
    .projects {
        padding: 60px 0;
    }
}

.projects__head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 32px;
}

.projects__title {
    margin: 0;
    font-size: 36px;
    line-height: 1.2;
    font-weight: 600;
}

@media (max-width: 767px) {
    .projects__title {
        font-size: 28px;
    }
}

/* Фильтр категорий */
.projects__filter {
    display: flex;
    align-items: center;
    gap: 8px;
}

.projects__filter-label {
    font-size: 14px;
    color: rgba(0, 0, 0, 0.6);
}

.projects__filter-select-wrap {
    position: relative;
}

.projects__filter-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    padding: 8px 32px 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(15, 23, 42, 0.12);
    background-color: #fff;
    font-size: 14px;
    line-height: 1.4;
    cursor: pointer;
}

/* если захочешь стрелочку — можно добавить псевдоэлементом */

/* Сетка проектов: 2 колонки */
.projects__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 24px 32px;
}

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

.projects__item {
    /* для анимаций/ховера при желании */
}

.projects__card {
    position: relative;
    display: block;
    border-radius: 24px;
    overflow: hidden;
    background: #0f172a;
    text-decoration: none;
    color: inherit;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.projects__image {
	position: relative;
	overflow: hidden;
}

.projects__image img {
	display: block;
	width: 100%;
	height: 100%;
	max-height: 420px;
	object-fit: cover;
	aspect-ratio: 16 / 9;
	transition: transform 0.4s ease-out;
}

/* Увеличение картинки при наведении на карточку */
.projects__card:hover .projects__image img {
	transform: scale(1.05);
}

/* Оверлей с инфой */
.projects__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(15, 23, 42, 0.1) 0%,
        rgba(15, 23, 42, 0.85) 100%
    );
    display: flex;
    align-items: flex-end;
    pointer-events: none; /* вся карта клика идёт по ссылке */
}

.projects__overlay-inner {
    width: 100%;
    padding: 18px 20px 20px;
    pointer-events: none;
}

@media (min-width: 768px) {
    .projects__overlay-inner {
        padding: 20px 24px 24px;
    }
}


.projects__name {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 600;
    color: #ffffff;
}

@media (max-width: 767px) {
    .projects__name {
        font-size: 18px;
    }
}

.projects__desc {
    margin: 6px 0 0;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(241, 245, 249, 0.88);
}

/* Пагинация, если нужно */
.projects__pager {
    margin-top: 32px;
}
.projects__pager--top {
    margin-bottom: 24px;
    margin-top: 0;
}

/* End */
/* /local/templates/agstudio/components/bitrix/news/projects/bitrix/news.list/.default/style.css?17716994423284 */
