/* NPS ROBOTICS — Course Media Fix v3.8.0 */

.v3-course-media-section h2 {
    margin-bottom: 16px;
}

.v3-course-gallery-item {
    position: relative;
    border-radius: 16px;
    background: #06131f;
}

.v3-course-gallery-item img {
    transition: transform .2s ease;
}

.v3-course-gallery-item:hover img {
    transform: scale(1.015);
}

.v3-course-gallery-item > span {
    position: absolute;
    inset: auto 0 0;
    padding: 28px 13px 11px;
    color: #f5f9fc;
    background: linear-gradient(180deg, transparent, rgba(2,9,20,.82));
    font-size: 9px;
    line-height: 1.45;
}

.v3-course-video-list {
    display: grid;
    gap: 12px;
}

.v3-course-video-frame {
    overflow: hidden;
    border-radius: 16px;
    background: #020914;
    border: 1px solid rgba(85,177,249,.18);
}

.v3-course-video-link {
    min-height: 92px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 14px;
    border-radius: 16px;
    color: #f7fbff;
    background: linear-gradient(145deg,#0a2946,#061a2d);
    border: 1px solid rgba(85,177,249,.20);
}

.v3-course-video-play {
    width: 48px;
    height: 48px;
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    background: rgba(45,155,255,.18);
}

.v3-course-video-link > span:last-child {
    min-width: 0;
    display: grid;
    gap: 4px;
}

.v3-course-video-link small {
    color: #67c6ff;
    font-size: 7px;
    font-weight: 850;
    letter-spacing: .12em;
}

.v3-course-video-link strong {
    font-size: 13px;
    line-height: 1.4;
}

.v3-course-video-link em {
    color: #8ca5b9;
    font-size: 8px;
    font-style: normal;
}

@media (max-width: 640px) {
    .v3-course-gallery-item {
        border-radius: 13px;
    }

    .v3-course-video-link {
        min-height: 82px;
        padding: 12px;
    }

    .v3-course-video-play {
        width: 42px;
        height: 42px;
    }
}
