/*
Theme Name: 鸿德毅远
Theme URI: https://www.hongdeyiyuan.com/theme/
Author: 鸿德毅远
Author URI: https://www.hongdeyiyuan.com/
Description: 鸿德毅远是一款为中国制造型企业打造的简洁、专业的响应式企业官网主题，适用于传感器与仪器仪表、工业自动化、机械制造等行业。内置首页幻灯片、产品展示、应用领域、数据统计、新闻动态、荣誉资质等企业官网常用版块，全部内容可通过主题自定义器配置；支持自定义菜单、自定义 Logo、特色图片与备案信息展示。Hongde Yiyuan is a clean and professional responsive business theme for Chinese manufacturing enterprises, ideal for sensors, instruments and industrial automation companies.
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hongdeyiyuan
Tags: custom-logo, custom-menu, custom-colors, featured-images, featured-image-header, footer-widgets, full-width-template, theme-options, threaded-comments, translation-ready, one-column, two-columns, grid-layout, block-styles, wide-blocks

本主题基于 GPL v2 或更高版本授权。
This theme, like WordPress, is licensed under the GPL.
*/

/*--------------------------------------------------------------
>>> 目录
1.  变量与基础
2.  通用布局
3.  顶部栏与页头
4.  导航
5.  首页幻灯片
6.  服务承诺条
7.  版块公共标题
8.  关于我们
9.  数据统计
10. 产品中心
11. 应用领域
12. 生产实力
13. 新闻动态
14. 荣誉资质与合作伙伴
15. 联系横幅
16. 内页横幅与正文
17. 文章列表与详情
18. 评论
19. 侧边栏小工具
20. 分页与表单
21. 页脚
22. 响应式
--------------------------------------------------------------*/

/*--------------------------------------------------------------
1. 变量与基础
--------------------------------------------------------------*/
:root {
	--hy-primary: #0b4a91;
	--hy-primary-dark: #093b74;
	--hy-primary-light: #1665c0;
	--hy-accent: #d81e06;
	--hy-dark: #14233c;
	--hy-gray: #6b7688;
	--hy-light: #f4f7fb;
	--hy-border: #e3e9f2;
	--hy-radius: 8px;
	--hy-shadow: 0 12px 32px rgba(20, 35, 60, 0.10);
	--hy-font: "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "Heiti SC", "WenQuanYi Micro Hei", sans-serif;
}

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

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

body {
	margin: 0;
	font-family: var(--hy-font);
	font-size: 15px;
	line-height: 1.75;
	color: #333c4a;
	background: #fff;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

a {
	color: var(--hy-primary);
	text-decoration: none;
	transition: color 0.2s ease;
}

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

h1, h2, h3, h4, h5, h6 {
	color: var(--hy-dark);
	line-height: 1.35;
	margin: 0 0 0.6em;
}

p {
	margin: 0 0 1em;
}

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

button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
}

:focus-visible {
	outline: 2px solid var(--hy-primary-light);
	outline-offset: 2px;
}

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

.skip-link {
	left: -9999px;
	position: absolute;
	top: 0;
	z-index: 999999;
}

.skip-link:focus {
	background: #fff;
	clip-path: none;
	color: var(--hy-primary);
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 8px;
	line-height: normal;
	padding: 14px 22px;
	text-decoration: none;
	top: 8px;
	width: auto;
}

/*--------------------------------------------------------------
2. 通用布局
--------------------------------------------------------------*/
.container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.btn {
	display: inline-block;
	padding: 11px 30px;
	border-radius: 4px;
	font-size: 15px;
	line-height: 1.6;
	cursor: pointer;
	border: 1px solid transparent;
	transition: all 0.25s ease;
}

.btn-primary {
	background: var(--hy-primary);
	color: #fff;
}

.btn-primary:hover {
	background: var(--hy-primary-dark);
	color: #fff;
}

.btn-ghost {
	background: transparent;
	color: #fff;
	border-color: rgba(255, 255, 255, 0.6);
}

