/* ==========================================================
 * TOWNTY 首页样式
 * 区块命名:ty-* (townty),顺序——首页 / 全局 / 导航 / Hero / 卡片...
 * ========================================================== */

/* ===== 全局基础 ===== */
body.townty-home,
body.townty-inner {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
	color: #333;
	background: #fafafa;
	-webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.ty-container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 24px;
}

.ty-section {
	padding: 80px 0;
}

/* ===== 导航栏 ===== */
.ty-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: #ffffff;
	border-bottom: 1px solid #eee;
	box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

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

/* Logo */
.ty-logo {
	display: flex;
	align-items: center;
	flex-shrink: 0;
}
.ty-logo-img {
	height: 40px;
	width: auto;
}

/* 菜单 */
.ty-nav {
	flex: 1;
	display: flex;
	justify-content: center;
}
.ty-menu {
	display: flex;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ty-menu-link {
	display: inline-block;
	padding: 10px 16px;
	font-size: 15px;
	color: #444;
	border-radius: 4px;
	transition: color .2s, background-color .2s;
}
.ty-menu-link:hover,
.ty-menu-link.is-active {
	color: #E8611C;
	background: rgba(232,97,28,0.08);
}

/* 立即询价 CTA */
.ty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 10px 22px;
	font-size: 15px;
	font-weight: 500;
	border-radius: 6px;
	border: 0;
	cursor: pointer;
	transition: transform .15s, box-shadow .2s, background-color .2s;
}
.ty-btn-cta {
	color: #fff;
	background: #E8611C;
	box-shadow: 0 4px 12px rgba(232,97,28,0.25);
}
.ty-btn-cta:hover {
	background: #d65418;
	transform: translateY(-1px);
	box-shadow: 0 6px 16px rgba(232,97,28,0.35);
}

/* 汉堡菜单(默认隐藏) */
.ty-nav-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 28px;
	height: 22px;
	background: transparent;
	border: 0;
	padding: 0;
	cursor: pointer;
}
.ty-nav-toggle span {
	display: block;
	height: 3px;
	background: #333;
	border-radius: 2px;
	transition: transform .2s, opacity .2s;
}

/* ===== 响应式 ≤ 960 ===== */
@media (max-width: 960px) {
	.ty-header-inner {
		gap: 16px;
		height: 64px;
	}
	.ty-logo-img { height: 34px; }
	.ty-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: #fff;
		border-bottom: 1px solid #eee;
		display: none;
		padding: 8px 24px 16px;
	}
	.ty-nav.is-open { display: block; }
	.ty-menu {
		flex-direction: column;
		gap: 0;
	}
	.ty-menu-link {
		display: block;
		padding: 12px 8px;
		border-bottom: 1px solid #f3f3f3;
	}
	.ty-nav-toggle { display: flex; }
}

/* ===== Hero 首屏横幅(内容来自后台区块) =====
   第②步改版:banner 是一张已经做完的成品图,直接 100% 宽度铺满
*/
.ty-hero {
	position: relative;
	padding: 0;
	background: #0a1320;
	overflow: hidden;
}
.ty-hero .ty-banner,
.ty-hero .wp-block-image {
	display: block;
	margin: 0;
	width: 100%;
}
.ty-hero .ty-banner img,
.ty-hero .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 720px;
	object-fit: cover;
	object-position: center;
}

/* ===== 通用栏目区块(占位,后续逐步替换) ===== */
.ty-section {
	padding: 80px 0;
	background: #fff;
}
.ty-section:nth-of-type(even) {
	background: #fafafa;
}
.ty-sec-title {
	margin: 0 0 12px;
	font-size: 30px;
	font-weight: 700;
	color: #1c2430;
	text-align: center;
}
.ty-sec-tip {
	margin: 0;
	font-size: 14px;
	color: #999;
	text-align: center;
}

/* Hero 响应式 */
@media (max-width: 760px) {
	.ty-hero .ty-banner img,
	.ty-hero .wp-block-image img { max-height: 360px; }
	.ty-sec-title { font-size: 24px; }
}

/* ==========================================================
 * 内页通用(联系我们等)
 * ========================================================== */

