#video-feed {
    position: absolute;
    top: 60px;
    display: flex;
    flex-wrap: nowrap; 
    gap: 10px;
    padding: 10px 0;
    overflow-x: hidden;
    max-width: 800px;
    width: 100%;
}

.video-feed-section {
    margin-top: 8px;
    position: relative;
}

.vfeed-tile {
    flex: 0 0 35%;
    min-width: 280px;
    overflow: hidden;
    transition: transform 0.2s;
    padding: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.vfeed-tile:hover {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    transform: scale(1.01);
    cursor: pointer;
}

.vfeed-tile img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
}

.vfeed-tile h3 {
    font-size: 14px;
    font-weight: bold;
    margin: 12px 0;
    color: var(--text);
    line-height: 1.5em;
    
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
}

.vfeed-date {
    font-size: 12px;
    color: var(--soft-emphasis);
    margin-top: 4px;
    margin-bottom: 8px;
}

.vfeed-navigator {
    position: relative;
    max-width: 800px;
    width: 100%;
    height: 280px;
    z-index: 99;
    pointer-events: none !important;
}

.vfeed-shadow-left, .vfeed-shadow-right {
    display: block;
    position: absolute;
    top: 0;
    width: 60px;
    height: 100%;
    z-index: 5;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.vfeed-shadow-left {
    background: linear-gradient(to right, var(--background), rgba(255, 255, 255, 0));
    left: 0;
    display: none;
}

.vfeed-shadow-right {
    background: linear-gradient(to left, var(--background), rgba(255, 255, 255, 0));
    right: 0;
}

.vfeed-nav {
    margin-top: 120px;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    cursor: pointer;
    z-index: 10;
    font-size: 14px;
    text-transform: uppercase;
    user-select: none;
    z-index: 999;
    background-color: var(--soft-emphasis);
    color: var(--subtle-shading);
    font-weight: 900;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: 0.3s ease;
    pointer-events: auto;
}

.vfeed-nav:hover {
  transform: scale(1.05);
}

#vfeed-right {
    right: 8px;
}

#vfeed-left {
    left: 8px;
}

#video-feed-section {
    position: relative;
}