.section--catalog {
  margin-bottom: var(--space-lg);
}

.catalog {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  column-gap: var(--space);
  row-gap: calc(var(--space) * 2);
}

.record {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.record__cover-wrapper {
  position: relative;
  transition:
    transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.record__cover-wrapper::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.08);
  pointer-events: none;
}

.record__cover {
  display: block;
  width: 100%;
}

@media (hover: hover) {
  .record__cover-wrapper:hover {
    transform: translate(-4px, -4px);
    box-shadow: 8px 8px 0px 0px #000;
  }
}

.record__info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.record__title {
  text-align: center;
  font-weight: 500;
}

.record__title-link {
  text-align: center;
  text-decoration: none;
  color: inherit;
}

.record__title-link:hover {
  color: #666666;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.record__artist {
  text-align: center;
  font-weight: 500;
}

.record__artist-link {
  text-decoration: none;
  color: inherit;
}

.record__artist-link:hover {
  color: #666666;
  text-decoration: underline;
  text-underline-offset: 2px;
}

@media (min-width: 768px) {
  .catalog {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .catalog {
    grid-template-columns: repeat(3, 1fr);
  }
}
