/*
Theme Name: ONEMIRO Visual Replica
Theme URI: https://www.onemiro.com
Author: ONEMIRO Team
Author URI: https://www.onemiro.com
Description: 基于旧网站视觉特征1:1复刻的WordPress主题，完全还原旧站视觉风格，像素级一致
Version: 1.0.0
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: onemiro-visual-replica
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

ONEMIRO Visual Replica is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*--------------------------------------------------------------
>>> TABLE OF CONTENTS:
----------------------------------------------------------------
# Normalize
# Typography
# Elements
# Forms
# Navigation
	## Links
	## Menus
# Accessibility
# Alignments
# Clearings
# Widgets
# Content
	## Posts and pages
	## Comments
# Infinite scroll
# Media
	## Captions
	## Galleries
--------------------------------------------------------------*/

/*--------------------------------------------------------------
# Normalize
--------------------------------------------------------------*/
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-family: sans-serif;
	-webkit-text-size-adjust: 100%;
	-ms-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.5;
	color: #333;
	background-color: #fff;
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
	margin: 0 0 20px;
	font-weight: 600;
	line-height: 1.3;
}

h1 {
	font-size: 42px;
}

h2 {
	font-size: 32px;
}

h3 {
	font-size: 24px;
}

h4 {
	font-size: 20px;
}

h5 {
	font-size: 18px;
}

h6 {
	font-size: 16px;
}

p {
	margin-bottom: 20px;
}

a {
	color: #C7000B;
	text-decoration: none;
	transition: color 0.3s;
}

a:hover,
a:focus,
a:active {
	color: #990000;
	text-decoration: underline;
}

/*--------------------------------------------------------------
# Elements
--------------------------------------------------------------*/
.container {
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

.btn {
	display: inline-block;
	padding: 12px 32px;
	background: #C7000B;
	color: #fff;
	text-decoration: none;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 500;
	transition: all 0.3s;
	border: none;
	cursor: pointer;
}

.btn:hover {
	background: #a00009;
	transform: translateY(-2px);
}

/*--------------------------------------------------------------
# Navigation
--------------------------------------------------------------*/
/* Top Bar */
.top-bar {
	background: #000;
	color: #fff;
	padding: 8px 0;
	font-size: 12px;
}

.top-bar .container {
	display: flex;
	justify-content: flex-end;
	align-items: center;
}

.top-bar a {
	color: #fff;
	text-decoration: none;
}

/* Header Main — 整合到下方 Modern Header Styles 中，此处不再重复 */

/*--------------------------------------------------------------
# Content
--------------------------------------------------------------*/
.site-main {
	padding: 0;
}

/* Hero Section */
.hero {
	height: 840px;
	position: relative;
	display: flex;
	align-items: center;
}

.hero-slider {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 840px;
	overflow: hidden;
}

.hero-slide {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s;
	z-index: 0;
}

.hero-slide.active {
	opacity: 1;
	z-index: 1;
}

.hero-bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: center;
}

.hero-text-content {
	position: absolute;
	top: 50%;
	left: 15%;
	transform: translateY(-60%);
	z-index: 10;
	text-align: left;
	max-width: 550px;
}

.hero-main-title {
	font-size: 48px;
	font-weight: 800;
	color: #fff;
	letter-spacing: 2px;
	margin-bottom: 12px;
	text-shadow: 0 2px 10px rgba(0,0,0,0.3);
	white-space: nowrap;
}

.hero-sub-title {
	font-size: 24px;
	font-weight: 500;
	color: rgba(255,255,255,0.9);
	margin-bottom: 16px;
	letter-spacing: 4px;
	text-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.hero-desc {
	font-size: 15px;
	color: rgba(255,255,255,0.85);
	line-height: 1.7;
	margin-bottom: 24px;
	max-width: 500px;
}

.hero-btn {
	display: inline-block;
	padding: 10px 32px;
	background: rgba(199,0,11,0.85);
	color: #fff;
	text-decoration: none;
	border-radius: 4px;
	font-size: 14px;
	font-weight: 500;
	transition: all 0.3s;
}

.hero-btn:hover {
	background: #a00009;
}

/* ====== Hero Slider Arrows ====== */
.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 10;
	width: 52px;
	height: 52px;
	border: none;
	border-radius: 50%;
	background: rgba(0,0,0,0.25);
	color: #fff;
	font-size: 28px;
	font-weight: 300;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.3s;
	line-height: 1;
}
.slider-arrow:hover {
	background: rgba(0,0,0,0.5);
}
.slider-arrow-left {
	left: 24px;
}
.slider-arrow-right {
	right: 24px;
}

