/*
Theme Name: WHCL - LED显示屏企业站主题
Theme URI: https://www.ledping.com.cn/
Author: 武汉彩亮光电科技有限公司
Author URI: https://www.ledping.com.cn/
Description: 专为 LED 显示屏行业打造的企业站 WordPress 主题。浅灰白基调（中性灰阶、白/浅灰交替分区、轻阴影卡片、两列资讯），内置可视化后台主题配置（可动态增删内容项）、SEO 深度优化（结构化数据 / Open Graph / 面包屑 / canonical）、GEO 生成式引擎优化（实体档案 / 要点速览 / FAQ 结构化数据 / llms.txt / AI 爬虫策略）。内容全部以文章为核心，不注册任何自定义文章类型，不使用小工具区域，主菜单与页尾栏目均由后台菜单调用，并针对首页查询做了精简。
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.8
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: whcl
Tags: business, custom-logo, custom-menu, featured-images, full-width-template, threaded-comments, translation-ready, block-styles, wide-blocks

WHCL is distributed under the terms of the GNU GPL.
*/

/* ==========================================================================
   1. 设计令牌 —— 中性灰阶体系
   ========================================================================== */
:root {
	/* 文字层级 */
	--whcl-text: #464646;          /* 正文 */
	--whcl-text-nav: #696969;      /* 导航 */
	--whcl-text-title: #444;       /* 区块标题 */
	--whcl-text-sub: #848484;      /* 次要说明 */
	--whcl-text-muted: #999;       /* 日期等弱化文字 */
	--whcl-text-strong: #37474f;   /* 卡片标题 */
	--whcl-text-dark: #3c3c3c;     /* 强调短线 */
	--whcl-text-link: #595959;     /* 资讯标题 */

	/* 背景与描边 */
	--whcl-bg: #ffffff;
	--whcl-bg-alt: #f5f5f5;        /* 交替分区 */
	--whcl-bg-soft: #fafafa;       /* 工具条 */
	--whcl-line: #efefef;          /* 细分隔线 */
	--whcl-line-strong: #e5e5e5;

	/* 阴影与圆角 —— 极轻阴影 + 3px 圆角 */
	--whcl-shadow: 0 1px 1px rgba(0, 0, 0, .05);
	--whcl-radius: 3px;

	--whcl-container: 1170px;
	--whcl-nav-height: 60px;

	--whcl-ease: cubic-bezier(.215, .61, .355, 1);
}

/* ==========================================================================
   2. 基础重置与排版
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	color: var(--whcl-text);
	background-color: var(--whcl-bg);
	font-family: "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft YaHei", FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", Roboto, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.57142857;
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 20px;
	color: var(--whcl-text-title);
	font-weight: 400;
	line-height: 1.3;
}

h1 { font-size: 30px; }
h2 { font-size: 26px; }
h3 { font-size: 22px; }
h4 { font-size: 18px; }
h5 { font-size: 16px; }
h6 { font-size: 14px; }

p {
	margin: 0 0 20px;
}

a {
	color: #5e7387;
	text-decoration: none;
	transition: color .5s, background-color .5s;
}

a:hover,
a:focus {
	color: #000;
	text-decoration: none;
}

a:focus-visible {
	outline: 1px solid #999;
	outline-offset: 2px;
}

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

ul, ol {
	margin: 0 0 20px;
	padding-left: 22px;
}

blockquote {
	margin: 24px 0;
	padding: 18px 22px;
	border-left: 3px solid #ddd;
	background: #fafafa;
	color: var(--whcl-text-sub);
	font-size: 14px;
}

blockquote p:last-child {
	margin-bottom: 0;
}

code, pre {
	font-family: Consolas, Monaco, "Courier New", monospace;
	background: #f5f5f5;
}

code {
	padding: 2px 6px;
	border-radius: 2px;
	font-size: 13px;
}

pre {
	padding: 16px;
	overflow: auto;
	border-radius: var(--whcl-radius);
}

table {
	width: 100%;
	margin: 0 0 22px;
	border-collapse: collapse;
	font-size: 14px;
}

table th,
table td {
	border: 1px solid var(--whcl-line-strong);
	padding: 10px 12px;
	text-align: left;
}

table th {
	background: #f5f5f5;
	color: var(--whcl-text-title);
	font-weight: 400;
}

hr {
	border: 0;
	border-top: 1px solid var(--whcl-line);
	margin: 28px 0;
}

/* 辅助类 */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus {
	background-color: #fff;
	clip: auto !important;
	clip-path: none;
	color: #5e7387;
	display: block;
	font-size: 14px;
	height: auto;
	left: 6px;
	line-height: normal;
	padding: 14px 20px;
	text-decoration: none;
	top: 6px;
	width: auto;
	z-index: 100000;
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, .2);
}

.alignleft {
	float: left;
	margin: 0 24px 20px 0;
}

.alignright {
	float: right;
	margin: 0 0 20px 24px;
}

.aligncenter {
	display: block;
	margin: 0 auto 24px;
}

.sticky {
	position: relative;
}

.bypostauthor {
	display: block;
}

.gallery-caption {
	font-size: 13px;
	color: var(--whcl-text-sub);
}

.wp-caption {
	max-width: 100%;
}

.wp-caption-text,
.wp-caption-dd {
	font-size: 13px;
	color: var(--whcl-text-sub);
}
