/*
Theme Name: Bohongye
Theme URI: https://www.szbohongye.com/
Author: Shenzhen Bohongye Bearing Manufacturing Co., Ltd.
Author URI: https://www.szbohongye.com/
Description: 深圳博鸿业轴承制造有限公司官方网站主题。Bohongye 是一款面向工业制造企业（轴承、机械、装备制造等行业）的中文企业官网主题，包含首页幻灯片、产品中心、应用领域、新闻资讯、联系我们等模块，支持自定义Logo、自定义菜单、页脚小工具与多语言本地化。
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.7
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: szbohongye
Tags: custom-logo, custom-menu, featured-images, footer-widgets, grid-layout, right-sidebar, threaded-comments, translation-ready, two-columns
*/

/* ==========================================================================
   变量与基础
   ========================================================================== */
:root {
	--bhy-primary: #0b5aa5;
	--bhy-primary-dark: #083d73;
	--bhy-navy: #0a2c52;
	--bhy-topbar: #072a4e;
	--bhy-accent: #e63e30;
	--bhy-accent-dark: #c9281d;
	--bhy-text: #1a2430;
	--bhy-gray: #5a6673;
	--bhy-light: #f4f7fa;
	--bhy-border: #e5eaf0;
	--bhy-white: #ffffff;
	--bhy-radius: 6px;
	--bhy-shadow: 0 6px 24px rgba(10, 44, 82, 0.08);
	--bhy-shadow-hover: 0 14px 36px rgba(10, 44, 82, 0.16);
	--bhy-font: "PingFang SC", "Microsoft YaHei", "微软雅黑", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

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

html {
	line-height: 1.7;
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	font-family: var(--bhy-font);
	font-size: 15px;
	color: var(--bhy-text);
	background: var(--bhy-white);
	line-height: 1.7;
}

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

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

a:hover,
a:focus {
	color: var(--bhy-accent);
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--bhy-font);
	color: var(--bhy-navy);
	line-height: 1.35;
	font-weight: 700;
}

.container {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.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: var(--bhy-white);
	border-radius: 3px;
	box-shadow: 0 0 2px 2px rgba(0, 0, 0, 0.6);
	clip: auto !important;
	clip-path: none;
	color: var(--bhy-primary);
	display: block;
	font-size: 14px;
	font-weight: 700;
	height: auto;
	left: 5px;
	line-height: normal;
	padding: 15px 23px 14px;
	text-decoration: none;
	top: 5px;
	width: auto;
	z-index: 100000;
}

.skip-link {
	position: absolute;
	left: -9999px;
}

/* ==========================================================================
   顶部栏与页头
   ========================================================================== */
.topbar {
	background: var(--bhy-topbar);
	color: rgba(255, 255, 255, 0.85);
	font-size: 13px;
}

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

.topbar a {
	color: rgba(255, 255, 255, 0.85);
}

.topbar a:hover {
	color: #ffffff;
}

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

.topbar-info span,
.topbar-info a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.topbar-info svg {
	width: 14px;
	height: 14px;
	flex: none;
}

.topbar-info strong {
	color: #ffffff;
	font-weight: 600;
}

.header-main {
	background: var(--bhy-white);
	border-bottom: 1px solid var(--bhy-border);
}

.header-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
	gap: 24px;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

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

.site-logo-text {
	display: flex;
	flex-direction: column;
	line-height: 1.3;
}

.site-logo-text .site-title-cn {
	font-size: 26px;
	font-weight: 900;
	color: var(--bhy-navy);
	letter-spacing: 2px;
}

.site-logo-text .site-title-en {
	font-size: 11px;
	font-weight: 500;
	color: #8a97a5;
	letter-spacing: 0.6px;
	text-transform: uppercase;
}

.header-contact {
	display: flex;
	align-items: center;
	gap: 12px;
}

.header-contact-icon {
	width: 44px;
	height: 44px;
	flex: none;
	border-radius: 50%;
	background: rgba(11, 90, 165, 0.08);
	color: var(--bhy-primary);
	display: flex;
	align-items: center;
	justify-content: center;
}

