/*
Theme Name: Engineering Hardware
Theme URI: https://engineeringhardware.com
Author: engineeringhardware.com
Description: A clean, fast, SEO-first WordPress theme for engineeringhardware.com — a supplier of ISO and DIN filter mesh (woven wire mesh, perforated and expanded metal, welded and knitted mesh, sintered media, wedge wire, filter elements). Site-wide brushed metal mesh texture, frozen sticky navigation, catalog-archive ready, built to pair with the Filter Mesh Finder & Catalog plugin. American English.
Version: 1.1.1
License: GPL-2.0+
Text Domain: ehw
*/

:root{
  --ehw-primary:#1f3a5f;      /* steel blue */
  --ehw-primary-2:#2d5689;
  --ehw-accent:#c47a1a;       /* zinc-bronze accent */
  --ehw-ink:#16202b;
  --ehw-muted:#5c6b66;
  --ehw-line:#e1e8e5;
  --ehw-bg:#f4f6f9;
  --ehw-surface:#ffffff;
  --ehw-nav-h:66px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;color:var(--ehw-ink);line-height:1.6;-webkit-font-smoothing:antialiased;
  /* Site-wide brushed metal filter-mesh texture: a fine woven wire grid with a
     metallic sheen, painted onto a cool steel base and fixed like a real sheet. */
  --ehw-wire:rgba(93,107,125,.20);
  --ehw-wire-hi:rgba(255,255,255,.55);
  background-color:#e9edf2;
  background-image:
    linear-gradient(125deg,rgba(255,255,255,.55) 0%,rgba(214,221,229,.15) 38%,rgba(176,187,201,.22) 70%,rgba(232,236,241,.5) 100%),
    repeating-linear-gradient(90deg,var(--ehw-wire-hi) 0 1px,transparent 1px 3px,var(--ehw-wire) 3px 4px,transparent 4px 8px),
    repeating-linear-gradient(0deg,var(--ehw-wire-hi) 0 1px,transparent 1px 3px,var(--ehw-wire) 3px 4px,transparent 4px 8px);
  background-size:cover,8px 8px,8px 8px;
  background-attachment:fixed,fixed,fixed;
}
/* Keep long-form reading surfaces crisp over the mesh: content cards, header,
   footer and article bodies stay on solid fills (set elsewhere). Section blocks
   let the mesh show through as a subtle metallic backdrop. */
