/* ============================================
   PLANEA TV - Media Queries Responsive
   ============================================ */

/* ===== MÓVIL (Portrait) ===== */
@media screen and (max-width: 480px) {
    .featured-player {
        padding: 0 8px;
        margin-bottom: 20px;
    }

    .featured-player-title {
        font-size: 20px;
        margin-bottom: 12px;
    }

    .featured-player .video-js {
        min-height: 200px;
        border-radius: 8px;
    }

    #tmees {
        font-size: 14px;
        padding: 5px;
        top: 10px;
        left: 10px;
    }

    #listcanales {
        gap: 8px;
        padding: 8px;
        max-height: 70vh;
    }

    .channelListItem-0-2-140 {
        width: 100% !important;
        margin: 3px;
        padding: 8px;
    }
}

/* ===== MÓVIL (Landscape) ===== */
@media screen and (min-width: 320px) and (max-width: 720px) and (orientation: landscape) {
    .featured-player {
        max-width: 100%;
        margin-bottom: 20px;
    }

    .featured-player .video-js {
        min-height: 180px;
    }

    #divconvideo {
        width: 100%;
    }
}

/* ===== TABLET (Portrait) ===== */
@media screen and (min-width: 481px) and (max-width: 768px) {
    .featured-player {
        max-width: 900px;
        padding: 0 12px;
    }

    .featured-player-title {
        font-size: 24px;
    }

    .featured-player .video-js {
        min-height: 280px;
    }

    #listcanales {
        gap: 12px;
        padding: 12px;
    }

    .channelListItem-0-2-140 {
        width: calc(50% - 6px);
    }
}

/* ===== TABLET (Landscape) ===== */
@media screen and (min-width: 721px) and (max-width: 1024px) and (orientation: landscape) {
    .featured-player {
        max-width: 1000px;
    }

    .featured-player .video-js {
        min-height: 300px;
    }
}

/* ===== DESKTOP ===== */
@media screen and (min-width: 769px) and (max-width: 1200px) {
    .featured-player {
        max-width: 1100px;
    }

    .featured-player .video-js {
        min-height: 400px;
    }

    .channelListItem-0-2-140 {
        width: calc(33.333% - 10px);
    }
}

/* ===== DESKTOP GRANDE ===== */
@media screen and (min-width: 1201px) {
    .featured-player {
        max-width: 1400px;
    }

    .featured-player-title {
        font-size: 32px;
    }

    .featured-player .video-js {
        min-height: 500px;
    }

    .channelListItem-0-2-140 {
        width: calc(25% - 10px);
    }
}

/* ===== DESKTOP EXTRA GRANDE ===== */
@media screen and (min-width: 1920px) {
    .featured-player {
        max-width: 1600px;
    }

    .featured-player .video-js {
        min-height: 600px;
    }

    .channelListItem-0-2-140 {
        width: calc(20% - 10px);
    }
}

/* ===== AJUSTES ESPECÍFICOS POR ORIENTACIÓN ===== */
@media only screen and (orientation: portrait) {
    .featured-player {
        margin-bottom: 30px;
    }
}

@media only screen and (orientation: landscape) and (max-height: 500px) {
    .featured-player {
        margin-bottom: 15px;
    }

    .featured-player-title {
        font-size: 18px;
        margin-bottom: 8px;
    }

    .featured-player .video-js {
        min-height: 150px;
    }
}

/* ===== CONTENEDOR DE CANALES RESPONSIVE ===== */
@media screen and (min-width: 600px) {
    .contentContainer-0-2-14 {
        flex: 1 1 40%;
    }

    .liveTVLayoutContainer-0-2-123 {
        flex-direction: row;
    }

    .channelListContainer-0-2-125 {
        flex: 4 1 auto;
    }
}

@media screen and (min-width: 768px) {
    .channelListContainer-0-2-125 {
        flex: 5 1 auto;
    }
}

@media screen and (min-width: 1280px) {
    .channelListContainer-0-2-125 {
        flex: 10 1 auto;
    }
}

@media screen and (min-width: 1920px) {
    .channelListContainer-0-2-125 {
        flex: 20 1 auto;
    }
}
