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

.skeleton-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;
}

.skeleton-post-date__number,
.skeleton-post-date__detail {
  color: #fff;
  font-weight: bold;
  font-size: 22px;
  font-family: Montserrat;
  margin: 0;
  text-align: center;
  background-color: transparent;
}

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

.skeleton-post-title {
  margin-bottom: 15px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.skeleton-post-body {
  line-height: 1.5;
}

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

.skeleton-placeholder {
  background-color: #e0e0e0;
  animation: pulse 1.5s infinite ease-in-out;
  border-radius: 4px;
}

.skeleton-title {
  width: 70%;
  height: 20px;
  margin-bottom: 5px;
}

.skeleton-subtitle {
  width: 50%;
  height: 14px;
  margin-bottom: 15px;
}

.skeleton-description {
  width: 100%;
  height: 16px;
  margin-bottom: 10px;
}

.skeleton-link {
  width: 30%;
  height: 16px;
}

.skeleton-img {
  width: 100%;
  height: 100%;
  border-radius: 5px;
}

/* Pulsating animation */
@keyframes pulse {
  0% {
    background-color: #e0e0e0;
  }
  50% {
    background-color: #f0f0f0;
  }
  100% {
    background-color: #e0e0e0;
  }
}

/* Mobile Responsiveness */
@media screen and (max-width: 768px) {
  .skeleton-post {
    flex-direction: column;
    align-items: stretch;
    width: 500px;
  }

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

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

  .skeleton-title {
    width: 80%;
  }

  .skeleton-subtitle {
    width: 60%;
  }

  .skeleton-description {
    font-size: 0.9rem;
  }

  .skeleton-img {
    border-radius: 0;
  }
}
