/*
Theme Name: Blank
Theme URI: https://hdemo.temdemo.top/
Author: 老码
Author URI: https://hdemo.temdemo.top/
Description: 空白自定义主题，从零开始构建。
Version: 1.0.0
Requires PHP: 8.0
License: GPL v2 or later
Text Domain: blank
*/

/* ============================================
 * 网站主题样式
 *
 * 字体：Poppins（本地托管，5 个字重）
 * 框架：Pure.css（已通过 functions.php 加载）
 * 轮播：Swiper（已通过 functions.php 加载）
 *
 * 首页专有样式已内联在 page-index.php 中（关键 CSS）
 * 此处放置全局共用样式
 * ============================================ */

/* ============================================
 * 首页非关键样式（视口外区域）
 * 通过 style.css 正常加载
 * ============================================ */

/* --- Pure.css 栅格覆盖（恢复 Poppins 字体） --- */
.pure-g {
	font-family: inherit;
}
.pure-g input,
.pure-g select,
.pure-g textarea {
	font-family: inherit;
}

/* --- Section Common --- */
.home-section {
	padding: 80px 0;
}
/* 自定义 padding 的板块重置全局默认值 */
.home-section.home-about {
	padding: 60px 0 0;
}
.home-section.home-product,
.home-section.home-stats {
	padding: 0;
}
.section-title {
	text-align: center;
	margin-bottom: 50px;
}
.section-title h2 {
	font-size: 32px;
	font-weight: 600;
	color: #1a5276;
	margin: 0 0 10px;
	text-transform: uppercase;
	letter-spacing: 1px;
}
.section-title .divider {
	width: 60px;
	height: 3px;
	background: #2980b9;
	margin: 0 auto;
}
.l-wrap {
	max-width: 1520px;
	margin: 0 auto;
	padding: 0 20px;
}

/* --- home-introduction（Pure.css 栅格 + 参考站样式） --- */
.home-introduction {
	transform: translateY(-50px);
	position: relative;
	z-index: 10;
}
.home-introduction .pure-g .pure-u-1-4 {
	padding: 0 10px;
}
.home-introduction .item {
	display: flex;
	align-items: center;
	box-sizing: border-box;
	padding: 18px 14px;
	background: #fff;
	border-bottom: 2px solid #2980b9;
	border-radius: 8px;
	box-shadow: 0 2px 10px rgba(0,0,0,.1);
	transform: translateY(0);
	transition: all .3s linear;
}
.home-introduction .item .left {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	margin-right: 14px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f8f9f8;
}
.home-introduction .item .left img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}
.home-introduction .item .right {
	flex: 1;
}
.home-introduction .item .right .title {
	color: #1a5276;
	text-transform: uppercase;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
	overflow: hidden;
	font-size: 18px;
	font-weight: 600;
}
.home-introduction .item .right .text {
	color: #666;
	font-size: 16px;
	margin: 5px 0 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	line-height: 1.5;
}
.home-introduction .item:hover {
	transform: translateY(10px);
}
.home-introduction .item:hover .left {
	background: #2980b9;
}

/* --- About Section --- */
.home-about {
	background: #f0f4f8;
}
.about-left {
	position: relative;
	padding: 20px 30px 20px 0;
}
.about-pic {
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0,0,0,.1);
}
.about-pic img {
	width: 100%;
	display: block;
	transition: transform .2s linear;
}
.about-pic:hover img {
	transform: scale(.98);
}
.about-statbox {
	position: absolute;
	bottom: 0;
	left: 10px;
	background: #f7f9fd;
	border-radius: 10px;
	width: 140px;
	height: 140px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.statbox-inner {
	width: 75%;
	height: 75%;
	background: #ebf0fb;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
}
.statbox-num {
	color: #2980b9;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
}
.statbox-inner span:last-child {
	color: #666;
	font-size: 16px;
}

.about-right {
	padding: 30px 0 30px 30px;
}
.about-title {
	font-size: 28px;
	font-weight: 600;
	color: #1a5276;
	margin: 0 0 20px;
}
.about-desc {
	font-size: 16px;
	color: #555;
	line-height: 1.8;
	margin: 0 0 25px;
}
.about-list {
	list-style: none;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	margin-bottom: 25px;
}
.about-list li {
	width: 50%;
	margin: 5px 0;
	font-size: 14px;
	font-weight: 500;
	color: #555;
}
.about-bullet {
	color: #2980b9;
	margin-right: 8px;
	font-size: 10px;
	vertical-align: middle;
}
.about-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #2980b9;
	color: #fff !important;
	width: 140px;
	height: 46px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 500;
	text-decoration: none;
	transition: background .3s;
	text-transform: lowercase;
}
.about-btn:hover {
	background: #1a5276 !important;
}

