.category-background-links {
  position: relative;
  overflow: hidden;
  background: #2b3136;
}

.category-background-links__background {
  position: absolute;
  inset: 0;
  background-color: #2b3136;
  background-image:
    linear-gradient(rgba(14, 18, 21, 0.48), rgba(14, 18, 21, 0.48)),
    var(--category-background-links-default-image);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.category-background-links__background--hover {
  opacity: 0;
  transition: opacity 480ms ease-in-out;
  pointer-events: none;
}

.category-background-links__background--hover.is-visible {
  opacity: 1;
}

.category-background-links .page-width {
  position: relative;
  z-index: 1;
  max-width: 1400px;
  min-height: 760px;
  padding-top: 72px;
  padding-bottom: 72px;
}

.category-background-links__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 44px;
  min-height: calc(760px - 144px);
}

.category-background-links__item {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff !important;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  transition: opacity 200ms ease;
}

.category-background-links__item::after {
  position: absolute;
  left: 50%;
  bottom: -0.18em;
  width: 100%;
  height: 1px;
  content: "";
  background: currentColor;
  transform: translateX(-50%) scaleX(0);
  transform-origin: center;
  transition: transform 260ms ease;
}

.category-background-links__item:hover,
.category-background-links__item:focus-visible {
  opacity: 0.88;
  color: #fff !important;
}

.category-background-links__item:hover::after,
.category-background-links__item:focus-visible::after {
  transform: translateX(-50%) scaleX(1);
}

@media (max-width: 959px) {
  .category-background-links .page-width {
    min-height: 560px;
    padding-top: 48px;
    padding-bottom: 48px;
  }

  .category-background-links__inner {
    gap: 28px;
    min-height: calc(560px - 96px);
  }
}
