

/* Start:/bitrix/components/bitrix/system.pagenavigation/templates/modern/style.min.css?1667588633675*/
div.modern-page-navigation{padding:.5em 0}div.modern-page-navigation a,span.modern-page-current,span.modern-page-dots{border-left-width:1px;border-left-style:solid;padding-left:.75em;padding-right:.5em;text-decoration:none}div.modern-page-navigation a.modern-page-previous{border-right-width:1px;border-right-style:solid;border-left:0}div.modern-page-navigation a.modern-page-first,div.modern-page-navigation span.modern-page-first{border-left:0;padding-left:.5em}span.modern-page-current{font-weight:var(--ui-font-weight-bold)}div.modern-page-navigation a,span.modern-page-current,div.modern-page-navigation a.modern-page-previous,span.modern-page-dots{border-color:#cdcdcd}
/* End */


/* Start:/local/components/digt/videos.list/templates/.default/style.css?179361487726213*/
/* Футер сайта не липкий: на странице без видео прижимаем его к низу окна.
   Стили компонента подключаются только на /videos, остальные страницы не затронуты */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.content {
    flex: 1 0 auto;
}

/* Сетка карточек повторяет /news: 3 в ряд, карточка 360x202, зазор 40 */
.videos {
    /* на десктопе под ссылками шапки уже есть свободное место (блок ссылок выше самих ссылок), здесь добавляем недостающее */
    padding-top: 16px;
    padding-bottom: 48px;
}

/* на телефоне шапка прокручивается в одну строку без запаса снизу: зазор до фильтра такой же, как после него (40px) */
@media (max-width: 800px) {
    .videos {
        padding-top: 32px;
    }
}

.videos__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0 40px;
}

/* Карточки одного ряда сетки одной высоты, строка «дата · просмотры» прижата к низу:
   без этого у видео без описания она стояла выше, чем у соседних («лесенка») */
.videos__item {
    display: flex;
    flex-direction: column;
    margin-bottom: 48px;
}

.videos__item .block_over_main_news_see2 {
    margin-top: auto;
}

.videos__cover {
    cursor: pointer;
    position: relative;
    display: block;
    border-radius: 6px;
    overflow: hidden;
}

.videos__cover .videos__poster {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 360 / 202;
    background-size: cover;
    background-position: center;
}

/* Описание под названием: одна строка, остальное по кнопке */
.videos__desc {
    position: relative;
    margin-top: 6px;
}

.videos__item .videos__desc-text {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
    margin: 0;
    overflow: hidden;
    overflow-wrap: anywhere;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    color: #454547;
    white-space: pre-line;
}

/* Полный текст: панель поверх сетки, чтобы раскрытие не растягивало ряд и не двигало соседние карточки */
.videos__desc-pop {
    position: absolute;
    top: -8px;
    left: -12px;
    right: -12px;
    z-index: 20;
    padding: 8px 12px 10px;
    border-radius: 6px;
    background: #fff;
    box-shadow: 0px 16px 24px rgba(40, 40, 42, 0.12), 0px 2px 6px rgba(40, 40, 42, 0.08), 0px 0px 1px rgba(40, 40, 42, 0.1);
}

.videos__desc-pop {
    display: none;
    cursor: pointer;
}

.videos__desc.is-open .videos__desc-pop {
    display: block;
}

/* обрезанный текст кликабелен */
.videos__item .videos__desc.is-truncated .videos__desc-text {
    cursor: pointer;
}

.videos__item .videos__desc.is-truncated .videos__desc-text:hover {
    color: #28282A;
}

.videos__item .videos__desc-text:focus-visible {
    outline: 2px solid #CC4533;
    outline-offset: 2px;
}

.videos__item .videos__desc-full {
    margin: 0;
    max-height: 60vh;
    overflow-y: auto;
    overflow-wrap: anywhere;
    font-size: 14px;
    font-weight: normal;
    line-height: 20px;
    color: #454547;
    white-space: pre-line;
}

.videos-form__input.videos-form__textarea {
    height: auto;
    padding: 10px 14px;
    font-family: inherit;
    line-height: 22px;
    resize: vertical;
}

