/*
Theme Name: ysqzj168
Theme URI: https://ysqzj168.com/themes/ysqzj168/
Author: YongSheng Theme Studio
Author URI: https://ysqzj168.com/
Description: ysqzj168 是一套专为中国起重机械与工业制造企业设计的企业官网主题，采用「经典门户型 × 产品目录型」组合布局：顶部信息栏、Logo 与主导航、全屏主视觉、产品目录卡片、非标定制与询价入口、企业优势数据、新闻动态与企业页脚。支持自定义 Logo、导航菜单、页脚小工具区、特色图片，已做好准备翻译成任何语言。Ysqzj168 is a Chinese corporate website theme for hoisting and industrial manufacturers, combining a classic portal homepage with a product catalog layout.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: ysqzj168
Tags: one-column, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, threaded-comments, translation-ready, wide-blocks, block-styles

*/

/* ==========================================================================
   1. 设计变量与基础重置
   ========================================================================== */

:root {
	--ysqzj168-primary: #0e3a5c;
	--ysqzj168-primary-dark: #092c47;
	--ysqzj168-primary-deep: #071f33;
	--ysqzj168-accent: #f5a400;
	--ysqzj168-accent-dark: #d98e00;
	--ysqzj168-ink: #22303c;
	--ysqzj168-muted: #647384;
	--ysqzj168-line: #dbe3ea;
	--ysqzj168-bg: #f5f7f9;
	--ysqzj168-white: #ffffff;
	--ysqzj168-radius: 6px;
	--ysqzj168-shadow: 0 6px 24px rgba(9, 44, 71, 0.09);
	--ysqzj168-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", "Helvetica Neue", Arial, sans-serif;
}

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

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

body {
	margin: 0;
	font-family: var(--ysqzj168-font);
	font-size: 16px;
	line-height: 1.75;
	color: var(--ysqzj168-ink);
	background: var(--ysqzj168-bg);
	word-wrap: break-word;
}

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

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

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

h1, h2, h3, h4, h5, h6 {
	color: var(--ysqzj168-primary-dark);
	line-height: 1.35;
	font-weight: 700;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
	position: fixed !important;
	top: 12px;
	left: 12px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 20px;
	margin: 0;
	clip: auto;
	background: var(--ysqzj168-primary-dark);
	color: #fff;
	border-radius: 4px;
}

.ysqzj168-container {
	max-width: 1180px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

.site {
	overflow-x: hidden;
}

/* ==========================================================================
   2. 按钮体系
   ========================================================================== */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 10px 24px;
	border: 1px solid transparent;
	border-radius: var(--ysqzj168-radius);
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	transition: all 0.2s ease;
}

.btn--primary {
	background: var(--ysqzj168-accent);
	border-color: var(--ysqzj168-accent);
	color: #231a05;
}

.btn--primary:hover,
.btn--primary:focus {
	background: var(--ysqzj168-accent-dark);
	border-color: var(--ysqzj168-accent-dark);
	color: #231a05;
}

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

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

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

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

.btn--line {
	background: #fff;
	border-color: var(--ysqzj168-line);
	color: var(--ysqzj168-primary);
	padding: 8px 18px;
	font-size: 14px;
}

.btn--line:hover {
	border-color: var(--ysqzj168-accent);
	color: var(--ysqzj168-accent-dark);
}

.btn--text {
	color: var(--ysqzj168-accent-dark);
	padding: 8px 6px;
	font-size: 14px;
}

.btn--lg {
	padding: 14px 34px;
	font-size: 16px;
}

/* ==========================================================================
   3. 顶部信息栏与站点头部
   ========================================================================== */

.site-topbar {
	background: var(--ysqzj168-primary-deep);
	color: rgba(255, 255, 255, 0.82);
	font-size: 13px;
}

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

.topbar-welcome {
	margin: 0;
}

.topbar-contact {
	display: flex;
	align-items: center;
	gap: 18px;
}

.topbar-item {
	color: rgba(255, 255, 255, 0.82);
}

.topbar-item:hover {
	color: #fff;
}

.topbar-item--hot {
	color: var(--ysqzj168-accent);
	font-weight: 600;
}

.site-header {
	background: #fff;
	position: sticky;
	top: 0;
	z-index: 60;
	border-bottom: 1px solid var(--ysqzj168-line);
	box-shadow: 0 2px 10px rgba(9, 44, 71, 0.05);
}