.btn-ghost:hover {
	border-color: #fff;
	color: #fff;
}

.btn-light {
	background: #fff;
	color: var(--hy-primary);
}

.btn-light:hover {
	background: var(--hy-light);
	color: var(--hy-primary-dark);
}

/*--------------------------------------------------------------
3. 顶部栏与页头
--------------------------------------------------------------*/
.topbar {
	background: var(--hy-dark);
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
}

.topbar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 36px;
	gap: 16px;
}

.topbar-right {
	display: flex;
	align-items: center;
	gap: 22px;
}

.topbar-tel strong {
	color: #fff;
	font-weight: 600;
	letter-spacing: 0.5px;
}

.header-main {
	background: #fff;
	border-bottom: 1px solid var(--hy-border);
}

.header-main-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 84px;
	gap: 20px;
}

.site-branding {
	display: flex;
	align-items: center;
}

.custom-logo {
	max-height: 60px;
	width: auto;
}

.site-logo img {
	display: block;
	height: 60px;
	width: auto;
}

.header-contact {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--hy-primary);
}

.header-contact-icon {
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 50%;
	background: rgba(11, 74, 145, 0.08);
}

.header-contact-text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.header-contact-label {
	font-size: 12px;
	color: var(--hy-gray);
}

.header-contact-number {
	font-size: 22px;
	color: var(--hy-primary);
	letter-spacing: 0.5px;
	font-weight: 700;
}

.nav-toggle {
	display: none;
	background: none;
	border: 0;
	cursor: pointer;
	padding: 8px;
}

.nav-toggle-box {
	display: block;
	width: 24px;
}

.nav-toggle-box i {
	display: block;
	height: 2px;
	background: var(--hy-primary);
	margin: 5px 0;
	border-radius: 2px;
	transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-toggle.is-open .nav-toggle-box i:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open .nav-toggle-box i:nth-child(2) {
	opacity: 0;
}

.nav-toggle.is-open .nav-toggle-box i:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/*--------------------------------------------------------------
4. 导航
--------------------------------------------------------------*/
.main-nav {
	background: var(--hy-primary);
	position: relative;
	z-index: 50;
}

.main-nav .menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
}

.main-nav .menu > li {
	position: relative;
}

.main-nav .menu > li > a {
	display: block;
	color: #fff;
	font-size: 16px;
	padding: 15px 26px;
	letter-spacing: 1px;
	position: relative;
}

.main-nav .menu > li > a::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	width: 0;
	height: 3px;
	background: var(--hy-accent);
	transition: width 0.25s ease, left 0.25s ease;
}

.main-nav .menu > li:hover > a::after,
.main-nav .menu > li.current-menu-item > a::after,
.main-nav .menu > li.current_page_item > a::after {
	width: 60%;
	left: 20%;
}

.main-nav .menu > li:hover > a {
	background: var(--hy-primary-dark);
}

.main-nav .menu .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 180px;
	background: #fff;
	box-shadow: var(--hy-shadow);
	list-style: none;
	margin: 0;
	padding: 6px 0;
	opacity: 0;
	visibility: hidden;
	transform: translateY(12px);
	transition: all 0.25s ease;
	border-top: 2px solid var(--hy-accent);
	z-index: 60;
}

.main-nav .menu li:hover > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.main-nav .menu .sub-menu a {
	display: block;
	padding: 10px 18px;
	color: #3d4654;
	font-size: 14px;
	border-bottom: 1px dashed var(--hy-border);
}

.main-nav .menu .sub-menu li:last-child a {
	border-bottom: 0;
}

.main-nav .menu .sub-menu a:hover {
	background: var(--hy-light);
	color: var(--hy-primary);
	padding-left: 24px;
}

/*--------------------------------------------------------------
5. 首页幻灯片
--------------------------------------------------------------*/
.hero {
	position: relative;
	height: 560px;
	overflow: hidden;
	background: var(--hy-dark);
}

.hero-slider,
.hero-slide {
	position: absolute;
	inset: 0;
}