/* Длительность в правом нижнем углу обложки */
.videos__duration {
    position: absolute;
    right: 8px;
    bottom: 8px;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(40, 40, 42, 0.8);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    line-height: 16px;
    font-variant-numeric: tabular-nums;
}

.videos__progress {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
}

.videos__progress[hidden] {
    display: none;
}

.videos__progress > span {
    display: block;
    width: 0;
    height: 100%;
    background: #CC4533;
}

.videos__play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    margin: -28px 0 0 -28px;
    /* обводка как у кнопок тегов, чтобы кнопка была видна на красной обложке */
    border: 1px solid #CFD1D6;
    border-radius: 50%;
    background: rgba(40, 40, 42, 0.72);
    color: #fff;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
    transition: background 0.15s ease, transform 0.15s ease;
}

.videos__item:hover .videos__play {
    background: #CC4533;
    transform: scale(1.08);
}

.videos__item:hover .block_over_main_news_name2 a {
    color: #CC4533;
}

.videos__item .block_over_main_news_name2 a {
    cursor: pointer;
}

/* название: максимум 2 строки, остальное скрыто (полный текст в title) */
.videos__item .block_over_main_news_name2 a.videos__name {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    overflow-wrap: anywhere;
}

/* Строка «дата · тег ещё (N) · Редактировать». Стили сайта ставят span отступ справа 8px, а ссылке 0
   (рассчитано на ссылку в конце строки), поэтому свои отступы обнуляем и задаём промежутки через gap */
.videos__item .block_over_main_news_see2 {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px 8px;
}

.videos__item .block_over_main_news_see2 > * {
    margin: 0;
}

/* Счётчик просмотров под видео: глаз и число, как у карточек статей */
.videos__item .block_over_main_news_see2 .videos__views {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.videos__item .videos__views img {
    display: block;
    flex: none;
}

.videos__item .block_over_main_news_see2 .videos__views .videos__views-n {
    display: inline;
    margin: 0;
}

.videos-form__input--short {
    max-width: 160px;
}

/* «ещё (N)» у карточки с несколькими тегами; подсказка со всеми тегами по наведению или фокусу */
.videos__item .block_over_main_news_see2 .videos__more {
    position: relative;
    border-bottom: 1px dashed #CFD1D6;
    cursor: default;
    outline: none;
}

/* «+N»: без пунктира, жирным, чтобы читалось как счётчик */
.videos__item .block_over_main_news_see2 .videos__more--plus {
    border-bottom: 0;
    font-weight: bold;
}

.videos__item .block_over_main_news_see2 .videos__more:hover,
.videos__item .block_over_main_news_see2 .videos__more:focus {
    color: #CC4533;
    border-bottom-color: #CC4533;
}

.videos__item .videos__more-list {
    display: none;
    position: absolute;
    left: 0;
    top: 100%;
    z-index: 10;
    margin: 0;
    padding: 12px 20px;
    min-width: 160px;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0 16px 24px rgba(40, 40, 42, 0.08), 0 2px 6px rgba(40, 40, 42, 0.06), 0 0 1px rgba(40, 40, 42, 0.06);
    box-sizing: border-box;
}

.videos__item .videos__more:hover .videos__more-list,
.videos__item .videos__more:focus .videos__more-list,
.videos__item .videos__more:focus-within .videos__more-list {
    display: block;
}

.videos__item .videos__more-list a {
    display: block;
    margin: 0;
    padding: 6px 0;
    font-size: 14px;
    line-height: 20px;
    color: #454547;
    white-space: nowrap;
}

.videos__item .videos__more-list a:hover {
    color: #CC4533;
}

.videos__item .block_over_main_news_see2 a.videos__edit:hover {
    color: #CC4533;
}

/* Первый запуск: инфоблока ещё нет (видно только администратору) */
.videos-install {
    padding: 28px 32px;
    border: 1px dashed #CFD1D6;
    border-radius: 6px;
    box-sizing: border-box;
}

.videos-install__title {
    margin: 0 0 12px;
    font-size: 20px;
    line-height: 26px;
    color: #28282A;
}

.videos-install__text {
    margin: 0 0 20px;
    font-size: 15px;
    line-height: 22px;
    color: #7E828B;
}

.videos-install__error {
    margin: 0 0 16px;
    font-size: 14px;
    color: #CC4533;
}

/* Фильтр по тегам */
/* Пункт «Добавить видео» в выпадашке шапки (разметка в /videos/index.php, только для админа).
   Дропдаун сайта привязан к центру (left: calc(50% + 40px)), нашему пункту нужна привязка к самой ссылке */
.videos_menu_admin {
    position: relative;
}

.videos_menu_admin .dropdown_menu_news {
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 32px;
    white-space: nowrap;
}

.videos_menu_admin .dropdown_menu_item_news {
    height: auto;
    margin: 0;
}

/* Форма загрузки в модальном окне */
.videos-modal {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(20, 20, 22, 0.7);
    box-sizing: border-box;
}

.videos-modal[hidden] {
    display: none;
}

.videos-modal__box {
    position: relative;
    width: 100%;
    max-width: 920px;
    max-height: 100%;
    padding: 32px;
    border-radius: 6px;
    background: #fff;
    overflow: auto;
    box-sizing: border-box;
    outline: none;
}

.videos-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: transparent;
    color: #7E828B;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.videos-modal__close:hover {
    background: #EDE2D8;
    color: #28282A;
}

