/*
Theme Name: BENWEI PACK V2.1 | 本味包装
Theme URI: https://benweipack.com/
Author: BENWEI PACK
Description: Industrial B2B food packaging machinery and supporting materials theme.
Version: 2.2.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: benwei-v21
*/
:root{--navy:#14283e;--navy2:#1d344d;--red:#df3c32;--ink:#182536;--muted:#637181;--line:#e1e6eb;--pale:#f3f6f8;--paper:#fff;--soft:#eaf0f4;--max:1280px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:#fff;font-family:"Noto Sans SC","Microsoft YaHei",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.75}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}img{max-width:100%;height:auto;display:block}button{font:inherit}.wrap{width:min(var(--max),calc(100% - 64px));margin:auto}.skip-link{position:absolute;left:-9999px}.skip-link:focus{left:12px;top:12px;background:#fff;padding:10px;z-index:100}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.97);border-bottom:1px solid var(--line);backdrop-filter:blur(12px)}.header-inner{min-height:78px;display:flex;align-items:center;gap:20px}.brand{flex:0 0 auto}.brand img{width:240px;max-height:55px;object-fit:contain}.header-tagline{font-size:12px;color:#526274;border-left:1px solid #d5dce3;padding-left:18px;white-space:nowrap}.main-nav{display:flex;align-items:center;gap:23px;margin-left:auto;font-size:13px;font-weight:700;white-space:nowrap}.main-nav a{padding:26px 0}.main-nav a:hover,.main-nav .nav-contact{color:var(--red)}.header-phone{display:flex;flex-direction:column;line-height:1.2;margin-left:10px;white-space:nowrap}.header-phone span{font-size:10px;color:#788492}.header-phone strong{font-size:16px;color:var(--red);letter-spacing:.02em}.nav-toggle{display:none;border:1px solid var(--line);background:#fff;padding:8px 12px;color:var(--navy)}
.hero-home{min-height:520px;position:relative;display:flex;align-items:center;overflow:hidden;background:#eaf0f4}.hero-bg,.hero-overlay{position:absolute;inset:0}.hero-bg img{width:100%;height:100%;object-fit:cover;object-position:center}.hero-overlay{background:linear-gradient(90deg,rgba(246,249,251,.97) 0%,rgba(246,249,251,.92) 33%,rgba(246,249,251,.4) 57%,rgba(246,249,251,0) 78%)}.hero-inner{position:relative;z-index:2}.hero-copy{max-width:600px;padding:72px 0}.eyebrow{font-size:11px;letter-spacing:.16em;color:var(--red);font-weight:800;margin:0 0 12px;text-transform:uppercase}.hero-home h1{font-size:clamp(38px,4.3vw,58px);line-height:1.28;letter-spacing:-.025em;color:#12263d;margin:0 0 18px;font-weight:850}.hero-home h1 em{font-style:normal;color:var(--red)}.hero-desc{font-size:16px;color:#435569;line-height:1.95;max-width:550px;margin:0 0 23px}.hero-points{display:flex;gap:20px;flex-wrap:wrap;font-size:13px;font-weight:700;color:#2c4056}.hero-points span:before{content:"✓";color:var(--red);margin-right:7px}.hero-actions{display:flex;gap:12px;margin-top:30px;flex-wrap:wrap}.btn{display:inline-flex;align-items:center;justify-content:center;gap:16px;padding:13px 21px;border-radius:4px;font-size:13px;font-weight:800;transition:.18s ease}.btn:hover{transform:translateY(-2px)}.btn-red{background:var(--red);color:#fff}.btn-red:hover{background:#b92c26;color:#fff}.btn-outline{border:1px solid #233d57;color:#233d57;background:rgba(255,255,255,.75)}.btn-outline:hover{border-color:var(--red);color:var(--red)}.btn-dark{background:var(--navy);color:#fff}.btn-dark:hover{color:#fff;background:#29445f}.btn-large{padding:17px 24px;font-size:15px}
.trust-strip{background:#fff;border-bottom:1px solid var(--line)}.trust-grid{display:grid;grid-template-columns:repeat(4,1fr);padding:19px 0;gap:20px}.trust-grid>div{display:grid;grid-template-columns:36px 1fr;column-gap:10px;align-items:center;border-right:1px solid var(--line)}.trust-grid>div:last-child{border:0}.trust-grid b{grid-row:1 / span 2;color:var(--red);font:italic 20px Georgia,serif}.trust-grid span{font-weight:800;font-size:14px}.trust-grid small{font-size:11px;color:var(--muted)}
.section{padding:78px 0}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:24px;margin-bottom:28px}.section-heading h2,.materials-copy h2,.about-band h2,.home-faq h2{font-size:clamp(28px,3vw,40px);line-height:1.3;margin:0;color:#172a40;font-weight:850}.section-heading p:not(.eyebrow){margin:8px 0 0;color:var(--muted);font-size:14px}.text-link{color:var(--red);font-weight:800;font-size:13px;white-space:nowrap}.text-link b{margin-left:6px}.product-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.product-card{display:flex;flex-direction:column;border:1px solid var(--line);border-radius:8px;overflow:hidden;background:#fff;transition:.2s;min-width:0}.product-card:hover{transform:translateY(-4px);box-shadow:0 14px 30px rgba(21,42,64,.1);border-color:#cbd5df}.product-image{height:190px;background:#f0f3f5;display:flex;align-items:center;justify-content:center;padding:12px;overflow:hidden}.product-image img{width:100%;height:100%;object-fit:contain}.product-card-feature .product-image img{object-fit:cover}.product-svg img{max-width:100%;max-height:100%}.product-ncn img{max-height:165px}.product-info{padding:17px 18px 20px;display:flex;flex-direction:column;flex:1}.product-info small{font-size:9px;letter-spacing:.12em;color:var(--red);font-weight:800}.product-info h3{font-size:20px;margin:7px 0 8px;color:#172a40}.product-info p{font-size:12px;color:var(--muted);line-height:1.85;margin:0 0 14px}.product-info b{font-size:12px;color:var(--red);margin-top:auto}
.home-materials{background:#f2f5f7}.materials-grid{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.materials-visual{background:#e7edf1;border-radius:10px;padding:20px}.materials-visual img{width:100%;height:320px;object-fit:contain}.materials-copy .lead{font-size:20px;font-weight:750;color:#30485e;margin:15px 0}.materials-copy>p:not(.eyebrow){color:#5d6a78;font-size:14px}.material-links{display:grid;grid-template-columns:1fr 1fr;gap:8px 18px;margin:22px 0}.material-links a{border-bottom:1px solid #d6dfe6;padding:10px 0;font-size:13px;font-weight:750}.material-links span{color:var(--red);float:right}
.industry-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.industry-grid a{padding:27px 23px 29px;background:linear-gradient(145deg,#f8fafb,#eef2f5);border:1px solid var(--line);border-top:3px solid var(--red);border-radius:6px;min-height:190px;transition:.18s}.industry-grid a:hover{background:#fff;box-shadow:0 12px 25px rgba(22,40,59,.08);transform:translateY(-3px)}.industry-grid span{font-size:10px;color:var(--red);font-weight:850;letter-spacing:.1em}.industry-grid h3{font-size:22px;margin:17px 0 8px}.industry-grid p{font-size:12px;color:var(--muted);margin:0}
.process-section{background:#f7f9fa}.section-note{max-width:470px;font-size:13px;color:var(--muted)}.process-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.process-grid>div{border-top:2px solid var(--red);padding:20px 17px 0 0}.process-grid b{font:italic 19px Georgia,serif;color:var(--red)}.process-grid h3{font-size:18px;margin:11px 0 5px}.process-grid p{font-size:12px;color:var(--muted);margin:0}
.about-band{padding:68px 0;background:#14283e;color:#fff}.about-band-grid{display:grid;grid-template-columns:1.25fr .75fr;gap:70px;align-items:center}.about-band h2{color:#fff;margin:0 0 15px}.about-band p:not(.eyebrow){color:#c8d3df;font-size:14px;max-width:760px}.about-band .text-link{display:inline-block;margin-top:12px}.about-points{display:grid;gap:10px}.about-points>div{display:flex;justify-content:space-between;gap:18px;padding:15px 18px;border:1px solid rgba(255,255,255,.18);background:rgba(255,255,255,.05)}.about-points strong{font-size:14px}.about-points span{font-size:12px;color:#bdc9d5}
.home-faq{background:#fff}.faq-list{border-top:1px solid var(--line);margin-top:20px}.faq-list details{border-bottom:1px solid var(--line);padding:17px 0}.faq-list summary{font-size:14px;font-weight:800;cursor:pointer}.faq-list p{font-size:13px;color:var(--muted);margin:9px 0 0}.contact-cta{background:#f0f3f5;padding:48px 0}.contact-cta-inner{display:flex;align-items:center;justify-content:space-between;gap:25px}.contact-cta h2{font-size:30px;margin:0 0 7px;color:#172a40}.contact-cta p:not(.eyebrow){font-size:13px;color:var(--muted);margin:0}
.site-footer{background:#0e1b2a;color:#d4dce5;padding:48px 0 18px}.footer-main{display:grid;grid-template-columns:1.55fr .8fr .9fr .8fr 1fr;gap:32px}.footer-brand img{width:225px;background:#fff;padding:7px 10px;border-radius:3px}.footer-brand p{font-size:12px;margin:12px 0 3px}.footer-brand small{font-size:11px;color:#9eacbc}.site-footer h3{font-size:13px;color:#fff;margin:0 0 13px}.footer-main>div>a:not(.footer-phone){display:block;color:#b9c6d4;font-size:11px;margin:0 0 8px}.footer-phone{font-size:20px;color:#fff;font-weight:850}.footer-contact p{font-size:11px;color:#aebdcb}.footer-bottom{border-top:1px solid #34465a;margin-top:35px;padding-top:15px;display:flex;justify-content:space-between;gap:15px;flex-wrap:wrap;font-size:11px;color:#98a8b9}.footer-bottom a{color:#d0d9e2}
.page-hero{background:linear-gradient(120deg,#f2f5f7,#e8eef2);padding:55px 0 50px;border-bottom:1px solid var(--line)}.breadcrumb{font-size:11px;color:#778493;margin-bottom:19px}.breadcrumb span{padding:0 8px;color:#a3acb5}.page-hero h1{font-size:clamp(32px,4vw,48px);line-height:1.3;color:#172a40;margin:0 0 12px;font-weight:850}.page-lead{max-width:900px;color:#526274;font-size:15px;line-height:1.95;margin:0}.page-content{padding:55px 0 80px}.prose{max-width:980px;margin:0 auto}.prose>section{padding:24px 0 30px;border-bottom:1px solid var(--line)}.prose>section:first-child{padding-top:0}.prose h2{font-size:27px;line-height:1.4;color:#172a40;margin:0 0 14px;font-weight:800}.prose h3{font-size:19px;color:#213a53;margin:20px 0 8px}.prose p,.prose li{font-size:14px;line-height:1.95;color:#4f5f70}.prose p{margin:0 0 13px}.prose ul,.prose ol{padding-left:22px}.prose li{padding:3px 0}.prose a{color:#c72f2a;text-decoration:underline;text-underline-offset:3px}.bw-content-lead{background:#f4f7f9;padding:24px 27px!important;border-left:3px solid var(--red);margin-bottom:15px}.bw-content-lead p{margin:0;font-size:15px}.bw-cards{display:grid;grid-template-columns:repeat(2,1fr);gap:14px}.bw-cards article{background:#f7f9fa;border:1px solid var(--line);padding:22px;border-radius:6px}.bw-cards h3{margin:0 0 8px}.bw-cards p{font-size:13px}.bw-cards a{display:inline-block;margin-top:10px;font-size:12px;font-weight:800}.bw-product-image{margin:20px 0 24px;background:#f3f6f8;border:1px solid var(--line);padding:15px;border-radius:7px}.bw-product-image img{max-height:430px;width:100%;object-fit:contain}.bw-product-image figcaption{font-size:11px;color:#758292;margin-top:8px}.bw-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:6px}.bw-table-wrap table{width:100%;min-width:680px;border-collapse:collapse;font-size:12px}.bw-table-wrap th,.bw-table-wrap td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}.bw-table-wrap th{background:#edf2f5;color:#263c53}.bw-note{background:#fff6f3;border-left:3px solid var(--red);padding:14px 17px;margin-top:16px;font-size:12px!important}.bw-contact-card{background:#14283e;color:#fff;padding:26px 30px;margin:20px 0;border-radius:6px}.bw-contact-card p{color:#d5e0e9;margin:4px 0}.bw-contact-card .bw-label{font-size:11px;color:#b6c7d6}.bw-phone{font-size:32px;font-weight:850}.bw-phone a{color:#fff!important;text-decoration:none!important}.page-contact{margin:42px auto 0;max-width:980px;padding:22px 25px;background:#f2f5f7;border:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;gap:20px}.page-contact strong{font-size:15px;color:#172a40}.page-contact p{font-size:12px;color:var(--muted);margin:4px 0 0}.page-contact>a{font-size:18px;color:var(--red);font-weight:850}.post-list article{padding:22px 0;border-bottom:1px solid var(--line)}.post-list h2{font-size:22px;margin:5px 0;color:#172a40}.post-list p{font-size:13px;color:var(--muted)}.post-date{font-size:11px;color:#9aa5b0}.prose .wp-block-image img{border-radius:6px}
@media(max-width:1120px){.header-tagline{display:none}.main-nav{gap:15px}.product-grid{grid-template-columns:repeat(3,1fr)}.footer-main{grid-template-columns:1.4fr 1fr 1fr;}.footer-main>div:nth-child(4){display:none}}
@media(max-width:820px){.wrap{width:calc(100% - 40px)}.header-inner{min-height:70px}.brand img{width:205px}.header-phone{display:none}.nav-toggle{display:block;margin-left:auto}.main-nav{display:none;position:absolute;top:70px;left:0;right:0;background:#fff;padding:12px 22px 22px;box-shadow:0 14px 24px rgba(15,35,55,.1);flex-wrap:wrap;gap:0 22px}.main-nav.open{display:flex}.main-nav a{padding:8px 0}.hero-home{min-height:470px}.hero-overlay{background:linear-gradient(90deg,rgba(246,249,251,.97),rgba(246,249,251,.85) 58%,rgba(246,249,251,.2))}.hero-copy{padding:54px 0}.trust-grid{grid-template-columns:repeat(2,1fr)}.trust-grid>div:nth-child(2){border-right:0}.product-grid{grid-template-columns:repeat(2,1fr)}.materials-grid,.about-band-grid{grid-template-columns:1fr;gap:30px}.materials-visual img{height:250px}.industry-grid{grid-template-columns:repeat(2,1fr)}.process-grid{grid-template-columns:repeat(2,1fr)}.contact-cta-inner{align-items:flex-start;flex-direction:column}.footer-main{grid-template-columns:repeat(2,1fr)}}
@media(max-width:540px){.wrap{width:calc(100% - 30px)}.hero-home{min-height:480px}.hero-bg img{object-position:62% center}.hero-overlay{background:linear-gradient(90deg,rgba(246,249,251,.98),rgba(246,249,251,.9) 72%,rgba(246,249,251,.5))}.hero-home h1{font-size:36px}.hero-desc{font-size:14px}.hero-copy{padding:44px 0}.hero-points{gap:8px 14px;font-size:11px}.trust-grid{gap:12px}.trust-grid>div{border:0}.section{padding:54px 0}.section-heading{align-items:flex-start;flex-direction:column;gap:10px}.product-grid{grid-template-columns:1fr}.product-image{height:210px}.industry-grid,.process-grid,.bw-cards{grid-template-columns:1fr}.about-points>div{display:block}.about-points span{display:block;margin-top:4px}.footer-main{grid-template-columns:1fr 1fr;gap:25px 18px}.footer-brand{grid-column:1/-1}.footer-contact{grid-column:1/-1}.page-hero{padding:40px 0}.page-content{padding:38px 0 55px}.prose h2{font-size:24px}.prose p,.prose li{font-size:13px}.page-contact{display:block;padding:18px}.page-contact>a{display:inline-block;margin-top:10px}.bw-contact-card{padding:22px}.bw-phone{font-size:28px}}
