/*
  Colors
*/
/*
  Width
*/
/*
  Space
*/
/*
  Colors
*/
/*
  Width
*/
/*
  Space
*/
.related-posts {
  width: 100%;
}

.related-posts .container {
  margin-inline: auto;
  width: calc(100% - 24px * 2);
  max-width: 1200px;
}

.related-posts__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #e22927;
  text-align: left;
}

.related-posts__wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1.3rem;
  margin: 1.5rem 0;
  width: 100%;
}

.box {
  margin: 0;
  height: 100%;
  background-color: #E8E2D7;
}

.box img {
  aspect-ratio: 35 / 20;
  -o-object-fit: cover;
     object-fit: cover;
}

.box__text-title {
  color: #4a4a4a;
}

main:has(.related-posts) .sustainability {
  padding-bottom: 3rem;
}

@media only screen and (min-width: 1200px) {
  .related-posts__title {
    font-size: 2rem;
  }
}

@media only screen and (min-width: 768px) {
  .related-posts__wrapper {
    margin: 1.5rem 0 3rem;
  }
  .related-posts__wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
}

@media only screen and (min-width: 1024px) {
  .related-posts__wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
}
