

/* Start:/local/templates/ksrk2025/components/bitrix/news.list/videoarchive.cover/style.css?17683988573653*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f2ede9;
    color: #fff;
}
#videolibrary_cover {
    width: 100%;
    position: relative;
}
#videolibrary_cover .content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding: 0 20px;
    position: relative;
    width: 100%;
    min-height: 324px;
    max-height: 80vh;
    overflow: hidden;
    background-color: #000;
}
#videolibrary_cover .background-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#videolibrary_cover .background-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
#videolibrary_cover .background-shadow {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient(
        to right,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.75) 35%,
        rgba(0,0,0,0.4) 55%,
        rgba(0,0,0,0) 75%
    );
}
#videolibrary_cover .detail {
    position: relative;
    z-index: 3;
    max-width: 640px;
}
#videolibrary_cover .detail * {
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}
#videolibrary_cover .title {
    font-size: 42px;
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 16px;
    color: #fff;
	text-align: left;
	font-family: Tahoma, sans-serif;
}
#videolibrary_cover .pre_text {
    font-size: 16px;
    line-height: 1.6;
    color: #ddd;
    max-width: 520px;
	font-family: Tahoma, sans-serif;
}
#videolibrary_cover .link_wrap {
    position: relative;
    z-index: 3;
    margin-top: 24px;
	font-family: Tahoma, sans-serif;
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    width: 100%;
    flex-direction: column;
}
#videolibrary_cover .link {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 12px 26px;
    border-radius: 6px;

    background: transparent;
    border: 1px solid rgba(255,255,255,0.8);

    color: #fff;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;

    transition: 
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease;
}
/* Hover */
#videolibrary_cover .link:hover {
    background: #fff;
    color: #111;
    border-color: #fff;
}
@media (max-width: 768px) {
    #videolibrary_cover .content {
        height: 500px;
    }
}
@media (min-width: 768px) {
    #videolibrary_cover .content {
        justify-content: flex-end;
        padding-bottom: 32px;
    }
    #videolibrary_cover .title {
        font-size: 28px;
    }
    #videolibrary_cover .pre_text {
        font-size: 14px;
    }
    #videolibrary_cover .link_wrap {
        flex-direction: row;
        justify-content: flex-start;
    }
}
@media (min-width: 1020px) {
    #videolibrary_cover .content {
        min-height: 400px;
        padding-left: 50px;
    }
}
@media (max-width: 1024px) {
    #videolibrary_cover .content {
        min-height: 400px;
    }
	#videolibrary_cover .pre_text {
        font-size: 16px;
    }
}
@media (min-width: 1200px) {
    #videolibrary_cover .content {
        min-height: 500px;
    }
	#videolibrary_cover .pre_text {
        font-size: 16px;
    }
}
@media (min-width: 1400px) {
    #videolibrary_cover .content {
        min-height: 600px;
        padding-left: 80px;
    }
	#videolibrary_cover .pre_text {
        font-size: 16px;
    }
}
@media (min-width: 1600px) {
    #videolibrary_cover .content {
        min-height: 600px;
        padding-left: 120px;
    }
	#videolibrary_cover .pre_text {
        font-size: 16px;
    }
}
/* End */