/* ===== 内页顶部 Banner ===== */
.ty-page-hero {
	padding: 72px 0;
	background:
		radial-gradient(ellipse 600px 380px at 85% 15%, rgba(232, 97, 28, 0.25), transparent 60%),
		radial-gradient(ellipse 500px 360px at 12% 90%, rgba(42, 111, 184, 0.18), transparent 55%),
		linear-gradient(135deg, #161d26 0%, #232c3a 55%, #2e3b4e 100%);
	color: #fff;
	text-align: center;
}
.ty-page-title {
	margin: 0 0 10px;
	font-size: 42px;
	font-weight: 700;
	color: #fff;
	letter-spacing: 4px;
}
.ty-page-en {
	margin: 0 0 14px;
	font-size: 15px;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, 0.6);
}
.ty-page-slogan {
	display: inline-block;
	margin: 0;
	padding: 8px 22px;
	font-size: 14px;
	letter-spacing: 6px;
	color: #ffb25e;
	border: 1px solid rgba(255, 178, 94, 0.45);
	border-radius: 999px;
}

/* ===== 公司简介 ===== */
.ty-about-text {
	max-width: 860px;
	margin: 28px auto 0;
}
.ty-about-text p {
	font-size: 16px;
	line-height: 2;
	color: #555;
	text-align: justify;
}

/* ===== 核心优势卡片 ===== */
.ty-advantages { background: #fafafa; }
.ty-adv-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 40px;
}
.ty-adv-card {
	padding: 28px 24px;
	background: #fff;
	border: 1px solid #eee;
	border-top: 3px solid #E8611C;
	border-radius: 8px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
	transition: transform .2s, box-shadow .2s;
}
.ty-adv-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.ty-adv-title {
	margin: 0 0 12px;
	font-size: 18px;
	font-weight: 600;
	color: #1c2430;
}
.ty-adv-text {
	margin: 0;
	font-size: 14px;
	line-height: 1.9;
	color: #666;
}

/* ===== 联系方式卡片 ===== */
.ty-contact { background: #fff; }
.ty-contact-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
	margin-top: 40px;
}
.ty-contact-card {
	padding: 30px 24px;
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 8px;
	text-align: center;
	transition: transform .2s, box-shadow .2s;
}
.ty-contact-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.ty-contact-label {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 600;
	color: #E8611C;
}
.ty-contact-value {
	margin: 0;
	font-size: 15px;
	line-height: 1.9;
	color: #444;
}

/* ===== 页脚(全站) ===== */
.ty-footer {
	background: #161d26;
	color: rgba(255, 255, 255, 0.72);
	border-top: 3px solid #e8611c;
}
.ty-footer-main {
	display: grid;
	grid-template-columns: 1.7fr 1fr 1.05fr 1.15fr 1fr 1.5fr;
	gap: 32px 28px;
	padding: 54px 0 44px;
}
.ty-footer-brand .ty-footer-name {
	margin: 0;
	font-size: 24px;
	font-weight: 600;
	color: #ffffff;
	letter-spacing: 1px;
}
.ty-footer-en {
	margin: 8px 0 0;
	font-size: 12px;
	letter-spacing: 1px;
	color: rgba(255, 255, 255, 0.5);
}
.ty-footer-divider {
	display: block;
	width: 42px;
	height: 3px;
	margin: 18px 0 14px;
	background: #e8611c;
	border-radius: 2px;
}
.ty-footer-slogan {
	margin: 0;
	font-size: 13px;
	letter-spacing: 2px;
	color: #ffb25e;
}
.ty-footer-col-title {
	margin: 4px 0 18px;
	font-size: 15px;
	font-weight: 600;
	color: #ffffff;
}
.ty-footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
}
.ty-footer-links li {
	margin: 0 0 11px;
	line-height: 1.5;
}
.ty-footer-link {
	font-size: 13px;
	color: rgba(255, 255, 255, 0.72);
	transition: color .2s;
}
.ty-footer-link:hover {
	color: #ffb25e;
}
.ty-footer-contact-item {
	display: flex;
	align-items: flex-start;
	margin-bottom: 12px;
}
.ty-footer-contact-label {
	flex-shrink: 0;
	width: 56px;
	font-size: 13px;
	font-weight: 500;
	color: #ffffff;
}
.ty-footer-contact-value {
	flex: 1;
	font-size: 13px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.72);
	word-break: break-all;
}
.ty-footer-bar {
	background: #0f141b;
}
.ty-footer-bar-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 6px 16px;
	padding-top: 18px;
	padding-bottom: 18px;
}
.ty-footer-copy {
	margin: 0;
	font-size: 12px;
	color: rgba(255, 255, 255, 0.45);
}
.ty-footer-icp {
	margin: 0;
	font-size: 12px;
}
.ty-footer-icp a {
	color: rgba(255, 255, 255, 0.6);
	transition: color .2s;
}
.ty-footer-icp a:hover {
	color: #ffb25e;
}