.admin-bar .site-header {
	top: 32px;
}

.header-inner {
	display: flex;
	align-items: center;
	gap: 32px;
	min-height: 78px;
}

.site-branding {
	flex: 0 0 auto;
}

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

.site-logo-text {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--ysqzj168-ink);
}

.site-logo-text:hover {
	color: var(--ysqzj168-ink);
}

.logo-mark {
	width: 44px;
	height: 44px;
	display: grid;
	place-items: center;
	background: var(--ysqzj168-primary);
	color: var(--ysqzj168-accent);
	border-radius: 8px;
}

.logo-mark svg {
	width: 26px;
	height: 26px;
}

.logo-name {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.logo-name strong {
	font-size: 21px;
	color: var(--ysqzj168-primary-dark);
	letter-spacing: 1px;
}

.logo-name em {
	font-style: normal;
	font-size: 12px;
	color: var(--ysqzj168-muted);
}

.main-navigation {
	margin-left: auto;
}

.primary-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
}

.primary-menu li {
	position: relative;
}

.primary-menu > li > a {
	display: block;
	padding: 26px 16px;
	font-size: 15px;
	font-weight: 600;
	color: var(--ysqzj168-ink);
}

.primary-menu > li > a:hover,
.primary-menu > li.current-menu-item > a,
.primary-menu > li.current_page_item > a {
	color: var(--ysqzj168-accent-dark);
}

.primary-menu li .sub-menu {
	list-style: none;
	margin: 0;
	padding: 8px 0;
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 190px;
	background: #fff;
	border: 1px solid var(--ysqzj168-line);
	border-radius: 0 0 var(--ysqzj168-radius) var(--ysqzj168-radius);
	box-shadow: var(--ysqzj168-shadow);
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: all 0.18s ease;
	z-index: 70;
}

.primary-menu li:hover > .sub-menu,
.primary-menu li.focus > .sub-menu,
.primary-menu li.toggled-on > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.primary-menu .sub-menu a {
	display: block;
	padding: 9px 18px;
	font-size: 14px;
	color: var(--ysqzj168-ink);
	white-space: nowrap;
}

.primary-menu .sub-menu a:hover {
	background: var(--ysqzj168-bg);
	color: var(--ysqzj168-accent-dark);
}

.menu-toggle {
	display: none;
	background: none;
	border: none;
	padding: 10px;
	margin-left: auto;
	cursor: pointer;
}

.menu-toggle-bar {
	display: block;
	width: 24px;
	height: 2px;
	background: var(--ysqzj168-primary-dark);
	margin: 5px 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle-bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.header-cta {
	flex: 0 0 auto;
}

/* ==========================================================================
   4. 首页 · 全屏主视觉
   ========================================================================== */

.hero {
	position: relative;
	background-size: cover;
	background-position: center;
	background-color: var(--ysqzj168-primary-deep);
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 640px;
	color: #fff;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(92deg, rgba(7, 31, 51, 0.92) 8%, rgba(9, 44, 71, 0.72) 45%, rgba(9, 44, 71, 0.35) 100%);
}

.hero-inner {
	position: relative;
	z-index: 2;
	padding-top: 90px;
	padding-bottom: 150px;
	max-width: 1180px;
}

.hero-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 18px;
	font-size: 14px;
	letter-spacing: 3px;
	color: var(--ysqzj168-accent);
	font-weight: 600;
}

.hero-kicker::before {
	content: "";
	width: 34px;
	height: 2px;
	background: var(--ysqzj168-accent);
}

.hero-title {
	margin: 0 0 20px;
	font-size: clamp(30px, 4.6vw, 52px);
	line-height: 1.28;
	color: #fff;
	font-weight: 800;
	letter-spacing: 1px;
}

.hero-subtitle {
	max-width: 640px;
	margin: 0 0 34px;
	font-size: 17px;
	color: rgba(255, 255, 255, 0.85);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
}

.hero-stats {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 2;
	background: rgba(7, 31, 51, 0.66);
	backdrop-filter: blur(6px);
	border-top: 1px solid rgba(255, 255, 255, 0.14);
}

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

.stat {
	padding: 22px 12px;
	text-align: center;
	position: relative;
}

