/* Gutenberg AI 生成内容自动美化样式 */

/* 全局：让页面更美观 */
.editor-styles-wrapper {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

/* 美化标题（H1/H2） */
.editor-styles-wrapper h1.has-text-align-center,
.wp-block-heading.has-text-align-center[data-type="core/heading"] h1,
body h1.has-text-align-center {
    font-size: 48px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    margin-bottom: 20px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.editor-styles-wrapper h2.has-text-align-center,
body h2.has-text-align-center {
    font-size: 36px !important;
    font-weight: 700 !important;
    margin-bottom: 30px !important;
    color: #2d3748 !important;
}

/* 美化段落 */
.editor-styles-wrapper p.has-text-align-center.has-large-font-size,
body p.has-text-align-center.has-large-font-size {
    font-size: 20px !important;
    line-height: 1.6 !important;
    color: #4a5568 !important;
    margin-bottom: 30px !important;
}

/* 美化 emoji 图标 */
.editor-styles-wrapper p.has-x-large-font-size,
body p.has-x-large-font-size {
    font-size: 64px !important;
    line-height: 1 !important;
    margin-bottom: 15px !important;
}

/* 美化按钮 */
.wp-block-button__link,
.wp-element-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
    padding: 14px 40px !important;
    border-radius: 30px !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
    border: none !important;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4) !important;
    transition: all 0.3s ease !important;
}

.wp-block-button__link:hover,
.wp-element-button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6) !important;
}

/* 美化按钮容器 */
.wp-block-buttons {
    margin: 40px 0 !important;
}

/* 美化列布局 */
.wp-block-columns {
    margin-top: 50px !important;
    margin-bottom: 50px !important;
}

.wp-block-column {
    background: #f7fafc !important;
    padding: 30px 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
}

.wp-block-column:hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1) !important;
    background: white !important;
}

/* 列内的标题（H3） */
.wp-block-column h3.has-text-align-center {
    font-size: 22px !important;
    font-weight: 700 !important;
    color: #2d3748 !important;
    margin-bottom: 10px !important;
}

/* 列内的段落 */
.wp-block-column p.has-text-align-center {
    font-size: 15px !important;
    color: #718096 !important;
    line-height: 1.6 !important;
}

/* 添加顶部和底部的间距 */
.editor-styles-wrapper > * {
    margin-top: 20px;
    margin-bottom: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .editor-styles-wrapper h1.has-text-align-center,
    body h1.has-text-align-center {
        font-size: 32px !important;
    }
    
    .editor-styles-wrapper h2.has-text-align-center,
    body h2.has-text-align-center {
        font-size: 28px !important;
    }
    
    .editor-styles-wrapper p.has-text-align-center.has-large-font-size,
    body p.has-text-align-center.has-large-font-size {
        font-size: 16px !important;
    }
    
    .wp-block-column {
        margin-bottom: 20px !important;
    }
}