/* ===== 产品单页 ===== */
.ty-product-hero {
	position: relative;
	min-height: 360px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: #0f141b;
	padding: 0;
}
.ty-product-hero-img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	margin: 0;
}
.ty-product-hero-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: .35;
	display: block;
}
.ty-product-hero-overlay {
	position: relative;
	z-index: 2;
	max-width: 920px;
	padding: 80px 24px;
	text-align: center;
	color: #fff;
}
.ty-product-hero-overlay .ty-page-title {
	color: #fff;
	margin: 0;
}
.ty-product-hero-overlay .ty-page-en {
	color: rgba(255, 255, 255, .85);
}
.ty-product-hero-overlay .ty-page-slogan {
	color: rgba(255, 255, 255, .85);
	max-width: 760px;
	margin: 14px auto 0;
	font-size: 15px;
	line-height: 1.7;
}
.ty-product-intro {
	background: #fff;
}
.ty-product-intro-text {
	max-width: 760px;
	margin: 24px auto 0;
	font-size: 16px;
	line-height: 1.9;
	color: #444;
	text-align: left;
}
.ty-product-app-title {
	text-align: center;
	font-size: 22px;
	font-weight: 600;
	margin: 56px 0 24px;
	color: #333;
}
.ty-product-app-list {
	max-width: 720px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}
.ty-product-app-list li {
	padding: 14px 0 14px 28px;
	font-size: 15px;
	line-height: 1.6;
	color: #444;
	border-bottom: 1px dashed rgba(0, 0, 0, .08);
	position: relative;
}
.ty-product-app-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 22px;
	width: 8px;
	height: 8px;
	background: #e8611c;
	border-radius: 50%;
}
.ty-product-app-list li:last-child {
	border-bottom: none;
}
.ty-product-cta {
	background: #fafafa;
}

/* ===== 产品详情 - 完整版板块 ===== */
.ty-pd-sec { padding: 72px 0; }

.ty-pd-lead {
	max-width: 860px;
	margin: 0 auto 16px;
	font-size: 16px;
	line-height: 1.9;
	color: #444;
}
.ty-pd-quote {
	max-width: 860px;
	margin: 22px auto;
	padding: 20px 26px;
	background: #fff6ef;
	border-left: 4px solid #e8611c;
	border-radius: 8px;
	font-size: 19px;
	font-weight: 700;
	color: #c9500f;
	line-height: 1.7;
	text-align: center;
}
.ty-pd-note {
	max-width: 860px;
	margin: 24px auto 0;
	padding: 16px 20px;
	background: #f6f8fb;
	border-radius: 8px;
	font-size: 14.5px;
	line-height: 1.8;
	color: #555;
}

