/*
Theme Name: Kadence Food Equipment
Description: 食品加工设备目录展示子主题。保留 Kadence 原生页头、桌面/移动菜单与页脚，配合独立设备资料插件使用。
Author: Local Site Preparation
Version: 1.0.1
Template: kadence
Requires at least: 6.6
Requires PHP: 7.4
Text Domain: kadence-food-equipment
License: GNU General Public License v3 or later
License URI: https://www.gnu.org/licenses/gpl-3.0.html
*/

.kfe-site { --kfe-ink:#172d38; --kfe-muted:#5a6d75; --kfe-accent:#b84e22; --kfe-line:#dbe3e4; --kfe-wash:#f2f6f5; --kfe-paper:#fff; background:#fff; }
.kfe-site .kfe-container { width:min(1200px,calc(100% - 64px)); margin-inline:auto; }
.kfe-site .kfe-narrow { width:min(860px,calc(100% - 64px)); }
.kfe-site .kfe-content { padding-block:40px 72px; color:var(--kfe-ink); }
.kfe-site .kfe-content *, .kfe-site .kfe-hero * { box-sizing:border-box; }
.kfe-site .kfe-content a, .kfe-site .kfe-hero a { text-underline-offset:4px; }
.kfe-site .kfe-content a:focus-visible, .kfe-site .kfe-hero a:focus-visible { outline:3px solid var(--kfe-accent); outline-offset:4px; }
.kfe-site .kfe-content h1, .kfe-site .kfe-content h2, .kfe-site .kfe-content h3, .kfe-site .kfe-hero h1 { color:var(--kfe-ink); line-height:1.3; overflow-wrap:anywhere; }
.kfe-site .kfe-content h1 { margin:0 0 18px; font-size:clamp(1.8rem,4vw,2.8rem); }
.kfe-site .kfe-content h2 { margin:0; font-size:clamp(1.5rem,2.5vw,2rem); }
.kfe-site .kfe-content h3 { margin:0; font-size:1.18rem; }
.kfe-site .kfe-eyebrow { display:block; margin-bottom:12px; color:var(--kfe-accent); font-weight:700; font-size:.78rem; letter-spacing:.13em; }
.kfe-site .kfe-lead { max-width:760px; color:var(--kfe-muted); line-height:1.9; font-size:1.05rem; }
.kfe-site .kfe-lead p:last-child, .kfe-site .kfe-intro p:last-child { margin-bottom:0; }
.kfe-site .kfe-hero { color:var(--kfe-ink); background:linear-gradient(110deg,#eef4f2 0%,#eef4f2 58%,#e3ecea 58%,#e3ecea 100%); padding:64px 0; border-bottom:1px solid var(--kfe-line); }
.kfe-site .kfe-hero-grid { display:grid; grid-template-columns:1.12fr .88fr; gap:56px; align-items:center; }
.kfe-site .kfe-hero h1 { font-size:clamp(2.3rem,5vw,4.1rem); max-width:680px; margin:0 0 24px; letter-spacing:-.035em; }
.kfe-site .kfe-hero p { color:var(--kfe-muted); line-height:1.9; font-size:1.08rem; max-width:620px; }
.kfe-site .kfe-actions { display:flex; flex-wrap:wrap; gap:12px; margin-top:28px; }
.kfe-site a.kfe-button { display:inline-flex; align-items:center; justify-content:center; min-height:46px; padding:11px 22px; border:1px solid var(--kfe-ink); background:var(--kfe-ink); color:#fff; font-weight:600; text-decoration:none; border-radius:3px; }
.kfe-site a.kfe-button:hover { background:#294b59; border-color:#294b59; color:#fff; }
.kfe-site a.kfe-button-secondary { background:transparent; color:var(--kfe-ink); }
.kfe-site .kfe-hero-media { padding:22px; background:#fff; box-shadow:0 15px 50px #17323a0d; border:1px solid var(--kfe-line); border-radius:6px; }
.kfe-site .kfe-hero-media img { display:block; width:100%; aspect-ratio:4/3; object-fit:contain; }
.kfe-site .kfe-hero-media figcaption { font-size:.85rem; margin-top:12px; padding-top:12px; border-top:1px solid var(--kfe-line); color:var(--kfe-muted); }
.kfe-site .kfe-hero-note { background:var(--kfe-ink); padding:36px; color:#fff; border-radius:5px; position:relative; overflow:hidden; }
.kfe-site .kfe-hero-note::after { content:""; position:absolute; inset:0; background-image:linear-gradient(#ffffff08 1px,transparent 1px),linear-gradient(90deg,#ffffff08 1px,transparent 1px); background-size:24px 24px; pointer-events:none; }
.kfe-site .kfe-hero-note .kfe-eyebrow { color:#efae7f; }
.kfe-site .kfe-hero-note p { color:#e1e9eb; font-size:.95rem; margin:0; }
.kfe-site .kfe-hero-note strong { display:block; font-size:2rem; line-height:1.4; margin:22px 0; }
.kfe-site .kfe-section { padding-block:40px; }
.kfe-site .kfe-section + .kfe-section { border-top:1px solid var(--kfe-line); }
.kfe-site .kfe-section-heading { display:flex; align-items:end; justify-content:space-between; gap:20px; margin-bottom:26px; }
.kfe-site .kfe-section-heading a { white-space:nowrap; font-size:.9rem; font-weight:600; color:var(--kfe-accent); }
.kfe-site .kfe-section-heading .kfe-eyebrow { margin-bottom:8px; }
.kfe-site .kfe-grid { display:grid; gap:24px; min-width:0; }
.kfe-site .kfe-grid-three { grid-template-columns:repeat(3,minmax(0,1fr)); }
.kfe-site .kfe-grid-four { grid-template-columns:repeat(4,minmax(0,1fr)); }
.kfe-site .kfe-card { min-width:0; background:#fff; border:1px solid var(--kfe-line); border-radius:5px; overflow:hidden; transition:box-shadow .2s,border-color .2s; }
.kfe-site .kfe-card:hover { border-color:#9caeb4; box-shadow:0 6px 20px #17323a08; }
.kfe-site .kfe-card-media { display:block; aspect-ratio:4/3; background:var(--kfe-wash); border-bottom:1px solid var(--kfe-line); text-decoration:none; }
.kfe-site .kfe-card-image { display:block; width:100%; height:100%; object-fit:contain; padding:14px; }
.kfe-site .kfe-image-empty { height:100%; min-height:180px; display:grid; place-content:center; color:#74878c; font-size:.85rem; letter-spacing:.12em; background:linear-gradient(135deg,#f0f5f4,#e7eeec); }
.kfe-site .kfe-card-body { padding:23px; }
.kfe-site .kfe-card h2, .kfe-site .kfe-card h3 { font-size:1.2rem; margin:0 0 12px; }
.kfe-site .kfe-card h2 a, .kfe-site .kfe-card h3 a { color:var(--kfe-ink); text-decoration:none; }
.kfe-site .kfe-card h2 a:hover, .kfe-site .kfe-card h3 a:hover { color:var(--kfe-accent); text-decoration:underline; }
.kfe-site .kfe-card p { color:var(--kfe-muted); font-size:.92rem; line-height:1.8; margin:0 0 16px; overflow-wrap:anywhere; }
.kfe-site .kfe-card-link { color:var(--kfe-accent); font-size:.86rem; font-weight:600; }
.kfe-site .kfe-card time { color:var(--kfe-muted); display:block; font-size:.8rem; margin-bottom:12px; }
.kfe-site .kfe-category-card { display:block; padding:25px; color:var(--kfe-ink); background:var(--kfe-wash); border:1px solid var(--kfe-line); border-top:3px solid var(--kfe-accent); border-radius:3px; text-decoration:none; }
.kfe-site .kfe-category-card:hover { background:#e8efed; }
.kfe-site .kfe-category-card h3 { margin-bottom:12px; }
.kfe-site .kfe-category-card p { margin:0; font-size:.88rem; color:var(--kfe-muted); line-height:1.8; }
.kfe-site .kfe-category-nav { display:flex; flex-wrap:wrap; gap:10px; margin:28px 0; }
.kfe-site .kfe-category-nav a { display:block; padding:9px 16px; background:var(--kfe-wash); color:var(--kfe-ink); border:1px solid var(--kfe-line); border-radius:3px; font-size:.9rem; text-decoration:none; }
.kfe-site .kfe-category-nav a:hover, .kfe-site .kfe-category-nav [aria-current] { background:var(--kfe-ink); border-color:var(--kfe-ink); color:#fff; }
.kfe-site .kfe-breadcrumbs { margin-bottom:26px; font-size:.8rem; color:var(--kfe-muted); }
.kfe-site .kfe-breadcrumbs ol { display:flex; flex-wrap:wrap; gap:8px 10px; margin:0; padding:0; list-style:none; }
.kfe-site .kfe-breadcrumbs li:not(:last-child)::after { content:"/"; margin-left:10px; color:#91a1a7; }
.kfe-site .kfe-breadcrumbs a { color:var(--kfe-muted); }
.kfe-site .kfe-archive-header { padding:12px 0 14px; max-width:900px; }
.kfe-site .kfe-archive-header .kfe-intro { color:var(--kfe-muted); line-height:1.9; }
.kfe-site .kfe-product-top { display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:start; padding:12px 0 42px; }
.kfe-site .kfe-product-main-image { margin:0; background:var(--kfe-wash); border:1px solid var(--kfe-line); border-radius:5px; }
.kfe-site .kfe-product-main-image img { width:100%; max-height:560px; object-fit:contain; display:block; padding:24px; }
.kfe-site .kfe-product-top .kfe-image-empty { min-height:340px; }
.kfe-site .kfe-product-summary { font-size:1.06rem; color:var(--kfe-muted); line-height:1.9; }
.kfe-site .kfe-product-summary p:last-child { margin-bottom:0; }
.kfe-site .kfe-tag-list { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 18px; padding:0; list-style:none; }
.kfe-site .kfe-tag-list a { font-size:.8rem; color:var(--kfe-accent); text-decoration:none; }
.kfe-site .kfe-anchor-nav { display:flex; flex-wrap:wrap; gap:10px 24px; padding:20px 0; border-block:1px solid var(--kfe-line); margin-bottom:10px; }
.kfe-site .kfe-anchor-nav a { font-size:.9rem; font-weight:600; color:var(--kfe-ink); }
.kfe-site .kfe-detail-section { padding-block:32px; scroll-margin-top:110px; }
.kfe-site .kfe-detail-section + .kfe-detail-section { border-top:1px solid var(--kfe-line); }
.kfe-site .kfe-detail-section h2 { margin-bottom:22px; }
.kfe-site .kfe-parameters { width:100%; table-layout:fixed; border-collapse:collapse; border:1px solid var(--kfe-line); margin:0; font-size:1rem; }
.kfe-site .kfe-parameters caption { color:var(--kfe-muted); font-size:.85rem; text-align:start; padding:0 0 14px; }
.kfe-site .kfe-parameters th, .kfe-site .kfe-parameters td { padding:15px 20px; border:1px solid var(--kfe-line); vertical-align:top; text-align:start; white-space:normal; overflow-wrap:anywhere; word-break:normal; line-height:1.7; }
.kfe-site .kfe-parameters th { width:32%; background:var(--kfe-wash); font-weight:600; color:var(--kfe-ink); }
.kfe-site .kfe-parameters td { color:var(--kfe-muted); }
.kfe-site .kfe-rich-text { color:var(--kfe-ink); line-height:1.9; overflow-wrap:anywhere; }
.kfe-site .kfe-rich-text h2, .kfe-site .kfe-rich-text h3 { margin:1.5em 0 .7em; }
.kfe-site .kfe-rich-text > :first-child { margin-top:0; }
.kfe-site .kfe-rich-text img { max-width:100%; height:auto; }
.kfe-site .kfe-rich-text table { max-width:100%; }
.kfe-site .kfe-rich-text pre { overflow-x:auto; }
.kfe-site .kfe-gallery { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:20px; }
.kfe-site .kfe-gallery figure { margin:0; padding:12px; background:var(--kfe-wash); border:1px solid var(--kfe-line); }
.kfe-site .kfe-gallery img { display:block; width:100%; aspect-ratio:4/3; object-fit:contain; }
.kfe-site .kfe-gallery figcaption { font-size:.8rem; color:var(--kfe-muted); padding-top:10px; line-height:1.7; }
.kfe-site .kfe-contact { display:flex; justify-content:space-between; gap:36px; padding:32px; background:var(--kfe-wash); border:1px solid var(--kfe-line); border-left:4px solid var(--kfe-accent); margin-top:30px; border-radius:3px; }
.kfe-site .kfe-contact h2 { font-size:1.5rem; }
.kfe-site .kfe-contact-details { display:flex; flex-direction:column; gap:10px; align-items:flex-start; max-width:60%; overflow-wrap:anywhere; }
.kfe-site .kfe-contact-details a { color:var(--kfe-ink); font-size:1rem; }
.kfe-site .kfe-contact-details p { color:var(--kfe-muted); font-size:.9rem; margin:0; }
.kfe-site .kfe-about { display:grid; grid-template-columns:1fr 2fr; gap:48px; }
.kfe-site .kfe-about .kfe-rich-text p:last-child { margin-bottom:0; }
.kfe-site .kfe-content .pagination { margin:38px 0 0; }
.kfe-site .kfe-content .nav-links { display:flex; justify-content:center; gap:8px; flex-wrap:wrap; }
.kfe-site .kfe-content .page-numbers { display:inline-flex; min-width:42px; min-height:42px; align-items:center; justify-content:center; padding:8px 13px; border:1px solid var(--kfe-line); color:var(--kfe-ink); text-decoration:none; border-radius:3px; }
.kfe-site .kfe-content .page-numbers.current { background:var(--kfe-ink); color:#fff; border-color:var(--kfe-ink); }
.kfe-site .kfe-empty { padding:40px; background:var(--kfe-wash); border:1px solid var(--kfe-line); color:var(--kfe-muted); }
.kfe-site .kfe-error { padding:50px 0 70px; }
.kfe-site .kfe-error-code { color:var(--kfe-accent); font-weight:700; font-size:5rem; line-height:1; margin-bottom:24px; }
.kfe-site .kfe-error .search-form { margin-top:30px; max-width:560px; }
.kfe-site .kfe-post-meta { color:var(--kfe-muted); font-size:.85rem; margin-bottom:30px; }
.kfe-site .kfe-post-image { margin-bottom:32px; }
.kfe-site .kfe-post-image img { width:100%; max-height:580px; object-fit:contain; }
@media (max-width:1024px) {
 .kfe-site .kfe-grid-four { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .kfe-site .kfe-hero-grid { gap:30px; }
 .kfe-site .kfe-product-top { gap:30px; }
 .kfe-site .kfe-card-body { padding:20px; }
}
@media (max-width:767px) {
 .kfe-site .kfe-container, .kfe-site .kfe-narrow { width:calc(100% - 36px); }
 .kfe-site .kfe-content { padding-block:26px 44px; }
 .kfe-site .kfe-hero { padding:38px 0; background:#eef4f2; }
 .kfe-site .kfe-hero-grid, .kfe-site .kfe-product-top, .kfe-site .kfe-about { grid-template-columns:1fr; gap:26px; }
 .kfe-site .kfe-hero h1 { font-size:2.35rem; margin-bottom:18px; }
 .kfe-site .kfe-hero p { font-size:1rem; }
 .kfe-site .kfe-hero-media { padding:14px; margin:0; }
 .kfe-site .kfe-hero-note { padding:28px; }
 .kfe-site .kfe-hero-note strong { font-size:1.5rem; }
 .kfe-site .kfe-section { padding-block:28px; }
 .kfe-site .kfe-section-heading { align-items:start; gap:12px; margin-bottom:20px; }
 .kfe-site .kfe-section-heading a { font-size:.8rem; padding-top:5px; }
 .kfe-site .kfe-grid-three { grid-template-columns:repeat(2,minmax(0,1fr)); gap:16px; }
 .kfe-site .kfe-card-body { padding:16px; }
 .kfe-site .kfe-card h2, .kfe-site .kfe-card h3 { font-size:1.05rem; }
 .kfe-site .kfe-card p { font-size:.86rem; }
 .kfe-site .kfe-category-card { padding:20px; }
 .kfe-site .kfe-category-nav { gap:8px; margin:20px 0; }
 .kfe-site .kfe-category-nav a { padding:8px 12px; font-size:.85rem; }
 .kfe-site .kfe-product-top .kfe-image-empty { min-height:220px; }
 .kfe-site .kfe-product-main-image img { max-height:400px; padding:18px; }
 .kfe-site .kfe-product-top { padding-bottom:26px; }
 .kfe-site .kfe-parameters { font-size:.93rem; }
 .kfe-site .kfe-parameters th, .kfe-site .kfe-parameters td { padding:12px; }
 .kfe-site .kfe-parameters th { width:34%; }
 .kfe-site .kfe-gallery { grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px; }
 .kfe-site .kfe-contact { flex-direction:column; gap:20px; padding:24px; }
 .kfe-site .kfe-contact-details { max-width:100%; }
 .kfe-site .kfe-empty { padding:26px; }
}
@media (max-width:480px) {
 .kfe-site .kfe-grid-three, .kfe-site .kfe-grid-four { grid-template-columns:1fr; }
 .kfe-site .kfe-card-media { aspect-ratio:16/11; }
 .kfe-site .kfe-gallery { grid-template-columns:1fr; }
 .kfe-site .kfe-actions { gap:10px; }
 .kfe-site a.kfe-button { padding:10px 16px; }
}
@media (prefers-reduced-motion:reduce) { .kfe-site .kfe-card { transition:none; } }
@media print {
 .kfe-site .kfe-actions, .kfe-site .kfe-category-nav, .kfe-site .kfe-anchor-nav { display:none; }
 .kfe-site .kfe-product-top { display:block; }
 .kfe-site .kfe-container { width:100%; }
 .kfe-site .kfe-parameters tr { break-inside:avoid; }
}