/* News Section */
.news-section {
	background: #f8f8f8;
	padding: 40px 0 60px;
}
.news-section .container {
	padding: 0 20px;
}
.news-tag {
	display: inline-block;
	padding: 4px 14px;
	font-size: 12px;
	color: #fff;
	background: #C7000B;
	border-radius: 2px;
	margin-bottom: 20px;
	letter-spacing: 1px;
}
.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}
.news-item {
	background: #fff;
	border-radius: 10px;
	padding: 24px;
	transition: box-shadow 0.3s;
	box-shadow: 0 1px 6px rgba(0,0,0,0.04);
}
.news-item:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.news-item .date,
.news-item-date {
	font-size: 12px;
	color: #aaa;
	margin-bottom: 10px;
}
.news-item-title {
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
	margin-bottom: 10px;
}
.news-item-title a {
	color: #333;
	text-decoration: none;
}
.news-item-title a:hover {
	color: #C7000B;
}
.news-item p {
	font-size: 13px;
	color: #888;
	line-height: 1.6;
	margin-bottom: 12px;
}
.news-btns {
	display: flex;
	gap: 12px;
	margin-top: 32px;
}
.news-btn {
	flex: 1;
	height: 44px;
	line-height: 44px;
	text-align: center;
	font-size: 14px;
	color: #333;
	border: 1px solid #ddd;
	border-radius: 4px;
	text-decoration: none;
	background: #fff;
	transition: all 0.3s;
	max-width: 200px;
}
.news-btn:hover {
	background: #f5f5f5;
}

/* 桌面端新闻列表：三列grid */
.news-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
}

/* 桌面端显示摘要 */
.news-item-excerpt {
	font-size: 13px;
	color: #888;
	line-height: 1.6;
	margin-bottom: 0;
}

