.cms-page main { grid-template-columns: .8fr 1.2fr; }
.cms-panel { padding: 34px 42px; }
.cms-panel textarea { min-height: 110px; resize: vertical; padding: 14px; border: 1px solid #cbd3d6; }
.cms-blog-section { padding: 70px 6vw 100px; background: #f5f7f7; }
.cms-blog-heading { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 34px; }
.cms-blog-heading span { color: #1d69ff; font-size: 11px; letter-spacing: .14em; }
.cms-blog-heading h2 { margin: 8px 0 0; font-size: clamp(38px, 5vw, 58px); }
.cms-blog-heading button { padding: 14px 20px; border: 0; background: #172129; color: white; }
.cms-blog-layout { display: grid; grid-template-columns: minmax(260px, .7fr) minmax(420px, 1.3fr); gap: 28px; align-items: start; }
.cms-post-list { display: grid; gap: 8px; max-height: 850px; overflow-y: auto; }
.cms-post-list button { display: grid; gap: 5px; padding: 16px 18px; border: 1px solid #d7dfe1; background: white; text-align: left; }
.cms-post-list button.selected { border-color: #1d69ff; box-shadow: inset 4px 0 #1d69ff; }
.cms-post-list span { color: #607076; font-size: 12px; }
.cms-html-editor { min-height: 320px !important; font-family: Consolas, monospace; font-size: 13px; }
.cms-editor-actions { display: flex !important; grid-template-columns: 1fr auto; gap: 10px !important; }
.cms-editor-actions .danger { width: auto; background: #9d2c2c; padding-inline: 24px; }
@media (max-width: 900px) {
    .cms-page main, .cms-blog-layout { grid-template-columns: 1fr; }
    .cms-blog-heading { align-items: flex-start; flex-direction: column; }
    .cms-post-list { max-height: 360px; }
}
