

/* Start:/local/templates/ksrk2025/components/bitrix/news.list/videoarchive.section.cover/style.css?17683922213378*/
* {
    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;
	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;

    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;
	font-family: Tahoma, sans-serif;
    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;
    }
}
@media (min-width: 1200px) {
    #videolibrary_cover .content {
        min-height: 500px;
    }
}
@media (min-width: 1400px) {
    #videolibrary_cover .content {
        min-height: 600px;
        padding-left: 80px;
    }
}
@media (min-width: 1600px) {
    #videolibrary_cover .content {
        min-height: 600px;
        padding-left: 120px;
    }
}
/* End */


/* Start:/local/components/ksrk/videoarchive.video.list/templates/default/style.css?17685567569338*/
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
body {
    font-family: Tahoma, sans-serif;
    background-color: #f2ede9;
    color: #fff;
}
#videolibrary_detail {
    width: 100%;
    position: relative;
}
#videolibrary_detail .content {
    position: relative;
    width: 100%;
    min-height: 324px;
    overflow: hidden;
    background-color: #000;
    max-height: 80vh;
}
/* Background <picture> */
#videolibrary_detail .background-picture {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}
#videolibrary_detail .background-picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* Cinematic gradient overlay */
#videolibrary_detail .background-shadow {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient(
        to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.85) 20%,
        rgba(0,0,0,0.5) 45%,
        rgba(0,0,0,0) 100%
    );
}
#videolibrary_detail .detail {
    position: absolute;
    z-index: 3;
    bottom: 20px;
    left: 20px;
    width: 100%;
    max-width: 100%;
    padding: 0 15px;
    display: flex;
    flex-direction: column;
}
/* Text shadow for readability */
#videolibrary_detail .detail * {
    text-shadow: 0 1px 3px rgba(0,0,0,0.7);
}
/* Title */
#videolibrary_detail .title {
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.5;
    color: #fff;
	font-family: Tahoma, sans-serif;

}
/* Meta info */
#videolibrary_detail .meta_info {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
}
#videolibrary_detail .meta_info p {
    margin: 0;
    color: #fff;
    line-height: 1.5;
	font-family: Tahoma, sans-serif;
}
/* Short info */
#videolibrary_detail .pre_text,
#videolibrary_detail .category,
#videolibrary_detail .department {
    font-size: 16px;
    margin-bottom: 10px;
    color: #fff;
}
/* Button */
#videolibrary_detail .video {
    background: #e50914;
    color: #fff;
    font-weight: bold;
    padding: 12px 28px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.3s ease;
    margin-top: 15px;
    box-shadow: 0 0 12px rgba(229,9,20,0.4);
}
#videolibrary_detail .video:hover {
    background: #f6121d;
    transform: scale(1.05);
    box-shadow: 0 0 18px rgba(246,18,29,0.6);
}
#videolibrary_detail .desc_wrap {
    margin: 40px auto 0;
    padding: 30px 39px;
    max-width: 100%;
    color: #333;
    font-size: 15px;
    text-align: justify;
}
#videolibrary_detail .desc_title {
    line-height: 1.5;
    word-break: normal;
    color: #000;
}
#videolibrary_detail .description {
    line-height: 1.5;
    word-break: normal;
    color: #000;
}
#videolibrary_detail .video-modal__content {
    animation: fadeUp 0.3s ease;
}
/* Контейнер списка видео */
#videoList {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}
#videoList h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #5a4f4f;
	font-family: Tahoma, sans-serif;
	text-align: left;
}
/* Сетка видео */
#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: auto;
    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;
}
#videoList .video-duration {
    font-size: 12px;
    color: #ccc;
    margin: 0;
}
#videolibrary_detail .video-modal {
    position: fixed;
    inset: 0;
    display: none;
    z-index: 9999;
}
#videolibrary_detail .video-modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}
#videolibrary_detail .video-modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    z-index: 1;
}
#videolibrary_detail .video-modal__content {
    position: relative;
    z-index: 2;
    max-width: 960px;
    width: 90%;
    background: #000;
    border-radius: 12px;
    overflow: hidden;
}
#videolibrary_detail .video-modal video {
    width: 100%;
    height: auto;
    max-height: 70vh;
    display: block;
    z-index: 1;
}
#videolibrary_detail .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) {
    #videolibrary_detail .detail,
    #videolibrary_detail .desc_wrap {
        max-width: 540px;
    }
    #videolibrary_detail .desc_wrap {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        max-width: 540px;
        padding: 30px 38px;
        margin: 0px;
    }
    #videoList {
        max-width: 540px;
        margin: 40px auto;
        padding: 0 38px;
        margin: 0;
    }
}
@media (max-width: 768px) {
    #videolibrary_detail .content {
        height: 500px;
    }
    #videolibrary_detail .detail {
        padding: 0 20px;
    }
    #videolibrary_detail .title {
        font-size: 28px;
        line-height: 1.15;
    }
    #videolibrary_detail .meta_info {
        flex-direction: column;
        gap: 8px;
    }
    #videolibrary_detail .desc_wrap {
        font-size: 14px;
    }
}
@media (min-width: 768px) {
    #videolibrary_detail .detail {
        max-width: 720px;
    }
    #videolibrary_detail .desc_wrap {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        max-width: 720px;
        padding: 30px 38px;
        margin: 0px;
    }
    #videoList {
        max-width: 720px;
        margin: 40px auto;
        padding: 0 38px;
        margin: 0;
    }
	#videoList .video-item {
		width: 250px;
		height: 180px;
	}
	#videoList .video-item video.video-thumb {
		width: 100%;
		height: 100%;
		display: block;
		object-fit: cover;
		transition: transform 0.3s ease;
	}
}
@media (min-width: 1020px) {
    #videolibrary_detail .detail{
        max-width: 960px;
        padding: 0 30px;
    }
    #videolibrary_detail .desc_wrap {
        max-width: 1320px;
        margin: 0;
        padding: 30px 50px;
    }
    #videolibrary_detail .detail {
        bottom: auto;
        top: 50%;
        transform: translateY(-50%);
        width: 50%;
    }
    #videolibrary_detail .background-shadow {
    background: linear-gradient(
        to top right,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.85) 25%,
        rgba(0,0,0,0.5) 55%,
        rgba(0,0,0,0) 100%
    );
    }
    #videoList {
        max-width: 1320px;
        margin: 0;
        padding: 30px 50px;
    }
    #videoList .video-items {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    #videoList .video-item {
        width: 300px;
        height: 170px;
    }
}
@media (max-width: 1024px) {
    #videolibrary_detail .content {
        min-height: 400px;
    }
    #videolibrary_detail .title {
        font-size: 36px;
    }
    #videolibrary_detail .video {
        padding: 10px 22px;
        font-size: 14px;
    }
}
@media (min-width: 1200px) {
    #videolibrary_detail .content {
        min-height: 400px;
    }
    #videolibrary_detail .detail,
    #videolibrary_detail .desc_wrap {
        max-width: 1140px;
    }
	#videoList .video-item {
        width: 330px;
        height: 200px;
    }
}
@media (min-width: 1400px) {
    #videolibrary_detail .content {
        min-height: 400px;
    }
    #videolibrary_detail .detail {
        max-width: 1320px;
        padding: 0 40px;
    }
    #videolibrary_detail .desc_wrap {
        max-width: 1320px;
        margin: 0;
        padding: 30px 60px;
    }
    #videoList {
        max-width: 1320px;
        margin: 0;
        padding: 30px 77px;
    }
	#videoList .video-item {
        width: 360px;
        height: 220px;
    }
}
@media (min-width: 1600px) {
    #videolibrary_detail .content {
        min-height: 400px;
    }
    #videolibrary_detail .detail {
        max-width: 1400px;
        padding: 0 100px;
    }
    #videolibrary_detail .desc_wrap {
        max-width: 1400px;
        margin: 0;
        padding: 30px 120px;
    }
    #videoList {
        max-width: 1400px;
        margin: 0;
        padding: 30px 120px;
    }
	#videoList .video-item {
        width: 400px;
        height: 240px;
    }
}
/* End */
/* /local/templates/ksrk2025/components/bitrix/news.list/videoarchive.section.cover/style.css?17683922213378 */
/* /local/components/ksrk/videoarchive.video.list/templates/default/style.css?17685567569338 */
