.blog {
  width: 100%;
  background-color: #ffff;
  display: flex;
  align-items: center;
  flex-direction: column;
}

.blog-posts {
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.blog-redirect {
  color: #01c2a5;
  text-decoration: none;
  font-weight: 600;
}

.blog-redirect:hover {
  text-decoration: underline;
}

.blog-paginator {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  margin: 20px 0;
}
.blog-paginator__buttons {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-around;
  gap: 1.2rem;
}

.blog-paginator__buttons--prev,
.blog-paginator__buttons--next {
  border-radius: 15px;
  width: 90px;
  height: 70px;
  background-color: #fcfcfc;
  border: none;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
  color: #1e1e1e;
}

.blog-paginator__buttons--current {
  color: #1e1e1e;
  text-decoration: none;
  font-family: Montserrat;
  font-size: 16px;
  font-weight: bold;
}

.post,
.skeletonPost {
  background-color: #f2f2f2;
  margin: 10px;
  display: flex;
  flex-direction: row;
  padding: 15px;
  gap: 20px;
  border-radius: 5px;
  box-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.post-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #01c2a5;
  width: 90px;
  height: 90px;
  border-radius: 5px;
  flex-shrink: 0;
}

.post-date__number {
  color: #fff;
  font-weight: bolf;
  font-size: 34px;
  margin: 0;
}

.post-date__detail {
  color: #fff;
  font-weight: 600;
  margin-top: 10px;
}

.post-content {
  flex: 1;
  min-width: 0;
}

.post-title {
  margin-bottom: 15px;
  flex: 1;
  min-width: 0;
  flex-direction: row;
  gap: 10px;
}

.post-title__text {
  margin: 0 0 5px 0;
  font-size: 30px;
}

.post-titile__subtitle {
  margin: 0;
  color: #1c1c1c;
  margin-top: 15px;
  font-size: 14px;
}

.post-body__description {
  line-height: 1.5;
}

.description-text {
  margin: 0;
}

.post-img {
  width: 300px;
  height: 150px;
  flex-shrink: 0;
}

.post-img__content {
  object-fit: cover;
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

@media screen and (max-width: 768px) {
  .post {
    flex-direction: column;
    align-items: stretch;
  }

  .post-content {
    width: 100%;
    padding: 0;
  }

  .post-title {
    width: 100%;
    max-width: 100%;
    margin-bottom: 10px;
  }

  .post-title__text {
    font-size: 1.4rem;
    line-height: 1.4;
    white-space: normal;
    overflow: visible;
    text-overflow: initial;
  }

  .post-titile__subtitle {
    font-size: 0.9rem;
  }

  .post-body__description {
    font-size: 0.9rem;
  }

  .post-img {
    width: 100%;
    height: auto;
    margin-top: 20px;
  }

  .post-img__content {
    border-radius: 0;
  }
}

.error-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
