.skeleton {
  animation: skeleton-loading 1s linear infinite alternate;
}

@keyframes skeleton-loading {
  0% {
    background-color: hsl(200, 20%, 80%);
  }
  100% {
    background-color: hsl(200, 20%, 95%);
  }
}

.skeleton-card {
  background-color: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  padding: 15px;
  height: 350px; /* Adjust height to match your cards */
}

.skeleton-header {
  display: flex;
  align-items: center;
  margin-bottom: 15px;
}

.skeleton-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  margin-right: 15px;
}

.skeleton-title {
  width: 70%;
  height: 20px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.skeleton-subtitle {
  width: 50%;
  height: 15px;
  border-radius: 4px;
}

.skeleton-image {
  width: 100%;
  height: 150px;
  border-radius: 4px;
  margin-bottom: 15px;
}

.skeleton-text {
  width: 100%;
  height: 12px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.skeleton-text:last-child {
  width: 80%;
}

.card-fade-in {
  animation: fadeIn 0.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.98);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
