.news-gallery-editor{border:1px solid var(--border);border-radius:10px;padding:20px;background:#f7fafb;min-width:0}
.news-gallery-editor-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:10px}
.admin-form .news-gallery-editor h3{border:0;padding:0;margin:0;font-size:1.08rem}
.news-gallery-editor-heading>span{font-size:.8rem;color:#56717c}
.news-gallery-editor-help,.news-gallery-editor-status{font-size:.8rem;color:#56717c;margin:0 0 14px}
.news-gallery-editor-list{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;list-style:none;padding:0;margin:0 0 18px}
.news-gallery-editor-card{border:1px solid var(--border);border-radius:9px;overflow:hidden;background:#fff;min-width:0}
.news-gallery-editor-preview{display:block;width:100%;height:145px;object-fit:contain;background:#e9f1f3}
.news-gallery-editor-card-body{padding:12px;display:flex;flex-direction:column;gap:10px}
.news-gallery-editor-card-body>strong{font-size:.85rem;color:#315868}
.news-gallery-editor .admin-field{font-size:.8rem;gap:6px}
.news-gallery-editor .admin-field input:not([type=file]){padding:8px 9px;font-size:.85rem}
.news-gallery-editor .admin-field>span small{font-weight:400;font-size:.7rem}
.news-gallery-editor-controls{display:flex;gap:6px;flex-wrap:wrap}
.news-gallery-editor-controls .filter-button{padding:6px 9px;font-size:.75rem;line-height:1.5}
.news-gallery-editor button:disabled{cursor:default;opacity:.45}
.news-gallery-editor-remove{font-size:.76rem;align-items:flex-start}
.news-gallery-editor-remove input{flex-shrink:0;margin-top:3px}
.news-gallery-editor-card.is-removed{background:#fff6f7;border-color:#e7bdc5}
.news-gallery-editor-card.is-removed .news-gallery-editor-preview{opacity:.45}
.news-gallery-editor-card.is-removed [data-gallery-editor-index]{color:#9d3248}
.news-gallery-editor-upload{border-top:1px solid var(--border);padding-top:16px;display:flex;gap:12px;align-items:flex-start;flex-wrap:wrap}
.news-gallery-editor-upload .admin-field{flex:1;min-width:200px}
.news-gallery-editor-upload .filter-button{margin-top:28px}
.news-gallery-editor-empty{font-size:.85rem;color:#627d87;border:1px dashed #c3d4d8;padding:16px;border-radius:7px;margin:0 0 18px}
.news-gallery-editor-new-heading{font-size:.85rem;font-weight:600;margin:18px 0 10px;color:#315868}
.news-gallery-editor-file{display:block;font-size:.72rem;color:#607783;overflow-wrap:anywhere;line-height:1.5}
.news-gallery-editor-status{margin:12px 0 0;min-height:1.5em}
.news-gallery-editor-error{font-size:.85rem;color:#922238;background:#fff1f3;border:1px solid #efc6cd;border-radius:7px;padding:12px;margin:12px 0 0;overflow-wrap:anywhere}
.news-gallery-editor [hidden]{display:none!important}
@media(max-width:900px){.news-gallery-editor-list{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:540px){.news-gallery-editor{padding:14px}.news-gallery-editor-list{grid-template-columns:1fr}.news-gallery-editor-preview{height:180px}.news-gallery-editor-upload{display:block}.news-gallery-editor-upload .filter-button{margin-top:10px}.news-gallery-editor-controls .filter-button{flex:1}}
