

/* Start:/bitrix/templates/roofstone/components/bitrix/news.list/video_instructions/style.css?17899225657490*/
.video-instructions {
    padding: 0 0 110px;
}

.video-instructions__header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    align-items: end;
    gap: 70px;
    margin-bottom: 46px;
}

.video-instructions__header h1::after {
    display: block;
    width: 76px;
    height: 5px;
    margin-top: 22px;
    background: #d12929;
    content: "";
}

.video-instructions__header p {
    margin: 0;
    color: #686868;
    font-size: 16px;
    line-height: 1.55;
}

.video-instructions__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.video-instruction-card {
    display: grid;
    grid-template-columns: 45% 55%;
    min-width: 0;
    min-height: 485px;
    overflow: hidden;
    border: 1px solid #e4e4e4;
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, .055);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.video-instruction-card:hover {
    transform: translateY(-5px);
    border-color: #d4d4d4;
    box-shadow: 0 18px 42px rgba(0, 0, 0, .1);
}

.video-instruction-card__preview {
    position: relative;
    display: block;
    width: 100%;
    min-height: 485px;
    overflow: hidden;
    padding: 0;
    border: 0;
    background: linear-gradient(155deg, #6f7477 0%, #34393b 55%, #101112 100%);
    color: #fff;
    cursor: pointer;
}

.video-instruction-card__preview:disabled {
    cursor: default;
}

.video-instruction-card__preview::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, .5), transparent 55%);
    content: "";
}

.video-instruction-card__preview img,
.video-instruction-card__placeholder {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-instruction-card__placeholder {
    background:
        radial-gradient(circle at 65% 72%, rgba(255,255,255,.12) 0 24%, transparent 25%),
        linear-gradient(155deg, #747a7d, #282c2e 62%, #0d0e0f);
}

.video-instruction-card__play {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    display: grid;
    width: 74px;
    height: 74px;
    border-radius: 50%;
    place-items: center;
    background: #d12929;
    box-shadow: 0 12px 30px rgba(209, 41, 41, .38);
    transform: translate(-50%, -50%);
    transition: transform .2s ease, background-color .2s ease;
}

.video-instruction-card__preview:hover .video-instruction-card__play {
    background: #b82020;
    transform: translate(-50%, -50%) scale(1.08);
}

.video-instruction-card__play svg {
    width: 24px;
    margin-left: 4px;
    fill: #fff;
}

.video-instruction-card__number {
    position: absolute;
    z-index: 2;
    right: 20px;
    bottom: 18px;
    color: rgba(255, 255, 255, .7);
    font-size: 12px;
    font-weight: 700;
}

.video-instruction-card__no-video {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    width: calc(100% - 40px);
    color: rgba(255,255,255,.8);
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    transform: translate(-50%, -50%);
}

.video-instruction-card__body {
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 42px 38px 34px;
}

.video-instruction-card__label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
    color: #d12929;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .055em;
    text-transform: uppercase;
}

.video-instruction-card__label::before {
    width: 28px;
    height: 2px;
    background: #d12929;
    content: "";
}

.video-instruction-card h2 {
    margin: 0 0 20px;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 700;
    letter-spacing: -.02em;
}

.video-instruction-card__text {
    color: #686868;
    font-size: 14px;
    line-height: 1.65;
}

.video-instruction-card__text > :last-child {
    margin-bottom: 0;
}

.video-instruction-card__watch {
    display: flex;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
    margin-top: auto;
    padding: 30px 0 0;
    border: 0;
    background: transparent;
    color: #101010;
    font-family: inherit;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s ease;
}

.video-instruction-card__watch:hover {
    color: #d12929;
}

.video-instruction-card__watch svg {
    width: 18px;
    fill: currentColor;
}

.video-instructions__empty {
    padding: 38px;
    border-radius: 12px;
    background: #f4f4f4;
    color: #686868;
    font-size: 16px;
    text-align: center;
}

.video-instructions__pagination {
    margin-top: 45px;
}

.video-instruction-modal {
    position: fixed;
    z-index: 10050;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 30px;
}

.video-instruction-modal.is-open {
    display: flex;
}

.video-instruction-modal__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, .86);
    backdrop-filter: blur(5px);
}

.video-instruction-modal__dialog {
    position: relative;
    z-index: 1;
    display: flex;
    max-width: min(90vw, 620px);
    max-height: 90vh;
    align-items: center;
    justify-content: center;
}

.video-instruction-modal__video {
    display: block;
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
    background: #000;
    box-shadow: 0 24px 80px rgba(0,0,0,.55);
}

.video-instruction-modal__close {
    position: absolute;
    z-index: 2;
    top: -18px;
    right: -18px;
    display: grid;
    width: 42px;
    height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    place-items: center;
    background: #d12929;
    color: #fff;
    font-family: Arial, sans-serif;
    font-size: 30px;
    line-height: 1;
    cursor: pointer;
}

body.video-instruction-modal-open {
    overflow: hidden;
}

@media (max-width: 1199px) {
    .video-instructions__header {
        grid-template-columns: minmax(0, 1fr) 360px;
        gap: 45px;
    }

    .video-instruction-card {
        grid-template-columns: 42% 58%;
    }

    .video-instruction-card__body {
        padding: 32px 28px;
    }

    .video-instruction-card h2 {
        font-size: 22px;
    }
}

@media (max-width: 991px) {
    .video-instructions__header {
        grid-template-columns: 1fr;
    }

    .video-instructions__grid {
        grid-template-columns: 1fr;
    }

    .video-instruction-card {
        grid-template-columns: 40% 60%;
    }
}

@media (max-width: 767px) {
    .video-instructions {
        padding: 38px 0 70px;
    }

    .video-instructions__header {
        gap: 26px;
        margin-bottom: 34px;
    }

    .video-instructions__header h1 {
        font-size: 38px;
    }

    .video-instruction-card {
        grid-template-columns: 1fr;
    }

    .video-instruction-card__preview {
        min-height: auto;
        aspect-ratio: 9 / 14;
    }

    .video-instruction-card__body {
        min-height: 310px;
    }

    .video-instruction-modal {
        padding: 18px;
    }

    .video-instruction-modal__close {
        top: 8px;
        right: 8px;
    }
}

@media (max-width: 479px) {
    .video-instructions__header h1 {
        font-size: 32px;
    }

    .video-instructions__header p {
        font-size: 14px;
    }

    .video-instruction-card__body {
        padding: 28px 24px;
    }

    .video-instruction-card h2 {
        font-size: 21px;
    }
}


/* End */
/* /bitrix/templates/roofstone/components/bitrix/news.list/video_instructions/style.css?17899225657490 */