/* --- Stats --- */
.stat-inner {
	text-align: center;
	padding: 20px;
}
.stat-number {
	font-size: 42px;
	font-weight: 700;
	color: #1a5276;
	line-height: 1;
}
.stat-label {
	font-size: 16px;
	color: #666;
	margin-top: 8px;
}
.stat-unit {
	font-size: 16px;
	color: #2980b9;
	font-weight: 500;
	display: block;
	margin-top: 4px;
}

/* --- Partners Logo（在 home-about 内） --- */
.home-logo {
	padding: 60px 0 0;
}
.home-logo .home-title {
	font-size: 32px;
	font-weight: 600;
	color: #1a5276;
	text-align: center;
	margin-bottom: 40px;
	text-transform: capitalize;
}
.partners-grid {
	align-items: center;
}
.partner-item {
	padding: 20px;
	text-align: center;
}
.partner-item img {
	max-width: 85%;
	height: auto;
	filter: grayscale(100%);
	opacity: .6;
	transition: all .3s ease;
}
.partner-item:hover img {
	filter: grayscale(0);
	opacity: 1;
}

/* --- Hot Products Section（精确对标参考站 home-product） --- */
.home-product {
	background: #eff2f7;
}
.home-product .l-wrap.unify {
	padding: 3% 70px;
	box-sizing: border-box;
	text-align: center;
}
.home-product .home-des.theme {
	color: #2980b9;
	text-transform: uppercase;
	text-align: center;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 2px;
}
.home-product .home-title.title {
	font-size: 36px;
	font-weight: 600;
	color: #1a5276;
	text-align: center;
	text-transform: capitalize;
}
.home-product .product {
	margin-top: 2%;
}

/* 产品网格：使用 Pure.css 4列 */
.pro-grid > .pure-u-1-4 {
	padding: 0 12px;
	box-sizing: border-box;
	margin-bottom: 2em;
}

/* 产品卡片（对标 ref .pro-list .item） */
.hot-item {
	background: #fff;
	border-radius: 6px;
	overflow: hidden;
	border-bottom: 2px solid #2980b9;
	box-shadow: 0 4px 13px rgba(17,26,58,0);
	transition: box-shadow .2s ease;
	height: auto;
}
.hot-item:hover {
	box-shadow: 0 4px 13px rgba(17,26,58,.15);
}

/* 产品图（对标 ref .item .img，统一高度） */
.hot-img {
	display: block;
	width: 100%;
	height: 260px;
	overflow: hidden;
	position: relative;
}
.hot-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1);
	transition: transform .2s linear;
}
.hot-item:hover .hot-img img {
	transform: scale(1.05);
}

/* 文字区（对标 ref .item .text） */
.hot-text {
	padding: 6% 4%;
	border-top: 1px solid #eee;
	text-align: left;
}

/* 产品名（对标 ref .item .text .name） */
.hot-name {
	display: block;
	font-size: 18px;
	font-weight: 600;
	color: #1a5276;
	text-decoration: none;
	margin: 0;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	transition: color .2s linear;
}
.hot-item:hover .hot-name {
	color: #2980b9;
}