.stat + .stat::before {
	content: "";
	position: absolute;
	left: 0;
	top: 25%;
	height: 50%;
	width: 1px;
	background: rgba(255, 255, 255, 0.14);
}

.stat-num {
	display: block;
	font-size: 32px;
	font-weight: 800;
	color: #fff;
	line-height: 1.1;
}

.stat-num small {
	font-size: 18px;
	color: var(--ysqzj168-accent);
	margin-left: 2px;
}

.stat-label {
	display: block;
	margin-top: 6px;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.72);
}

/* ==========================================================================
   5. 章节公共样式
   ========================================================================== */

.section {
	padding: 84px 0;
}

.section-head {
	max-width: 680px;
	margin: 0 auto 48px;
	text-align: center;
}

.section-eyebrow {
	display: inline-block;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 4px;
	color: var(--ysqzj168-accent-dark);
	margin-bottom: 10px;
}

.section-title {
	position: relative;
	margin: 0 0 14px;
	font-size: clamp(26px, 3vw, 36px);
}

.section-head .section-title::after {
	content: "";
	display: block;
	width: 52px;
	height: 3px;
	margin: 16px auto 0;
	background: repeating-linear-gradient(45deg, var(--ysqzj168-accent) 0 8px, var(--ysqzj168-primary-dark) 8px 16px);
}

.section-desc {
	margin: 0;
	color: var(--ysqzj168-muted);
	font-size: 16px;
}

.section-head--light .section-title,
.section-head--light .section-desc {
	color: #fff;
}

.section-head--light .section-desc {
	color: rgba(255, 255, 255, 0.75);
}

/* ==========================================================================
   6. 首页 · 产品目录
   ========================================================================== */

.section-products {
	background: #fff;
}

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

.product-card {
	background: #fff;
	border: 1px solid var(--ysqzj168-line);
	border-radius: var(--ysqzj168-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.product-thumb {
	position: relative;
	display: block;
	aspect-ratio: 4 / 2.75;
	overflow: hidden;
	background: var(--ysqzj168-bg);
}

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

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

.product-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 3px 10px;
	font-size: 12px;
	font-weight: 600;
	color: #231a05;
	background: var(--ysqzj168-accent);
	border-radius: 3px;
}

.product-body {
	padding: 20px 22px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.product-title {
	margin: 0 0 10px;
	font-size: 18px;
}

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

.product-title a:hover {
	color: var(--ysqzj168-accent-dark);
}

.product-excerpt {
	color: var(--ysqzj168-muted);
	font-size: 14px;
	margin-bottom: 16px;
}

.product-excerpt p {
	margin: 0;
}

.product-actions {
	margin-top: auto;
	display: flex;
	align-items: center;
	gap: 10px;
	padding-top: 14px;
	border-top: 1px dashed var(--ysqzj168-line);
}

.inquiry-band {
	margin-top: 56px;
	padding: 36px 42px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	border-radius: 10px;
	background:
		linear-gradient(105deg, rgba(7, 31, 51, 0.97) 55%, rgba(14, 58, 92, 0.9)),
		var(--ysqzj168-primary-deep);
	color: #fff;
	position: relative;
	overflow: hidden;
}

.inquiry-band::after {
	content: "";
	position: absolute;
	right: -60px;
	top: -60px;
	width: 240px;
	height: 240px;
	border: 36px solid rgba(245, 164, 0, 0.16);
	border-radius: 50%;
}

.inquiry-info {
	position: relative;
	z-index: 1;
}

.inquiry-info h3 {
	margin: 0 0 8px;
	color: #fff;
	font-size: 24px;
}

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

.inquiry-meta {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	gap: 22px;
	flex-wrap: wrap;
}

.inquiry-phone {
	font-size: 30px;
	font-weight: 800;
	letter-spacing: 1px;
	color: var(--ysqzj168-accent);
}

.inquiry-phone:hover {
	color: #ffc02e;
}

/* ==========================================================================
   7. 首页 · 公司简介 / 车间实景 / 服务流程
   ========================================================================== */

.section-about {
	background: linear-gradient(180deg, #fff 0%, var(--ysqzj168-bg) 100%);
}

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

.about-figure {
	position: relative;
	margin: 0;
}

.about-figure img {
	border-radius: 10px;
	box-shadow: var(--ysqzj168-shadow);
}

.about-badge {
	position: absolute;
	right: -18px;
	bottom: -18px;
	background: var(--ysqzj168-accent);
	color: #231a05;
	padding: 18px 24px;
	border-radius: 8px;
	text-align: center;
	line-height: 1.25;
	box-shadow: 0 10px 30px rgba(245, 164, 0, 0.4);
}

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

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

.about-body .section-title {
	margin-bottom: 20px;
}

.about-text {
	color: var(--ysqzj168-muted);
	margin: 0 0 22px;
}

.about-points {
	list-style: none;
	margin: 0 0 30px;
	padding: 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px 20px;
}

.about-points li {
	position: relative;
	padding-left: 26px;
	font-size: 15px;
}

.about-points li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 7px;
	width: 14px;
	height: 14px;
	background:
		linear-gradient(45deg, transparent 50%, var(--ysqzj168-accent) 50%);
	border: 2px solid var(--ysqzj168-accent);
	transform: rotate(0deg);
	border-radius: 3px;
}

.section-workshop {
	background:
		linear-gradient(rgba(7, 31, 51, 0.94), rgba(7, 31, 51, 0.94)),
		var(--ysqzj168-primary-deep);
}

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

.workshop-item {
	position: relative;
	margin: 0;
	border-radius: 8px;
	overflow: hidden;
}

.workshop-item img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
	transition: transform 0.4s ease;
}

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

.workshop-item figcaption {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	padding: 30px 20px 14px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: linear-gradient(180deg, transparent, rgba(7, 31, 51, 0.9));
}

.process-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(6, 1fr);
	gap: 18px;
	counter-reset: step;
}

