/*
Theme Name: Eco Corporate 环保企业官网
Theme URI: https://example.com/themes/eco-corporate
Author: Chengdu Eco Themes
Author URI: https://example.com
Description: 为环保设备代理商打造的经典企业官网主题。蓝绿商务配色，首页轮播横幅、数据展示条、设备分类入口、热门设备与新闻动态区块，内置"产品设备"自定义文章类型与设备分类法，适合污水处理、废气治理、除尘降噪等设备代理企业。
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: eco-corporate
Tags: business, corporate, green, blue, custom-menu, custom-logo, featured-images, two-columns, right-sidebar
*/

/* ===== 变量与基础 ===== */
:root {
	--ec-primary: #1e63b0;
	--ec-primary-dark: #143c66;
	--ec-green: #2fa05e;
	--ec-green-dark: #227a47;
	--ec-ink: #22303f;
	--ec-muted: #66788a;
	--ec-line: #e3eaf2;
	--ec-bg: #f5f8fb;
	--ec-white: #ffffff;
	--ec-radius: 8px;
	--ec-shadow: 0 6px 24px rgba(20, 60, 102, 0.08);
	--ec-font: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", -apple-system, "Segoe UI", sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--ec-font);
	font-size: 16px;
	line-height: 1.75;
	color: var(--ec-ink);
	background: var(--ec-white);
	-webkit-font-smoothing: antialiased;
}

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

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

a:hover {
	color: var(--ec-green);
}

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

p {
	margin: 0 0 1em;
}

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

.section {
	padding: 64px 0;
}

.section-alt {
	background: var(--ec-bg);
}

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

.section-head h2 {
	font-size: 30px;
	margin-bottom: 8px;
	position: relative;
	padding-bottom: 14px;
}

.section-head h2::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 48px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, var(--ec-primary), var(--ec-green));
}

.section-head p {
	color: var(--ec-muted);
	margin: 0;
}

/* 无障碍 */
.screen-reader-text {
	border: 0;
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--ec-primary-dark);
	color: #fff;
	padding: 8px 16px;
	z-index: 999;
}

.skip-link:focus {
	left: 0;
	clip-path: none;
	width: auto;
	height: auto;
}

/* ===== 按钮 ===== */
.btn {
	display: inline-block;
	padding: 12px 28px;
	border-radius: var(--ec-radius);
	font-size: 15px;
	font-weight: 600;
	border: 1px solid transparent;
	cursor: pointer;
	transition: all 0.2s ease;
}

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

.btn-primary:hover {
	background: var(--ec-green-dark);
	color: #fff;
	transform: translateY(-1px);
}

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

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

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

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

/* ===== 顶栏 ===== */
.topbar {
	background: var(--ec-primary-dark);
	color: rgba(255, 255, 255, 0.85);
	font-size: 13px;
}

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

.topbar-item {
	margin-left: 18px;
}

.topbar-item:first-child {
	margin-left: 0;
}

/* ===== 页头与导航 ===== */
.site-header {
	background: var(--ec-white);
	border-bottom: 1px solid var(--ec-line);
	position: sticky;
	top: 0;
	z-index: 100;
	transition: box-shadow 0.2s ease;
}

.site-header.is-stuck {
	box-shadow: 0 4px 18px rgba(20, 60, 102, 0.1);
}

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

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

.site-logo-text {
	display: flex;
	align-items: center;
	gap: 12px;
}

.logo-mark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--ec-primary), var(--ec-green));
	color: #fff;
	font-size: 22px;
	font-weight: 700;
	flex: none;
}

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

.site-title {
	font-size: 20px;
	font-weight: 700;
	color: var(--ec-ink);
}

.site-desc {
	font-size: 12px;
	color: var(--ec-muted);
}

.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 4px;
}

.main-navigation li {
	position: relative;
}

.main-navigation a {
	display: block;
	padding: 26px 16px;
	color: var(--ec-ink);
	font-size: 15px;
	font-weight: 500;
}

