/* No `position` here: the preview image escapes to the footer's category row. */
.cc_pxp5JFR88R_2L9fl6Nngu .im-footer-category {
  font-family: var(--im-font-display);
}

.cc_pxp5JFR88R_2L9fl6Nngu .im-footer-category__image {
  position: absolute;
  top: clamp(24px, 4vw, 77px);
  bottom: clamp(24px, 4vw, 77px);
  right: calc(50% + clamp(16px, 4vw, 77px));
  width: min(340px, 20%);
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.cc_pxp5JFR88R_2L9fl6Nngu .im-footer-category__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cc_pxp5JFR88R_2L9fl6Nngu .im-footer-category:hover .im-footer-category__image, .cc_pxp5JFR88R_2L9fl6Nngu .im-footer-category:focus-within .im-footer-category__image {
  opacity: 1;
}

.cc_pxp5JFR88R_2L9fl6Nngu .im-footer-category__link {
  position: relative;
  display: inline-flex;
  font-size: var(--im-fc-size, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: inherit;
  text-decoration: none;
}

/* Underline grows left to right on hover and shrinks back the same way. */
.cc_pxp5JFR88R_2L9fl6Nngu .im-footer-category__link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.cc_pxp5JFR88R_2L9fl6Nngu .im-footer-category__link:hover::after, .cc_pxp5JFR88R_2L9fl6Nngu .im-footer-category__link:focus-visible::after {
  transform: scaleX(1);
}

.cc_pxp5JFR88R_2L9fl6Nngu .im-footer-category__link:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 1023px) {
  .cc_pxp5JFR88R_2L9fl6Nngu .im-footer-category__image {
    display: none;
  }

  .cc_pxp5JFR88R_2L9fl6Nngu .im-footer-category__link {
    font-size: var(--im-fc-size-mobile, 28px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_pxp5JFR88R_2L9fl6Nngu .im-footer-category__image, .cc_pxp5JFR88R_2L9fl6Nngu .im-footer-category__link::after {
    transition: none;
  }
}