/* 工作原理 - 流程条 */
.ty-pd-flow {
	max-width: 900px;
	margin: 26px auto 0;
	display: flex !important;
	flex-direction: column;
	gap: 14px;
}
.ty-pd-flow > * { margin-block-start: 0 !important; }
.ty-pd-flow-item {
	margin: 0 !important;
	padding: 16px 22px 16px 48px;
	border-radius: 10px;
	font-size: 15px;
	line-height: 1.6;
	position: relative;
}
.ty-pd-flow-item.is-up { background: #fff4ec; color: #b4470e; border: 1px solid #f7d8c2; }
.ty-pd-flow-item.is-down { background: #eef4fb; color: #2a6fb8; border: 1px solid #d3e3f5; }
.ty-pd-flow-item::before {
	content: "";
	position: absolute;
	left: 22px;
	top: 50%;
	transform: translateY(-50%);
	width: 10px;
	height: 10px;
	border-radius: 50%;
}
.ty-pd-flow-item.is-up::before { background: #e8611c; }
.ty-pd-flow-item.is-down::before { background: #2a6fb8; }

/* 卡片网格 */
.ty-pd-grid {
	display: grid !important;
	gap: 24px;
	margin-top: 36px;
}
.ty-pd-grid > * { margin-block-start: 0 !important; }
.ty-pd-grid-adv { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.ty-pd-grid-ind { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.ty-pd-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
.ty-pd-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)) !important; }
.ty-pd-grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
.ty-pd-steps-4 { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }

.ty-pd-card {
	background: #fff;
	border: 1px solid #eef0f3;
	border-radius: 12px;
	padding: 28px 26px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
	transition: transform .2s, box-shadow .2s;
}
.ty-pd-card:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0, 0, 0, .09); }
.ty-pd-card > * { margin-block-start: 0 !important; }
.ty-pd-num {
	margin: 0 0 10px !important;
	font-size: 26px;
	font-weight: 800;
	color: #f0b48c;
	letter-spacing: 1px;
	line-height: 1;
}
.ty-pd-card-title {
	margin: 0 0 10px !important;
	font-size: 18px;
	font-weight: 700;
	color: #1c2430;
}
.ty-pd-card-desc {
	margin: 0 !important;
	font-size: 14.5px;
	line-height: 1.8;
	color: #666;
}

/* 行业卡内清单 */
.ty-pd-ind-list {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}
.ty-pd-ind-list li {
	position: relative;
	padding: 6px 0 6px 18px;
	font-size: 14px;
	color: #555;
	line-height: 1.6;
}
.ty-pd-ind-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 14px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #e8611c;
}
.ty-pd-ind-note {
	margin: 14px 0 0 !important;
	padding-top: 12px;
	border-top: 1px dashed rgba(0, 0, 0, .08);
	font-size: 13.5px;
	line-height: 1.7;
	color: #8a8f98;
}
.ty-pd-mode-flow {
	margin: 14px 0 0 !important;
	padding: 10px 14px;
	background: #fff6ef;
	border-radius: 8px;
	font-size: 13.5px;
	color: #c9500f;
	line-height: 1.6;
}
.ty-pd-mode-note {
	margin: 10px 0 0 !important;
	padding: 8px 12px;
	background: #fafbfc;
	border-left: 3px solid #e8611c;
	border-radius: 4px;
	font-size: 13px;
	color: #6b7280;
	line-height: 1.6;
}

/* 标签云 */
.ty-pd-tags {
	display: flex !important;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: center;
	margin-top: 26px;
}
.ty-pd-tags > * { margin-block-start: 0 !important; }
.ty-pd-tag {
	margin: 0 !important;
	padding: 9px 17px;
	background: #fff4ec;
	color: #c9500f;
	border: 1px solid #f6d3ba;
	border-radius: 999px;
	font-size: 13.5px;
	line-height: 1;
	white-space: nowrap;
}