.videos-modal .videos-form {
    margin: 0;
    padding: 0;
    border: 0;
}

/* Фильтр по тегам: выпадающий список, пункты это обычные ссылки (/videos/тег/) */
/* Панель над сеткой: фильтр по тегам и сортировка в одну строку */
.videos-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px 24px;
    margin: 0 0 40px;
}

.videos-filter {
    position: relative;
    display: block;
    width: fit-content;
    max-width: 100%;
    margin: 0;
}

.videos-filter__trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    max-width: 100%;
    padding: 9px 16px;
    border: 1px solid #CFD1D6;
    border-radius: 20px;
    background: transparent;
    font-size: 15px;
    line-height: 20px;
    color: #7E828B;
    cursor: pointer;
    transition: border-color 0.1s ease, background 0.1s ease, color 0.1s ease;
}

.videos-filter__trigger b {
    color: #28282A;
    font-weight: bold;
}

.videos-filter__trigger svg {
    flex: none;
    transition: transform 0.15s ease;
}

.videos-filter__trigger:hover,
.videos-filter__trigger[aria-expanded="true"] {
    border-color: #CC4533;
}

.videos-filter__trigger[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.videos-filter__trigger.is-active {
    border-color: #CC4533;
    background: #CC4533;
    color: #fff;
}

.videos-filter__trigger.is-active b {
    color: #fff;
}

.videos-filter__trigger:focus-visible,
.videos-filter__item:focus-visible {
    outline: 2px solid #CC4533;
    outline-offset: 2px;
}

.videos-filter__menu {
    position: absolute;
    left: 0;
    top: calc(100% + 6px);
    z-index: 20;
    min-width: 280px;
    max-width: calc(100vw - 32px);
    padding: 8px 0;
    border-radius: 5px;
    background: #fff;
    box-shadow: 0px 16px 24px rgba(40, 40, 42, 0.08), 0px 2px 6px rgba(40, 40, 42, 0.06), 0px 0px 1px rgba(40, 40, 42, 0.06);
}

.videos-filter__menu[hidden] {
    display: none;
}

.videos-filter__menu--sort {
    min-width: 220px;
}

.videos-filter__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 8px 20px;
    font-size: 15px;
    line-height: 22px;
    color: #454547;
    text-decoration: none;
    white-space: nowrap;
}

.videos-filter__item:hover,
.videos-filter__item:focus-visible {
    background: #F6F6F8;
    color: #CC4533;
}

.videos-filter__item.is-active {
    color: #CC4533;
    font-weight: bold;
}

.videos-filter__n {
    font-size: 12px;
    font-weight: normal;
    color: #7E828B;
}