.main-navigation a:hover,
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	color: var(--ec-primary);
	box-shadow: inset 0 -3px 0 var(--ec-green);
}

.main-navigation ul ul {
	position: absolute;
	left: 0;
	top: 100%;
	min-width: 180px;
	background: var(--ec-white);
	border: 1px solid var(--ec-line);
	border-radius: 0 0 var(--ec-radius) var(--ec-radius);
	box-shadow: var(--ec-shadow);
	display: none;
	flex-direction: column;
	gap: 0;
	z-index: 110;
}

.main-navigation li:hover > ul,
.main-navigation li:focus-within > ul {
	display: flex;
}

.main-navigation ul ul a {
	padding: 10px 16px;
	box-shadow: none;
}

.menu-toggle {
	display: none;
	background: none;
	border: 1px solid var(--ec-line);
	border-radius: 6px;
	padding: 10px;
	cursor: pointer;
}

.menu-toggle-bar {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--ec-ink);
	margin: 4px 0;
	transition: transform 0.2s ease;
}

/* ===== 首页轮播 ===== */
.hero-carousel {
	position: relative;
	min-height: 440px;
	overflow: hidden;
	color: #fff;
}

.hero-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	opacity: 0;
	transition: opacity 0.8s ease;
	pointer-events: none;
}

.hero-slide.is-active {
	opacity: 1;
	pointer-events: auto;
	position: relative;
}

.hero-slide-1 {
	background: linear-gradient(120deg, #143c66 0%, #1e63b0 55%, #2fa05e 130%);
}

.hero-slide-2 {
	background: linear-gradient(120deg, #10314f 0%, #17548c 60%, #1e63b0 130%);
}

.hero-slide-3 {
	background: linear-gradient(120deg, #0f3d2b 0%, #227a47 55%, #2fa05e 130%);
}

.hero-slide-inner {
	padding-top: 84px;
	padding-bottom: 96px;
	max-width: 760px;
	margin: 0;
	margin-left: max(20px, calc((100% - 1200px) / 2 + 20px));
}

.hero-title {
	color: #fff;
	font-size: 40px;
	margin-bottom: 14px;
	letter-spacing: 1px;
}

.hero-text {
	font-size: 17px;
	color: rgba(255, 255, 255, 0.88);
	margin-bottom: 28px;
}

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

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

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

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

/* ===== 数据条 ===== */
.stats-bar {
	background: var(--ec-white);
	border-bottom: 1px solid var(--ec-line);
}

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

.stat {
	text-align: center;
	border-right: 1px solid var(--ec-line);
}

.stat:last-child {
	border-right: 0;
}

.stat-num {
	display: block;
	font-size: 32px;
	font-weight: 700;
	color: var(--ec-primary);
	line-height: 1.2;
}

.stat-num i {
	font-style: normal;
	font-size: 15px;
	color: var(--ec-green);
	margin-left: 2px;
}

.stat-label {
	font-size: 13px;
	color: var(--ec-muted);
}

/* ===== 分类卡片 ===== */
.category-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 22px;
}

.category-card {
	background: var(--ec-white);
	border: 1px solid var(--ec-line);
	border-radius: var(--ec-radius);
	padding: 26px 22px;
	display: flex;
	gap: 16px;
	align-items: flex-start;
	transition: all 0.25s ease;
}

.category-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--ec-shadow);
	border-color: transparent;
}

.category-icon {
	flex: none;
	width: 48px;
	height: 48px;
	border-radius: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	font-weight: 700;
	color: #fff;
	background: linear-gradient(135deg, var(--ec-primary), var(--ec-green));
}

.category-card h3 {
	font-size: 17px;
	margin-bottom: 4px;
	color: var(--ec-ink);
}

.category-card p {
	font-size: 13px;
	color: var(--ec-muted);
	margin: 0;
}

/* ===== 设备卡片 ===== */
.equipment-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.equipment-card {
	background: var(--ec-white);
	border: 1px solid var(--ec-line);
	border-radius: var(--ec-radius);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: all 0.25s ease;
}

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

