/* C2 · Ancho completo y aulas adaptables · 25-10-2026 */
body .sidebar{display:none!important}
body main.section-inner>.content{float:none!important;width:100%!important;max-width:100%!important;margin-right:0!important;min-width:0}
body.page main.section-inner{width:calc(100% - 32px);max-width:1440px;box-sizing:border-box}
body.page main.section-inner>.content>article{width:100%;min-width:0;box-sizing:border-box}
body.page .post-content{min-width:0;max-width:100%;box-sizing:border-box}
body.page .wp-block-code:has(.c2pm),body.page .cm-editor:has(.c2pm),body.page .cm-scroller:has(.c2pm),body.page pre:has(.c2pm),body.page code:has(.c2pm),body.page .cm-line:has(.c2pm){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;white-space:normal!important;overflow:visible!important;padding:0!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
body.page .c2pm{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
body.page .c2pm img,body.page .post-content>figure img{max-width:100%;height:auto;object-fit:contain}
body.page .c2pm iframe{max-width:100%;box-sizing:border-box}
@media(max-width:700px){body.page main.section-inner{width:calc(100% - 16px)}body.page .post-content{padding-left:12px!important;padding-right:12px!important}body.page .c2pm{overflow-wrap:break-word}body.page .c2pm button,body.page .c2pm input,body.page .c2pm select{max-width:100%;box-sizing:border-box}body.page .c2pm .c2pm-tabs{display:flex;flex-wrap:wrap}body.page .c2pm .c2pm-tabs button{white-space:normal;min-width:0}}
/* El tema fuerza la barra lateral en pantallas estrechas. */
html body main.section-inner aside.sidebar,html body.page .sidebar,html body.c2app-course .sidebar{display:none!important;width:0!important;margin:0!important;padding:0!important}
/* C2 · Ancho completo y aulas adaptables · 25-10-2026 */
body .sidebar{display:none!important}
body main.section-inner>.content{float:none!important;width:100%!important;max-width:100%!important;margin-right:0!important;min-width:0}
body.page main.section-inner{width:calc(100% - 32px);max-width:1440px;box-sizing:border-box}
body.page main.section-inner>.content>article{width:100%;min-width:0;box-sizing:border-box}
body.page .post-content{min-width:0;max-width:100%;box-sizing:border-box}
body.page .wp-block-code:has(.c2pm),body.page .cm-editor:has(.c2pm),body.page .cm-scroller:has(.c2pm),body.page pre:has(.c2pm),body.page code:has(.c2pm),body.page .cm-line:has(.c2pm){display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;white-space:normal!important;overflow:visible!important;padding:0!important;margin-left:0!important;margin-right:0!important;box-sizing:border-box}
body.page .c2pm{width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box}
body.page .c2pm img,body.page .post-content>figure img{max-width:100%;height:auto;object-fit:contain}
body.page .c2pm iframe{max-width:100%;box-sizing:border-box}
@media(max-width:700px){body.page main.section-inner{width:calc(100% - 16px)}body.page .post-content{padding-left:12px!important;padding-right:12px!important}body.page .c2pm{overflow-wrap:break-word}body.page .c2pm button,body.page .c2pm input,body.page .c2pm select{max-width:100%;box-sizing:border-box}body.page .c2pm .c2pm-tabs{display:flex;flex-wrap:wrap}body.page .c2pm .c2pm-tabs button{white-space:normal;min-width:0}}