/*
Theme Name: EnvelopeDock
Theme URI: https://envelopedock.com
Author: EnvelopeDock
Author URI: https://envelopedock.com
Description: Custom B2B envelope manufacturer theme. Factory-direct OEM/wholesale envelopes. Migrated from static site with global merged styles.
Version: 1.0.9
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: envelopedock
Tags: b2b, manufacturing, e-commerce, custom
*/

:root {
--blue:    #1a3a6b;
  --blue-d:  #0f2548;
  --blue-l:  #2a5298;
  --red:     #c8102e;
  --red-l:   #e02040;
  --gold:    #d4a017;
  --white:   #ffffff;
  --off:     #f6f8fb;
  --border:  #e2e8f0;
  --text:    #1a2332;
  --muted:   #64748b;
  --ff:      'Sora', sans-serif;
  --ff-s:    'Lora', serif;
}

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

html {
scroll-behavior: smooth; overflow-x: clip;
}

body {
font-family: var(--ff); color: var(--text); background: var(--white); overflow-x: clip; -webkit-font-smoothing: antialiased;
}

a {
text-decoration: none; color: inherit;
}

:focus-visible {
outline: 2px solid var(--blue-l); outline-offset: 2px; border-radius: 2px;
}

.topbar {
background: var(--blue-d);
  color: rgba(255,255,255,0.8);
  font-size: 12px;
  padding: 8px clamp(16px, 4vw, 48px);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.topbar-right {
display: flex; gap: 20px; align-items: center; font-size: 11.5px;
}

.topbar-right a {
color: rgba(255,255,255,0.7); transition: color 0.2s;
}

.topbar-right a:hover {
color: #fff;
}

.main-nav {
background: var(--white);
  border-bottom: 2px solid var(--blue);
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 0;
  position: sticky;
  top: 0;
  z-index: 200;
  box-shadow: 0 2px 12px rgba(26,58,107,0.08);
}

.logo-wrap {
display: flex;
  align-items: center;
  gap: 0;
  padding: 14px 0;
  margin-right: 32px;
  flex-shrink: 0;
}

.logo-icon {
width: 44px; height: 44px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  flex-shrink: 0;
}

.logo-text {
line-height: 1.15;
}

.logo-name {
font-size: 17px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: -0.02em;
  display: block;
}

.logo-name span {
color: var(--red);
}

.logo-tag {
font-size: 9.5px;
  font-weight: 400;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  display: block;
}

.nav-center {
flex: 1;
  display: flex;
  align-items: center;
  gap: 4px;
  justify-content: center;
}

.nav-link {
padding: 8px 14px;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--blue);
  border-radius: 4px;
  transition: background 0.2s;
  white-space: nowrap;
}

.nav-link:hover {
background: var(--off);
}

