.gallery-title {
  font-size: 1.8rem;
  padding: 2rem 0 0;
}

.galleries-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  grid-gap: 1rem;
  padding: 0.5rem 0 3rem;
}

.item {
  position: relative;
  display: flex;
  text-decoration: none;
  flex-direction: column;
  align-items: center;
  /* background-color: white; */
}

.item .thumb {
  width: 100%;
  aspect-ratio: 1/1;
  padding: 1rem;
  object-fit: cover;
  height: auto;
  /* mix-blend-mode: multiply; */
}

.item .title {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.item .title-large {
  font-size: 1.9rem;
}

.item .year {
  font-size: 1.1rem;
}

.item .new-badge-large {
  position: absolute;
  top: 0;
  right: 0;
  width: 2.8rem;
  height: 2.8rem;
}

@media only screen and (max-width: 1024px) {
  .galleries-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media only screen and (max-width: 768px) {
  .galleries-grid {
    padding: 1.5rem 0.3rem;
    grid-template-columns: repeat(3, 1fr);
  }

  .item .new-badge-large {
    width: 2.1rem;
    height: 2.1rem;
  }

  .item .thumb {
    padding: 0.7rem;
  }

  .item .title {
    font-size: 1.2rem;
    margin-bottom: 0.2rem;
  }

  .item .title-large {
    font-size: 1.5rem;
  }

  .item .year {
    font-size: 0.9rem;
  }
}

@media only screen and (max-width: 540px) {
  .galleries-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