.equipment-thumb {
	display: block;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: linear-gradient(135deg, #e8f0f9, #e3f3ea);
}

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

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

.thumb-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 44px;
	font-weight: 700;
	color: rgba(30, 99, 176, 0.35);
}

.equipment-body {
	padding: 18px 20px 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.equipment-terms {
	font-size: 12px;
	color: var(--ec-green);
	margin-bottom: 6px;
}

.equipment-terms a {
	color: inherit;
}

.equipment-title {
	font-size: 17px;
	margin-bottom: 8px;
}

.equipment-title a {
	color: var(--ec-ink);
}

.equipment-title a:hover {
	color: var(--ec-primary);
}

.equipment-excerpt {
	font-size: 13px;
	color: var(--ec-muted);
	flex: 1;
}

.equipment-excerpt p {
	margin: 0;
}

.card-more {
	margin-top: 12px;
	font-size: 13px;
	font-weight: 600;
}

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

.about-media {
	aspect-ratio: 4 / 3;
	border-radius: var(--ec-radius);
	background:
		linear-gradient(135deg, rgba(20, 60, 102, 0.85), rgba(47, 160, 94, 0.75)),
		repeating-linear-gradient(45deg, #dfe9f3 0 14px, #eef4fa 14px 28px);
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 22px;
	font-weight: 600;
	letter-spacing: 4px;
}

.about-content h2 {
	font-size: 28px;
}

.about-content > p {
	color: var(--ec-muted);
}

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

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

.about-points li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 0;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--ec-green);
	color: #fff;
	font-size: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 4px;
}

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

.news-card {
	background: var(--ec-white);
	border: 1px solid var(--ec-line);
	border-radius: var(--ec-radius);
	padding: 22px;
	transition: all 0.25s ease;
}

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

.news-date {
	font-size: 12px;
	color: var(--ec-green);
	font-weight: 600;
}

.news-card h3 {
	font-size: 16px;
	margin: 8px 0;
}

.news-card h3 a {
	color: var(--ec-ink);
}

.news-card h3 a:hover {
	color: var(--ec-primary);
}

.news-card p {
	font-size: 13px;
	color: var(--ec-muted);
	margin: 0;
}

/* ===== CTA 条 ===== */
.cta-strip {
	background: linear-gradient(110deg, var(--ec-primary-dark), var(--ec-primary) 60%, var(--ec-green));
	color: #fff;
	padding: 44px 0;
}

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

.cta-inner h2 {
	color: #fff;
	font-size: 24px;
	margin: 0 0 6px;
}

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

.cta-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.cta-strip .btn-primary {
	background: #fff;
	color: var(--ec-primary-dark);
}

.cta-strip .btn-primary:hover {
	background: rgba(255, 255, 255, 0.9);
}

/* ===== 内页头部 ===== */
.page-hero {
	background: linear-gradient(120deg, var(--ec-primary-dark), var(--ec-primary));
	color: #fff;
	padding: 44px 0;
}

.page-hero .page-title {
	color: #fff;
	font-size: 30px;
	margin: 0;
}

.page-hero .page-subtitle {
	margin: 6px 0 0;
	color: rgba(255, 255, 255, 0.8);
	font-size: 14px;
}

/* ===== 归档 / 筛选 ===== */
.equipment-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 30px;
}

.filter-pill {
	padding: 8px 18px;
	border-radius: 999px;
	border: 1px solid var(--ec-line);
	font-size: 14px;
	color: var(--ec-ink);
	background: var(--ec-white);
}

.filter-pill:hover {
	border-color: var(--ec-primary);
	color: var(--ec-primary);
}

.filter-pill.is-active {
	background: var(--ec-primary);
	border-color: var(--ec-primary);
	color: #fff;
}

.no-results {
	color: var(--ec-muted);
	background: var(--ec-bg);
	padding: 28px;
	border-radius: var(--ec-radius);
	text-align: center;
}