.nav-actions {
display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.nav-btn {
display: flex;
  align-items: center;
  gap: 7px;
  padding: 9px 18px;
  font-family: var(--ff);
  font-size: 12.5px;
  font-weight: 500;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.nav-btn-primary {
background: var(--red); color: #fff;
}

.nav-btn-primary:hover {
background: var(--red-l);
}

@media(max-width:860px) {
.nav-center{display:none}.logo-tag{display:none}
}

/* ── 移动端汉堡菜单 ── */
.nav-hamburger {
  display: none;
  background: var(--blue);
  color: #fff;
  border: none;
  border-radius: 4px;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  padding: 0;
  transition: background 0.2s;
}
.nav-hamburger:hover { background: var(--blue-d); }

.mobile-nav-panel {
  background: var(--white);
  border-bottom: 2px solid var(--blue);
  box-shadow: 0 8px 24px rgba(26,58,107,0.12);
  padding: 8px clamp(16px, 4vw, 48px) 20px;
}
.mobile-nav-panel[hidden] { display: none; }
.mobile-nav-menu {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
}
.mobile-nav-menu li { border-bottom: 1px solid var(--off); }
.mobile-nav-menu li:last-child { border-bottom: none; }
.mobile-nav-menu a {
  display: block;
  padding: 14px 4px;
  font-size: 15px;
  font-weight: 500;
  color: var(--blue);
  text-decoration: none;
}
.mobile-nav-menu a:hover,
.mobile-nav-menu li.current-menu-item a { color: var(--red); }
.mobile-nav-extra {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 18px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--off);
  font-size: 13px;
  color: var(--muted);
}
.mobile-nav-extra a { color: var(--muted); text-decoration: none; }
.mobile-nav-extra a:hover { color: var(--red); }

@media (max-width: 860px) {
  .nav-hamburger { display: inline-flex; }
}

.breadcrumb {
padding:16px clamp(16px,4vw,48px);background:var(--off);border-bottom:1px solid var(--border)
}

.breadcrumb-inner {
max-width:1100px;margin:0 auto;display:flex;align-items:center;gap:8px;font-size:12px;color:var(--muted);flex-wrap:wrap
}

.breadcrumb-inner a {
color:var(--blue);transition:color 0.2s
}

.breadcrumb-inner a:hover {
color:var(--red)
}

.breadcrumb-sep {
color:var(--border)
}

.about-hero {
background:linear-gradient(105deg,var(--blue-d) 0%,var(--blue) 55%,#1e4a8a 100%);padding:56px clamp(16px,4vw,48px);text-align:center;color:#fff
}

.about-hero h1 {
font-family:var(--ff-s);font-size:40px;font-weight:600;line-height:1.18;margin-bottom:12px
}

.about-hero p {
font-size:15px;color:rgba(255,255,255,0.7);max-width:600px;margin:0 auto;line-height:1.7
}

.section {
padding:60px clamp(16px,4vw,48px);max-width:1100px;margin:0 auto
}

.section-alt {
background:var(--off);max-width:none
}

.section-alt .inner {
max-width:900px;margin:0 auto;padding:56px clamp(16px,4vw,48px)
}

.section h2 {
font-family:var(--ff-s);font-size:28px;font-weight:600;color:var(--blue);margin-bottom:16px;line-height:1.25
}

.section h3 {
font-size:16px;font-weight:600;color:var(--text);margin:24px 0 10px
}

.section p {
font-size:14px;color:var(--muted);line-height:1.75;margin-bottom:14px
}

.section strong {
color:var(--text)
}

.metrics-grid {
display:grid;grid-template-columns:repeat(4,1fr);gap:16px;margin:32px 0
}

.metric-card {
background:var(--white);border:1.5px solid var(--border);border-radius:6px;padding:28px 20px;text-align:center
}

.metric-num {
font-family:var(--ff-s);font-size:32px;font-weight:600;color:var(--blue);display:block;line-height:1
}

.metric-lbl {
font-size:11.5px;color:var(--muted);text-transform:uppercase;letter-spacing:0.08em;margin-top:8px;display:block
}

.cert-grid {
display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:12px;margin:20px 0
}

.cert-card {
background:var(--white);border:1.5px solid var(--border);border-radius:6px;padding:24px 20px;text-align:center
}

.cert-card h4 {
font-size:14px;font-weight:600;color:var(--blue);margin-bottom:4px
}

.cert-card p {
font-size:12px;color:var(--muted);margin:0
}

.timeline {
position:relative;padding-left:32px;border-left:2px solid var(--border);margin:24px 0
}

.timeline-item {
margin-bottom:28px;position:relative
}

.timeline-item::before {
content:'';position:absolute;left:-39px;top:4px;width:12px;height:12px;background:var(--blue);border-radius:50%;border:2px solid var(--white)
}

.timeline-year {
font-size:13px;font-weight:600;color:var(--red);margin-bottom:4px
}

.timeline-text {
font-size:13.5px;color:var(--muted);line-height:1.65
}

.cta-strip {
background:var(--red);border-radius:8px;padding:32px 36px;margin:40px auto;max-width:900px;text-align:center
}

.cta-strip h3 {
color:#fff;font-family:var(--ff-s);font-size:20px;font-weight:600;margin-bottom:8px
}

.cta-strip p {
color:rgba(255,255,255,0.8);font-size:13.5px;margin-bottom:20px
}

.cta-strip a {
display:inline-block;background:#fff;color:var(--red);font-size:13.5px;font-weight:700;padding:12px 32px;border-radius:4px;transition:all 0.2s
}

.cta-strip a:hover {
background:#f0f0f0;transform:translateY(-1px)
}

@media(max-width:700px) {
.metrics-grid{grid-template-columns:repeat(2,1fr)}
}

footer {
background: var(--blue-d);
  color: rgba(255,255,255,0.7);
}

.footer-bot {
padding:18px clamp(16px,4vw,48px);display:flex;justify-content:space-between;align-items:center;font-size:12px;color:rgba(255,255,255,0.3);flex-wrap:wrap;gap:12px;max-width:1100px;margin:0 auto
}

.footer-bot a {
color: rgba(255,255,255,0.4); transition: color 0.2s;
}

.footer-bot a:hover {
color: rgba(255,255,255,0.7);
}

.env-visual {
background:linear-gradient(135deg,var(--blue),var(--blue-d));border-radius:8px;height:280px;display:flex;align-items:center;justify-content:center;margin:32px 0;position:relative;overflow:hidden
}

.env-visual::before {
content:'';position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,0.04)1px,transparent 1px);background-size:20px 20px
}

.env-visual-inner {
text-align:center;color:rgba(255,255,255,0.7);position:relative;z-index:1
}

.env-visual-inner span {
font-size:56px;display:block;margin-bottom:12px
}

.env-visual-inner p {
font-size:13.5px;line-height:1.6;max-width:300px;margin:0 auto
}

@media(prefers-reduced-motion:reduce) {
*,*::before,*::after{animation-duration:0.01ms!important;transition-duration:0.01ms!important}
}

.topbar-items {
display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}

.page-body {
max-width:800px;margin:0 auto;padding:48px clamp(16px,4vw,48px)64px
}

.page-body h1 {
font-family:var(--ff-s);font-size:38px;font-weight:600;color:var(--blue);line-height:1.18;margin-bottom:16px
}

.page-body .intro {
font-size:15px;color:var(--muted);line-height:1.75;margin-bottom:40px;padding:20px 24px;background:var(--off);border-radius:6px;border-left:4px solid var(--red)
}

.page-body h2 {
font-family:var(--ff-s);font-size:22px;font-weight:600;color:var(--blue);margin:48px 0 16px;padding-bottom:10px;border-bottom:2px solid var(--off);line-height:1.3
}

.page-body h3 {
font-size:16px;font-weight:600;color:var(--text);margin:28px 0 10px
}

.page-body p {
font-size:14px;color:var(--muted);line-height:1.75;margin-bottom:14px
}

.page-body ul,.page-body ol {
margin-bottom:18px;padding-left:24px
}

.page-body li {
font-size:13.5px;color:var(--muted);line-height:1.75;margin-bottom:8px
}

.page-body li strong {
color:var(--text)
}

.page-body strong {
color:var(--text)
}

