/*
Theme Name: BCST Industrial
Version: 1.0.0
Requires PHP: 7.4
Description: 工业品展示与询价主题，支持 Polylang 多语言。
Text Domain: bcst-industrial
*/
:root{--ink:#132f3b;--muted:#59717b;--accent:#b84b22;--paper:#f4f5ef;--line:#d9e0dc;--green:#124c48}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:16px/1.7 system-ui,-apple-system,"Segoe UI",sans-serif}a{color:inherit;text-underline-offset:4px}img{max-width:100%;height:auto}h1,h2,h3{line-height:1.15;letter-spacing:-.035em}h1{font-size:clamp(36px,5.8vw,76px);margin:0 0 24px}h2{font-size:clamp(26px,3vw,42px)}h3{font-size:24px}.wrap{width:min(1180px,calc(100% - 40px));margin:auto}.topbar{background:var(--ink);color:white;font-size:13px;padding:7px 0}.topbar .wrap{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap}.site-header{background:#fff;border-bottom:1px solid var(--line);padding:22px 0}.header-row{display:flex;align-items:center;justify-content:space-between;gap:28px}.brand{font-size:23px;font-weight:800;text-decoration:none;letter-spacing:-.04em}.custom-logo{max-width:170px;max-height:65px;width:auto}.menu,.languages{display:flex;gap:20px;list-style:none;margin:0;padding:0;flex-wrap:wrap}.menu a{text-decoration:none;font-weight:600;font-size:14px}.menu li{position:relative}.menu .sub-menu{display:none;position:absolute;top:100%;left:0;min-width:210px;padding:18px;background:white;box-shadow:0 10px 35px #132f3b22;list-style:none;z-index:10}.menu li:hover>.sub-menu,.menu li:focus-within>.sub-menu{display:block}.menu .sub-menu .sub-menu{left:100%;top:0}.languages{font-size:13px;margin-top:12px}.hero{padding:90px 0;background:linear-gradient(115deg,#e8eee5 0%,#f4f5ef 70%)}.hero-grid{display:grid;grid-template-columns:1.3fr .7fr;gap:55px;align-items:center}.eyebrow{text-transform:uppercase;letter-spacing:.18em;font-size:12px;font-weight:800;color:var(--green)}.hero p{max-width:640px;font-size:19px;color:var(--muted)}.hero-visual{aspect-ratio:1;border-radius:50%;background:repeating-radial-gradient(circle,#124c4800 0 28px,#124c4815 29px 30px);display:grid;place-items:center}.hero-visual svg{width:75%;color:var(--green)}.actions{display:flex;gap:14px;flex-wrap:wrap;margin-top:30px}.button,button,input[type=submit]{display:inline-block;background:var(--accent);color:white;border:0;padding:13px 22px;font:600 15px/1.5 system-ui;text-decoration:none;cursor:pointer;border-radius:3px}.button.secondary{background:transparent;color:var(--ink);border:1px solid var(--ink)}.section{padding:64px 0}.section-title{display:flex;align-items:center;justify-content:space-between;gap:24px}.grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.card{background:#fff;border:1px solid var(--line);padding:25px;overflow:hidden}.card h2,.card h3{font-size:23px}.card a{text-decoration:none}.card img{width:100%;height:235px;object-fit:contain}.placeholder{height:200px;background:#eef2ef;display:grid;place-items:center}.placeholder svg{height:130px;width:130px;color:#4e7772}.card p{color:var(--muted)}.band{background:var(--green);color:white;padding:50px 0}.band p{max-width:700px}.page-head{padding:56px 0 25px}.breadcrumb{font-size:13px;margin-bottom:25px;color:var(--muted)}.split{display:grid;grid-template-columns:1.5fr 1fr;gap:40px;align-items:start}.content{overflow-wrap:anywhere}.content table{width:100%;border-collapse:collapse}.content th,.content td{padding:12px;border-bottom:1px solid var(--line);text-align:start}.content figure{margin:20px 0}.content iframe{max-width:100%}.inquiry{padding:28px;background:white;border:1px solid var(--line)}.inquiry h2{font-size:28px}.inquiry label{display:block;font-size:14px;margin:15px 0}.inquiry input:not([type=checkbox]),.inquiry textarea,.search-form input[type=search]{width:100%;padding:12px;border:1px solid #aabcb7;border-radius:3px;font:inherit;background:#fcfdfb;color:var(--ink)}.inquiry textarea{resize:vertical}.bcst-trap{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.gallery{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.gallery img{aspect-ratio:1;object-fit:contain;background:white}details{border-bottom:1px solid var(--line);padding:16px 0}summary{cursor:pointer;font-weight:700}.categories{display:flex;flex-wrap:wrap;gap:12px;margin:20px 0 32px;padding:0;list-style:none}.categories a{display:block;background:#e3eae3;padding:8px 15px;text-decoration:none}.pagination{margin:30px 0}.page-numbers{padding:8px 12px}.site-footer{background:var(--ink);color:#e8efeb;padding:55px 0 30px}.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:40px}.site-footer h2{font-size:24px}.site-footer a{display:block;margin:8px 0}.copyright{border-top:1px solid #ffffff30;margin-top:30px;padding-top:22px;font-size:13px}.whatsapp{position:fixed;bottom:22px;right:22px;background:var(--green);color:white;padding:12px 20px;border-radius:30px;text-decoration:none;box-shadow:0 4px 18px #0003}.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px)}.screen-reader-text:focus{position:fixed;width:auto;height:auto;clip:auto;top:5px;left:5px;background:white;padding:12px;z-index:99}.search-form{display:flex;gap:8px;margin:22px 0}.search-form label{flex:1}.search-form .search-submit{background:var(--green)}[dir=rtl] .menu .sub-menu{left:auto;right:0}[dir=rtl] .menu .sub-menu .sub-menu{right:100%;left:auto}
@media(max-width:850px){.header-row{display:block}.menu{margin-top:18px;gap:12px}.hero-grid,.split{grid-template-columns:1fr}.hero-visual{display:none}.hero{padding:55px 0}.grid{grid-template-columns:repeat(2,1fr)}.menu .sub-menu,.menu .sub-menu .sub-menu{position:static;box-shadow:none}.footer-grid{grid-template-columns:1fr 1fr}.section{padding:40px 0}}
@media(max-width:520px){.grid,.footer-grid{grid-template-columns:1fr}.wrap{width:calc(100% - 30px)}.section-title{display:block}.card img{height:200px}.inquiry{padding:20px}.whatsapp{bottom:12px;right:12px}.content table{display:block;overflow:auto}}
