

/* Start:/bitrix/templates/new_template/css/video-sections.css?17908345824885*/
/* =============================================
   Обёртка секции (автономно)
   ============================================= */
.gg-section {
    margin: 0;
}

.gg-section .container {
    width: 100%;
    margin: 0 auto;
    padding-left: 15px;
    padding-right: 15px;
}

.gg-section .maxwidth-theme {
    max-width: 1400px;
    margin: 0 auto;
}

/* =============================================
   Разделы видео — вертикальные карточки
   Шаблон: gg:news.section
   ============================================= */

.gg-video-sections {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
    margin: 0 0 40px;
}

.gg-video-section {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    text-decoration: none;
    color: #171717;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
    height: 100%;
}

.gg-video-section:hover {
    transform: translateY(-5px);
    border-color: #0088cc;
    box-shadow: 0 14px 34px rgba(1, 46, 205, 0.16);
    color: #171717;
}

.gg-video-section__image {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    background: #E5F9FF;
    flex-shrink: 0;
}

.gg-video-section__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.gg-video-section:hover .gg-video-section__image img {
    transform: scale(1.05);
}

.gg-video-section__no-image {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(1, 46, 205, 0.35);
    background: linear-gradient(135deg, #f4fbff 0%, #eef6ff 100%);
}

.gg-video-section__cta {
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #2D7FFF 0%, #012ECD 100%);
    border-radius: 10px;
    box-shadow: 0 6px 18px rgba(1, 46, 205, 0.35);
    transition: gap 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
    pointer-events: none;
}

.gg-video-section:hover .gg-video-section__cta {
    gap: 10px;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(1, 46, 205, 0.45);
}

.gg-video-section__body {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px 14px 16px;
    flex-grow: 1;
}

.gg-video-section__title {
    font-size: 15px;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: #171717;
    background: none;
    -webkit-text-fill-color: currentColor;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gg-video-section__text {
    font-size: 12.5px;
    line-height: 1.5;
    color: #5b6673;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.gg-video-section__text p {
    margin: 0;
}

/* ---------- Адаптив ---------- */

@media (max-width: 1399px) {
    .gg-video-sections {
        grid-template-columns: repeat(4, 1fr);
        gap: 18px;
    }
}

@media (max-width: 1199px) {
    .gg-video-sections {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
    .gg-video-section__title {
        font-size: 14.5px;
    }
    .gg-video-section__text {
        font-size: 12px;
    }
}

@media (max-width: 991px) {
    .gg-video-sections {
        grid-template-columns: repeat(3, 1fr);
        gap: 16px;
    }
    .gg-section .maxwidth-theme {
        max-width: 100%;
    }
}

@media (max-width: 767px) {
    .gg-video-sections {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        margin-bottom: 32px;
    }
    .gg-video-section {
        border-radius: 14px;
    }
    .gg-video-section__cta {
        left: 8px;
        right: 8px;
        bottom: 8px;
        padding: 7px 10px;
        font-size: 12px;
        border-radius: 8px;
    }
    .gg-video-section__body {
        padding: 12px 12px 14px;
    }
    .gg-video-section__title {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }
    .gg-video-section__text {
        -webkit-line-clamp: 2;
    }
}

@media (max-width: 420px) {
    .gg-video-sections {
        gap: 10px;
    }
    .gg-video-section__body {
        padding: 10px 10px 12px;
    }
    .gg-video-section__title {
        font-size: 13px;
    }
    .gg-video-section__cta {
        font-size: 11px;
        padding: 6px 8px;
    }
    .gg-video-section__cta svg {
        width: 14px;
        height: 14px;
    }
}
/* End */
/* /bitrix/templates/new_template/css/video-sections.css?17908345824885 */
