.vyra-brand-showcase,
.vyra-brand-showcase * {
  box-sizing: border-box;
}

.vyra-brand-showcase {
  --vbs-dark: #17171a;
  --vbs-yellow: #ffd316;
  --vbs-blue: #38c3ec;
  position: relative;
  width: 100%;
  margin: 0 auto;
}

.vyra-brand-showcase__stage {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  column-gap: 0;
  row-gap: clamp(2px, 0.4vw, 6px);
  align-items: stretch;
  width: 100%;
}

.vyra-brand-showcase__item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  aspect-ratio: 3 / 2;
  padding: clamp(6px, 1vw, 14px) 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: var(--vbs-dark);
  box-shadow: none;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.vyra-brand-showcase__item:not([href]) {
  cursor: default;
}

.vyra-brand-showcase__item:hover,
.vyra-brand-showcase__item:focus,
.vyra-brand-showcase__item:active,
.vyra-brand-showcase__item:visited {
  color: var(--vbs-dark);
  text-decoration: none;
}

.vyra-brand-showcase__item:focus {
  outline: none;
}

.vyra-brand-showcase__item:focus-visible {
  outline: 3px solid var(--vbs-blue);
  outline-offset: 4px;
}

.vyra-brand-showcase__media {
  position: relative;
  display: block;
  width: 100%;
  height: 100%;
}

.vyra-brand-showcase__logo {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  pointer-events: none;
  user-select: none;
  transition:
    opacity 0.25s ease;
  transform: none;
}

.vyra-brand-showcase__logo--black {
  opacity: 1;
}

.vyra-brand-showcase__logo--colour {
  opacity: 0;
}

.vyra-brand-showcase__item:hover,
.vyra-brand-showcase__item:focus-visible,
.vyra-brand-showcase__item.is-auto-hover {
  z-index: 2;
  transform: scale(1.035);
}

.vyra-brand-showcase__item:hover .vyra-brand-showcase__logo--black,
.vyra-brand-showcase__item:focus-visible .vyra-brand-showcase__logo--black,
.vyra-brand-showcase__item.is-auto-hover .vyra-brand-showcase__logo--black {
  opacity: 0;
}

.vyra-brand-showcase__item:hover .vyra-brand-showcase__logo--colour,
.vyra-brand-showcase__item:focus-visible .vyra-brand-showcase__logo--colour,
.vyra-brand-showcase__item.is-auto-hover .vyra-brand-showcase__logo--colour {
  opacity: 1;
  transform: none;
}

.vyra-brand-showcase__item[href]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 18px;
  left: 50%;
  z-index: 5;
  padding: 6px 10px;
  border-radius: 999px;
  background: var(--vbs-yellow);
  color: #000;
  font-family: inherit;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.01em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(-50%, 6px, 0);
  transition:
    opacity 0.2s ease,
    transform 0.2s ease;
}

.vyra-brand-showcase__item[href]:hover::after,
.vyra-brand-showcase__item[href]:focus-visible::after,
.vyra-brand-showcase__item[href].is-auto-hover::after {
  opacity: 1;
  transform: translate3d(-50%, 0, 0);
}

.vyra-brand-showcase__sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 1024px) {
  .vyra-brand-showcase__stage {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767px) {
  .vyra-brand-showcase__stage {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 0;
    row-gap: 2px;
  }

  .vyra-brand-showcase__item {
    padding: 6px 0;
  }

  .vyra-brand-showcase__item[href]::after {
    bottom: 0;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .vyra-brand-showcase *,
  .vyra-brand-showcase *::before,
  .vyra-brand-showcase *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