.videos__item .block_over_main_news_see2 a.videos__tag:hover {
    color: #CC4533;
}

/* подгрузка при прокрутке */
.videos-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 1px;
    padding: 24px 0 8px;
}

.videos-loader[hidden] {
    display: none;
}

.videos-loader__spin {
    width: 28px;
    height: 28px;
    border: 3px solid #CFD1D6;
    border-top-color: #CC4533;
    border-radius: 50%;
    animation: videos-spin 0.8s linear infinite;
}

.videos-loader__spin[hidden],
.videos-loader__btn[hidden] {
    display: none;
}

.videos-loader__btn {
    padding: 10px 24px;
    font: inherit;
    font-size: 16px;
    color: #28282A;
    background: #fff;
    border: 1px solid #CFD1D6;
    border-radius: 8px;
    cursor: pointer;
}

.videos-loader__btn:hover {
    border-color: #CC4533;
    color: #CC4533;
}

@keyframes videos-spin {
    to {
        transform: rotate(360deg);
    }
}

.videos__empty {
    padding: 56px 16px;
    text-align: center;
}

.videos__empty-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: #F4F5F7;
    color: #CC4533;
}

.videos__empty-title {
    margin: 0 0 8px;
    font-size: 20px;
    font-weight: bold;
    line-height: 28px;
    color: #28282A;
}

.videos__empty-text {
    margin: 0 auto;
    max-width: 440px;
    font-size: 16px;
    line-height: 24px;
    color: #7E828B;
}

.videos__empty-link {
    display: inline-block;
    margin-top: 20px;
    padding: 10px 24px;
    border-radius: 4px;
    background: #CC4533;
    color: #fff;
    font-size: 15px;
    text-decoration: none;
}

.videos__empty-link:hover,
.videos__empty-link:focus-visible {
    background: #B53B2B;
    color: #fff;
}

/* Форма загрузки (только для администраторов) */
.videos-form {
    margin: 0 0 48px;
    padding: 28px 32px;
    border: 1px solid #CFD1D6;
    border-radius: 6px;
    background: #fff;
    box-sizing: border-box;
}

.videos-form__title {
    margin: 0 0 20px;
    font-size: 20px;
    line-height: 26px;
    color: #28282A;
}

