/* Creates an rgba background based on a HEX colour */
/*============================================================================
Breakpoint Variables
==============================================================================*/
/*============================================================================
  Breakpoint Mixins
==============================================================================*/
.recent-posts {
  margin-top: 50px;
  margin-bottom: 70px;
}
.recent-posts .row {
  display: flex;
  gap: 50px;
  flex-direction: column;
  align-items: stretch;
}
@media (min-width: 782px) {
  .recent-posts .row {
    flex-direction: row;
  }
}
@media (min-width: 782px) {
  .recent-posts .row > div {
    flex-basis: 50%;
    width: 50%;
    gap: 80px;
  }
}
.recent-posts .row > div a {
  text-decoration: none;
  color: white;
}
.recent-posts__most-recent {
  background-size: cover;
  background-position: center;
}
.recent-posts__most-recent > div {
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(13, 31, 45, 0.28) 0%, rgba(13, 31, 45, 0.68) 100%);
  display: flex;
  flex-direction: column;
  position: relative;
  padding: 20px;
}
@media (min-width: 782px) {
  .recent-posts__most-recent > div {
    padding: 40px;
  }
}
.recent-posts__most-recent > div h2 {
  margin-top: auto;
  margin-bottom: 15px;
  font-size: clamp(2rem, 4vw, 2.625rem);
  color: white;
}
.recent-posts__most-recent a.post-wrapper-link {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  z-index: 1;
}
.recent-posts__most-recent .wp-block-buttons {
  z-index: 2;
}
.recent-posts__other-posts > div {
  margin-bottom: 50px;
}
.recent-posts__other-posts > div .post-date {
  margin-bottom: 0;
}
.recent-posts__other-posts > div h2 {
  margin-top: 10px;
  margin-bottom: 15px;
}
.recent-posts__other-posts > div p {
  font-weight: 300;
}
