/**
 * Kanpho Blocks — CSS สำหรับ editor และหน้าเว็บ
 * ไม่กระทบ style.css เดิม เพราะใช้คลาสเดิมทั้งหมด
 */

/* ---------- Editor: ให้ preview บล็อกอ่าน CSS ของธีมได้ ---------- */
.editor-styles-wrapper .kp-editor-preview {
	font-family: 'Prompt', 'Sarabun', sans-serif;
}

/* บล็อกใน editor ให้เห็นขอบชัดเจน */
.editor-styles-wrapper [data-type^="kp/"] {
	margin-top: 8px;
	margin-bottom: 8px;
}

/* ---------- Frontend: บล็อกที่ถูกต้อง ไม่ต้องทำอะไรเพิ่ม ---------- */
/* ปล่อยให้ style.css เดิมจัดการทุกอย่าง */

/* กันไม่ให้หน้า content ที่มี block กว้างเกิน container */
.entry-content:has(> .kp-doc) {
	max-width: 100%;
}