/* Start:/local/templates/ksrk2025/components/bitrix/news.list/videoarchive.latest.video/style.css?17683895905478*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f2ede9;
    color: #fff;
}
#videolibrary_video_latiest {
    width: 100%;
    position: relative;
}
#videolibrary_video_latiest .video-modal__content {
    animation: fadeUp 0.3s ease;
}
/* Контейнер списка видео */
#videoList {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
#videoList .general_title {
    position: relative;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #5a4f4f;
    text-align: center;
	font-family: Tahoma, sans-serif;
}
#videoList > .general_title::before {
    content: "";
    display: block;
    width: 100px;
    height: 2px;
    background: #b8860b;
    position: absolute;
    bottom: -10px;
    left: 50%;
    margin-left: -50px;
}
/* Сетка видео */
#videoList .video-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}
/* Блок одного видео */
#videoList .video-item {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
}
#videoList .video-item video.video-thumb {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform 0.3s ease;
}
/* При наведении видео */
#videoList .video-item:hover video.video-thumb {
    transform: scale(1.05);
}
/* Информация о видео */
#videoList .video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    padding: 10px;
    color: #fff;
}
#videoList .video-title {
    font-size: 14px;
    font-weight: 600;
    margin: 0;
	font-family: Tahoma, sans-serif;
}
#videoList .video-duration {
    font-size: 12px;
    color: #ccc;
    margin: 0;
	font-family: Tahoma, sans-serif;
}
#videolibrary_video_latiest .video-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}
#videolibrary_video_latiest .video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
#videolibrary_video_latiest .video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}
#videolibrary_video_latiest .video-modal__content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    width: 90%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}
#videolibrary_video_latiest .video-modal video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    z-index: 1;
}
#videolibrary_video_latiest .video-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
	min-width: 0px;
	padding: 0px;
	line-height: 0px;
	font-weight: 200;
}
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: scale(0.95);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}
@media (min-width: 570px) {
    #videoList {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        max-width: 540px;
        margin: 40px auto;
        padding: 0 38px;
        margin: 0;
    }
}
@media (min-width: 768px) {
    
    #videoList {
        max-width: 720px;
        margin: 40px auto;
        padding: 0 38px;
        margin: 0 auto;
    }
	#videoList .video-item {
		height: 180px;
		width: 250px;
	}
}
@media (min-width: 1020px) {
    #videoList {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        max-width: 960px;
        margin: 0 auto;
        padding: 30px 50px;
    }
    #videoList .video-items {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    #videoList .video-item {
        width: 300px;
        height: 170px;
    }
    #videoList .general_title {
        font-size: 32px;
    }
    #videoList .video-items {
        gap: 40px;
    }
}
@media (max-width: 1024px) {
    #videolibrary_video_latiest .video {
        padding: 10px 22px;
        font-size: 14px;
    }
}
@media (min-width: 1200px) {
    #videoList {
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        max-width: 1140px;
        margin: 0 auto;
        padding: 30px 50px;
    }
	#videoList .video-item {
		width: 330px;
		height: 200px;
	}
}
@media (min-width: 1400px) {
    #videoList {
		display: flex;
        flex-direction: column ;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        max-width: 1320px;
        margin: 0 auto;
        padding: 30px 60px;
    }
	#videoList .video-item {
		width: 360px;
		height: 220px;
	}
}
@media (min-width: 1600px) {
    #videoList {
		display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        justify-content: center;
        align-items: center;
        max-width: 1550px;
        margin: 0 auto;
        padding: 30px 120px;
    }
	#videoList .video-item {
		width: 400px;
		height: 240px;
	}
}
/* End */


