

/* Start:/local/templates/beist/components/bitrix/news.list/beist_banner/style.css?17890585561709*/
.intro-swiper .swiper-slide {
    position: relative;
}

.intro-swiper__link {
    display: block;
    position: relative;
    color: inherit;
    text-decoration: none;
}

.intro-swiper__content {
    position: absolute;
    z-index: 2;
    left: 50%;
    bottom: clamp(48px, 5vw, 96px);
    width: min(80%, 1100px);
    transform: translateX(-50%);
    color: #222;
    text-align: center;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.95), 0 0 16px rgba(255, 255, 255, 0.95);
}

.intro-swiper__title {
    margin: 0;
    font-family: var(--font-heading);
    font-size: var(--font-size-subheading);
    font-weight: 700;
    line-height: var(--line-height-heading);
}

.intro-swiper__description {
    margin-top: var(--space-2);
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
}

.intro-swiper__description > :last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    /* Keep readable copy in flow: long descriptions must not escape the image
       or overlap the header when the visitor increases the text size. */
    .intro-swiper .swiper-slide {
        height: auto;
        background: var(--surface-light);
    }

    .intro-swiper__content {
        position: static;
        width: 100%;
        padding: var(--space-4) var(--layout-page-gutter) var(--space-6);
        transform: none;
        text-shadow: none;
    }

    .intro-swiper__title {
        font-size: var(--font-size-subheading);
    line-height: var(--line-height-heading);
    }

    .intro-swiper__description {
        margin-top: var(--space-2);
        font-size: var(--font-size-body);
        line-height: var(--line-height-body);
    }
}

/* End */


/* Start:/local/templates/beist/assets/css/video.css?17891125875608*/
.beisit-video-player {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #101820;
    border-radius: 8px;
}
.beisit-video-player video,
.beisit-video-player iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    object-fit: contain;
}
.beisit-video-unavailable {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: var(--space-6);
    color: #fff;
    text-align: center;
}
.beisit-video-page { padding: var(--layout-section-space) 0; }
.beisit-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--layout-grid-gap);
}
.beisit-video-card { min-width: 0; }
/* Use the same typography and spacing tokens as the news cards. */
.beisit-video-card h2 {
    margin: var(--space-4) 0 var(--space-3);
    font-family: var(--font-heading);
    font-size: var(--font-size-card);
    font-weight: 700;
    line-height: var(--line-height-card);
    color: var(--text-heading);
    transition: color .2s ease;
}
.beisit-video-card h2 a,
.beisit-video-card h2 a:hover {
    color: inherit;
    text-decoration: none;
}
.beisit-video-card:hover h2,
.beisit-video-card:focus-within h2 { color: var(--brand-red); }
.beisit-video-card h2 a:focus-visible {
    outline: 2px solid var(--control-accent);
    outline-offset: 4px;
}
.beisit-video-card > p {
    margin: 0;
    font-family: var(--font-body);
    font-size: var(--font-size-body);
    line-height: var(--line-height-body);
    color: var(--text-muted);
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    overflow: hidden;
}
.beisit-video-detail { max-width: 1000px; margin: 0 auto; }
.beisit-video-description { margin-top: var(--space-6); line-height: 1.8; overflow-wrap: anywhere; }
.beisit-video-description img { max-width: 100%; height: auto; }
.beisit-video-back { display: inline-block; margin-top: var(--space-6); }
.beisit-video-pager { margin-top: var(--layout-block-gap); }
.beisit-video-cover { display: block; position: relative; width: 100%; height: 100%; }
.beisit-video-cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.beisit-video-play {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    display: grid; place-items: center; width: 72px; height: 72px;
    padding-left: var(--space-1); border-radius: 50%; background: var(--control-accent); color: var(--control-on-accent);
    font-size: var(--icon-size-2xl); box-shadow: 0 4px 20px #0005;
    transition: background-color .2s, box-shadow .2s;
}
.beisit-video-cover:hover .beisit-video-play,
.beisit-video-cover:focus-visible .beisit-video-play { background: var(--control-hover); box-shadow: 0 0 0 6px #ffffff80; }
.beisit-video-cover:focus-visible { outline: 3px solid #fff; outline-offset: -4px; }
.beisit-video-modal .modal-dialog { max-width: 1000px; }
.beisit-video-modal .modal-content { border: 0; border-radius: 12px; overflow: hidden; }
.beisit-video-modal .modal-header { gap: var(--space-4); padding: var(--space-4) var(--layout-card-padding); }
.beisit-video-modal .modal-title { font-size: var(--font-size-card); line-height: var(--line-height-card); overflow-wrap: anywhere; }
.beisit-video-modal .btn-close { flex-shrink: 0; }
.beisit-video-modal .modal-body { padding: 0; }
.beisit-video-modal .beisit-video-player { border-radius: 0; max-height: 75vh; }
.beisit-video-error { padding: var(--space-4) var(--space-6); margin: 0; }
@media (max-width: 767px) {
    .beisit-video-grid { grid-template-columns: minmax(0, 1fr); gap: var(--layout-grid-gap); }
    .beisit-video-page { padding: var(--layout-section-space) 0; }
    .beisit-video-card h2 { font-size: var(--font-size-card);
    line-height: var(--line-height-card); }
    .beisit-video-modal .modal-dialog { margin: var(--space-3); }
    .beisit-video-modal .modal-header { padding: var(--space-4) var(--layout-card-padding); }
    .beisit-video-modal .modal-title { font-size: var(--font-size-card);
    line-height: var(--line-height-card); }
}

/* Home previews use the same player as /video/, with compact heading styling. */
.details-video-container .beisit-video-home-title {
    margin: var(--space-4) 0 0;
    color: var(--text-heading);
    font-weight: 700;
}
.details-video-container .beisit-video-home-title a,
.details-video-container .beisit-video-home-title a:hover {
    color: inherit;
    text-decoration: none;
}
.details-video-container .beisit-video-home-title a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 4px;
}
.beisit-video-home-actions {
    display: flex;
    justify-content: center;
    margin-top: var(--layout-block-gap);
    text-align: center;
}
.beisit-video-home-actions .introduction-btn { margin: 0; }

.beisit-video-cover:active .beisit-video-play { background: var(--control-active); }

.beisit-video-modal .btn-close {
    position: relative;
    background: none;
    color: var(--control-accent);
    opacity: 1;
}
.beisit-video-modal .btn-close::before,
.beisit-video-modal .btn-close::after {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 2px;
    background: currentColor;
    content: "";
    transform: translate(-50%, -50%) rotate(45deg);
}
.beisit-video-modal .btn-close::after { transform: translate(-50%, -50%) rotate(-45deg); }
.beisit-video-modal .btn-close:hover { color: var(--control-hover); }
.beisit-video-modal .btn-close:focus-visible { outline: 2px solid var(--control-accent); outline-offset: 2px; box-shadow: none; }

/* End */


/* Start:/local/templates/beist/components/bitrix/news.list/certificates/style.css?17890650352714*/
.certificate-lightbox__trigger {
    cursor: zoom-in;
}

.certificate-lightbox {
    position: fixed;
    z-index: 2000;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--space-10);
    visibility: hidden;
    overflow: auto;
    background: rgba(0, 0, 0, 0.88);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease, visibility 0.2s ease;
}

