@import url('https://fonts.googleapis.com/css2?family=Anton&family=Quicksand:wght@300;400;500;600;700&display=swap');

/* ═══════════════════════════════════════════════════════════════
   AIPCM — Classroom Styles (DESIGN B)
   Minimalista, pulcro y moderno
   ═══════════════════════════════════════════════════════════════ */

:root {
    --acr-bg: #f8fafc;
    --acr-sidebar-bg: #ffffff;
    --acr-accent: #1eada6;
    /* Brand Green */
    --acr-accent-dark: #157a73;
    /* Brand Teal Dark */
    --acr-blue: #213a58;
    /* Official Web Blue requested */
    --acr-text: #213a58;
    /* Navy Dark from theme */
    --acr-text-light: #64748b;
    --acr-border: #e2e8f0;
    --acr-header-h: 75px;
    --acr-sidebar-w: 300px;

    --acr-font-headers: 'Anton', sans-serif;
    --acr-font-body: 'Quicksand', sans-serif;
}

/* Reset dentro del contenedor del aula */
.aipcm-classroom-page {
    margin: 0 !important;
    padding: 0 !important;
    font-family: var(--acr-font-body) !important;
    background: var(--acr-bg);
}

.acr-layout {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* ─── HEADER (Integrated Style) ────────────────────────────────── */
.acr-header {
    height: 90px;
    background: #fff;
    border-bottom: 2px solid var(--acr-border);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 45px;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.acr-header-left {
    display: flex;
    align-items: center;
    gap: 40px;
}

.acr-logo,
.custom-logo-link img,
.custom-logo,
.acr-logo-link img,
.site-logo img,
.site-header .custom-logo,
.acr-logo-img,
.aipcm-tp-logo img,
.aipcm-header-logo img,
.aipcm-logo-img {
    max-height: 75px !important;
    height: 75px !important;
    width: 180px !important;
    object-fit: contain;
}

.acr-btn-dashboard {
    display: flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    /* Fondo transparente */
    color: var(--acr-text-light);
    /* Texto gris */
    padding: 10px 22px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    border: 1px solid transparent;
    transition: all 0.3s;
}

.acr-btn-dashboard:hover {
    color: var(--acr-blue);
    /* Texto azul en hover */
    transform: translateY(-2px);
}

.acr-header-center {
    flex: 1;
    display: flex;
    justify-content: center;
    max-width: 450px;
}

.acr-progress-wrapper {
    width: 100%;
}

.acr-progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.acr-progress-label {
    font-size: 10px;
    font-weight: 800;
    color: var(--acr-text-light);
    letter-spacing: 1px;
    font-family: var(--acr-font-body);
}

.acr-progress-val {
    font-size: 12px;
    font-weight: 800;
    color: var(--acr-accent);
}

.acr-progress-track {
    height: 10px;
    background: #f1f5f9;
    border-radius: 5px;
    overflow: hidden;
}

.acr-progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--acr-accent), #4fd1c5);
    border-radius: 5px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.acr-header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.acr-sidebar-toggle-header {
    display: none;
    background: transparent;
    border: none;
    color: var(--acr-text-light);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
}
.acr-sidebar-toggle-header:hover {
    background: var(--acr-bg);
    color: var(--acr-text);
}
.acr-sidebar-toggle-header .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.acr-toggle-text {
    display: none;
}

@media (max-width: 1024px) {
    .acr-toggle-text {
        display: inline;
    }
}

.acr-user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.acr-user-name {
    font-size: 14px;
    font-weight: 700;
    color: var(--acr-text);
}

.acr-user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 100% !important;
    /* Estilo circular */
    border: 2px solid #fff;
    box-shadow: 0 0 0 1px var(--acr-border);
    object-fit: cover;
}

.acr-dark-mode-toggle {
    background: none;
    border: none;
    color: var(--acr-text-light);
    cursor: pointer;
    padding: 8px;
    border-radius: 10px;
    transition: background 0.2s;
}

.acr-dark-mode-toggle:hover {
    background: var(--acr-bg);
    color: var(--acr-text);
}

/* ─── SIDEBAR ─────────────────────────────────────────────────── */
.acr-body {
    display: flex;
    padding-top: 0;
    flex: 1;
}