a{color:var(--ehw-primary)}
img{max-width:100%;height:auto}
.ehw-container{max-width:1180px;margin:0 auto;padding:0 20px}
.screen-reader-text{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(1px,1px,1px,1px);clip-path:inset(50%);white-space:nowrap}
.ehw-skip{position:absolute;left:-9999px}
.ehw-skip:focus{left:8px;top:8px;background:#fff;padding:8px 14px;z-index:2000;border-radius:6px}

/* ── Top bar ─────────────────────────────────── */
.ehw-topbar{background:var(--ehw-primary);color:#fff;font-size:13px}
.ehw-topbar-inner{display:flex;justify-content:space-between;align-items:center;height:36px;flex-wrap:wrap;gap:8px}
.ehw-topbar a{color:#fff;text-decoration:none}
.ehw-tb-left a,.ehw-tb-left span{margin-right:14px;opacity:.92}
.ehw-tb-right a{font-weight:600}

/* ── FROZEN sticky header ────────────────────── */
.ehw-header{position:fixed;top:0;left:0;right:0;z-index:1000;background:rgba(255,255,255,.96);backdrop-filter:saturate(180%) blur(8px);border-bottom:1px solid var(--ehw-line);transition:box-shadow .2s}
.ehw-header.is-scrolled{box-shadow:0 4px 20px -8px rgba(15,23,42,.25)}
.ehw-header-inner{display:flex;align-items:center;justify-content:space-between;height:var(--ehw-nav-h)}
.ehw-logo a{display:flex;align-items:center;gap:8px;text-decoration:none;color:var(--ehw-ink);font-weight:800;font-size:20px;letter-spacing:-.3px}
.ehw-logo .ehw-logo-mark{display:inline-block;width:26px;height:26px;border-radius:6px;background:linear-gradient(135deg,var(--ehw-primary),var(--ehw-primary-2));position:relative}
.ehw-logo .ehw-logo-mark::after{content:"";position:absolute;inset:7px;border:2px solid #fff;border-radius:50%;border-top-color:transparent;border-right-color:transparent}
.ehw-nav-menu{display:flex;list-style:none;margin:0;padding:0;gap:4px;align-items:center}
.ehw-nav-menu li{position:relative}
.ehw-nav-menu a{display:block;padding:10px 14px;text-decoration:none;color:var(--ehw-ink);font-weight:600;font-size:14.5px;border-radius:7px}
.ehw-nav-menu a:hover{background:var(--ehw-bg);color:var(--ehw-primary)}
.ehw-nav-menu .sub-menu{display:none;position:absolute;top:100%;left:0;background:#fff;border:1px solid var(--ehw-line);border-radius:9px;box-shadow:0 12px 32px -12px rgba(15,23,42,.3);min-width:220px;padding:6px;z-index:50}
.ehw-nav-menu li:hover>.sub-menu{display:block}
.ehw-nav-menu .sub-menu a{font-weight:500;font-size:14px}
.ehw-header-actions{display:flex;align-items:center;gap:10px}
.ehw-btn{display:inline-block;border:0;border-radius:8px;font-weight:700;font-size:14px;padding:10px 18px;cursor:pointer;text-decoration:none;font-family:inherit;transition:transform .12s}
.ehw-btn:hover{transform:translateY(-1px)}
.ehw-btn-primary{background:var(--ehw-accent);color:#fff}
.ehw-btn-outline{background:transparent;border:1.5px solid var(--ehw-line);color:var(--ehw-ink)}
.ehw-btn-sm{padding:8px 14px;font-size:13.5px}
.ehw-ham{display:none;flex-direction:column;gap:4px;width:40px;height:40px;border:1px solid var(--ehw-line);background:#fff;border-radius:8px;cursor:pointer;align-items:center;justify-content:center}
.ehw-ham span{display:block;width:20px;height:2px;background:var(--ehw-ink);border-radius:2px}
/* spacer so fixed header doesn't overlap content */
.ehw-header-spacer{height:var(--ehw-nav-h)}

/* ── Mobile drawer ───────────────────────────── */
.ehw-drawer-overlay{position:fixed;inset:0;background:rgba(15,23,42,.5);z-index:1100;opacity:0;pointer-events:none;transition:opacity .2s}
.ehw-drawer-overlay.is-open{opacity:1;pointer-events:auto}
.ehw-drawer{position:fixed;top:0;right:0;height:100%;width:300px;max-width:84vw;background:#fff;z-index:1101;transform:translateX(100%);transition:transform .25s;display:flex;flex-direction:column}
.ehw-drawer.is-open{transform:translateX(0)}
.ehw-drawer-head{display:flex;align-items:center;justify-content:space-between;padding:16px 18px;border-bottom:1px solid var(--ehw-line)}
.ehw-drawer-logo{font-weight:800}
.ehw-drawer-close{background:none;border:0;font-size:26px;cursor:pointer;line-height:1}
.ehw-drawer-menu{list-style:none;margin:0;padding:8px;overflow-y:auto}
.ehw-drawer-menu a{display:block;padding:12px 14px;text-decoration:none;color:var(--ehw-ink);font-weight:600;border-radius:7px}
.ehw-drawer-menu a:hover{background:var(--ehw-bg)}
@media(max-width:920px){
  .ehw-nav,.ehw-header-actions .ehw-btn{display:none}
  .ehw-ham{display:flex}
}

/* ── Footer ──────────────────────────────────── */
.ehw-footer{background:#101822;color:#c7d0db;margin-top:60px}
.ehw-footer-inner{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;padding:48px 0 32px}
@media(max-width:820px){.ehw-footer-inner{grid-template-columns:1fr 1fr}}
@media(max-width:520px){.ehw-footer-inner{grid-template-columns:1fr}}
.ehw-footer h4{color:#fff;font-size:14px;text-transform:uppercase;letter-spacing:.5px;margin:0 0 14px}
.ehw-footer a{color:#c7d0db;text-decoration:none;display:block;padding:4px 0;font-size:14px}
.ehw-footer a:hover{color:#fff}
.ehw-footer-brand{font-size:20px;font-weight:800;color:#fff;margin-bottom:10px}
.ehw-footer-tag{font-size:14px;line-height:1.6;max-width:340px}
.ehw-footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding:18px 0;font-size:13px;display:flex;justify-content:space-between;flex-wrap:wrap;gap:8px}

/* ── Generic page ────────────────────────────── */
.ehw-page-wrap{max-width:860px;margin:0 auto;padding:40px 20px 60px}
.ehw-page-wrap.wide{max-width:1180px}
.ehw-page-title{font-size:clamp(28px,5vw,42px);font-weight:800;margin:0 0 18px;line-height:1.15}
.ehw-content h2{font-size:24px;margin:30px 0 12px}
.ehw-content h3{font-size:19px;margin:22px 0 10px}
.ehw-content p,.ehw-content li{font-size:16px;line-height:1.75;color:#28323f}
.ehw-content img{border-radius:10px}

/* ── Homepage ────────────────────────────────── */
.ehw-hero{background:linear-gradient(135deg,#1f3a5f 0%,#2d5689 100%);color:#fff;padding:56px 0 64px;position:relative;overflow:hidden}
.ehw-hero::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 85% 20%,rgba(184,115,51,.25),transparent 40%);pointer-events:none}
.ehw-hero-inner{position:relative;z-index:1;max-width:760px}
.ehw-hero h1{font-size:clamp(30px,5vw,46px);font-weight:800;margin:0 0 16px;line-height:1.12}
.ehw-hero p{font-size:18px;opacity:.92;margin:0 0 26px}
.ehw-hero-actions{display:flex;gap:12px;flex-wrap:wrap}
.ehw-section{padding:54px 0}
.ehw-section-head{text-align:center;max-width:680px;margin:0 auto 34px}
.ehw-section-head h2{font-size:clamp(24px,4vw,34px);font-weight:800;margin:0 0 10px}
.ehw-section-head p{color:var(--ehw-muted);font-size:16px;margin:0}
.ehw-card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px}
.ehw-card{display:block;border:1px solid var(--ehw-line);border-radius:11px;padding:22px;text-decoration:none;background:#fff;transition:border-color .15s,box-shadow .15s,transform .15s}
.ehw-card:hover{border-color:var(--ehw-primary);box-shadow:0 12px 30px -16px rgba(31,58,95,.4);transform:translateY(-2px)}
.ehw-card h3{margin:0 0 8px;font-size:17px;color:var(--ehw-ink)}
.ehw-card p{margin:0;color:var(--ehw-muted);font-size:14px;line-height:1.5}
.ehw-section-alt{background:rgba(244,246,249,.80);backdrop-filter:saturate(115%)}
.ehw-config-home{margin-top:10px}

/* posts */
.ehw-post-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:22px}
.ehw-post-card{border:1px solid var(--ehw-line);border-radius:11px;overflow:hidden;background:#fff}
.ehw-post-card .thumb{aspect-ratio:16/9;background:var(--ehw-bg);display:block;overflow:hidden}
.ehw-post-card .thumb img{width:100%;height:100%;object-fit:cover}
.ehw-post-card .body{padding:18px}
.ehw-post-card h3{margin:0 0 8px;font-size:18px}
.ehw-post-card h3 a{text-decoration:none;color:var(--ehw-ink)}
.ehw-post-card .meta{font-size:13px;color:var(--ehw-muted);margin-bottom:8px}
.ehw-pagination{display:flex;gap:8px;justify-content:center;margin-top:36px}
.ehw-pagination .page-numbers{padding:8px 14px;border:1px solid var(--ehw-line);border-radius:7px;text-decoration:none;color:var(--ehw-ink)}
.ehw-pagination .current{background:var(--ehw-primary);color:#fff;border-color:var(--ehw-primary)}

/* contact form */
.ehw-form{display:grid;gap:14px;max-width:620px}
.ehw-form label{font-weight:600;font-size:14px;display:block;margin-bottom:5px}
.ehw-form input,.ehw-form textarea,.ehw-form select{width:100%;padding:11px 13px;border:1.5px solid var(--ehw-line);border-radius:8px;font-size:15px;font-family:inherit;background:#fff;color:var(--ehw-ink)}
.ehw-form input:focus,.ehw-form textarea:focus,.ehw-form select:focus{outline:none;border-color:var(--ehw-primary);box-shadow:0 0 0 3px rgba(31,58,95,.12)}
.ehw-form-row{display:grid;grid-template-columns:1fr 1fr;gap:14px}
@media(max-width:560px){.ehw-form-row{grid-template-columns:1fr}}
.ehw-notice{padding:12px 16px;border-radius:8px;margin-bottom:18px;font-weight:600}
.ehw-notice.ok{background:#dcfce7;color:#166534}
.ehw-notice.err{background:#fee2e2;color:#991b1b}

/* ── Navbar refinements (logo sizing + roomier, left-clustered layout) ──── */
/* Give the header more room so 7 menu items never crowd or wrap */
.ehw-header .ehw-container{max-width:none;padding-left:max(20px,calc((100vw - 1280px)/2 + 20px));padding-right:clamp(28px,10.42vw,200px)}

/* Lock the logo size. Google Translate injects <font> tags and can otherwise
   blow up an unconstrained (webp) logo; the !important height pins it. */
.ehw-logo{display:flex;align-items:center;flex:0 0 auto}
.ehw-logo a{display:flex;align-items:center;gap:10px}
.ehw-logo img,
.ehw-logo .custom-logo,
.custom-logo-link img,
img.custom-logo{height:40px !important;width:auto !important;max-width:230px !important;display:block}

/* Keep the logo anchored while the complete menu + CTA form a right cluster. */
.ehw-header-inner{justify-content:flex-start;gap:24px}
.ehw-nav{flex:0 1 720px;min-width:0;margin-left:auto}
.ehw-nav-menu{flex-wrap:nowrap;justify-content:space-between;gap:clamp(4px,1vw,18px)}
.ehw-nav-menu>li>a{white-space:nowrap;padding:10px 10px;font-size:14.5px}
.ehw-header-actions{flex:0 0 auto;margin-left:0}

/* On smaller desktops, tighten spacing a little more before the mobile drawer
   takes over, so nothing wraps. */
@media(max-width:1100px){
  .ehw-header .ehw-container{padding-left:20px;padding-right:20px}
  .ehw-header-inner{gap:20px}
  .ehw-nav-menu>li>a{padding:10px 10px;font-size:14px}
}

/* ── Homepage: Calculator selector ─────────────────────────────────────── */
.ehw-calc-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:16px}
.ehw-calc-card{display:block;padding:20px 18px;background:#fff;border:1px solid var(--ehw-line);border-radius:11px;text-decoration:none;color:inherit;transition:border-color .15s,box-shadow .15s,transform .15s}
.ehw-calc-card:hover{border-color:var(--ehw-primary);box-shadow:0 12px 30px -16px rgba(31,58,95,.4);transform:translateY(-2px);text-decoration:none}
.ehw-calc-ico{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:50%;background:rgba(31,58,95,.08);color:var(--ehw-primary);margin-bottom:12px}
.ehw-calc-ico svg{width:22px;height:22px}
.ehw-calc-card h3{font-size:15.5px;font-weight:700;margin:0 0 6px;color:var(--ehw-primary);line-height:1.3}
.ehw-calc-card p{margin:0;font-size:13.5px;color:var(--ehw-muted);line-height:1.5}

/* ── Homepage: About module ───────────────────────────────────────────── */
.ehw-about-grid{display:grid;grid-template-columns:1.4fr 1fr;gap:40px;align-items:start}
.ehw-about-text p{font-size:15.5px;line-height:1.65;margin:0 0 14px;color:var(--ehw-ink)}
.ehw-about-text p:last-child{margin-bottom:0}
.ehw-about-stats{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.ehw-stat{padding:20px 16px;background:#fff;border:1px solid var(--ehw-line);border-radius:11px;text-align:center}
.ehw-stat-n{display:block;font-size:30px;font-weight:800;color:var(--ehw-primary);line-height:1.1}
.ehw-stat-l{display:block;font-size:12.5px;color:var(--ehw-muted);margin-top:6px;line-height:1.4}
@media(max-width:760px){.ehw-about-grid{grid-template-columns:1fr;gap:24px}}

/* ── Homepage: Contact module ─────────────────────────────────────────── */
.ehw-contact-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:16px}
.ehw-contact-card{padding:22px 20px;background:#fff;border:1px solid var(--ehw-line);border-radius:11px;text-align:center;transition:border-color .15s,box-shadow .15s,transform .15s}
.ehw-contact-card:hover{border-color:var(--ehw-primary);box-shadow:0 12px 30px -16px rgba(31,58,95,.4);transform:translateY(-2px)}
.ehw-contact-ico{display:flex;align-items:center;justify-content:center;width:46px;height:46px;border-radius:50%;background:rgba(31,58,95,.08);color:var(--ehw-primary);margin:0 auto 12px}
.ehw-contact-ico svg{width:24px;height:24px}
.ehw-contact-card h3{font-size:15px;font-weight:700;margin:0 0 6px;color:var(--ehw-primary)}
.ehw-contact-card p{margin:0;font-size:14px;color:var(--ehw-muted);line-height:1.55}
.ehw-contact-card a{color:var(--ehw-primary);font-weight:600;text-decoration:none}
.ehw-contact-card a:hover{text-decoration:underline}

/* ── Blog archive and categories (aligned with the News experience) ── */
.ehw-blog-wrap{max-width:1200px;margin:0 auto;padding:30px 20px 64px}
.ehw-breadcrumb{display:flex;flex-wrap:wrap;gap:7px;align-items:center;margin:0 0 20px;font-size:13px;color:var(--ehw-muted)}
.ehw-breadcrumb a{color:var(--ehw-muted);text-decoration:none}.ehw-breadcrumb a:hover{color:var(--ehw-primary)}
.ehw-blog-head{text-align:center;margin:0 0 26px}.ehw-blog-head h1{display:inline-block;position:relative;margin:0;padding-bottom:13px;font-size:clamp(28px,3vw,40px);line-height:1.2}
.ehw-blog-head h1:after{content:"";position:absolute;bottom:0;left:50%;width:64px;height:4px;border-radius:4px;background:var(--ehw-primary-2);transform:translateX(-50%)}
.ehw-blog-description{max-width:700px;margin:16px auto 0;color:var(--ehw-muted)}
.ehw-category-bar{margin:0 0 30px;padding:20px 0;border-top:1px solid var(--ehw-line);border-bottom:1px solid var(--ehw-line)}
.ehw-category-label{display:block;margin-bottom:11px;color:var(--ehw-muted);font-size:12px;letter-spacing:.12em;text-transform:uppercase}
.ehw-category-list{display:flex;flex-wrap:wrap;gap:8px}
.ehw-category-pill{display:inline-flex;align-items:center;gap:7px;padding:7px 13px;border:1px solid var(--ehw-line);border-radius:999px;color:var(--ehw-ink);background:#fff;text-decoration:none;font-size:13px;line-height:1.2;transition:.15s}
.ehw-category-pill span{padding:1px 6px;border-radius:99px;background:var(--ehw-bg);color:var(--ehw-muted);font-size:11px}
.ehw-category-pill:hover{border-color:var(--ehw-primary);color:var(--ehw-primary)}.ehw-category-pill.is-active{border-color:var(--ehw-primary);background:var(--ehw-primary);color:#fff}.ehw-category-pill.is-active span{background:rgba(255,255,255,.15);color:#fff}
.ehw-blog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:24px}
.ehw-blog-card{overflow:hidden;border:1px solid var(--ehw-line);border-radius:9px;background:#fff;transition:transform .15s,border-color .15s,box-shadow .15s}
.ehw-blog-card:hover{transform:translateY(-2px);border-color:#bdc8d5;box-shadow:0 10px 24px rgba(15,23,42,.07)}
.ehw-blog-card-link{display:flex;height:100%;flex-direction:column;color:inherit;text-decoration:none}
.ehw-blog-thumb{display:block;overflow:hidden;aspect-ratio:16/9;background:var(--ehw-bg)}.ehw-blog-thumb img{width:100%;height:100%;object-fit:cover;display:block;transition:transform .3s}.ehw-blog-card:hover img{transform:scale(1.03)}
.ehw-blog-thumb-fallback{display:block;width:100%;height:100%;background:linear-gradient(135deg,#f4f6f9,#e1e8e5)}
.ehw-blog-card-body{display:flex;flex:1;flex-direction:column;padding:15px 16px 18px}.ehw-blog-card-meta{font-size:12px;color:var(--ehw-muted);margin-bottom:7px}
.ehw-blog-card-title{font-size:16px;line-height:1.4;font-weight:700;color:var(--ehw-ink);display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.ehw-blog-card-link:hover .ehw-blog-card-title{color:var(--ehw-primary-2)}
.ehw-blog-card-excerpt{font-size:13.5px;line-height:1.55;color:var(--ehw-muted);margin-top:9px}
.ehw-blog-empty{text-align:center;padding:54px 20px;color:var(--ehw-muted)}
.ehw-blog-pagination .nav-links{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:36px}.ehw-blog-pagination>.page-numbers{display:inline-block;margin:36px 3px 0}
.ehw-blog-pagination .page-numbers{padding:8px 13px;border:1px solid var(--ehw-line);border-radius:6px;color:var(--ehw-ink);text-decoration:none}.ehw-blog-pagination .current{background:var(--ehw-primary);border-color:var(--ehw-primary);color:#fff}
@media(max-width:1100px){.ehw-blog-grid{grid-template-columns:repeat(3,1fr)}}@media(max-width:760px){.ehw-blog-grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.ehw-blog-grid{grid-template-columns:1fr}}

/* ── Single article ── */
.ehw-article-wrap{max-width:1180px;margin:0 auto;padding:28px 20px 64px}.ehw-article-layout{display:grid;grid-template-columns:280px minmax(0,1fr);gap:40px;align-items:start}
.ehw-article-aside{position:sticky;top:90px;display:flex;flex-direction:column;gap:16px;max-height:calc(100vh - 110px)}
.ehw-toc{flex:0 0 auto;padding:6px 4px;border:1px solid var(--ehw-line);border-radius:8px;background:#fff;font-size:14px}.ehw-toc[hidden]{display:none}.ehw-toc-head{display:flex;align-items:center;justify-content:space-between;width:100%;padding:8px 12px;border:0;background:none;color:var(--ehw-ink);font:inherit;font-weight:600;cursor:pointer}.ehw-toc-head i{width:8px;height:8px;margin-right:4px;border-right:2px solid var(--ehw-muted);border-bottom:2px solid var(--ehw-muted);transform:rotate(45deg);transition:transform .2s}.ehw-toc.is-collapsed .ehw-toc-head i{transform:rotate(-45deg)}
.ehw-toc-list{max-height:42vh;overflow:auto}.ehw-toc.is-collapsed .ehw-toc-list{display:none}.ehw-toc-list a{display:block;padding:5px 12px;border-left:2px solid transparent;color:var(--ehw-muted);text-decoration:none;line-height:1.4}.ehw-toc-list a:hover{color:var(--ehw-ink)}.ehw-toc-list a.is-active{border-left-color:var(--ehw-primary-2);color:var(--ehw-primary-2);font-weight:600}.ehw-toc-list .level-3{padding-left:26px;font-size:13px}.ehw-toc-list .level-4{padding-left:38px;font-size:13px}.ehw-toc-list .level-5{padding-left:50px;font-size:12px}
.ehw-related{padding:14px;border:1px solid var(--ehw-line);border-radius:8px;background:#fff;overflow:auto}.ehw-related h2{font-size:14px;margin:0 0 8px}.ehw-related a{display:flex;gap:10px;padding:10px 2px;border-top:1px solid var(--ehw-line);color:var(--ehw-ink);text-decoration:none}.ehw-related a span{flex:0 0 52px}.ehw-related img{width:52px;height:52px;object-fit:cover;border-radius:6px}.ehw-related strong{font-size:13.5px;line-height:1.4}.ehw-related small{display:block;margin-top:3px;color:var(--ehw-muted);font-weight:400}
.ehw-article h1{font-size:clamp(28px,3vw,40px);line-height:1.22;margin:0 0 13px}.ehw-article-meta{display:flex;gap:8px;align-items:center;color:var(--ehw-muted);font-size:14px;padding-bottom:18px;border-bottom:1px solid var(--ehw-line)}
.ehw-article-featured{margin:24px 0}.ehw-article-featured img{display:block;width:100%;max-height:520px;object-fit:cover;border-radius:9px}
.ehw-article-content{font-size:16.5px;line-height:1.78;color:#28323f}.ehw-article-content h2,.ehw-article-content h3,.ehw-article-content h4,.ehw-article-content h5{line-height:1.3;margin:1.6em 0 .55em;scroll-margin-top:90px}.ehw-article-content img{border-radius:8px}
.ehw-article-categories{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:32px;padding-top:18px;border-top:1px solid var(--ehw-line)}.ehw-article-categories>span{font-size:12px;letter-spacing:.1em;text-transform:uppercase;color:var(--ehw-muted)}.ehw-article-categories a{padding:6px 12px;border:1px solid var(--ehw-line);border-radius:99px;color:var(--ehw-ink);font-size:13px;text-decoration:none}
@media(max-width:900px){.ehw-article-layout{grid-template-columns:1fr;grid-template-areas:"toc" "article" "related"}.ehw-article-aside{display:contents;position:static;max-height:none}.ehw-toc{grid-area:toc;position:sticky;top:0;z-index:20}.ehw-toc-list{max-height:45vh}.ehw-related{grid-area:related}.ehw-article{grid-area:article}}

/* ── About factory page ── */
.ehw-about-page{max-width:1180px;margin:0 auto;padding:48px 20px 64px}.ehw-about-hero{max-width:850px;margin:0 auto 56px;text-align:center}.ehw-about-hero>span,.ehw-about-kicker{display:block;margin-bottom:8px;color:var(--ehw-accent);font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase}.ehw-about-hero h1{margin:0 0 16px;font-size:clamp(34px,5vw,54px);line-height:1.08}.ehw-about-hero p{max-width:760px;margin:0 auto;color:var(--ehw-muted);font-size:18px;line-height:1.7}
.ehw-about-intro{display:grid;grid-template-columns:.85fr 1.35fr;gap:64px;padding:48px 0;border-top:1px solid var(--ehw-line)}.ehw-about-intro h2,.ehw-about-standard h2,.ehw-about-cta h2{margin:0;font-size:clamp(26px,3vw,36px);line-height:1.2}.ehw-about-intro p,.ehw-about-standard p{margin:0 0 15px;color:#34404e;line-height:1.75}
.ehw-about-capabilities{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;padding:8px 0 56px}.ehw-about-capabilities article{padding:24px 20px;border:1px solid var(--ehw-line);border-radius:10px;background:#fff}.ehw-about-capabilities strong{color:var(--ehw-accent);font-size:13px}.ehw-about-capabilities h3{margin:9px 0 8px;font-size:18px}.ehw-about-capabilities p{margin:0;color:var(--ehw-muted);font-size:14px;line-height:1.65}
.ehw-about-standard{display:grid;grid-template-columns:1.35fr .8fr;gap:56px;padding:44px;border-radius:14px;background:var(--ehw-bg)}.ehw-about-standard h2{margin-bottom:18px}.ehw-about-standard ul{margin:0;padding:0;list-style:none}.ehw-about-standard li{padding:14px 0 14px 28px;border-bottom:1px solid var(--ehw-line);position:relative}.ehw-about-standard li:before{content:"✓";position:absolute;left:0;color:var(--ehw-primary);font-weight:800}
.ehw-about-cta{display:flex;align-items:center;justify-content:space-between;gap:40px;margin-top:54px;padding-top:44px;border-top:1px solid var(--ehw-line)}.ehw-about-cta>div{max-width:720px}.ehw-about-cta h2{margin-bottom:10px}.ehw-about-cta p{margin:0;color:var(--ehw-muted)}.ehw-about-cta .ehw-btn{flex:0 0 auto}
@media(max-width:900px){.ehw-about-capabilities{grid-template-columns:repeat(2,1fr)}.ehw-about-intro,.ehw-about-standard{grid-template-columns:1fr;gap:28px}}@media(max-width:580px){.ehw-about-page{padding-top:34px}.ehw-about-capabilities{grid-template-columns:1fr}.ehw-about-standard{padding:26px 20px}.ehw-about-cta{align-items:flex-start;flex-direction:column}}

/* ── Contact page and verification ── */
.ehw-contact-page{max-width:1120px;margin:0 auto;padding:42px 20px 64px}.ehw-contact-head{max-width:720px;margin:0 auto 34px;text-align:center}.ehw-contact-head>span{font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;color:var(--ehw-accent)}.ehw-contact-head h1{font-size:clamp(30px,4vw,44px);line-height:1.15;margin:8px 0 12px}.ehw-contact-head p{color:var(--ehw-muted);margin:0}
.ehw-contact-grid{display:grid;grid-template-columns:minmax(0,1.55fr) minmax(260px,.75fr);gap:30px;align-items:start}.ehw-contact-form-card,.ehw-contact-aside{padding:28px;border:1px solid var(--ehw-line);border-radius:12px;background:#fff;box-shadow:0 12px 35px -28px rgba(15,23,42,.45)}
.ehw-contact-form-card .ehw-form{max-width:none}.ehw-form label span{color:#b42318}.ehw-form textarea{resize:vertical;min-height:140px}.ehw-contact-aside{background:var(--ehw-bg)}.ehw-contact-aside h3{margin-top:0;color:var(--ehw-primary)}
.ehw-verification{margin:3px 0 0;padding:16px;border:1px solid var(--ehw-line);border-radius:9px;background:#fafbfc}.ehw-verification legend{padding:0 6px;font-size:13px;font-weight:700;color:var(--ehw-primary)}
.ehw-human-check{display:flex!important;align-items:center;gap:9px;margin:0 0 14px!important}.ehw-human-check input{width:18px!important;height:18px;margin:0}.ehw-human-check span{color:var(--ehw-ink)!important}
.ehw-captcha-row{display:flex;align-items:flex-end;gap:14px}.ehw-captcha-row img{flex:0 0 170px;border:1px solid var(--ehw-line);border-radius:8px}.ehw-captcha-row>div{max-width:180px}.ehw-verification>p{margin:10px 0 0;color:var(--ehw-muted);font-size:12px}
.ehw-form-submit{display:flex;align-items:center;gap:14px;flex-wrap:wrap}.ehw-form-submit span{font-size:12px;color:var(--ehw-muted)}
@media(max-width:760px){.ehw-contact-grid{grid-template-columns:1fr}.ehw-contact-form-card,.ehw-contact-aside{padding:20px}.ehw-captcha-row{align-items:stretch;flex-direction:column}.ehw-captcha-row>div{max-width:none}}
