.posts__container {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.posts__container>.post:not(:last-child) {
  border-bottom: 1px solid var(--bs-gray);
  padding-bottom: 20px
}

.post .categories {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: flex-start;
}


.post .categories>a {
  background-color: var(--bs-primary);
  color: var(--bs-white);
  border-radius: 4px;
  padding: 2px 8px;
  text-transform: uppercase;
}

.posts__container article.small-post {
  display: flex;
  gap: 20px;
  max-width: 860px;
  width: 100%;
  margin-inline: auto;
}

.posts__container article.small-post .post-info {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
}

.posts__container article.small-post .post-info>div {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.posts__container article.small-post .post-img__container {
  max-width: 300px;
}

.posts__container article.small-post .post-thumbnail {
  object-fit: cover;
  border-radius: 8px;
  width: 300px;
  aspect-ratio: 3 / 2;
}


@media screen and (max-width: 1280px) {
  .posts__container article.small-post {
    flex-direction: column;
  }
}


@media screen and (max-width: 640px) {
  .posts__container article.small-post .post-img__container {
    max-width: unset;
  }

  .posts__container article.small-post .post-thumbnail {
    width: 100%;
    aspect-ratio: unset;
    height: 260px;
  }
}