/* SC Hardt 19/31 — premium home news cards (2026-10-15).
   One isolated layer after the legacy homepage/mobile styles.
   Use editorial images and article text from /api/site; never replace assets. */
#news.home-news{
  background:#f8fbf9!important;
}
#news .home-news-card{
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  isolation:isolate!important;
  overflow:hidden!important;
  border-radius:22px!important;
  border:1px solid rgba(206,226,214,.55)!important;
  background:#073421!important;
  box-shadow:0 10px 28px rgba(4,40,25,.11)!important;
  color:#fff!important;
  text-decoration:none!important;
}
#news .home-news-card:focus-visible{
  outline:3px solid #3bd58d!important;
  outline-offset:4px!important;
}
#news .home-news-media,
#news .home-news-overlay{
  position:absolute!important;
  inset:0!important;
  width:100%!important;
  height:100%!important;
  pointer-events:none!important;
}
#news .home-news-media{
  overflow:hidden!important;
  background-color:#0c3b29!important;
  background-position:center!important;
  background-size:cover!important;
}
#news .home-news-media img{
  display:block!important;
  max-width:none!important;
  width:100%!important;
  height:100%!important;
  transition:filter .25s ease,transform .3s ease!important;
}
#news .home-news-overlay,
#news .home-news-card-feature .home-news-overlay{
  z-index:1!important;
  background:linear-gradient(
    180deg,
    rgba(1,22,13,.10) 0%,
    rgba(1,25,15,.12) 28%,
    rgba(1,25,15,.40) 52%,
    rgba(0,24,14,.78) 74%,
    rgba(0,22,13,.97) 100%
  )!important;
}
#news .home-news-content,
#news .home-news-card-feature .home-news-content,
#news .home-news-card-side .home-news-content{
  position:relative!important;
  z-index:2!important;
  inset:auto!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-end!important;
  flex:0 0 auto!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  padding:27px 29px 25px!important;
  box-sizing:border-box!important;
  color:#fff!important;
  background:transparent!important;
}
#news .home-news-category{
  align-self:flex-start!important;
  display:inline-flex!important;
  align-items:center!important;
  min-height:27px!important;
  max-width:100%!important;
  padding:4px 12px!important;
  box-sizing:border-box!important;
  border:1px solid #52d998!important;
  border-radius:999px!important;
  background:#008c4d!important;
  color:#fff!important;
  font-size:10px!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:.04em!important;
  text-transform:uppercase!important;
  overflow-wrap:anywhere!important;
}
#news .home-news-content h3,
#news .home-news-card-feature h3,
#news .home-news-card-side h3{
  width:100%!important;
  max-width:100%!important;
  margin:12px 0 0!important;
  color:#fff!important;
  font-size:clamp(25px,2.5vw,40px)!important;
  line-height:1.1!important;
  letter-spacing:-.035em!important;
  font-weight:900!important;
  text-wrap:balance!important;
  overflow-wrap:anywhere!important;
  text-shadow:0 2px 12px rgba(0,0,0,.28)!important;
}
#news .home-news-card-feature h3{
  font-size:clamp(32px,3.15vw,52px)!important;
}
#news .home-news-content p{
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  line-clamp:3!important;
  overflow:hidden!important;
  width:100%!important;
  max-width:680px!important;
  margin:11px 0 0!important;
  color:rgba(255,255,255,.94)!important;
  font-size:15px!important;
  line-height:1.44!important;
  text-shadow:0 1px 7px rgba(0,0,0,.23)!important;
}
#news .home-news-footer{
  display:flex!important;
  align-items:center!important;
  justify-content:space-between!important;
  min-height:54px!important;
  gap:12px!important;
  margin:16px 0 0!important;
  padding:13px 0 0!important;
  box-sizing:border-box!important;
  border-top:1px solid rgba(255,255,255,.22)!important;
}
#news .home-news-date{
  display:inline-flex!important;
  align-items:center!important;
  gap:7px!important;
  flex:1 1 auto!important;
  min-width:0!important;
  color:#f7fff9!important;
  font-size:11px!important;
  line-height:1.3!important;
  font-weight:850!important;
  letter-spacing:.02em!important;
  font-variant-numeric:tabular-nums!important;
}
#news .home-news-date:before{
  content:""!important;
  display:inline-block!important;
  flex:0 0 17px!important;
  width:17px!important;
  height:17px!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='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-date.is-undated:before{
  content:none!important;
}
#news .home-news-cta,
#news .home-news-round{
  display:grid!important;
  place-items:center!important;
  flex:0 0 52px!important;
  width:52px!important;
  height:52px!important;
  min-width:52px!important;
  min-height:52px!important;
  max-width:52px!important;
  padding:0!important;
  margin:0!important;
  box-sizing:border-box!important;
  overflow:hidden!important;
  border:2px solid #87ecc0!important;
  border-radius:50%!important;
  background:linear-gradient(140deg,#11985b,#00683b)!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.27),0 4px 15px rgba(4,35,22,.32)!important;
  color:#fff!important;
  font-size:0!important;
  line-height:1!important;
  text-align:center!important;
  white-space:nowrap!important;
  text-decoration:none!important;
  transition:transform .2s ease,background .2s ease,box-shadow .2s ease!important;
}
#news .home-news-cta b{display:none!important}
#news .home-news-cta:after,
#news .home-news-round:after{
  content:""!important;
  display:block!important;
  width:25px!important;
  height:25px!important;
  flex:0 0 25px!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-all{
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:13px!important;
  min-height:48px!important;
  padding:0 22px!important;
  box-sizing:border-box!important;
  border:1px solid #4bc78f!important;
  border-radius:999px!important;
  background:linear-gradient(145deg,#0a9e59,#007d46)!important;
  color:#fff!important;
  font-size:12px!important;
  line-height:1.15!important;
  font-weight:900!important;
  letter-spacing:.035em!important;
  text-transform:uppercase!important;
  box-shadow:0 4px 13px rgba(5,98,55,.13)!important;
}
#news .home-news-all span{font-size:19px!important}
@media(hover:hover){
  #news .home-news-card:hover{
    transform:translateY(-2px)!important;
    box-shadow:0 14px 35px rgba(4,40,25,.18)!important;
  }
  #news .home-news-card:hover .home-news-cta,
  #news .home-news-card:hover .home-news-round{
    transform:translateX(3px)!important;
    box-shadow:0 5px 20px rgba(3,42,24,.45)!important;
  }
  #news .home-news-all:hover{filter:brightness(1.06)}
}
@media(max-width:1060px){
  #news .home-news-layout{grid-template-columns:1fr!important;min-height:0!important;gap:16px!important}
  #news .home-news-feature{min-height:0!important}
  #news .home-news-side{grid-template-columns:1fr 1fr!important;grid-template-rows:none!important;gap:16px!important}
}
@media(max-width:700px){
  #news.home-news{
    padding:38px 15px 56px!important;
    background:#f8fbf9!important;
  }
  #news .home-news-heading{
    display:flex!important;
    flex-direction:column!important;
    align-items:flex-start!important;
    gap:0!important;
    margin:0 0 18px!important;
  }
  #news .home-news-heading h2{
    font-size:clamp(34px,9vw,43px)!important;
    line-height:.98!important;
    margin:7px 0 9px!important;
  }
  #news .home-news-intro{
    font-size:13px!important;
    line-height:1.5!important;
  }
  #news .home-news-all{
    margin:18px 0 0!important;
    min-height:45px!important;
    padding:0 20px!important;
    font-size:11px!important;
    white-space:nowrap!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:14px!important;
    min-height:0!important;
  }
  #news .home-news-layout article,
  #news .home-news-feature,
  #news .home-news-side>article{
    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{
    display:flex!important;
    flex-direction:column!important;
    justify-content:flex-end!important;
    width:100%!important;
    height:auto!important;
    min-height:350px!important;
    border-radius:19px!important;
  }
  #news .home-news-card-feature{
    min-height:408px!important;
  }
  #news .home-news-card-side{
    min-height:350px!important;
  }
  #news .home-news-media{
    filter:none!important;
    transform:none!important;
  }
  #news .home-news-media img{
    filter:saturate(.99) contrast(1.02)!important;
  }
  #news .home-news-overlay,
  #news .home-news-card-feature .home-news-overlay{
    background:linear-gradient(180deg,
      rgba(0,22,13,.04) 0%,
      rgba(0,24,14,.14) 24%,
      rgba(0,25,14,.39) 49%,
      rgba(0,23,13,.77) 71%,
      rgba(0,21,12,.97) 100%)!important;
  }
  #news .home-news-content,
  #news .home-news-card-feature .home-news-content,
  #news .home-news-card-side .home-news-content{
    position:relative!important;
    inset:auto!important;
    max-width:none!important;
    padding:22px 22px 18px!important;
  }
  #news .home-news-category{
    min-height:25px!important;
    padding:4px 10px!important;
    font-size:9px!important;
    line-height:1.1!important;
  }
  #news .home-news-content h3,
  #news .home-news-card-feature h3,
  #news .home-news-card-side h3{
    font-size:clamp(25px,6.7vw,32px)!important;
    line-height:1.08!important;
    margin:10px 0 0!important;
  }
  #news .home-news-content p{
    display:-webkit-box!important;
    -webkit-line-clamp:3!important;
    line-clamp:3!important;
    margin-top:10px!important;
    font-size:13px!important;
    line-height:1.42!important;
  }
  #news .home-news-footer{
    min-height:52px!important;
    gap:10px!important;
    margin:15px 0 0!important;
    padding:12px 0 0!important;
  }
  #news .home-news-date{font-size:11px!important}
  #news .home-news-cta,
  #news .home-news-round{
    flex:0 0 48px!important;
    width:48px!important;
    min-width:48px!important;
    max-width:48px!important;
    height:48px!important;
    min-height:48px!important;
  }
  #news .home-news-cta:after,
  #news .home-news-round:after{
    width:23px!important;height:23px!important;flex-basis:23px!important;
  }
}
@media(max-width:380px){
  #news.home-news{padding-left:12px!important;padding-right:12px!important}
  #news .home-news-content,
  #news .home-news-card-feature .home-news-content,
  #news .home-news-card-side .home-news-content{
    padding:19px 17px 17px!important;
  }
  #news .home-news-content h3,
  #news .home-news-card-feature h3,
  #news .home-news-card-side h3{
    font-size:clamp(23px,6.5vw,27px)!important;
  }
  #news .home-news-card-feature{min-height:370px!important}
  #news .home-news-card-side{min-height:330px!important}
  #news .home-news-content p{font-size:12px!important}
}
@media(prefers-reduced-motion:reduce){
  #news .home-news-card,
  #news .home-news-media img,
  #news .home-news-cta,
  #news .home-news-round{transition:none!important}
}
