.elementor-widget-noora-hamrah-brands-strip {
  width: 100%;
}

.noora-brands-strip {
  --nbs-bg: #121313;
  --nbs-logo-height: clamp(44px, 3.55vw, 68px);
  --nbs-logo-opacity: 1;
  position: relative;
  isolation: isolate;
  width: 100%;
  min-height: clamp(134px, 10.47vw, 201px);
  overflow: hidden;
  background:
    radial-gradient(
      ellipse at 48% 47%,
      rgba(255, 255, 255, 0.035),
      transparent 62%
    ),
    var(--nbs-bg);
}

.noora-brands-strip::before {
  position: absolute;
  z-index: -1;
  inset: 0;
  content: "";
  pointer-events: none;
  opacity: 0.13;
  background-image:
    repeating-linear-gradient(
      7deg,
      rgba(255, 255, 255, 0.055) 0 1px,
      transparent 1px 4px
    ),
    repeating-linear-gradient(
      97deg,
      rgba(0, 0, 0, 0.1) 0 1px,
      transparent 1px 5px
    );
  mix-blend-mode: soft-light;
}

.noora-brands-strip__inner {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: repeat(var(--nbs-count), minmax(0, 1fr));
  align-items: center;
  gap: clamp(20px, 2.25vw, 44px);
  width: 80.5%;
  min-height: inherit;
  margin-inline-start: auto;
  margin-inline-end: auto;
  padding-block: 28px;
  direction: ltr;
}

.noora-brands-strip__item {
  display: grid;
  min-width: 0;
  place-items: center;
  opacity: 0;
  transform: translate3d(0, 16px, 0);
  animation: noora-brand-rise 0.72s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(70ms + (var(--nbs-order) * 85ms));
}

.noora-brands-strip__link {
  display: flex;
  width: 100%;
  min-height: 82px;
  align-items: center;
  justify-content: center;
  color: inherit;
  line-height: 0;
  text-decoration: none;
}

.noora-brands-strip__picture {
  display: flex;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  line-height: 0;
}

.noora-brands-strip .noora-brands-strip__image {
  display: block;
  width: auto;
  max-width: 100%;
  height: var(--nbs-logo-height);
  max-height: 92px;
  object-fit: contain;
  opacity: var(--nbs-logo-opacity);
  transform: translateZ(0);
  filter: brightness(0.96);
  transition:
    transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.42s ease,
    opacity 0.42s ease;
}

.noora-brands-strip__link:is(:hover, :focus-visible)
  .noora-brands-strip__image {
  opacity: 1;
  transform: translate3d(0, -5px, 0) scale(1.045);
  filter: brightness(1.16);
}

.noora-brands-strip__link:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.7);
  outline-offset: 7px;
  border-radius: 6px;
}

@keyframes noora-brand-rise {
  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

@media (max-width: 900px) {
  .noora-brands-strip {
    --nbs-logo-height: 52px;
    min-height: 250px;
  }

  .noora-brands-strip__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 42px;
    width: 90%;
    margin-inline: auto;
    padding-block: 30px;
  }

  .noora-brands-strip__item:last-child:nth-child(odd) {
    grid-column: 1 / -1;
  }

  .noora-brands-strip__link {
    min-height: 72px;
  }
}

@media (max-width: 520px) {
  .noora-brands-strip {
    --nbs-logo-height: 38px;
    min-height: 192px;
  }

  .noora-brands-strip__inner {
    gap: 10px 25px;
    width: calc(100% - 36px);
    padding-block: 20px;
  }

  .noora-brands-strip__link {
    min-height: 62px;
  }
}



@media (max-width: 767px) {
  .noora-brands-strip {
    --nbs-logo-height: 34px;
    min-height: 104px;
    background: #f9f0e5;
  }
  .noora-brands-strip::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E");
    opacity: 0.95;
    mix-blend-mode: multiply;
  }

  .noora-brands-strip__inner {
    display: flex;
    width: 100%;
    min-height: 104px;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    margin: 0;
    padding: 14px 18px;
    scroll-padding-inline: 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }
  .noora-brands-strip__inner::-webkit-scrollbar {
    display: none;
  }
  .noora-brands-strip__item,
  .noora-brands-strip__item:last-child:nth-child(odd) {
    flex: 0 0 clamp(126px, 37vw, 164px);
    grid-column: auto;
    scroll-snap-align: start;
  }
  .noora-brands-strip__link {
    min-height: 76px;
    padding: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.045);
  }
}