/* ===== 博客列表布局 ===== */
.content-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 40px;
}

.post-list {
	display: grid;
	gap: 22px;
}

.post-item {
	background: var(--ec-white);
	border: 1px solid var(--ec-line);
	border-radius: var(--ec-radius);
	padding: 24px 26px;
	transition: box-shadow 0.2s ease;
}

.post-item:hover {
	box-shadow: var(--ec-shadow);
}

.post-item .entry-title {
	font-size: 19px;
	margin-bottom: 6px;
}

.post-item .entry-title a {
	color: var(--ec-ink);
}

.post-item .entry-title a:hover {
	color: var(--ec-primary);
}

.entry-meta {
	font-size: 12px;
	color: var(--ec-muted);
	margin-bottom: 10px;
}

.entry-meta .meta-type {
	display: inline-block;
	background: rgba(47, 160, 94, 0.12);
	color: var(--ec-green-dark);
	border-radius: 4px;
	padding: 1px 8px;
	margin-right: 8px;
}

.post-item .entry-summary {
	font-size: 14px;
	color: var(--ec-muted);
	margin: 0;
}

/* ===== 正文与单页 ===== */
.entry-content {
	font-size: 15.5px;
}

.entry-content h2 {
	font-size: 24px;
	margin-top: 1.6em;
}

.entry-content h3 {
	font-size: 20px;
	margin-top: 1.4em;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.4em;
}

.entry-content blockquote {
	margin: 1.4em 0;
	padding: 14px 20px;
	border-left: 4px solid var(--ec-green);
	background: var(--ec-bg);
	color: var(--ec-muted);
	border-radius: 0 var(--ec-radius) var(--ec-radius) 0;
}

.entry-content table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.4em 0;
	font-size: 14px;
}

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

.entry-content th {
	background: var(--ec-bg);
	font-weight: 600;
}

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

.alignleft {
	float: left;
	margin: 0 20px 12px 0;
}

.alignright {
	float: right;
	margin: 0 0 12px 20px;
}

.aligncenter {
	display: block;
	margin: 0 auto 12px;
}

.single-article {
	background: var(--ec-white);
	border: 1px solid var(--ec-line);
	border-radius: var(--ec-radius);
	padding: 34px 38px;
}

.single-article .entry-title {
	font-size: 28px;
}

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

/* ===== 设备详情 ===== */
.equipment-single-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 320px;
	gap: 40px;
	align-items: start;
}

.equipment-contact-card {
	background: var(--ec-white);
	border: 1px solid var(--ec-line);
	border-top: 3px solid var(--ec-green);
	border-radius: var(--ec-radius);
	padding: 24px;
	position: sticky;
	top: 100px;
}

.equipment-contact-card h3 {
	font-size: 17px;
	margin-bottom: 12px;
}

.contact-lines {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
	font-size: 14px;
	color: var(--ec-muted);
	display: grid;
	gap: 8px;
}

.contact-lines strong {
	color: var(--ec-ink);
	font-weight: 600;
}

.equipment-contact-card .btn {
	display: block;
	text-align: center;
	margin-bottom: 10px;
}

.related-title {
	font-size: 22px;
	margin: 48px 0 20px;
}

/* ===== 侧边栏小工具 ===== */
.widget {
	background: var(--ec-white);
	border: 1px solid var(--ec-line);
	border-radius: var(--ec-radius);
	padding: 22px 24px;
	margin-bottom: 22px;
}

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

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

.widget ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 8px;
	font-size: 14px;
}

.widget ul a {
	color: var(--ec-ink);
}

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

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

.search-field {
	flex: 1;
	min-width: 0;
	padding: 10px 14px;
	border: 1px solid var(--ec-line);
	border-radius: var(--ec-radius);
	font-size: 14px;
	font-family: inherit;
}

.search-field:focus {
	outline: 2px solid rgba(30, 99, 176, 0.35);
	border-color: var(--ec-primary);
}

