/*
Theme Name: Lemonx Starter
Theme URI: https://api.souvk.com
Author: RedLemon
Author URI: https://api.souvk.com
Description: 一个专为 Lemonx 插件和 Elementor 优化的现代化 WordPress 主题。支持完整的页面编辑器兼容性，响应式设计，以及丰富的自定义选项。完美兼容 Lemonx 可视化编辑器的所有功能，确保编辑器内容在前端完美呈现。
Version: 1.0.0
Tested up to: 6.4
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: lemonx-starter
Tags: elementor, page-builder, lemonx, custom-colors, custom-logo, custom-menu, featured-images, footer-widgets, full-width-template, theme-options, translation-ready, blog, portfolio, responsive-layout

Lemonx Starter 是一个轻量级、高性能的 WordPress 主题，专为 Lemonx 可视化编辑器和 Elementor 页面构建器优化。
*/

/* ========================================
   CSS 变量 - 与 Lemonx 设计系统保持一致
   ======================================== */
:root {
    /* 主色调 - 柠檬绿 */
    --lx-primary: #10b981;
    --lx-primary-hover: #059669;
    --lx-primary-light: #d1fae5;
    --lx-primary-dark: #047857;
    
    /* 次要色 - 靛蓝 */
    --lx-secondary: #6366f1;
    --lx-secondary-hover: #4f46e5;
    
    /* 强调色 - 琥珀 */
    --lx-accent: #f59e0b;
    --lx-accent-hover: #d97706;
    
    /* 中性色 */
    --lx-gray-50: #f9fafb;
    --lx-gray-100: #f3f4f6;
    --lx-gray-200: #e5e7eb;
    --lx-gray-300: #d1d5db;
    --lx-gray-400: #9ca3af;
    --lx-gray-500: #6b7280;
    --lx-gray-600: #4b5563;
    --lx-gray-700: #374151;
    --lx-gray-800: #1f2937;
    --lx-gray-900: #111827;
    
    /* 语义色 */
    --lx-success: #10b981;
    --lx-warning: #f59e0b;
    --lx-danger: #ef4444;
    --lx-info: #3b82f6;
    
    /* 字体 */
    --lx-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --lx-font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    
    /* 间距 */
    --lx-space-xs: 0.25rem;
    --lx-space-sm: 0.5rem;
    --lx-space-md: 1rem;
    --lx-space-lg: 1.5rem;
    --lx-space-xl: 2rem;
    --lx-space-2xl: 3rem;
    --lx-space-3xl: 4rem;
    
    /* 圆角 */
    --lx-radius-sm: 0.25rem;
    --lx-radius-md: 0.5rem;
    --lx-radius-lg: 0.75rem;
    --lx-radius-xl: 1rem;
    
    /* 阴影 */
    --lx-shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --lx-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --lx-shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    
    /* 过渡 */
    --lx-transition: all 0.2s ease;
    
    /* 容器宽度 */
    --lx-container-width: 1200px;
    --lx-container-wide: 1400px;
}

/* ========================================
   重置样式
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--lx-font-sans);
    font-size: 1rem;
    line-height: 1.6;
    color: var(--lx-gray-900);
    background-color: #ffffff;
}

/* ========================================
   排版
   ======================================== */
h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0.5em;
    font-weight: 600;
    line-height: 1.2;
    color: var(--lx-gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1em;
}

a {
    color: var(--lx-primary);
    text-decoration: none;
    transition: var(--lx-transition);
}

a:hover {
    color: var(--lx-primary-hover);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ========================================
   布局
   ======================================== */
.lx-container {
    max-width: var(--lx-container-width);
    margin: 0 auto;
    padding: 0 var(--lx-space-md);
}

.lx-container-wide {
    max-width: var(--lx-container-wide);
    margin: 0 auto;
    padding: 0 var(--lx-space-md);
}

.lx-container-full {
    width: 100%;
    padding: 0;
}

/* ========================================
   按钮
   ======================================== */
.lx-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    border: none;
    border-radius: var(--lx-radius-md);
    cursor: pointer;
    transition: var(--lx-transition);
}

.lx-btn-primary {
    background-color: var(--lx-primary);
    color: white;
}

.lx-btn-primary:hover {
    background-color: var(--lx-primary-hover);
    color: white;
}

.lx-btn-secondary {
    background-color: var(--lx-secondary);
    color: white;
}

.lx-btn-secondary:hover {
    background-color: var(--lx-secondary-hover);
    color: white;
}

/* ========================================
   响应式
   ======================================== */
@media (max-width: 768px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    h5 { font-size: 1.125rem; }
    h6 { font-size: 1rem; }
    
    .lx-container,
    .lx-container-wide {
        padding: 0 var(--lx-space-sm);
    }
}


