/* ==========================================
 * 区块编辑器增强样式
 * 匹配 theme.json 和 premium 设计
 * ========================================== */

/* 编辑器容器 */
.wp-block {
	max-width: 860px;
}
.wp-block[data-align="wide"] {
	max-width: 1400px;
}
.wp-block[data-align="full"] {
	max-width: none;
}

/* 标题样式 */
.editor-post-title__input {
	font-size: 32px;
	font-weight: 800;
	color: #1a1a2e;
	letter-spacing: -0.5px;
	line-height: 1.3;
}

/* 段落 */
.wp-block-paragraph {
	font-size: 16px;
	line-height: 1.8;
	color: #374151;
}

/* 按钮区块 */
.wp-block-button__link {
	border-radius: 10px !important;
	font-weight: 600 !important;
	padding: 10px 24px !important;
}
.wp-block-button.is-style-outline .wp-block-button__link {
	border: 2px solid #2d8cf0;
	color: #2d8cf0;
}

/* 引用区块 */
.wp-block-quote {
	border-left: 3px solid #2d8cf0;
	padding-left: 20px;
	font-style: italic;
	color: #4a4a6a;
}

/* 表格 */
.wp-block-table table {
	border-collapse: collapse;
	width: 100%;
	border-radius: 8px;
	overflow: hidden;
}
.wp-block-table td,
.wp-block-table th {
	padding: 10px 14px;
	border: 1px solid #e5e7eb;
}
.wp-block-table th {
	background: #f9fafb;
	font-weight: 600;
}

/* 代码 */
.wp-block-code {
	background: #f3f4f6;
	border-radius: 8px;
	padding: 16px;
	font-size: 14px;
}

/* 封面区块 */
.wp-block-cover {
	border-radius: 12px;
}

/* 分组区块 */
.wp-block-group {
	border-radius: 12px;
}

/* 列 */
.wp-block-column {
	border-radius: 12px;
}

/* 图片 */
.wp-block-image img {
	border-radius: 8px;
}

/* 分类/标签列表 */
.wp-block-categories-list,
.wp-block-tag-cloud {
	list-style: none;
	padding: 0;
}
.wp-block-categories-list li {
	padding: 6px 0;
	border-bottom: 1px solid #f0f0f0;
}

/* 最新文章 */
.wp-block-latest-posts__list li {
	padding: 10px 0;
	border-bottom: 1px solid #f0f0f0;
}
.wp-block-latest-posts__list a {
	color: #1a1a2e;
	font-weight: 600;
	text-decoration: none;
}
