/* RYHA 3.2.0-beta35 — full-width LT/EN hero art with baked-in illustrative objects.
   Do not add a second stage, CTA overlay or remote photo requests. */
body.home .nph-page .nph-hero--agro {
  box-sizing:border-box!important;
  position:relative!important; isolation:isolate!important;
  left:50%!important; width:100vw!important; max-width:100vw!important;
  margin-left:-50vw!important; margin-right:-50vw!important;
  padding:46px 0 26px!important; min-height:578px!important;
  overflow:hidden!important; border:0!important; border-radius:0!important;
  background-color:#07160f!important;
  background-image:url('../images/ryha-agro-hero-beta35-lt.webp')!important;
  background-position:left center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  box-shadow:inset 0 -1px 0 rgba(255,255,255,.07)!important;
}
body.home .nph-page .nph-hero--agro::before {
  content:""!important; display:block!important;
  position:absolute!important; inset:0!important; z-index:0!important;
  background:linear-gradient(90deg,rgba(5,17,12,.92) 0%,rgba(6,20,14,.87) 29%,rgba(7,23,15,.38) 44%,transparent 60%)!important;
  filter:none!important; opacity:1!important; transform:none!important;
  width:auto!important; height:auto!important;
  pointer-events:none!important;
}
body.home .nph-page .nph-hero--agro::after{display:none!important;content:none!important;}
body.home .nph-hero--agro .nph-hero-grid{
  position:relative!important;z-index:2!important;
  width:min(1500px,calc(100% - 8vw))!important;max-width:1500px!important;
  min-height:506px!important;margin:0 auto!important;
  display:block!important;gap:0!important;
}
body.home .nph-hero--agro .nph-hero-copy{
  position:relative!important;z-index:3!important;
  width:49%!important; max-width:700px!important;min-width:0!important;
  padding:26px 0 12px!important;margin:0!important;
}
body.home .nph-hero--agro h1{
  max-width:720px!important;font-size:clamp(43px,4.05vw,66px)!important;
  line-height:1.06!important;letter-spacing:-2px!important;
}
body.home .nph-hero--agro .nph-hero-lead{
  max-width:610px!important;font-size:16px!important;line-height:1.58!important;
  margin:20px 0 24px!important;
}
body.home .nph-hero--agro .nph-search-live{max-width:620px!important;min-height:58px!important;}
body.home .nph-hero--agro .nph-hero-actions{gap:12px!important;margin-top:20px!important;}
body.home .nph-hero--agro .nph-btn{min-height:50px!important;}
/* Old stage is completely removed in PHP. This guard protects upgrades from cached fragments. */
body.home .nph-hero--agro .ryha-agro-hero-stage{display:none!important;}