.header-contact-icon svg {
	width: 22px;
	height: 22px;
}

.header-contact-text small {
	display: block;
	font-size: 12px;
	color: var(--bhy-gray);
}

.header-contact-text strong {
	display: block;
	font-size: 22px;
	font-weight: 900;
	color: var(--bhy-accent);
	letter-spacing: 0.5px;
}

/* ==========================================================================
   主导航
   ========================================================================== */
.main-nav {
	background: var(--bhy-primary);
	position: relative;
	z-index: 90;
}

.main-nav .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

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

.main-nav li {
	position: relative;
}

.main-nav a {
	display: block;
	color: #ffffff;
	font-size: 16px;
	font-weight: 500;
	padding: 0 26px;
	line-height: 52px;
	letter-spacing: 1px;
	position: relative;
}

.main-nav a:hover,
.main-nav .current-menu-item > a,
.main-nav .current_page_item > a {
	background: var(--bhy-primary-dark);
	color: #ffffff;
}

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

.main-nav .current-menu-item > a::after,
.main-nav a:hover::after {
	width: 28px;
}

.main-nav ul ul {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 180px;
	background: var(--bhy-white);
	box-shadow: var(--bhy-shadow-hover);
	flex-direction: column;
}

.main-nav ul ul a {
	color: var(--bhy-text);
	line-height: 1.4;
	padding: 12px 20px;
	font-size: 14px;
}

.main-nav ul ul a:hover {
	background: var(--bhy-light);
	color: var(--bhy-primary);
}

.main-nav li:hover > ul {
	display: flex;
}

.nav-search {
	color: #ffffff;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.nav-search svg {
	width: 18px;
	height: 18px;
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	color: #ffffff;
	font-size: 15px;
	cursor: pointer;
	align-items: center;
	gap: 8px;
	padding: 8px 0;
}

.menu-toggle svg {
	width: 22px;
	height: 22px;
}

/* ==========================================================================
   首页幻灯片
   ========================================================================== */
.hero-slider {
	position: relative;
	overflow: hidden;
	background: var(--bhy-navy);
}

.hero-slide {
	position: relative;
	min-height: 560px;
	display: none;
	align-items: center;
	justify-content: center;
	text-align: center;
}

.hero-slide.active {
	display: flex;
}

.hero-slide-bg {
	position: absolute;
	inset: 0;
	background-size: cover;
	background-position: center;
	transform: scale(1);
	transition: transform 8s linear;
}

.hero-slide.active .hero-slide-bg {
	transform: scale(1.08);
}

.hero-slide-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(7, 30, 58, 0.55) 0%, rgba(7, 30, 58, 0.35) 45%, rgba(7, 30, 58, 0.62) 100%);
}

.hero-content {
	position: relative;
	z-index: 2;
	max-width: 860px;
	padding: 90px 20px;
}

.hero-en {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 5px;
	color: rgba(255, 255, 255, 0.72);
	text-transform: uppercase;
	margin-bottom: 14px;
}

.hero-title {
	font-size: 38px;
	font-weight: 700;
	color: #ffffff;
	letter-spacing: 4px;
	margin: 0 0 16px;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.35);
}

.hero-subtitle {
	font-size: 16px;
	color: rgba(255, 255, 255, 0.88);
	margin-bottom: 34px;
	font-weight: 400;
}

.hero-buttons {
	display: flex;
	gap: 16px;
	justify-content: center;
	flex-wrap: wrap;
}

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 34px;
	font-size: 15px;
	font-weight: 500;
	border-radius: var(--bhy-radius);
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.25s ease;
	letter-spacing: 1px;
}

.btn-primary {
	background: var(--bhy-accent);
	color: #ffffff;
}

.btn-primary:hover {
	background: var(--bhy-accent-dark);
	color: #ffffff;
}

.btn-outline {
	background: transparent;
	color: #ffffff;
	border-color: rgba(255, 255, 255, 0.65);
}

.btn-outline:hover {
	background: #ffffff;
	color: var(--bhy-navy);
	border-color: #ffffff;
}

