/*
Theme Name: Grinding Master
Description: English manufacturer website for grinding media and wear parts.
Version: 1.0.0
Requires at least: 6.4
Requires PHP: 8.1
Text Domain: grinding-master
*/
:root{--ink:#102c3e;--blue:#146da0;--muted:#566b79;--line:#d9e2e8;--paper:#f5f7f9}
*{box-sizing:border-box}html{scroll-behavior:auto}body{margin:0;background:var(--paper);color:var(--ink);font-family:Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65}a{color:inherit;text-decoration:none}button,input,textarea,select{font:inherit}button,a,input,textarea{touch-action:manipulation}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible{outline:3px solid #178ccd;outline-offset:4px}img{display:block;max-width:100%;height:auto}button:disabled{opacity:.65;cursor:wait}p{margin:0 0 1.3em}h1,h2,h3,h4{line-height:1.12}h1{font-size:clamp(40px,5.5vw,78px);letter-spacing:-.04em;margin:0 0 28px;font-weight:700}h2{font-size:clamp(30px,3.1vw,46px);letter-spacing:-.03em;margin:0 0 28px}h3{font-size:25px;letter-spacing:-.02em}h4{font-size:16px;margin-top:8px}::selection{background:#b9d9e9}.skip-link{position:absolute;top:-100px;left:15px;z-index:100;background:white;padding:12px}.skip-link:focus{top:10px}.topbar{padding:9px 5%;background:#0f2a3b;color:#d5e1e8;display:flex;justify-content:space-between;gap:20px;font-size:12px;letter-spacing:.06em}.topbar a{letter-spacing:0}.site-header{display:flex;align-items:center;justify-content:space-between;padding:18px 5%;background:#fff;gap:30px;border-bottom:1px solid var(--line)}.logo{width:183px;height:64px;object-fit:contain}.site-header nav{display:flex;align-items:center;gap:30px;font-size:14px;font-weight:600}.site-header nav>a:not(.button):hover{color:var(--blue)}.button{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:14px 24px;background:var(--blue);color:#fff;font-size:15px;font-weight:600;line-height:1.4;border:0;border-radius:0;cursor:pointer;min-height:48px}.button:hover{background:#10557e}.button.light{background:white;color:var(--ink);white-space:nowrap}.menu-toggle{display:none}.hero{min-height:640px;position:relative;isolation:isolate;display:flex;align-items:center;background:#091e2c;color:#fff}.hero:after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,rgba(4,21,32,.97) 10%,rgba(4,21,32,.68) 48%,rgba(4,21,32,.05) 100%);z-index:-1}.hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:70% 45%;z-index:-2}.hero-copy{padding:60px 7%;max-width:900px}.eyebrow{display:block;color:var(--blue);font-size:12px;letter-spacing:.14em;font-weight:700;line-height:1.5;margin:0 0 20px}.hero .eyebrow{color:#99cce8}.hero-copy>p:not(.eyebrow){font-size:19px;color:#d9e3e9;max-width:520px}.hero-actions{display:flex;align-items:center;gap:30px;flex-wrap:wrap;margin-top:30px}.hero-secondary{font-size:15px;border-bottom:1px solid #8aa2b0;padding:10px 0}.hero-note{position:absolute;bottom:23px;left:7%;right:7%;font-size:11px;letter-spacing:.12em;color:#c0d1db}.hero-note span{padding:0 14px;color:#7293a8}.section{padding:80px 7%}.section-heading{display:flex;align-items:flex-end;justify-content:space-between;gap:40px;margin-bottom:35px}.section-heading h2{margin-bottom:0}.section-heading>p{font-size:17px;color:var(--muted);margin:0 0 5px}.product-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px}.product-card{display:flex;flex-direction:column;background:white;border-bottom:3px solid var(--blue);overflow:hidden;min-width:0}.product-image{height:225px;overflow:hidden;background:#e4e9ed}.product-image img{width:100%;height:100%;object-fit:cover}.product-body{padding:25px 22px;display:flex;flex:1;flex-direction:column}.product-body .eyebrow{font-size:11px;margin-bottom:12px}.product-body h3{font-size:23px;margin:0 0 16px}.product-body p{font-size:15px;color:var(--muted)}.product-body .text-link{margin-top:auto}.text-link{color:var(--blue);font-size:15px;font-weight:700}.text-link:hover{text-decoration:underline}.factory-split{display:grid;grid-template-columns:1fr 1fr;background:#e9eef2}.factory-split>img{width:100%;height:510px;object-fit:cover}.factory-split>div{padding:65px 14%;align-self:center}.factory-split p:not(.eyebrow){color:var(--muted)}.industry-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:0;border-top:1px solid var(--line)}.industry-grid>article,.industry-grid>a{padding:30px 24px 15px 0;border-bottom:1px solid var(--line);min-width:0}.industry-grid>article+article,.industry-grid>a+a{padding-left:24px;border-left:1px solid var(--line)}.number{color:var(--blue);font-size:13px;font-weight:700;letter-spacing:.04em}.industry-grid h3{font-size:22px;line-height:1.35;margin:24px 0;min-height:120px}.industry-grid h2{font-size:27px;margin:20px 0}.industry-grid p{font-size:16px;color:var(--muted)}.contact-band{padding:65px 7%;background:#0f2b3d;color:white;display:flex;justify-content:space-between;align-items:center;gap:50px}.contact-band>div{max-width:720px}.contact-band .eyebrow{color:#86bfdf}.contact-band h2{font-size:clamp(30px,3vw,42px);margin-bottom:20px}.contact-band p:last-child{color:#c6d6df;margin:0}.footer{padding:65px 7% 22px;background:#081c29;color:#c5d4dd;display:grid;grid-template-columns:1.25fr 1fr 1fr;gap:45px;font-size:14px}.footer h3{color:white;font-size:26px;margin:0 0 20px}.footer h4{color:#fff}.footer a{display:block;margin-bottom:10px;overflow-wrap:anywhere}.footer a:hover{color:white;text-decoration:underline}.footer-intro p{max-width:320px}.footer-bottom{grid-column:1/-1;display:flex;justify-content:space-between;border-top:1px solid #263f50;padding-top:24px;font-size:12px}.breadcrumbs{padding:14px 7%;background:#fff;font-size:14px;color:var(--muted)}.breadcrumbs ol{list-style:none;display:flex;gap:12px;flex-wrap:wrap;margin:0;padding:0}.breadcrumbs li+li:before{content:'/';margin-right:12px;color:#738997}.breadcrumbs a:hover{text-decoration:underline}.page-head{padding:65px 7%;background:#e9eff3;border-bottom:1px solid var(--line)}.page-head h1{font-size:clamp(38px,4.5vw,65px);max-width:950px;margin-bottom:0}.page-head>p:last-child:not(.eyebrow){max-width:700px;margin-top:25px;margin-bottom:0;font-size:18px;color:var(--muted)}.lead{font-size:19px;color:var(--muted)}.muted{font-size:14px;color:var(--muted)}.product-detail{display:grid;grid-template-columns:1fr 1fr;gap:65px;align-items:center}.detail-media img{width:100%;height:480px;object-fit:cover}.product-detail h1{font-size:clamp(36px,4vw,58px)}.product-detail .muted{margin:22px 0 0}.detail-bottom{padding-top:10px;display:grid;grid-template-columns:1fr 1fr;gap:65px}.detail-bottom h2{font-size:30px}.spec-table{width:100%;border-collapse:collapse;font-size:15px;background:white}.spec-table caption{text-align:left;font-size:14px;color:var(--muted);padding:0 0 14px}.spec-table th,.spec-table td{padding:15px 16px;text-align:left;border-bottom:1px solid var(--line);vertical-align:top;overflow-wrap:anywhere}.spec-table th{width:45%;font-weight:600}.prose h2{margin-top:40px}.prose h2:first-child{margin-top:0}.prose h3{margin:30px 0 15px}.prose p,.prose li{color:#455e70}.prose ul{padding-left:24px}.prose li{margin-bottom:12px}.prose a:not(.industry-grid a){color:var(--blue);text-decoration:underline}.page-content{max-width:1500px;margin:auto}.content-split{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center;margin-bottom:60px}.content-split img{width:100%;height:390px;object-fit:cover}.process-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:28px;margin:40px 0 65px}.process-grid h3{font-size:24px}.process-grid p{font-size:16px}.contact-layout{display:grid;grid-template-columns:.8fr 1.2fr;gap:70px}.contact-layout aside{max-width:440px}.contact-layout aside>p{color:var(--muted)}.contact-item{padding:20px 0;border-bottom:1px solid var(--line);margin-bottom:20px;overflow-wrap:anywhere}.contact-item span{display:block;color:var(--muted);font-size:13px;margin-bottom:6px}.contact-item a{font-size:19px;color:var(--blue)}.inquiry-form{background:white;padding:35px;border-top:3px solid var(--blue)}.inquiry-form label{display:block;font-size:14px;font-weight:600;margin-bottom:20px}.inquiry-form input:not([type=checkbox]),.inquiry-form select,.inquiry-form textarea{width:100%;display:block;border:1px solid #bbccd7;background:#fff;padding:12px 13px;margin-top:7px;color:var(--ink);font-size:16px;min-width:0;border-radius:0}.inquiry-form textarea{resize:vertical;min-height:150px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 20px}.inquiry-form .consent{display:flex;gap:12px;align-items:flex-start;font-size:14px;font-weight:400;color:var(--muted)}.consent input{width:18px;height:18px;flex-shrink:0;margin-top:4px}.consent a{text-decoration:underline;color:var(--blue)}.honeypot{position:absolute;left:-10000px;width:1px;height:1px;overflow:hidden}.success-box{padding:20px;background:#e6f4ec;border:1px solid #a4d0b5;color:#174c33}.error-box{padding:16px;background:#fff0ef;border:1px solid #e4b4b0;color:#85231c}.not-found{min-height:520px}.not-found>p:not(.eyebrow){max-width:580px}.page-feature{padding:30px 7% 0}.page-feature img{width:100%;max-height:500px;object-fit:cover}.admin-bar .skip-link:focus{top:40px}
@media(min-width:1600px){.hero{min-height:720px}.product-image{height:280px}}
@media(max-width:1100px){.site-header nav{gap:18px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.industry-grid,.process-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.industry-grid h3{min-height:70px}.industry-grid>a:nth-child(3){border-left:0;padding-left:0}.factory-split>div{padding:40px 10%}.contact-layout{gap:35px}.product-detail,.detail-bottom{gap:35px}.footer{gap:30px}.content-split{gap:30px}}
@media(max-width:760px){.topbar{padding:8px 5%;font-size:11px}.topbar span{display:none}.topbar a{margin-left:auto}.site-header{padding:12px 5%;flex-wrap:wrap;gap:10px}.logo{width:155px;height:54px}.menu-toggle{display:flex;align-items:center;gap:14px;border:1px solid var(--line);background:#fff;padding:9px 12px;font-size:14px}.site-header nav{display:none;flex-direction:column;align-items:stretch;width:100%;gap:0}.site-header nav.is-open{display:flex}.site-header nav>a{padding:12px 8px}.site-header nav .button{margin:8px 0}.hero{min-height:570px}.hero-copy{padding:55px 6% 90px}.hero-copy>p:not(.eyebrow){font-size:17px}.hero h1{font-size:clamp(44px,10vw,70px)}.hero:after{background:linear-gradient(90deg,rgba(4,21,32,.94),rgba(4,21,32,.55))}.hero-note{left:6%;right:6%;font-size:10px;line-height:1.8;bottom:20px}.hero-note span{padding:0 5px}.hero-actions{gap:22px}.section{padding:48px 6%}.section-heading{display:block;margin-bottom:28px}.section-heading>p{margin-top:24px}.section-heading br{display:none}.product-grid{grid-template-columns:1fr;gap:25px}.product-image{height:280px}.product-body{padding:25px}.factory-split{grid-template-columns:1fr}.factory-split>img{height:300px}.factory-split>div{padding:40px 6%}.industry-grid{grid-template-columns:1fr}.industry-grid>a,.industry-grid>a+a{padding:25px 0;border-left:0}.industry-grid h3{min-height:0;margin:16px 0}.process-grid{grid-template-columns:1fr;gap:15px}.contact-band{display:block;padding:45px 6%}.contact-band .button{margin-top:28px}.footer{grid-template-columns:1fr;padding:45px 6% 20px;gap:25px}.footer-bottom{gap:15px}.breadcrumbs{padding:12px 6%;font-size:13px}.page-head{padding:45px 6%}.product-detail,.detail-bottom,.content-split,.contact-layout{grid-template-columns:1fr;gap:32px}.detail-media img{height:330px}.detail-bottom{padding-top:0}.content-split{margin-bottom:40px}.content-split img{height:300px}.inquiry-form{padding:25px 20px}.form-grid{grid-template-columns:1fr}.contact-layout aside{max-width:none}.spec-table{font-size:14px}.spec-table th,.spec-table td{padding:12px 10px}.page-content h2{font-size:29px}h1{overflow-wrap:anywhere}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
[hidden]{display:none!important}

.category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.gm-gallery{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;margin:32px 0}.gm-gallery figure{margin:0;min-width:0}.gm-gallery img{display:block;width:100%;height:260px;object-fit:contain;background:#edf0f3}.gm-gallery figcaption{font-size:13px;line-height:1.5;color:#586576;margin-top:10px}.detail-bottom{align-items:start}.detail-bottom .prose{min-width:0}@media(max-width:900px){.category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}@media(max-width:600px){.category-grid,.gm-gallery{grid-template-columns:1fr}.gm-gallery img{height:240px}}
/* Factory editorial: full photographs beside the process they document. */
.editorial-intro{max-width:850px;margin-bottom:38px}.editorial-photo{margin:0;min-width:0}.editorial-photo img{display:block;width:100%;height:auto!important;max-height:none!important;border-radius:0;object-fit:contain}.editorial-photo figcaption{font-size:13px;line-height:1.6;color:#586576;margin-top:12px}.wide-photo{margin-bottom:68px}.photo-story{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:48px;align-items:center;margin:0 0 72px}.photo-story>div{min-width:0}.photo-story h2{margin-top:10px}.photo-story-reverse>figure{order:2}.photo-story-reverse>div{order:1}.photo-story .eyebrow{font-size:12px;letter-spacing:.12em}.page-content:has(.photo-story){max-width:1280px}@media(max-width:800px){.photo-story{grid-template-columns:1fr;gap:24px;margin-bottom:48px}.photo-story-reverse>figure,.photo-story-reverse>div{order:initial}.wide-photo{margin-bottom:44px}}
/* Larger brand mark with room for navigation on smaller screens. */
.site-header .brand{flex-shrink:0}.site-header .logo{width:260px;height:96px}
@media(max-width:1000px){.site-header{padding:12px 5%;flex-wrap:wrap;gap:10px}.site-header .logo{width:210px;height:80px}.menu-toggle{display:flex;align-items:center;gap:14px;border:1px solid var(--line);background:#fff;padding:9px 12px;font-size:14px}.site-header nav{display:none;flex-direction:column;align-items:stretch;width:100%;gap:0}.site-header nav.is-open{display:flex}.site-header nav>a{padding:12px 8px}.site-header nav .button{margin:8px 0}}
@media(max-width:380px){.site-header .logo{width:168px;height:74px}}


.solution-summary{margin:48px 0 0;padding:28px 32px;border-left:4px solid var(--blue);background:#e9eef2;font-size:20px}.solution-summary p{margin:0}@media(max-width:760px){.solution-summary{padding:24px;font-size:18px}}
/* Improve header navigation readability. */
.site-header nav{font-size:17px}.site-header nav .button{font-size:17px}.menu-toggle{font-size:16px}
@media(min-width:1001px) and (max-width:1150px){.site-header{gap:20px}.site-header nav{gap:16px}.site-header nav .button{padding-left:16px;padding-right:16px}}

.credentials-grid,.qc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}.company-credentials,.manufacturing-qc{margin-top:64px}.credentials-grid .editorial-photo img{height:420px!important;object-fit:contain;background:#fff}.qc-grid .editorial-photo img{height:340px!important;object-fit:contain;background:#eef1f3}.qc-grid h3{margin-top:24px}.solution-service{margin:48px 0;padding:32px 0;border-top:1px solid var(--line)}.solution-service>div{max-width:900px}.page-content>.editorial-photo{max-width:900px;margin:36px auto 56px}@media(max-width:760px){.credentials-grid,.qc-grid{grid-template-columns:1fr}.credentials-grid .editorial-photo img{height:auto!important;max-height:520px!important}}

.hero-slides{position:absolute;inset:0;z-index:-2}.hero-slide{position:absolute;inset:0;opacity:0;transition:opacity .7s ease}.hero-slide.is-active{opacity:1}.hero-slide .hero-image{z-index:auto}.hero-controls{position:absolute;right:7%;bottom:64px;display:flex;align-items:center;gap:12px;color:white}.hero-controls button{background:rgba(8,28,41,.8);color:white;border:1px solid #8aa2b0;min-width:44px;min-height:44px;padding:8px 14px;cursor:pointer}.hero-slide-count{font-size:14px;font-variant-numeric:tabular-nums}.hero-copy{padding-bottom:130px}@media(max-width:760px){.hero-copy{padding-bottom:170px}.hero-controls{left:6%;right:auto;bottom:83px}.hero-note{bottom:14px}}@media(prefers-reduced-motion:reduce){.hero-slide{transition:none}}

.campaign-hero:after{display:none}.campaign-hero h1{white-space:pre-line;font-size:clamp(38px,4.1vw,64px)}.campaign-hero .hero-copy{max-width:900px;width:58%}.campaign-hero .hero-image{object-position:center}.campaign-hero .hero-copy>p:not(.eyebrow){max-width:530px}@media(max-width:760px){.campaign-hero .hero-copy{width:100%;max-width:none}.campaign-hero .hero-image{object-position:35% center;opacity:.45}.campaign-hero h1{font-size:clamp(36px,8.8vw,58px)}}

/* Editable inquiry form, based on the supplied reference. */
.home-inquiry{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.7fr);gap:70px;align-items:start;background:#fff}.home-inquiry h2{font-size:clamp(32px,4vw,54px)}
.gm-lead-form{min-width:0;background:#fff}.gm-lead-fields{display:grid;gap:26px}.gm-lead-fields>label{display:block;color:#ba483d;font-size:18px;font-weight:600}.gm-lead-fields input,.gm-lead-fields select{display:block;width:100%;max-width:100%;border:0;border-bottom:1px solid #215164;border-radius:0;background:#fff;padding:15px 8px 13px;color:#153f50;font:inherit;font-weight:400;min-height:54px}.gm-lead-fields textarea{display:block;width:100%;border:1px solid #215164;border-radius:0;padding:14px 12px;margin-top:14px;font:inherit;font-weight:400;color:#153f50;resize:vertical}.gm-lead-fields input::placeholder,.gm-lead-fields textarea::placeholder{color:#687980;opacity:1}.gm-lead-fields :is(input,select,textarea):focus{outline:2px solid #176b8b;outline-offset:3px}.gm-lead-form .consent{margin-top:26px;font-size:14px;align-items:flex-start}.gm-lead-form>button{display:block;margin-left:auto;min-width:210px;justify-content:center;background:#b9493e;color:white;border-radius:0 20px 0 0;border:0}.gm-lead-form>button:hover{background:#993b32}.gm-lead-form>button[hidden]{display:none}.gm-lead-form>button:disabled{opacity:.65}.gm-lead-form .form-status:empty{margin:0}.gm-lead-form .form-status:not(:empty){margin:20px 0;overflow-wrap:anywhere}.gm-lead-form .success-box{border-left:4px solid #287550;padding:20px;background:#eef8f2}.gm-lead-form .error-box{border-left:4px solid #ba483d;padding:20px;background:#fff0ed}
@media(max-width:850px){.home-inquiry{grid-template-columns:1fr;gap:30px}.gm-lead-fields{gap:22px}.gm-lead-form>button{width:100%}}
.gm-lead-form .gm-lead-fields input:not([type=checkbox]),.gm-lead-form .gm-lead-fields select{border:0;border-bottom:1px solid #215164;padding:15px 8px 13px;font-size:18px}.gm-lead-form .gm-lead-fields>label{margin-bottom:0}.gm-lead-form{border-top:0}.contact-layout{background:white}

.company-name{font-weight:600;line-height:1.5;overflow-wrap:anywhere}.page-head .company-name{max-width:900px;font-size:clamp(19px,2.2vw,28px);margin:18px 0 0}.footer .company-name{color:#fff;font-size:16px}.contact-layout .company-name{font-size:20px;margin-bottom:25px}

.site-header .brand{position:relative;display:inline-block;flex-shrink:0}.brand-registration{position:absolute;right:18%;top:10%;font-size:16px;line-height:1;color:#176b8b;font-weight:600}@media(max-width:760px){.brand-registration{font-size:13px}}

