/* SC Hardt 19/31 — approved split-card homepage News design (2026-10-21).
   Editorial photograph above a clean white content panel.
   Applied last, isolated to #news: all article data and CMS crops remain intact. */
#news.home-news{
  background:#f7faf8!important;
  color:#082d1d!important;
}
#news .home-news-layout{
  display:grid!important;
  grid-template-columns:minmax(0,1fr) minmax(0,2fr)!important;
  gap:17px!important;
  min-height:0!important;
  align-items:stretch!important;
}
#news .home-news-feature{
  min-height:0!important;
  height:auto!important;
  min-width:0!important;
}
#news .home-news-side{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  grid-template-rows:minmax(0,1fr)!important;
  align-items:stretch!important;
  gap:17px!important;
  min-height:0!important;
  height:auto!important;
}
#news .home-news-side>article,
#news .home-news-layout article{
  display:block!important;
  min-width:0!important;
  min-height:0!important;
  height:auto!important;
  margin:0!important;
}
#news .home-news-card,
#news .home-news-card-feature,
#news .home-news-card-side{
  position:relative!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
  width:100%!important;
  height:100%!important;
  min-height:0!important;
  max-height:none!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  isolation:isolate!important;
  border:1px solid #e0eae4!important;
  border-radius:19px!important;
  color:#0a3825!important;
  background:#fff!important;
  box-shadow:0 8px 23px rgba(11,60,34,.085)!important;
  text-decoration:none!important;
  transform:none!important;
  transition:box-shadow .2s ease,transform .2s ease!important;
}
#news .home-news-card .home-news-media,
#news .home-news-card-feature .home-news-media,
#news .home-news-card-side .home-news-media{
  position:relative!important;
  display:block!important;
  inset:auto!important;
  z-index:0!important;
  flex:0 0 auto!important;
  width:100%!important;
  height:auto!important;
  min-height:0!important;
  aspect-ratio:16 / 9!important;
  overflow:hidden!important;
  background-color:#0c3927!important;
  background-position:center!important;
  background-size:cover!important;
  background-repeat:no-repeat!important;
  filter:none!important;
  transform:none!important;
  transition:none!important;
  pointer-events:none!important;
}
#news .home-news-card .home-news-media img{
  position:absolute!important;
  inset:0!important;
  display:block!important;
  max-width:none!important;
  max-height:none!important;
  width:100%!important;
  height:100%!important;
  /* Keep object-fit, object-position and zoom from the News image editor. */
  image-rendering:auto!important;
  filter:none!important;
  opacity:1!important;
  transition:filter .25s ease!important;
}
#news .home-news-card .home-news-media-fallback{
  background:
    radial-gradient(circle at 22% 16%,rgba(133,221,161,.35),transparent 44%),
    linear-gradient(130deg,#09653d 0%,#053c2a 55%,#022f20 100%)!important;
}
#news .home-news-card .home-news-overlay,
#news .home-news-card-feature .home-news-overlay{
  display:none!important;
}
#news .home-news-card .home-news-content,
#news .home-news-card-feature .home-news-content,
#news .home-news-card-side .home-news-content{
  position:relative!important;
  display:flex!important;
  z-index:2!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  inset:auto!important;
  flex:1 1 auto!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:198px!important;
  max-height:none!important;
  margin:-14px 0 0!important;
  padding:17px 18px 16px!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:17px 17px 0 0!important;
  background:#fff!important;
  color:#0a3825!important;
  text-align:left!important;
  box-shadow:none!important;
}
#news .home-news-card .home-news-category{
  display:inline-flex!important;
  align-items:center!important;
  align-self:flex-start!important;
  width:auto!important;
  min-width:0!important;
  max-width:100%!important;
  min-height:24px!important;
  margin:0!important;
  padding:4px 10px!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:999px!important;
  background:#dcefe5!important;
  color:#075735!important;
  font-size:10px!important;
  line-height:1.2!important;
  font-weight:900!important;
  letter-spacing:.025em!important;
  text-transform:uppercase!important;
  overflow-wrap:anywhere!important;
}
#news .home-news-card .home-news-content h3,
#news .home-news-card-feature .home-news-content h3,
#news .home-news-card-side .home-news-content h3{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  line-clamp:2!important;
  align-self:stretch!important;
  width:100%!important;
  max-width:none!important;
  min-height:0!important;
  max-height:none!important;
  margin:10px 0 0!important;
  padding:0!important;
  overflow:hidden!important;
  color:#073b27!important;
  font-size:clamp(20px,1.9vw,27px)!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:-.03em!important;
  text-shadow:none!important;
  text-wrap:pretty!important;
  overflow-wrap:anywhere!important;
  hyphens:auto!important;
}
#news .home-news-card .home-news-content p,
#news .home-news-card-feature .home-news-content p,
#news .home-news-card-side .home-news-content p{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:2!important;
  line-clamp:2!important;
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  min-height:0!important;
  max-height:none!important;
  margin:8px 0 0!important;
  padding:0!important;
  overflow:hidden!important;
  color:#60706a!important;
  font-size:13px!important;
  line-height:1.45!important;
  font-weight:450!important;
  text-shadow:none!important;
  overflow-wrap:anywhere!important;
}
#news .home-news-card .home-news-footer,
#news .home-news-card-feature .home-news-footer,
#news .home-news-card-side .home-news-footer{
  display:flex!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:space-between!important;
  gap:12px!important;
  width:100%!important;
  min-height:45px!important;
  margin:auto 0 0!important;
  padding:14px 0 0!important;
  box-sizing:border-box!important;
  border:0!important;
  background:transparent!important;
}
#news .home-news-card .home-news-date{
  display:inline-flex!important;
  flex:1 1 auto!important;
  align-items:center!important;
  gap:9px!important;
  min-width:0!important;
  margin:0!important;
  color:#66756c!important;
  font-size:12px!important;
  line-height:1.4!important;
  font-weight:750!important;
  letter-spacing:0!important;
  font-variant-numeric:tabular-nums!important;
  white-space:nowrap!important;
}
#news .home-news-card .home-news-date:before{
  content:""!important;
  display:inline-block!important;
  flex:0 0 19px!important;
  width:19px!important;
  height:19px!important;
  background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236b7c72' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='5' width='18' height='16' rx='2'/%3E%3Cpath d='M7 3v4M17 3v4M3 10h18'/%3E%3C/svg%3E")!important;
}
#news .home-news-card .home-news-date.is-undated:before{
  content:none!important;
}
#news .home-news-card .home-news-cta,
#news .home-news-card .home-news-round{
  display:grid!important;
  place-items:center!important;
  flex:0 0 45px!important;
  width:45px!important;
  height:45px!important;
  min-width:45px!important;
  min-height:45px!important;
  max-width:45px!important;
  max-height:45px!important;
  margin:0!important;
  padding:0!important;
  box-sizing:border-box!important;
  border:0!important;
  border-radius:50%!important;
  background:#008247!important;
  color:transparent!important;
  font-size:0!important;
  line-height:1!important;
  box-shadow:none!important;
  text-align:center!important;
  transform:none!important;
  transition:background .2s ease,transform .2s ease!important;
}
#news .home-news-card .home-news-cta b{
  display:none!important;
}
#news .home-news-card .home-news-cta:after,
#news .home-news-card .home-news-round:after{
  content:""!important;
  display:block!important;
  flex:0 0 23px!important;
  width:23px!important;
  height:23px!important;
  background:center/contain no-repeat url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16m-7-7 7 7-7 7'/%3E%3C/svg%3E")!important;
}
#news .home-news-card:focus-visible{
  outline:3px solid #16b36d!important;
  outline-offset:4px!important;
}
@media(hover:hover){
  #news .home-news-card:hover{
    transform:translateY(-2px)!important;
    box-shadow:0 13px 29px rgba(6,56,31,.14)!important;
  }
  #news .home-news-card:hover .home-news-cta,
  #news .home-news-card:hover .home-news-round{
    background:#056a3c!important;
    transform:translateX(2px)!important;
    box-shadow:none!important;
  }
  #news .home-news-card:hover .home-news-media{
    transform:none!important;
  }
  #news .home-news-card:hover .home-news-media img{
    filter:saturate(1.04) contrast(1.01)!important;
  }
}
@media(min-width:1081px){
  #news .home-news-layout{grid-template-columns:minmax(0,1fr) minmax(0,2fr)!important}
  #news .home-news-side{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(min-width:701px) and (max-width:1080px){
  #news .home-news-layout{grid-template-columns:minmax(0,1fr)!important}
  #news .home-news-side{grid-template-columns:repeat(2,minmax(0,1fr))!important}
  #news .home-news-card .home-news-content{min-height:195px!important}
}
@media(max-width:700px){
  #news.home-news{
    padding:34px 15px 45px!important;
    background:#f6faf7!important;
  }
  #news .home-news-heading{
    margin:0 0 18px!important;
    gap:11px!important;
  }
  #news .home-news-layout,
  #news .home-news-side{
    display:grid!important;
    grid-template-columns:minmax(0,1fr)!important;
    grid-template-rows:none!important;
    gap:15px!important;
    min-height:0!important;
    width:100%!important;
    max-width:100%!important;
  }
  #news .home-news-feature,
  #news .home-news-side>article{
    min-height:0!important;
    height:auto!important;
  }
  #news .home-news-card,
  #news .home-news-card-feature,
  #news .home-news-card-side{
    height:auto!important;
    min-height:0!important;
    max-height:none!important;
    border-radius:17px!important;
  }
  #news .home-news-card .home-news-media{
    aspect-ratio:16 / 7.5!important;
    min-height:0!important;
    max-height:240px!important;
    filter:none!important;
    transform:none!important;
  }
  #news .home-news-card .home-news-content,
  #news .home-news-card-feature .home-news-content,
  #news .home-news-card-side .home-news-content{
    min-height:183px!important;
    margin-top:-12px!important;
    padding:15px 17px 14px!important;
    border-radius:16px 16px 0 0!important;
  }
  #news .home-news-card .home-news-category{
    min-height:23px!important;
    padding:4px 10px!important;
    font-size:9px!important;
  }
  #news .home-news-card .home-news-content h3,
  #news .home-news-card-feature .home-news-content h3,
  #news .home-news-card-side .home-news-content h3{
    margin-top:8px!important;
    font-size:clamp(20px,5.4vw,25px)!important;
    line-height:1.12!important;
  }
  #news .home-news-card .home-news-content p{
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    line-clamp:2!important;
    margin-top:7px!important;
    font-size:12.5px!important;
    line-height:1.43!important;
  }
  #news .home-news-card .home-news-footer{
    min-height:44px!important;
    margin:auto 0 0!important;
    padding-top:12px!important;
  }
  #news .home-news-card .home-news-date{font-size:11px!important}
  #news .home-news-card .home-news-cta,
  #news .home-news-card .home-news-round{
    flex:0 0 44px!important;
    width:44px!important;
    height:44px!important;
    min-width:44px!important;
    min-height:44px!important;
    max-width:44px!important;
    max-height:44px!important;
    border:0!important;
    box-shadow:none!important;
  }
  #news .home-news-card .home-news-cta:after,
  #news .home-news-card .home-news-round:after{
    width:21px!important;
    height:21px!important;
    flex-basis:21px!important;
  }
}
@media(max-width:380px){
  #news.home-news{padding-left:12px!important;padding-right:12px!important}
  #news .home-news-card .home-news-media{aspect-ratio:16 / 8.2!important}
  #news .home-news-card .home-news-content{
    padding:14px 14px 12px!important;
    min-height:182px!important;
  }
  #news .home-news-card .home-news-content h3,
  #news .home-news-card-feature .home-news-content h3,
  #news .home-news-card-side .home-news-content h3{
    font-size:clamp(18px,5.4vw,22px)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  #news .home-news-card,
  #news .home-news-card .home-news-media img,
  #news .home-news-card .home-news-cta,
  #news .home-news-card .home-news-round{
    transition:none!important;
  }
}
