:root{--valley-blue:#00658a;--valley-light:#eff6f9}
.cws-module>.the-container{padding-left:max(24px,calc((100vw - 1180px)/2));padding-right:max(24px,calc((100vw - 1180px)/2));max-width:none;width:100%}
.cws-utility-nav{position:relative;margin-top:var(--header-height,76px);display:flex;flex-wrap:wrap;justify-content:flex-end;gap:12px 24px;padding:10px 24px;background:#edf4f7;color:#005479;font-size:14px}.cws-utility-nav+main{padding-top:0}
.cws-columns{display:grid;gap:40px;align-items:center}.cws-cols-1{grid-template-columns:1fr!important}.cws-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))!important}.cws-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.cws-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.cws-module .cws-button{display:inline-block;background:#00658a;color:white;padding:12px 20px;margin:8px 12px 8px 0;border-radius:4px;text-decoration:none;border:0}
.cws-article-list{list-style:none;padding-left:0!important}.cws-article-list>li{padding:24px 0;border-bottom:1px solid #d3dde1}.cws-article-list img{max-width:560px;width:100%}.cws-article-list ul{list-style:none;padding:0}
.cws-subscribe{padding:24px;background:#edf4f7;border-radius:8px;margin:32px 0}.cws-subscribe h2{font-size:26px}
[data-module-id="HeroFullBleed"] .cws-hero-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0;filter:brightness(.55)}
[data-module-id="HeroFullBleed"] #slidecarousel{width:100%}
.cws-module iframe[id^="metalo"],.cws-module iframe[src*="metalocator"]{height:650px!important;min-height:650px;max-height:900px}
@media(max-width:767px){.cws-columns,.cws-cols-2,.cws-cols-3,.cws-cols-4{grid-template-columns:1fr!important}.cws-utility-nav{margin-top:52px;font-size:12px;justify-content:center;gap:8px 16px}.cws-module>.the-container{padding-left:24px;padding-right:24px}}
body{margin:0;color:#202529;background:#fff;font-family:var(--font-sans,Arial,sans-serif)}
main{padding-top:var(--header-height,80px)}
.cws-module{padding:clamp(32px,5vw,72px) 0;overflow:clip}
.cws-module:nth-child(even){background:#f5f8fa}
.cws-module-content{max-width:1180px;margin:auto;font-size:18px;line-height:1.65}
.cws-module h1{font-size:clamp(32px,4.5vw,66px);font-weight:400;line-height:1.12;margin:0 0 24px}
.cws-module h2{font-size:clamp(26px,3vw,42px);font-weight:400;line-height:1.2;margin:0 0 24px}
.cws-module h3{font-size:clamp(22px,2vw,28px);line-height:1.3;font-weight:500;margin:24px 0 12px}
.cws-module p{margin:0 0 20px}.cws-module a{color:var(--valley-blue);text-decoration:underline;text-underline-offset:3px}
.cws-module img{max-width:100%;height:auto;display:block;margin:20px 0}.cws-module ul,.cws-module ol{padding-left:24px;margin:16px 0 24px}.cws-module li{margin-bottom:10px}
.cws-module blockquote{border-left:4px solid var(--valley-blue);padding-left:24px;margin:24px 0}
.cws-rich-block{margin-bottom:24px}.cws-rich-block:empty{display:none}
.cws-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:32px;margin:32px 0}
.cws-feature-card{min-width:0}.cws-card-media img{width:100%;aspect-ratio:16/10;object-fit:cover;border-radius:8px;margin:0 0 20px}
.cws-actions{display:flex;flex-wrap:wrap;gap:16px;margin:24px 0}.cws-actions a{display:inline-block;padding:12px 24px;background:var(--valley-blue);color:#fff;border-radius:4px;text-decoration:none;font-size:16px;font-weight:600}
[data-module-id="HeroFullBleed"]{padding:0;min-height:540px;background:#005479;color:#fff;position:relative}
[data-module-id="HeroFullBleed"] .the-container{position:static}
[data-module-id="HeroFullBleed"] .cws-module-content{max-width:none;min-height:540px;display:flex;align-items:center}
[data-module-id="HeroFullBleed"] .cws-hero-media img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;margin:0;filter:brightness(.52)}
[data-module-id="HeroFullBleed"] .cws-hero-content{position:relative;z-index:1;max-width:760px;padding:80px 0}
[data-module-id="HeroFullBleed"] .cws-hero-content a{color:#fff}
[data-module-id="HeroFullBleed"] .cws-scroll-cue{display:none}
.cws-table-scroll{overflow-x:auto;max-width:100%;margin:24px 0}.cws-module table{width:100%;border-collapse:collapse;font-size:16px}.cws-module th,.cws-module td{padding:12px 16px;border:1px solid #cdd7dd;text-align:left}
.cws-module th{background:var(--valley-light)}.cws-module iframe{width:100%;min-height:480px;border:0;border-radius:8px}
.cws-external-content-consent{padding:32px;text-align:center;background:var(--valley-light);border-radius:8px;margin:24px 0}.cws-external-content-consent button{background:var(--valley-blue);color:#fff;border:0;border-radius:4px;padding:12px 20px;margin-top:16px;cursor:pointer}
.cws-module input:not([type="hidden"]):not([type="checkbox"]):not([type="radio"]),.cws-module textarea,.cws-module select{max-width:100%;padding:12px;border:1px solid #81919b;border-radius:4px;font:inherit}
.cws-module label{display:block;margin:16px 0 6px}.cws-module button,.cws-module input[type="submit"]{cursor:pointer}
[hidden]{display:none!important}
#GlobalNav #NavDesktop .NavItemLink{font-size:14px}#GlobalNav #NavDesktop .nav-primary{gap:2px}#GlobalNav .NavLinkColumns{grid-template-columns:repeat(4,minmax(0,1fr));gap:24px;padding-top:28px}#GlobalNav .NavLinkColumn a{font-size:14px}#GlobalNav .NavLinkColumn h3{font-size:18px}#GlobalNav [data-nav-columns-panel]{max-height:90vh;overflow-y:auto}#GlobalNav #NavMobile .NavLinkColumns{grid-template-columns:1fr}
@media(max-width:767px){.cws-module-content{font-size:16px}.cws-card-grid{grid-template-columns:1fr;gap:32px}.cws-module iframe{min-height:320px}[data-module-id="HeroFullBleed"],[data-module-id="HeroFullBleed"] .cws-module-content{min-height:500px}[data-module-id="HeroFullBleed"] .cws-hero-content{padding:50px 0}}

/* Keep the Valley primary navigation beside the logo and utilities at the right edge. */
#GlobalNav #NavDesktop .bar .the-container>.grid{display:flex!important;align-items:center;gap:32px;padding-left:32px;padding-right:32px}
#GlobalNav #NavDesktop .home{flex:0 0 auto}
#GlobalNav #NavDesktop .nav-inner{flex:1 1 auto;min-width:0;gap:24px}
#GlobalNav #NavDesktop .nav-primary{flex:0 0 auto}
#GlobalNav #NavDesktop .nav-secondary{margin-left:auto;flex:0 0 auto;gap:2px}
#GlobalNav #NavDesktop .HeaderUtilities{margin-left:12px;gap:16px}
/* Give the four desktop menu groups the full dropdown width. Mobile stays one column. */
#GlobalNav #NavDesktop .navbarLinks{grid-column:2 / -2}
#GlobalNav #NavDesktop .NavLinkColumn{min-width:0}
#GlobalNav #NavDesktop .NavLinkColumn h3{font-size:18px;margin-bottom:16px}
#GlobalNav #NavDesktop .NavLinkColumn li{margin:8px 0}
@media(min-width:1024px) and (max-width:1199px){
#GlobalNav #NavDesktop .bar .the-container>.grid{padding-left:16px;padding-right:16px;gap:24px}
#GlobalNav #NavDesktop .nav-inner{gap:12px}
#GlobalNav #NavDesktop .NavItemLink{padding-left:2px;padding-right:2px;white-space:nowrap}
#GlobalNav #NavDesktop .NavItem{padding-right:0}
#GlobalNav #NavDesktop .HeaderUtilities{margin-left:8px;gap:8px}
}
#GlobalNav #NavMobile .HeaderRegionPicker{left:0;right:auto}
#GlobalNav #NavMobile .MenuMobile .the-container>.grid:has(.HeaderRegionPicker:not(.hidden)){mask-image:none}

/* Banner1: preserve the AgSense artwork on the right, with readable copy on the left. */
.valley-icon-banner{background:#000;color:#fff}
.valley-icon-banner-inner{min-height:clamp(560px,38vw,760px);overflow:hidden}
.valley-icon-banner .the-container{width:100%;padding:64px max(24px,6.6vw);position:relative;z-index:1}
.valley-icon-media img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;margin:0}
.valley-icon-copy{grid-column:1 / span 9;max-width:660px;padding-right:24px;font-size:18px;line-height:1.5}
.valley-icon-copy h2{font-size:clamp(30px,2.8vw,44px);font-weight:400;line-height:1.15;margin:0 0 24px}
.valley-icon-copy h3{font-size:clamp(28px,2.5vw,38px);font-weight:400;line-height:1.2;margin:32px 0 20px}
.valley-icon-copy h3 strong{white-space:nowrap}
.valley-icon-copy p{margin:0 0 20px}
.valley-icon-copy .valley-icon-link{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:14px 24px;margin-top:4px;background:var(--valley-blue);color:#fff;font-size:16px;line-height:1.3;text-decoration:none;border:1px solid var(--valley-blue)}
.valley-icon-copy .valley-icon-link:hover{background:#fff;color:var(--valley-blue)}
.valley-icon-copy .valley-icon-link:focus-visible{outline:2px solid white;outline-offset:4px}

/* Banner4: one shared layout and dealer action, with shared content variants. */
.valley-dealer-banner{--dealer-bg:#000;--dealer-text:#fff;background:var(--dealer-bg);color:var(--dealer-text);--cl-theme-text:var(--dealer-text);--cl-theme-bg:var(--dealer-bg)}
/* Alternate after dark modules, whether the shared banner is direct or inside its anchor wrapper.
   New dark modules can opt into the same rule with data-surface="dark". */
main>:is(.valley-icon-banner,[data-module-id="HeroFullBleed"],[data-surface="dark"])+.valley-dealer-banner,
main>:is(.valley-icon-banner,[data-module-id="HeroFullBleed"],[data-surface="dark"])+*>.valley-dealer-banner{--dealer-bg:#fff;--dealer-text:#000}
.valley-dealer-banner .the-container{width:100%;max-width:none;padding:0 27px}
.valley-dealer-grid{display:grid;grid-template-columns:repeat(18,minmax(0,1fr));gap:0;padding:40px 0 112px;align-items:start}
.valley-dealer-mark{grid-column:1;grid-row:1;padding-top:8px}
.valley-dealer-mark .the-dot{width:8px;height:8px;border-radius:50%;background:currentColor}
.valley-dealer-title{grid-column:2 / span 3;grid-row:1;padding:4px 24px 0 0;font-size:12px;line-height:1.5;text-transform:uppercase}
.valley-dealer-copy{grid-column:6 / span 8;grid-row:1}
.valley-dealer-copy h2{margin:0;font-size:clamp(32px,4.45vw,64px);font-weight:400;line-height:1.04;letter-spacing:-.025em}
.valley-dealer-action{grid-column:15 / span 3;grid-row:1;padding-top:3px}
.valley-dealer-action ul{list-style:none;padding:0;margin:0}
.valley-dealer-action .DotLink{color:inherit;font-size:16px;line-height:1.5;white-space:nowrap;text-decoration:underline;text-underline-offset:7px}
.valley-dealer-action .DotLink:focus-visible{outline:2px solid currentColor;outline-offset:6px}
.valley-dealer-banner .divider{width:100%;height:1px;background:currentColor;opacity:.2;margin:0}
.valley-dealer-benefits{margin:0;padding-left:24px;font-size:clamp(24px,2.5vw,36px);line-height:1.25;list-style:disc}
.valley-dealer-benefits li+li{margin-top:16px}
@media(max-width:1023px){
  .valley-dealer-grid{grid-template-columns:repeat(16,minmax(0,1fr));padding:40px 0 64px}
  .valley-dealer-mark{display:none}
  .valley-dealer-title{grid-column:2 / span 14;grid-row:1;padding:0;font-size:14px}
  .valley-dealer-copy{grid-column:2 / span 14;grid-row:2;margin-top:24px}
  .valley-dealer-action{grid-column:2 / span 14;grid-row:3;align-items:flex-start;margin-top:32px;padding:0}
}
@media(max-width:767px){
  .valley-icon-banner-inner{min-height:0}
  .valley-icon-banner .the-container{padding:40px 24px 16px;order:0}
  .valley-icon-copy{grid-column:1 / -1;max-width:none;padding:0;font-size:17px}
  .valley-icon-media{position:relative;inset:auto;order:1;height:min(62.5vw,420px)}
  .valley-icon-media img{object-fit:cover;object-position:right center}
  .valley-dealer-banner .the-container{padding:0 24px}
  .valley-dealer-title,.valley-dealer-copy,.valley-dealer-action{grid-column:1 / -1}
}