.hero-slide {
	opacity: 0;
	visibility: hidden;
	transition: opacity 1s ease, visibility 1s ease;
}

.hero-slide.is-active {
	opacity: 1;
	visibility: visible;
}

.hero-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.hero-mask {
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(20, 35, 60, 0.35), rgba(20, 35, 60, 0.62));
}

.hero-caption {
	position: relative;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
	transform: translateY(16px);
	opacity: 0;
	transition: opacity 0.9s ease 0.25s, transform 0.9s ease 0.25s;
}

.hero-slide.is-active .hero-caption {
	transform: translateY(0);
	opacity: 1;
}

.hero-title {
	color: #fff;
	font-size: 34px;
	font-weight: 600;
	letter-spacing: 10px;
	text-indent: 10px;
	margin: 0 0 14px;
	text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero-desc {
	font-size: 16px;
	letter-spacing: 3px;
	color: rgba(255, 255, 255, 0.88);
	margin: 0 0 28px;
}

.hero-btn {
	display: inline-block;
	padding: 10px 36px;
	border: 1px solid rgba(255, 255, 255, 0.75);
	color: #fff;
	font-size: 15px;
	letter-spacing: 4px;
	transition: all 0.25s ease;
}

.hero-btn:hover {
	background: #fff;
	color: var(--hy-primary);
	border-color: #fff;
}

.hero-dots {
	position: absolute;
	bottom: 24px;
	left: 0;
	right: 0;
	display: flex;
	justify-content: center;
	gap: 10px;
	z-index: 10;
}

.hero-dots button {
	width: 26px;
	height: 4px;
	border: 0;
	border-radius: 2px;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition: background 0.25s ease;
	padding: 0;
}

.hero-dots button.is-active {
	background: #fff;
}

.hero-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 46px;
	height: 64px;
	background: rgba(20, 35, 60, 0.35);
	color: #fff;
	border: 0;
	font-size: 30px;
	line-height: 1;
	cursor: pointer;
	z-index: 10;
	transition: background 0.25s ease;
	opacity: 0;
}

.hero:hover .hero-arrow {
	opacity: 1;
}

.hero-arrow:hover {
	background: rgba(20, 35, 60, 0.65);
}

.hero-prev {
	left: 0;
}

.hero-next {
	right: 0;
}

/*--------------------------------------------------------------
6. 服务承诺条
--------------------------------------------------------------*/
.service-strip {
	background: #fff;
	border-bottom: 1px solid var(--hy-border);
}

.service-strip-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
}

.service-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 22px 10px;
	border-left: 1px solid var(--hy-border);
}

.service-item:first-child {
	border-left: 0;
}

.service-icon {
	color: var(--hy-primary);
	flex: none;
}

.service-item strong {
	display: block;
	font-size: 16px;
	color: var(--hy-dark);
}

.service-item span {
	font-size: 13px;
	color: var(--hy-gray);
}

/*--------------------------------------------------------------
7. 版块公共标题
--------------------------------------------------------------*/
.home-section {
	padding: 70px 0;
}

.section-head {
	text-align: center;
	margin-bottom: 44px;
}

.section-title {
	font-size: 30px;
	font-weight: 600;
	letter-spacing: 4px;
	color: var(--hy-dark);
	position: relative;
	display: inline-block;
	padding-bottom: 14px;
	margin: 0;
}

.section-line {
	display: block;
	width: 56px;
	height: 3px;
	background: var(--hy-accent);
	margin: 12px auto 0;
	position: relative;
}

.section-line::before,
.section-line::after {
	content: "";
	position: absolute;
	top: 1px;
	width: 8px;
	height: 1px;
	background: var(--hy-accent);
}

.section-line::before {
	left: -14px;
}

.section-line::after {
	right: -14px;
}

.section-sub {
	color: var(--hy-gray);
	font-size: 14px;
	letter-spacing: 1px;
	margin: 14px 0 0;
}

/*--------------------------------------------------------------
8. 关于我们
--------------------------------------------------------------*/
.section-about {
	background: var(--hy-light);
}

