.ionso-logo-cloud-card {
  --ionso-logo-cloud-duration: 24s;
  --ionso-logo-cloud-gap: clamp(2.5rem, 4vw, 4.5rem);
  --ionso-logo-cloud-title-color: #121212;
  --ionso-logo-cloud-text-color: rgba(18, 18, 18, 0.6);
  --ionso-logo-cloud-logo-bg: rgba(18, 18, 18, 0.06);
  --ionso-logo-cloud-logo-shadow: inset 0 0 0 1px rgba(18, 18, 18, 0.08);
  --ionso-logo-cloud-logo-hover-shadow: inset 0 0 0 1px rgba(18, 18, 18, 0.18);
  --ionso-logo-cloud-logo-width: clamp(170px, 12vw, 240px);
  --ionso-logo-cloud-logo-height: clamp(50px, 5.5vw, 82px);
  background: #ffffff;
  border: none;
  border-radius: 0;
  box-shadow: none;
  margin: 0;
  padding: clamp(2rem, 5vw, 3.25rem) 0;
  width: 100%;
  position: relative;
}

.ionso-logo-cloud-card.is-dark {
  background: #0b0f16;
  --ionso-logo-cloud-title-color: #ffffff;
  --ionso-logo-cloud-text-color: rgba(255, 255, 255, 0.7);
  --ionso-logo-cloud-logo-bg: rgba(255, 255, 255, 0.08);
  --ionso-logo-cloud-logo-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  --ionso-logo-cloud-logo-hover-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.28);
}

.ionso-logo-cloud {
  display: flex;
  flex-direction: column;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  position: relative;
  text-align: center;
  width: 100%;
}

.ionso-logo-cloud__title {
  letter-spacing: 0.28em;
  text-transform: uppercase;
  font-size: clamp(0.95rem, 1.6vw, 1.25rem);
  margin: 0;
  color: var(--ionso-logo-cloud-title-color);
}

.ionso-logo-cloud__description {
  margin: 0 auto;
  max-width: 42rem;
  color: var(--ionso-logo-cloud-text-color);
}

.ionso-logo-cloud__marquee {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.ionso-logo-cloud__marquee::before,
.ionso-logo-cloud__marquee::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: clamp(2rem, 8vw, 5rem);
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
}

.ionso-logo-cloud-card.is-dark .ionso-logo-cloud__marquee::before,
.ionso-logo-cloud-card.is-dark .ionso-logo-cloud__marquee::after {
  background: linear-gradient(90deg, rgba(11, 15, 22, 1), rgba(11, 15, 22, 0));
}

.ionso-logo-cloud__marquee::before {
  left: 0;
}

.ionso-logo-cloud__marquee::after {
  right: 0;
  transform: scaleX(-1);
}

.ionso-logo-cloud__track {
  display: flex;
  align-items: center;
  gap: var(--ionso-logo-cloud-gap);
  width: max-content;
  padding-inline: var(--ionso-logo-cloud-gap);
  animation: ionso-logo-cloud-scroll var(--ionso-logo-cloud-duration) linear infinite;
  will-change: transform;
}

.ionso-logo-cloud-card:hover .ionso-logo-cloud__track,
.ionso-logo-cloud-card:focus-within .ionso-logo-cloud__track {
  animation-play-state: paused;
}

.ionso-logo-cloud__logo {
  flex: 0 0 var(--ionso-logo-cloud-logo-width);
  width: var(--ionso-logo-cloud-logo-width);
  height: var(--ionso-logo-cloud-logo-height);
  padding: clamp(0.75rem, 2.5vw, 1.35rem);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: transform 0.3s ease;
}

.ionso-logo-cloud__logo:hover,
.ionso-logo-cloud__logo:focus-visible {
  transform: translateY(-4px);
}

.ionso-logo-cloud__logo-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.82;
  transition: filter 0.3s ease, opacity 0.3s ease;
}

.ionso-logo-cloud-card.is-dark .ionso-logo-cloud__logo-img {
  filter: brightness(1.1) grayscale(100%);
}

.ionso-logo-cloud__logo:hover .ionso-logo-cloud__logo-img,
.ionso-logo-cloud__logo:focus-visible .ionso-logo-cloud__logo-img {
  filter: none;
  opacity: 1;
}

.ionso-logo-cloud__logo-text {
  font-size: clamp(0.85rem, 2vw, 1.1rem);
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ionso-logo-cloud-title-color);
}

.ionso-logo-cloud__sr-list {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  top: 0;
  left: 0;
}

@keyframes ionso-logo-cloud-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 1024px) {
  .ionso-logo-cloud-card {
    padding: clamp(2.25rem, 7vw, 3.5rem) 0;
    --ionso-logo-cloud-logo-width: clamp(
      180px,
      calc((100vw - (var(--ionso-logo-cloud-gap) * 2)) / 3),
      260px
    );
    --ionso-logo-cloud-logo-height: clamp(54px, 7vw, 90px);
  }

  .ionso-logo-cloud__marquee::before,
  .ionso-logo-cloud__marquee::after {
    width: clamp(2.25rem, 10vw, 5.5rem);
  }
}

@media (max-width: 768px) {
  .ionso-logo-cloud-card {
    padding: clamp(2.5rem, 9vw, 3.75rem) 0;
    --ionso-logo-cloud-logo-width: clamp(
      170px,
      calc((100vw - (var(--ionso-logo-cloud-gap) * 2)) / 3),
      230px
    );
    --ionso-logo-cloud-logo-height: clamp(56px, 9vw, 92px);
  }

  .ionso-logo-cloud__marquee::before,
  .ionso-logo-cloud__marquee::after {
    width: clamp(2.5rem, 16vw, 6rem);
  }
}

@media (max-width: 480px) {
  .ionso-logo-cloud-card {
    padding: clamp(2.75rem, 10vw, 4rem) 0;
    --ionso-logo-cloud-gap: clamp(1.5rem, 8vw, 2rem);
    --ionso-logo-cloud-logo-width: clamp(
      120px,
      calc((100vw - (var(--ionso-logo-cloud-gap) * 2)) / 3),
      180px
    );
    --ionso-logo-cloud-logo-height: clamp(58px, 14vw, 96px);
  }

  .ionso-logo-cloud__marquee::before,
  .ionso-logo-cloud__marquee::after {
    width: clamp(3rem, 22vw, 6.5rem);
  }

  .ionso-logo-cloud__track {
    gap: var(--ionso-logo-cloud-gap);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ionso-logo-cloud__track {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    animation-play-state: paused !important;
    transform: translateX(0) !important;
  }
}
