/* RadioaficionadosClub.cl · Ajustes responsivos consolidados 2026-11-16 */
/* Mantener el contenido multimedia dentro de su contenedor, sin afectar tamaños fijos intencionales. */
@media (max-width: 767px) {
  .rac-modern #cuerpocontainer img, .rac-modern #cuerpocontainer video,
  .rac-modern #cuerpocontainer iframe {max-width:100%;}
  .rac-modern #cuerpocontainer iframe {max-inline-size:100%;}
  .rac-modern #cuerpocontainer {min-width:0;}
  .rac-modern .rn-card, .rac-modern .rn-pcard {min-width:0;}
}
/* Editor: todo lo relacionado con publicación queda aislado del resto del tema. */
.rac-editor-page #form_div {display:flex; gap:20px; align-items:flex-start; max-width:100%; min-width:0;}
.rac-editor-page #form_div > .sidebar-add-post-modern {flex:0 0 245px; min-width:0;}
.rac-editor-page #form_div > .rac-publisher {flex:1 1 0; width:auto; min-width:0;}
.rac-editor-page .rac-publisher form[name="newpost"] {width:100%; max-width:870px; box-sizing:border-box; padding:0 15px;}
.rac-editor-page .rac-publisher form[name="newpost"] > ul {padding:0; margin:0;}
.rac-editor-page .rac-publisher li {max-width:100%; box-sizing:border-box;}
.rac-editor-page .rac-publisher .editor-wrapper, .rac-editor-page .rac-publisher .textarea-container {max-width:100%; min-width:0;}
.rac-editor-page .rac-publisher textarea, .rac-editor-page .rac-publisher input[type="text"],
.rac-editor-page .rac-publisher input[type="url"],.rac-editor-page .rac-publisher select {max-width:100%;box-sizing:border-box;}
.rac-editor-page .rac-publisher .ck-editor,.rac-editor-page .rac-publisher .ck-editor__main,
.rac-editor-page .rac-publisher .ck-editor__editable {max-width:100%;min-width:0;box-sizing:border-box;}
.rac-editor-page .rac-publisher .ck-content img {max-width:100%;height:auto;}
.rac-editor-page .rac-publisher .rac-publish-settings {display:grid; grid-template-columns:minmax(0,320px) minmax(0,1fr);gap:20px;width:100%;font-family:'Segoe UI',Tahoma,Arial,sans-serif;}
.rac-editor-page .rac-publisher .rac-publish-category,.rac-editor-page .rac-publisher .rac-publish-options {float:none;width:auto;margin:0;list-style:none;min-width:0;}
.rac-editor-page .rac-publisher .rac-publish-category select {width:100%;}
.rac-editor-page .rac-publisher .rac-portada-preview {max-width:100%;height:auto;object-fit:contain;}
.rac-editor-page .rac-publisher .modern-action-bar {max-width:100%;box-sizing:border-box;}
/* Barra de acceso rápido solamente en pantallas táctiles pequeñas. */
.rac-editor-mobile-nav {display:none;}
.rac-mobile-fold-button {display:none;}
@media (max-width: 980px) {
 .rac-editor-page #form_div {flex-direction:column;gap:12px;width:100%;}
 .rac-editor-page #form_div > .sidebar-add-post-modern,
 .rac-editor-page #form_div > .rac-publisher {width:100%;flex:auto;box-sizing:border-box;}
 .rac-editor-page #form_div > .sidebar-add-post-modern {display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
 .rac-editor-page #form_div > .sidebar-add-post-modern .modern-card {margin:0;}
 .rac-editor-page .rac-publisher form[name="newpost"] {max-width:none;margin:12px auto;padding:0 12px;}
}
@media (max-width: 767px) {
 .rac-editor-page #maincontainer,.rac-editor-page #contenido_principal,
 .rac-editor-page #cuerpocontainer {width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box;}
 .rac-editor-page #cuerpocontainer {padding-inline:8px!important;overflow:visible;}
 .rac-editor-page #form_div {width:100%!important;margin:0!important;padding:0!important;}
 .rac-editor-page #form_div > .sidebar-add-post-modern {grid-template-columns:1fr;gap:8px;order:2;}
 .rac-editor-page #form_div > .rac-publisher {order:1;}
 .rac-editor-page .rac-publisher {float:none;border-radius:10px;}
 .rac-editor-page .rac-publisher form[name="newpost"] {padding:0 10px!important;margin:12px 0!important;width:100%!important;}
 .rac-editor-page .rac-publisher form[name="newpost"] .modern-title-container,
 .rac-editor-page .rac-publisher form[name="newpost"] .modern-editor-container,
 .rac-editor-page .rac-publisher form[name="newpost"] .modern-tags-container {margin-bottom:14px!important;}
 .rac-editor-page .rac-publisher .rac-publish-settings {grid-template-columns:minmax(0,1fr);gap:12px;}
 .rac-editor-page .rac-publisher .rac-publish-category select {height:46px!important;min-height:46px;font-size:16px!important;}
 .rac-editor-page .rac-publisher input[type="text"],.rac-editor-page .rac-publisher input[type="url"],
 .rac-editor-page .rac-publisher input[type="file"],.rac-editor-page .rac-publisher select {width:100%!important;max-width:100%!important;min-height:44px;font-size:16px!important;}
 .rac-editor-page .rac-publisher input[type="checkbox"] {min-width:18px;min-height:18px;}
 .rac-editor-page .rac-publisher textarea#markItUp {width:100%!important;min-height:300px!important;font-size:16px;}
 .rac-editor-page .rac-publisher .editor-header {display:flex;flex-wrap:wrap;gap:7px;}
 .rac-editor-page .rac-publisher .ck-toolbar {max-width:100%;min-width:0;}
 .rac-editor-page .rac-publisher .ck-toolbar__items {flex-wrap:wrap!important;max-width:100%;}
 .rac-editor-page .rac-publisher .ck-editor__editable {min-height:300px!important;font-size:16px;overflow-wrap:anywhere;}
 .rac-editor-page .rac-publisher .modern-action-bar {display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;padding:10px 0!important;}
 .rac-editor-page .rac-publisher .modern-action-bar > .status-container {grid-column:1/-1;}
 .rac-editor-page .rac-publisher .modern-action-bar button {width:100%!important;min-width:0;min-height:46px;padding:10px 6px!important;white-space:normal;justify-content:center;font-size:13px;}
 .rac-editor-page .rac-publisher .modern-action-bar .btn-publicar {grid-column:1/-1;}
 .rac-editor-page .rac-publisher .modern-action-bar .btn-continuar {grid-column:1/-1;}
 .rac-editor-page .rac-publisher .example-tags {flex-wrap:wrap;}
 .rac-editor-page .rac-publisher .rac-portada-preview {max-height:260px;}
 .rac-editor-page .rac-editor-mobile-nav {display:flex;gap:7px;overflow-x:auto;overscroll-behavior-inline:contain;padding:9px 3px 12px;margin:0 0 8px;scrollbar-width:thin;}
 .rac-editor-page .rac-editor-mobile-nav a {flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:0 13px;border-radius:20px;border:1px solid #cbd9e6;color:#123b5c;background:#fff;font-weight:700;font-size:13px;text-decoration:none;}
 .rac-editor-page .rac-editor-mobile-nav a:focus-visible,.rac-editor-page .rac-mobile-fold-button:focus-visible {outline:3px solid #1b81c8;outline-offset:2px;}
 .rac-editor-page .rac-mobile-fold-button {display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-height:48px;padding:10px 12px;border:1px solid #cbd9e6;border-radius:9px;background:#eaf3fa;color:#123b5c;font-weight:700;text-align:left;font-size:14px;cursor:pointer;margin-bottom:8px;}
 .rac-editor-page .rac-mobile-fold.is-collapsed {display:none!important;}
 .rac-editor-page .rac-mobile-fold-button[aria-expanded="true"]::after {content:'−';font-size:22px;}
 .rac-editor-page .rac-mobile-fold-button[aria-expanded="false"]::after {content:'+';font-size:22px;}
 .rac-editor-page .sidebar-add-post-modern .thumb-add {opacity:1;background:rgba(16,77,125,.8);inset:auto 0 0 0;min-height:42px;}
 .rac-editor-page .sidebar-add-post-modern .card-body {padding:12px;}
 .rac-editor-page .sidebar-add-post-modern .tips-grid {grid-template-columns:1fr 1fr;}
 .rac-editor-page .sidebar-add-post-modern input[type="file"] {max-width:100%;box-sizing:border-box;}
}
@media (max-width: 380px) {.rac-editor-page .sidebar-add-post-modern .tips-grid {grid-template-columns:1fr;}.rac-editor-page .sidebar-add-post-modern .wide-tip {grid-column:auto;}}