.about-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 48px;
	align-items: center;
}

.about-media {
	position: relative;
}

.about-media img {
	width: 100%;
	border-radius: var(--hy-radius);
	box-shadow: var(--hy-shadow);
}

.about-badge {
	position: absolute;
	right: -18px;
	bottom: -24px;
	background: var(--hy-primary);
	color: #fff;
	padding: 18px 26px;
	border-radius: var(--hy-radius);
	box-shadow: var(--hy-shadow);
	text-align: center;
}

.about-badge strong {
	display: block;
	font-size: 34px;
	line-height: 1.2;
}

.about-badge span {
	font-size: 13px;
	opacity: 0.9;
}

.about-text {
	text-align: justify;
	color: #4a5568;
}

.about-points {
	list-style: none;
	padding: 0;
	margin: 0 0 26px;
}

.about-points li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	padding: 8px 0;
	color: #3d4654;
}

.about-points svg {
	color: var(--hy-primary);
	flex: none;
	margin-top: 5px;
}

/*--------------------------------------------------------------
9. 数据统计
--------------------------------------------------------------*/
.stats-band {
	background: var(--hy-primary) linear-gradient(120deg, var(--hy-primary-dark), var(--hy-primary));
	padding: 46px 0;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
}

.stat-item {
	text-align: center;
	color: #fff;
	border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.stat-item:first-child {
	border-left: 0;
}

.stat-num {
	font-size: 44px;
	font-weight: 700;
	line-height: 1.1;
}

.stat-plus {
	font-size: 26px;
	margin-left: 2px;
}

.stat-label {
	display: block;
	font-size: 14px;
	letter-spacing: 3px;
	opacity: 0.88;
	margin-top: 4px;
}

/*--------------------------------------------------------------
10. 产品中心
--------------------------------------------------------------*/
.products-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.product-card {
	background: #fff;
	border: 1px solid var(--hy-border);
	border-radius: var(--hy-radius);
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.product-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--hy-shadow);
}

.product-thumb {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
}

.product-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.product-card:hover .product-thumb img {
	transform: scale(1.06);
}

.product-info {
	padding: 16px 18px 18px;
}

.product-title {
	font-size: 17px;
	margin: 0 0 6px;
}

.product-title a {
	color: var(--hy-dark);
}

.product-title a:hover {
	color: var(--hy-primary);
}

.product-title em {
	font-style: normal;
	color: var(--hy-accent);
	font-size: 13px;
	margin-left: 6px;
}

.product-desc {
	font-size: 13px;
	color: var(--hy-gray);
	margin: 0;
	line-height: 1.7;
}

/*--------------------------------------------------------------
11. 应用领域
--------------------------------------------------------------*/
.section-apps {
	background: var(--hy-light);
}

.apps-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 18px;
}

.app-card {
	position: relative;
	margin: 0;
	border-radius: var(--hy-radius);
	overflow: hidden;
	aspect-ratio: 3 / 4;
}

.app-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.app-card:hover img {
	transform: scale(1.07);
}

.app-card figcaption {
	position: absolute;
	inset: auto 0 0 0;
	padding: 26px 12px 12px;
	background: linear-gradient(transparent, rgba(20, 35, 60, 0.82));
	color: #fff;
	text-align: center;
	letter-spacing: 3px;
	font-size: 15px;
}

/*--------------------------------------------------------------
12. 生产实力
--------------------------------------------------------------*/
.facility-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.facility-item {
	border-radius: var(--hy-radius);
	overflow: hidden;
	aspect-ratio: 4 / 3;
	box-shadow: var(--hy-shadow);
}

.facility-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.facility-item:hover img {
	transform: scale(1.05);
}

/*--------------------------------------------------------------
13. 新闻动态
--------------------------------------------------------------*/
.section-news {
	background: var(--hy-light);
}

.news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.news-card {
	background: #fff;
	border-radius: var(--hy-radius);
	overflow: hidden;
	border: 1px solid var(--hy-border);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
	transform: translateY(-5px);
	box-shadow: var(--hy-shadow);
}

