/* Deliberately no `position` here — nisa-footer-category__image is
   position:absolute and must escape to the shared row (Footer's
   .nisa-footer__categories) as its containing block, not this wrapper.
   The reference site (measured live) anchors the portrait thumbnail
   (2:3 ratio) to the RIGHT edge of the left half — flush against the
   divider, inset by the column's own padding. `right` is expressed
   against the full row width (the containing block), so `50% + padding`
   lands it against the divider regardless of viewport.
   Sized via `top`/`bottom` insets (not a centered fixed width) so the
   image's own height is always `row height - top - bottom` — it can
   never grow taller than the row and get clipped top/bottom by
   .nisa-footer__categories' overflow:hidden; `width` is then derived
   from that height via aspect-ratio, capped so it doesn't get too wide
   on short/wide rows. */
.cc_llcvgyda_HZJo1TWXl1 .nisa-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%);
  opacity: 0;
  overflow: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

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

.cc_llcvgyda_HZJo1TWXl1 .nisa-footer-category:hover .nisa-footer-category__image, .cc_llcvgyda_HZJo1TWXl1 .nisa-footer-category:focus-within .nisa-footer-category__image {
  opacity: 1;
}

.cc_llcvgyda_HZJo1TWXl1 .nisa-footer-category__link {
  position: relative;
  display: inline-flex;
  align-items: flex-start;
  color: var(--yxsK6O1M8R, #000);
  text-decoration: none;
  font-size: clamp(34px, 9vw, 48px);
  line-height: 1.1;
  letter-spacing: -0.02em;
}

/* Underline grows left-to-right on hover/focus and shrinks back the same
   way on leave — a single transform transition run in each direction, so
   it reads as ease-out going in and ease-in coming out ("easy in/out"). */
.cc_llcvgyda_HZJo1TWXl1 .nisa-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_llcvgyda_HZJo1TWXl1 .nisa-footer-category__link:hover::after, .cc_llcvgyda_HZJo1TWXl1 .nisa-footer-category__link:focus-visible::after {
  transform: scaleX(1);
}

.cc_llcvgyda_HZJo1TWXl1 .nisa-footer-category__link:focus-visible {
  outline: 2px solid var(--yxsK6O1M8R, #000);
  outline-offset: 4px;
}

.cc_llcvgyda_HZJo1TWXl1 .nisa-footer-category__name {
  font-size: var(--nisa-footer-category-fs, inherit);
}

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

  .cc_llcvgyda_HZJo1TWXl1 .nisa-footer-category__name {
    font-size: var(--nisa-footer-category-fs-mobile, var(--nisa-footer-category-fs, inherit));
  }
}

@media (prefers-reduced-motion: reduce) {
  .cc_llcvgyda_HZJo1TWXl1 .nisa-footer-category__image {
    transition: none;
  }
}
