/* Artículos integrados y edición privada; comparte la identidad de INSANOS. */
.editorial-section { max-width: 1200px; margin: 2.5rem auto; padding: 1.25rem; color: var(--in-text, #eef0fa); }
.editorial-heading, .editorial-tools, .editorial-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem; justify-content: space-between; }
.editorial-heading h2 { font-family: Orbitron, system-ui, sans-serif; font-size: clamp(1.25rem, 3vw, 1.8rem); }
.editorial-section a, .editorial-card a, .editorial-reading a { color: var(--in-cyan, #00e5ff); text-underline-offset: .22em; }
.editorial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 1rem; }
.editorial-card { min-width: 0; padding: 1.4rem; border: 1px solid #36304c; border-radius: 1rem; background: #0d0d1b; overflow-wrap: anywhere; }
.editorial-card h3 { margin: .75rem 0; font-size: 1.3rem; line-height: 1.4; }
.editorial-card p { color: #c3c6db; line-height: 1.65; }
.editorial-card small, .editorial-meta { color: #a4abc8; }
.editorial-kicker { color: #ff52a1; font-weight: 700; letter-spacing: .09em; font-size: .85rem; }
.editorial-reading { max-width: 48rem; margin-inline: auto; }
.editorial-reading p { line-height: 1.85; overflow-wrap: anywhere; }
.editorial-reading-link { padding: 1rem; border: 1px solid #493057; border-radius: .75rem; }
.editorial-card a:focus-visible, .editorial-section a:focus-visible { outline: 2px solid #00e5ff; outline-offset: 4px; }
#section-editorial { min-width: 0; }
.editorial-tools { margin-block: 1rem; }
.editorial-tools label { display: flex; align-items: center; gap: .75rem; }
.editorial-tools select { max-width: 13rem; }
.editorial-table-wrap { overflow-x: auto; border: 1px solid #33314b; margin-block: 1rem; }
.editorial-table { width: 100%; border-collapse: collapse; }
.editorial-table th, .editorial-table td { padding: .9rem; text-align: start; border-bottom: 1px solid #29263b; }
.editorial-table th { color: #c6c7df; font-size: .8rem; text-transform: uppercase; }
.editorial-table td:first-child { min-width: 12rem; overflow-wrap: anywhere; }
.editorial-table button { white-space: nowrap; }
.editorial-form { display: grid; gap: 1rem; max-width: 60rem; margin-top: 1.5rem; padding: clamp(1rem, 3vw, 2rem); background: #0c0c19; border: 1px solid #493057; border-radius: 1rem; }
.editorial-form[hidden], .editorial-preview[hidden] { display: none; }
.editorial-form [hidden] { display: none !important; }
.editorial-actions .btn-secondary, .editorial-table .btn-secondary { background: #141425; color: #dce2fa; border: 1px solid #51516c; border-radius: .6rem; padding: .65rem 1rem; cursor: pointer; }
.editorial-actions button:disabled, .editorial-table button:disabled { opacity: .6; cursor: not-allowed; }
.editorial-form :is(input, textarea, select), .editorial-tools select { color: #eef0fa; background: #080812; border: 1px solid #51516c; border-radius: .5rem; padding: .65rem; }
.editorial-actions :is(button, a):focus-visible { outline: 2px solid #00e5ff; outline-offset: 3px; }
.editorial-form label:not(.check-row) { display: grid; gap: .5rem; font-weight: 600; }
.editorial-form :is(input, textarea, select) { width: 100%; min-width: 0; }
.editorial-form textarea { resize: vertical; line-height: 1.65; }
.editorial-form input[type="checkbox"] { width: auto; }
.editorial-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.editorial-actions { justify-content: flex-start; }
.editorial-actions button { min-height: 44px; }
.editorial-preview { padding: 1.25rem; background: #05050d; border: 1px solid #33314b; border-radius: .75rem; overflow-wrap: anywhere; }
.editorial-preview-body { white-space: pre-wrap; line-height: 1.85; }
.editorial-notice { padding: .75rem 0; color: #c6c7df; }
.editorial-notice[data-error="true"] { color: #ff8fbf; }
.editorial-badge { color: #00e5ff; font-size: .9rem; }
@media (max-width: 600px) { .editorial-form-grid { grid-template-columns: 1fr; } .editorial-actions button { flex: 1 1 9rem; } .editorial-section { padding-inline: .75rem; } }
