

/* Start:/local/js/idea/video_extension/style.css?17854435603762*/
.video-preloader{
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    margin: auto;
    width: 60px;
    height: 60px;
    opacity: 0.9;
    z-index: 0;
}
.video-card {
    background: black;
    border-radius: 12px;
    overflow: hidden;
    position: relative;
}
.video-card:hover .video-controls{
    opacity: 1;
    transform: translateY(0);
}
.video-wrapper {
    position: relative;
    height: 100%;
    /*min-width: 465px;*/
}
.video-card:fullscreen *{
    background-color: black;
}
.video-wrapper video {
    max-height: 100vh;
    display: block;
    cursor: pointer;
    background: black;
    object-fit: contain;
    margin: 0 auto;
}

.video-controls {
    background: transparent;
    padding: 10px 15px;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 0.5s, opacity 0.5s;
}

.progress-bar {
    width: 100%;
    height: 5px;
    background: rgba(255,255,255,0.2);
    cursor: pointer;
    position: relative;
    margin-bottom: 10px;
    border-radius: 3px;
}

.progress-filled {
    height: 100%;
    background: #ffffff;
    width: 0;
    border-radius: 3px;
    position: relative;
}

.progress-filled::after {
    content: '';
    position: absolute;
    right: -5px;
    top: 50%;
    transform: translateY(-50%);
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.2s;
}

.progress-bar:hover .progress-filled::after {
    opacity: 1;
}

.buttons {
    display: flex;
    align-items: center;
    gap: 12px;
}

