

/* Start:/local/templates/tsvostok_v2/components/bitrix/news/video/style.css?17862761765247*/
body.shorts-open {
    overflow: hidden;
}
.shorts-modal {
    position: fixed;
    top: 0;
    left: 0;
    display: none;
    width: 100vw;
    height: 100dvh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.shorts-modal.is-active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.shorts-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.shorts-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
    height: 85dvh;
    max-height: 800px;
    z-index: 10;
    display: flex;
    flex-direction: column;
}

.shorts-video {
    position: relative;
    width: 100%;
    height: 100%;
    background: #000;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

.shorts-player-host,
.shorts-player-host > div {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    z-index: 1;
}

.shorts-gesture-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 5;
    cursor: pointer;
}

.shorts-top {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    padding: 16px;
    padding-top: max(16px, env(safe-area-inset-top));
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 20;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.6) 0%, transparent 100%);
    pointer-events: none;
}

.shorts-top > * {
    pointer-events: auto; 
}

.shorts-title {
    color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    font-size: 15px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    max-width: 80%;
    line-height: 1.4;
    word-wrap: break-word;
}

.shorts-close {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 18px;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.shorts-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.shorts-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 0 16px max(16px, env(safe-area-inset-bottom)) 16px;
    z-index: 20;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, transparent 100%);
}

.shorts-progress {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    margin-bottom: 12px;
    cursor: pointer;
    position: relative;
    transition: height 0.2s ease;
}

.shorts-progress:hover {
    height: 5px;
}

.shorts-progress-fill {
    height: 100%;
    background: #ffffff;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.4);
}

.shorts-controls {
    display: flex;
    gap: 12px;
}

.shorts-play,
.shorts-sound {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #ffffff;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    font-size: 16px;
}

.shorts-play:hover,
.shorts-sound:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.shorts-play:active,
.shorts-sound:active {
    transform: scale(0.95);
}

.shorts-prev,
.shorts-next {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: #ffffff;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.shorts-prev:hover,
.shorts-next:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.1);
    border-color: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
    .shorts-wrapper {
        max-width: 100%;
        height: 100dvh;
        max-height: 100dvh;
    }

    .shorts-video {
        border-radius: 0;
        box-shadow: none;
    }
    
    .shorts-title {
        font-size: 14px;
    }
}

@media (max-height: 500px) and (orientation: landscape) {
    .shorts-wrapper {
        max-width: 300px;
        height: 100dvh;
    }
}

.shorts-wrapper svg{
	stroke: transparent;
}
/* End */


/* Start:/local/templates/tsvostok_v2/components/bitrix/breadcrumb/.default/style.min.css?1762822687341*/
.breadcrumb{display:flex;align-items:center;justify-content:flex-start;gap:8px;margin-bottom:10px}.breadcrumb-item,.breadcrumb-item a,.breadcrumb-item span{display:inline-block;font-size:14px;font-weight:400;line-height:16px;color:var(--secondary-color)}.breadcrumb-item a{text-decoration:none}.breadcrumb-item>span{color:var(--ghost-color)}
/* End */


/* Start:/local/templates/tsvostok_v2/components/bitrix/catalog.section.list/sections_video/style.css?1786276176632*/
.video-sections {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 30px;
    overflow: hidden;
    overflow-x: auto;
    margin-bottom: 20px;
}

@media (min-width: 576px) {
    .video-sections {
        gap: 26px;
        margin-bottom: 42px;
    }
}

.video-sections a,
.video-sections span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 16px;
    color: var(--ghost-color);
    text-decoration: none;
    cursor: pointer;
}

.video-sections span.is-active{
    color: var(--primary-color-hover);
}

/* End */


/* Start:/local/templates/tsvostok_v2/components/bitrix/news/video/bitrix/news.list/.default/style.css?17889202863514*/
.video-list{
    margin-bottom: 16px;
}

@media(min-width: 992px){
    .video-list{
        margin-bottom: 20px;
    }
}

.video-list-header{
    gap: 6px;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--heading-color);
    text-decoration: none;
    margin-bottom: 24px;
}

@media(min-width: 576px){
    .video-list-header{
        gap: 10px;
    }
}

@media(min-width: 767px){
    .video-list-header{
        font-size: 40px;
        letter-spacing: 0.5px;
        margin-bottom: 40px;
    }
}

.video-list-header svg{
    width: 32px;
    height: 32px;
}

@media(min-width: 767px){
    .video-list-header svg{
        margin-top: 7px;
    }
}

.video-list-header svg path{
    stroke: var(--heading-color);
}

.video-item{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 22px;
}

@media(min-width: 992px) {
    .video-item{
        padding-bottom: 40px;
    }
}

.video-item-iframe {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 4 / 2.5;
    border-radius: 2px;
    background: #000;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 14px;
}


.video-item-iframe iframe{
    width: 100%;
    height: calc(100% + 8px);
    object-fit: cover;
    pointer-events: none; 
}

.video-item-iframe iframe,
.video-item-iframe div[id^="player-"] {
    pointer-events: none !important;
}

