/* Content preview grid */

.listing-previews {
  /* repeat = as many times as you can fit */
  /* auto-fit = fit as many items on the line as possible, go bigger if you need to */
  /*minmax = (min size, max size) = the minimum size the column should be is 300px, but if there's space then give them all 1fr of that width. */
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 2rem;
}

/* @media (min-width: 1500px) {
  .listing-previews {
    grid-template-columns: repeat(auto-fit, minmax(23%, 1fr));
  }
} */


.content-preview {
  position: relative;
  overflow: hidden;
  /*background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.9) 100%);*/
}

.content-preview a {
  text-decoration: none;
}

.content-preview-thumb,
.content-album-art {
  transition: opacity 0.4s ease 0.2s, background-size 0.2s ease 0s, box-shadow 0.2s linear;
  width: 100%;
  padding-bottom: 56.5%;
  background-size: cover;
  background-position: 50% 50%;
  background-repeat: no-repeat;
  background-color: #fff;
  border: 1px solid var(--image-border-color);
  box-sizing: border-box;
  /* -webkit-filter: grayscale(50%);
  filter: grayscale(50%); */
}

.content-preview:hover .content-preview-thumb {
  /* -webkit-filter: grayscale(0%);
  filter: grayscale(0%); */
  /* background-size: 120%; */
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.9);
}

.content-preview:hover .content-preview-thumb[data-src] {
  /* background-size: 50px 50px; */
}

.content-square-previews .content-preview-thumb {
  padding-bottom: 100%;
}

.content-preview-title {
  transition: border-bottom 0.4s ease, color 0.4s ease;
  width: 100%;
  padding: 0.5rem 1rem;
  border-bottom: 1px solid var(--image-border-color);
  color: var(--text-color-normal);
  font-size: 1.8rem;
  box-sizing: border-box;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-align: center;
}

/*.content-preview:hover .content-preview-title {
  background-color: rgba(0,0,0,0.9);
}*/
