.news-post-form{max-width:1120px}
.news-post-form>.news-editor{margin:8px 0 20px}
.news-rich-editor{display:flex;flex-direction:column;overflow:visible}
.news-rich-editor .rich-toolbar{position:static;top:auto;z-index:auto;order:1;padding:10px;gap:6px}
.news-rich-editor .rich-toolbar button{white-space:nowrap}
.news-style-controls,.rich-style-controls{display:flex;align-items:center;gap:6px;padding:0 7px;border-left:1px solid #dbc8a4;border-right:1px solid #dbc8a4}
.news-style-controls label{display:flex!important;align-items:center;gap:5px;margin:0!important;color:#31513c;font-size:11px;font-weight:700}
.news-style-controls select{width:145px;height:34px;margin:0;padding:5px 7px;border-radius:7px;background:#fff;color:#2d241a;font-size:12px}
.news-style-controls .news-font-size{width:88px}
.news-style-controls input[type=color]{width:38px;height:34px;margin:0;padding:3px;border-radius:7px;cursor:pointer}
.news-upload-button{display:inline-flex!important;align-items:center;margin:0!important;min-height:34px;padding:7px 10px;border:1px solid #c8d8cd;border-radius:7px;background:#fff;color:#3a2818;font-size:13px;font-weight:650;cursor:pointer}
.news-upload-button:hover{background:#9a5b13;color:#fff}
.news-upload-button.uploading{opacity:.55;pointer-events:none}
.news-upload-button input{display:none}
.news-body-editor{display:block;order:3;width:100%;min-height:380px;font-size:16px;overflow:auto}
.news-body-editor img{display:block;max-width:100%;height:auto;margin:8px auto}
.news-body-editor figure{position:relative;clear:both;width:min(100%,760px);max-width:100%;margin:20px auto;padding:10px;border:1px solid #e8d9b8;border-radius:10px;background:#fffaf0;overflow:hidden}
.news-body-editor figure.news-image-small{width:min(100%,360px)}
.news-body-editor figure.news-image-medium{width:min(100%,620px)}
.news-body-editor figure.news-align-left{margin-left:0;margin-right:auto}
.news-body-editor figure.news-align-center{margin-left:auto;margin-right:auto}
.news-body-editor figure.news-align-right{margin-left:auto;margin-right:0}
.news-body-editor figcaption{padding:7px 3px 0;color:#74685a;font-size:12px;text-align:center}
.news-body-editor blockquote{margin:1.1em 0;padding:15px 19px;border-left:5px solid #d4ad38;border-radius:0 10px 10px 0;background:#fff8e7;color:#713b12;font-size:1.08em;font-style:italic;box-shadow:inset 0 0 0 1px rgba(212,173,56,.18)}
.news-body-editor .news-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:22px 0;padding:12px;border:1px dashed #d4ad38;border-radius:12px;background:#fffaf0}
.news-body-editor .news-gallery figure{width:100%;margin:0;padding:6px;clear:none}
.news-body-editor .news-gallery img{width:100%;height:180px;object-fit:cover}
.news-image-tools{order:2;display:flex;align-items:center;flex-wrap:wrap;gap:8px;padding:10px 12px;border-top:1px solid #d4e4da;border-bottom:1px solid #d4e4da;background:#fff8e7;color:#3a2818}
.news-image-tools[hidden]{display:none}
.news-image-tools label,.news-image-tools span{display:flex!important;align-items:center;gap:6px;margin:0!important;font-size:12px;font-weight:700}
.news-image-tools select,.news-image-tools input{height:34px;margin:0;padding:5px 8px;border:1px solid #bdd2c4;border-radius:7px;background:#fff}
.news-image-tools .news-image-text{flex:1;min-width:180px}
.news-image-tools .news-image-text input{width:100%}
.news-image-tools button{min-height:34px;padding:6px 9px;border:1px solid #bdd2c4;border-radius:7px;background:#fff;color:#174b2d}
.news-image-tools button.danger{margin-left:auto;color:#a62525}
.news-media-picker{order:2;padding:12px;border-bottom:1px solid #e8d9b8;background:#fffaf0}
.news-media-picker[hidden]{display:none}
.news-media-picker header{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin-bottom:9px}
.news-media-picker header small{color:#74685a}
.news-media-picker>div{display:grid;grid-template-columns:repeat(5,minmax(100px,1fr));gap:8px;max-height:260px;overflow:auto}
.news-media-picker button{padding:5px;background:#fff;color:#2d241a;border:1px solid #d7e3da;text-align:left}
.news-media-picker button:hover{border-color:#9a5b13;box-shadow:0 0 0 2px rgba(22,133,82,.12)}
.news-media-picker button.selected{border-color:#9a5b13;box-shadow:0 0 0 3px rgba(22,133,82,.2);background:#e7f7ec}
.news-media-picker header .news-gallery-insert{margin-left:auto;background:#9a5b13;color:#fff}
.news-media-picker img{width:100%;height:86px;object-fit:cover;border-radius:5px}
.news-media-picker span{display:block;padding:4px;font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.news-editor-help{margin:7px 2px 0;color:#74685a;font-size:12px}
.news-drop-hint{display:none;order:2;margin:10px 12px 0;padding:13px 16px;border:2px dashed #d4ad38;border-radius:10px;background:#fff8e7;color:#713b12;font-weight:800;text-align:center}
.news-rich-editor.is-dragover{border-color:#d4ad38;box-shadow:0 0 0 4px rgba(212,173,56,.2)}
.news-rich-editor.is-dragover .news-drop-hint{display:block}
.news-rich-editor.is-dragover .news-body-editor{background:#fffdf7}
.news-rich-editor.is-uploading .news-drop-hint{display:block}.news-rich-editor.is-uploading .news-drop-hint::after{content:' · Feltöltés folyamatban…'}
.word-editor-toolbar{position:sticky!important;top:0!important;max-height:190px;overflow:auto;align-content:flex-start}
.news-editor-actions,.news-save-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px}.news-save-actions{margin-top:4px}
.news-featured{height:100%;align-self:end;padding:11px 13px!important;border:1px solid #d3e2d8;border-radius:8px;background:#fffaf0}.news-featured input{width:auto;margin:0}
.news-cover-picker{display:grid;grid-template-columns:repeat(5,minmax(120px,1fr));gap:9px;margin:8px 0 22px;padding:14px;border:1px solid #d6e3da;border-radius:10px}.news-cover-picker legend{padding:0 7px;color:#274d34;font-weight:800}.news-cover-picker label{position:relative;display:grid!important;align-content:start;gap:5px;margin:0!important;padding:6px;border:2px solid transparent;border-radius:9px;background:#f5f8f6;cursor:pointer}.news-cover-picker input{position:absolute;right:8px;top:8px;width:18px;height:18px;margin:0;accent-color:#9a5b13}.news-cover-picker label:has(input:checked){border-color:#9a5b13;background:#e9f7ed}.news-cover-picker img{display:block;width:100%;height:88px;object-fit:cover;border-radius:6px}.news-cover-picker span{font-size:10px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.news-cover-picker .news-cover-none{min-height:123px;place-content:center;text-align:center;border-style:dashed}
@media(max-width:800px){.word-editor-toolbar{flex-wrap:nowrap!important;max-height:none;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}.word-editor-toolbar>span{flex:0 0 1px}.word-editor-toolbar button,.word-editor-toolbar label{flex:0 0 auto}.news-style-controls{width:auto;flex:0 0 auto;justify-content:flex-start;padding:6px}.news-style-controls label span{display:none}.news-style-controls select{width:120px}.news-body-editor{min-height:300px}.news-media-picker>div{grid-template-columns:repeat(2,1fr)}.news-body-editor .news-gallery{grid-template-columns:1fr 1fr}.news-image-tools .news-image-text{flex-basis:100%}.news-cover-picker{grid-template-columns:repeat(2,1fr)}}
.news-editorial-fields{border:1px solid #d6e4db;border-radius:14px;padding:18px;background:#fffaf0}.news-editorial-fields legend{font-weight:800;color:#155f38;padding:0 8px}.news-publish-actions{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:stretch}.news-publish-actions .panel{margin:0}.news-publish-actions small{display:block;margin-top:10px;color:#74685a}@media(max-width:760px){.news-publish-actions{grid-template-columns:1fr}}

/* A határozatok és jegyzőkönyvek közös, Word-szerű szerkesztője. */
.official-rich-field{min-width:0;margin:14px 0 20px}
.official-rich-field>.resolution-ai-field-head{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:9px;margin-bottom:7px}
.official-rich-field>.resolution-ai-field-head>label{margin:0!important;color:#2d241a;font-weight:800}
.official-rich-editor-wrap{display:flex;min-width:0;flex-direction:column;overflow:visible;border:1px solid #d8c9ad;border-radius:13px;background:#fff;box-shadow:0 8px 22px rgba(45,36,26,.06)}
.official-rich-editor-wrap .official-rich-toolbar{position:static!important;top:auto!important;display:flex;order:1;max-height:none;align-items:center;align-content:flex-start;flex-wrap:wrap;gap:6px;overflow:visible;padding:10px;border:0;border-bottom:1px solid #e8dcc6;border-radius:13px 13px 0 0;background:#fffaf0}
.official-rich-toolbar>span{width:1px;align-self:stretch;min-height:31px;background:#dfcfb2}
.official-rich-toolbar button{min-height:34px;padding:6px 9px;border:1px solid #d8c9ad;border-radius:8px;background:#fff;color:#2d241a;font-size:12px;font-weight:750;line-height:1.15;white-space:nowrap}
.official-rich-toolbar button:hover,.official-rich-toolbar button:focus-visible{border-color:#b7790b;background:#fff2cc;color:#6b4100}
.official-rich-toolbar .rich-style-controls{display:flex;align-items:center;flex-wrap:wrap;gap:6px;padding:0 7px;border-left:1px solid #dbc8a4;border-right:1px solid #dbc8a4}
.official-rich-toolbar .rich-style-controls label{display:flex!important;align-items:center;gap:5px;margin:0!important;font-size:11px;font-weight:750}
.official-rich-toolbar .rich-style-controls select{width:auto;max-width:190px;height:34px;margin:0;padding:5px 7px;border:1px solid #d8c9ad;border-radius:7px;background:#fff;color:#2d241a;font-size:12px}
.official-rich-toolbar .rich-style-controls input[type=color]{width:38px;height:34px;margin:0;padding:3px;border:1px solid #d8c9ad;border-radius:7px;background:#fff;cursor:pointer}
.official-rich-editor{display:block;order:2;width:100%;min-height:170px;max-height:620px;overflow:auto;padding:18px;border:0!important;border-radius:0 0 13px 13px;background:#fff;color:#2d241a;font:400 16px/1.65 Inter,Arial,sans-serif;outline:0;white-space:normal}
.official-rich-editor:focus{box-shadow:inset 0 0 0 3px rgba(183,121,11,.18)}
.official-rich-editor:empty::before{content:attr(data-placeholder);color:#998e80;pointer-events:none}
.official-rich-editor p,.official-rich-output p{margin:.55em 0}
.official-rich-editor h2,.official-rich-output h2{margin:1em 0 .45em;font-size:1.45em;line-height:1.25}
.official-rich-editor h3,.official-rich-output h3{margin:.9em 0 .4em;font-size:1.2em;line-height:1.3}
.official-rich-editor ul,.official-rich-editor ol,.official-rich-output ul,.official-rich-output ol{margin:.65em 0;padding-left:1.65em}
.official-rich-editor li,.official-rich-output li{margin:.25em 0}
.official-rich-editor blockquote,.official-rich-output blockquote{margin:1em 0;padding:14px 18px;border-left:5px solid #d4ad38;border-radius:0 10px 10px 0;background:#fff8e7;color:#713b12;font-style:italic;box-shadow:inset 0 0 0 1px rgba(212,173,56,.18)}
.official-rich-editor a,.official-rich-output a{color:#8a5707;text-decoration:underline;text-underline-offset:2px}
.official-rich-output{min-width:0;color:#2d241a;line-height:1.65;overflow-wrap:anywhere}

@media(max-width:900px){
  .official-rich-editor-wrap .official-rich-toolbar{flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;scrollbar-width:thin}
  .official-rich-toolbar>span{flex:0 0 1px}
  .official-rich-toolbar button,.official-rich-toolbar .rich-style-controls{flex:0 0 auto}
  .official-rich-editor{min-height:150px;padding:14px;font-size:15px}
}