.acr-sidebar {
    width: var(--acr-sidebar-w);
    background: var(--acr-sidebar-bg);
    border-right: 1px solid var(--acr-border);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 90px;
    bottom: 0;
    z-index: 900;
}

.acr-sidebar-close-btn {
    display: none;
}

/* Custom subtle scrollbar */
.acr-sidebar-nav::-webkit-scrollbar {
    width: 6px;
}

.acr-sidebar-nav::-webkit-scrollbar-track {
    background: transparent;
}

.acr-sidebar-nav::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 10px;
}

.acr-sidebar-nav::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Sidebar Module Titles */
.acr-mod-title {
    padding: 15px 20px 5px;
    /* Reducido de 25px */
    font-size: 9px;
    /* Reducido */
    font-weight: 800;
    color: var(--acr-accent);
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.acr-module-group {
    border-bottom: 1px solid var(--acr-border);
    margin-bottom: 10px;
    padding-bottom: 10px;
}

.acr-sidebar-header {
    padding: 20px;
    border-bottom: 1px solid var(--acr-border);
    margin-bottom: 10px;
    /* Reducido de 20px */
}

.acr-sidebar-title {
    font-size: 10px;
    font-weight: 700;
    color: var(--acr-text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.acr-sidebar-subtitle {
    font-family: var(--acr-font-headers);
    /* Anton */
    font-size: 20px;
    color: var(--acr-text);
    text-transform: uppercase;
    line-height: 1.2;
    margin: 0;
}

.acr-sidebar-nav {
    flex: 1;
    overflow-y: auto;
    padding: 10px 0;
}

.acr-lesson-item {
    display: flex;
    align-items: center;
    padding: 10px 20px;
    /* Reducido vertical de 14px */
    text-decoration: none;
    color: var(--acr-text);
    font-size: 13px;
    /* Más compacto */
    font-weight: 600;
    gap: 12px;
    transition: all .2s;
    border-left: 3px solid transparent;
}

.acr-lesson-name {
    font-size: 12px;
    /* Reducido de 13/14px */
    font-weight: 600;
    color: var(--acr-text);
}

.is-active.acr-lesson-item {
    background: var(--acr-accent-dark);
    /* Color oscuro de la Imagen B */
    color: #fff !important;
}

.is-active.acr-lesson-item .acr-lesson-name {
    color: #fff !important;
}

.acr-check {
    font-size: 14px;
    color: var(--acr-accent);
}

.is-active .acr-check {
    color: #fff;
}

.acr-active-indicator {
    margin-left: auto;
    font-size: 18px;
    opacity: .7;
}

.acr-sidebar-footer {
    padding: 20px;
    border-top: 1px solid var(--acr-border);
}

.acr-footer-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #e2e8f0;
    color: #475569;
    padding: 10px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .5px;
}

/* ─── MAIN CONTENT ─────────────────────────────────────────────── */
.acr-main {
    flex: 1;
    margin-left: var(--acr-sidebar-w);
    padding: 15px 60px;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 75px);
    box-sizing: border-box;
}

.acr-content-wrap {
    max-width: 900px;
    width: 100%;
}

.acr-breadcrumbs {
    font-size: 10px;
    font-weight: 700;
    color: var(--acr-text-light);
    letter-spacing: 1.5px;
    margin-bottom: 16px;
}

.acr-sidebar-title,
.acr-progress-label,
.acr-mod-title,
.acr-breadcrumbs,
.acr-tab-btn {
    font-family: var(--acr-font-body);
}

.acr-main-title {
    font-family: var(--acr-font-headers);
    font-size: 28px;
    /* Ajuste fino */
    font-weight: 400;
    color: var(--acr-blue) !important;
    /* Azul del tema */
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.acr-main-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.acr-main-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: var(--acr-text-light);
}

/* ─── VIDEO ────────────────────────────────────────────────────── */
.acr-video-container {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.acr-video-player iframe,
.acr-video-player video {
    width: 100% !important;
    height: 100% !important;
    display: block;
}

/* ─── NAVIGATION (B) ───────────────────────────────────────────── */
.acr-navigation-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.acr-nav-link {
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    color: var(--acr-accent-dark);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: .5px;
}

.acr-nav-btn-next {
    background: var(--acr-accent);
    color: #fff !important;
    /* Siempre blanco */
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-size: 13px;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 4px 14px rgba(30, 173, 166, 0.2);
    transition: all .2s;
}

.acr-nav-btn-next:hover:not(.acr-locked),
.acr-nav-btn-next:active:not(.acr-locked) {
    background: var(--acr-accent-dark);
    color: #fff !important;
    /* Siempre blanco */
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 173, 166, 0.3);
}

.acr-nav-btn-next.acr-locked {
    background: #cbd5e1;
    color: #fff;
    cursor: not-allowed;
    box-shadow: none;
    pointer-events: none;
    opacity: 0.7;
}

.acr-nav-btn-next.acr-locked:hover {
    transform: none;
}

/* ─── TABS & CONTENT ───────────────────────────────────────────── */
.acr-tabs-header {
    display: flex;
    gap: 40px;
    border-bottom: 2px solid var(--acr-border);
    margin-bottom: 30px;
}

.acr-tab-btn {
    background: none !important;
    /* Forzado sin fondo */
    border: none !important;
    padding: 10px 0 15px !important;
    font-size: 13px !important;
    /* Reducido de 15px */
    font-weight: 700 !important;
    color: #64748b !important;
    /* Gris por defecto */
    cursor: pointer;
    position: relative;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    font-family: var(--acr-font-body);
}

.acr-tab-btn:hover {
    color: var(--acr-accent) !important;
    /* Verde en hover */
}

.active[data-tab="notes"] {
    color: var(--acr-accent) !important;
    /* Verde solicitado para notas */
}

.acr-tab-btn.active:not([data-tab="notes"]) {
    color: var(--acr-blue) !important;
    /* Azul activo para otros */
}

.acr-tab-btn.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background: currentColor !important;
    /* Usar el color del texto activo */
}

