
/* Gainwell v1.39 — latest three Posts on the homepage */
[data-gw-module="home--resources"] .gw-home-latest-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  gap:24px!important;
  align-items:stretch!important
}

[data-gw-module="home--resources"] .gw-home-latest-card{
  min-width:0;
  min-height:100%;
  display:flex!important;
  flex-direction:column;
  overflow:hidden;
  padding:0!important;
  color:var(--gw3-ink,#173544)!important;
  background:#fff!important;
  border:1px solid var(--gw3-line,#d7e0e3)!important;
  border-radius:8px!important;
  box-shadow:0 14px 34px rgba(7,31,46,.07);
  transition:transform .28s ease,box-shadow .28s ease,border-color .28s ease
}

[data-gw-module="home--resources"] .gw-home-latest-card:hover{
  transform:translateY(-5px);
  border-color:rgba(22,134,180,.32)!important;
  box-shadow:0 24px 52px rgba(7,31,46,.13)
}

[data-gw-module="home--resources"] .gw-home-latest-card__media{
  position:relative;
  aspect-ratio:16/10;
  overflow:hidden;
  margin:0;
  background:#dfe8eb
}

[data-gw-module="home--resources"] .gw-home-latest-card__media img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  transition:transform .65s ease
}

[data-gw-module="home--resources"] .gw-home-latest-card:hover .gw-home-latest-card__media img{
  transform:scale(1.045)
}

[data-gw-module="home--resources"] .gw-home-latest-card__media .resource-type{
  position:absolute;
  left:18px;
  top:18px;
  z-index:2;
  display:inline-flex;
  padding:8px 10px;
  color:#fff!important;
  background:rgba(7,31,46,.88);
  backdrop-filter:blur(8px);
  border-radius:3px;
  font-size:9px;
  font-weight:850;
  letter-spacing:.13em;
  text-transform:uppercase
}

[data-gw-module="home--resources"] .gw-home-latest-card__body{
  flex:1;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
  padding:24px 24px 25px
}

[data-gw-module="home--resources"] .gw-home-latest-card__meta{
  width:100%;
  display:flex;
  justify-content:space-between;
  gap:14px;
  margin-bottom:14px;
  color:#71848d;
  font-size:10px;
  font-weight:750;
  letter-spacing:.07em;
  text-transform:uppercase
}

[data-gw-module="home--resources"] .gw-home-latest-card h3{
  margin:0 0 13px;
  color:var(--gw3-ink,#173544)!important;
  font-family:var(--gw3-serif,Georgia,serif);
  font-size:clamp(23px,2vw,30px)!important;
  font-weight:400!important;
  line-height:1.08
}

[data-gw-module="home--resources"] .gw-home-latest-card p{
  display:-webkit-box;
  overflow:hidden;
  margin:0 0 24px;
  color:var(--gw3-text,#5f727b)!important;
  font-size:14px;
  line-height:1.72;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3
}

[data-gw-module="home--resources"] .gw-home-latest-card .text-link{
  margin-top:auto;
  color:var(--gw3-blue,#1686b4)!important
}

[data-gw-module="home--resources"] .gw-home-latest-card--fallback .gw-home-latest-card__media{
  background:
    linear-gradient(135deg,rgba(7,31,46,.96),rgba(22,134,180,.68)),
    var(--gw3-navy,#071f2e)
}

[data-gw-module="home--resources"] .gw-home-latest-card--fallback .resource-type{
  position:static;
  margin:18px
}

[data-gw-module="home--resources"] .gw-home-resource-hub-link{
  margin-top:36px
}

@media(max-width:1050px){
  [data-gw-module="home--resources"] .gw-home-latest-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important
  }

  [data-gw-module="home--resources"] .gw-home-latest-card:first-child{
    grid-column:1/-1
  }

  [data-gw-module="home--resources"] .gw-home-latest-card:first-child{
    display:grid!important;
    grid-template-columns:minmax(0,1.15fr) minmax(280px,.85fr)
  }

  [data-gw-module="home--resources"] .gw-home-latest-card:first-child .gw-home-latest-card__media{
    aspect-ratio:auto;
    min-height:340px
  }
}

@media(max-width:720px){
  [data-gw-module="home--resources"] .gw-home-latest-grid{
    grid-template-columns:1fr!important;
    gap:18px!important
  }

  [data-gw-module="home--resources"] .gw-home-latest-card:first-child{
    display:flex!important;
    grid-column:auto
  }

  [data-gw-module="home--resources"] .gw-home-latest-card:first-child .gw-home-latest-card__media{
    min-height:0;
    aspect-ratio:16/10
  }

  [data-gw-module="home--resources"] .gw-home-latest-card__body{
    padding:21px 20px 23px
  }

  [data-gw-module="home--resources"] .gw-home-latest-card h3{
    font-size:25px!important
  }
}