.process-step {
	position: relative;
	padding: 30px 20px 26px;
	background: #fff;
	border: 1px solid var(--ysqzj168-line);
	border-radius: 8px;
	transition: border-color 0.2s ease, transform 0.2s ease;
}

.process-step:hover {
	border-color: var(--ysqzj168-accent);
	transform: translateY(-4px);
}

.process-step::after {
	content: "";
	position: absolute;
	top: 46px;
	right: -13px;
	z-index: 2;
	width: 9px;
	height: 9px;
	border-top: 2px solid var(--ysqzj168-accent-dark);
	border-right: 2px solid var(--ysqzj168-accent-dark);
	transform: rotate(45deg);
}

.process-step:last-child::after {
	display: none;
}

.process-num {
	display: inline-block;
	font-size: 26px;
	font-weight: 800;
	color: var(--ysqzj168-accent);
	margin-bottom: 12px;
}

.process-title {
	margin: 0 0 8px;
	font-size: 17px;
}

.process-desc {
	margin: 0;
	font-size: 13px;
	color: var(--ysqzj168-muted);
}

/* ==========================================================================
   8. 首页 · 新闻与联系 CTA
   ========================================================================== */

.section-news {
	background: #fff;
}

.section-contact {
	padding: 70px 0;
}

.contact-band {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	padding: 48px 56px;
	border-radius: 12px;
	background:
		linear-gradient(100deg, #0e3a5c, #071f33);
	color: #fff;
}

.contact-band h2 {
	margin: 0 0 10px;
	font-size: 28px;
	color: #fff;
}

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

.contact-band-cta {
	display: flex;
	align-items: center;
	gap: 26px;
	flex-wrap: wrap;
}

.contact-tel {
	font-size: 36px;
	font-weight: 800;
	color: var(--ysqzj168-accent);
	letter-spacing: 1px;
}

.contact-tel:hover {
	color: #ffc02e;
}

/* ==========================================================================
   9. 文章卡片网格与详情
   ========================================================================== */

.layout-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 44px;
	padding-top: 60px;
	padding-bottom: 80px;
}

.layout-single {
	max-width: 860px;
	padding-top: 60px;
	padding-bottom: 80px;
}

.post-card-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 26px;
}

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