.news-thumb {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
}

.news-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.news-card:hover .news-thumb img {
	transform: scale(1.06);
}

.news-info {
	padding: 18px 20px 22px;
}

.news-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: var(--hy-gray);
	margin-bottom: 8px;
}

.news-cat {
	background: rgba(11, 74, 145, 0.08);
	color: var(--hy-primary);
	padding: 1px 10px;
	border-radius: 20px;
	font-size: 12px;
}

.news-title {
	font-size: 16px;
	line-height: 1.6;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-title a {
	color: var(--hy-dark);
}

.news-title a:hover {
	color: var(--hy-primary);
}

/*--------------------------------------------------------------
14. 荣誉资质与合作伙伴
--------------------------------------------------------------*/
.honors-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 18px;
}

.honors-list li {
	display: flex;
	align-items: center;
	gap: 12px;
	background: var(--hy-light);
	border: 1px solid var(--hy-border);
	border-radius: var(--hy-radius);
	padding: 16px 20px;
	color: #3d4654;
	transition: border-color 0.25s ease, color 0.25s ease;
}

.honors-list li svg {
	color: var(--hy-accent);
	flex: none;
}

.honors-list li:hover {
	border-color: var(--hy-primary);
	color: var(--hy-primary);
}

.partners-grid {
	display: grid;
	grid-template-columns: repeat(8, 1fr);
	gap: 14px;
}

.partners-grid span {
	display: grid;
	place-items: center;
	padding: 18px 8px;
	border: 1px solid var(--hy-border);
	border-radius: var(--hy-radius);
	color: #7a8496;
	font-size: 14px;
	letter-spacing: 2px;
	background: #fff;
	transition: all 0.25s ease;
}

.partners-grid span:hover {
	color: var(--hy-primary);
	border-color: var(--hy-primary);
	box-shadow: var(--hy-shadow);
}

/*--------------------------------------------------------------
15. 联系横幅
--------------------------------------------------------------*/
.cta-band {
	background: var(--hy-dark) linear-gradient(100deg, var(--hy-dark), #1d3355);
	padding: 44px 0;
}

.cta-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.cta-text h2 {
	color: #fff;
	font-size: 24px;
	letter-spacing: 2px;
	margin: 0 0 6px;
}

.cta-text p {
	color: rgba(255, 255, 255, 0.75);
	margin: 0;
}

.cta-actions {
	display: flex;
	gap: 14px;
	flex: none;
}

/*--------------------------------------------------------------
16. 内页横幅与正文
--------------------------------------------------------------*/
.page-banner {
	background: var(--hy-primary) linear-gradient(120deg, var(--hy-primary-dark), var(--hy-primary));
	padding: 46px 0;
	color: #fff;
}

.banner-title {
	color: #fff;
	font-size: 26px;
	letter-spacing: 3px;
	margin: 0;
	font-weight: 600;
}

.banner-desc {
	color: rgba(255, 255, 255, 0.8);
	margin: 8px 0 0;
}

.banner-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	color: rgba(255, 255, 255, 0.78);
	font-size: 13px;
	margin-top: 10px;
}

.banner-meta a {
	color: rgba(255, 255, 255, 0.78);
}

.content-area {
	padding: 50px 20px 70px;
}

.content-row {
	display: grid;
	grid-template-columns: 1fr 320px;
	gap: 40px;
	align-items: start;
}

.content-area-full {
	max-width: 1200px;
}

/*--------------------------------------------------------------
17. 文章列表与详情
--------------------------------------------------------------*/
.post-list {
	display: grid;
	gap: 24px;
}

.post-card {
	display: grid;
	grid-template-columns: 260px 1fr;
	border: 1px solid var(--hy-border);
	border-radius: var(--hy-radius);
	overflow: hidden;
	background: #fff;
	transition: box-shadow 0.3s ease;
}

.post-card:hover {
	box-shadow: var(--hy-shadow);
}