.acr-tab-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--acr-text);
}

/* Sidebar Lesson Icons */
.acr-lesson-item .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
}

.acr-lesson-item.is-active .dashicons {
    color: #fff;
}

.acr-main-footer {
    border-top: 1px solid var(--acr-border);
    margin-top: 60px;
    padding: 30px 0;
    font-size: 10px;
    font-weight: 700;
    color: var(--acr-text-light);
    letter-spacing: 1px;
    text-align: center;
}

.acr-mark-btn {
    background: #e2e8f0;
    color: #475569;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: .5px;
    transition: all 0.3s;
}

.acr-mark-btn:not(.is-done):hover {
    background: var(--acr-accent);
    color: #fff;
    transform: translateY(-2px);
}

.acr-mark-btn.is-done {
    background: #10b981 !important;
    /* Verde */
    color: #fff !important;
    cursor: default;
}

/* Quiz Specific Styles */
#aipcm-quiz-runner {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid var(--acr-border);
    margin-bottom: 40px;
}

.quiz-intro h3 {
    font-size: 20px;
    font-weight: 800;
    color: var(--acr-text);
    margin-bottom: 15px;
}

/* Fix para Elementor: Forzar que nuestro container no herede anchos extraños */
#elementor-header,
#elementor-footer {
    display: none !important;
}

/* Mobile Optimization & Offcanvas Sidebar */
.acr-mobile-top {
    display: none;
    width: 100%;
    height: 65px;
    justify-content: space-between;
    align-items: center;
    padding: 0 15px;
    background: #fff;
    border-bottom: 1px solid #f0f0f0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 10001;
    box-sizing: border-box;
}

.acr-mobile-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.acr-sidebar-toggle-header {
    display: none;
}

.acr-toggle-text {
    display: none;
}

/* Estilos para el botón toggle en mobile */
.acr-mobile-top .acr-sidebar-toggle-header {
    display: flex;
    background: transparent;
    border: none;
    color: var(--acr-text);
    cursor: pointer;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.3s;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}
.acr-mobile-top .acr-sidebar-toggle-header:hover {
    background: var(--acr-bg);
    color: var(--acr-accent);
}
.acr-mobile-top .acr-sidebar-toggle-header .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
    color: var(--acr-accent);
}

/* Mobile Top: elementos del header */
.acr-mobile-top .acr-mobile-logo {
    display: flex;
    align-items: center;
}

