.f2vid {
    padding: 5rem 0;
}

.f2vid__section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.f2vid__row {
    display: flex;
    align-items: center;
    gap: 3.5rem;
}

.f2vid__row--reversed {
    flex-direction: row-reverse;
}

/* ── Image ── */

.f2vid__image-col {
    flex: 1;
    min-width: 0;
}

.f2vid__image-wrap {
    position: relative;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1);
    cursor: pointer;
}

.f2vid__image-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.f2vid__image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 14px;
    filter: brightness(0.85) saturate(0.95);
    transition: filter 0.3s ease;
}

.f2vid__image-wrap:hover .f2vid__image {
    filter: brightness(0.7) saturate(1);
}

.f2vid__image-shadow {
    position: absolute;
    inset: 0;
    border-radius: 14px;
    box-shadow: inset 0 -30px 40px -20px rgba(0, 0, 0, 0.4), inset 0 2px 8px rgba(0, 0, 0, 0.15);
    pointer-events: none;
    z-index: 1;
}

/* ── Play button ── */

.f2vid__play-btn {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    text-decoration: none;
}

.f2vid__play-icon {
    width: 64px;
    height: 64px;
    color: #fff;
    background: rgba(0, 0, 0, 0.45);
    border-radius: 50%;
    padding: 14px;
    backdrop-filter: blur(4px);
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: transform 0.3s ease, background 0.3s ease, border-color 0.3s ease;
}

.f2vid__image-wrap:hover .f2vid__play-icon {
    transform: scale(1.12);
    background: rgba(90, 93, 255, 0.7);
    border-color: rgba(255, 255, 255, 0.5);
}

/* ── Content ── */

.f2vid__content-col {
    flex: 1;
    min-width: 0;
}

.f2vid__subtitle {
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    opacity: 0.55;
    margin-bottom: 1rem;
    padding-left: 0.75rem;
    border-left: 3px solid rgba(90, 93, 255, 0.6);
}

.f2vid__subtitle-image {
    max-height: 48px;
    width: auto;
    margin-bottom: 1rem;
}

.f2vid__title {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.f2vid__desc {
    font-size: 1rem;
    line-height: 1.65;
    opacity: 0.75;
    margin-bottom: 0.75rem;
}

.f2vid__desc p {
    margin-bottom: 0.65rem;
}

.f2vid__desc p:last-child {
    margin-bottom: 0;
}

.f2vid__details {
    font-size: 0.9rem;
    line-height: 1.5;
    opacity: 0.55;
    margin-bottom: 1.5rem;
    max-width: 420px;
}

.f2vid__details p {
    margin-bottom: 0.5rem;
}

.f2vid__details p:last-child {
    margin-bottom: 0;
}

.f2vid__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.f2vid__actions .btn {
    border-radius: 8px;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.f2vid__actions .btn:hover {
    transform: translateY(-2px);
}

/* ── Light theme ── */

[data-bs-theme="light"] .f2vid__image-wrap {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

[data-bs-theme="light"] .f2vid__image-wrap:hover {
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.12);
}

[data-bs-theme="light"] .f2vid__image {
    filter: brightness(0.92) saturate(0.97);
}

[data-bs-theme="light"] .f2vid__image-wrap:hover .f2vid__image {
    filter: brightness(0.8) saturate(1);
}

[data-bs-theme="light"] .f2vid__image-shadow {
    box-shadow: inset 0 -20px 30px -15px rgba(0, 0, 0, 0.1), inset 0 2px 6px rgba(0, 0, 0, 0.04);
}

[data-bs-theme="light"] .f2vid__play-icon {
    background: rgba(0, 0, 0, 0.35);
}

[data-bs-theme="light"] .f2vid__image-wrap:hover .f2vid__play-icon {
    background: rgba(90, 93, 255, 0.6);
}

/* ── Responsive ── */

@media (max-width: 991px) {
    .f2vid__row,
    .f2vid__row--reversed {
        flex-direction: column;
        gap: 2rem;
        text-align: center;
    }

    .f2vid__content-col {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .f2vid__actions {
        justify-content: center;
    }

    .f2vid__details {
        max-width: 100%;
    }

    .f2vid__play-icon {
        width: 56px;
        height: 56px;
        padding: 12px;
    }
}

@media (max-width: 767px) {
    .f2vid {
        padding: 3rem 0;
    }

    .f2vid__row {
        gap: 1.5rem;
    }

    .f2vid__play-icon {
        width: 48px;
        height: 48px;
        padding: 10px;
    }
}
