﻿.container-fluid-corpo {
    max-width: 1500px;
}

.carousel {
    display: flex;
    overflow-x: auto;
    scroll-behavior: smooth;
    gap: 16px; /* Espaço entre os cards */
    padding: 10px 0;
}

    .carousel::-webkit-scrollbar {
        display: none; /* Opcional: esconde a barra de rolagem */
    }

.carousel-item {
    min-width: 250px;
    max-width: 250px;
    background-color: #1f1f1f;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: relative;
}

    .carousel-item img {
        width: 100%;
        height: 140px;
        object-fit: cover;
    }

.carousel-skeleton-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: left;
    margin: 32px 0;
}

.carousel-skeleton {
    display: flex;
    gap: 16px;
    overflow: hidden;
}

.card-skeleton {
    width: 250px;
    min-width: 250px;
    max-width: 250px;
    height: 140px;
    border-radius: 12px;
    background: linear-gradient( 90deg, #2b2b2b 25%, #3a3a3a 50%, #2b2b2b 75% );
    background-size: 200% 100%;
    animation: shimmer 1.4s infinite;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.arrow {
    background: #111;
    color: white;
    border: none;
    font-size: 24px;
    padding: 10px;
    cursor: pointer;
    z-index: 10;
    border-radius: 8px;
}

    .arrow.left {
        margin-right: 10px;
    }

    .arrow.right {
        margin-left: 10px;
    }

.skeleton-box {
    display: block;
    background: linear-gradient(90deg, #2a2a2a 25%, #3a3a3a 37%, #2a2a2a 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s infinite;
    border-radius: 8px;
}

.titulo-skeleton {
    width: 100px;
    height: 20px;
    margin-bottom: 20px;
    margin-top: 30px;
}


.btn-skeleton {
    width: 100px;
    height: 38px;
    border-radius: 50px;
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@media (max-width: 961px) {
    .carousel-skeleton {
        overflow: hidden;
        justify-content: center;
    }

    .card-skeleton {
        flex: 0 0 100%;
    }

    .carousel-skeleton > .card-skeleton:not(:first-child) {
        display: none;
    }
}

@media (min-width: 768px) {
    .canais-carrossel .row.m-b-40 {
        display: flex;
        align-items: stretch; /* ESSENCIAL */
    }

    .canais-carrossel .col-md-2 {
        display: flex;
    }

    .box-wrapper {
        display: flex;
        flex-direction: column;
        justify-content: center; /* central vertical */
        height: 100%;
        width: 100%;
    }

        .box-wrapper .btn-assistidos {
            max-width: 140px;
        }

    .box-titulo {
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .box-titulo {
        margin-top: 30px;
        margin-bottom: -20px;
    }
    
    .btn-assistidos-mobile {
        margin-left: 30px;
        margin-top: -20px;
    }
}

@media (min-width: 768px) and (max-width: 1024px) {
    .box-wrapper {
        margin-left: 40px;
    }
}


@media (max-width: 768px) {
    .box-wrapper {
        margin-left: 40px;
        margin-right: 40px;
    }
}

.item-info {
    position: absolute;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
}

.item-title {
    font-weight: bold;
    font-size: 14px;
    color: white;
}

.item-meta {
    font-size: 12px;
    color: #aaa;
}

.stars {
    color: gold;
    font-size: 14px;
    margin-bottom: 5px;
}


.carousel.dragging {
    cursor: grabbing;
    cursor: -webkit-grabbing;
}

.carousel {
    cursor: grab;
    padding: 10px 0;
}