.btn-ghost {
	background: var(--bhy-primary);
	color: #ffffff;
}

.btn-ghost:hover {
	background: var(--bhy-primary-dark);
	color: #ffffff;
}

.slider-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	z-index: 3;
	width: 46px;
	height: 46px;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
	color: #ffffff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	transition: background 0.25s ease;
}

.slider-arrow:hover {
	background: var(--bhy-accent);
}

.slider-arrow svg {
	width: 20px;
	height: 20px;
}

.slider-arrow.prev {
	left: 24px;
}

.slider-arrow.next {
	right: 24px;
}

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

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

.slider-dots button.active {
	background: var(--bhy-accent);
}

/* ==========================================================================
   通用版块
   ========================================================================== */
.section {
	padding: 72px 0;
}

.section-light {
	background: var(--bhy-light);
}

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

.section-head .section-en {
	font-size: 13px;
	letter-spacing: 4px;
	color: #9aa6b3;
	text-transform: uppercase;
	display: block;
	margin-bottom: 6px;
}

.section-head .section-title {
	font-size: 30px;
	font-weight: 900;
	color: var(--bhy-navy);
	margin: 0;
	letter-spacing: 2px;
}

.section-head .section-title em {
	font-style: normal;
	color: var(--bhy-primary);
}

.section-head .section-divider {
	width: 44px;
	height: 4px;
	background: var(--bhy-accent);
	margin: 16px auto 0;
	border-radius: 2px;
}

.section-more {
	text-align: center;
	margin-top: 42px;
}

/* 优势 */
.features-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 26px;
}

.feature-card {
	background: var(--bhy-white);
	border: 1px solid var(--bhy-border);
	border-radius: var(--bhy-radius);
	padding: 34px 26px;
	text-align: center;
	transition: all 0.3s ease;
}

.feature-card:hover {
	transform: translateY(-6px);
	box-shadow: var(--bhy-shadow-hover);
	border-color: rgba(11, 90, 165, 0.35);
}

.feature-icon {
	width: 62px;
	height: 62px;
	margin: 0 auto 18px;
	border-radius: 50%;
	background: rgba(11, 90, 165, 0.09);
	color: var(--bhy-primary);
	display: flex;
	align-items: center;
	justify-content: center;
	transition: all 0.3s ease;
}

.feature-card:hover .feature-icon {
	background: var(--bhy-primary);
	color: #ffffff;
}

.feature-icon svg {
	width: 30px;
	height: 30px;
}

.feature-card h3 {
	font-size: 18px;
	margin: 0 0 10px;
}

.feature-card p {
	color: var(--bhy-gray);
	font-size: 14px;
	margin: 0;
}

/* 关于我们 */
.about-grid {
	display: grid;
	grid-template-columns: 1.05fr 1fr;
	gap: 54px;
	align-items: center;
}

.about-media {
	position: relative;
}

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

.about-media-badge {
	position: absolute;
	left: -16px;
	bottom: 34px;
	background: var(--bhy-accent);
	color: #ffffff;
	padding: 18px 22px;
	border-radius: var(--bhy-radius);
	box-shadow: var(--bhy-shadow-hover);
	line-height: 1.3;
}

.about-media-badge strong {
	display: block;
	font-size: 30px;
	font-weight: 900;
}

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

.about-content .section-en {
	font-size: 13px;
	letter-spacing: 4px;
	color: #9aa6b3;
	text-transform: uppercase;
	display: block;
	margin-bottom: 6px;
}

.about-content h2 {
	font-size: 28px;
	font-weight: 900;
	margin: 0 0 20px;
	letter-spacing: 1px;
}

.about-content p {
	color: var(--bhy-gray);
	margin: 0 0 14px;
	text-align: justify;
}

.stats-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 12px;
	margin: 30px 0 26px;
	padding: 20px 0;
	border-top: 1px solid var(--bhy-border);
	border-bottom: 1px solid var(--bhy-border);
}

.stat-item {
	text-align: center;
}

.stat-item .stat-num {
	font-size: 28px;
	font-weight: 900;
	color: var(--bhy-primary);
	line-height: 1.2;
}

