/*
Theme Name: 宁波迈达豪工业阀门
Theme URI: https://maidanhao.com/
Description: 面向中国工业阀门企业官网的模块化 WordPress 主题。
Version: 1.0.1
Author: 迈达豪工作室
Author URI: https://maidanhao.com/
Tags: one-column, two-columns, grid-layout, accessibility-ready, block-styles, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, threaded-comments, translation-ready, wide-blocks
Text Domain: maidanhao
Domain Path: /languages
Tested up to: 6.6
Requires at least: 6.1
Requires PHP: 7.4
License: GNU General Public License v2.0 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
*/

:root{--ink:#14232b;--muted:#5e6b70;--line:#dbe4e6;--paper:#f6f8f7;--white:#fff;--blue:#0b6274;--orange:#e56b35;--max:1200px;--radius:4px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;color:var(--ink);background:var(--white);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","Noto Sans SC","Microsoft YaHei",sans-serif;font-size:16px;line-height:1.75}a{color:var(--blue);text-decoration:none}a:hover,a:focus{text-decoration:underline}.site-shell{overflow:hidden}.container{width:min(calc(100% - 48px),var(--max));margin:auto}.alignwide{width:min(calc(100% - 48px),1320px);margin-left:auto;margin-right:auto}.alignfull{width:100%;max-width:none}.screen-reader-text{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.96);border-bottom:1px solid var(--line);backdrop-filter:blur(10px)}.header-inner{min-height:76px;display:flex;align-items:center;gap:28px}.site-branding{display:flex;align-items:center;gap:12px;min-width:220px}.custom-logo{max-height:42px;width:auto}.brand-mark{width:38px;height:38px;background:var(--blue);color:#fff;display:grid;place-items:center;font-weight:800;letter-spacing:-.08em;border-radius:3px}.site-title{font-size:17px;font-weight:800;letter-spacing:.02em;color:var(--ink)}.site-description{display:block;color:var(--muted);font-size:11px;line-height:1.2;margin-top:2px}.main-navigation{margin-left:auto}.main-navigation ul{display:flex;gap:26px;list-style:none;margin:0;padding:0}.main-navigation a{color:var(--ink);font-size:14px;font-weight:600}.main-navigation a:hover{color:var(--orange);text-decoration:none}.header-cta{background:var(--orange);color:#fff!important;padding:10px 16px;border-radius:3px}.menu-toggle{display:none;border:1px solid var(--line);background:#fff;padding:7px 10px;border-radius:3px}
.hero{background:var(--paper);padding:82px 0 76px;position:relative}.hero-grid{display:grid;grid-template-columns:1.02fr .98fr;gap:72px;align-items:center}.eyebrow{color:var(--orange);font-weight:800;letter-spacing:.15em;text-transform:uppercase;font-size:12px}.hero h1{font-size:clamp(38px,5vw,68px);line-height:1.1;letter-spacing:-.055em;margin:16px 0 24px;max-width:680px}.hero p{font-size:18px;color:var(--muted);max-width:590px}.button-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}.button{display:inline-flex;align-items:center;justify-content:center;padding:13px 21px;border:1px solid var(--blue);border-radius:3px;font-weight:700;font-size:14px}.button-primary{background:var(--blue);color:#fff}.button-primary:hover{background:#084d5b;text-decoration:none}.button-ghost{color:var(--blue)}.button-ghost:hover{background:#eaf2f3;text-decoration:none}.hero-image{position:relative}.hero-image img{display:block;width:100%;height:450px;object-fit:cover;border-radius:4px}.hero-image:after{content:"";position:absolute;right:-18px;bottom:-18px;width:120px;height:120px;border-right:3px solid var(--orange);border-bottom:3px solid var(--orange);z-index:0}.hero-image img{position:relative;z-index:1}
.section{padding:88px 0}.section-soft{background:var(--paper)}.section-head{display:flex;justify-content:space-between;gap:30px;align-items:end;margin-bottom:36px}.section-kicker{color:var(--orange);font-size:12px;font-weight:800;letter-spacing:.13em;text-transform:uppercase}.section h2{font-size:clamp(28px,3.5vw,44px);line-height:1.15;letter-spacing:-.04em;margin:9px 0 0}.section-intro{max-width:520px;color:var(--muted);margin:0}.module-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.module-card{border:1px solid var(--line);background:#fff;padding:26px;min-height:230px;display:flex;flex-direction:column;transition:transform .2s ease,border-color .2s ease}.module-card:hover{transform:translateY(-4px);border-color:var(--blue)}.module-number{color:var(--orange);font-weight:800;font-size:13px}.module-card h3{font-size:21px;margin:22px 0 10px}.module-card p{color:var(--muted);margin:0}.module-card a{margin-top:auto;padding-top:20px;font-size:14px;font-weight:700}.split{display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:center}.split img{width:100%;height:410px;object-fit:cover;border-radius:4px}.stats{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;border-top:1px solid var(--line);margin-top:36px;padding-top:26px}.stat strong{display:block;font-size:34px;line-height:1;color:var(--blue)}.stat span{display:block;color:var(--muted);font-size:13px;margin-top:7px}.case-grid{display:grid;grid-template-columns:1.2fr .8fr;gap:18px}.case-card{position:relative;min-height:320px;overflow:hidden;background:#123}.case-card img{width:100%;height:100%;object-fit:cover;display:block;opacity:.86;transition:transform .4s ease}.case-card:hover img{transform:scale(1.04)}.case-card-content{position:absolute;left:24px;right:24px;bottom:22px;color:#fff}.case-card-content h3{margin:4px 0;font-size:24px}.case-card-content p{margin:0;color:#e6eeee}.faq-list{border-top:1px solid var(--line);max-width:880px}.faq-list details{border-bottom:1px solid var(--line);padding:20px 0}.faq-list summary{cursor:pointer;font-weight:700;list-style:none;display:flex;justify-content:space-between}.faq-list summary:after{content:"+";color:var(--orange);font-size:22px;line-height:1}.faq-list details[open] summary:after{content:"–"}.faq-list p{color:var(--muted);max-width:760px;margin:13px 0 0}.cta{background:var(--blue);color:#fff;padding:56px 0}.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:30px}.cta h2{font-size:clamp(28px,3vw,42px);line-height:1.15;margin:0;letter-spacing:-.04em}.cta p{color:#cfe0e3;margin:10px 0 0}.cta .button{border-color:#fff;color:#fff}.cta .button:hover{background:#fff;color:var(--blue);text-decoration:none}
.site-footer{background:#102029;color:#c9d5d8;padding:54px 0 22px}.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:32px;padding-bottom:40px}.site-footer h2,.site-footer h3{color:#fff;margin-top:0}.site-footer h2{font-size:20px}.site-footer h3{font-size:14px}.site-footer p,.site-footer li{font-size:14px;color:#aebfc3}.site-footer ul{list-style:none;padding:0;margin:0}.site-footer li+li{margin-top:7px}.site-footer a{color:#c9d5d8}.footer-bottom{border-top:1px solid #2c424a;padding-top:18px;font-size:12px;color:#90a6ac;display:flex;justify-content:space-between;gap:18px}.page-header{background:var(--paper);padding:70px 0}.page-header h1{font-size:52px;line-height:1.1;margin:12px 0 0;letter-spacing:-.05em}.content-area{padding:70px 0}.entry-title{font-size:42px;line-height:1.2}.entry-content{max-width:820px}.entry-content img{max-width:100%;height:auto}.entry-content h2,.entry-content h3{line-height:1.25}.post-list{display:grid;gap:24px}.post-card{border-bottom:1px solid var(--line);padding-bottom:24px}.post-card h2{margin:5px 0}.post-card p{color:var(--muted)}.pagination{margin-top:30px}.widget-area{padding:60px 0}.widget-area .widget{margin-bottom:26px}
@media(max-width:900px){.header-inner{min-height:68px}.main-navigation{display:none;position:absolute;left:0;right:0;top:68px;background:#fff;border-bottom:1px solid var(--line);padding:18px 24px}.main-navigation.is-open{display:block}.main-navigation ul{display:grid;gap:12px}.menu-toggle{display:block;margin-left:auto}.header-cta{display:none}.hero-grid,.split,.case-grid{grid-template-columns:1fr;gap:36px}.hero{padding:58px 0}.hero-image img{height:340px}.section{padding:64px 0}.module-grid{grid-template-columns:1fr 1fr}.section-head,.cta-inner{align-items:start;flex-direction:column}.footer-grid{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.container,.alignwide{width:min(calc(100% - 32px),var(--max))}.module-grid,.stats,.footer-grid{grid-template-columns:1fr}.hero h1{font-size:42px}.hero p{font-size:16px}.hero-image img{height:260px}.page-header{padding:50px 0}.page-header h1{font-size:40px}.footer-bottom{flex-direction:column}.site-branding{min-width:0}.site-description{display:none}}
.wp-block-button__link,.wp-element-button{border-radius:3px}.wp-block-quote{border-left:3px solid var(--orange);padding-left:20px}.wp-block-image img{border-radius:4px}