.video-item-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.video-item-poster::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.3); /* 30% затемнения */
}

.video-item-poster.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-item-duration{
    position: absolute;
    bottom: 20px;
    right: 20px;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    color: #fff;
    z-index: 2;
}

@media(min-width: 768px) {
    .video-item-duration{
        right: 30px;
    }
}

.video-item-name{
    font-weight: 500;
    font-size: 22px;
    line-height: 1.2;
    color: var(--heading-color);
    text-decoration: none;
    word-break: break-word;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-decoration: none;
    display: -webkit-box;
    overflow: hidden;

    margin-bottom: 4px;
}

@media(min-width: 992px) {
    .video-item-name{
         font-size: 20px;
        line-height: 1.4;
    }
}

.video-item-date{
    gap: 6px;
    font-weight: 400;
    font-size: 12px;
    line-height: 1.4;
    color: var(--secondary-color);
    margin-top: auto;
}

.video-item-date svg{
    min-width: 3px;
    width: 3px;
    stroke: transparent;
}

.video-item-frame video{
    width: 100%;
    height: calc(100vh - 64px);
}

.fancybox__carousel .fancybox__slide.has-iframe .fancybox__content, .fancybox__carousel .fancybox__slide.has-map .fancybox__content, .fancybox__carousel .fancybox__slide.has-pdf .fancybox__content{
    height: 98% !important;
}

.fancybox__thumbs{
    display: none;
}
/* End */


/* Start:/local/templates/tsvostok_v2/components/bitrix/news/video/bitrix/news.list/shorts/style.css?17889203033336*/
.video-list-shorts{
    margin-bottom: 16px;
}

@media(min-width: 767px){
    .video-list-shorts{
        margin-bottom: 20px;
    }
}

.video-list-shorts-header{
    gap: 6px;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    color: var(--heading-color);
    text-decoration: none;
    margin-bottom: 24px;
}

@media(min-width: 576px){
    .video-list-shorts-header{
        gap: 10px;
    }
}

@media(min-width: 767px){
    .video-list-shorts-header{
        font-size: 40px;
        letter-spacing: 0.5px;
        margin-bottom: 40px;
    }
}

.shorts-slider.owl-carousel .owl-stage-outer{
    overflow: visible;
}

@media(min-width: 576px){
    .shorts-slider.owl-carousel .owl-stage-outer{
        overflow: hidden;
    }
}

.video-item-shorts{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding-bottom: 22px;
}

@media(min-width: 992px) {
    .video-item-shorts{
        padding-bottom: 40px;
    }
}

.video-item-shorts-container{
    text-decoration: none;
}

.video-item-shorts-iframe {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    border-radius: 2px;
    background: #000;
    aspect-ratio: 2 / 3.5;
    overflow: hidden;
    cursor: pointer;
    margin-bottom: 12px;
}

@media(min-width: 768px) {
    .video-item-shorts-iframe{
        margin-bottom: 14px;
    }
}

.video-item-shorts-iframe iframe{
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none; 
}

.video-item-shorts-iframe iframe,
.video-item-shorts-iframe div[id^="player-"] {
    pointer-events: none !important;
}

.video-item-shorts-poster {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.video-item-shorts-poster.is-hidden {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.video-item-shorts-name{
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    color: var(--heading-color);
    text-decoration: none;
    word-break: break-word;
    white-space: normal;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    margin-bottom: 4px;
}

@media(min-width: 992px) {
    .video-item-shorts-name{
        font-size: 20px;
        line-height: 1.4;
    }
}

.video-item-shorts-frame video{
    width: 100%;
    height: calc(100vh - 64px);
}

.shorts-slider .owl-nav {
    display: none;
}

.shorts-list-nav > .owl-prev, 
.shorts-list-nav > .owl-next {
    display: flex;
    align-items: center;
    width: 24px;
    height: 24px;
    background-color: transparent;
    border: 0;
    box-shadow: none;
    padding: 0;
}

.shorts-list-nav > .owl-prev svg path, 
.shorts-list-nav > .owl-next svg path {
    stroke: #D1D5DB;
}

.shorts-list-nav > .owl-prev:hover svg path, 
.shorts-list-nav > .owl-next:hover svg path {
    stroke: #0F1523;
}

.shorts-list-nav > .owl-prev.disabled svg, 
.shorts-list-nav > .owl-next.disabled svg {
    opacity: 0.8;
}
/* End */
/* /local/templates/tsvostok_v2/components/bitrix/news/video/style.css?17862761765247 */
/* /local/templates/tsvostok_v2/components/bitrix/breadcrumb/.default/style.min.css?1762822687341 */
/* /local/templates/tsvostok_v2/components/bitrix/catalog.section.list/sections_video/style.css?1786276176632 */
/* /local/templates/tsvostok_v2/components/bitrix/news/video/bitrix/news.list/.default/style.css?17889202863514 */
/* /local/templates/tsvostok_v2/components/bitrix/news/video/bitrix/news.list/shorts/style.css?17889203033336 */
