
.horizontalGalleryWrapper {
    max-width: 100%;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    background: linear-gradient(45deg, #667eea, #764ba2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: bold;
}

.mediaScrollerContainer {
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.videoThumbnailsTrack {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 0;
    flex: 1;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.videoThumbnailsTrack:active {
    cursor: grabbing;
}

.videoThumbnailsTrack::-webkit-scrollbar {
    height: 8px;
}

.videoThumbnailsTrack::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.videoThumbnailsTrack::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 10px;
}

.videoThumbnailsTrack::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #5a6fd8, #6b42a0);
}

.thumbnailVideoItem {
    min-width: 280px;
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

.thumbnailVideoItem:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.videoPreviewImage {
    width: 100%;
    height: 157px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.thumbnailVideoItem:hover .videoPreviewImage {
    transform: scale(1.05);
}

.mediaItemOverlay {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    pointer-events: none;
}

.playButtonIcon {
    width: 45px;
    height: 45px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    transition: all 0.3s ease;
    opacity: 0;
    transform: scale(0.8);
}

.thumbnailVideoItem:hover .playButtonIcon {
    opacity: 1;
    transform: scale(1);
    background: rgba(0, 0, 0, 0.8);
}

.videoDurationLabel {
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: bold;
}

.videoTitleText {
	font-family: 'Arial Black';
    padding: 10px;
    font-size: 1rem;
    font-weight: 900;
    color: #333;
    line-height: 0.5;
    margin: 0;
}

.videoDescText {
	font-family: 'Arial Black';
    padding: 10px;
    font-size: 0.8rem;
    font-weight: lighter;
    color: #333;
    line-height: 0.5;
    margin: 0;
}

.arrowButtonPrevious,
.arrowButtonNext {
    width: 50px;
    height: 50px;
    border: none;
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    flex-shrink: 0;
}

.arrowButtonPrevious:hover,
.arrowButtonNext:hover {
    background: linear-gradient(45deg, #5a6fd8, #6b42a0);
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

.arrowButtonPrevious:active,
.arrowButtonNext:active {
    transform: scale(0.95);
}

.arrowButtonPrevious:disabled,
.arrowButtonNext:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: scale(1);
    box-shadow: none;
}

.scrollProgressIndicator {
    width: 100%;
    height: 6px;
    background: #e0e0e0;
    border-radius: 3px;
    overflow: hidden;
    margin-top: 15px;
}

.scrollProgressBar {
    height: 100%;
    background: linear-gradient(45deg, #667eea, #764ba2);
    border-radius: 3px;
    transition: width 0.2s ease;
    width: 0%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .horizontalGalleryWrapper {
        padding: 20px 15px;

    }
    
    h1 {
        font-size: 2rem;
        margin-bottom: 20px;
    }
    
    .mediaScrollerContainer {
        gap: 10px;
    }
    
    .arrowButtonPrevious,
    .arrowButtonNext {
        width: 40px;
        height: 40px;
    }
    
    .thumbnailVideoItem {
        min-width: 240px;
    }
    
    .videoPreviewImage {
        height: 135px;
    }
    
    .videoTitleText {
        font-size: 0.9rem;
        padding: 12px;
    }
}

@media (max-width: 480px) {
    .thumbnailVideoItem {
        min-width: 200px;
    }
    
    .videoPreviewImage {
        height: 112px;
    }
    
    .arrowButtonPrevious,
    .arrowButtonNext {
        width: 35px;
        height: 35px;
    }
    
    .playButtonIcon {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
}