.video-controls-btn {
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.2s;
    width: 28px;
    height: 28px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.video-controls-btn.fullscreen-btn{
    width: 22px;
    height: 22px;
}
.video-controls-btn svg{
    width: 100%;
    height: 100%;
}
.video-controls-btn:hover {
    transform: scale(1.1);
    color: #ffffff;
}

.time {
    color: white;
    font-size: 13px;
    margin-left: auto;
    white-space: nowrap;
    flex-shrink: 0;
}

.volume-container {
    display: flex;
    align-items: center;
    gap: 8px;
}

.volume-slider {
    width: 70px;
    -webkit-appearance: none;
    background: white;
    appearance: none;
    height: 5px;
    border-radius: 9999px;
}
.volume-slider::-webkit-slider-runnable-track{
    background: #ffffff;
    height: 5px;
}

.volume-slider::-webkit-slider-thumb{
    height: 15px;
    width: 15px;
    border-radius: 50%;
    background: #FFF;
    cursor: pointer;
    -webkit-appearance: none;
    margin-top: -5px;
}

.speed-select {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    padding: 4px 8px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 12px;
}

.speed-select:hover {
    background: rgba(255,255,255,0.3);
}
.speed-select option{
    color: grey;
}

@media (max-width: 768px) {
    .buttons {
        gap: 5px;
    }
    .btn {
        font-size: 14px;
    }
    .volume-slider {
        width: 50px;
    }
}
@media screen and (max-width: 690px){
    .video-controls{
        transform: none;
        opacity: 1;
        padding: 5px 5px;
    }
    .speed-select, .video-controls-btn.fullscreen-btn{
        display: none;
    }
    .time {
        font-size: 10px;
    }
    .volume-slider{
        width: auto;
        max-width: 110px;
    }
}

/* End */


/* Start:/local/templates/marygold_2026/components/bitrix/news/services/bitrix/news.detail/.default/style.css?17889097385206*/
.d-Top{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2vw;
    margin-bottom: calc(var(--spacing-60) * 2);
    position: relative;
}
.d-Top__title{
    margin-bottom: var(--font-size-md);
    text-wrap: pretty;
}
.d-Top__text{
    margin-bottom: var(--spacing-60);
}
.d-Top__text ul{
    list-style: disc;
    margin-left: 20px;
}
.d-Top__left__Inner{
    max-width: 550px;
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 10px;
}
.d-Top__right{
    display: flex;
    justify-content: flex-end;
}
.d-Top__right .video-card{
    width: 450px;
    height: 800px;
}
.d-Top__right .video-wrapper video{
    width: 100%;
}
.d-Top__info{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-40);
}
.d-Top__info__Item{
    display: flex;
    align-items: center;
    gap: 16px;
}
.dtiI__icon{
    width: 52px;
    height: 52px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--color-beige);
    border-radius: 6px;
}
.dtiI__text{
    line-height: 1.2;
}
.dtiI__text__value{
    font-size: var(--font-size-lg);
}
.d-Top__buttons{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 12px;
    margin-top: auto;
}
.d-Top__buttons [data-type="button"] {
    grid-column: span 2 / span 2;
}
.indications-row{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: var(--spacing-32);
}
.ib__Button{
    font-size: var(--font-size-xl);
    width: fit-content;
    pointer-events: none;
}
.ir__Column__Item{
    display: flex;
    align-items: center;
    min-height: 75px;
    gap: 16px;
    font-size: var(--font-size-md);
    border-bottom: 1px solid rgba(2, 2, 2, 0.1);
}
.media-swiper{
    height: 829px;
}
.media-swiper-slide .video-card,
.media-swiper-slide .video-wrapper,
.media-swiper-slide .video-wrapper video{
    height: 100%;
    max-width: 465px;
}
.media-swiper-slide img{
    border-radius: 12px;
    height: 100%;
    object-fit: contain;
}
.center-accordion__List{
    margin: 30px 0;
}
.center-accordion__Item{
    opacity: 0.6;
}
.center-accordion__Item.is-opened, .center-accordion__Item:hover{
    opacity: 1;
}
.center-accordion__Item__Title{
    font-size: var(--font-size-lg);
    font-family: --font-serif;
    padding: 25px 0 25px 10px;
    border-bottom: 1px solid rgba(2, 2, 2, 0.1);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
}
.center-accordion__Item__Title::after{
    width: 32px;
    height: 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    content: '+';
    background: #02020208;
    border-radius: 4px;
}
.center-accordion__Item__Title.is-opened{
    border-color: rgba(2, 2, 2, 1);
}
.center-accordion__Item__Title.is-opened::after{
    background: rgba(2, 2, 2, 1);
    content: '-';
    color: #fff;
}
.center-accordion__Item__Text{
    padding: 20px 0;
    font-size: var(--font-size-md);
    display: none;
}
.center-accordion__Item.is-opened .center-accordion__Item__Text{
    display: block;
}
.center-accordion__Item__Text ul{
    list-style: disc;
    margin-left: 20px;
    margin-top: 20px;
}
.center-accordion__Item__Text ul li{
    margin-bottom: 10px;
}
.d-bottom{
    font-size: var(--font-size-md);
}
.d-bottom h2, .d-bottom h3, .d-bottom h4{
    color: var(--color-text-primary);
}
@media screen and (max-width: 990px){
    .d-Top__info{
        display: flex;
        flex-direction: column;
    }
    .d-Top__right .video-card {
        width: auto;
        height: auto;
    }
    .d-Top{
        padding-bottom: 75px;
    }
    .d-Top__buttons{
        position: absolute;
        bottom: 0;
        grid-template-columns: repeat(3, 1fr);
        grid-template-rows: unset;
        width: 100%;
    }
    .d-Top__buttons button {
        grid-column: auto;
    }
}
@media screen and (max-width: 690px){
    .d-Top__buttons{
        display: flex;
        flex-direction: column;
        position: static;
    }
    .d-Top{
        display: flex;
        flex-direction: column-reverse;
        padding-bottom: 0;
        margin-bottom: 60px;
    }
    .d-Top__left__Inner{
        max-width: none;
    }
    .d-Top__right{
        justify-content: center;
        margin-bottom: 20px;
    }
    .d-Top__info{
        gap: 15px;
    }
    .d-Top__info{
        margin-bottom: 15px;
    }
    .ir__Column:not(.--active){
        display: none;
    }
    .indications-row.indications-content{
        display: block;
    }
    .indications-row.indications-buttons{
        display: flex;
        justify-content: space-between;
        gap: 8px;
    }
    .ib__Button{
        pointer-events: auto;
        font-size: 14px;
        display: flex;
        height: 48px;
        justify-content: center;
        align-items: center;
        border-radius: 10px;
        background: rgba(2, 2, 2, 0.03);
        flex-grow: 1;
    }
    .ib__Button.--active{
        background: var(--color-text-primary);
        color: #ffffff;
        padding: 0 20px;
    }
    .double_half .media-swiper-wrapper {
        margin-top: 20px;
    }

}

/* 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/js/idea/video_extension/style.css?17854435603762 */
/* /local/templates/marygold_2026/components/bitrix/news/services/bitrix/news.detail/.default/style.css?17889097385206 */
/* /local/templates/marygold_2026/components/bitrix/news.list/staff_grid/style.css?17860072373679 */
