/*
Theme Name: Legend
Theme URI: https://www.legendfireworks.com/
Author: Legend Fireworks
Author URI: https://www.legendfireworks.com/
Description: 专为 Elementor 设计的极简主题，所有页面渲染由 Elementor Theme Builder 接管。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.6
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: legend
Tags: elementor, custom-menu, custom-logo, featured-images, full-width-template, woocommerce, responsive-layout, translation-ready
*/

/* 极简重置 */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff;
}

#page {
    color: #ffffff;
}

img,
video,
iframe,
embed,
object {
    max-width: 100%;
    height: auto;
}

/* 站点全宽容器 */
#page {
    min-height: 100vh;
}

/* Elementor 全宽容器 */
.elementor-section-wrap {
    width: 100%;
}

/* 移除 WordPress 默认 gallery 样式干扰 */
.gallery {
    display: flex;
    flex-wrap: wrap;
}

.gallery-item {
    flex: 1 1 auto;
}

/* 基础响应式 */
@media (max-width: 768px) {
    html {
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }
}