.acr-mobile-top .acr-mobile-logo .acr-logo,
.acr-mobile-top .acr-mobile-logo .acr-logo-img {
    width: 115px !important;
    height: 50px !important;
    max-height: 50px !important;
}

.acr-mobile-account-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--acr-text);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--acr-bg);
    transition: all 0.3s;
}

.acr-mobile-account-link:hover {
    background: var(--acr-accent);
    color: #fff;
}

.acr-mobile-account-link .dashicons {
    font-size: 20px;
    width: 20px;
    height: 20px;
}

.acr-mobile-user .acr-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--acr-border);
    object-fit: cover;
}

/* Botón flotante integrado al sidebar - se asoma en la esquina */
.acr-sidebar-toggle {
    display: none;
    position: absolute;
    top: 12px;
    left: -16px;
    width: 32px;
    height: 32px;
    background: #1eada6;
    border: 2px solid #fff;
    border-radius: 50%;
    color: #fff;
    cursor: pointer;
    z-index: 10006;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(30, 173, 166, 0.4);
    transition: all 0.3s ease;
}

.acr-sidebar-toggle:hover {
    transform: scale(1.15);
    box-shadow: 0 4px 12px rgba(30, 173, 166, 0.5);
}

.acr-sidebar-toggle .dashicons {
    font-size: 18px;
    width: 18px;
    height: 18px;
}

/* Cuando el sidebar está abierto, el botón se oculta */
.acr-sidebar-toggle.hidden {
    opacity: 0;
    pointer-events: none;
}

/* Ocultar el botón dentro del sidebar cuando está abierto */
.acr-sidebar.show .acr-sidebar-toggle {
    display: none !important;
}

/* Estado: sidebar abierto */
.acr-sidebar-toggle.active .dashicons::before {
    content: "\f341"; /* arrow-right-alt2 */
}

.acr-mobile-menu-toggle {
    background: #1eada6;
    border: none;
    color: #fff;
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}

.acr-mobile-menu-toggle:active {
    transform: scale(0.9);
}

.acr-mobile-menu-toggle .dashicons {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.acr-mobile-logo .acr-logo,
.acr-mobile-logo .acr-logo-img {
    width: 115px !important;
    height: 50px !important;
    max-height: 50px !important;
}

.acr-mobile-user .acr-user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--acr-border);
}