.videos-form__row {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.videos-form__fields {
    flex: 1 1 auto;
    min-width: 0;
}

/* каждое поле отдельным блоком: одинаковый промежуток между полями независимо от того, что скрыто */
.videos-form__field + .videos-form__field {
    margin-top: 18px;
}

.videos-form__label {
    display: block;
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 18px;
    color: #7E828B;
}

.videos-form__input {
    width: 100%;
    height: 44px;
    padding: 0 14px;
    border: 1px solid #7E828B;
    border-radius: 4px;
    font-size: 16px;
    color: #28282A;
    box-sizing: border-box;
}

.videos-form__input:focus {
    outline: none;
    border-color: #28282A;
}

.videos-form__input::placeholder {
    color: #A9ACB3;
}

.videos-form__tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.videos-form__tag {
    position: relative;
    cursor: pointer;
}

.videos-form__tag input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.videos-form__tag span {
    display: inline-block;
    padding: 7px 14px;
    border: 1px solid #CFD1D6;
    border-radius: 18px;
    font-size: 14px;
    line-height: 18px;
    color: #28282A;
    transition: border-color 0.1s ease, background 0.1s ease, color 0.1s ease;
}

.videos-form__tag input:checked + span {
    border-color: #CC4533;
    background: #CC4533;
    color: #fff;
}

.videos-form__tag input:focus-visible + span {
    box-shadow: 0 0 0 2px rgba(204, 69, 51, 0.35);
}

/* выбор файла: кнопка в стиле кнопок формы, рядом имя файла */
.videos-form__file {
    display: block;
    max-width: 100%;
    font-size: 14px;
    color: #7E828B;
}

.videos-form__file::file-selector-button {
    height: 40px;
    margin: 0 12px 0 0;
    padding: 0 18px;
    border: 1px solid #CFD1D6;
    border-radius: 4px;
    background: #fff;
    color: #28282A;
    font-family: inherit;
    font-size: 15px;
    cursor: pointer;
    transition: border-color 0.15s ease, color 0.15s ease;
}

.videos-form__file:hover::file-selector-button {
    border-color: #CC4533;
    color: #CC4533;
}

.videos-form__file:focus-visible {
    outline: none;
}

.videos-form__file:focus-visible::file-selector-button {
    border-color: #CC4533;
    box-shadow: 0 0 0 2px rgba(204, 69, 51, 0.35);
}

.videos-form__preview {
    flex: 0 0 360px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 360 / 202;
    border-radius: 6px;
    background: #EDE2D8 center / cover no-repeat;
    color: #7E828B;
    font-size: 14px;
}

.videos-form__footer {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 24px;
}

.videos-form__submit {
    height: 44px;
    padding: 0 28px;
    border: 0;
    border-radius: 4px;
    background: #CC4533;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.15s ease;
}

.videos-form__submit:hover {
    background: #B03A2A;
}

.videos-form__submit:disabled {
    background: #CFD1D6;
    cursor: default;
}

.videos-form__delete {
    height: 44px;
    margin-left: auto;
    padding: 0 20px;
    border: 1px solid #CFD1D6;
    border-radius: 4px;
    background: #fff;
    color: #CC4533;
    font-size: 15px;
    cursor: pointer;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.videos-form__delete[hidden] {
    display: none;
}

.videos-form__delete:hover {
    border-color: #CC4533;
    background: #FBEFEC;
}

.videos-form__delete:disabled {
    color: #CFD1D6;
    border-color: #EDE2D8;
    background: #fff;
    cursor: default;
}

.videos-form__progress {
    flex: 0 0 200px;
    height: 6px;
    border-radius: 3px;
    background: #EDE2D8;
    overflow: hidden;
}

.videos-form__progress span {
    display: block;
    width: 0;
    height: 100%;
    background: #CC4533;
    transition: width 0.1s linear;
}

.videos-form__status {
    font-size: 14px;
    color: #7E828B;
}

.videos-form__status.is-error {
    color: #CC4533;
}

/* Плеер */
.vp {
    position: fixed;
    inset: 0;
    z-index: 100000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(20, 20, 22, 0.88);
    box-sizing: border-box;
}

.vp[hidden] {
    display: none;
}

.vp__box {
    position: relative;
    width: 100%;
    max-width: 1100px;
    outline: none;
}

.vp__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 12px;
}

.vp__title {
    min-width: 0;
    font-size: 18px;
    font-weight: bold;
    line-height: 24px;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vp__share {
    flex: none;
    margin-left: auto;
    height: 36px;
    padding: 0 14px;
    border: 0;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.vp__share:hover,
.vp__share:focus-visible {
    background: rgba(255, 255, 255, 0.24);
}

/* вторая кнопка (iframe, только админу) стоит рядом с «Поделиться» */
.vp__embed {
    margin-left: 0;
}

.vp__share-icon,
.vp__share-done {
    display: flex;
}

.vp__share-done,
.vp__share.is-done .vp__share-icon {
    display: none;
}

.vp__share.is-done .vp__share-done {
    display: flex;
}

.vp__share.is-done {
    background: #CC4533;
}

.vp__toast {
    position: absolute;
    top: 16px;
    left: 50%;
    max-width: calc(100% - 32px);
    padding: 8px 16px;
    border-radius: 18px;
    background: rgba(0, 0, 0, 0.82);
    color: #fff;
    font-size: 14px;
    line-height: 20px;
    white-space: nowrap;
    pointer-events: none;
    opacity: 0;
    transform: translate(-50%, -8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.vp__toast.is-visible {
    opacity: 1;
    transform: translate(-50%, 0);
}

/* на узком экране остаётся только значок */
@media (max-width: 520px) {
    .vp__share {
        width: 36px;
        padding: 0;
        justify-content: center;
    }

    .vp__share-text {
        display: none;
    }
}

.vp__close {
    flex: none;
    width: 36px;
    height: 36px;
    border: 0;
    border-radius: 50%;
    padding: 0;
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vp__close:hover {
    background: #CC4533;
}

.vp__stage {
    position: relative;
    background: #000;
    border-radius: 6px;
    overflow: hidden;
    user-select: none;
    -webkit-user-select: none;
}

.vp__stage:fullscreen {
    border-radius: 0;
}

.vp__video {
    display: block;
    width: 100%;
    max-height: calc(100vh - 140px);
    background: #000;
    cursor: pointer;
}

.vp__stage:fullscreen .vp__video {
    height: 100%;
    max-height: none;
}

.vp__big {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 72px;
    height: 72px;
    margin: -36px 0 0 -36px;
    padding: 0;
    border: 1px solid #CFD1D6;
    border-radius: 50%;
    background: rgba(204, 69, 51, 0.92);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* значок занимает половину круга, как на карточке (56px круг, 28px значок) */
.vp__big svg {
    width: 36px;
    height: 36px;
}

.vp.is-playing .vp__big,
.vp.is-error .vp__big {
    display: none;
}

.vp__message {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    margin-top: -12px;
    color: #fff;
    font-size: 16px;
    text-align: center;
}

.vp__controls {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 28px 14px 10px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
    color: #fff;
    transition: opacity 0.2s ease;
}

.vp.is-idle.is-playing .vp__controls {
    opacity: 0;
    pointer-events: none;
}

.vp.is-idle.is-playing .vp__video {
    cursor: none;
}

.vp__btn {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 32px;
    height: 32px;
    padding: 0 4px;
    border: 0;
    border-radius: 4px;
    background: transparent;
    color: #fff;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
}

.vp__btn:hover,
.vp__btn:focus-visible {
    background: rgba(255, 255, 255, 0.18);
}

.vp__btn svg {
    display: block;
}

.vp .vp__icon-pause,
.vp.is-playing .vp__icon-play,
.vp .vp__icon-muted,
.vp.is-muted .vp__icon-vol {
    display: none;
}

.vp.is-playing .vp__icon-pause,
.vp.is-muted .vp__icon-muted {
    display: block;
}

.vp__time {
    flex: none;
    font-size: 13px;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.vp__seek {
    position: relative;
    flex: 1 1 auto;
    height: 20px;
    cursor: pointer;
    touch-action: none;
    outline: none;
}

.vp__seek::before {
    content: "";
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    height: 4px;
    border-radius: 2px;
    background: rgba(255, 255, 255, 0.25);
}

.vp__buffered,
.vp__progress {
    position: absolute;
    top: 8px;
    left: 0;
    width: 0;
    height: 4px;
    border-radius: 2px;
}

.vp__buffered {
    background: rgba(255, 255, 255, 0.35);
}

.vp__progress {
    background: #CC4533;
}

.vp__progress::after {
    content: "";
    position: absolute;
    top: -4px;
    right: -6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #fff;
}

.vp__seek:focus-visible::before {
    box-shadow: 0 0 0 2px rgba(255, 255, 255, 0.6);
}

.vp__vol {
    flex: none;
    width: 80px;
    accent-color: #CC4533;
    cursor: pointer;
}

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

    .videos-form__preview {
        flex-basis: 280px;
    }
}

@media (max-width: 767px) {
    .videos__grid {
        display: block;
    }

    .videos-modal {
        padding: 12px;
    }

    .videos-modal__box {
        padding: 24px 16px;
    }

    .videos-form {
        padding: 20px 16px;
    }

    .videos-form__row {
        flex-direction: column;
        gap: 20px;
    }

    .videos-form__preview {
        flex-basis: auto;
        width: 100%;
    }

    .videos-form__footer {
        flex-wrap: wrap;
    }

    .vp {
        padding: 12px;
    }

    .vp__vol {
        display: none;
    }

    .vp__controls {
        gap: 6px;
        padding: 20px 8px 6px;
    }
}

/* End */
/* /bitrix/components/bitrix/system.pagenavigation/templates/modern/style.min.css?1667588633675 */
/* /local/components/digt/videos.list/templates/.default/style.css?179361487726213 */