/* 典型工作过程 - 横向步骤 */
.ty-pd-steps {
	display: grid !important;
	grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
	gap: 18px;
	margin-top: 36px;
}
.ty-pd-steps > * { margin-block-start: 0 !important; }
.ty-pd-step {
	background: #fff;
	border: 1px solid #eef0f3;
	border-radius: 12px;
	padding: 26px 18px 22px;
	text-align: center;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
}
.ty-pd-step > * { margin-block-start: 0 !important; }
.ty-pd-step-no {
	margin: 0 auto 14px !important;
	width: 42px;
	height: 42px;
	line-height: 42px;
	background: linear-gradient(135deg, #e8611c, #f08a3f);
	color: #fff;
	border-radius: 50%;
	font-size: 15px;
	font-weight: 700;
	text-align: center;
}
.ty-pd-step-name {
	margin: 0 0 8px !important;
	font-size: 16px;
	font-weight: 700;
	color: #1c2430;
}
.ty-pd-step-desc {
	margin: 0 !important;
	font-size: 13.5px;
	line-height: 1.7;
	color: #666;
}

/* 完整版板块响应式 */
@media (max-width: 960px) {
	.ty-pd-grid-adv,
	.ty-pd-steps,
	.ty-pd-steps-4 { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; }
	.ty-pd-grid-ind,
	.ty-pd-grid-3 { grid-template-columns: 1fr !important; }
}
@media (max-width: 600px) {
	.ty-pd-grid-adv,
	.ty-pd-grid-ind,
	.ty-pd-grid-2,
	.ty-pd-grid-3,
	.ty-pd-grid-4,
	.ty-pd-steps,
	.ty-pd-steps-4 { grid-template-columns: 1fr !important; }
	.ty-pd-sec { padding: 52px 0; }
	.ty-pd-quote { font-size: 17px; }
}

/* 纯图 hero(宣传图自带文字,不叠加遮罩) */
.ty-product-hero--pure {
	position: relative;
	display: block;
	min-height: 0;
	background: #f5f7fa;
	padding: 0;
}
.ty-product-hero--pure .ty-product-hero-img {
	position: relative;
	inset: auto;
	width: 100%;
	height: auto;
}
.ty-product-hero--pure .ty-product-hero-img img {
	width: 100%;
	height: auto;
	max-height: 720px;
	object-fit: cover;
	object-position: center;
	opacity: 1;
	display: block;
}

/* ===== 内页响应式 ===== */
@media (max-width: 960px) {
	.ty-adv-grid,
	.ty-contact-grid {
		grid-template-columns: repeat(2, 1fr);
	}
	.ty-footer-main {
		grid-template-columns: repeat(3, 1fr);
		gap: 28px 24px;
	}
	.ty-footer-brand {
		grid-column: 1 / -1;
	}
	.ty-footer-brand .ty-footer-name {
		font-size: 22px;
	}
}
@media (max-width: 600px) {
	.ty-page-hero { padding: 48px 0; }
	.ty-page-title { font-size: 30px; letter-spacing: 2px; }
	.ty-adv-grid,
	.ty-contact-grid {
		grid-template-columns: 1fr;
	}
	.ty-footer-main {
		grid-template-columns: repeat(2, 1fr);
	}
	.ty-footer-contact {
		grid-column: 1 / -1;
	}
}

/* ==========================================================
 * 行业应用 2×3 网格(首页 #industry 区块)
 * ========================================================== */
.ty-industries { background: #fafafa; }

.ty-ind-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 40px;
}

/* 抵消 WP 流式布局给网格子区块自动加的 24px 上边距
 * (WP 6.x 对 is-layout-flow 容器默认给除首子元素外的所有子区块
 *  加 margin-block-start:24px, 会把同一行卡片顶边压出 24px 错位) */
.ty-ind-grid > *,
.ty-adv-grid > *,
.ty-contact-grid > * {
	margin-block-start: 0 !important;
}

.ty-ind-card {
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
	transition: transform .25s, box-shadow .25s;
	background: #fff;
}
.ty-ind-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 14px 30px rgba(0, 0, 0, 0.14);
}
/* 整张卡片可点击(由 .ty-ind-card-zh 的链接撑满) */
.ty-ind-card-zh a::after {
	content: '';
	position: absolute;
	inset: 0;
}

.ty-ind-cover {
	aspect-ratio: 3 / 2 !important;
	min-height: 0 !important;
	height: auto !important;
	border-radius: 0 !important;
	position: relative;
	padding: 0 !important;
}
.ty-ind-cover .wp-block-cover__image-background {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border-radius: 0 !important;
	object-fit: cover;
}
.ty-ind-cover .wp-block-cover__inner-container {
	position: absolute;
	inset: 0;
}

.ty-ind-card-zh {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	position: relative;
	display: flex;
	align-items: flex-end;
	background: linear-gradient(to top, rgba(15, 22, 32, 0.85) 0%, rgba(15, 22, 32, 0) 100%);
	text-align: center;
}
.ty-ind-card-zh a {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 16px 18px;
	font-size: 18px;
	font-weight: 600;
	letter-spacing: 2px;
	color: #fff;
	text-decoration: none;
	transition: color .2s;
}
.ty-ind-card-zh a:hover { color: #ffb25e; }

@media (max-width: 960px) {
	.ty-ind-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
	.ty-ind-grid { grid-template-columns: 1fr; }
}

/* ==========================================================
 * 行业详情页(单页)
 * ========================================================== */
.ty-ind-hero {
	position: relative;
	padding: 0 !important;
	height: 380px;
	overflow: hidden;
}
.ty-ind-hero-img {
	position: absolute !important;
	inset: 0;
	margin: 0 !important;
	width: 100%;
	height: 100%;
}
.ty-ind-hero-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
.ty-ind-hero-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	background: linear-gradient(180deg, rgba(0,0,0,0.35) 0%, rgba(0,0,0,0.55) 100%);
	color: #fff;
}
.ty-ind-hero-overlay .ty-page-title {
	margin-bottom: 8px;
}
.ty-ind-hero-overlay .ty-page-en {
	margin: 0 0 12px;
}