.post-card {
	background: #fff;
	border: 1px solid var(--ysqzj168-line);
	border-radius: var(--ysqzj168-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

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

.post-card-thumb {
	display: block;
	aspect-ratio: 16 / 9.6;
	overflow: hidden;
	background: var(--ysqzj168-bg);
}

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

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

.post-card-body {
	padding: 20px 22px 22px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.post-card-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 13px;
	color: var(--ysqzj168-muted);
	margin-bottom: 10px;
}

.post-card-cat {
	padding: 2px 10px;
	background: rgba(245, 164, 0, 0.14);
	color: var(--ysqzj168-accent-dark);
	border-radius: 3px;
	font-weight: 600;
}

.post-card-title {
	margin: 0 0 10px;
	font-size: 18px;
	line-height: 1.4;
}

.post-card-title a {
	color: var(--ysqzj168-primary-dark);
}

.post-card-title a:hover {
	color: var(--ysqzj168-accent-dark);
}

.post-card-excerpt {
	font-size: 14px;
	color: var(--ysqzj168-muted);
	margin-bottom: 14px;
}

.post-card-excerpt p {
	margin: 0;
}

.post-card-more {
	margin-top: auto;
	font-size: 14px;
	font-weight: 600;
	color: var(--ysqzj168-accent-dark);
}

.entry-single {
	background: #fff;
	border: 1px solid var(--ysqzj168-line);
	border-radius: 8px;
	padding: 44px 50px;
}

.entry-header {
	padding-bottom: 20px;
	border-bottom: 1px solid var(--ysqzj168-line);
	margin-bottom: 30px;
}

.entry-title {
	margin: 0 0 14px;
	font-size: clamp(24px, 3vw, 34px);
}

.entry-meta {
	font-size: 14px;
	color: var(--ysqzj168-muted);
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
}

.entry-thumbnail {
	margin: 0 0 30px;
}

.entry-thumbnail img {
	border-radius: 8px;
}

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

.entry-content > *:first-child {
	margin-top: 0;
}

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

.entry-content blockquote {
	margin: 1.6em 0;
	padding: 4px 26px;
	border-left: 4px solid var(--ysqzj168-accent);
	background: var(--ysqzj168-bg);
	color: var(--ysqzj168-muted);
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.6em 0;
}

.entry-content th,
.entry-content td {
	padding: 10px 14px;
	border: 1px solid var(--ysqzj168-line);
	text-align: left;
}

.entry-content th {
	background: var(--ysqzj168-bg);
}

.entry-footer {
	margin-top: 28px;
	padding-top: 18px;
	border-top: 1px dashed var(--ysqzj168-line);
	font-size: 14px;
	color: var(--ysqzj168-muted);
	display: flex;
	gap: 18px;
	flex-wrap: wrap;
}

.entry-footer a {
	margin-right: 6px;
}

.nav-links {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	margin-top: 34px;
}

.nav-previous,
.nav-next {
	flex: 1;
	max-width: 48%;
}

.post-navigation .nav-subtitle {
	display: block;
	font-size: 13px;
	color: var(--ysqzj168-muted);
}

.post-navigation .nav-title {
	color: var(--ysqzj168-primary-dark);
	font-weight: 600;
}

.pagination,
.page-links {
	margin-top: 42px;
	text-align: center;
}

.pagination .page-numbers,
.page-links .post-page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	height: 40px;
	margin: 0 4px;
	padding: 0 12px;
	border: 1px solid var(--ysqzj168-line);
	border-radius: 4px;
	background: #fff;
	color: var(--ysqzj168-ink);
	font-weight: 600;
}

.pagination .page-numbers.current,
.pagination .page-numbers:hover {
	background: var(--ysqzj168-primary);
	border-color: var(--ysqzj168-primary);
	color: #fff;
}

/* ==========================================================================
   10. 页面头部 / 搜索/404 / 评论 / 小工具
   ========================================================================== */

.archive-header,
.page-header {
	margin-bottom: 36px;
}

.page-title {
	margin: 0;
	font-size: clamp(24px, 3vw, 32px);
}

.archive-description {
	margin-top: 10px;
	color: var(--ysqzj168-muted);
}

.search-query {
	color: var(--ysqzj168-accent-dark);
}

.search-count {
	margin-top: 8px;
	color: var(--ysqzj168-muted);
}

.search-form {
	display: flex;
	gap: 10px;
	max-width: 520px;
}

.search-form label {
	flex: 1;
	margin: 0;
}

.search-field {
	width: 100%;
	padding: 11px 16px;
	border: 1px solid var(--ysqzj168-line);
	border-radius: var(--ysqzj168-radius);
	font-size: 15px;
	background: #fff;
}

.search-field:focus {
	outline: 2px solid rgba(245, 164, 0, 0.5);
	border-color: var(--ysqzj168-accent);
}

.error-404 {
	background: #fff;
	border: 1px solid var(--ysqzj168-line);
	border-radius: 10px;
	padding: 70px 60px;
	text-align: center;
}

.error-code {
	margin: 0;
	font-size: 90px;
	line-height: 1;
	font-weight: 800;
	color: var(--ysqzj168-accent);
}

.error-404 .page-header {
	margin: 12px 0 20px;
}

.error-404 .search-form {
	margin: 0 auto;
}

.error-links {
	margin-top: 26px;
}

.error-recent-title {
	margin-top: 44px;
	font-size: 20px;
}

.error-recent-list {
	list-style: none;
	padding: 0;
	margin: 16px 0 0;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 8px 28px;
	text-align: left;
}

.error-recent-list a {
	color: var(--ysqzj168-primary);
}

.comments-area {
	margin-top: 44px;
	background: #fff;
	border: 1px solid var(--ysqzj168-line);
	border-radius: 8px;
	padding: 36px 42px;
}

.comments-title {
	margin: 0 0 26px;
	font-size: 22px;
}

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

.comment-list .comment-body {
	padding: 18px 0;
	border-bottom: 1px dashed var(--ysqzj168-line);
	display: block;
}

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

.comment-author .avatar {
	border-radius: 50%;
	float: left;
	margin-right: 14px;
}

.comment-metadata {
	font-size: 13px;
	color: var(--ysqzj168-muted);
}

.comment-content {
	clear: both;
	padding-top: 10px;
}

.comment-respond .comment-reply-title {
	font-size: 20px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1px solid var(--ysqzj168-line);
	border-radius: var(--ysqzj168-radius);
	background: #fff;
	font-size: 15px;
}

.comment-form .submit {
	margin-top: 6px;
	border: none;
	background: var(--ysqzj168-accent);
	color: #231a05;
	font-weight: 700;
	padding: 12px 30px;
	border-radius: var(--ysqzj168-radius);
	cursor: pointer;
	font-size: 15px;
}

.comment-form .submit:hover {
	background: var(--ysqzj168-accent-dark);
}

.widget-area .widget,
.footer-widget {
	margin-bottom: 36px;
}

.widget-area .widget {
	background: #fff;
	border: 1px solid var(--ysqzj168-line);
	border-radius: 8px;
	padding: 26px 28px;
}

.widget-title {
	position: relative;
	margin: 0 0 18px;
	padding-bottom: 12px;
	font-size: 17px;
}

.widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 34px;
	height: 3px;
	background: var(--ysqzj168-accent);
}

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

