/* Free Videos — hero + professional stage (video left / description right) */
.fv-page {
    --fv-brand: var(--som-color-primary, #28c76f);
    --fv-brand-rgb: var(--som-color-primary-rgb, 40, 199, 111);
    --fv-ink: #0f172a;
    --fv-muted: #64748b;
    --fv-line: rgba(15, 23, 42, 0.08);
    padding: clamp(2.25rem, 4vw, 3.5rem) 0 clamp(3.5rem, 6vw, 5rem);
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(var(--fv-brand-rgb), 0.08), transparent 55%),
        linear-gradient(180deg, #f8fafc 0%, #eef7f2 100%);
}

.fv-hero {
    background:
        linear-gradient(135deg,
            rgba(15, 83, 45, 0.94) 0%,
            rgba(40, 199, 111, 0.82) 50%,
            rgba(30, 64, 110, 0.88) 100%),
        var(--fv-hero-image, url('https://images.unsplash.com/photo-1516321318423-f06f85e504b3?w=1920&q=80')) center/cover no-repeat;
    color: #fff;
    padding: 4.5rem 0 3.75rem;
    position: relative;
    overflow: hidden;
}

.fv-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 55% at 50% 25%, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.fv-hero .container {
    position: relative;
    z-index: 1;
    text-align: center;
}

.fv-breadcrumb {
    margin-bottom: 1rem;
}

.fv-breadcrumb .breadcrumb {
    justify-content: center;
    background: transparent;
    padding: 0;
    margin: 0;
}

.fv-breadcrumb .breadcrumb-item a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
}

.fv-breadcrumb .breadcrumb-item a:hover {
    color: #fff;
    text-decoration: underline;
}

.fv-breadcrumb .breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.85);
}

.fv-breadcrumb .breadcrumb-item + .breadcrumb-item::before {
    color: rgba(255, 255, 255, 0.55);
}

.fv-hero-kicker {
    display: inline-block;
    margin: 0 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.92);
}

.fv-hero-title {
    font-family: 'Plus Jakarta Sans', 'Poppins', sans-serif;
    font-size: clamp(1.85rem, 4.5vw, 2.75rem);
    font-weight: 700;
    margin: 0 0 0.75rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.2);
}

.fv-hero-desc {
    margin: 0 auto;
    max-width: 34rem;
    font-size: 1.08rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
}

.fv-hero-meta {
    display: inline-flex;
    margin: 1.1rem 0 0;
    padding: 0.4rem 0.9rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 650;
    color: #fff;
    background: rgba(255, 255, 255, 0.16);
    border: 1px solid rgba(255, 255, 255, 0.28);
}

.fv-empty {
    text-align: center;
    max-width: 28rem;
    margin: 0 auto;
    padding: 3rem 1.25rem;
    background: #fff;
    border: 1px dashed rgba(15, 83, 45, 0.22);
    border-radius: 18px;
    color: var(--fv-muted);
}

.fv-empty i {
    display: block;
    font-size: 2.5rem;
    color: var(--fv-brand);
    margin-bottom: 0.75rem;
}

.fv-empty h2 {
    margin: 0 0 0.45rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--fv-ink);
}

.fv-empty p {
    margin: 0 0 1.1rem;
    line-height: 1.55;
}

.fv-empty-btn {
    border-radius: 999px;
    background: #28c76f;
    color: #fff;
    font-weight: 650;
    padding: 0.65rem 1.25rem;
}

.fv-empty-btn:hover {
    background: #22b463;
    color: #fff;
}

@media (max-width: 575.98px) {
    .fv-hero {
        padding: 3.5rem 0 3rem;
    }
}

.fv-stage {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.9fr);
    gap: 0;
    background: #fff;
    border: 1px solid var(--fv-line);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 28px 60px -36px rgba(15, 23, 42, 0.45);
    min-height: 320px;
}

.fv-stage__player {
    position: relative;
    background: #0b1220;
    min-height: 280px;
}
.fv-stage__media {
    width: 100%;
    height: 100%;
    min-height: 320px;
    aspect-ratio: 16 / 10;
    background: #0b1220;
}
.fv-stage__media video,
.fv-stage__media iframe,
.fv-stage__media img {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
    object-fit: contain;
    background: #000;
}
.fv-stage__placeholder {
    min-height: 320px;
    display: grid;
    place-items: center;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
    padding: 2rem;
}
.fv-stage__placeholder i {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.75rem;
    color: rgba(var(--fv-brand-rgb), 0.85);
}

.fv-stage__aside {
    display: flex;
    flex-direction: column;
    padding: 1.6rem 1.5rem 1.5rem;
    background: linear-gradient(180deg, #ffffff 0%, #f0fdf4 100%);
    border-left: 1px solid var(--fv-line);
    opacity: 1;
    transform: none;
    pointer-events: auto;
    transition: background 0.25s ease, box-shadow 0.25s ease;
}
.fv-stage.is-active .fv-stage__aside {
    background: linear-gradient(180deg, #ffffff 0%, #ecfdf5 100%);
    box-shadow: inset 0 0 0 1px rgba(var(--fv-brand-rgb), 0.08);
}
.fv-stage__aside-body.is-filled {
    animation: fvDescIn 0.35s ease;
}
@keyframes fvDescIn {
    from { opacity: 0.35; transform: translateX(10px); }
    to { opacity: 1; transform: translateX(0); }
}
.fv-stage__aside-label {
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: #16a34a;
    margin-bottom: 0.65rem;
}
.fv-stage__aside-title {
    margin: 0 0 0.85rem;
    font-size: clamp(1.2rem, 2.2vw, 1.45rem);
    font-weight: 800;
    color: var(--fv-ink);
    line-height: 1.25;
}
.fv-stage__aside-body {
    margin: 0;
    color: var(--fv-muted);
    line-height: 1.75;
    font-size: 0.98rem;
    overflow-y: auto;
    max-height: min(48vh, 360px);
    white-space: pre-wrap;
}
.fv-stage__aside-empty {
    margin: auto 0;
    color: #94a3b8;
    font-size: 0.95rem;
}

.fv-select-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--fv-muted);
    margin-bottom: 0.35rem;
}
.fv-select {
    border-radius: 12px !important;
    border-color: rgba(var(--fv-brand-rgb), 0.25) !important;
}

@media (max-width: 991.98px) {
    .fv-stage {
        grid-template-columns: 1fr;
    }
    .fv-stage__aside {
        border-left: 0;
        border-top: 1px solid var(--fv-line);
    }
}
@media (max-width: 575.98px) {
    .fv-stage__media,
    .fv-stage__placeholder {
        min-height: 220px;
    }
}

[data-bs-theme="dark"] .fv-page {
    background: linear-gradient(180deg, #0b1220 0%, #111827 100%);
}
[data-bs-theme="dark"] .fv-empty {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.12);
}
[data-bs-theme="dark"] .fv-empty h2,
[data-bs-theme="dark"] .fv-stage__aside-title {
    color: #f8fafc;
}
[data-bs-theme="dark"] .fv-stage {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(255, 255, 255, 0.08);
}
[data-bs-theme="dark"] .fv-stage__aside {
    background: rgba(15, 23, 42, 0.9);
}
