/* ==========================================================================
   Vkurse Video Cases — Front Styles
   ========================================================================== */

.vvc-section {
    padding: 60px 0;
    background: #fff;
}

.vvc-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.vvc-hero-video-case {
    display: flex !important;
    flex-direction: row !important;
    align-items: flex-start !important;
    gap: 60px;
    margin-bottom: 48px;
}

.vvc-hero-video-case__left {
    flex: 1;
    font-family: 'Golos', sans-serif;
    font-size: 36px;
    font-weight: 400;
    line-height: 1.3;
    color: #1a1a1a;
    margin: 0;
}

.vvc-hero-video-case__left a {
    color: #1a1a1a;
    text-decoration: underline;
    text-underline-offset: 4px;
    text-decoration-thickness: 1.5px;
    transition: color 0.2s ease;
}

.vvc-hero-video-case__left a:hover {
    color: #ff4d4d;
}

.vvc-hero-video-case__right {
    flex: 0 0 340px !important;
    width: 340px !important;
    font-family: 'Golos', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: #111013;
    margin: 0;
    padding-top: 0;
    margin-block-start: 0.4em !important;
}

/* ==========================================================================
   Grid — 2+2+1 layout
   ========================================================================== */

.vvc-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.vvc-card--wide {
    grid-column: 1 / -1;
}

/* ==========================================================================
   Card
   ========================================================================== */

.vvc-card__media {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #1a1a1a;
    aspect-ratio: 16 / 10;
}

.vvc-card--wide .vvc-card__media {
    aspect-ratio: 2.35 / 1;
}

.vvc-card__video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.4s ease;
}

/* Show video once browser has decoded the first frame */
.vvc-card__video.vvc-visible {
    opacity: 1;
}

/* Duration badge */
.vvc-card__duration {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 3px 8px;
    border-radius: 6px;
    line-height: 1.4;
    backdrop-filter: blur(4px);
}

/* Content */
.vvc-card__content {
    padding: 16px 0 0;
}

.vvc-card__inline {
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
}

.vvc-card__title {
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 6px;
    line-height: 1.3;
    font-family: 'Golos', sans-serif;
    font-weight: 400;
}

.vvc-card__dot {
    font-weight: 700;
    color: #1a1a1a;
    margin-right: 4px;
}

.vvc-card__desc {
    color: #888;
}

/* ==========================================================================
   CTA Block
   ========================================================================== */

.vvc-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 48px;
    padding: 32px 40px;
    background: #1a1a1a;
    border-radius: 20px;
}

.vvc-cta__icon {
    flex-shrink: 0;
}

.vvc-cta__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.vvc-cta__title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
}

.vvc-cta__subtitle {
    font-size: 14px;
    color: #aaa;
    line-height: 1.5;
}

.vvc-cta__button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #ff4d4d;
    color: #fff !important;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border-radius: 14px;
    text-decoration: none;
    white-space: nowrap;
    transition: background 0.2s ease, transform 0.15s ease;
    flex-shrink: 0;
}

.vvc-cta__button:hover {
    background: #000000 !important;
    color: #fff !important;
    transform: translateY(-1px);
}

.vvc-cta__button:active {
    transform: translateY(0);
}


/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 768px) {
    .vvc-section {
        padding: 40px 0;
    }

    .vvc-hero-video-case{
        display: flex !important;
        flex-direction: column !important;
        gap: 20px;
    }

    .vvc-hero-video-case__left {
        font-size: 26px;
    }

    .vvc-hero-video-case__right {
        flex: none !important;
        width: 100% !important;
        font-size: 14px;
        padding-top: 0;
    }

    .vvc-grid {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .vvc-card__media {
        aspect-ratio: 16 / 10;
        border-radius: 12px;
    }

    .vvc-card--wide .vvc-card__media {
        aspect-ratio: 16 / 10;
    }

    .vvc-card__title {
        font-size: 16px;
    }

    .vvc-card__desc {
        font-size: 13px;
    }

    /* CTA */
    .vvc-cta {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        gap: 16px;
        border-radius: 16px;
        margin-top: 32px;
    }

    .vvc-cta__button {
        width: 100%;
        justify-content: center;
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .vvc-container {
        padding: 0 16px;
    }

    .vvc-hero-video-case{
        display: flex !important;
        flex-direction: column;
    }

    .vvc-hero-video-case__left {
        font-size: 22px;
    }

    .vvc-grid {
        gap: 20px;
    }

    .vvc-card__content {
        padding-top: 12px;
    }
}
