/* V27: fondo claro para páginas abiertas desde el menú superior.
   Se aplica a categorías, taxonomías, etiquetas, autores, fechas y archivos,
   incluso cuando el menú apunta a una estructura personalizada /secciones/. */
body:not(.home):not(.single) {
    background: #e9edf3 !important;
    color: #222 !important;
}

body:not(.home):not(.single) #marco {
    width: min(1280px, calc(100% - 32px)) !important;
    max-width: 1280px !important;
    margin: 0 auto !important;
    background: #e9edf3 !important;
}

body:not(.home):not(.single) #caja {
    display: flow-root !important;
    width: 100% !important;
    min-height: 500px;
    margin: 0 !important;
    padding: 20px !important;
    box-sizing: border-box !important;
    background: #e9edf3 !important;
}

body:not(.home):not(.single) #contenido {
    width: calc(100% - 350px) !important;
    margin: 10px 0 !important;
    padding: 18px !important;
    box-sizing: border-box !important;
    background: #fff !important;
    border: 1px solid #d6dce5 !important;
    border-radius: 14px !important;
    box-shadow: 0 5px 18px rgba(25, 34, 48, .10) !important;
    color: #252a33 !important;
}

body:not(.home):not(.single) #contenido .pelicula,
body:not(.home):not(.single) #contenido .poster,
body:not(.home):not(.single) #contenido .marco-sinopsis {
    background-color: transparent !important;
}

body:not(.home):not(.single) #contenido .pelicula h2,
body:not(.home):not(.single) #contenido .pelicula h2 a,
body:not(.home):not(.single) #contenido h1,
body:not(.home):not(.single) #contenido h2,
body:not(.home):not(.single) #contenido h3,
body:not(.home):not(.single) #contenido p {
    color: #252a33 !important;
}

body:not(.home):not(.single) #sidebar {
    width: 330px !important;
    margin: 10px 0 10px 20px !important;
}

body:not(.home):not(.single) .cdb-sidebar-box {
    background: #111 !important;
    color: #fff !important;
}

@media (max-width: 900px) {
    body:not(.home):not(.single) #marco {
        width: calc(100% - 16px) !important;
    }

    body:not(.home):not(.single) #caja {
        padding: 8px !important;
    }

    body:not(.home):not(.single) #contenido,
    body:not(.home):not(.single) #sidebar {
        float: none !important;
        width: 100% !important;
        margin: 10px 0 !important;
    }
}
