
/* ==========================================
   TVCO - Section En bref / TikTok
   ========================================== */

.tvco-en-bref__list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    align-items: start;
}

.tvco-en-bref__item {
    min-width: 0;
}

.tvco-en-bref__player {
    position: relative;
    width: 100%;
    aspect-ratio: 9 / 16;
    overflow: hidden;
    border-radius: 10px;
    background: #111;
}

.tvco-en-bref__player iframe {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    border: none;
}

.tvco-en-bref__link {
    display: inline-block;
    margin-top: 8px;
    font-size: 12px;
    line-height: 1.5;
    color: inherit;
    text-decoration: underline;
}

/* Tablette */
@media (min-width: 768px) and (max-width: 1024px) {
    .tvco-en-bref__list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* Mobile */
@media (max-width: 767px) {
    .tvco-en-bref__list {
        display: grid;
        grid-template-columns: none;
        grid-auto-flow: column;
        grid-auto-columns: minmax(260px, 80%);
        gap: 12px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        overscroll-behavior-inline: contain;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 12px;
    }

    .tvco-en-bref__item {
        scroll-snap-align: start;
    }
}
