

/* Start:/local/templates/marygold_2026/components/bitrix/catalog.section.list/staff_menu/style.css?1779870783718*/
.staff-menu{
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 20px;
    padding: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.staff-menu::-webkit-scrollbar {
    display: none;
}
.staff-menu__Item{
    flex: 0 0 auto;
}
.staff-menu__Item a{
    color: #02020299;
    border-bottom: 1px solid #02020299;
    display: block;
    padding: 3px 0;
    position: relative;
}
.staff-menu__Item a::before{
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #020202;
    top: calc(100% - 1px);
    left: 0;
}
.staff-menu__Item a.selected{
    color: #020202;
    border-color: #020202;
}
.staff-menu__Item a.selected::before{
    content: '';
}
/* End */


/* Start:/local/templates/marygold_2026/components/bitrix/news.list/staff_grid/style.css?17860072373679*/
.m-temp-choice{
    display: none;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
    background: #02020208;
    border-radius: 14px;
    padding: 4px;
}
.m-temp-choice__Item{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: transparent;
    border-radius: 10px;
    color: #020202;
    height: 40px;
    flex-grow: 1;
}
.m-temp-choice__Item svg{
    stroke: black;
}
.m-temp-choice__Item.active{
    background: #020202;
    color: #ffffff;
}
.m-temp-choice__Item.active svg{
    stroke: #ffffff;
}

/*Grid view*/
.staff_grid{
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.staff_grid__Item{
    display: flex;
    flex-direction: column;
}
.staff-item__Photo{
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background-color: #efefef;
    padding: 58.47% 0;
    margin-bottom: 16px;
}
.staff-item__Photo img{
    max-width: 100%;
    width: 100%;
    position: absolute;
    display: block;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease-out;
}
.staff-item__Photo:hover img{
    transform: scale(1.05);
}
.staff-item__Info{
    margin-bottom: 10px;
}
.staff-item__Button{
    margin-top: auto;
}
.staff-item__Position{
    font-size: 16px;
    color: #02020299;
    line-height: 1;
    margin-bottom: 16px;
}
.staff-item__add{
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px;
}
.staff_set{
    display: none;
}
.staff_set__Block{
    margin-bottom: 30px;
}
.staff_set__Section{
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 15px;
}
.staff_set__Elements{
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    gap: 16px; /* отступ между элементами */
    padding: 10px;
    -webkit-overflow-scrolling: touch; /* плавный скролл на iOS */
    scroll-snap-type: x mandatory; /* магнитная прокрутка (по желанию) */
}

.staff_set__Elements .staff_grid__Item{
    flex: 0 0 auto; /* запрещаем сжиматься */
    width: 280px;  /* фиксированная ширина карточки */
    scroll-snap-align: start; /* привязка при скролле */
}
/*List view*/
.staff_list__Item{
    background: #02020208;
    margin-bottom: 8px;
    border-radius: 12px;
    padding: 20px;
}
.staff_list__Item__Top{
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.staff__detail{
    margin-left: auto;
}
.staff__detail svg{
    width: 12px;
    height: 12px;
    stroke: #020202;
}
.staff_list__Item__Body{
    display: flex;
    gap: 15px;
}
.staff_picture{
    width: 64px;
    height: 64px;
    border-radius: 6px;
    overflow: hidden;
    flex-shrink: 0;
}
.staff_position{
    font-size: 14px;
    color: #02020299;
    display: block;
    line-height: 1;
}
.staff_booking{
    margin-left: auto;
    display: flex;
    flex-direction: column;
    justify-content: end;
}
.staff_booking .btn.btn-green{
    padding: 0;
    width: 36px;
    height: 36px;
}
@media (max-width: 1024px) {
    .staff_grid{
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 780px) {
    .staff_grid{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 620px) {
    .staff_grid{
        display: none;
    }
    .staff_set{
        display: block;
    }
    .m-temp-choice{
        display: flex;
    }
}


/* End */
/* /local/templates/marygold_2026/components/bitrix/catalog.section.list/staff_menu/style.css?1779870783718 */
/* /local/templates/marygold_2026/components/bitrix/news.list/staff_grid/style.css?17860072373679 */
