
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.video-section {
    margin: 0px;
    border: 2px solid #e5e5e5;
    border-radius: 20px;
    padding: 20px;
    max-width: 100%;
    overflow: hidden;
}

.scroll-container {
    width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-behavior: smooth;
}

.scroll-container::-webkit-scrollbar {
    display: none;
}

.video-list {
    display: flex;
    gap: 20px;
    padding-right: 20px;
    flex-wrap: nowrap;
}

.video-item {
    flex: 0 0 auto;
    background: #f5f5f5;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    flex-direction: column;
}

.video-wrapper {
    flex: 7;
    background: #eef6ff;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 500px;
}

img.examples {
    height: 100%;
    width: auto;
    object-fit: contain;
}

.video-info {
    /* flex: 3; */
    padding: 8px 8px;
    width: 100%;
    height: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.video-title {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.3;
}

.video-description {
    font-size: 13px;
    color: #666;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
}

.scroll-track {
    width: 100%;
    height: 4px;
    background: #eee;
    border-radius: 2px;
    margin-top: 15px;
    position: relative;
}

.scroll-thumb {
    position: absolute;
    height: 100%;
    background: #666;
    border-radius: 2px;
    cursor: pointer;
    transition: width 0.1s ease;
}

.scroll-controls {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
    margin-top: 10px;
}

.scroll-button {
    padding: 5px 15px;
    background: #f0f0f0;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.scroll-button:hover {
    background: #e0e0e0;
}

@media (max-width: 768px) {
    .video-item {
        height: 320px;
    }
}

@media (max-width: 480px) {
    .video-item {
        height: 280px;
    }
    .video-section {
        margin: 15px;
        padding: 15px;
    }
}