.wallace-news{
  margin: 0;
}

.wallace-news__grid{
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px){
  .wallace-news__grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px){
  .wallace-news__grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

/* =========================
   LATEST NEWS (card grid)
========================= */

.wallace-news-grid{
  display: grid;
  gap: 26px;
  grid-template-columns: repeat(1, minmax(0, 1fr));
}

@media (min-width: 768px){
  .wallace-news-grid{
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (min-width: 1100px){
  .wallace-news-grid{
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.wallace-news-grid__card{
  display: block;
  text-decoration: none;
  color: inherit;
  background: #ffffff;
  border-top-left-radius: 1.875rem;
  border-bottom-right-radius: 1.875rem;
  box-sizing: border-box;
}

.wallace-news-grid__media{
  background: #fff;
  border-top-left-radius: 1.875rem;
  overflow: hidden;
}

.wallace-news-grid__img{
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-radius: 0;
}

.wallace-news-grid__body{
  padding: 20px 20px;
}

.wallace-news-grid__date{
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: .95rem;
  color: #083a63;
  margin-bottom: 10px;
}

.wallace-news-grid__title{
  margin: 0;
  font-size: 25px;
  line-height: 1.05;
  font-weight: 800;
  color: #083a63 !important;
}

.wallace-news-grid__card:hover{
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
  transition: box-shadow .2s ease;
}

.wallace-news-grid__cta{
  margin-top: 26px;
  display: flex;
  justify-content: center;
}

.wallace-news-grid__button{
border-style: solid;
    border-top-width: 0px;
    border-right-width: 0px;
    border-left-width: 0px;
    border-bottom-width: 0px;
    border-color: #0073b9;
    background-color: #0073b9;
    color: #ffffff;
    font-family: inherit;
    font-weight: 600;
    line-height: 1em;
    text-transform: uppercase;
    font-size: 20px;
    font-size: 1rem;
    border-top-left-radius: 3px;
    border-top-right-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
    padding-top: 10px;
    padding-right: 20px;
    padding-bottom: 10px;
    padding-left: 20px;
}
.wallace-news-grid__button:hover{ filter: brightness(.95); }

.wallace-news-archive__pagination{
  margin-top: 28px;
}

.wallace-news-archive__pagination ul{
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.wallace-news-archive__pagination a,
.wallace-news-archive__pagination span{
  display: inline-flex;
  min-width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  text-decoration: none;
  font-weight: 700;
  background: #eaf4ff;
  color: #083a63;
  padding: 0 14px;
}

.wallace-news-archive__pagination .current{
  background: #005293;
  color: #fff;
}

/* =========================
   ARCHIVE LIST (image left)
   Inspired by Winrock category/news layout 
========================= */

.wallace-news-archive__list{
  display: grid;
  gap: 26px;
}

.wallace-news-archive__item{
  padding-bottom: 26px;
  border-bottom: 1px solid rgba(0,0,0,.12);
}

.wallace-news-archive__link{
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 22px;
  align-items: start;
  text-decoration: none;
  color: inherit;
}

.wallace-news-archive__media{
  overflow: hidden;
}

.wallace-news-archive__img{
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  border-top-left-radius: 1.875rem;
  border-bottom-right-radius: 1.875rem;
}

.wallace-news-archive__title{
  margin: 0 0 10px;
  font-weight: 800;
  line-height: 1.15;
  font-size: 25px;
  color: #0073b9 !important;
}

.wallace-news-archive__date{
  margin: 0 0 12px;
  font-size: 1.05rem;
  font-weight: 600;
  opacity: .85;
}

.wallace-news-archive__excerpt{
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.6;
  opacity: .95;
}

/* Mobile stack */
@media (max-width: 768px){
  .wallace-news-archive__link{
    grid-template-columns: 1fr;
  }
}