@media (max-width: 1024px) {
    .acr-layout {
        flex-direction: column;
    }

    /* Main title responsive */
    .acr-main-title {
        margin-top: 0;
        font-size: 20px !important;
        line-height: 1.3;
    }

    .acr-mobile-top {
        display: flex;
    }

    .acr-header {
        display: none !important; /* El mobile-top reemplaza al header en tablet/movil */
    }

    .acr-body {
        margin-top: 65px !important;
    }

    /* Reordenar contenido en móvil: video -> título -> meta -> notes -> navigation -> footer */
    .acr-content-wrap {
        display: grid;
        grid-template-columns: 1fr;
        grid-auto-flow: dense;
    }

    .acr-video-container {
        grid-row: 1;
        order: 1;
    }

    .acr-main-title {
        grid-row: 2;
        order: 2;
    }

    .acr-main-meta {
        grid-row: 3;
        order: 3;
    }

    .acr-course-mastered-alert {
        grid-row: 4;
        order: 4;
    }

    .acr-tabs-container {
        order: 5;
    }

    .acr-navigation-actions {
        order: 6;
    }

    .acr-main-footer {
        order: 7;
    }

    .acr-sidebar {
        display: block;
        position: fixed;
        left: -320px;
        top: 65px !important;
        bottom: 0;
        width: 300px;
        z-index: 10005 !important;
        background: var(--acr-sidebar-bg);
        box-shadow: 10px 0 30px rgba(0,0,0,0.15);
        transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
        overflow-y: auto;
    }

    .acr-sidebar-close-btn {
        display: flex;
        position: absolute;
        top: 10px;
        right: 10px;
        background: transparent;
        border: none;
        color: var(--acr-text-light);
        cursor: pointer;
        padding: 8px;
        border-radius: 50%;
        z-index: 100;
    }
    .acr-sidebar-close-btn:hover {
        background: var(--acr-bg);
        color: var(--acr-text);
    }
    .acr-sidebar-close-btn .dashicons {
        font-size: 20px;
        width: 20px;
        height: 20px;
    }

    .acr-sidebar.show {
        transform: translateX(320px);
    }

    .acr-main {
        margin-left: 0;
        margin-top: 15px !important;
        padding: 15px 15px !important;
        min-height: calc(100vh - 65px - 61px);
    }

    .acr-content-area {
        padding: 15px;
    }

    .acr-video-container {
        border-radius: 0;
        margin: 0 -15px 20px -15px;
        aspect-ratio: 16/9;
        max-height: 50vh;
    }

    .acr-unit-nav {
        overflow-x: auto;
        white-space: nowrap;
        padding-bottom: 5px;
        -webkit-overflow-scrolling: touch;
    }

    .acr-nav-item {
        padding: 8px 15px;
        font-size: 13px;
    }

    .acr-unit-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .acr-unit-actions {
        width: 100%;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .acr-mark-btn {
        grid-column: span 2;
    }

    body.acr-sidebar-open {
        overflow: hidden;
    }

    body.acr-sidebar-open::before {
        content: '';
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,0.6);
        z-index: 10001;
        backdrop-filter: blur(3px);
    }

    /* Tabs touch-friendly */
    .acr-tabs-header {
        gap: 10px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .acr-tab-btn {
        min-height: 44px !important;
        padding: 12px 10px !important;
        font-size: 11px !important;
        white-space: nowrap;
        flex-shrink: 0;
    }

    /* Navigation buttons */
    .acr-navigation-actions {
        flex-direction: column;
        gap: 12px;
    }

    .acr-nav-link,
    .acr-nav-btn-next {
        width: 100%;
        justify-content: center;
        padding: 14px 20px;
    }

    .acr-nav-btn-next {
        text-align: center;
    }

    /* Main title responsive */
    .acr-main-title {
        margin-top: 0;
        font-size: 20px !important;
        line-height: 1.3;
    }

    /* Tabs content */
    .acr-tab-content {
        font-size: 14px;
        line-height: 1.7;
    }

    /* Progress bar in mobile */
    .acr-progress-wrapper {
        display: none;
    }

    /* Alerta de curso completado - responsive */
    .acr-course-mastered-alert {
        flex-direction: column !important;
        text-align: center !important;
        padding: 15px !important;
        gap: 15px !important;
    }

    .acr-course-mastered-alert > div:first-child {
        flex-direction: column !important;
        gap: 10px !important;
    }

    .acr-course-mastered-alert .acr-mark-btn {
        width: 100% !important;
        justify-content: center !important;
        box-sizing: border-box;
    }

    /* Navigation buttons full width */
    .acr-navigation-actions {
        flex-direction: column;
        gap: 10px;
    }

    .acr-nav-link,
    .acr-nav-btn-next {
        width: 100%;
        box-sizing: border-box;
        text-align: center;
        justify-content: center;
    }
}

/* Breakpoint para iPhone pequeño / dispositivos pequeños */
@media (max-width: 374px) {
    .acr-mobile-top {
        padding: 10px 10px;
    }

    .acr-sidebar-toggle {
        left: 10px;
        top: 60px;
        width: 34px;
        height: 34px;
    }

    .acr-sidebar-toggle .dashicons {
        font-size: 18px;
        width: 18px;
        height: 18px;
    }

    /* Main title responsive */
    .acr-main-title {
        margin-top: 0;
        font-size: 20px !important;
    }

    .acr-mobile-user .acr-user-avatar {
        width: 28px;
        height: 28px;
    }

    .acr-lesson-name {
        font-size: 11px;
    }

    .acr-lesson-item {
        padding: 8px 12px;
    }

    .acr-main {
        padding: 15px 12px !important;
    }

    .acr-video-container {
        max-height: 40vh;
    }
}

/* Ajuste para landscape en móvil */
@media (max-width: 1024px) and (orientation: landscape) {
    .acr-video-container {
        max-height: 60vh;
    }

    .acr-sidebar {
        top: 50px !important;
    }

    .acr-main {
        margin-top: 50px;
    }
}