/*
Theme Name: Zhengye Production Lines
Theme URI: https://zhengyemachinery.com/
Author: Zhengye Machinery
Description: Distinct pig, cattle and sheep line sites for engineering buyers.
Version: 0.1.0
Requires at least: 6.6
Requires PHP: 8.0
Text Domain: zy-lines
*/
:root{font-family:Arial,Helvetica,sans-serif;color:#19332f;background:#f5f7f4;font-synthesis:none}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;line-height:1.6}
a{color:inherit;text-decoration:none}
img{max-width:100%;height:auto;display:block}
button,input,textarea{font:inherit}
.skip-link{position:absolute;left:-10000px;top:auto}
.skip-link:focus{left:14px;top:14px;z-index:99;background:#fff;padding:8px}
.wrap{max-width:1200px;margin:auto;padding-left:28px;padding-right:28px}
.site-header{position:relative;z-index:4;background:#123a35;color:#fff}
.site-header .wrap{min-height:82px;display:flex;align-items:center;justify-content:space-between;gap:30px}
.brand{font-weight:800;font-size:24px;letter-spacing:.06em;line-height:1.1}
.brand small{display:block;font-size:10px;font-weight:700;letter-spacing:.16em;color:#b7d5ca;margin-top:7px}
.main-nav{display:flex;align-items:center;gap:21px;font-size:13px;font-weight:700}
.main-nav a:hover,.footer-nav a:hover{text-decoration:underline;text-underline-offset:5px}
.nav-cta{background:#de8550;padding:11px 15px;border-radius:3px;color:#102d29}
.eyebrow{font-weight:800;font-size:11px;letter-spacing:.18em;text-transform:uppercase}
.btn{display:inline-block;padding:13px 19px;font-size:13px;font-weight:800;border-radius:3px;transition:transform .2s ease}
.btn:hover{transform:translateY(-2px)}
.btn-primary{background:#e38a53;color:#17332e}
.btn-outline{border:1px solid currentColor}
.section{padding:76px 0}
.section h2{font-size:clamp(29px,3vw,42px);line-height:1.15;margin:9px 0 18px}
.section-lede{max-width:760px;color:#526861;margin:0 0 30px}
.card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.card{background:#fff;padding:27px;border:1px solid #dbe5df;box-shadow:0 8px 25px #1741390a}
.card b{font-size:17px;display:block;margin-bottom:10px}
.card p{font-size:14px;color:#536a62;margin:0 0 12px}
.card a{font-size:13px;font-weight:800;color:#aa5930}
.muted{color:#5a7169}
.notice{font-size:13px;color:#5e716b;background:#eff4ef;padding:16px 18px;border-left:3px solid #74a392}
.site-footer{background:#102c2c;color:#d9e6e0;padding:57px 0 25px}
.footer-top{display:grid;grid-template-columns:1.1fr 1fr 1fr;gap:45px}
.site-footer h2{color:#fff;font-size:24px;margin:0 0 12px}
.site-footer h3{font-size:14px;color:#fff;margin:0 0 15px}
.site-footer p,.site-footer a{font-size:13px;line-height:1.8;color:#c3d6cd}
.footer-nav{display:grid;gap:7px}
.footer-bottom{margin-top:42px;border-top:1px solid #ffffff2b;padding-top:20px;font-size:12px;color:#a8c2b6}
.inner-hero{padding:58px 0;background:#e8efe9;border-bottom:1px solid #d9e3dc}
.inner-hero h1{font-size:clamp(32px,3.8vw,52px);line-height:1.13;margin:9px 0 15px;max-width:850px}
.breadcrumbs{font-size:12px;color:#617a70}
.breadcrumbs a{text-decoration:underline}
.page-layout{display:grid;grid-template-columns:minmax(0,1fr) 270px;gap:60px;padding-top:56px;padding-bottom:80px}
.page-body{font-size:16px;color:#344b43}
.page-body h2{font-size:27px;color:#1d3830;margin:44px 0 12px}
.page-body h3{font-size:20px;color:#1d3830;margin:30px 0 10px}
.page-body p,.page-body li{line-height:1.8}
.page-body ul,.page-body ol{padding-left:23px}
.page-body a{text-decoration:underline;color:#176b59}
.page-body figure{margin:25px 0}
.page-body figcaption{font-size:12px;color:#61776e;margin-top:8px}
.page-body table{width:100%;border-collapse:collapse;font-size:14px}
.page-body th,.page-body td{padding:12px;border:1px solid #d8e3db;text-align:left;vertical-align:top}
.page-body th{background:#ecf2ed}
.page-aside{align-self:start;background:#f0f5f0;padding:24px;position:sticky;top:24px}
.page-aside h2{font-size:17px;margin:0 0 15px}
.page-aside a{display:block;padding:10px 0;border-bottom:1px solid #d3e1d6;font-size:13px;font-weight:700}
.page-aside p{font-size:12px;color:#62766a;margin-top:20px}

/* Pig: process first, high contrast workflow. */
.line-pig .site-header{background:#113c38}
.pig-hero{background:#113c38;color:#fff;display:grid;grid-template-columns:44% 56%;min-height:530px}
.pig-hero-copy{padding:70px max(35px,calc((100vw - 1200px)/2)) 65px max(35px,calc((100vw - 1200px)/2));padding-right:35px}
.pig-hero h1{font-size:clamp(38px,4vw,59px);line-height:1.06;margin:18px 0 20px}
.pig-hero p{max-width:510px;color:#c8ddd5}
.pig-hero-img{height:100%;width:100%;object-fit:cover}
.pig-flow{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:7px;margin-top:32px}
.pig-flow a{background:#eaf3ed;border-top:4px solid #db7847;padding:20px 13px;min-height:132px;font-size:13px;font-weight:800}
.pig-flow em{display:block;font-style:normal;color:#ae603a;font-size:11px;letter-spacing:.1em;margin-bottom:18px}
.pig-planning{background:#e9f0eb}
.pig-planning .split{display:grid;grid-template-columns:1.1fr .9fr;gap:50px;align-items:center}
.pig-planning ul{columns:2;padding-left:20px}

/* Cattle: engineering drawings, inputs and rail logic lead. */
.line-cattle{background:#f5f6f3;color:#1e3438}
.line-cattle .site-header{background:#1c2c33}
.cattle-hero{display:grid;grid-template-columns:56% 44%;min-height:530px;background:#263943;color:#fff}
.cattle-hero-image{position:relative}
.cattle-hero-image img{width:100%;height:100%;object-fit:cover}
.cattle-hero-image span{position:absolute;left:28px;bottom:28px;background:#152a30e8;padding:11px 15px;font-size:11px;letter-spacing:.13em}
.cattle-hero-copy{padding:74px max(38px,calc((100vw - 1200px)/2)) 65px 52px}
.cattle-hero h1{font-size:clamp(37px,3.7vw,56px);line-height:1.06;margin:18px 0 22px}
.cattle-hero p{color:#c9d6d5}
.line-cattle .btn-primary{background:#dfac70;color:#182d32}
.cattle-engineering{background:#e9eeeb}
.engineering-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:22px;margin-top:32px}
.engineering-sequence{background:#fff;border:1px solid #d2ddd8;padding:26px}
.engineering-sequence ol{list-style:none;margin:0;padding:0;counter-reset:step}
.engineering-sequence li{counter-increment:step;display:flex;gap:16px;padding:17px 0;border-bottom:1px solid #e0e8e4;font-weight:700}
.engineering-sequence li:before{content:counter(step,decimal-leading-zero);font-size:11px;color:#b17b4f;letter-spacing:.1em}
.engineering-inputs{background:#273a42;color:#e9f1ed;padding:29px}
.engineering-inputs h3{margin:0 0 15px;font-size:21px}
.engineering-inputs li{margin:9px 0;color:#d0dfd8}
.line-cattle .card a{color:#946036}

/* Sheep and goat: calm, modular selection layout. */
.line-sheep{background:#fffaf2;color:#2b4239}
.line-sheep .site-header{background:#eee3d0;color:#244137;border-bottom:1px solid #dfd0b7}
.line-sheep .brand small{color:#5f7a6a}
.line-sheep .nav-cta{background:#316955;color:#fff}
.sheep-hero{max-width:1200px;margin:auto;padding:58px 28px;display:grid;grid-template-columns:.95fr 1.05fr;gap:56px;align-items:center}
.sheep-hero h1{font-size:clamp(39px,4vw,59px);line-height:1.08;margin:17px 0 20px}
.sheep-hero p{color:#5a7063;max-width:530px}
.sheep-hero img{width:100%;height:450px;object-fit:cover;border-radius:48% 48% 4px 4px}
.line-sheep .btn-primary{background:#326c58;color:#fff}
.sheep-modules{background:#f2e9db}
.module-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px;margin-top:30px}
.module{background:#fffaf2;padding:28px 22px;border-radius:17px 17px 3px 3px;min-height:230px}
.module small{font-weight:800;font-size:11px;letter-spacing:.14em;color:#3e8066}
.module h3{font-size:21px;line-height:1.2;margin:20px 0 12px}
.module p{font-size:13px;color:#697d6e;margin:0}
.sheep-choice{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.sheep-choice article{padding:34px;background:#fff;border:1px solid #e5dbc9}
.sheep-choice h3{font-size:23px;margin:0 0 10px}
.sheep-choice p{color:#637667}

@media(max-width:950px){.main-nav{gap:11px;font-size:12px}.pig-hero,.cattle-hero,.sheep-hero{grid-template-columns:1fr}.pig-hero-copy,.cattle-hero-copy{padding:50px 28px}.pig-hero-img,.cattle-hero-image img{height:340px}.cattle-hero-image{order:2}.pig-flow{grid-template-columns:repeat(3,1fr)}.module-grid{grid-template-columns:repeat(2,1fr)}.footer-top{gap:25px}}
@media(max-width:700px){.site-header .wrap{display:block;padding-top:18px;padding-bottom:15px}.main-nav{overflow-x:auto;white-space:nowrap;padding-top:17px}.nav-cta{padding:7px 10px}.section{padding:53px 0}.wrap{padding-left:20px;padding-right:20px}.card-grid,.engineering-grid,.sheep-choice,.pig-planning .split,.page-layout,.footer-top{grid-template-columns:1fr}.page-aside{position:static}.sheep-hero{padding:40px 20px;gap:30px}.sheep-hero img{height:315px;border-radius:8px}.pig-flow{grid-template-columns:repeat(2,1fr)}.module-grid{grid-template-columns:1fr 1fr}.footer-top{gap:13px}}
@media(max-width:480px){.module-grid{grid-template-columns:1fr}.pig-flow a{min-height:105px}.pig-planning ul{columns:1}.site-header .wrap{min-height:0}}
