.video-featured-thumbs{
    overflow: auto;
    margin-top: 10px;
    width: 100%;
    height: 90px;
    float: left;
}
.video-featured-thumbs li{
    margin-right: 4px;
    overflow: hidden;
}
.video-featured-thumbs li img{
    cursor: pointer;
}
.video-featured-thumbs.light, .video-featured-thumbs.light .mTSButton{ background-color: #c2beb2; }
.video-featured-thumbs.light li a{ border: 7px solid rgba(255,255,255,.4); }

#video-featured-thumbs-list { background-color: transparent; }
#video-featured-thumbs-list .mTSButton{
    background-color: rgba(0,0,0,.7);
    -moz-border-radius: 48px; -webkit-border-radius: 48px; border-radius: 48px;
}
#video-featured-thumbs-list  .mTSButtonLeft{ left: 5px; }
#video-featured-thumbs-list  .mTSButtonRight{ right: 5px; }

.list-vertical-video {
    display: grid;
    grid-template-columns: repeat(5, 237px);
    gap: 10px;
    overflow-x: scroll;
}

.vertical-video {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16; /* format vertical */
    overflow: hidden;
    border-radius: 12px;
    margin: 0 auto;
}

.video-click-layer {
    position: absolute;
    inset: 0;
    z-index: 10;
    cursor: pointer;
}

.vertical-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

body.dlg-open {
    overflow: hidden !important;
    height: 100%;
}

#dlg-videos {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,0.9);
    justify-content: center;
    flex-direction: column;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

#dlg-videos.show {
    display: flex;
}


.dlg-header {
    width: 100vw;
    border-bottom: 1px solid #ccc;
}

.modal-action {
    display: flex;
    align-items: center;
    font-size: 22px;
}

.modal-action a {
    color: #fff;
}
.dlg-videos-close {
    color: #fff;
    font-size: 22px;
    cursor: pointer;
}

/* Header collé en haut */
.dlg-header {
    position: sticky;
    top: 0;
    z-index: 10;
    border-bottom: 1px solid #ddd;

}

.dlg-header .container {
    background-color: transparent;
    display: flex;
    color: #ddd;
    width: 100%;
    justify-content: space-between;
}

.dlg-body {
    flex: 1;
    overflow-y: auto;
}

#videoFeed {
    margin-top: 30px;
    height: 100vh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scrollbar-width: none;      /* Firefox */
    -ms-overflow-style: none;
}

#videoFeed::-webkit-scrollbar {
    display: none;              /* Chrome / Safari / iOS */
}

.video-item-spacer {
    width: 100%;
    padding-bottom: 40px; /* Tes 20px sont ici */
    box-sizing: border-box;
}

#videoFeed .video-item {
    aspect-ratio: 9 / 16;
    height: calc( 100vh - 140px);
    scroll-snap-align: start;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 0 auto;
}



#videoFeed .video-item iframe {
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    border: none;
    aspect-ratio: 9 / 16;
}

