.dobroe-marquee {
  --banner-bg: transparent;
  --banner-text: #5e16ea;
  --duration: 45s;
  position: relative;
  isolation: isolate;
  display: grid;
  align-content: center;
  gap: clamp(18px, 2vw, 34px);
  min-height: clamp(410px, 43vw, 720px);
  padding-block: clamp(46px, 6vw, 92px);
  overflow: hidden;
  background: var(--banner-bg);
}

.dobroe-marquee__row {
  position: relative;
  z-index: 1;
  display: flex;
  width: max-content;
  color: var(--banner-text);
  font-family: Arial, Helvetica, sans-serif;
  font-size: clamp(54px, 6vw, 122px);
  font-weight: 900;
  line-height: .95;
  letter-spacing: -.055em;
  white-space: nowrap;
  will-change: transform;
  animation: dobroe-right var(--duration) linear infinite;
}

.dobroe-marquee__row--reverse {
  z-index: 3;
  animation-name: dobroe-left;
}

.dobroe-marquee__set { padding-right: .24em; }

.dobroe-marquee__person {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 0;
  width: min(66vw, 980px);
  height: 97%;
  transform: translateX(-50%);
  object-fit: contain;
  object-position: center bottom;
  pointer-events: none;
  filter: drop-shadow(0 20px 24px rgb(0 0 0 / .12));
}

.dobroe-marquee__team {
  width: min(96vw, 1780px);
  height: 94%;
}

@keyframes dobroe-left { to { transform: translateX(-50%); } }
@keyframes dobroe-right { from { transform: translateX(-50%); } to { transform: translateX(0); } }

@media (max-width: 700px) {
  .dobroe-marquee {
    min-height: clamp(390px, 112vw, 520px);
    padding-block: 42px 0;
    gap: clamp(14px, 4vw, 22px);
  }

  .dobroe-marquee__row {
    font-size: clamp(42px, 11.5vw, 62px);
    line-height: .92;
  }

  .dobroe-marquee__person,
  .dobroe-marquee__team {
    width: 118vw;
    max-width: none;
    height: 76%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .dobroe-marquee__row { animation-play-state: paused; }
}