.post-thumb {
	display: block;
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.post-card:hover .post-thumb img {
	transform: scale(1.05);
}

.post-card-body {
	padding: 22px 26px;
}

.post-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
	font-size: 13px;
	color: var(--hy-gray);
	margin-bottom: 8px;
}

.post-meta a {
	color: var(--hy-primary);
}

.post-title {
	font-size: 19px;
	margin: 0 0 8px;
}

.post-title a {
	color: var(--hy-dark);
}

.post-title a:hover {
	color: var(--hy-primary);
}

.post-excerpt {
	color: var(--hy-gray);
	margin: 0 0 14px;
}

.post-more {
	font-size: 14px;
}

.entry-single {
	background: #fff;
	border: 1px solid var(--hy-border);
	border-radius: var(--hy-radius);
	padding: 34px 38px;
}

.entry-thumb img {
	width: 100%;
	border-radius: var(--hy-radius);
	margin-bottom: 22px;
}

.entry-content {
	font-size: 15px;
}

.entry-content h2,
.entry-content h3 {
	margin-top: 1.4em;
}

.entry-content img {
	border-radius: var(--hy-radius);
}

.entry-content blockquote {
	margin: 1.4em 0;
	padding: 14px 22px;
	border-left: 3px solid var(--hy-primary);
	background: var(--hy-light);
	color: #4a5568;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
}

.entry-content table th,
.entry-content table td {
	border: 1px solid var(--hy-border);
	padding: 8px 12px;
}

.entry-tags a {
	display: inline-block;
	background: var(--hy-light);
	border: 1px solid var(--hy-border);
	border-radius: 4px;
	padding: 3px 12px;
	font-size: 13px;
	color: var(--hy-gray);
	margin: 0 8px 8px 0;
}

.entry-tags a:hover {
	color: var(--hy-primary);
	border-color: var(--hy-primary);
}

.entry-footer {
	margin-top: 20px;
}

.post-navigation {
	margin-top: 26px;
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

.post-navigation .nav-subtitle {
	display: block;
	font-size: 12px;
	color: var(--hy-gray);
}

.post-navigation .nav-title {
	color: var(--hy-dark);
}

.post-navigation a:hover .nav-title {
	color: var(--hy-primary);
}

.no-results {
	text-align: center;
	padding: 40px 20px;
}

/*--------------------------------------------------------------
18. 评论
--------------------------------------------------------------*/
.comments-area {
	margin-top: 34px;
	background: #fff;
	border: 1px solid var(--hy-border);
	border-radius: var(--hy-radius);
	padding: 30px 34px;
}

.comments-title {
	font-size: 20px;
}

.comment-list {
	list-style: none;
	padding: 0;
}

.comment-list .comment {
	border-bottom: 1px solid var(--hy-border);
	padding: 16px 0;
}

.comment-list .comment:last-child {
	border-bottom: 0;
}

.comment-list .children {
	list-style: none;
	padding-left: 40px;
}

.comment-author img {
	border-radius: 50%;
	margin-right: 10px;
}

.comment-metadata {
	font-size: 12px;
	color: var(--hy-gray);
	margin-bottom: 6px;
}

.comment-content p {
	margin-bottom: 6px;
}

.reply a {
	font-size: 13px;
}

.comment-form label {
	display: block;
	font-size: 14px;
	margin-bottom: 4px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	border: 1px solid var(--hy-border);
	border-radius: 4px;
	padding: 10px 12px;
	font-size: 14px;
}

.comment-form .submit {
	background: var(--hy-primary);
	color: #fff;
	border: 0;
	padding: 11px 34px;
	border-radius: 4px;
	cursor: pointer;
}

.comment-form .submit:hover {
	background: var(--hy-primary-dark);
}

.no-comments {
	color: var(--hy-gray);
}

/*--------------------------------------------------------------
19. 侧边栏小工具
--------------------------------------------------------------*/
.widget-area {
	display: grid;
	gap: 22px;
}

.widget {
	background: #fff;
	border: 1px solid var(--hy-border);
	border-radius: var(--hy-radius);
	padding: 22px 24px;
}

.widget-title {
	font-size: 17px;
	padding-bottom: 10px;
	margin-bottom: 14px;
	border-bottom: 2px solid var(--hy-border);
	position: relative;
}

.widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 40px;
	height: 2px;
	background: var(--hy-primary);
}

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