.stat-item .stat-num small {
	font-size: 15px;
	font-weight: 700;
}

.stat-item .stat-label {
	font-size: 13px;
	color: var(--bhy-gray);
}

.cert-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 26px;
}

.cert-list span {
	font-size: 13px;
	color: var(--bhy-primary-dark);
	background: rgba(11, 90, 165, 0.07);
	border: 1px solid rgba(11, 90, 165, 0.22);
	padding: 5px 14px;
	border-radius: 999px;
}

/* 应用领域 */
.apps-grid {
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 20px;
}

.app-item {
	background: var(--bhy-white);
	border: 1px solid var(--bhy-border);
	border-radius: var(--bhy-radius);
	padding: 26px 14px;
	text-align: center;
	transition: all 0.3s ease;
}

.app-item:hover {
	background: var(--bhy-primary);
	border-color: var(--bhy-primary);
}

.app-item svg {
	width: 34px;
	height: 34px;
	color: var(--bhy-primary);
	margin-bottom: 12px;
	transition: color 0.3s ease;
}

.app-item:hover svg {
	color: #ffffff;
}

.app-item h3 {
	font-size: 16px;
	margin: 0;
	color: var(--bhy-navy);
	transition: color 0.3s ease;
}

.app-item:hover h3 {
	color: #ffffff;
}

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

.product-card {
	background: var(--bhy-white);
	border: 1px solid var(--bhy-border);
	border-radius: var(--bhy-radius);
	overflow: hidden;
	transition: all 0.3s ease;
	display: flex;
	flex-direction: column;
}

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

.product-thumb {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #eef2f6;
}

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

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

.product-info {
	padding: 16px 18px 18px;
	text-align: center;
	flex: 1;
}

.product-info h3 {
	font-size: 17px;
	margin: 0 0 4px;
}

.product-info .product-en {
	font-size: 12px;
	color: #9aa6b3;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: block;
	margin-bottom: 8px;
}

.product-info p {
	font-size: 13px;
	color: var(--bhy-gray);
	margin: 0;
}

/* 新闻资讯 */
.news-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px;
}

.news-card {
	background: var(--bhy-white);
	border: 1px solid var(--bhy-border);
	border-radius: var(--bhy-radius);
	overflow: hidden;
	display: flex;
	transition: all 0.3s ease;
}

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

.news-thumb {
	width: 220px;
	flex: none;
	overflow: hidden;
	background: #eef2f6;
}

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

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

.news-body {
	padding: 18px 20px;
	min-width: 0;
}

.news-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}

.news-date {
	font-size: 12px;
	color: var(--bhy-gray);
	display: inline-flex;
	align-items: center;
	gap: 5px;
}

.news-date svg {
	width: 13px;
	height: 13px;
}

.news-cat {
	font-size: 12px;
	color: var(--bhy-primary);
	background: rgba(11, 90, 165, 0.08);
	padding: 2px 10px;
	border-radius: 999px;
}

