/* Yönetim: haber / faydalı bilgi editörü */
.ae{display:grid;gap:16px}
.ae-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}
.ae-head h2{margin:0;font:700 24px Georgia,serif;color:#223448}
.ae-chip{padding:3px 10px;border-radius:999px;font:800 12px Manrope,Arial,sans-serif;background:#eef0ee;color:#4b5a52}
.ae-chip.live{background:#e3f0e6;color:#1f6b3a}.ae-chip.draft{background:#fff0d8;color:#8a5a00}.ae-chip.new{background:#e8eef6;color:#2d4a6b}
.ae-state{color:#687982;font-size:13px;margin-right:auto}
.ae-switch{display:none;gap:4px;background:#f3f1ed;padding:4px;border-radius:8px}
.ae-switch button{flex:1;padding:10px;border:0;border-radius:6px;background:transparent;font-weight:700;color:#66727a;cursor:pointer}
.ae-switch button.active{background:#fff;color:#223448;box-shadow:0 1px 3px #0002}
.ae-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,.95fr);gap:24px;align-items:start}
.ae-form{display:grid;gap:18px;background:#fff;border:1px solid #e8e7e2;border-radius:12px;padding:22px}
.ae-field{display:grid;gap:7px;min-width:0}
.ae-lab{display:flex;align-items:baseline;gap:8px;font-weight:800;font-size:14px;color:#223448}
.ae-lab small{font-weight:600;color:#7a8690}
.ae-count{margin-left:auto;font-style:normal;font-weight:600;font-size:12px;color:#7a8690}.ae-count.over{color:#b4452a}
.ae-form input[type=text],.ae-form input:not([type]),.ae-form input[type=url],.ae-form textarea{width:100%;box-sizing:border-box;padding:11px 13px;border:1px solid #d9d6cf;border-radius:8px;font:500 15px/1.5 Manrope,Arial,sans-serif;color:#253342;background:#fff}
.ae-form textarea{resize:vertical}
.ae-form textarea[name=content]{font-size:15.5px;line-height:1.65;min-height:300px;border-top-left-radius:0;border-top-right-radius:0}
.ae-form input:focus,.ae-form textarea:focus{outline:2px solid #ae5e40;outline-offset:1px;border-color:#ae5e40}
.ae-kind{border:0;padding:0;margin:0;display:grid;grid-template-columns:1fr 1fr;gap:10px}
.ae-kind legend{font-weight:800;font-size:14px;color:#223448;margin-bottom:7px;padding:0}
.ae-kind-opt{position:relative;display:block;cursor:pointer}
.ae-kind-opt input{position:absolute;opacity:0;inset:0}
.ae-kind-opt span{display:grid;gap:2px;padding:12px 14px;border:1.5px solid #d9d6cf;border-radius:10px;background:#fff}
.ae-kind-opt small{color:#6b7780;font-size:12px;line-height:1.35}
.ae-kind-opt input:checked+span{border-color:#ae5e40;background:#fbf1ea}
.ae-kind-opt input:focus-visible+span{outline:2px solid #ae5e40;outline-offset:2px}
.ae-tools{display:flex;flex-wrap:wrap;gap:4px;padding:7px;background:#f6f4ef;border:1px solid #d9d6cf;border-bottom:0;border-radius:8px 8px 0 0}
.ae-tools button{padding:6px 10px;border:1px solid transparent;border-radius:6px;background:transparent;font:700 13px Manrope,Arial,sans-serif;color:#40505a;cursor:pointer}
.ae-tools button:hover{background:#fff;border-color:#d9d6cf}
.ae-help{font-size:13px;color:#5e6664}.ae-help summary{cursor:pointer;font-weight:700}.ae-help code{background:#f3f1ed;padding:1px 5px;border-radius:4px}
.ae-cover{display:flex;gap:14px;align-items:center;padding:12px;border:1px dashed #cfc9bd;border-radius:10px;background:#fbfaf7}
.ae-cover img{width:132px;height:88px;object-fit:cover;border-radius:8px;background:#eee}.ae-cover img[hidden]{display:none}
.ae-cover-body{display:grid;gap:6px;justify-items:start}.ae-cover-body small{color:#6b7780}
.ae-file{cursor:pointer}
.ae-src summary{cursor:pointer;font-weight:800;font-size:14px;color:#223448}.ae-src summary small{font-weight:600;color:#7a8690}
.ae-two{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:10px}
.ae-msg{margin:0;min-height:20px;font-weight:700;color:#1f6b3a}.ae-msg.bad{color:#b4452a}
.ae-actions{position:sticky;bottom:0;display:flex;flex-wrap:wrap;gap:10px;padding:14px 0 2px;background:linear-gradient(#fff0,#fff 30%);margin-top:-6px}
.ae-del{margin-left:auto;color:#b4452a}
.ae-side{position:sticky;top:88px;background:#fff;border:1px solid #e8e7e2;border-radius:12px;overflow:hidden}
.ae-pv-bar{display:flex;justify-content:space-between;align-items:baseline;padding:11px 16px;background:#f6f4ef;border-bottom:1px solid #e8e7e2;color:#223448}.ae-pv-bar small{color:#7a8690}
#ae-preview{padding:18px 20px;max-height:calc(100vh - 190px);overflow:auto}
.ae-article h1{font-size:28px;line-height:1.2}
.ae-article .editorial-cover{width:100%;max-height:260px;object-fit:cover;border-radius:10px}
.ae-article .editorial-article h2{font:700 22px Georgia,serif;margin:22px 0 8px;color:#223448}.ae-article .editorial-article h3{font:800 17px Manrope,Arial,sans-serif;margin:18px 0 6px}
.ae-article .editorial-article ul{padding-left:22px;margin:10px 0}.ae-article .editorial-article blockquote{margin:14px 0;padding:8px 16px;border-left:4px solid #ae5e40;background:#fbf1ea;color:#40505a}
.ae-ph,.ae-nocover{color:#9aa3a9}.ae-nocover{padding:22px;border:1px dashed #d9d6cf;border-radius:10px;text-align:center;font-size:13px;margin:10px 0}
/* Okuyucu tarafında aynı biçimler */
.editorial-article h2{font:700 24px Georgia,serif;margin:26px 0 8px;color:#223448}.editorial-article h3{font:800 18px Manrope,Arial,sans-serif;margin:20px 0 6px}
.editorial-article ul{padding-left:22px}.editorial-article blockquote{margin:16px 0;padding:8px 18px;border-left:4px solid #ae5e40;background:#fbf1ea}
.article-admin-row .ae-chip{margin-left:6px;vertical-align:middle}
@media(max-width:1000px){
  .ae-switch{display:flex}
  .ae-grid{grid-template-columns:1fr}
  .ae-grid[data-pane=write] .ae-side{display:none}
  .ae-grid[data-pane=view] .ae-form{display:none}
  .ae-side{position:static}#ae-preview{max-height:none}
}
@media(max-width:600px){.ae-form{padding:14px}.ae-kind,.ae-two{grid-template-columns:1fr}.ae-cover{flex-direction:column;align-items:flex-start}.ae-cover img{width:100%;height:150px}.ae-actions .btn{flex:1}}
.ae [hidden]{display:none!important}
