﻿.dropdown-submenu {
    position: relative;
}

    .dropdown-submenu > ul {
        display: none; /* Hide by default */
        position: absolute;
        left: 100%; /* Position it to the right of the parent */
        top: 0;
        margin: 0;
        padding: 0;
        z-index: 1000;
    }

    .dropdown-submenu:hover > ul {
        display: block; /* Show on hover */
    }

    .dropdown-submenu > ul > li {
        list-style: none;
    }

/* Video Guide Banner */
.video-guide-banner {
    display: flex;
    width: 100%;
    height: 120px;
    margin-bottom: 1rem;
    overflow: hidden;
    text-decoration: none;
    box-shadow: 0 1px 4px rgba(0,0,0,0.15);
    transition: box-shadow 0.2s ease;
}

.video-guide-banner:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.3);
    text-decoration: none;
}

.video-guide-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 30px;
    white-space: nowrap;
    background: #406da4;
    color: white;
    font-size: 18px;
    font-weight: 600;
    flex-shrink: 0;
}

.video-guide-thumb-wrapper {
    position: relative;
    flex: 1;
    min-width: 0;
}

    .video-guide-thumb-wrapper::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 80px;
        height: 100%;
        background: linear-gradient(to right, #406da4, transparent);
        z-index: 1;
    }

.video-guide-thumb-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(0, 117, 191, 0.8), transparent);
}

.video-guide-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1s ease;
}

.video-guide-thumbnail.active {
    opacity: 1;
}