.ty-ind-intro-text {
	max-width: 760px;
	margin: 28px auto 0;
	font-size: 16px;
	line-height: 2;
	color: #555;
	text-align: justify;
}

/* 行业页 · 应用研究文章 */
.ty-ind-article {
	background: #fafafa;
}
.ty-ind-article-body {
	max-width: 860px;
	margin: 26px auto 0;
}
.ty-ind-article-body .ty-ind-article-p {
	font-size: 16px;
	line-height: 2;
	color: #555;
	text-align: justify;
}
.ty-ind-article-body .ty-ind-article-p + .ty-ind-article-p {
	margin-top: 20px;
}

/* 行业详情次要按钮(描边) */
.ty-btn-ghost a {
	background: transparent !important;
	color: #E8611C !important;
	border: 1px solid #E8611C;
}
.ty-btn-ghost a:hover {
	background: #E8611C !important;
	color: #fff !important;
}

@media (max-width: 760px) {
	.ty-ind-hero { height: 280px; }
}

/* ==========================================================
 * 首页板块:行业新闻 / 关于我们 / 联系我们条 (v1.7.0)
 * ========================================================== */

/* ---- 行业新闻 #news ---- */
.ty-section.ty-news { background: #fff; }
.ty-news-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin-top: 40px;
}
.ty-news-grid > * { margin-block-start: 0 !important; }
.ty-news-card {
	padding: 26px 24px;
	background: #fafafa;
	border: 1px solid #eee;
	border-radius: 10px;
	transition: transform .2s, box-shadow .2s;
}
.ty-news-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(0, 0, 0, 0.08);
}
.ty-news-date {
	margin: 0;
	font-size: 13px;
	letter-spacing: 1px;
	color: #E8611C;
}
.ty-news-title {
	margin: 10px 0 12px;
	font-size: 18px;
	font-weight: 600;
	line-height: 1.5;
	color: #1c2430;
}
.ty-news-excerpt {
	margin: 0;
	font-size: 14px;
	line-height: 1.9;
	color: #666;
}