.news-body h3 {
	font-size: 17px;
	margin: 0 0 8px;
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.news-body h3 a {
	color: var(--bhy-navy);
}

.news-body h3 a:hover {
	color: var(--bhy-primary);
}

.news-body p {
	font-size: 13px;
	color: var(--bhy-gray);
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* CTA 横幅 */
.cta-band {
	background: linear-gradient(120deg, var(--bhy-navy) 0%, var(--bhy-primary-dark) 100%);
	color: #ffffff;
	padding: 44px 0;
}

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

.cta-inner h2 {
	color: #ffffff;
	font-size: 26px;
	font-weight: 900;
	margin: 0 0 6px;
	letter-spacing: 1px;
}

.cta-inner p {
	color: rgba(255, 255, 255, 0.78);
	margin: 0;
	font-size: 15px;
}

.cta-actions {
	display: flex;
	align-items: center;
	gap: 20px;
	flex-wrap: wrap;
}

.cta-phone {
	display: flex;
	align-items: center;
	gap: 12px;
}

.cta-phone svg {
	width: 40px;
	height: 40px;
	color: var(--bhy-accent);
	flex: none;
}

.cta-phone strong {
	display: block;
	font-size: 24px;
	font-weight: 900;
	letter-spacing: 1px;
}

.cta-phone small {
	font-size: 12px;
	opacity: 0.72;
}

/* ==========================================================================
   页脚
   ========================================================================== */
.site-footer {
	background: var(--bhy-navy);
	color: rgba(255, 255, 255, 0.72);
	font-size: 14px;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.3fr 0.8fr 0.9fr 1.1fr;
	gap: 40px;
	padding: 56px 0 40px;
}

.site-footer h3 {
	color: #ffffff;
	font-size: 17px;
	margin: 0 0 20px;
	padding-bottom: 12px;
	position: relative;
	letter-spacing: 1px;
}

.site-footer h3::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 30px;
	height: 3px;
	background: var(--bhy-accent);
	border-radius: 2px;
}

.site-footer p {
	margin: 0 0 12px;
}

.footer-logo {
	font-size: 22px;
	font-weight: 900;
	color: #ffffff;
	letter-spacing: 2px;
	display: block;
	margin-bottom: 14px;
}

.footer-logo small {
	display: block;
	font-size: 11px;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.5);
	letter-spacing: 0.8px;
	margin-top: 4px;
	text-transform: uppercase;
}

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

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

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

.site-footer ul a:hover {
	color: #ffffff;
	padding-left: 4px;
}

.footer-contact li {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 12px;
}

.footer-contact svg {
	width: 16px;
	height: 16px;
	flex: none;
	margin-top: 4px;
	color: var(--bhy-accent);
}

.footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	padding: 18px 0;
	font-size: 13px;
}

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

.footer-bottom a {
	color: rgba(255, 255, 255, 0.6);
}

.footer-bottom a:hover {
	color: #ffffff;
}

/* ==========================================================================
   内页（文章、页面、归档、搜索）
   ========================================================================== */
.page-hero {
	background: linear-gradient(120deg, var(--bhy-navy) 0%, var(--bhy-primary) 100%);
	color: #ffffff;
	padding: 46px 0;
	text-align: center;
}

.page-hero h1 {
	color: #ffffff;
	font-size: 28px;
	font-weight: 900;
	margin: 0 0 8px;
	letter-spacing: 2px;
}

.breadcrumb {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.75);
}

.breadcrumb a {
	color: rgba(255, 255, 255, 0.85);
}

.breadcrumb a:hover {
	color: #ffffff;
}

.content-area {
	padding: 52px 0 64px;
}

.layout-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	gap: 40px;
}

.layout-grid.full-width {
	grid-template-columns: minmax(0, 1fr);
}

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

.post-card {
	background: var(--bhy-white);
	border: 1px solid var(--bhy-border);
	border-radius: var(--bhy-radius);
	overflow: hidden;
	transition: all 0.3s ease;
}

.post-card:hover {
	box-shadow: var(--bhy-shadow-hover);
	transform: translateY(-4px);
}

.post-card-thumb {
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #eef2f6;
	display: block;
}

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

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

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

.post-card-body h2 {
	font-size: 18px;
	margin: 0 0 8px;
	line-height: 1.5;
}

.post-card-body h2 a {
	color: var(--bhy-navy);
}

.post-card-body h2 a:hover {
	color: var(--bhy-primary);
}

.post-card-meta {
	font-size: 12.5px;
	color: #9aa6b3;
	margin-bottom: 8px;
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
}

.post-card-meta a {
	color: #9aa6b3;
}

.post-card-excerpt {
	color: var(--bhy-gray);
	font-size: 13.5px;
	margin: 0;
}

.pagination {
	margin-top: 40px;
	text-align: center;
}

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

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 12px;
	border: 1px solid var(--bhy-border);
	border-radius: var(--bhy-radius);
	color: var(--bhy-text);
	font-size: 14px;
	background: var(--bhy-white);
}

.pagination .page-numbers.current {
	background: var(--bhy-primary);
	border-color: var(--bhy-primary);
	color: #ffffff;
}

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

/* 单篇文章 */
.single-head {
	margin-bottom: 24px;
}

