/*
Theme Name: ChinaProdFactory
Theme URI: https://chinaprodfactory.com
Author: ChinaProdFactory
Description: A clean factory discovery and industry insights theme for international buyers.
Version: 1.0.2
Requires at least: 5.8
Tested up to: 6.8
Requires PHP: 7.2
Text Domain: chinaprodfactory
*/
:root{--cpf-ink:#102c3b;--cpf-teal:#0d887d;--cpf-muted:#607078;--cpf-paper:#f7f8f5;--cpf-line:#e4e9e5;--cpf-mint:#d9f2e9}*{box-sizing:border-box}body{margin:0;background:var(--cpf-paper);color:var(--cpf-ink);font-family:Arial,sans-serif;line-height:1.6}a{color:inherit;text-decoration:none}.cpf-shell{width:min(1160px,calc(100% - 40px));margin:auto}.cpf-top{background:var(--cpf-ink);color:#d1dfdf;font-size:12px;padding:8px 0}.cpf-nav{height:76px;display:flex;justify-content:space-between;align-items:center;background:#fff}.cpf-brand{font-weight:800;font-size:20px}.cpf-mark{background:var(--cpf-teal);color:#fff;border-radius:9px;padding:8px 11px;margin-right:9px}.cpf-links{display:flex;gap:25px;font-size:13px;font-weight:600}.cpf-btn{background:var(--cpf-teal);color:white;padding:12px 18px;border-radius:6px;font-weight:700;display:inline-block}.cpf-hero{background:#102c3b url('assets/factory-hero.png') center/cover no-repeat;color:#fff;position:relative;padding:86px 0 110px}.cpf-hero:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,#081f2ff2 0%,#081f2fdc 40%,#081f2f2b 100%)}.cpf-hero .cpf-shell{position:relative}.cpf-kicker{font-size:11px;color:#9de0ce;font-weight:800;letter-spacing:1.7px;text-transform:uppercase}.cpf-hero h1{font-size:clamp(42px,6vw,66px);line-height:1.06;letter-spacing:-2px;margin:20px 0}.cpf-hero h1 em{font-style:normal;color:#8cd6c0}.cpf-hero p{max-width:570px;color:#d3e0e1;font-size:17px}.cpf-hero-actions{display:flex;gap:12px;margin-top:25px;flex-wrap:wrap}.cpf-outline{border:1px solid #ffffff80;padding:11px 17px;border-radius:6px}.cpf-proof{background:#fff;padding:23px 28px;margin-top:-33px;position:relative;border-radius:9px;box-shadow:0 12px 36px #102c3b12;display:grid;grid-template-columns:repeat(4,1fr);gap:18px}.cpf-proof strong{display:block;font-size:18px}.cpf-proof small{color:var(--cpf-muted)}.cpf-section{padding:76px 0}.cpf-section-head{max-width:660px;margin-bottom:30px}.cpf-section-head h2{font-size:clamp(29px,4vw,42px);line-height:1.15;margin:10px 0}.cpf-section-head p,.cpf-muted{color:var(--cpf-muted)}.cpf-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:14px}.cpf-card{border:1px solid var(--cpf-line);background:#fff;padding:20px;border-radius:9px;min-height:190px;transition:.2s}.cpf-card:hover{transform:translateY(-3px);border-color:#a4d1c2;box-shadow:0 12px 25px #102c3b0c}.cpf-icon{width:40px;height:40px;border-radius:11px;background:#e5f5ef;color:var(--cpf-teal);display:grid;place-items:center;margin-bottom:14px;font-size:19px}.cpf-card h3{font-size:15px;margin:0 0 7px}.cpf-card p{font-size:12px;color:var(--cpf-muted);line-height:1.55}.cpf-card a{font-size:11px;color:var(--cpf-teal);font-weight:700}.cpf-article-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.cpf-article{background:#fff;border:1px solid var(--cpf-line);padding:21px;border-radius:9px}.cpf-article small{color:var(--cpf-teal);font-weight:800;text-transform:uppercase;letter-spacing:1px}.cpf-article h3{font-size:17px;line-height:1.35}.cpf-article p{font-size:13px;color:var(--cpf-muted)}.cpf-cta{background:var(--cpf-ink);color:#fff;padding:58px 0}.cpf-cta-row{display:flex;align-items:center;justify-content:space-between;gap:25px}.cpf-cta h2{margin:0;font-size:30px}.cpf-footer{background:#0b202c;color:#d5dfe0;padding:32px 0;font-size:12px}.cpf-footer small{color:#98adb1}.cpf-card-photo{padding:0;overflow:hidden;min-height:0}.cpf-card-photo>img{display:block;width:100%;height:145px;object-fit:cover}.cpf-card-body{padding:16px 17px 18px}.cpf-card-body p{min-height:56px}.cpf-equipment-section{background:#edf3f5}.cpf-equipment-head{display:flex;align-items:end;justify-content:space-between;gap:40px;margin-bottom:30px}.cpf-equipment-head>div{max-width:650px}.cpf-equipment-head h2{font-size:clamp(29px,4vw,42px);line-height:1.15;margin:10px 0 0}.cpf-equipment-head p{max-width:390px;color:var(--cpf-muted);font-size:13px;line-height:1.7;margin:0}.cpf-equipment-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.cpf-equipment-card{position:relative;min-height:285px;border-radius:10px;overflow:hidden;background:#102c3b;box-shadow:0 13px 28px #102c3b18}.cpf-equipment-card img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .4s}.cpf-equipment-card:hover img{transform:scale(1.04)}.cpf-equipment-card:after{content:"";position:absolute;inset:35% 0 0;background:linear-gradient(transparent,#081f2ff2)}.cpf-equipment-card>div{position:absolute;z-index:1;left:16px;right:15px;bottom:15px;color:white}.cpf-equipment-card small{color:#a8ded0;font-size:9px;font-weight:800;letter-spacing:1.2px}.cpf-equipment-card h3{margin:7px 0;font-size:18px;line-height:1.2}.cpf-equipment-card p{font-size:12px;line-height:1.45;color:#e0e9e9;margin:0}
@media(max-width:900px){.cpf-equipment-head{display:block}.cpf-equipment-head p{margin-top:12px}.cpf-grid{grid-template-columns:repeat(3,1fr)}.cpf-equipment-grid{grid-template-columns:repeat(2,1fr)}.cpf-proof{grid-template-columns:repeat(2,1fr)}.cpf-article-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:600px){.cpf-shell{width:calc(100% - 30px)}.cpf-links{display:none}.cpf-hero{padding:64px 0 95px;background-position:61% center}.cpf-hero h1{font-size:43px}.cpf-hero p{font-size:15px}.cpf-proof{padding:17px;gap:12px}.cpf-proof strong{font-size:16px}.cpf-grid{grid-template-columns:repeat(2,1fr);gap:9px}.cpf-card{padding:14px;min-height:185px}.cpf-card-photo{padding:0;min-height:0}.cpf-card-photo>img{height:118px}.cpf-card-body{padding:12px}.cpf-card-body p{min-height:0}.cpf-equipment-grid{grid-template-columns:1fr}.cpf-equipment-card{min-height:245px}.cpf-article-grid{grid-template-columns:1fr}.cpf-section{padding:55px 0}.cpf-cta-row{align-items:flex-start;flex-direction:column}}
