/* REFTHE homepage: four approved refinements only. */

body.lean-home .technical-search:focus-within{
  border-color:#e8652d!important;
  box-shadow:
    inset 0 1px 0 #fff,
    0 0 0 4px rgba(232,101,45,.16),
    0 18px 38px rgba(20,55,62,.14)!important;
}

body.lean-home .technical-search input:focus{outline:none}

body.lean-home .recent-work{
  margin-top:14px;
  padding:14px;
}

body.lean-home .recent-work__heading{margin-bottom:10px}
body.lean-home .recent-work h2{font-size:clamp(18px,2vw,23px)}
body.lean-home .recent-work__list{grid-template-columns:minmax(0,1fr)}

body.lean-home .recent-work__list a{
  display:grid;
  grid-template-columns:minmax(0,1fr) auto;
  align-items:center;
  gap:14px;
  min-height:60px;
  padding:10px 13px;
}

body.lean-home .recent-work__list span{margin-top:0}

body.lean-home .resource-grid{
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}

body.lean-home .workbench-grid{align-items:stretch}
body.lean-home .editorial-card{height:100%}
body.lean-home .case-card h3,
body.lean-home .case-card .editorial-go{color:#fff!important}
body.lean-home .case-card p{color:#d8e7e5!important}

@media(max-width:850px){
  body.lean-home .resource-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}

@media(max-width:560px){
  body.lean-home .resource-grid{grid-template-columns:1fr!important}
  body.lean-home .recent-work__heading{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
  }
  body.lean-home .recent-work__list a{min-height:58px}
}

@media(prefers-reduced-motion:reduce){
  body.lean-home .technical-search{transition:none!important}
}
