/*
Theme Name: FUNION LiteTrade
Theme URI: https://funion.co
Author: FUNION
Author URI: https://funion.co
Description: 面向 B2B 外贸行业的企业官网系统。内置产品 / 案例 / 询盘三类内容模型、统一 schema 与 OG 输出、SEO 默认配置、行业配色变体与演示数据包，配合 Polylang 提供中英双语支持。定位为自有核心建站系统，用于交付定制建站服务，不对外零售。
Version: 1.0.303
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: funion-litetrade
Tags: b2b, business, e-commerce, translation-ready, block-patterns, custom-colors, full-site-editing
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

FUNION LiteTrade, Copyright 2026 FUNION.
This program is free software; you can redistribute it and/or modify it under
the terms of the GNU General Public License as published by the Free Software
Foundation; either version 2 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
*/

/* -------------------------------------------------------------------------
   全站主样式位于 assets/css/main.css（由 inc/assets.php 加载）
   本文件只保留：盒模型重置 + 无障碍基础 + 子主题继承锚点
   不要把业务样式写在这里，否则子主题加载时会重复计算
   ------------------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
}

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

/* 屏幕阅读器专用文本 */
.screen-reader-text {
	border: 0;
	clip-path: inset( 50% );
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #f1f1f1;
	border-radius: 3px;
	clip-path: none;
	color: #21759b;
	display: block;
	font-size: 14px;
	height: auto;
	left: 8px;
	line-height: normal;
	padding: 12px 18px;
	text-decoration: none;
	top: 8px;
	width: auto;
	z-index: 100000;
}

/* 跳至主内容链接 */
.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 100001;
}

.skip-link:focus {
	left: 8px;
	top: 8px;
}

/* 无障碍：尊重系统减弱动效设置 */
@media ( prefers-reduced-motion: reduce ) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}
