/* Keyframe for shimmer animation */
@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

/* Skeleton container */
.lspp__skeleton {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 40px auto;
  padding: 0 16px;
}

/* Responsive for tablets */
@media (max-width: 1024px) {
  .lspp__skeleton {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* Responsive for mobile */
@media (max-width: 640px) {
  .lspp__skeleton {
    grid-template-columns: 1fr;
  }
}

/* Skeleton card */
.skeleton-card {
  border-radius: 20px;
  padding: 27px;
  width: 100%;
  min-height: 323px;
  background-color: #e0e0e0;
  position: relative;
  overflow: hidden;
}

/* Mobile responsiveness for card */
@media (max-width: 640px) {
  .skeleton-card {
    min-height: 281px;
    padding: 12px;
    text-align: center;
  }
}

/* Skeleton animation box */
.skeleton-card .skeleton-box {
  background: linear-gradient(90deg, #e0e0e0 25%, #f5f5f5 50%, #e0e0e0 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
  margin-bottom: 12px;
}

/* Specific skeleton parts */
.skeleton-card .skeleton-img {
  width: 100%;
  height: 160px;
}

.skeleton-card .skeleton-title {
  width: 70%;
  height: 20px;
  margin: 10px auto;
}

.skeleton-card .skeleton-line {
  width: 90%;
  height: 14px;
  margin: 0 auto;
}