.single-head .entry-title {
	font-size: 26px;
	margin: 0 0 12px;
	line-height: 1.45;
}

.entry-meta {
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
	font-size: 13px;
	color: #9aa6b3;
	border-bottom: 1px solid var(--bhy-border);
	padding-bottom: 16px;
	margin-bottom: 26px;
}

.entry-meta a {
	color: #9aa6b3;
}

.entry-content {
	font-size: 15.5px;
	color: #3a4552;
}

.entry-content h2 {
	font-size: 22px;
	margin: 34px 0 14px;
}

.entry-content h3 {
	font-size: 19px;
	margin: 28px 0 12px;
}

.entry-content p {
	margin: 0 0 18px;
}

.entry-content img {
	border-radius: var(--bhy-radius);
	margin: 8px 0;
}

.entry-content blockquote {
	margin: 22px 0;
	padding: 16px 22px;
	background: var(--bhy-light);
	border-left: 4px solid var(--bhy-primary);
	color: var(--bhy-gray);
	border-radius: 0 var(--bhy-radius) var(--bhy-radius) 0;
}

.entry-content ul,
.entry-content ol {
	padding-left: 22px;
	margin-bottom: 18px;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 18px;
}

.entry-content table th,
.entry-content table td {
	border: 1px solid var(--bhy-border);
	padding: 10px 12px;
	text-align: left;
	font-size: 14px;
}

.entry-content table th {
	background: var(--bhy-light);
}

.entry-footer {
	margin-top: 26px;
	font-size: 13px;
	color: var(--bhy-gray);
}

.entry-footer .cat-links,
.entry-footer .tags-links {
	display: block;
	margin-bottom: 6px;
}

.post-navigation {
	margin-top: 36px;
	border-top: 1px solid var(--bhy-border);
	padding-top: 22px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}