/* ---- 关于我们 #about ---- */
.ty-section.ty-about-home { background: #fafafa; }
.ty-home-about-text {
	max-width: 860px;
	margin: 28px auto 36px;
}
.ty-home-about-text p {
	font-size: 16px;
	line-height: 2;
	color: #555;
	text-align: justify;
}

/* ---- 联系我们条 #contact ---- */
.ty-section.ty-contact-band {
	background: #161d26;
	color: #fff;
}
.ty-contact-band .ty-sec-title { color: #fff; }
.ty-contact-band .ty-sec-tip { color: rgba(255, 255, 255, 0.5); }
.ty-cb-list {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px 36px;
	max-width: 1100px;
	margin: 36px auto 0;
}
.ty-cb-list > * { margin-block-start: 0 !important; }
.ty-cb-item {
	margin: 0;
	font-size: 15px;
	line-height: 1.8;
	color: rgba(255, 255, 255, 0.85);
	text-align: center;
}
.ty-cb-item strong {
	margin-right: 6px;
	font-weight: 600;
	color: #ffb25e;
}
.ty-cb-cta { margin-top: 36px; }

/* ---- 主按钮(区块 button 橙色版) ---- */
.ty-btn-primary a {
	background: #E8611C !important;
	color: #fff !important;
	border-radius: 6px;
	box-shadow: 0 4px 12px rgba(232, 97, 28, 0.25);
	transition: background-color .2s, transform .15s;
}
.ty-btn-primary a:hover {
	background: #d65418 !important;
	transform: translateY(-1px);
}

/* ---- 新板块响应式 ---- */
@media (max-width: 960px) {
	.ty-news-grid { grid-template-columns: 1fr; }
	.ty-cb-list { gap: 12px 24px; }
	.ty-prod-grid { grid-template-columns: 1fr 1fr !important; }
}
@media (max-width: 600px) {
	.ty-cb-item { font-size: 14px; }
	.ty-prod-grid { grid-template-columns: 1fr !important; }
}

/* ===== 产品中心(首页 #products) ===== */
.ty-section-products {
	padding: 80px 0 60px;
	background: #fff;
}
.ty-prod-grid {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px;
	margin-top: 40px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding: 0 24px;
}
.ty-prod-grid > * { margin-block-start: 0 !important; }

.ty-prod-link {
	display: block;
	text-decoration: none !important;
	color: inherit !important;
	border-radius: 10px;
	transition: transform .2s, box-shadow .2s;
}
.ty-prod-link:hover {
	transform: translateY(-6px);
	box-shadow: 0 12px 28px rgba(232, 97, 28, 0.18);
}
.ty-prod-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}
.ty-prod-figure {
	position: relative;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: #f5f5f5;
}
.ty-prod-img {
	margin: 0 !important;
	display: block;
	width: 100%;
	height: 100%;
}
.ty-prod-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ty-prod-img a,
.ty-prod-img a img {
	display: block;
	width: 100%;
	height: 100%;
}
.ty-prod-name {
	position: absolute !important;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0 !important;
	padding: 10px 12px !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 600 !important;
	background: linear-gradient(transparent, rgba(0, 0, 0, .55));
	text-align: center !important;
	text-shadow: 0 1px 2px rgba(0, 0, 0, .35);
	z-index: 2;
}
.ty-prod-body {
	padding: 18px 20px 22px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ty-prod-sub {
	margin: 0 !important;
	color: #E8611C !important;
	font-size: 15px !important;
	font-weight: 600 !important;
	letter-spacing: 0.02em;
}
.ty-prod-sell {
	margin: 0 !important;
	color: #555 !important;
	font-size: 13.5px !important;
	line-height: 1.7 !important;
}

/* ===== 产品对比表(微晶蜡 vs 普通石蜡 等) ===== */
/* === 产品详情 · 工艺流程(横向编号链) === */
.ty-pd-flowline {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 8px 6px;
	margin-top: 28px !important;
}
.ty-pd-flowline > * { margin-block-start: 0 !important; }
.ty-pd-fl-item {
	margin: 0 !important;
	padding: 9px 18px;
	background: #fff4ec;
	border: 1px solid #f7d8c2;
	border-radius: 999px;
	color: #b4470e;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
}
.ty-pd-fl-arrow {
	margin: 0 !important;
	color: #e8611c;
	font-size: 16px;
	font-weight: 700;
	line-height: 1;
	opacity: .55;
	white-space: nowrap;
}
.ty-pd-flowline-sec .ty-pd-note { margin-top: 22px !important; }

.ty-pd-compare-wrap {
	overflow-x: auto;
	margin: 0 !important;
	-webkit-overflow-scrolling: touch;
}
.ty-pd-compare {
	width: 100%;
	min-width: 540px;
	border-collapse: separate;
	border-spacing: 0;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	box-shadow: 0 4px 18px rgba(0, 0, 0, 0.06);
	margin: 0 !important;
	border: 0;
}
.ty-pd-compare th,
.ty-pd-compare td {
	padding: 14px 18px;
	text-align: left;
	border-bottom: 1px solid #f0e6dc;
	font-size: 15px;
	line-height: 1.6;
	vertical-align: middle;
	border-left: 0;
	border-right: 0;
	border-top: 0;
}
.ty-pd-compare th {
	background: #fff4ec;
	color: #b4470e;
	font-weight: 600;
	letter-spacing: 0.02em;
}
.ty-pd-compare td {
	color: #333;
}
.ty-pd-compare tr:nth-child(even) td {
	background: #fafafa;
}
.ty-pd-compare tr:last-child td {
	border-bottom: 0;
}
.ty-pd-compare td:first-child {
	color: #555;
	font-weight: 500;
}
.ty-pd-compare-desc {
	text-align: center !important;
	color: #666 !important;
	margin-top: 20px !important;
	font-size: 14px !important;
	line-height: 1.7 !important;
}
@media (max-width: 600px) {
	.ty-pd-compare th,
	.ty-pd-compare td {
		padding: 10px 12px;
		font-size: 14px;
	}
}

/* ==========================================================
 * 移动端综合优化 v2.3.3
 * 1) 行业网格手机端单列 + 图限高 + 修 cover 横向溢出
 * 2) Banner 头图 760px 以下 cap 高度
 * 3) 头部 CTA 按钮缩小
 * 4) 内页 Hero 英文副标题 600px 以下隐藏
 * 5) 触摸目标 ≥ 44px (footer/menu/btn)
 * 6) 产品卡 + Cookie 横幅 移动端排版
 * ========================================================== */

/* (1) 行业网格 600px 以下:cover 块 aspect 改 16/9 并限高 200px,
 *     给 .ty-ind-card 加 min-width:0 防 cover 内联 min-width 撑破 grid,
 *     内层段落字号/内边距缩小 */
@media (max-width: 600px) {
	.ty-ind-grid {
		grid-template-columns: 1fr;
		gap: 16px;
		padding: 0 16px;
		max-width: 100%;
		overflow: hidden;
	}
	.ty-ind-card { min-width: 0; }
	.ty-ind-cover {
		aspect-ratio: 16 / 9 !important;
		max-height: 200px !important;
	}
	.ty-ind-cover .wp-block-cover__image-background {
		min-width: 0;
		width: 100%;
	}
	.ty-ind-card-zh a {
		font-size: 15px;
		padding: 10px 12px;
		letter-spacing: 1px;
	}
}

/* (2) Hero banner 760px 以下再 cap,避免 1920×700 在小屏被等比缩到过小看不清 */
@media (max-width: 760px) {
	.ty-hero .ty-banner img,
	.ty-hero .wp-block-image img { max-height: 320px; }
}

/* (3) 头部"立即询价"按钮 960px 以下缩, 600px 以下再缩 */
@media (max-width: 960px) {
	.ty-header-cta { padding: 6px 14px; font-size: 13px; }
	.ty-btn-cta { padding: 7px 14px; font-size: 13px; }
}

/* (4) 内页 Hero 英文副标题 600px 以下隐藏,释放屏幕空间 */
@media (max-width: 600px) {
	.ty-page-en { display: none; }
	.ty-page-hero { padding: 40px 0; }
}

/* (5) 触摸目标 ≥ 40-44px 友好 */
@media (max-width: 600px) {
	.ty-menu-link { padding: 14px 8px; min-height: 44px; display: flex; align-items: center; }
	.ty-footer-link { display: inline-block; padding: 8px 0; min-height: 36px; }
	.ty-footer-contact-link { display: inline-block; padding: 4px 0; min-height: 32px; }
	.ty-btn-cta { min-height: 40px; display: inline-flex; align-items: center; }
	.ty-nav-toggle { min-width: 44px; min-height: 44px; }
}

/* (6) 产品中心卡片封面 600px 以下 cap 高度,避免 3:2 图在小屏过高
 * 注:基础规则 .ty-prod-grid 写在文件中间(后于 1119 行的 600px 媒体查询),
 *    同 !important 时源码顺序后写者赢,故此处再次声明以覆盖 */
@media (max-width: 600px) {
	.ty-prod-grid {
		grid-template-columns: 1fr !important;
		padding: 0 16px;
		gap: 16px;
	}
	.ty-prod-cover { aspect-ratio: 16 / 10 !important; max-height: 220px !important; }
	.ty-prod-cover img { min-width: 0; width: 100%; }
	.ty-prod-name { font-size: 16px; }
}

/* (7) Cookie 横幅 (footer 内联) */
.ty-cookie-bar {
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 720px;
	margin: 0 auto;
	padding: 12px 16px;
	background: #1c2430;
	color: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0,0,0,0.25);
	font-size: 14px;
	line-height: 1.5;
}
.ty-cookie-bar[hidden] { display: none; }
.ty-cookie-text { margin: 0; flex: 1 1 auto; color: rgba(255,255,255,0.92); }
.ty-cookie-btn {
	flex: 0 0 auto;
	min-width: 64px;
	min-height: 36px;
	padding: 8px 16px;
	background: #E8611C;
	color: #fff;
	border: 0;
	border-radius: 4px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	transition: background .2s;
}
.ty-cookie-btn:hover { background: #d4541a; }
@media (max-width: 480px) {
	.ty-cookie-bar { flex-direction: column; align-items: stretch; gap: 10px; }
	.ty-cookie-btn { width: 100%; min-height: 40px; }
}

/* (8) 全站小屏通用:防止任何块无意撑破 viewport */
@media (max-width: 600px) {
	.ty-section { padding: 48px 0; }
	.ty-container { padding: 0 16px; }
	.ty-sec-title { font-size: 24px; }
	img { max-width: 100%; height: auto; }
}

