.xo-container-full {
  max-width: unset;
  padding: 0;
}

.collection-v51 {
  display: flex;
  flex-direction: column;
}
@media (max-width: 575px) {
  .collection-v51 .collection-v51-content__line {
    width: 60%;
  }
  .collection-v51 .collection-v51-content__title {
    opacity: 1;
    transform: translateY(-1rem);
  }
  .collection-v51 .collection-v51-content__sub {
    opacity: 1;
    transform: translateY(0.1rem);
  }
  .collection-v51 .collection-v51-content {
    background: rgba(var(--color-background), 0.6);
  }
}
.collection-v51:hover .collection-v51-content__line {
  width: 60%;
}
.collection-v51:hover .collection-v51-content__title {
  opacity: 1;
  transform: translateY(-1rem);
}
.collection-v51:hover .collection-v51-content__sub {
  opacity: 1;
  transform: translateY(0.1rem);
}
.collection-v51:hover .collection-v51-content {
  background: rgba(var(--color-background), 0.6);
}

.collection-v51__box {
  position: relative;
  color: rgba(var(--color-foreground));
  max-height: 50rem;
  height: 100%;
}
.collection-v51__box .xo-image {
  height: 100%;
}

.collection-v51-content {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  top: 4.5rem;
  left: 4.5rem;
  right: 4.5rem;
  bottom: 4.5rem;
  z-index: 1;
  text-align: center;
  transition: background 0.3s ease;
}

.collection-v51-content__line {
  width: 0;
  margin: 1.2rem auto;
  height: 0.01rem;
  background-color: rgba(var(--color-foreground));
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.collection-v51-content__wrap {
  overflow: hidden;
}

.collection-v51-content__title {
  font-size: calc(var(--font-body-scale) * 2.4rem);
  font-weight: 500;
  text-transform: capitalize;
  letter-spacing: calc(var(--font-heading-scale) * 0.2rem);
  line-height: calc(1 + 0.3338 / var(--font-heading-scale));
  position: relative;
  opacity: 0;
  font-family: var(--font-custom-family);
  bottom: -1rem;
  transform: translateY(2rem);
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.25s, color 0.2s ease;
}
@media (min-width: 992px) {
  .collection-v51-content__title {
    font-size: calc(var(--font-body-scale) * 1.8rem);
  }
}
@media (min-width: 1200px) {
  .collection-v51-content__title {
    font-size: calc(var(--font-body-scale) * 2.4rem);
  }
}
.collection-v51-content__title:hover {
  color: rgba(var(--color-accent));
}

.collection-v51-content__sub {
  font-size: calc(var(--font-body-scale) * 1.2rem);
  font-weight: 500;
  line-height: calc(1 + 0.562 / var(--font-heading-scale));
  text-transform: uppercase;
  letter-spacing: calc(var(--font-heading-scale) * 0.2rem);
  transform: translateY(-2rem);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) 0.25s, color 0.2s ease;
  position: relative;
}
.collection-v51-content__sub:hover {
  color: rgba(var(--color-accent));
}