/* Woodux article system — visual, commercial-intent design layer.
   Existing article markup stays intact; visuals are generated safely from shared CSS. */
  :root{--wood-950:#2a1711;--wood-900:#4e2f24;--wood-700:#734430;--wood-600:#8f5a3b;--wood-500:#aa734d;--wood-300:#d0b396;--wood-200:#e3d2bf;--wood-100:#f2eae0;--paper:#faf7f2;--ink:#30231e;--muted:#665b55}
  body>main h1::before{content:"";display:block;width:100%;height:220px;margin:0 0 2rem;border-radius:1.25rem;background:linear-gradient(180deg,rgba(42,23,17,.08),rgba(42,23,17,.82)),url("/assets/hero-woodworking-tools.png") center/cover no-repeat;box-shadow:0 14px 34px rgba(42,23,17,.14)}
body>main.max-w-3xl{max-width:920px!important;color:var(--ink)}
body>main.max-w-3xl::before{content:"WOODUX FIELD GUIDE  •  BUYING SMARTER  •  BUILDING BETTER";display:flex;align-items:flex-end;width:100%;min-height:245px;margin:0 0 2.25rem;padding:1.5rem 1.75rem;border-radius:1.35rem;color:#f9e9cf;font-size:.72rem;font-weight:900;letter-spacing:.14em;text-shadow:0 2px 12px rgba(0,0,0,.45);background:linear-gradient(180deg,rgba(42,23,17,.08) 20%,rgba(42,23,17,.88) 100%),url("/og-image.png") center 54%/cover;box-shadow:0 18px 35px rgba(78,47,36,.14)}
body:has(a[href*="track-saws"])>main.max-w-3xl::before{background-image:linear-gradient(180deg,rgba(42,23,17,.05) 20%,rgba(42,23,17,.88) 100%),url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1600&q=82")}
body:has(a[href*="band-saws"])>main.max-w-3xl::before{background-image:linear-gradient(180deg,rgba(42,23,17,.05) 20%,rgba(42,23,17,.88) 100%),url("https://images.unsplash.com/photo-1530124566582-a618bc2615dc?auto=format&fit=crop&w=1600&q=82")}
body:has(a[href*="router-tables"])>main.max-w-3xl::before{background-image:linear-gradient(180deg,rgba(42,23,17,.05) 20%,rgba(42,23,17,.88) 100%),url("https://images.unsplash.com/photo-1541123437800-1bb1317badc2?auto=format&fit=crop&w=1600&q=82")}
body:has(a[href*="dust-collectors"])>main.max-w-3xl::before{background-image:linear-gradient(180deg,rgba(42,23,17,.05) 20%,rgba(42,23,17,.88) 100%),url("https://images.unsplash.com/photo-1586864387967-d02ef85d93e8?auto=format&fit=crop&w=1600&q=82")}
body:has(a[href*="drum-sanders"])>main.max-w-3xl::before{background-image:linear-gradient(180deg,rgba(42,23,17,.05) 20%,rgba(42,23,17,.88) 100%),url("https://images.unsplash.com/photo-1504917595217-d4dc5ebe6122?auto=format&fit=crop&w=1600&q=82")}
body:has(a[href*="clamps-for"])>main.max-w-3xl::before{background-image:linear-gradient(180deg,rgba(42,23,17,.05) 20%,rgba(42,23,17,.88) 100%),url("https://images.unsplash.com/photo-1581147036324-c1c0c0e7c5c4?auto=format&fit=crop&w=1600&q=82")}
body:has(a[href*="wood-planers"])>main.max-w-3xl::before{background-image:linear-gradient(180deg,rgba(42,23,17,.05) 20%,rgba(42,23,17,.88) 100%),url("https://images.unsplash.com/photo-1530124566582-a618bc2615dc?auto=format&fit=crop&w=1600&q=82")}
body:has(a[href*="power-tools-buying-order"])>main.max-w-3xl::before{background-image:linear-gradient(180deg,rgba(42,23,17,.05) 20%,rgba(42,23,17,.88) 100%),url("https://images.unsplash.com/photo-1581092160607-ee22621dd758?auto=format&fit=crop&w=1600&q=82")}
body:has(a[href*="table-saws"])>main.max-w-3xl::before{background-image:linear-gradient(180deg,rgba(42,23,17,.05) 20%,rgba(42,23,17,.88) 100%),url("/og-image.png")}
body:has(a[href*="read-woodworking-plans"])>main.max-w-3xl::before{background-image:linear-gradient(180deg,rgba(42,23,17,.05) 20%,rgba(42,23,17,.88) 100%),url("https://images.unsplash.com/photo-1517705008128-361805f42e86?auto=format&fit=crop&w=1600&q=82")}
body>main.max-w-3xl::after{content:"COMPARE FIT  •  SPACE  •  SAFETY  •  TOTAL COST  •  BUY ONLY WHEN THE PROJECT NEEDS IT";display:block;max-width:780px;margin:2rem 0 0;padding:.85rem 1rem;border:1px solid var(--wood-200);border-radius:.8rem;background:linear-gradient(100deg,var(--wood-100),#fff);color:var(--wood-700);font-size:.68rem;font-weight:900;letter-spacing:.095em;line-height:1.6;text-align:center}
body>main.max-w-3xl>nav{color:var(--muted);font-weight:600}body>main.max-w-3xl>nav a,body>main.max-w-3xl a{text-underline-offset:3px;text-decoration-thickness:1px}
body>main.max-w-3xl>p.text-xs.font-bold{display:inline-flex;align-items:center;gap:.45rem;padding:.4rem .7rem;border:1px solid var(--wood-200);border-radius:999px;background:#fff;color:var(--wood-700);letter-spacing:.08em;text-transform:uppercase}
body>main.max-w-3xl>h1{max-width:820px;margin-top:.75rem;color:var(--wood-950);font-size:clamp(2.2rem,5vw,4.2rem);line-height:1.04;letter-spacing:-.045em;text-wrap:balance}
body>main.max-w-3xl>p.text-stone-700:first-of-type{max-width:780px;margin:1.5rem 0 2.25rem;padding:1.25rem 1.35rem;border-left:4px solid var(--wood-500);border-radius:0 .9rem .9rem 0;background:linear-gradient(100deg,var(--wood-100),rgba(242,234,224,.25));color:#493a32;font-size:1.08rem;line-height:1.75;position:relative}
body>main.max-w-3xl>p.text-stone-700:first-of-type::after{content:"DECISION GUIDE   ▰  PROJECT FIT   ▰▰  SPACE   ▰▰▰  SAFETY   ▰▰▰▰  VALUE";display:block;margin-top:1rem;padding:.65rem .75rem;border-radius:.55rem;background:linear-gradient(90deg,#d0b396 20%,#aa734d 20% 44%,#8f5a3b 44% 72%,#4e2f24 72%);color:#fff;font-size:.63rem;font-weight:900;letter-spacing:.06em;line-height:1.6;box-shadow:inset 0 0 0 1px rgba(255,255,255,.25)}
/* Inline SVG-style decision diagrams are rendered as CSS graphics, with topic labels and no extra dependencies. */
body>main.max-w-3xl>h2:first-of-type{padding-top:8.5rem}
body>main.max-w-3xl>h2:first-of-type::before{content:"HOW TO CHOOSE\A 1  DEFINE THE JOB   →   2  CHECK CAPACITY   →   3  VERIFY SPACE   →   4  BUY WITH A SAFETY MARGIN";white-space:pre-wrap;display:flex;align-items:center;position:absolute;top:0;left:0;width:100%;height:7rem;padding:1rem 1.2rem;border:1px solid var(--wood-200);border-radius:.9rem;background-color:#fff;background-image:linear-gradient(90deg,rgba(170,115,77,.14) 1px,transparent 1px),linear-gradient(rgba(170,115,77,.14) 1px,transparent 1px);background-size:24px 24px;color:var(--wood-700);font-size:.68rem;font-weight:900;letter-spacing:.06em;line-height:1.8;box-shadow:0 8px 20px rgba(78,47,36,.06)}
body:has(a[href*="table-saws"])>main.max-w-3xl>h2:first-of-type::before{content:"TABLE SAW DECISION MAP\A BENCHTOP  →  PORTABLE  →  CONTRACTOR  →  CABINET\A choose based on room, fence accuracy and repeatability"}
body:has(a[href*="track-saws"])>main.max-w-3xl>h2:first-of-type::before{content:"TRACK SAW WORKFLOW\A RAIL ALIGNMENT  →  PLUNGE CUT  →  SPLINTER CONTROL  →  PANEL BREAKDOWN\A longer rail = more sheet capacity"}
body:has(a[href*="band-saws"])>main.max-w-3xl>h2:first-of-type::before{content:"BAND SAW CAPACITY\A THROAT DEPTH  +  RESAW HEIGHT  +  BLADE WIDTH\A curves need narrow blades • resawing needs wide blades"}
body:has(a[href*="dust-collectors"])>main.max-w-3xl>h2:first-of-type::before{content:"DUST COLLECTION MATCH\A SHOP VAC  →  SMALL HOSE  →  HAND TOOLS\A DEDICATED COLLECTOR  →  LARGE HOSE  →  STATIONARY MACHINES"}
body:has(a[href*="wood-planers"])>main.max-w-3xl>h2:first-of-type::before{content:"STOCK PREPARATION\A ROUGH BOARD  →  FLATTEN  →  THICKNESS  →  FINISH\A buy a planer when pre-surfaced lumber limits your projects"}
body:has(a[href*="clamps-for"])>main.max-w-3xl>h2:first-of-type::before{content:"CLAMP MATCH\A SPRING = FAST HOLD   •   BAR = PANEL   •   CORNER = 90°\A PIPE / SASH = LONG GLUE-UPS"}
body:has(a[href*="router-tables"])>main.max-w-3xl>h2:first-of-type::before{content:"ROUTER SETUP\A HANDHELD  →  EDGE PROFILES\A PLUNGE  →  DADOS / MORTISES\A TABLE  →  REPEATABLE SMALL PARTS"}
body:has(a[href*="drum-sanders"])>main.max-w-3xl>h2:first-of-type::before{content:"SURFACE FINISH PATH\A PLANER = FAST STOCK REMOVAL\A DRUM SANDER = WIDE PANELS + CONTROLLED FINISH\A HAND SANDING = LOW COST, HIGH TIME"}
body>main.max-w-3xl>h2{position:relative;max-width:780px;margin-top:3.25rem!important;padding:0 0 .7rem .95rem;border-left:4px solid var(--wood-500);border-bottom:1px solid var(--wood-200);color:var(--wood-950);font-size:clamp(1.35rem,2.4vw,1.8rem);line-height:1.2;scroll-margin-top:1rem}
body>main.max-w-3xl>h2::after{content:"";display:block;width:3.5rem;height:3px;margin-top:.6rem;border-radius:99px;background:linear-gradient(90deg,var(--wood-500),var(--wood-200))}
body>main.max-w-3xl>p.text-stone-700,body>main.max-w-3xl>ul,body>main.max-w-3xl>ol{max-width:780px;color:#514640;font-size:1.02rem;line-height:1.85}
body>main.max-w-3xl>ul,body>main.max-w-3xl>ol{padding:1.15rem 1.5rem 1.15rem 2.4rem;border:1px solid var(--wood-200);border-radius:.9rem;background:rgba(255,255,255,.72)}
body>main.max-w-3xl li::marker{color:var(--wood-500);font-weight:900}body>main.max-w-3xl strong{color:var(--wood-950)}
body>main.max-w-3xl>div.bg-white{max-width:780px;margin-top:3rem!important;border:1px solid var(--wood-200)!important;border-top:4px solid var(--wood-500)!important;background:linear-gradient(135deg,#fff,#f8efe6)!important;box-shadow:0 18px 35px rgba(78,47,36,.11)}
body>main.max-w-3xl>div.bg-white a[target="_blank"]:last-child{box-shadow:0 7px 16px rgba(143,90,59,.22);transition:transform .2s ease,box-shadow .2s ease}body>main.max-w-3xl>div.bg-white a[target="_blank"]:last-child:hover,body>main.max-w-3xl>div.bg-white a[target="_blank"]:last-child:focus{transform:translateY(-2px);box-shadow:0 11px 22px rgba(143,90,59,.3)}
body>main.max-w-3xl>p.text-sm.text-stone-600:last-child{max-width:780px;padding-top:1.25rem;border-top:1px solid var(--wood-200)}
body>main.max-w-5xl>h1{color:var(--wood-950);font-size:clamp(2.2rem,5vw,3.6rem);letter-spacing:-.04em}body>main.max-w-5xl>section>h2{padding-left:.8rem;border-left:4px solid var(--wood-500);color:var(--wood-950)}body>main.max-w-5xl>section a{transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease}body>main.max-w-5xl>section a:hover,body>main.max-w-5xl>section a:focus{transform:translateY(-3px);box-shadow:0 12px 24px rgba(78,47,36,.1)}
body>main.max-w-5xl>section>div.grid a{background-image:linear-gradient(135deg,rgba(255,255,255,.96),rgba(242,234,224,.55)),repeating-linear-gradient(0deg,transparent,transparent 9px,rgba(170,115,77,.035) 10px)}
@media(max-width:640px){body>main.max-w-3xl{padding-left:1.1rem;padding-right:1.1rem}body>main.max-w-3xl::before{min-height:155px;margin-bottom:1.5rem;padding:1rem;font-size:.6rem}body>main.max-w-3xl::after{font-size:.58rem}body>main.max-w-3xl>h1{font-size:2.35rem}body>main.max-w-3xl>p.text-stone-700:first-of-type{font-size:1rem}body>main.max-w-3xl>p.text-stone-700:first-of-type::after{font-size:.53rem}body>main.max-w-3xl>h2:first-of-type{padding-top:10rem}body>main.max-w-3xl>h2:first-of-type::before{height:8.5rem;font-size:.58rem}}
/* Topic-specific local hero photography. These overrides keep every article image local, stable, and relevant. */
body>main.max-w-3xl::before{background-image:linear-gradient(180deg,rgba(42,23,17,.08) 20%,rgba(42,23,17,.88) 100%),url("/assets/hero-woodworking-tools.png")}
body:has(a[href*="shed"]),body:has(a[href*="gravel-vs-concrete"]) { }
body:has(a[href*="shed"])>main.max-w-3xl::before,body:has(a[href*="gravel-vs-concrete"])>main.max-w-3xl::before{background-image:linear-gradient(180deg,rgba(42,23,17,.08) 20%,rgba(42,23,17,.88) 100%),url("/assets/hero-shed-building.png")}
body:has(a[href*="outdoor-furniture"])>main.max-w-3xl::before,body:has(a[href*="adirondack"])>main.max-w-3xl::before,body:has(a[href*="best-wood-for-outdoor"])>main.max-w-3xl::before{background-image:linear-gradient(180deg,rgba(42,23,17,.08) 20%,rgba(42,23,17,.88) 100%),url("/assets/hero-outdoor-furniture.png")}
body:has(a[href*="off-grid"])>main.max-w-3xl::before,body:has(a[href*="self-sufficient"])>main.max-w-3xl::before,body:has(a[href*="water-storage"])>main.max-w-3xl::before,body:has(a[href*="four-decades"])>main.max-w-3xl::before{background-image:linear-gradient(180deg,rgba(42,23,17,.08) 20%,rgba(42,23,17,.88) 100%),url("/assets/hero-off-grid-homestead.png")}
@media(prefers-reduced-motion:reduce){body>main.max-w-3xl>div.bg-white a[target="_blank"]:last-child,body>main.max-w-5xl>section a{transition:none}}
