.world-image-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  width: 100%;
  margin-bottom: 24px;
  border: 0;
  overflow: visible;
}

.world-image-tabs .tab {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  min-height: clamp(140px, 15vw, 190px);
  width: 100%;
  padding: 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 0;
  background-color: #10211f;
  background-position: center;
  background-size: cover;
  color: #fff;
  font: 600 clamp(0.72rem, 1vw, 0.86rem)/1.5 "DM Sans", sans-serif;
  letter-spacing: 0.08em;
  text-align: left;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.72);
  white-space: normal;
}

.world-image-tabs .tab::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 15, 14, 0.82), rgba(5, 15, 14, 0.05) 72%);
  content: "";
  transition: background-color 220ms ease;
}

.world-image-tabs .tab[data-target="relax"] {
  background-image: url("/assets/relaxation.webp");
}

.world-image-tabs .tab[data-target="beauty"] {
  background-image: url("/assets/esthetic.webp");
}

.world-image-tabs .tab[data-target="sport"] {
  background-image: url("/assets/performance-mainvisual-20260927.webp");
  color: #fff;
}

.world-image-tabs .tab.active {
  border-color: #fff;
  box-shadow: inset 0 -5px 0 var(--tone), 0 0 0 1px #fff;
  color: #fff;
}

.world-image-tabs .tab.active::before {
  background: linear-gradient(0deg, rgba(5, 15, 14, 0.62), rgba(5, 15, 14, 0.02) 72%);
}

@media (hover: hover) and (pointer: fine) {
  .world-image-tabs .tab:hover {
    border-color: #fff;
  }
}

@media (max-width: 850px) {
  .world-image-tabs {
    gap: 6px;
  }

  .world-image-tabs .tab {
    min-height: 112px;
    padding: 12px 8px;
    font-size: 0.66rem;
    line-height: 1.4;
  }
}

@media (prefers-reduced-motion: reduce) {
  .world-image-tabs .tab::before {
    transition: none;
  }
}