.page-body .warning {
background:#fef3c7;border:1px solid #fcd34d;border-radius:6px;padding:16px 20px;margin:20px 0;font-size:13px;color:#92400e;line-height:1.65
}

.page-body .tip {
background:#dcfce7;border:1px solid #86efac;border-radius:6px;padding:16px 20px;margin:20px 0;font-size:13px;color:#166534;line-height:1.65
}

.page-body table {
width:100%;border-collapse:collapse;margin:20px 0
}

.page-body th {
background:var(--blue);color:rgba(255,255,255,0.85);font-size:11px;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;padding:10px 14px;text-align:left
}

.page-body td {
padding:12px 14px;font-size:13px;border-bottom:1px solid var(--border)
}

.page-body tr:nth-child(even) td {
background:var(--off)
}

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

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

@media (prefers-reduced-motion: reduce) {
*, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

.topbar-item {
display: flex; align-items: center; gap: 6px; white-space: nowrap;
}

.topbar-item svg {
opacity: 0.7; flex-shrink: 0;
}

.nav-btn-ghost {
background: transparent; color: var(--blue);
}

.nav-btn-ghost:hover {
background: var(--off);
}

@media (max-width: 860px) {
.nav-center { display: none; }
  .logo-tag { display: none; }
}

.cat-nav {
background: var(--blue);
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
}

.cat-nav::-webkit-scrollbar {
display: none;
}

.cat-link {
display: flex;
  align-items: center;
  gap: 6px;
  padding: 12px 18px;
  font-size: 12.5px;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}

.cat-link:hover, .cat-link.active {
color: #fff;
  border-bottom-color: var(--gold);
  background: rgba(255,255,255,0.06);
}

.hero {
background: linear-gradient(105deg, var(--blue-d) 0%, var(--blue) 55%, #1e4a8a 100%);
  padding: 0 clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 0;
  min-height: 380px;
  overflow: hidden;
  position: relative;
}

.hero::before {
content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 80% 50%, rgba(255,255,255,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.hero::after {
content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero-left {
padding: 52px 0;
  position: relative;
  z-index: 1;
}

.hero-badge {
display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 2px;
  margin-bottom: 20px;
}

.hero-h1 {
font-family: var(--ff-s);
  font-size: 48px;
  font-weight: 600;
  color: #fff;
  line-height: 1.16;
  margin-bottom: 14px;
}
@media (max-width: 900px) {
	.hero-h1 { font-size: 36px; }
}
@media (max-width: 600px) {
	.hero-h1 { font-size: 30px; }
}

.hero-h1 em {
font-style: italic; color: #a8c8f8;
}

.hero-sub {
font-size: 15px;
  color: rgba(255,255,255,0.7);
  line-height: 1.65;
  max-width: 480px;
  margin-bottom: 32px;
}

.hero-ctas {
display: flex; gap: 12px; flex-wrap: wrap;
}

.cta-main {
background: var(--red);
  color: #fff;
  font-family: var(--ff);
  font-size: 13.5px;
  font-weight: 600;
  padding: 13px 28px;
  border-radius: 4px;
  transition: background 0.2s, transform 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-main:hover {
background: var(--red-l); transform: translateY(-1px);
}

.cta-sec {
background: rgba(255,255,255,0.12);
  color: #fff;
  font-family: var(--ff);
  font-size: 13.5px;
  font-weight: 500;
  padding: 13px 28px;
  border-radius: 4px;
  border: 1.5px solid rgba(255,255,255,0.25);
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.cta-sec:hover {
background: rgba(255,255,255,0.2);
}

.hero-trust {
display: flex;
  gap: 24px;
  margin-top: 32px;
  flex-wrap: wrap;
}

.hero-trust-item {
display: flex;
  align-items: center;
  gap: 7px;
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}

.hero-trust-item strong {
color: rgba(255,255,255,0.9); font-weight: 500;
}

.hero-right {
background: rgba(255,255,255,0.05);
  border-left: 1px solid rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 24px;
  position: relative;
  z-index: 1;
}

.hero-env-display {
display: flex; flex-direction: column; gap: 10px; align-items: center; width: 100%;
}

.hero-env-label {
font-size: 10.5px; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-bottom: 4px;
}

.env-stack {
position: relative; width: 240px; height: 200px;
}

.env-stack-item {
position: absolute; border-radius: 2px;
}

.env-size-tags {
display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; margin-top: 8px;
}

.env-size-tags span {
font-size: 11px; color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.07); padding: 4px 10px; border-radius: 20px;
}

@media (max-width: 800px) {
.hero { grid-template-columns: 1fr; min-height: auto; }
  .hero-right { display: none; }
  .hero-left { padding: 40px 0; }
}

.trust-strip {
background: var(--gold);
  padding: 14px clamp(16px, 4vw, 48px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  flex-wrap: wrap;
}

.trust-item {
display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: #1a1a00;
}

.trust-sep {
color: rgba(0,0,0,0.25); font-size: 18px;
}

.section-head {
display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 32px;
  flex-wrap: wrap;
  gap: 12px;
}

.section-title {
font-family: var(--ff-s);
  font-size: 30px;
  font-weight: 600;
  color: var(--blue);
  line-height: 1.2;
}

.section-title span {
color: var(--red);
}

.section-sub {
font-size: 14px;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.6;
  margin-bottom: 28px;
}

.cap-grid {
display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
.cap-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
.cap-grid { grid-template-columns: 1fr; }
}

.cap-card {
background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 32px 28px;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}

.cap-card::after {
content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s;
}

.cap-card:hover {
border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(26,58,107,0.1);
  transform: translateY(-2px);
}

.cap-card:hover::after {
transform: scaleX(1);
}

.cap-icon {
width: 52px; height: 52px;
  background: var(--blue);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  flex-shrink: 0;
}

.cap-card h3 {
font-size: 15px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
}

.cap-card p {
font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

@media (max-width: 768px) {
.factory-grid { grid-template-columns: minmax(0, 1fr); }
  .factory-metrics { grid-template-columns: repeat(3, 1fr); }
}
/* 移动端表格适配：允许横向滚动，防止内容截断 */
@media (max-width: 900px) {
  .products-table-wrap, div:has(> .products-table) { overflow-x: auto !important; -webkit-overflow-scrolling: touch; }
  .products-table { min-width: 640px; }
  .factory-text, .factory-metrics { min-width: 0; }
}

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

.products-table th {
background: var(--blue);
  color: rgba(255,255,255,0.85);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 12px 16px;
  text-align: left;
}

.products-table th:last-child {
text-align: right;
}

.products-table td {
padding: 14px 16px;
  font-size: 13.5px;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
}

.products-table tr:hover td {
background: #f0f5ff;
}

.products-table tr:last-child td {
border-bottom: none;
}

.prod-name {
font-weight: 600; color: var(--blue); display: block; margin-bottom: 2px;
}

.prod-sub {
font-size: 11.5px; color: var(--muted);
}

.prod-badge {
display: inline-block;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 2px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.badge-custom {
background: #e0e7ff; color: #3730a3;
}

.badge-oem {
background: #fef3c7; color: #92400e;
}

.badge-bulk {
background: #dcfce7; color: #15803d;
}

.prod-moq {
font-size: 12px; font-weight: 600; color: var(--text);
}

.btn-sm {
display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 8px 18px;
  font-family: var(--ff);
  font-size: 12px;
  font-weight: 600;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-sm-red {
background: var(--red); color: #fff;
}

.btn-sm-red:hover {
background: var(--red-l);
}

.btn-sm-out {
background: transparent; border: 1.5px solid var(--blue); color: var(--blue);
}

.btn-sm-out:hover {
background: var(--blue); color: #fff;
}

.process-grid {
display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 900px) {
.process-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
.process-grid { grid-template-columns: 1fr; }
}

.process-step {
background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 32px 28px;
  position: relative;
  counter-increment: step;
}

.process-step::before {
content: "0" counter(step);
  font-family: var(--ff-s);
  font-size: 40px;
  font-weight: 600;
  color: rgba(26,58,107,0.08);
  position: absolute;
  top: 16px;
  right: 20px;
  line-height: 1;
}

.process-step h3 {
font-size: 16px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
}

.process-step p {
font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}

.process-step .step-link {
display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--red);
  transition: gap 0.2s;
}

.process-step .step-link:hover {
gap: 10px;
}

.factory-grid {
display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.factory-text h2 {
font-family: var(--ff-s);
  font-size: clamp(24px, 2.8vw, 34px);
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 16px;
  line-height: 1.2;
}

.factory-text h2 em {
font-style: italic; color: var(--red);
}

.factory-text p {
font-size: 14px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 24px;
}

.factory-metrics {
display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.factory-metric {
background: var(--off);
  border-radius: 6px;
  padding: 20px;
  text-align: center;
}

.factory-metric-num {
font-family: var(--ff-s);
  font-size: 28px;
  font-weight: 600;
  color: var(--blue);
  display: block;
  line-height: 1;
}

.factory-metric-lbl {
font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 6px;
  display: block;
}

.factory-visual {
background: linear-gradient(135deg, var(--blue), var(--blue-d));
  border-radius: 8px;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.factory-visual::before {
content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 20px 20px;
}

.factory-visual-inner {
text-align: center;
  color: rgba(255,255,255,0.7);
  position: relative;
  z-index: 1;
}

.factory-visual-inner .big-icon {
font-size: 64px; display: block; margin-bottom: 16px;
}

.factory-visual-inner p {
font-size: 14px; line-height: 1.6; max-width: 280px;
}

.print-grid {
display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.print-card {
background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 28px 22px;
  transition: all 0.2s;
  cursor: pointer;
}

.print-card:hover {
border-color: var(--blue);
  box-shadow: 0 4px 20px rgba(26,58,107,0.1);
}

.print-card-type {
font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 10px;
}

.print-card-name {
font-family: var(--ff-s);
  font-size: 18px;
  font-weight: 600;
  color: var(--blue);
  margin-bottom: 8px;
}

.print-card-desc {
font-size: 12.5px;
  color: var(--muted);
  line-height: 1.6;
}

.print-card-detail {
margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 11.5px;
  color: var(--blue);
  font-weight: 500;
}

@media (max-width: 900px) {
.print-grid { grid-template-columns: repeat(2, 1fr); }
}

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

.size-strip {
background: var(--blue);
  padding: 44px clamp(16px, 4vw, 48px);
}

.size-strip-inner {
display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: center;
}

.size-strip-left h2 {
font-family: var(--ff-s);
  font-size: 26px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.25;
}

.size-strip-left p {
font-size: 13.5px;
  color: rgba(255,255,255,0.6);
  line-height: 1.65;
  margin-bottom: 20px;
}

.size-strip-left a {
display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--gold);
  color: #1a1a00;
  font-size: 12.5px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 4px;
  transition: filter 0.2s;
}

.size-strip-left a:hover {
filter: brightness(1.08);
}

.flatlay {
background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 6px;
  min-height: 160px;
  height: auto;
  position: relative;
  overflow: hidden;
}

.fl-env {
position: absolute;
  border: 1.5px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, transform 0.15s;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 4px;
  overflow: hidden;
}

.fl-env::before {
content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 35%;
  border-bottom: 1px dashed rgba(255,255,255,0.12);
  pointer-events: none;
}

.fl-env:hover {
background: rgba(255,255,255,0.14); border-color: var(--gold); transform: translateY(-3px); z-index: 5;
}

.fl-env.selected {
background: rgba(212,160,23,0.2); border-color: var(--gold); z-index: 5;
}

.fl-env-lbl {
font-size: 8.5px;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.65);
  font-weight: 500;
  white-space: nowrap;
  pointer-events: none;
}

.fl-env.selected .fl-env-lbl {
color: var(--gold);
}

.size-info {
position: absolute;
  bottom: 10px; right: 10px;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 11px;
  color: #fff;
  min-width: 130px;
  pointer-events: none;
  transition: opacity 0.2s;
}

.size-info-name {
font-weight: 600; font-size: 12.5px; color: var(--gold); margin-bottom: 2px;
}

.size-info-dims {
color: rgba(255,255,255,0.7);
}

.size-info-use {
color: rgba(255,255,255,0.5); font-size: 10px; margin-top: 2px;
}

@media (max-width: 700px) {
.size-strip-inner { grid-template-columns: 1fr; }
}

.wholesale-cta {
background: var(--red);
  padding: 48px clamp(16px, 4vw, 48px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
}

.wholesale-cta h2 {
font-family: var(--ff-s);
  font-size: clamp(22px, 2.8vw, 34px);
  font-weight: 600;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 10px;
}

.wholesale-cta p {
font-size: 14px; color: rgba(255,255,255,0.75); line-height: 1.6; max-width: 600px;
}

.btn-white-solid {
background: #fff;
  color: var(--red);
  font-family: var(--ff);
  font-size: 13.5px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s;
  display: inline-block;
}

.btn-white-solid:hover {
background: #f0f0f0; transform: translateY(-1px);
}

@media (max-width: 600px) {
.footer-top { grid-template-columns: 1fr 1fr; }
}

.client-grid {
display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
@media (max-width: 900px) {
.client-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
.client-grid { grid-template-columns: 1fr; }
}

.client-card {
background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 6px;
  padding: 28px 24px;
  transition: border-color 0.2s;
}

.client-card:hover {
border-color: var(--blue);
}

.client-stars {
color: var(--gold); font-size: 14px; letter-spacing: 2px; margin-bottom: 12px;
}

.client-text {
font-size: 13.5px; line-height: 1.65; color: var(--text); margin-bottom: 16px; font-style: italic;
}

.client-author {
font-size: 12px; font-weight: 600; color: var(--blue);
}

.client-company {
font-size: 11.5px; color: var(--muted); margin-top: 1px;
}

.footer-top {
padding: 52px clamp(16px, 4vw, 48px) 40px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand-name {
font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-brand-name span {
color: var(--gold);
}

.footer-tagline {
font-size: 12.5px; line-height: 1.65; margin-bottom: 16px; max-width: 240px;
}

.footer-contact {
font-size: 12.5px; line-height: 1.9;
}

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

.footer-col h4 {
font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 16px;
}

.footer-col ul {
list-style: none;
}

.footer-col li {
margin-bottom: 9px;
}

.footer-col a {
font-size: 13px; color: rgba(255,255,255,0.6); transition: color 0.2s;
}

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

.fade-up {
opacity: 1;
  transform: none;
  transition: none;
}

.fade-up.in {
opacity: 1; transform: none;
}

.page-header {
padding:48px clamp(16px,4vw,48px) 40px;background:var(--white);max-width:1100px;margin:0 auto
}

.page-header h1 {
font-family:var(--ff-s);font-size:clamp(26px,3vw,40px);font-weight:600;color:var(--blue);line-height:1.18;margin-bottom:12px
}

.page-header p {
font-size:15px;color:var(--muted);line-height:1.7;max-width:720px
}

.section-alt .section {
background:transparent
}

.section-head h2 {
font-family:var(--ff-s);font-size:clamp(20px,2.2vw,28px);font-weight:600;color:var(--blue);line-height:1.25;margin-bottom:8px
}

.section-head p {
font-size:14px;color:var(--muted);line-height:1.6;max-width:620px
}

.pillar-layout {
display:grid;grid-template-columns:220px 1fr;gap:48px;align-items:start
}

.toc {
position:sticky;top:100px;background:var(--off);border:1px solid var(--border);border-radius:6px;padding:20px
}

.toc h3 {
font-size:11px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--muted);margin-bottom:14px
}

.toc a {
display:block;padding:6px 0;font-size:12.5px;color:var(--blue);border-left:2px solid transparent;padding-left:10px;transition:all 0.2s;line-height:1.4
}

.toc a:hover,.toc a.active {
border-left-color:var(--red);color:var(--red)
}

@media(max-width:800px) {
.pillar-layout{grid-template-columns:minmax(0,1fr)}.toc{display:none}
}
@media (max-width: 900px) {
.content-block{min-width:0;overflow-x:auto}
.spec-table{width:100%}
}

.content-block {
margin-bottom:48px
}

.content-block h3 {
font-family:var(--ff-s);font-size:20px;font-weight:600;color:var(--blue);margin-bottom:12px;line-height:1.3
}

.content-block h4 {
font-family:var(--ff);font-size:15px;font-weight:600;color:var(--text);margin-bottom:8px;margin-top:20px
}

.content-block p {
font-size:13.5px;color:var(--muted);line-height:1.7;margin-bottom:14px
}

.spec-table {
width:100%;border-collapse:collapse;margin:20px 0
}

.spec-table th {
background:var(--blue);color:rgba(255,255,255,0.85);font-size:11px;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;padding:10px 14px;text-align:left
}

.spec-table td {
padding:12px 14px;font-size:13px;border-bottom:1px solid var(--border)
}

.spec-table tr:nth-child(even) td {
background:var(--off)
}

.spec-table tr:hover td {
background:#e8f0fe
}

.info-grid {
display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:20px 0
}

.info-card {
background:var(--white);border:1.5px solid var(--border);border-radius:6px;padding:28px 24px;transition:border-color 0.2s;text-align:center
}

.info-card:hover {
border-color:var(--blue)
}

.info-card h4 {
font-size:14px;font-weight:600;color:var(--blue);margin-bottom:6px;margin-top:0
}

.info-card p {
font-size:12.5px;color:var(--muted);line-height:1.6;margin-bottom:0
}

.cta-inline {
background:var(--blue);border-radius:8px;padding:32px 36px;margin:40px 0 0;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap
}

.cta-inline h3 {
color:#fff;font-family:var(--ff-s);font-size:20px;font-weight:600;margin:0
}

.cta-inline p {
color:rgba(255,255,255,0.7);font-size:13.5px;margin:4px 0 0
color:rgba(255,255,255,0.8);font-size:13.5px;margin:4px 0 0
}

.cta-btn {
background:var(--red);color:#fff;font-size:13.5px;font-weight:600;padding:12px 28px;border-radius:4px;white-space:nowrap;transition:background 0.2s;display:inline-block
}

.cta-btn:hover {
background:var(--red-l)
}

.cluster-grid {
display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:12px;margin-top:20px
}

.cluster-card {
display:flex;align-items:center;gap:14px;padding:18px 20px;border:1.5px solid var(--border);border-radius:6px;transition:all 0.2s
}

.cluster-card:hover {
border-color:var(--blue);box-shadow:0 2px 12px rgba(26,58,107,0.08);transform:translateY(-1px)
}

.cluster-card-icon {
font-size:24px;flex-shrink:0
}

.cluster-card-text {
font-size:13.5px;font-weight:500;color:var(--blue)
}

.faq-item {
border-bottom:1px solid var(--border);padding:20px 0
}

.faq-item:first-child {
border-top:1px solid var(--border)
}

.faq-q {
font-size:14.5px;font-weight:600;color:var(--text);margin-bottom:8px;cursor:pointer
}

.faq-a {
font-size:13px;color:var(--muted);line-height:1.7
}

.toc a.sub {
padding-left:22px;font-size:11.5px;color:var(--muted)
}

.content-block:last-child {
margin-bottom:0
}

.content-block ul {
margin-bottom:16px;padding-left:20px
}

.content-block li {
font-size:13.5px;color:var(--muted);line-height:1.7;margin-bottom:6px
}

.content-block li strong {
color:var(--text)
}

.info-card .big-num {
font-family:var(--ff-s);font-size:36px;font-weight:600;color:var(--blue);display:block;margin-bottom:8px;line-height:1
}

.cta-btn-white {
background:#fff;color:var(--red);font-size:13.5px;font-weight:700;padding:12px 28px;border-radius:4px;white-space:nowrap;transition:all 0.2s;display:inline-block
}

.cta-btn-white:hover {
background:#f0f0f0;transform:translateY(-1px)
}

.quote-page {
max-width:800px;margin:0 auto;padding:48px clamp(16px,4vw,48px)64px
}

.quote-page h1 {
font-family:var(--ff-s);font-size:clamp(26px,3vw,38px);font-weight:600;color:var(--blue);line-height:1.18;margin-bottom:12px
}

.quote-page .sub {
font-size:15px;color:var(--muted);line-height:1.7;margin-bottom:36px
}

.form-section {
margin-bottom:36px
}

.form-section h2 {
font-family:var(--ff-s);font-size:18px;font-weight:600;color:var(--blue);margin-bottom:16px;padding-bottom:8px;border-bottom:2px solid var(--off)
}

.form-row {
display:grid;grid-template-columns:1fr 1fr;gap:16px;margin-bottom:16px
}

@media(max-width:500px) {
.form-row{grid-template-columns:1fr}
}

.form-group label {
display:block;font-size:12.5px;font-weight:500;color:var(--text);margin-bottom:6px
}

.form-group label span {
color:var(--red)
}

.form-group input,.form-group select,.form-group textarea {
width:100%;padding:11px 14px;border:1.5px solid var(--border);border-radius:4px;font-family:var(--ff);font-size:13.5px;color:var(--text);background:var(--white);transition:border-color 0.2s;outline:none
}

.form-group input:focus,.form-group select:focus,.form-group textarea:focus {
border-color:var(--blue)
}

.form-group textarea {
resize:vertical;min-height:100px
}

.form-full {
margin-bottom:16px
}

.file-upload {
border:2px dashed var(--border);border-radius:6px;padding:28px;text-align:center;transition:border-color 0.2s;margin-bottom:16px
}

.file-upload:hover {
border-color:var(--blue)
}

.file-upload p {
font-size:13px;color:var(--muted)
}

.file-upload strong {
color:var(--blue)
}

.submit-btn {
background:var(--red);color:#fff;font-family:var(--ff);font-size:14px;font-weight:600;padding:14px 40px;border:none;border-radius:4px;cursor:pointer;transition:all 0.2s;width:100%
}

.submit-btn:hover {
background:var(--red-l)
}

.after-submit {
background:var(--off);border-radius:8px;padding:24px 28px;margin-top:32px;font-size:13.5px;color:var(--muted);line-height:1.7
}

.after-submit strong {
color:var(--text)
}

.blog-body {
max-width:740px;margin:0 auto;padding:48px clamp(16px,4vw,48px)64px
}

.blog-body h1 {
font-family:var(--ff-s);font-size:38px;font-weight:600;color:var(--blue);line-height:1.18;margin-bottom:16px
}

.blog-meta {
font-size:12.5px;color:var(--muted);margin-bottom:32px;display:flex;gap:16px;flex-wrap:wrap
}

.blog-body h2 {
font-family:var(--ff-s);font-size:22px;font-weight:600;color:var(--blue);margin:40px 0 14px;line-height:1.3
}

.blog-body h3 {
font-size:16px;font-weight:600;color:var(--text);margin:28px 0 10px
}

.blog-body p {
font-size:14px;color:var(--muted);line-height:1.75;margin-bottom:16px
}

.blog-body ul,.blog-body ol {
margin-bottom:16px;padding-left:24px
}

.blog-body li {
font-size:14px;color:var(--muted);line-height:1.75;margin-bottom:6px
}

.blog-body strong {
color:var(--text)
}

.blog-body table {
width:100%;border-collapse:collapse;margin:24px 0
}

.blog-body th {
background:var(--blue);color:rgba(255,255,255,0.85);font-size:11px;font-weight:600;letter-spacing:0.1em;text-transform:uppercase;padding:10px 14px;text-align:left
}

.blog-body td {
padding:12px 14px;font-size:13px;border-bottom:1px solid var(--border)
}

.blog-body tr:nth-child(even) td {
background:var(--off)
}

.blog-cta {
background:var(--blue);border-radius:8px;padding:32px 36px;margin:40px 0 0;display:flex;align-items:center;justify-content:space-between;gap:24px;flex-wrap:wrap
}

.blog-cta h3 {
color:#fff;font-family:var(--ff-s);font-size:18px;font-weight:600;margin:0
}

.blog-cta p {
color:rgba(255,255,255,0.7);font-size:13.5px;margin:4px 0 0
}

.blog-cta a {
background:var(--red);color:#fff;font-size:13.5px;font-weight:600;padding:12px 28px;border-radius:4px;white-space:nowrap;transition:background 0.2s;display:inline-block
}

.blog-cta a:hover {
background:var(--red-l)
}

.related-grid {
display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;margin-top:20px
}

.related-card {
display:flex;align-items:center;gap:12px;padding:16px 20px;border:1.5px solid var(--border);border-radius:6px;transition:all 0.2s
}

.related-card:hover {
border-color:var(--blue);box-shadow:0 2px 12px rgba(26,58,107,0.08)
}

.related-card-icon {
font-size:22px;flex-shrink:0
}

.related-card-text {
font-size:13px;font-weight:500;color:var(--blue)
}

.blog-body ul {
margin-bottom:16px;padding-left:24px
}

.hero h1 {
font-family:var(--ff-s);font-size:clamp(24px,3vw,36px);font-weight:600;margin-bottom:8px
}

.hero p {
font-size:14.5px;color:rgba(255,255,255,0.7)
}

.blog-section {
max-width:1000px;margin:0 auto;padding:48px clamp(16px,4vw,48px)64px
}

.blog-grid {
display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px
}

.blog-card {
border:1.5px solid var(--border);border-radius:8px;overflow:hidden;transition:all 0.2s
}

.blog-card:hover {
border-color:var(--blue);box-shadow:0 6px 24px rgba(26,58,107,0.1);transform:translateY(-2px)
}

.blog-card-body {
padding:24px
}

.blog-card-cat {
font-size:10.5px;font-weight:700;letter-spacing:0.12em;text-transform:uppercase;color:var(--red);margin-bottom:10px
}

.blog-card h3 {
font-family:var(--ff-s);font-size:18px;font-weight:600;color:var(--blue);line-height:1.3;margin-bottom:8px
}

.blog-card p {
font-size:13px;color:var(--muted);line-height:1.6;margin-bottom:14px
}

.blog-card-meta {
font-size:11.5px;color:var(--muted);display:flex;gap:14px
}

.blog-card-link {
font-size:13px;font-weight:600;color:var(--red);display:inline-flex;align-items:center;gap:5px;margin-top:12px;transition:gap 0.2s
}

.blog-card-link:hover {
gap:9px
}

/* ── WP nav_menu 适配: ul.nav-menu 呈现为 .nav-link 视觉 ── */
.main-nav .nav-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	gap: 4px;
}
.main-nav .nav-menu li {
	margin: 0;
}
.main-nav .nav-menu a {
	padding: 8px 14px;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--blue);
	border-radius: 4px;
	transition: background 0.2s;
	white-space: nowrap;
	display: inline-block;
	text-decoration: none;
}
.main-nav .nav-menu a:hover,
.main-nav .nav-menu li.current-menu-item a {
	background: var(--off);
}
@media (max-width: 860px) {
	.main-nav .nav-menu { display: none; }
}

/* ── 内容区基础 ── */
.ed-content { max-width: 100%; }
.ed-content img { max-width: 100%; height: auto; }

/* ── 文章标题 (single post) ── */
.entry-title {
	font-family: var(--ff-s);
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 600;
	color: var(--blue);
	line-height: 1.2;
	max-width: 800px;
	margin: 0 auto;
	padding: 40px clamp(16px, 4vw, 48px) 0;
}

/* ── Contact Form 7 适配 (匹配 .form-section 视觉) ── */
.wpcf7 {
	max-width: 800px;
	margin: 0 auto;
}
.wpcf7 form {
	padding: 32px clamp(16px, 4vw, 40px);
	background: var(--white);
	border: 1.5px solid var(--border);
	border-radius: 8px;
}
.wpcf7 .cf7-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 16px;
}
@media (max-width: 500px) {
	.wpcf7 .cf7-row { grid-template-columns: 1fr; }
}
.wpcf7 label {
	display: block;
	font-size: 12.5px;
	font-weight: 500;
	color: var(--text);
	margin-bottom: 6px;
}
.wpcf7 label span.required { color: var(--red); }
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	padding: 11px 14px;
	border: 1.5px solid var(--border);
	border-radius: 4px;
	font-family: var(--ff);
	font-size: 13.5px;
	color: var(--text);
	background: var(--white);
	transition: border-color 0.2s;
	margin-bottom: 14px;
}
.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	border-color: var(--blue);
	outline: none;
}
.wpcf7 textarea { resize: vertical; min-height: 100px; }
.wpcf7 input[type="submit"] {
	background: var(--red);
	color: #fff;
	font-family: var(--ff);
	font-size: 14px;
	font-weight: 600;
	padding: 14px 40px;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.2s;
	width: 100%;
	margin-top: 8px;
}
.wpcf7 input[type="submit"]:hover { background: var(--red-l); }
.wpcf7 h3 {
	font-family: var(--ff-s);
	font-size: 18px;
	font-weight: 600;
	color: var(--blue);
	margin: 28px 0 16px;
	padding-bottom: 8px;
	border-bottom: 2px solid var(--off);
}
.wpcf7-response-output {
	border: 1.5px solid var(--border);
	border-radius: 4px;
	padding: 12px 16px;
	font-size: 13px;
	margin-top: 16px;
}
.wpcf7 form.invalid .wpcf7-response-output {
	border-color: var(--red);
	color: var(--red);
}
.wpcf7 form.sent .wpcf7-response-output {
	border-color: #2e7d32;
	color: #2e7d32;
}

/* ── Elementor 全宽修复: 单列布局占满容器 ── */
.ed-content .elementor-section .elementor-container {
	max-width: 100% !important;
}
.ed-content .elementor-section .elementor-column {
	width: 100% !important;
	flex-basis: 100% !important;
}
.ed-content .elementor-widget-wrap {
	padding: 0 !important;
}

/* ── 分类归档页 (Resources 子栏目) ── */
.archive-hero {
	background: linear-gradient(105deg, var(--blue-d) 0%, var(--blue) 55%, #1e4a8a 100%);
	padding: 52px clamp(16px, 4vw, 48px);
	text-align: center;
	color: #fff;
}
.archive-hero h1 {
	font-family: var(--ff-s);
	font-size: clamp(26px, 3vw, 38px);
	font-weight: 600;
	line-height: 1.18;
	margin-bottom: 12px;
}
.archive-hero p {
	font-size: 14.5px;
	color: rgba(255,255,255,0.75);
	max-width: 640px;
	margin: 0 auto;
	line-height: 1.7;
}
.archive-wrap {
	max-width: 1100px;
	margin: 0 auto;
	padding: 48px clamp(16px, 4vw, 48px) 72px;
}
.archive-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 20px;
}
.archive-card {
	border: 1.5px solid var(--border);
	border-radius: 8px;
	overflow: hidden;
	background: var(--white);
	transition: all 0.2s;
}
.archive-card:hover {
	border-color: var(--blue);
	box-shadow: 0 6px 24px rgba(26,58,107,0.1);
	transform: translateY(-2px);
}
.archive-card-link { display: block; text-decoration: none; color: inherit; }
.archive-card-img {
	height: 150px;
	background-size: cover;
	background-position: center;
	background-color: var(--off);
}
.archive-card-body { padding: 22px; }
.archive-card-cat {
	font-size: 10.5px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--red);
	margin-bottom: 8px;
}
.archive-card h3 {
	font-family: var(--ff-s);
	font-size: 17px;
	font-weight: 600;
	color: var(--blue);
	line-height: 1.35;
	margin-bottom: 8px;
}
.archive-card p {
	font-size: 13px;
	color: var(--muted);
	line-height: 1.6;
	margin-bottom: 12px;
}
.archive-card-meta {
	font-size: 11.5px;
	color: var(--red);
	font-weight: 600;
}
.archive-empty {
	text-align: center;
	padding: 60px 20px;
	border: 1.5px dashed var(--border);
	border-radius: 8px;
}
.archive-empty h3 { font-family: var(--ff-s); font-size: 20px; color: var(--blue); margin-bottom: 10px; }
.archive-empty p { font-size: 13.5px; color: var(--muted); }
.archive-empty a { color: var(--red); font-weight: 600; }
.archive-wrap .nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin-top: 40px;
}
.archive-wrap .nav-links .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 36px;
	height: 36px;
	padding: 0 10px;
	border: 1.5px solid var(--border);
	border-radius: 4px;
	font-size: 13px;
	color: var(--blue);
	transition: all 0.2s;
}
.archive-wrap .nav-links .page-numbers.current {
	background: var(--red);
	border-color: var(--red);
	color: #fff;
}
.archive-wrap .nav-links a.page-numbers:hover {
	border-color: var(--blue);
}