/* 描述（对标 ref .item .text .merchandise） */
.hot-desc {
	color: #888;
	font-size: 13px;
	margin: 10px 0;
	line-height: 1.6;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

/* 按钮（对标 ref .item .text .btn） */
.hot-btn {
	display: inline-flex;
	align-items: center;
	position: relative;
	z-index: 1;
	overflow: hidden;
	color: #888;
	text-decoration: none;
	font-size: 14px;
	text-transform: lowercase;
	padding: 4px 0;
	border-radius: 6px;
	transition: color .2s ease, padding .2s ease;
}
.hot-btn em {
	margin-left: 4px;
	font-style: normal;
	transition: color .2s linear;
}
.hot-btn::after {
	content: '';
	position: absolute;
	z-index: -1;
	width: 0;
	height: 110%;
	top: 0;
	left: 0;
	background: #2980b9;
	border-radius: 6px;
	transition: width .2s ease;
}
.hot-item:hover .hot-btn {
	color: #fff;
	padding: 4px 10px;
}
.hot-item:hover .hot-btn em {
	color: #fff;
}
.hot-item:hover .hot-btn::after {
	width: 100%;
}

/* --- Contact Section（参考站 home-contact，Pure.css 50/50） --- */
.home-contact {
	background: #2980b9;
	padding: 60px 0;
}
.contact-wrap {
	align-items: center;
}
.contact-left {
	padding: 20px 30px 20px 0;
}
.contact-pic {
	width: 100%;
	max-width: 650px;
	border-radius: 6px;
	overflow: hidden;
}
.contact-pic img {
	width: 100%;
	display: block;
}
.contact-stats {
	display: flex;
	justify-content: space-between;
	padding: 30px 0;
}
.contact-stat {
	text-align: center;
}
.contact-stat-num {
	margin: 0;
	font-size: 38px;
	font-weight: 700;
	color: #fff;
	line-height: 1.1;
}
.contact-stat-txt {
	font-size: 16px;
	color: rgba(255,255,255,.85);
	margin: 5px 0 0;
}
.contact-right {
	padding: 30px 0 30px 30px;
	position: relative;
	padding-bottom: 180px;
	min-height: 400px;
}
.contact-phone-icon {
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	animation: ripple 1s linear infinite;
}
.contact-phone-icon span {
	color: #2980b9;
	font-size: 22px;
}
@keyframes ripple {
	0% { box-shadow: 0 0 0 0 rgba(255,255,255,.5), 0 0 0 5px rgba(255,255,255,.5), 0 0 0 10px rgba(255,255,255,.5); }
	100% { box-shadow: 0 0 0 5px rgba(255,255,255,.25), 0 0 0 10px rgba(255,255,255,.25), 0 0 0 20px rgba(255,255,255,0); }
}
.contact-phone-number {
	font-size: 32px;
	font-weight: 700;
	color: #fff;
	margin: 30px 0 20px;
}
.contact-desc {
	font-size: 16px;
	color: rgba(255,255,255,.85);
	line-height: 1.6;
	width: 88%;
	margin: 0 0 30px;
}
.contact-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 150px;
	height: 46px;
	background: #fff;
	color: #2980b9;
	border-radius: 6px;
	font-size: 16px;
	font-weight: 500;
	text-decoration: none;
	position: relative;
	z-index: 1;
	overflow: hidden;
	transition: color .2s linear;
}
.contact-btn::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	width: 0;
	height: 100%;
	background: #2980b9;
	z-index: -1;
	border-radius: 6px;
	transition: width .2s linear;
}
.contact-btn:hover {
	color: #fff;
	box-shadow: 0 0 3px #fff;
}
.contact-btn:hover::after {
	width: 100%;
}
.contact-bottom-card {
	position: absolute;
	bottom: 0;
	left: 30px;
	right: 0;
	background: #fff;
	border-radius: 6px 6px 0 0;
	padding: 20px 25px;
}
.contact-bottom-card p:first-child {
	font-size: 22px;
	font-weight: 600;
	color: #1a5276;
	margin: 0 0 5px;
}
.contact-bottom-card p:last-child {
	font-size: 16px;
	color: #888;
	margin: 0;
	line-height: 1.6;
}

/* --- Process --- */
.home-process .pure-g > .pure-u-1-4 {
	padding: 0 12px;
	box-sizing: border-box;
}
.process-inner {
	text-align: center;
	padding: 40px 20px;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 4px 15px rgba(0,0,0,.05);
}
.process-inner .step-num {
	width: 50px;
	height: 50px;
	line-height: 50px;
	border-radius: 50%;
	background: #1a5276;
	color: #fff;
	font-size: 20px;
	font-weight: 700;
	margin: 0 auto 15px;
}
.process-inner h3 {
	font-size: 15px;
	font-weight: 600;
	color: #1a5276;
	margin: 0 0 10px;
}
.process-inner p {
	font-size: 16px;
	color: #666;
	margin: 0;
	line-height: 1.7;
}

/* --- Equipment --- */
.home-equipment .pure-g > .pure-u-1-3 {
	padding: 0 12px;
	box-sizing: border-box;
	margin-bottom: 1.5em;
}
.equip-inner {
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0,0,0,.06);
	height: 100%;
}
.equip-inner .equip-img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}
.equip-inner .equip-body {
	padding: 18px 15px;
}
.equip-inner h3 {
	font-size: 15px;
	font-weight: 600;
	color: #1a5276;
	margin: 0 0 8px;
}
.equip-inner p {
	font-size: 16px;
	color: #666;
	margin: 0;
	line-height: 1.7;
}

/* --- Footer --- */
.site-footer {
	background: #1a2a3a;
	color: #b0bec5;
	font-size: 16px;
	line-height: 1.7;
}
.site-footer a {
	color: #b0bec5;
	text-decoration: none;
}
.site-footer a:hover {
	color: #fff;
}
.footer-main {
	padding: 50px 0 30px;
}
.footer-col {
	padding: 0 15px;
	box-sizing: border-box;
}
.footer-title {
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	margin: 0 0 18px;
	text-transform: uppercase;
}

/* Footer Logo / Brand */
.footer-logo {
	max-width: 160px;
	height: auto;
	margin-bottom: 15px;
}
.footer-brand {
	color: #fff;
	font-size: 18px;
	font-weight: 700;
	margin: 0 0 12px;
}
.footer-desc {
	line-height: 1.7;
	margin: 0 0 18px;
	font-size: 16px;
}