.widget ul li {
	padding: 7px 0;
	border-bottom: 1px dashed var(--ysqzj168-line);
}

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

.sticky .post-card-title::before,
.sticky.post-card .post-card-title::before {
	content: "\7f6e\9876";
	display: inline-block;
	margin-right: 8px;
	padding: 1px 8px;
	background: var(--ysqzj168-accent);
	color: #231a05;
	font-size: 12px;
	border-radius: 3px;
	font-weight: 700;
}

.bypostauthor {}

/* ==========================================================================
   11. 页脚
   ========================================================================== */

.site-footer {
	background: var(--ysqzj168-primary-deep);
	color: rgba(255, 255, 255, 0.78);
	font-size: 14px;
	margin-top: 0;
}

.footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
	gap: 48px;
	padding-top: 64px;
	padding-bottom: 44px;
}

.site-footer .widget-title,
.footer-brand-name {
	color: #fff;
	margin: 0 0 16px;
	font-size: 17px;
}

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

.site-footer a:hover {
	color: var(--ysqzj168-accent);
}

.footer-desc {
	margin: 0 0 20px;
	line-height: 1.9;
}

.footer-hotline span {
	display: block;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.6);
}

.footer-hotline strong {
	font-size: 26px;
	font-weight: 800;
	color: var(--ysqzj168-accent);
	letter-spacing: 1px;
}

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

.footer-menu li,
.footer-cats li {
	padding: 6px 0;
	border-bottom: 1px dashed rgba(255, 255, 255, 0.1);
}

.footer-contact li {
	margin-bottom: 12px;
	line-height: 1.7;
}