/* Start:/local/components/ksrk/videoarchive.category/templates/default/style.css?176839531210483*/
/* ------------------ Сброс ------------------ */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f2ede9;
    color: #fff;
}
/* ------------------ Контейнер ------------------ */
#videolibrary_category {
    width: 100%;
    position: relative;
	padding-bottom: 30px;
}
#videolibrary_category .general_title {
    font-size: 32px;
    font-weight: 700;
    color: #5a4f4f;
    text-align: center;
    margin: 20px 0;
	font-family: Tahoma, sans-serif;
}
/* ------------------ Горизонтальный скролл ------------------ */
#videolibrary_category .video-scroll-container {
    position: relative;
    width: 100%;
    padding: 0 10px; /* отступы по умолчанию */
}
#videolibrary_category .video-items {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 330px; 
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 10px;
    -ms-overflow-style: none;  /* IE и Edge */
    scrollbar-width: none;
}
/* Скрытие полосы прокрутки */
#videolibrary_category .video-items::-webkit-scrollbar {
    display: none;
}
#videolibrary_category .video-items::-webkit-scrollbar-thumb {
    background-color: rgba(0,0,0,0.3);
    border-radius: 4px;
}
#videolibrary_category .video-items::-webkit-scrollbar-track {
    background: transparent;
}
/* ------------------ Кнопки прокрутки ------------------ */
#videolibrary_category .scroll-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.5);
    border: none;
    border-radius: 50%;
    font-size: 24px;
    color: #fff;
    cursor: pointer;
	min-width: 0px;
	padding: 0px;
}
#videolibrary_category .scroll-btn.left { left: 10px; }
#videolibrary_category .scroll-btn.right { right: 10px; }
/* ------------------ Видео блок ------------------ */
#videolibrary_category .video-item {
    position: relative;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    background: #000;
    width: 100%;
    height: 220px;
    min-width: 250px;
}
#videolibrary_category .video-item video.video-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
#videolibrary_category .video-item:hover video.video-thumb {
    transform: scale(1.05);
}
/* Информация о видео */
#videolibrary_category .video-info {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0));
    padding: 10px;
    color: #fff;
}
#videolibrary_category .video-title {
    font-size: 14px;
    font-weight: 600;
	font-family: Tahoma, sans-serif;
}
#videolibrary_category .video-duration {
    font-size: 12px;
    color: #ccc;
}
/* ------------------ Модалка ------------------ */
#videolibrary_category .video-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}
#videolibrary_category .video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
#videolibrary_category .video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    z-index: 1;
}
#videolibrary_category .video-modal__content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    width: 90%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    animation: fadeUp 0.3s ease;
}
#videolibrary_category .video-modal video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
}
#videolibrary_category .video-modal__close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 5;
    width: 40px;
    height: 40px;
    background: rgba(0,0,0,0.6);
    border: none;
    border-radius: 50%;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
	min-width: 0px;
	padding: 0px;
	line-height: 0px;
	font-weight: 200;
}