/* 手机端自适应 — Hero + 品牌 + 新闻（参照华为移动端布局） */
@media (max-width: 768px) {
	/* ===== Hero（仅首页生效）===== */
	.home .hero { height: 420px; }
	.home .hero-slider { height: 420px; }
	
	/* 手机端：点击展开交互 — 每张slide可点击 */
	.home .hero-slide { cursor: pointer; }
	
	/* 蒙版层 — 覆盖在图片上，文字在其上 */
	.home .hero-mob-overlay {
		position: absolute; inset: 0; z-index: 2;
		background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 50%, rgba(0,0,0,0.7) 100%);
		transition: opacity 0.4s ease;
		cursor: pointer;
	}
	.home .hero-slide.expanded .hero-mob-overlay {
		opacity: 0;
		pointer-events: none;
	}
	
	/* 文字内容 — 在蒙版上方 */
	.home .hero-text-content {
		position: absolute;
		top: 50%;
		left: 50%;
		transform: translate(-50%, -50%);
		text-align: center;
		max-width: 90%;
		z-index: 3;
		pointer-events: none;
	}
	
	/* 初始状态：文字在蒙版上 = 白色 */
	.home .hero-main-title { font-size: 28px; letter-spacing: 2px; color: #fff; text-shadow: 0 2px 8px rgba(0,0,0,0.5); }
	.home .hero-sub-title { font-size: 13px; letter-spacing: 3px; margin-bottom: 8px; color: rgba(255,255,255,0.9); text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
	.home .hero-desc { font-size: 13px; line-height: 1.6; margin-bottom: 20px; color: rgba(255,255,255,0.85); text-shadow: 0 1px 4px rgba(0,0,0,0.4); }
	
	/* 展开后：蒙版消失，文字淡出上移，按钮显现 */
	.home .hero-slide.expanded .hero-main-title,
	.home .hero-slide.expanded .hero-sub-title,
	.home .hero-slide.expanded .hero-desc {
		opacity: 0;
		transform: translateY(-15px);
		transition: opacity 0.3s ease, transform 0.4s ease;
		pointer-events: none;
	}
	.home .hero-slide.expanded .hero-btn {
		opacity: 1;
		transform: translateY(0);
		pointer-events: auto;
	}
	
	/* 探索产品按钮 — 默认隐藏，展开后显现 */
	.home .hero-btn {
		position: absolute;
		left: 50%; top: 50%;
		transform: translate(-50%, -50%);
		z-index: 5;
		padding: 10px 32px;
		white-space: nowrap;
		font-size: 14px;
		font-weight: 500;
		color: #fff;
		background: rgba(199,0,11,0.85);
		border: none;
		border-radius: 4px;
		text-decoration: none;
		opacity: 0;
		transition: opacity 0.4s ease 0.2s;
		pointer-events: none;
	}
	.home .hero-btn:hover { background: #a00009; }
	/* 展开后按钮显现（1秒后按钮消失，但无蒙版覆盖） */
	.home .hero-slide.expanded .hero-btn {
		opacity: 1;
		transform: translate(-50%, -50%);
		pointer-events: auto;
	}
	/* 1秒后按钮隐藏（expanded保留，蒙版不恢复，点击可跳转） */
	.home .hero-slide.expanded.btn-hidden .hero-btn {
		opacity: 0 !important;
		pointer-events: none !important;
	}
	
	/* 手机端小箭头 */
	.slider-arrow { width: 36px; height: 36px; font-size: 20px; display: flex; }
	.slider-arrow-left { left: 10px; }
	.slider-arrow-right { right: 10px; }
	.slider-dots { bottom: 16px; }
	.slider-dots .dot {
		width: 8px; height: 8px;
		margin: 0 5px;
		background: transparent;
		border: 1px solid rgba(255,255,255,0.6);
		border-radius: 50%;
		display: inline-block;
	}
	.slider-dots .dot.active {
		background: #fff;
		border-color: #fff;
	}

	/* 手机端隐藏品牌探索区 */
	.home-brand-section { display: none; }

	/* ===== 新闻动态 ===== */
	.news-section { padding: 20px 0 40px; background: #f5f5f5; }
	.news-tag {
		display: inline-block;
		padding: 4px 14px;
		font-size: 12px;
		color: #fff;
		background: #999;
		border-radius: 2px;
		margin-bottom: 16px;
		letter-spacing: 1px;
		margin-left: 20px;
	}
	.news-list { width: 100%; display: block; }
	.news-item {
		padding: 16px 20px;
		border-bottom: none;
		background: transparent;
		border-radius: 0;
		margin: 0;
	}
	.news-item + .news-item {
		border-top: 1px solid #e0e0e0;
	}
	.news-item-title {
		font-size: 16px;
		font-weight: 700;
		color: #222;
		line-height: 1.5;
		margin-bottom: 6px;
	}
	.news-item-title a {
		color: #222;
		text-decoration: none;
	}
	.news-item-title a:hover { color: #C7000B; }
	.news-item-date {
		font-size: 14px;
		color: #999;
	}
	.news-item-excerpt { display: none; }
	.news-btns {
		display: flex;
		gap: 12px;
		margin-top: 24px;
		padding: 0 20px;
	}
	.news-btn {
		flex: 1;
		height: 44px;
		line-height: 44px;
		text-align: center;
		font-size: 14px;
		color: #333;
		border: 1px solid #ddd;
		border-radius: 4px;
		text-decoration: none;
		background: #fff;
		transition: all 0.3s;
	}
	.news-btn:hover { background: #f5f5f5; }
}

/* Tech Section */
.tech-section {
	background: #f9f9f9;
	padding: 80px 0;
}

/* Editable Content Section — 古腾堡编辑区域，在新闻动态和红色统计条之间 */
/* Editable Content Section — 古腾堡编辑区域，在新闻动态和红色统计条之间 */
.editable-content-section {
	background: #f5f5f5;
	padding: 80px 0 120px;
}

/* ====== 图文融合板块：以科技，敬生命之源（桌面端） ====== */
@media (min-width: 769px) {
.editable-content-section.has-tech-bg {
    background: #fff;
    padding: 80px 0;
}
.editable-content-section.has-tech-bg .tech-story-bg {
    background: none !important;
}
.editable-content-section.has-tech-bg .tech-story-overlay {
    background: none !important;
    padding: 0;
}

	/* 电脑端Hero按钮 — 定位在图片右下角 */
	.hero-btn {
		position: absolute;
		bottom: 35%;
		right: 8%;
		z-index: 10;
	}

}
.editable-content-section.has-tech-bg .wp-block-columns {
    max-width: 1260px;
    margin: 0 auto;
    padding: 0 20px;
    gap: 60px;
}
.editable-content-section.has-tech-bg .wp-block-column {
    padding: 0;
}
.editable-content-section.has-tech-bg .wp-block-buttons {
    justify-content: flex-start !important;
}
.editable-content-section.has-tech-bg figure.wp-block-image {
    margin: 0;
}
.editable-content-section.has-tech-bg figure.wp-block-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* 手机端：editable-content-section替换为图文融合板块 */
@media (max-width: 768px) {
	.editable-content-section {
		padding: 0;
		background: transparent;
	}
	.editable-content-section .container {
		padding: 0;
		max-width: 100%;
	}
	.editable-content-section .container > *:not(.tech-story-wrapper) {
		padding: 0 20px;
	}
}

/* 手机端：图文融合专用面板 */
@media (max-width: 768px) {
	.editable-content-section.has-tech-bg .wp-block-columns {
		padding: 0;
		gap: 0;
	}
	.editable-content-section.has-tech-bg .wp-block-column {
		flex-basis: 100% !important;
	}
	.editable-content-section.has-tech-bg figure.wp-block-image {
		margin: 16px 0 0;
	}
	.editable-content-section.has-tech-bg figure.wp-block-image img {
		width: 100%;
		height: auto;
		border-radius: 8px;
	}
	.tech-story-section,
	.editable-content-section.has-tech-bg {
		width: 100%;
	}
	.tech-story-bg,
	.editable-content-section .tech-story-bg {
		position: relative;
		width: 100%;
		background-size: cover !important;
		background-position: center !important;
		background-repeat: no-repeat !important;
		padding: 0;
	}
	.tech-story-overlay,
	.editable-content-section .tech-story-overlay {
		background: rgba(0,0,0,0.7);
		padding: 36px 16px;
		text-align: left;
		color: #fff;
	}
	html body .tech-story-overlay h1,
	html body .tech-story-overlay h2,
	html body .tech-story-overlay h3,
	.editable-content-section .tech-story-overlay h1,
	.editable-content-section .tech-story-overlay h2,
	.editable-content-section .tech-story-overlay h3 {
		color: #fff !important;
		font-size: 16px !important;
		margin-bottom: 16px !important;
		text-align: center !important;
	}
	html body .tech-story-overlay p,
	.editable-content-section .tech-story-overlay p {
		color: #fff !important;
		font-size: 14px !important;
		line-height: 1.6 !important;
		margin-bottom: 10px !important;
		text-indent: 0 !important;
		text-align: left !important;
	}
	.tech-story-overlay .tech-story-link,
	.editable-content-section .tech-story-overlay .tech-story-link {
		display: inline-block;
		padding: 10px 24px;
		font-size: 13px;
		font-weight: 600;
		color: #fff;
		background: #C7000B;
		border-radius: 6px;
		text-decoration: none;
		margin-top: 16px;
	}
	.tech-story-btn,
	.editable-content-section .tech-story-btn {
		display: inline-block;
		padding: 12px 32px;
		font-size: 14px;
		font-weight: 600;
		color: #fff;
		background: #C7000B;
		border-radius: 6px;
		text-decoration: none;
		margin-top: 20px;
	}
}

.tech-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
}

.tech-content h2 {
	font-size: 32px;
	color: #333;
	margin-bottom: 25px;
	font-weight: bold;
}

.tech-content p {
	font-size: 16px;
	color: #666;
	line-height: 1.8;
	margin-bottom: 20px;
}

.tech-image img {
	width: 600px;
	height: 300px;
	object-fit: cover;
	border-radius: 12px;
	box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
	background: #000;
	color: #fff;
	padding: 50px 0;
}

.footer-content {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 40px;
}

.footer-column h3 {
	font-size: 18px;
	margin-bottom: 20px;
	color: #fff;
}

.footer-column ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-column ul li {
	margin-bottom: 10px;
}

.footer-column ul li a {
	color: rgba(255,255,255,0.7);
	transition: color 0.3s;
}

.footer-column ul li a:hover {
	color: #fff;
}

.copyright {
	text-align: center;
	padding-top: 30px;
	margin-top: 30px;
	border-top: 1px solid rgba(255,255,255,0.1);
	color: rgba(255,255,255,0.5);
	font-size: 14px;
}

/*--------------------------------------------------------------
# Responsive
--------------------------------------------------------------*/
@media (max-width: 1024px) {
	.news-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	
	.tech-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.footer-content {
		grid-template-columns: repeat(2, 1fr);
	}
}

/*--------------------------------------------------------------
# Modern Header Styles
--------------------------------------------------------------*/

/* Site Header */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: #fff;
	box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
}

/* Header Main — 统一入口，容器高度由 .container 决定 */
.header-main {
	padding: 8px 0;
	background: #fff;
	border-bottom: 1px solid #eee;
}

.header-main .container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	height: 40px;
	position: relative;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 20px;
}

/* Logo */
.header-logo {
	flex: 0 0 auto;
}

.logo-link {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: #333;
	font-weight: 600;
	font-size: 20px;
}

.header-logo img {
	height: 16px;
	width: auto;
}

.logo-text {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

/* Navigation */
.header-navigation {
	flex: 1;
	display: flex;
	justify-content: center;
}

.primary-menu {
	display: flex;
	gap: 40px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.primary-menu li {
	margin: 0;
}

.primary-menu a {
	text-decoration: none;
	color: #333;
	font-size: 16px;
	font-weight: 500;
	padding: 8px 0;
	position: relative;
	transition: color 0.3s;
}

.primary-menu a:hover {
	color: #C7000B;
}

.primary-menu a::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background: #C7000B;
	transition: width 0.3s;
}

.primary-menu a:hover::after {
	width: 100%;
}

/* 当前页面高亮 */
.primary-menu a.current-menu-item,
.primary-menu a.current-page-ancestor {
	color: #C7000B;
	font-weight: 600;
}

.primary-menu a.current-menu-item::after,
.primary-menu a.current-page-ancestor::after {
	width: 100%;
}

/* 下拉菜单指示器 */
.primary-menu li.menu-item-has-children > a {
	padding-right: 20px;
	position: relative;
}

.primary-menu li.menu-item-has-children > a::before {
	content: '▼';
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	font-size: 10px;
	color: #999;
	transition: transform 0.3s;
}

.primary-menu li.menu-item-has-children:hover > a::before {
	transform: translateY(-50%) rotate(180deg);
	color: #C7000B;
}

/* 二级菜单样式 — 已在下方 Modern Header Styles 中统一定义，此处不再重复 */
}

/* 左侧分类区域 */
.dropdown-left {
	flex: 1;
	padding-right: 40px;
	border-right: 1px solid #eee;
}

/* 右侧海报区域 */
.dropdown-right {
	width: 42%;
	padding-left: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 分类网格 */
.dropdown-categories {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

/* 分类项样式 */
.category-item {
	margin-bottom: 25px;
}

.category-title {
	font-size: 18px;
	font-weight: 600;
	color: #333;
	margin-bottom: 12px;
	padding-bottom: 8px;
	border-bottom: 1px solid #eee;
}

.sub-categories {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.sub-categories a {
	color: #555;
	text-decoration: none;
	padding: 6px 0;
	transition: color 0.2s ease;
}

.sub-categories a:hover {
	color: #0073aa;
}

/* ====== 下拉菜单右侧海报区 ====== */

/* 右侧海报区域 */
.dropdown-right {
	width: 42%;
	padding-left: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 图片卡片 — 图片尺寸 672x420 */
.image-card {
	width: 672px;
	height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-left: 90px;
}

/* 海报区域样式 */
.dropdown-poster {
	text-align: center;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 100%;
}

.dropdown-poster img {
	max-width: 100%;
	height: 400px;
	width: auto;
	max-height: 400px;
	border-radius: 8px;
	box-shadow: none;
	object-fit: cover;
	display: block;
}

.product-name {
	margin-top: 15px;
	font-size: 18px;
	font-weight: 600;
	color: #333;
}

/* 下拉箭头样式 */
.dropdown-arrow {
	font-size: 10px;
	color: #999;
	margin-left: 4px;
	vertical-align: middle;
	transition: transform 0.3s ease;
}

/* 当菜单项激活时，箭头旋转 */
.primary-menu > li.active > a .dropdown-arrow {
	transform: rotate(180deg);
	color: #0073aa;
}

/* 隐藏WordPress默认的子菜单，使用自定义的left-dropdown */
.primary-menu .sub-menu {
	display: none !important;
}

/* 确保自定义的left-dropdown正常显示 */
.primary-menu .left-dropdown {
	display: none;
	position: absolute;
	t...[truncated]
	left: 0;
	background: white;
	min-width: 280px;
	box-shadow: 0 10px 30px rgba(0,0,0,0.1);
	border-radius: 8px;
	padding: 20px;
	z-index: 1000;
	text-align: left;
}

.primary-menu li:hover .left-dropdown {
	display: block;
}

.primary-menu .sub-menu li {
	margin: 0;
}

.primary-menu .sub-menu a {
	display: block;
	padding: 10px 20px;
	color: #555;
	font-size: 14px;
	font-weight: 400;
	white-space: nowrap;
}

.primary-menu .sub-menu a:hover {
	background: #f8f9fa;
	color: #C7000B;
}

.primary-menu .sub-menu a::after {
	display: none;
}

/* 左侧下拉菜单样式 - 已在上方定义，此处删除重复定义 */

.left-dropdown .dropdown-section {
	margin-bottom: 20px;
}

.left-dropdown .section-title {
	font-size: 14px;
	font-weight: 600;
	color: #666;
	margin-bottom: 10px;
	padding-bottom: 5px;
	border-bottom: 1px solid #eee;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.left-dropdown .section-links {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.left-dropdown .section-links a {
	display: block;
	padding: 8px 12px;
	color: #333;
	font-size: 14px;
	font-weight: 400;
	text-decoration: none;
	border-radius: 4px;
	transition: all 0.2s;
}

.left-dropdown .section-links a:hover {
	background: #f8f9fa;
	color: #C7000B;
	padding-left: 16px;
}

/* 编辑器caption居中 */
.wp-block-image figcaption {
	text-align: center;
	color: #999;
	font-size: 14px;
}

/* ====== 行业动态文章列表卡片 (page-news.php) ====== */
.news-list-section {
	padding: 50px 0;
	max-width: 900px;
	margin: 0 auto;
}

/* 年份分组标题 */
.year-group {
	text-align: center;
	margin: 40px 0 30px;
}
.year-title {
	font-size: 22px;
	color: #333;
	font-weight: 600;
	letter-spacing: 6px;
}

/* 文章卡片 - 无分割线卡片风格 */
.news-card {
	margin-bottom: 0;
	border-bottom: none;
	padding-bottom: 0;
}
.news-card-inner {
	display: flex;
	gap: 24px;
	align-items: center;
	padding: 24px 0;
	border-bottom: 1px solid #eee;
}
/* 最后一张卡片不显示分割线 */
.news-card:last-child .news-card-inner {
	border-bottom: none;
}

/* 缩略图 */
.news-card-thumb {
	flex: 0 0 180px;
	max-width: 180px;
	overflow: hidden;
	border-radius: 6px;
}
.news-card-thumb img {
	width: 100%;
	height: 130px;
	object-fit: cover;
	display: block;
	border-radius: 6px;
}

/* 正文区域 */
.news-card-body {
	flex: 1;
	min-width: 0;
}

/* 新闻卡片元信息（年月日） */
.news-card-date {
    font-size: 12px;
    color: #888;
    margin-bottom: 6px;
    display: block;
}

/* 标题 */
.news-card-title {
	margin: 0 0 10px;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.5;
}
.news-card-title a {
	color: #222;
	text-decoration: none;
	transition: color 0.2s;
}
.news-card-title a:hover {
	color: #C7000B;
}

/* 摘要 */
.news-card-excerpt {
	font-size: 14px;
	color: #555;
	line-height: 1.7;
	margin: 0 0 12px;
}

/* 底部区域 */
.news-card-footer {
	display: flex;
	justify-content: space-between;
	align-items: center;
}
.news-card-left {
	display: flex;
	align-items: center;
	gap: 40px;
}
.news-card-source {
	font-size: 12px;
	color: #aaa;
}
.news-card-views {
	font-size: 12px;
	color: #aaa;
}
.news-card-link {
	font-size: 13px;
	color: #C7000B;
	text-decoration: none;
	font-weight: 500;
}
.news-card-link:hover {
	text-decoration: underline;
}

/* 分页 */
.news-pagination {
	text-align: center;
	margin: 50px 0 30px;
}
.news-pagination a,
.news-pagination span {
	display: inline-block;
	padding: 8px 14px;
	margin: 0 3px;
	font-size: 14px;
	color: #333;
	background: #f5f5f5;
	border-radius: 4px;
	text-decoration: none;
	transition: all 0.2s;
}
.news-pagination a:hover {
	background: #C7000B;
	color: #fff;
}
.news-pagination .current {
	background: #C7000B;
	color: #fff;
	font-weight: 600;
}

.no-news {
	text-align: center;
	padding: 80px 0;
	color: #999;
	font-size: 16px;
}

/* 无缩略图时的样式 */
.news-card:not(:has(.news-card-thumb)) .news-card-title {
	font-size: 20px;
}

@media (max-width: 768px) {
	.news-card-inner {
		flex-direction: column;
	}
	.news-card-thumb {
		flex: none;
		max-width: 100%;
		width: 100%;
	}
	.news-card-thumb img {
		height: 200px;
	}
	.news-list-section {
		padding: 30px 15px;
	}
}

.left-dropdown .section-links a::before {
	content: '›';
	margin-right: 8px;
	color: #C7000B;
}

/* 产品生态下拉菜单 */
.left-dropdown.product-eco {
	min-width: 320px;
}

.left-dropdown.product-eco .dropdown-section {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
}

/* 一米深度下拉菜单 */
.left-dropdown.depth-menu {
	min-width: 250px;
}

/* 专家支持下拉菜单 */
.left-dropdown.support-menu {
	min-width: 250px;
}

/* 全球合作下拉菜单 */
.left-dropdown.cooperation-menu {
	min-width: 250px;
}
	flex: 0 0 auto;
	display: flex;
	gap: 12px;
	align-items: center;
}

.btn {
	display: inline-block;
	padding: 10px 24px;
	border-radius: 4px;
	text-decoration: none;
	font-weight: 500;
	font-size: 14px;
	transition: all 0.3s;
	border: 2px solid transparent;
	cursor: pointer;
}

.btn-outline {
	background: transparent;
	color: #333;
	border-color: #ddd;
}

.btn-outline:hover {
	background: #f5f5f5;
	border-color: #ccc;
}

.btn-primary {
	background: #C7000B;
	color: #fff;
	border-color: #C7000B;
}

.btn-primary:hover {
	background: #a80009;
	border-color: #a80009;
}

/* ===== 华为风格手机导航菜单 ===== */
/* 手机端 - 响应式：隐藏桌面导航，显示汉堡按钮 */
@media (max-width: 1024px) {
	.header-navigation { display: none; }
	.header-cta { display: none; }
	.header-main .container { justify-content: flex-start; }
	.header-main .container { display: flex; align-items: center; }
	.header-logo { flex: 0 0 auto; }
	.header-logo { order: 0 !important; margin-right: 0; }
}

/* 手机端 - 顶部工具栏响应式 */
@media (max-width: 1024px) {
	.top-toolbar .container { padding: 0 12px; }
	.top-lang-trigger { font-size: 11px; }
	.top-lang-label { display: none; }
}

/* ===== 华为风格下拉菜单CSS - 简化版 ===== */
/* 下拉菜单容器 - 跟随导航栏位置 */
.huawei-dropdown {
	position: absolute;
	top: 100%; /* 紧贴header底部，随header高度变化 */
	left: 0;
	width: 100%;
	background: white;
	box-shadow: 0 10px 30px rgba(0,0,0,0.15);
	z-index: 9999;
	display: none; /* 默认隐藏 */
	border-top: 1px solid #eee;
	max-height: 80vh;
	overflow-y: auto;
}

/* 显示状态 - 简单显示/隐藏 */
.huawei-dropdown.show {
	display: block;
}

/* 下拉菜单容器内部 */
.dropdown-container {
	display: flex;
	max-width: 1400px;
	margin: 0 auto;
	padding: 0 30px;
	min-height: 460px;
}

/* 左侧分类区域 — 三列卡片网格 */
.dropdown-left {
	width: 58%;
	padding-right: 40px;
	border-right: 1px solid #eee;
}

/* 右侧海报区域 */
.dropdown-right {
	width: 42%;
	padding-left: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* 分类卡片网格 — 三列 */
.dropdown-categories {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	align-content: start;
	align-items: start;
}

/* 卡片 — 无灰底，顶部对齐，等高分列 */
.category-item-link {
	text-decoration: none;
	color: inherit;
	display: flex;
	cursor: pointer;
	align-items: stretch;
}

.category-item {
	background: transparent;
	border-radius: 12px;
	padding: 20px 14px 25px;
	transition: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	border: none;
	width: 100%;
}

.category-item:hover {
	box-shadow: none;
	border-color: transparent;
}

/* 三级子项容器 — 推到卡片底部 */
.sub-categories {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	margin-top: auto;
	width: 100%;
}

/* 产品生态（hasSubs模式）三级类目组整体下移10px */
.has-sub-cats .sub-categories {
	margin-top: auto;
	padding-top: 10px;
}

/* sub-categories底部追加空占位，确保所有卡片等高等齐 */
.sub-categories::after {
	content: '';
	flex: 1;
	min-height: 0;
	pointer-events: none;
}

/* 卡片图标 — SVG素描风格，无圆框约束 */
.category-icon {
	width: auto;
	height: 70px;
	margin-bottom: 10px;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	background: none;
	border: none;
	border-radius: 0;
}

.category-icon svg {
	width: 60px;
	height: 60px;
}

/* 卡片二级标题 — 同导航字体：16px/纯黑/不加粗 */
.category-title {
	font-size: 16px;
	font-weight: 500;
	color: #000;
	margin-bottom: 14px;
	padding-bottom: 0;
	border-bottom: none;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	cursor: default;
}

/* 三级子项 — 圆角标签，灰色底部 */
.sub-categories {
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
	align-items: center;
}

.sub-categories a {
	display: block;
	padding: 7px 14px;
	color: #555;
	font-size: 16px;
	font-weight: 400;
	text-decoration: none;
	background: #f5f5f5;
	border: none;
	border-radius: 20px;
	text-align: center;
	transition: all 0.2s;
	width: 90%;
}

.sub-categories a:hover {
	background: #ffeaea;
	color: #C7000B;
}

/* 纯二级类目卡片（无三级子项）— 无灰底 */
.direct-link {
	padding: 24px 18px 24px;
	border-bottom: none;
	background: transparent;
	border-radius: 12px;
	border: none;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}

.category-link {
	display: block;
	padding: 12px 16px;
	color: #333;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	border-radius: 6px;
	transition: all 0.2s;
	cursor: pointer;
	text-align: center;
}

.category-link:hover {
	background: #f0f7ff;
	color: #C7000B;
}

/* ===== 适配屏幕变化 ===== */

/* 中等屏幕：宽屏笔记本 */
@media (max-width: 1200px) {
	.dropdown-left { width: 58%; padding-right: 35px; }
	.dropdown-right { width: 42%; padding-left: 35px; }
}

/* 平板横向 */
@media (max-width: 992px) {
	.huawei-dropdown {
		top: 70px;
		max-height: 70vh;
	}
	
	.dropdown-container {
		flex-direction: column;
		padding: 20px;
	}
	
	.dropdown-left {
		width: 100%;
		padding-right: 0;
		padding-bottom: 20px;
		border-right: none;
		border-bottom: 1px solid #eee;
	}
	
	.dropdown-right {
		width: 100%;
		padding-left: 0;
		padding-top: 20px;
	}
	
	.dropdown-categories {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* 手机 */
@media (max-width: 768px) {
	.dropdown-categories {
		grid-template-columns: 1fr;
		gap: 14px;
	}
	
	.category-item {
		padding: 18px 14px;
	}
	
	.dropdown-left {
		padding-right: 0;
	}
	
	.dropdown-right {
		width: 100%;
		padding-left: 0;
		padding-top: 20px;
	}
	}
	
	/* 手机端适配 */
@media (max-width: 992px) {
	.huawei-dropdown {
		top: 70px;
		max-height: 70vh;
	}
	
	.dropdown-container {
		flex-direction: column;
		padding: 20px;
	}
	
	.dropdown-left {
		padding-right: 0;
		padding-bottom: 20px;
		border-right: none;
		border-bottom: 1px solid #eee;
	}
	
	.dropdown-right {
		padding-left: 0;
		padding-top: 20px;
	}
	
	.dropdown-categories {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.logo-text {
		display: none;
	}
}

@media (max-width: 768px) {
	.news-grid {
		grid-template-columns: 1fr;
	}
	
	.hero-main-title {
		font-size: 32px;
	}
	
	.footer-content {
		grid-template-columns: 1fr;
	}
	
	.main-navigation ul {
		flex-direction: column;
		gap: 15px;
	}
}

/* ===== 文章详情页 - 左侧正文 + 右侧阅读排行榜 ===== */

.site-main-single {
	padding: 40px 0;
	max-width: 1400px;
	margin: 0 auto;
	width: 100%;
}

.single-layout {
	display: flex;
	gap: 40px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 20px;
}

/* 左侧正文区域 */
.single-content {
	flex: 1;
	min-width: 0;
	max-width: 820px;
}

.single-article-title {
	font-size: 24px;
	font-weight: 700;
	color: #222;
	line-height: 1.4;
	margin: 0 0 12px 0;
}

.single-article-meta {
	font-size: 13px;
	color: #999;
	margin-bottom: 24px;
	display: flex;
	align-items: center;
	gap: 16px;
}

.single-meta-source {
	color: #999;
}

.single-meta-views {
	color: #999;
	font-weight: 400;
}

.single-article-body {
	font-size: 16px;
	color: #333;
	line-height: 1.8;
}

.single-article-body p {
	margin-bottom: 18px;
}

.single-article-body img {
	max-width: 100%;
	height: auto;
	margin: 10px 0;
	border-radius: 4px;
}

/* 右侧侧边栏 */
.single-sidebar {
	width: 320px;
	flex-shrink: 0;
}

.sidebar-card {
	background: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	overflow: hidden;
}

.sidebar-tabs {
	display: flex;
	border-bottom: 2px solid #f0f0f0;
	padding: 0;
}

.sidebar-tab {
	flex: 1;
	text-align: center;
	padding: 14px 10px;
	font-size: 14px;
	color: #666;
	cursor: pointer;
	transition: none;
}

.sidebar-tab.active {
	color: #C7000B;
	border-bottom: 2px solid #C7000B;
	margin-bottom: -2px;
	font-weight: 600;
}

.sidebar-list {
	padding: 0;
}

.sidebar-panel {
	display: none;
}

.sidebar-panel.active {
	display: block;
}

.sidebar-empty {
	padding: 30px 16px;
	text-align: center;
	color: #999;
	font-size: 14px;
}

.sidebar-item {
	display: flex;
	gap: 12px;
	padding: 14px 16px;
	border-bottom: 1px solid #f5f5f5;
	align-items: flex-start;
}

.sidebar-item:last-child {
	border-bottom: none;
}

.sidebar-item-thumb {
	width: 70px;
	height: 70px;
	flex-shrink: 0;
	border-radius: 4px;
	overflow: hidden;
}

.sidebar-item-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.sidebar-item-placeholder {
	width: 100%;
	height: 100%;
	background: #f0f0f0;
}

.sidebar-item-info {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.sidebar-item-title {
	font-size: 13px;
	font-weight: 500;
	color: #333;
	line-height: 1.4;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.sidebar-item-title a {
	color: inherit;
	text-decoration: none;
}

.sidebar-item-title a:hover {
	color: #C7000B;
}

.sidebar-item-stats {
	font-size: 11px;
	color: #bbb;
	margin-top: auto;
}

/* 响应式 */
@media (max-width: 992px) {
	.single-layout {
		flex-direction: column;
	}
	
	.single-content {
		max-width: 100%;
	}
	
	.single-sidebar {
		width: 100%;
	}
	
	.sidebar-item-thumb {
		width: 80px;
		height: 80px;
	}
}

@media (max-width: 768px) {
	.site-main-single {
		padding: 20px 0;
	}
	
	.single-layout {
		padding: 0 15px;
		gap: 24px;
	}
	
	.single-article-title {
		font-size: 20px;
	}

	/* 三个产品分类页面—手机端卡片标题 16px */
	.product-card-body h3 {
		font-size: 16px !important;
	}

	/* 手机端查看详情按钮缩小 */
	.product-card-link {
		padding: 6px 14px !important;
		font-size: 12px !important;
	}
}