

/* Start:/local/templates/ekoseti_2026/components/bitrix/news/team/bitrix/news.list/.default/style.css?17869740002732*/
.team__section-title {
    margin-bottom: 24px;
    color: #000;
    font-size: 22px;
    font-weight: 500;
    line-height: normal;
}

.team__list {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
}

.team__item {
    width: calc( (100% - (18px*5))/6 );
    aspect-ratio: 123/175;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

.team__item-image {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    z-index: 1;
    background-color: #e9edf0;
}

/* Фото любого формата вписывается в карточку кропом.
   Смещение по вертикали к верху — чтобы у портретов не срезало голову. */
.team__item-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 25%;
    -o-object-fit: cover;
    -o-object-position: 50% 25%;
}

.team__item-image::after {
    content: '';
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 56%;
    background: linear-gradient(0deg, #000 0%, rgba(0, 0, 0, 0.87) 29.42%, rgba(0, 0, 0, 0.00) 84.54%);
}

.team__item-text {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    row-gap: 3px;
    padding: 17px 14px 17px 16px;
}

.team__item-title {
    color: #FFF;
    font-size: 22px;
    font-weight: 600;
    line-height: normal;
}

.team__item-position {
    color: #FFF;
    font-size: 16px;
    font-weight: 400;
    line-height: normal;
}

.team__block + .team__block {
    margin-top: 28px;
}

@media screen and (max-width: 1599px) {
    .team__list {
        gap: 15px;
    }
    .team__item {
        aspect-ratio: 97/138;
        width: calc( (100% - (15px*4))/5 );
    }
    .team__item-text {
        padding: 14px;
    }
    .team__item-title {
        font-size: 20px;
    }
}

@media screen and (max-width: 1199px) {
    .team__section-title {
        font-size: 18px;
    }
    .team__list {
        gap: 16px;
    }
    .team__item {
        aspect-ratio: 31/44;
        width: calc( (100% - (16px*2))/3 );
    }
    .team__item-title {
        font-size: 18px;
    }
    .team__item-position {
        font-size: 14px;
    }
}
@media screen and (max-width: 759px) {
    .team__list {
        gap: 11px;
    }
    .team__item {
        aspect-ratio: 145/206;
        width: calc( (100% - 11px)/2 );
    }

    .team__item-text {
        padding: 10px;
    }

    .team__item-title {
        font-size: 16px;
    }
}
/* End */
/* /local/templates/ekoseti_2026/components/bitrix/news/team/bitrix/news.list/.default/style.css?17869740002732 */