@keyframes fadeUp {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

/* ------------------ Контрольные точки ------------------ */

/* От 570px */
@media (min-width: 570px) {
    #videolibrary_category .video-items { grid-auto-columns: 230px; }
    #videolibrary_category .video-item { min-width: 230px; height: 170px; }
}

/* От 768px */
@media (min-width: 768px) {
    #videolibrary_category .video-scroll-container { padding: 0 40px; }
    #videolibrary_category .scroll-btn.left { left: 0px; }
    #videolibrary_category .scroll-btn.right { right: 0px; }
    #videolibrary_category .video-items { grid-auto-columns: 250px; }
    #videolibrary_category .video-item { min-width: 250px; height: 180px; }
    #videolibrary_category .general_title { text-align: left; padding-left: 40px;}
}

/* От 1020px */
@media (min-width: 1020px) {
    #videolibrary_category .video-scroll-container { padding: 0 50px; }
    #videolibrary_category .scroll-btn.left { left: 8px; }
    #videolibrary_category .scroll-btn.right { right: 8px; }
    #videolibrary_category .video-items { grid-auto-columns: 300px; }
    #videolibrary_category .video-item { min-width: 300px; height: 170px; }
    #videolibrary_category .general_title { padding-left: 50px;}
}

/* От 1200px */
@media (min-width: 1200px) {
    #videolibrary_category .video-scroll-container { padding: 0 60px; }
    #videolibrary_category .scroll-btn.left { left: 18px; }
    #videolibrary_category .scroll-btn.right { right: 18px; }
    #videolibrary_category .video-items { grid-auto-columns: 330px; }
    #videolibrary_category .video-item { min-width: 330px; height: 200px; }
    #videolibrary_category .general_title { padding-left: 60px;}
}

/* От 1400px */
@media (min-width: 1400px) {
    #videolibrary_category .video-scroll-container { padding: 0 70px; }
    #videolibrary_category .scroll-btn.left { left: 25px; }
    #videolibrary_category .scroll-btn.right { right: 25px; }
    #videolibrary_category .video-items { grid-auto-columns: 360px; }
    #videolibrary_category .video-item { min-width: 360px; height: 220px; }
    #videolibrary_category .general_title { padding-left: 70px;}
}

/* От 1600px */
@media (min-width: 1600px) {
    #videolibrary_category .video-scroll-container { padding: 0 120px; }
    #videolibrary_category .scroll-btn.left { left: 60px; }
    #videolibrary_category .scroll-btn.right { right: 60px; }
    #videolibrary_category .video-items { grid-auto-columns: 400px; }
    #videolibrary_category .video-item { min-width: 400px; height: 240px; }
    #videolibrary_category .general_title { padding-left: 120px;}
}
#videolibrary_category .video-modal__content {
    border: 2px solid rgba(255,255,255,0.1);
}
/* ------------------ Линия под заголовком ------------------ */
#videolibrary_category .bottom_line {
    width: 60px;                 
    height: 2px;                 
    background-color: #b8860b;   
    margin: 0 auto 20px auto;    
    border-radius: 2px;         
    width: 90%;
}
@media (min-width: 768px) {
    #videolibrary_category .bottom_line {
        margin-left: 40px;  
        margin-right: 40px;
        width: 90%;
    }
}
@media (min-width: 1020px) {
    #videolibrary_category .bottom_line {
        margin-left: 50px;
    }
}
@media (min-width: 1200px) {
    #videolibrary_category .bottom_line {
        margin-left: 60px;
    }
}
@media (min-width: 1400px) {
    #videolibrary_category .bottom_line {
        margin-left: 70px;
        width: 90.8%;
    }
}
@media (min-width: 1600px) {
    #videolibrary_category .bottom_line {
        margin-left: 120px;
        width: 85%;
    }
}
/* Стили для блока плейлиста */
#videolibrary_category .playlist-item {
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #b8860b; 
    border-radius: 10px;
    cursor: pointer;
    text-align: center;
    width: 100%;
    height: 220px; 
    min-width: 330px; 
    transition: transform 0.3s ease, background-color 0.3s ease;
}
#videolibrary_category .playlist-item:hover {
    background-color: #a07509;
}
#videolibrary_category .playlist-item a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    color: #fff;
    text-decoration: none;
}
#videolibrary_category .playlist-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    font-weight: 600;
}
#videolibrary_category .playlist-icon {
    font-size: 40px;
    margin-bottom: 10px;
}
#videolibrary_category .playlist-text {
    font-size: 18px;
}
@media (min-width: 768px) {
    #videolibrary_category .playlist-item { min-width: 250px; height: 180px; }
}
@media (min-width: 1020px) {
    #videolibrary_category .playlist-item { min-width: 250px; height: 170px; }
}
@media (min-width: 1200px) {
    #videolibrary_category .playlist-item { min-width: 330px; height: 200px; }
}
@media (min-width: 1400px) {
    #videolibrary_category .playlist-item { min-width: 360px; height: 220px; }
}
@media (min-width: 1600px) {
    #videolibrary_category .playlist-item { min-width: 400px; height: 240px; }
}
#videolibrary_category .playlist-thumb {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    overflow: hidden;
}
#videolibrary_category .playlist-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
#videolibrary_category .playlist-item:hover img {
    transform: scale(1.05);
}
#videolibrary_category .playlist-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4); 
    transition: background 0.3s ease;
}
#videolibrary_category .playlist-item:hover .playlist-overlay {
    background: rgba(0,0,0,0.6); 
}
#videolibrary_category .playlist-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-weight: 600;
}
#videolibrary_category .playlist-icon {
    font-size: 40px;
    margin-bottom: 10px;
}
#videolibrary_category .playlist-text {
    font-size: 18px;
	font-family: Tahoma, sans-serif;
	text-align: center;
}
#videolibrary_category p { margin-bottom: 0px;}
/* End */
/* /local/templates/ksrk2025/components/bitrix/news.list/videoarchive.cover/style.css?17683988573653 */
/* /local/templates/ksrk2025/components/bitrix/news.list/videoarchive.latest.video/style.css?17683895905478 */
/* /local/components/ksrk/videoarchive.category/templates/default/style.css?176839531210483 */
