/* Related Posts module */
.related_posts_module{
  padding: 48px 24px;
}
.related_posts_module__inner{
  max-width: var(--ib-container, 1200px);
  margin: 0 auto;
}
.related_posts_module__heading{
  text-align: center;
  margin-bottom: 24px;
}
.related_posts_module__grid{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.related_posts_module__grid--single{
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.related_posts_module__grid--single .related_posts_module__card{
  justify-self: end;
}
.related_posts_module__grid--single .related_posts_module__card--prev{
  justify-self: start;
}
.related_posts_module__card{
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 16px;
  align-items: center;
  text-decoration: none;
  color: inherit;
  padding: 14px;
  border: 1px solid #e5e7eb;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 8px 18px rgba(0,0,0,.04);
  max-width: 450px;
  width: 100%;
}
.related_posts_module__card--prev{
  justify-self: start;
}
.related_posts_module__card--next{
  grid-template-columns: 1fr 120px;
  text-align: right;
  justify-self: end;
}
.related_posts_module__card--next img{
  order: 2;
}
.related_posts_module__card--next .related_posts_module__meta{
  order: 1;
}
.related_posts_module__card img{
  width: 100%;
  height: 90px;
  object-fit: cover;
  border-radius: 10px;
}
.related_posts_module__meta{
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.related_posts_module__eyebrow{
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: #6b7280;
}
.related_posts_module__title{
  font-weight: 700;
  font-size: 16px;
  line-height: 1.3;
}

@media (max-width: 900px){
  .related_posts_module__grid{
    grid-template-columns: 1fr;
  }
  .related_posts_module__grid--single{
    grid-template-columns: 1fr;
  }
  .related_posts_module__card{
    grid-template-columns: 100px 1fr;
  }
  .related_posts_module__card--next,
  .related_posts_module__card--prev{
    justify-self: stretch;
    text-align: left;
  }
  .related_posts_module__card--next img{
    order: 0;
  }
  .related_posts_module__card--next .related_posts_module__meta{
    order: 0;
  }
}
