/* Layout Styles */
.masonry-container {
  max-height: 400px;
  overflow-y: auto;
}

@media (min-width: 768px) {
  .masonry-container {
    max-height: 470px;
  }
}

.masonry-layout {
  display: grid;
  grid-template-columns: repeat(1, minmax(0, 1fr));
  gap: 0.5rem;
}

@media (min-width: 768px) {
  .masonry-layout {
    display: block;
    column-count: 4;
    column-gap: 10px;
  }
}

.masonry-item {
  margin-bottom: 10px;
  break-inside: avoid;
}

.d-none-masonry-skeleton {
  display: none;
}

.loading-shape-container {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
  margin-top: 0.5rem;
}

.loading-skeleton-circle {
  height: 40px;
  width: 15%;
  border-radius: 50%;
}

@media (min-width: 768px) {
  .loading-skeleton-circle {
    width: 5%;
  }
}

.loading-skeleton-small {
  height: 40px;
  width: 83%;
  border-radius: 0.75rem;
}

@media (min-width: 768px) {
  .loading-skeleton-small {
    width: 93%;
  }
}

.loading-skeleton-large {
  height: 40px;
  width: 100%;
  border-radius: 0.75rem;
}

.loading-skeleton {
  transition: #eeeeee 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    #dddddd 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    background-color 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  animation: 2s loading-skeleton infinite cubic-bezier(0.36, 0, 0.64, 1);
  background-color: #eeeeee;
}

@keyframes loading-skeleton {
  0% {
    background: #eeeeee;
  }
  40% {
    background: #dddddd;
  }
  80% {
    background: #eeeeee;
  }
  100% {
    background: #eeeeee;
  }
}