.widget li {
	padding: 8px 0;
	border-bottom: 1px dashed var(--hy-border);
	font-size: 14px;
}

.widget li:last-child {
	border-bottom: 0;
}

/*--------------------------------------------------------------
20. 分页与表单
--------------------------------------------------------------*/
.pagination,
.comments-pagination {
	margin-top: 30px;
	text-align: center;
}

.nav-links {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	gap: 8px;
}

.page-numbers {
	display: inline-block;
	min-width: 40px;
	padding: 8px 13px;
	border: 1px solid var(--hy-border);
	border-radius: 4px;
	color: #3d4654;
	font-size: 14px;
	text-align: center;
}

.page-numbers.current {
	background: var(--hy-primary);
	border-color: var(--hy-primary);
	color: #fff;
}

.page-numbers:hover:not(.current) {
	border-color: var(--hy-primary);
	color: var(--hy-primary);
}

.search-form {
	display: flex;
	gap: 8px;
	max-width: 460px;
	margin: 0 auto;
}

.search-field {
	flex: 1;
	border: 1px solid var(--hy-border);
	border-radius: 4px;
	padding: 10px 14px;
	font-size: 14px;
}

.search-submit {
	background: var(--hy-primary);
	color: #fff;
	border: 0;
	border-radius: 4px;
	padding: 0 26px;
	cursor: pointer;
}

.search-submit:hover {
	background: var(--hy-primary-dark);
}

.error-404 {
	padding: 70px 0;
	text-align: center;
}

.error-code {
	font-size: 110px;
	font-weight: 700;
	color: var(--hy-primary);
	line-height: 1;
	margin: 0 0 10px;
}

.error-text {
	color: var(--hy-gray);
	margin-bottom: 26px;
}

.error-actions {
	display: grid;
	gap: 20px;
	justify-items: center;
}

.contact-cards {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 20px;
	margin-bottom: 30px;
}

.contact-card {
	background: var(--hy-light);
	border: 1px solid var(--hy-border);
	border-radius: var(--hy-radius);
	padding: 22px;
	text-align: center;
}

.contact-card h3 {
	font-size: 16px;
	margin-bottom: 8px;
}

.contact-card p {
	margin: 0;
	color: #4a5568;
	font-size: 14px;
	word-break: break-all;
}

.contact-sub {
	color: var(--hy-gray) !important;
	font-size: 13px !important;
}

.contact-note {
	color: var(--hy-gray);
	font-size: 13px;
	background: var(--hy-light);
	padding: 12px 16px;
	border-radius: 4px;
}

/*--------------------------------------------------------------
21. 页脚
--------------------------------------------------------------*/
.site-footer {
	background: var(--hy-dark);
	color: rgba(255, 255, 255, 0.72);
}

.footer-widgets {
	padding: 54px 0 40px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-widgets-grid {
	display: grid;
	grid-template-columns: 1.4fr 0.8fr 1fr 1.2fr;
	gap: 36px;
}

.footer-title {
	color: #fff;
	font-size: 17px;
	letter-spacing: 3px;
	margin-bottom: 18px;
	position: relative;
	padding-bottom: 12px;
}

.footer-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 30px;
	height: 2px;
	background: var(--hy-accent);
}

.footer-about-text {
	font-size: 13px;
	line-height: 1.9;
	margin-bottom: 18px;
}

.footer-qr {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
}

.footer-qr img {
	background: #fff;
	padding: 4px;
	border-radius: 4px;
}

.footer-menu-list,
.footer-contact-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.footer-menu-list li {
	padding: 6px 0;
	font-size: 14px;
}

.footer-menu-list a {
	color: rgba(255, 255, 255, 0.72);
}