.search-submit {
	padding: 10px 18px;
	border: 0;
	border-radius: var(--ec-radius);
	background: var(--ec-primary);
	color: #fff;
	font-size: 14px;
	cursor: pointer;
	font-family: inherit;
}

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

/* ===== 分页 ===== */
.pagination,
.navigation.pagination {
	margin-top: 40px;
}

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

.nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	min-width: 40px;
	height: 40px;
	justify-content: center;
	padding: 0 14px;
	border: 1px solid var(--ec-line);
	border-radius: var(--ec-radius);
	color: var(--ec-ink);
	font-size: 14px;
	background: var(--ec-white);
}

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

.nav-links a.page-numbers:hover {
	border-color: var(--ec-primary);
	color: var(--ec-primary);
}

/* ===== 评论 ===== */
.comments-area {
	margin-top: 40px;
	background: var(--ec-white);
	border: 1px solid var(--ec-line);
	border-radius: var(--ec-radius);
	padding: 28px 32px;
}

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

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

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

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

.comment-author {
	font-weight: 600;
	font-size: 14px;
}

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

.comment-metadata {
	font-size: 12px;
	color: var(--ec-muted);
	margin: 2px 0 6px;
}

.comment-content {
	font-size: 14px;
}

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

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 10px 14px;
	border: 1px solid var(--ec-line);
	border-radius: var(--ec-radius);
	font-family: inherit;
	font-size: 14px;
	margin-bottom: 14px;
}

.comment-form .submit {
	background: var(--ec-primary);
	color: #fff;
	border: 0;
	border-radius: var(--ec-radius);
	padding: 12px 28px;
	font-size: 15px;
	cursor: pointer;
	font-family: inherit;
}

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

/* ===== 404 ===== */
.error-404 {
	text-align: center;
	padding: 80px 20px;
}

.error-code {
	font-size: 96px;
	font-weight: 700;
	line-height: 1;
	background: linear-gradient(120deg, var(--ec-primary), var(--ec-green));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
	margin-bottom: 12px;
}

.error-404 .search-form {
	max-width: 420px;
	margin: 24px auto 0;
}

/* ===== 页脚 ===== */
.site-footer {
	background: #0f2b47;
	color: rgba(255, 255, 255, 0.75);
	margin-top: 0;
}

.footer-widgets {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr 1fr;
	gap: 36px;
	padding-top: 52px;
	padding-bottom: 40px;
	font-size: 14px;
}

.site-footer .widget {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
}

.footer-title {
	color: #fff;
	font-size: 16px;
	margin-bottom: 16px;
}

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

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

.footer-contact-line {
	line-height: 2;
}

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

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

.footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	gap: 18px;
}

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

	.content-sidebar,
	.equipment-single-layout {
		grid-template-columns: 1fr;
	}

	.equipment-contact-card {
		position: static;
	}

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

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

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

	.main-navigation {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--ec-white);
		border-bottom: 1px solid var(--ec-line);
		box-shadow: var(--ec-shadow);
		display: none;
	}

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

	.main-navigation ul {
		flex-direction: column;
		gap: 0;
		padding: 8px 0;
	}

	.main-navigation a {
		padding: 12px 24px;
		box-shadow: none;
	}

	.main-navigation a:hover,
	.main-navigation .current-menu-item > a {
		box-shadow: inset 3px 0 0 var(--ec-green);
	}

	.main-navigation ul ul {
		position: static;
		display: flex;
		border: 0;
		box-shadow: none;
		padding-left: 16px;
	}

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

	.hero-carousel {
		min-height: 380px;
	}

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

	.stat:nth-child(2) {
		border-right: 0;
	}

	.section {
		padding: 48px 0;
	}

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

	.single-article {
		padding: 24px;
	}
}

@media (max-width: 600px) {
	.category-grid,
	.equipment-grid,
	.news-grid {
		grid-template-columns: 1fr;
	}

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

	.topbar-welcome {
		display: none;
	}
}