.certificate-lightbox.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

.certificate-lightbox__dialog {
    position: relative;
    display: flex;
    max-width: 100%;
    min-height: 0;
    flex-direction: column;
    align-items: center;
    outline: none;
}

.certificate-lightbox__image {
    display: block;
    width: auto;
    max-width: min(92vw, 1200px);
    height: auto;
    max-height: calc(100vh - 130px);
    border-radius: 4px;
    background: #fff;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
    object-fit: contain;
}

.certificate-lightbox__caption {
    max-width: min(92vw, 1200px);
    margin-top: var(--space-3);
    color: #fff;
    font-family: var(--font-body);
    font-size: var(--font-size-caption);
    line-height: var(--line-height-caption);
    text-align: center;
}

.certificate-lightbox__caption:empty {
    display: none;
}

.certificate-lightbox__close {
    position: absolute;
    z-index: 2;
    top: -18px;
    right: -18px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--control-accent);
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.28);
    cursor: pointer;
}

.certificate-lightbox__close::before,
.certificate-lightbox__close::after {
    position: absolute;
    top: 21px;
    left: 12px;
    width: 20px;
    height: 2px;
    background: var(--control-on-accent);
    content: "";
}

.certificate-lightbox__close::before {
    transform: rotate(45deg);
}

.certificate-lightbox__close::after {
    transform: rotate(-45deg);
}

.certificate-lightbox__close:hover,
.certificate-lightbox__close:focus-visible {
    background: var(--control-hover);
    outline: 2px solid var(--control-accent);
    outline-offset: 2px;
}

body.certificate-lightbox-open {
    overflow: hidden;
}

@media (max-width: 768px) {
    .certificate-lightbox {
        padding: var(--space-4);
    }

    .certificate-lightbox__image {
        max-width: calc(100vw - 32px);
        max-height: calc(100vh - 90px);
    }

    .certificate-lightbox__close {
        top: 8px;
        right: 8px;
    }

    .certificate-lightbox__caption {
        margin-top: var(--space-2);
        font-size: var(--font-size-caption);
    line-height: var(--line-height-caption);
    }
}

/* End */
/* /local/templates/beist/components/bitrix/news.list/beist_banner/style.css?17890585561709 */
/* /local/templates/beist/assets/css/video.css?17891125875608 */
/* /local/templates/beist/components/bitrix/news.list/certificates/style.css?17890650352714 */