.footer-contact strong {
	color: #fff;
}

.site-info {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 18px 0;
}

.site-info-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
	flex-wrap: wrap;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.55);
}

.site-info p {
	margin: 0;
}

.icp-record a {
	color: rgba(255, 255, 255, 0.55);
}

.icp-record a:hover {
	color: var(--ysqzj168-accent);
}

/* ==========================================================================
   12. 区块编辑器兼容
   ========================================================================== */

.alignwide {
	margin-left: -60px;
	margin-right: -60px;
	max-width: calc(100% + 120px);
}

.alignfull {
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	max-width: 100vw;
	width: auto;
}

.wp-block-image img {
	border-radius: 6px;
}

.wp-block-button__link {
	background: var(--ysqzj168-primary);
	border-radius: var(--ysqzj168-radius);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	background: transparent;
	color: var(--ysqzj168-primary);
	border-color: var(--ysqzj168-primary);
}

.wp-block-quote {
	border-left: 4px solid var(--ysqzj168-accent);
	padding-left: 22px;
}

.wp-block-table table {
	border-collapse: collapse;
	width: 100%;
}

.wp-block-table td,
.wp-block-table th {
	border: 1px solid var(--ysqzj168-line);
	padding: 10px 14px;
}

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

.wp-caption-text {
	font-size: 13px;
	color: var(--ysqzj168-muted);
	text-align: center;
	padding-top: 8px;
}

/* ==========================================================================
   13. 响应式
   ========================================================================== */

@media screen and (max-width: 1100px) {

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

	.process-step::after {
		display: none;
	}

	.about-grid {
		gap: 40px;
	}

	.alignwide {
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
	}
}

@media screen and (max-width: 920px) {

	.header-inner {
		flex-wrap: wrap;
		gap: 12px;
	}

	.main-navigation {
		order: 4;
		width: 100%;
		margin-left: 0;
	}

	.menu-toggle {
		display: block;
	}

	.header-inner .main-navigation {
		width: auto;
		margin-left: auto;
	}

	.primary-menu {
		display: none;
		flex-direction: column;
		align-items: stretch;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-top: 1px solid var(--ysqzj168-line);
		box-shadow: 0 20px 30px rgba(9, 44, 71, 0.12);
		max-height: 70vh;
		overflow: auto;
	}

	.main-navigation.toggled .primary-menu {
		display: flex;
	}

	.main-navigation {
		position: static;
	}

	.site-header {
		position: relative;
	}

	.primary-menu > li > a {
		padding: 14px 20px;
		border-bottom: 1px solid var(--ysqzj168-bg);
	}

	.primary-menu li .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		display: none;
		border: none;
		box-shadow: none;
		padding-left: 16px;
		background: var(--ysqzj168-bg);
	}

	.primary-menu li.toggled-on > .sub-menu,
	.primary-menu li:hover > .sub-menu {
		display: block;
	}

	.header-cta {
		display: none;
	}

	.topbar-inner {
		flex-direction: column;
		gap: 4px;
		padding-top: 8px;
		padding-bottom: 8px;
		text-align: center;
	}

	.hero {
		min-height: 540px;
	}

	.hero-inner {
		padding-top: 60px;
		padding-bottom: 170px;
	}

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

	.layout-with-sidebar {
		grid-template-columns: 1fr;
	}

	.product-grid,
	.post-card-grid,
	.post-card-grid--3,
	.workshop-grid {
		grid-template-columns: 1fr 1fr;
	}

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

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

	.about-badge {
		right: 10px;
		bottom: 10px;
	}

	.inquiry-band,
	.contact-band {
		flex-direction: column;
		align-items: flex-start;
		padding: 34px 28px;
	}

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

	.error-404 {
		padding: 50px 26px;
	}

	.section {
		padding: 60px 0;
	}
}

@media screen and (max-width: 600px) {

	.product-grid,
	.post-card-grid,
	.post-card-grid--3,
	.workshop-grid,
	.process-list,
	.footer-grid,
	.about-points,
	.error-recent-list {
		grid-template-columns: 1fr;
	}

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

	.stat-num {
		font-size: 26px;
	}

	.contact-tel {
		font-size: 26px;
	}

	.inquiry-phone {
		font-size: 24px;
	}

	.search-form {
		flex-direction: column;
	}
}
