.ww-logo-reel {
  width: 100%;
}

.ww-logo-reel__title {
  margin: 0 0 1.25rem;
  color: var(--blue-dark);
}

.ww-logo-reel__viewport {
  width: 100%;
  overflow: hidden;
}

.ww-logo-reel__track {
  --ww-logo-reel-gap: 50px;
  display: flex;
  align-items: center;
  gap: var(--ww-logo-reel-gap);
  width: max-content;
  min-width: 100%;
  animation: ww-logo-reel-scroll var(--ww-logo-reel-duration, 28s) linear infinite;
  margin: 0;
  padding: 0;
  list-style: none;
}

.ww-logo-reel--pause:hover .ww-logo-reel__track {
  animation-play-state: paused;
}

.ww-logo-reel__item {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: auto;
  min-width: 0;
  height: 3rem;
}

.ww-logo-reel__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: auto;
  height: 100%;
}

.ww-logo-reel__image {
  width: auto;
  max-width: 10rem;
  height: 100%;
  max-height: 3rem;
  object-fit: contain;
}

.ww-logo-reel__item img,
.ww-logo-reel__item svg,
.logos img,
.logos svg {
  display: block;
  filter: brightness(0) saturate(100%) invert(27%) sepia(4%) saturate(5262%) hue-rotate(191deg) brightness(97%) contrast(90%);
  height: 100%;
  max-height: 3rem;
  max-width: 12.125rem;
  transition: var(--transition);
  width: auto;
}

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

@media (max-width: 782px) {
  .ww-logo-reel__track {
    --ww-logo-reel-gap: 50px;
  }

  .ww-logo-reel__item {
    width: auto;
    min-width: 0;
    height: 2.5rem;
  }

  .ww-logo-reel__image {
    max-width: 7.8rem;
    max-height: 2.5rem;
    height: 100%;
  }
}

.ww-logo-reel-editor {
  border: 1px solid #d9e1eb;
  border-radius: 12px;
  padding: 1rem;
  background: #f8fbff;
}

.ww-logo-reel-editor__title {
  margin: 0 0 1rem;
}

.ww-logo-reel-editor__actions {
  margin: 1rem 0;
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.ww-logo-reel-editor__mode {
  margin: 1rem 0 0.7rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.ww-logo-reel-editor__mode-label {
  font-weight: 600;
  margin-right: 0.2rem;
}

.ww-logo-reel-editor__preview-area {
  margin: 0 0 1rem;
  border: 1px dashed #cfd9e5;
  border-radius: 10px;
  padding: 0.9rem;
  background: #ffffff;
}

.ww-logo-reel-editor__preview-empty {
  margin: 0;
  color: #4a5c74;
}

.ww-logo-reel--editor-preview .ww-logo-reel__title {
  margin-bottom: 0.9rem;
  font-size: 1rem;
}

.ww-logo-reel-editor .ww-logo-reel__item {
  width: auto;
  min-width: 0;
  height: 3rem;
}

.ww-logo-reel-editor .ww-logo-reel__image {
  width: auto !important;
  max-width: 10rem !important;
  height: 100% !important;
  max-height: 3rem !important;
  object-fit: contain;
}

.ww-logo-reel-editor__logos {
  margin: 1rem 0;
  display: grid;
  gap: 0.8rem;
}

.ww-logo-reel-editor__logo {
  border: 1px solid #d9e1eb;
  border-radius: 10px;
  padding: 0.8rem;
  background: #ffffff;
}

.ww-logo-reel-editor__logo-label {
  margin: 0 0 0.6rem;
  font-weight: 600;
}

.ww-logo-reel-editor__preview {
  display: block;
  margin: 0.8rem 0;
  max-width: 150px;
  max-height: 45px;
  width: auto;
  height: auto;
  object-fit: contain;
}