.footer-menu-list a:hover {
	color: #fff;
	padding-left: 6px;
}

.footer-contact-list li {
	display: flex;
	gap: 8px;
	padding: 5px 0;
	font-size: 13px;
	line-height: 1.8;
}

.footer-contact-list span {
	flex: none;
	color: rgba(255, 255, 255, 0.5);
}

.footer-bar {
	padding: 18px 0;
	background: rgba(0, 0, 0, 0.18);
}

.footer-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 13px;
}

.footer-copy {
	margin: 0;
}

.footer-beian {
	margin: 0;
	display: flex;
	align-items: center;
	gap: 16px;
	flex-wrap: wrap;
}

.footer-beian a {
	color: rgba(255, 255, 255, 0.72);
}

.footer-beian a:hover {
	color: #fff;
}

.footer-powered a {
	color: rgba(255, 255, 255, 0.72);
}

.back-top {
	position: fixed;
	right: 26px;
	bottom: 32px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 0;
	background: var(--hy-primary);
	color: #fff;
	cursor: pointer;
	display: grid;
	place-items: center;
	box-shadow: var(--hy-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(14px);
	transition: all 0.3s ease;
	z-index: 99;
}

.back-top.is-visible {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.back-top:hover {
	background: var(--hy-primary-dark);
}

/*--------------------------------------------------------------
22. 响应式
--------------------------------------------------------------*/
@media (max-width: 1024px) {
	.hero {
		height: 480px;
	}

	.hero-title {
		font-size: 28px;
		letter-spacing: 7px;
	}

	.products-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.apps-grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.partners-grid {
		grid-template-columns: repeat(4, 1fr);
	}

	.content-row {
		grid-template-columns: 1fr;
	}

	.footer-widgets-grid {
		grid-template-columns: 1fr 1fr;
	}

	.contact-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 860px) {
	.nav-toggle {
		display: block;
	}

	.header-contact {
		display: none;
	}

	.main-nav {
		display: none;
	}

	.main-nav.is-open {
		display: block;
	}

	.main-nav .menu {
		flex-direction: column;
	}

	.main-nav .menu > li > a {
		padding: 13px 20px;
		border-bottom: 1px solid rgba(255, 255, 255, 0.12);
	}

	.main-nav .menu > li > a::after {
		display: none;
	}

	.main-nav .menu .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border-top: 0;
		background: var(--hy-primary-dark);
		display: none;
	}

	.main-nav .menu li:hover > .sub-menu,
	.main-nav .menu li.is-open > .sub-menu {
		display: block;
	}

	.main-nav .menu .sub-menu a {
		color: rgba(255, 255, 255, 0.85);
		border-bottom-color: rgba(255, 255, 255, 0.08);
	}

	.about-grid {
		grid-template-columns: 1fr;
		gap: 56px;
	}

	.about-badge {
		right: 12px;
	}

	.stats-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 28px;
	}

	.stat-item {
		border-left: 0;
	}

	.products-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.facility-grid,
	.news-grid {
		grid-template-columns: 1fr;
	}

	.honors-list {
		grid-template-columns: 1fr;
	}

	.post-card {
		grid-template-columns: 1fr;
	}

	.cta-inner {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 560px) {
	.hero {
		height: 420px;
	}

	.hero-title {
		font-size: 22px;
		letter-spacing: 5px;
	}

	.hero-desc {
		font-size: 14px;
		letter-spacing: 2px;
	}

	.service-strip-grid {
		grid-template-columns: 1fr 1fr;
	}

	.service-item {
		border-left: 0;
		justify-content: flex-start;
	}

	.products-grid,
	.apps-grid {
		grid-template-columns: 1fr;
	}

	.partners-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-widgets-grid {
		grid-template-columns: 1fr;
	}

	.contact-cards {
		grid-template-columns: 1fr;
	}

	.entry-single {
		padding: 24px 18px;
	}

	.comments-area {
		padding: 20px 18px;
	}

	.footer-bar-inner {
		justify-content: center;
		text-align: center;
	}
}