/* Social Icons */
.footer-social {
	display: flex;
	gap: 10px;
}
.footer-social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255,255,255,.1);
	color: #b0bec5;
	transition: all .3s;
}
.footer-social-icon:hover {
	background: #1e40af;
	color: #fff;
}

/* Footer Menu */
.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-menu li {
	margin-bottom: 8px;
}

/* Footer Contact */
.footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
}
.footer-contact-item {
	margin-bottom: 12px;
	line-height: 1.8;
	color: #b0bec5;
}
.footer-contact-label {
	font-weight: 600;
	display: block;
	font-size: 11px;
	text-transform: uppercase;
	margin-bottom: 1px;
	color: #b0bec5;
}

/* QR Code */
.footer-qr {
	width: 120px;
	height: 120px;
	border-radius: 4px;
}
.footer-qr-placeholder {
	width: 120px;
	height: 120px;
	background: rgba(255,255,255,.08);
	border-radius: 4px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #b0bec5;
	font-size: 12px;
	border: 1px dashed rgba(255,255,255,.2);
}
.footer-qr-label {
	font-size: 16px;
	margin: 8px 0 0;
	color: #b0bec5;
}

/* Footer Bottom */
.footer-bottom {
	border-top: 1px solid rgba(255,255,255,.08);
	padding: 18px 0;
	font-size: 16px;
	color: #b0bec5;
}
.footer-bottom a {
	color: #b0bec5;
	text-decoration: none;
}
.footer-bottom a:hover {
	color: #fff;
}

/* ============================================
 * Page FAQ Accordion
 * ============================================ */
.page-extras {
	margin-top: 40px;
}
.page-faqs {
	margin-bottom: 60px;
}
.page-faqs__title {
	font-size: 28px;
	font-weight: 600;
	color: #1a5276;
	margin: 0 0 24px;
}
.faq-item {
	border-bottom: 1px solid #e5e7eb;
}
.faq-item__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 18px 0;
	background: none;
	border: none;
	cursor: pointer;
	font: inherit;
	font-size: 16px;
	font-weight: 500;
	color: #1f2937;
	text-align: left;
	transition: color .2s;
}
.faq-item__question:hover {
	color: #2563eb;
}
.faq-item__icon {
	flex-shrink: 0;
	font-size: 20px;
	font-weight: 300;
	color: #9ca3af;
	transition: transform .25s ease;
	margin-left: 12px;
	line-height: 1;
}
.faq-item__question[aria-expanded="true"] .faq-item__icon {
	transform: rotate(45deg);
}
.faq-item__answer {
	padding: 0 0 18px;
	color: #4b5563;
	line-height: 1.7;
	font-size: 15px;
}
.faq-item__answer p {
	margin: 0 0 8px;
}
.faq-item__answer p:last-child {
	margin-bottom: 0;
}

/* ============================================
 * Page Recommended Products (Pure.css Grid)
 * ============================================ */
.page-recs {
	margin-bottom: 40px;
}
.page-recs__title {
	font-size: 28px;
	font-weight: 600;
	color: #1a5276;
	margin: 0 0 24px;
}
.page-recs__grid {
	margin: 0 -10px;
}
.page-recs__grid > .pure-u-1-1 {
	box-sizing: border-box;
	padding: 10px;
}
.rec-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	overflow: hidden;
	transition: box-shadow .25s ease, transform .25s ease;
	height: 100%;
	display: flex;
	flex-direction: column;
}
.rec-card:hover {
	box-shadow: 0 4px 20px rgba(0,0,0,.08);
	transform: translateY(-2px);
}
.rec-card__thumb {
	display: block;
	aspect-ratio: 1;
	overflow: hidden;
	background: #f3f4f6;
}
.rec-card__thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform .3s ease;
}
.rec-card:hover .rec-card__thumb img {
	transform: scale(1.05);
}
.rec-card__title {
	font-size: 16px;
	font-weight: 600;
	margin: 14px 14px 8px;
	color: #1f2937;
}
.rec-card__title a {
	color: inherit;
	text-decoration: none;
}
.rec-card__title a:hover {
	color: #2563eb;
}
.rec-card__excerpt {
	font-size: 14px;
	color: #6b7280;
	line-height: 1.6;
	margin: 0 14px 12px;
	flex: 1;
}
.rec-card__link {
	display: block;
	padding: 10px 14px;
	border-top: 1px solid #e5e7eb;
	font-size: 14px;
	font-weight: 500;
	color: #2563eb;
	text-decoration: none;
	transition: background .2s;
}
.rec-card__link:hover {
	background: #f9fafb;
	color: #1d4ed8;
}