.post-navigation a {
	font-size: 14px;
	color: var(--bhy-gray);
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.post-navigation a:hover {
	color: var(--bhy-primary);
}

.post-navigation .nav-sub {
	font-size: 12px;
	color: #9aa6b3;
}

.post-navigation .nav-next {
	text-align: right;
	align-items: flex-end;
}

/* 侧栏 */
.widget {
	margin-bottom: 34px;
}

.widget-title {
	font-size: 17px;
	margin: 0 0 18px;
	padding-bottom: 12px;
	border-bottom: 2px solid var(--bhy-primary);
	position: relative;
	font-weight: 700;
	color: var(--bhy-navy);
}

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

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

.widget ul li a {
	color: var(--bhy-text);
}

.widget ul li a:hover {
	color: var(--bhy-primary);
}

/* 评论 */
.comments-area {
	margin-top: 46px;
}

.comments-title,
.comment-reply-title {
	font-size: 20px;
	margin-bottom: 20px;
}

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

.comment-list .comment-body {
	border: 1px solid var(--bhy-border);
	border-radius: var(--bhy-radius);
	padding: 16px 20px;
	margin-bottom: 16px;
}

.comment-list .children {
	list-style: none;
	margin-left: 20px;
}

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

.comment-metadata {
	font-size: 12px;
	color: #9aa6b3;
	margin: 4px 0 10px;
}

.comment-metadata a {
	color: #9aa6b3;
}

.comment-form label {
	display: block;
	font-size: 13.5px;
	color: var(--bhy-gray);
	margin-bottom: 6px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea,
.search-field {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--bhy-border);
	border-radius: var(--bhy-radius);
	font-size: 14px;
	font-family: var(--bhy-font);
	transition: border-color 0.25s ease;
	background: #ffffff;
}

.comment-form input:focus,
.comment-form textarea:focus,
.search-field:focus {
	border-color: var(--bhy-primary);
	outline: none;
}

.comment-form-author,
.comment-form-email,
.comment-form-url {
	width: 100%;
	margin-bottom: 16px;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	color: var(--bhy-gray);
}

.comment-form .submit,
.search-submit {
	background: var(--bhy-primary);
	color: #ffffff;
	border: none;
	border-radius: var(--bhy-radius);
	padding: 11px 30px;
	font-size: 14px;
	font-weight: 500;
	cursor: pointer;
	font-family: var(--bhy-font);
	transition: background 0.25s ease;
}

.comment-form .Submit:hover,
.search-submit:hover {
	background: var(--bhy-primary-dark);
}

/* 搜索表单 */
.search-form {
	display: flex;
	gap: 10px;
}

.search-form .search-field {
	flex: 1;
}

/* 404 */
.error-404 {
	text-align: center;
	padding: 90px 0;
}

.error-404 .error-code {
	font-size: 110px;
	font-weight: 900;
	color: var(--bhy-primary);
	line-height: 1;
	letter-spacing: 6px;
}

.error-404 h1 {
	font-size: 26px;
	margin: 18px 0 10px;
}

.error-404 p {
	color: var(--bhy-gray);
	margin-bottom: 28px;
}

/* ==========================================================================
   回到顶部 / 浮动按钮
   ========================================================================== */
.back-to-top {
	position: fixed;
	right: 22px;
	bottom: 26px;
	z-index: 80;
	width: 44px;
	height: 44px;
	border: none;
	border-radius: var(--bhy-radius);
	background: var(--bhy-primary);
	color: #ffffff;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--bhy-shadow-hover);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
	transition: all 0.3s ease;
}

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

.back-to-top:hover {
	background: var(--bhy-accent);
}

.back-to-top svg {
	width: 20px;
	height: 20px;
}

/* ==========================================================================
   WordPress 原生类
   ========================================================================== */
.sticky {
	display: block;
}

.byline {
	display: inline;
}

.updated:not(.published) {
	display: none;
}

.bypostauthor {
	display: block;
}

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

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

.aligncenter {
	clear: both;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption {
	margin-bottom: 18px;
	max-width: 100%;
}

.wp-caption img[class*="wp-image-"] {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.wp-caption .wp-caption-text {
	font-size: 13px;
	color: var(--bhy-gray);
	text-align: center;
	padding: 8px 0;
}

.gallery {
	margin-bottom: 18px;
}

.gallery-item {
	display: inline-block;
	text-align: center;
	vertical-align: top;
	width: 100%;
}

.gallery-columns-2 .gallery-item {
	max-width: 50%;
}

.gallery-columns-3 .gallery-item {
	max-width: 33.33%;
}

.gallery-columns-4 .gallery-item {
	max-width: 25%;
}

.gallery-caption {
	display: block;
	font-size: 13px;
	color: var(--bhy-gray);
}

/* ==========================================================================
   响应式
   ========================================================================== */
@media (max-width: 1080px) {
	.features-grid {
		grid-template-columns: repeat(2, 1fr);
	}

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

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

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

	.layout-grid {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 860px) {
	.topbar-welcome {
		display: none;
	}

	.header-contact {
		display: none;
	}

	.menu-toggle {
		display: flex;
	}

	.main-nav ul {
		display: none;
		flex-direction: column;
		width: 100%;
		background: var(--bhy-primary-dark);
	}

	.main-nav ul.opened {
		display: flex;
	}

	.main-nav a {
		line-height: 1.4;
		padding: 13px 20px;
	}

	.main-nav ul ul {
		position: static;
		display: block;
		box-shadow: none;
		background: rgba(0, 0, 0, 0.18);
	}

	.main-nav ul ul a {
		color: rgba(255, 255, 255, 0.85);
		padding-left: 40px;
	}

	.nav-search {
		display: none;
	}

	.hero-slide {
		min-height: 460px;
	}

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

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

	.about-media-badge {
		left: 14px;
	}

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

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

	.cta-actions {
		justify-content: center;
	}

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

@media (max-width: 560px) {
	.features-grid {
		grid-template-columns: 1fr;
	}

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

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

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

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.news-thumb {
		width: 130px;
	}

	.hero-slide {
		min-height: 420px;
	}

	.hero-content {
		padding: 70px 16px;
	}

	.section {
		padding: 52px 0;
	}

	.section-head .section-title {
		font-size: 24px;
	}
}
