.visual-editor{min-height:250px;background:#fff;color:#17233c;border:1px solid #b8c7e1;border-radius:8px;padding:18px;overflow-wrap:anywhere}.visual-editor img,.content-page img{max-width:100%;height:auto;border-radius:8px}.editor-tools{display:flex;gap:6px;flex-wrap:wrap;margin:8px 0}.editor-tools button{padding:7px 12px;cursor:pointer}.admin-preview{max-width:220px;max-height:160px;object-fit:contain}.thumb{width:75px;height:50px;object-fit:cover;display:block}.content-page{max-width:1050px;margin:0 auto 30px}.content-page h1,.content-page h2{margin:16px 0}.content-page p{line-height:1.75}.page-cover{width:100%;max-height:420px;object-fit:cover;border-radius:12px;margin:12px 0 25px}.gallery-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:18px}.gallery-grid img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:10px}.gallery-grid figure{margin:0}.gallery-grid figcaption{padding:10px 0}.gallery-grid a{color:inherit}.error{color:#ff9999}