/* Entire TRUST bar, not merely a centered row, spans the viewport. */
body.home .nph-page .nph-trust{
  box-sizing:border-box!important;position:relative!important;z-index:6!important;
  left:50%!important;width:100vw!important;max-width:100vw!important;
  margin:0 0 0 -50vw!important; padding:15px 0 17px!important;
  background:linear-gradient(180deg,#071710 0%,#091a12 100%)!important;
  border-top:1px solid rgba(98,212,117,.12)!important;
  border-bottom:1px solid rgba(98,212,117,.09)!important;
  border-radius:0!important; overflow:hidden!important;
}
body.home .nph-page .nph-trust .nph-container{
  box-sizing:border-box!important;
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr)) minmax(358px,1.9fr)!important;
  align-items:stretch!important;gap:0!important;
  width:100%!important;max-width:none!important;margin:0!important;
  padding:0 0 0 max(24px,calc((100vw - 1500px)/2))!important;
}
body.home .nph-page .nph-trust-item{
  box-sizing:border-box!important;min-width:0!important;min-height:94px!important;
  display:flex!important;align-items:center!important;gap:11px!important;
  margin:0!important;padding:12px 15px!important;
  border:0!important;border-radius:0!important;
  border-right:1px solid rgba(160,224,171,.12)!important;
  background:transparent!important;box-shadow:none!important;
  transform:none!important;color:#f0fff2!important;
}
body.home .nph-page .nph-trust-item + .nph-trust-item{
  border-left:0!important;border-top:0!important;
}
body.home .nph-page .nph-trust-item:hover{transform:none!important;box-shadow:none!important;}
body.home .nph-page .nph-trust-item .nph-iconbox{
  display:flex!important;align-items:center!important;justify-content:center!important;
  width:43px!important;height:43px!important;flex:0 0 43px!important;
  background:rgba(42,147,62,.10)!important;
  border:1px solid rgba(103,212,117,.27)!important;border-radius:50%!important;
  color:#5ae175!important;
}
body.home .nph-page .nph-trust-item .nph-iconbox svg{width:22px!important;height:22px!important;}
body.home .nph-page .nph-trust-copy{min-width:0!important;}
body.home .nph-page .nph-trust-item .nph-trust-label,
body.home .nph-page .nph-trust-item strong{
  display:block!important;font-size:13px!important;line-height:1.25!important;
  font-weight:800!important;color:#f3fff4!important;white-space:normal!important;
}
body.home .nph-page .nph-trust-item .nph-trust-copy span{
  display:block!important;font-size:10.5px!important;line-height:1.4!important;
  color:#b6cbbc!important;overflow-wrap:normal!important;
}
/* Last column is the full-width help strip right up to the viewport edge. */
body.home .nph-page .nph-trust-item-help{
  min-width:0!important;grid-column:5!important;
  display:grid!important;grid-template-columns:minmax(0,1fr) auto!important;
  gap:13px!important;align-items:center!important;
  padding:12px max(25px,calc((100vw - 1580px)/2)) 12px 22px!important;
  border:1px solid rgba(103,212,117,.22)!important;
  border-right:0!important;border-radius:18px 0 0 18px!important;
  background:rgba(3,22,12,.58)!important;
}
body.home .nph-page .nph-trust-item-help .nph-trust-help-main{
  display:flex!important;align-items:center!important;gap:11px!important;min-width:0!important;
  color:#f1fff3!important;text-decoration:none!important;
}
body.home .nph-page .nph-trust-item-help .nph-trust-copy strong{
  font-size:13.5px!important;line-height:1.32!important;
}
body.home .nph-page .nph-trust-item-help .nph-trust-copy span{
  font-size:10.8px!important;line-height:1.42!important;
}
body.home .nph-page .nph-trust-help-links{
  display:flex!important;flex-direction:column!important;justify-content:center!important;gap:7px!important;
  min-width:max-content!important;padding-left:15px!important;
  border-left:1px solid rgba(255,255,255,.13)!important;
}
body.home .nph-page .nph-trust-help-links a{
  display:block!important;font-size:11.6px!important;line-height:1.25!important;
  color:#e9f9ed!important;font-weight:700!important;
  text-decoration:none!important;white-space:nowrap!important;
}
body.home .nph-page .nph-trust-help-links a:hover{color:#73e787!important;}

@media (min-width:1101px) and (max-width:1360px){
  body.home .nph-hero--agro .nph-hero-copy{width:51%!important;}
  body.home .nph-hero--agro h1{font-size:clamp(41px,4.1vw,56px)!important;}
  body.home .nph-page .nph-trust .nph-container{
    grid-template-columns:repeat(4,minmax(0,1fr)) minmax(330px,2fr)!important;
    padding-left:18px!important;
  }
  body.home .nph-page .nph-trust-item{padding:10px 9px!important;gap:8px!important;}
  body.home .nph-page .nph-trust-item-help{padding-left:12px!important;padding-right:16px!important;gap:8px!important;}
  body.home .nph-page .nph-trust-item .nph-iconbox{width:38px!important;height:38px!important;flex-basis:38px!important;}
  body.home .nph-page .nph-trust-help-links{padding-left:8px!important;}
  body.home .nph-page .nph-trust-help-links a{font-size:10.5px!important;}
}

/* On tablet/mobile the SAME section background flows behind text; photo continues below the CTAs. */
@media (max-width:1100px){
  body.home .nph-page .nph-hero--agro{
    min-height:0!important;
    padding:34px 0 340px!important;
    background-image:linear-gradient(180deg,#06150e 0%,#071811 63%,#071a10 100%)!important;
    background-position:center!important;
  }
  body.home .nph-page .nph-hero--agro::before{
    z-index:0!important;inset:auto 0 0!important;height:330px!important;
    background:
      linear-gradient(180deg,#071811 0%,rgba(7,24,17,.05) 22%,rgba(7,24,17,0) 68%,#071710 100%),
      url('../images/ryha-agro-mobile-beta35-lt.webp') center center / cover no-repeat!important;
    opacity:1!important;
  }
  body.home .nph-hero--agro .nph-hero-grid{
    width:min(780px,calc(100% - 38px))!important;max-width:780px!important;
    min-height:0!important;display:block!important;margin:auto!important;
  }
  body.home .nph-hero--agro .nph-hero-copy{
    width:100%!important;max-width:780px!important;
    padding:0!important;
  }
  body.home .nph-hero--agro h1{font-size:clamp(38px,5.6vw,55px)!important;}
  body.home .nph-page .nph-trust .nph-container{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    column-gap:0!important;row-gap:0!important;
    padding:10px 20px!important;
  }
  body.home .nph-page .nph-trust-item{min-height:75px!important;border-bottom:1px solid rgba(255,255,255,.08)!important;}
  body.home .nph-page .nph-trust-item-help{
    grid-column:1 / -1!important;min-height:86px!important;
    border:1px solid rgba(103,212,117,.22)!important;border-radius:15px!important;
    padding:12px 18px!important;
  }
}
@media (max-width:600px){
  body.home .nph-page .nph-hero--agro{padding:28px 0 250px!important;}
  body.home .nph-page .nph-hero--agro::before{height:240px!important;}
  body.home .nph-hero--agro .nph-hero-grid{width:calc(100% - 28px)!important;}
  body.home .nph-hero--agro h1{font-size:clamp(32px,8.5vw,40px)!important;letter-spacing:-1.2px!important;}
  body.home .nph-hero--agro .nph-hero-lead{font-size:14px!important;margin:16px 0 20px!important;}
  body.home .nph-page .nph-trust .nph-container{grid-template-columns:1fr!important;padding:8px 14px!important;}
  body.home .nph-page .nph-trust-item{min-height:62px!important;border-right:0!important;padding:8px 10px!important;}
  body.home .nph-page .nph-trust-item-help{grid-column:1!important;grid-template-columns:minmax(0,1fr)!important;gap:10px!important;padding:14px!important;}
  body.home .nph-page .nph-trust-help-links{
    border-left:0!important;border-top:1px solid rgba(255,255,255,.12)!important;
    padding:9px 0 0!important;
  }
}
@media (prefers-reduced-motion:reduce){body.home .nph-hero--agro .nph-btn{transition:none!important;}}

/* ============================================================
 * RYHA 3.2.0-beta35 — final hero polish.
 * One language-specific local WebP surface; no new image container.
 * ============================================================ */
body.home .nph-page .nph-hero--agro{
  background-image:url('../images/ryha-agro-hero-beta35-lt.webp')!important;
}
body.home .nph-page .nph-hero--agro.nph-hero--en{
  background-image:url('../images/ryha-agro-hero-beta35-en.webp')!important;
}
/* Text remains readable, but photo / cylinder are no longer hidden by a
   heavy dark veil across the middle and lower half. */
body.home .nph-page .nph-hero--agro::before{
  background:linear-gradient(90deg,
    rgba(5,17,12,.91) 0%,
    rgba(6,20,14,.84) 29%,
    rgba(7,23,15,.24) 45%,
    rgba(7,23,15,0) 61%)!important;
}
/* More room for direct help instead of breaking the heading into 3 lines. */
@media (min-width:1361px){
  body.home .nph-page .nph-trust .nph-container{
    grid-template-columns:repeat(4,minmax(0,1fr)) minmax(500px,2.4fr)!important;
  }
}
@media (min-width:1241px) and (max-width:1360px){
  body.home .nph-page .nph-trust .nph-container{
    grid-template-columns:repeat(4,minmax(0,1fr)) minmax(455px,2.25fr)!important;
    padding-left:18px!important;
  }
}
@media (min-width:1101px) and (max-width:1240px){
  body.home .nph-page .nph-trust .nph-container{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    padding:10px 20px!important;
    row-gap:8px!important;
  }
  body.home .nph-page .nph-trust-item:nth-child(4){
    grid-column:1 / 2!important;grid-row:2!important;
  }
  body.home .nph-page .nph-trust-item-help{
    grid-column:2 / 4!important;grid-row:2!important;
    border-radius:15px!important;border-right:1px solid rgba(103,212,117,.22)!important;
    margin:0!important;
  }
}
@media (min-width:1101px){
  body.home .nph-page .nph-trust-item-help{
    gap:20px!important;
    padding-top:12px!important;padding-bottom:12px!important;
    padding-left:22px!important;
    grid-template-columns:minmax(190px,1fr) minmax(165px,max-content)!important;
    background:rgba(4,24,15,.65)!important;
  }
  body.home .nph-page .nph-trust-item-help .nph-trust-help-main{
    gap:12px!important;
  }
  body.home .nph-page .nph-trust-item-help .nph-trust-copy strong{
    white-space:nowrap!important;font-size:14px!important;
  }
  body.home .nph-page .nph-trust-item-help .nph-trust-copy span{
    white-space:normal!important;font-size:11.5px!important;line-height:1.4!important;
  }
  body.home .nph-page .nph-trust-help-links{padding-left:17px!important;}
  body.home .nph-page .nph-trust-help-links a{font-size:12px!important;}
}
@media (max-width:1100px){
  body.home .nph-page .nph-hero--agro,
  body.home .nph-page .nph-hero--agro.nph-hero--en{
    background-image:linear-gradient(180deg,#06150e 0%,#071811 63%,#071a10 100%)!important;
  }
  /* Below desktop the same photographed scene continues under real HTML text.
     EN-specific overlays are image assets, never a runtime translation proxy. */
  body.home .nph-page .nph-hero--agro::before{
    background:
      linear-gradient(180deg,#071811 0%,rgba(7,24,17,.03) 23%,rgba(7,24,17,0) 66%,rgba(7,23,15,.45) 100%),
      url('../images/ryha-agro-mobile-beta35-lt.webp') center center/cover no-repeat!important;
  }
  body.home .nph-page .nph-hero--agro.nph-hero--en::before{
    background:
      linear-gradient(180deg,#071811 0%,rgba(7,24,17,.03) 23%,rgba(7,24,17,0) 66%,rgba(7,23,15,.45) 100%),
      url('../images/ryha-agro-mobile-beta35-en.webp') center center/cover no-repeat!important;
  }
}
@media (min-width:601px) and (max-width:1100px){
  body.home .nph-page .nph-trust-item-help{
    padding:13px 20px!important;
    grid-template-columns:minmax(220px,1fr) auto!important;
  }
  body.home .nph-page .nph-trust-item-help .nph-trust-copy strong{white-space:nowrap!important;}
  body.home .nph-page .nph-trust-help-links a{font-size:12px!important;}
}
@media (max-width:600px){
  body.home .nph-page .nph-trust-item-help{
    padding:13px 14px!important;
  }
  body.home .nph-page .nph-trust-item-help .nph-trust-help-main{
    gap:12px!important;
  }
  body.home .nph-page .nph-trust-item-help .nph-trust-copy strong{
    font-size:13.5px!important;
  }
}


/* =============================================================
 * beta36 – mobile hero layout only, desktop beta35 is unchanged.
 * A single WebP art surface stays integrated in the pseudo-layer;
 * live search and anchors remain real interactive HTML controls.
 * ============================================================= */
@media (max-width:1100px){
  body.home .nph-page .nph-hero--agro{
    --ryha-art-mobile-height:clamp(238px,62vw,520px);
    padding:clamp(22px,3.8vw,34px) 0 calc(var(--ryha-art-mobile-height) + 8px)!important;
    background-color:#06150e!important;
    background-image:linear-gradient(180deg,#06150e 0%,#07170f 78%,#071910 100%)!important;
  }
  body.home .nph-page .nph-hero--agro::before,
  body.home .nph-page .nph-hero--agro.nph-hero--en::before{
    display:block!important;
    position:absolute!important;
    inset:auto 0 0 0!important;
    width:100%!important;
    max-width:none!important;
    height:var(--ryha-art-mobile-height)!important;
    min-height:0!important;
    opacity:1!important;
    filter:none!important;
    transform:none!important;
    border:0!important;
    background-color:#071910!important;
    background-size:100% 100%,cover!important;
    background-repeat:no-repeat!important;
    background-position:center center,center center!important;
    pointer-events:none!important;
  }
  body.home .nph-page .nph-hero--agro::before{
    background-image:
      linear-gradient(180deg,#07170f 0%,rgba(7,23,15,.03) 17%,rgba(7,23,15,0) 68%,#071910 100%),
      url('../images/ryha-agro-mobile-beta35-lt.webp')!important;
  }
  body.home .nph-page .nph-hero--agro.nph-hero--en::before{
    background-image:
      linear-gradient(180deg,#07170f 0%,rgba(7,23,15,.03) 17%,rgba(7,23,15,0) 68%,#071910 100%),
      url('../images/ryha-agro-mobile-beta35-en.webp')!important;
  }
  body.home .nph-hero--agro .nph-hero-grid{
    width:min(780px,calc(100% - 36px))!important;
    max-width:780px!important;
    margin:0 auto!important;
    min-height:0!important;
  }
  body.home .nph-hero--agro .nph-hero-copy{
    width:100%!important;max-width:none!important;
    margin:0!important;padding:0 0 12px!important;
  }
  body.home .nph-hero--agro .nph-eyebrow{
    max-width:100%!important;
    margin:0 0 16px!important;
  }
  body.home .nph-hero--agro h1{margin:0!important;line-height:1.08!important;}
  body.home .nph-hero--agro .nph-hero-lead{max-width:680px!important;}
  body.home .nph-page .nph-trust{
    z-index:3!important;
    background:#081a11!important;
    border-top:1px solid rgba(111,222,134,.13)!important;
    /* Preserve viewport centering from the full-bleed base rule.
       Resetting margin to zero while keeping left:50% shifted the entire
       benefits strip right by half a screen on mobile. */
    margin:0 0 0 -50vw!important;
  }
}
@media (max-width:600px){
  body.home .nph-page .nph-hero--agro{
    --ryha-art-mobile-height:clamp(200px,61vw,385px);
    padding:25px 0 calc(var(--ryha-art-mobile-height) + 4px)!important;
  }
  body.home .nph-hero--agro .nph-hero-grid{
    width:calc(100% - 28px)!important;
  }
  body.home .nph-hero--agro .nph-hero-copy{
    padding-bottom:8px!important;
  }
  body.home .nph-hero--agro .nph-eyebrow{
    gap:7px!important;
    padding:7px 10px!important;
    margin-bottom:13px!important;
    font-size:clamp(10px,2.9vw,12px)!important;
    line-height:1.25!important;
  }
  body.home .nph-hero--agro h1{
    font-size:clamp(32px,8.55vw,46px)!important;
    line-height:1.07!important;
    letter-spacing:-1.25px!important;
    text-wrap:balance!important;
  }
  body.home .nph-hero--agro h1 span{margin-top:7px!important;}
  body.home .nph-hero--agro .nph-hero-lead{
    font-size:clamp(13px,3.65vw,15px)!important;
    line-height:1.55!important;
    margin:15px 0 17px!important;
  }
  body.home .nph-hero--agro .nph-search-live,
  body.home .nph-hero--agro .nph-search-live .ryha-search-widget,
  body.home .nph-hero--agro .nph-search-live .ryha-search-bar{
    width:100%!important;max-width:none!important;min-width:0!important;
  }
  body.home .nph-hero--agro .nph-search-live .ryha-search-bar{
    min-height:56px!important;
    padding:3px 7px!important;
    border-radius:999px!important;
    box-shadow:0 10px 25px rgba(0,0,0,.22)!important;
  }
  body.home .nph-hero--agro .nph-search-live .ryha-search-input{
    height:50px!important;
    font-size:16px!important;
    padding-left:14px!important;
  }
  body.home .nph-hero--agro .nph-hero-actions{
    display:grid!important;
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:10px!important;
    width:100%!important;
    margin:14px 0 0!important;
    align-items:stretch!important;
  }
  body.home .nph-hero--agro .nph-hero-actions .nph-btn{
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    width:100%!important;max-width:100%!important;
    min-width:0!important;min-height:49px!important;
    padding:9px 7px!important;
    border-radius:12px!important;
    text-align:center!important;
    font-size:clamp(11.5px,3.36vw,14px)!important;
    line-height:1.22!important;
    white-space:normal!important;
    overflow-wrap:normal!important;
  }
  body.home .nph-page .nph-trust .nph-container{
    width:100%!important;max-width:none!important;
    padding:13px 14px 17px!important;
    grid-template-columns:1fr!important;
    gap:9px!important;
  }
  body.home .nph-page .nph-trust-item{
    grid-column:1!important;
    display:flex!important;
    min-height:68px!important;
    margin:0!important;
    padding:12px 13px!important;
    gap:13px!important;
    border:1px solid rgba(125,204,143,.18)!important;
    border-radius:14px!important;
    background:rgba(8,32,20,.74)!important;
    box-shadow:none!important;
  }
  body.home .nph-page .nph-trust-item + .nph-trust-item{
    border-top:1px solid rgba(125,204,143,.18)!important;
    border-left:1px solid rgba(125,204,143,.18)!important;
  }
  body.home .nph-page .nph-trust-item .nph-iconbox{
    width:43px!important;height:43px!important;
    flex:0 0 43px!important;
    margin:0!important;
  }
  body.home .nph-page .nph-trust-item .nph-iconbox svg{
    width:23px!important;height:23px!important;
  }
  body.home .nph-page .nph-trust-item .nph-trust-label,
  body.home .nph-page .nph-trust-item strong{
    font-size:14px!important;line-height:1.24!important;
  }
  body.home .nph-page .nph-trust-item .nph-trust-copy span{
    font-size:11.5px!important;line-height:1.42!important;
  }
  body.home .nph-page .nph-trust-item-help{
    display:grid!important;
    grid-column:1!important;
    grid-template-columns:1fr!important;
    gap:10px!important;
    padding:12px 13px!important;
    border-radius:14px!important;
  }
  body.home .nph-page .nph-trust-item-help .nph-trust-help-main{
    display:flex!important;align-items:center!important;gap:12px!important;
    min-width:0!important;
  }
  body.home .nph-page .nph-trust-help-links{
    display:flex!important;flex-direction:row!important;
    flex-wrap:wrap!important;
    align-items:center!important;
    justify-content:flex-start!important;
    gap:8px 13px!important;
    min-width:0!important;
    width:100%!important;
    padding:10px 0 0!important;
    border-left:0!important;
    border-top:1px solid rgba(255,255,255,.1)!important;
  }
  body.home .nph-page .nph-trust-help-links a{
    font-size:11.5px!important;
  }
}
@media (max-width:360px){
  body.home .nph-hero--agro h1{font-size:clamp(30px,8.45vw,32px)!important;}
  body.home .nph-hero--agro .nph-hero-actions .nph-btn{
    font-size:11.5px!important;padding-inline:5px!important;
  }
  body.home .nph-page .nph-trust .nph-container{padding-inline:11px!important;}
}

/* beta37: full-width benefits strip must share the hero's viewport origin.
   Only mobile/tablet are affected. Desktop beta35 layout stays untouched. */
@media (max-width:1100px){
  body.home .nph-page .nph-trust{
    position:relative!important;
    left:50%!important;
    width:100vw!important;
    max-width:100vw!important;
    margin-left:-50vw!important;
    margin-right:0!important;
    box-sizing:border-box!important;
  }
  body.home .nph-page .nph-trust .nph-container{
    box-sizing:border-box!important;
    width:100%!important;
    max-width:100%!important;
    margin-left:0!important;
    margin-right:0!important;
    min-width:0!important;
  }
}
@media (max-width:600px){
  body.home .nph-page .nph-trust .nph-container{
    padding-left:14px!important;
    padding-right:14px!important;
  }
}
@media (max-width:360px){
  body.home .nph-page .nph-trust .nph-container{
    padding-left:11px!important;
    padding-right:11px!important;
  }
}
