.brand-ribbon {
  position: relative;
  padding: 26px 54px;
  background: #fff;
  border-block: 1px solid #e4eaf1;
  overflow: hidden;
}
.brand-ribbon-window {
  overflow: hidden;
  max-width: 1440px;
  margin-inline: auto;
  mask-image: linear-gradient(to right, transparent, #000 4%, #000 96%, transparent);
}
.brand-ribbon-track {
  display: flex;
  width: max-content;
  animation: brand-ribbon-left 48s linear infinite;
}
.brand-ribbon-group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 30px;
  padding-right: 30px;
}
.brand-ribbon-item {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 184px;
  width: 184px;
  height: 72px;
}
.brand-ribbon-item img {
  display: block;
  width: 184px;
  height: 72px;
  max-width: 100%;
  object-fit: contain;
}
.brand-ribbon:hover .brand-ribbon-track,
.brand-ribbon.is-paused .brand-ribbon-track {
  animation-play-state: paused;
}
.brand-ribbon-toggle {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 36px;
  height: 44px;
  border: 1px solid #d4dfe8;
  border-radius: 6px;
  color: #152c45;
  background: #fff;
  font: 16px Arial, sans-serif;
  cursor: pointer;
}
.brand-ribbon-toggle:focus-visible {
  outline: 2px solid #245ce8;
  outline-offset: 3px;
}
@keyframes brand-ribbon-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}
@media (max-width: 760px) {
  .brand-ribbon { padding: 20px 48px 20px 18px; }
  .brand-ribbon-group { gap: 22px; padding-right: 22px; }
  .brand-ribbon-item { flex-basis: 156px; width: 156px; height: 62px; }
  .brand-ribbon-item img { width: 156px; height: 62px; }
  .brand-ribbon-toggle { right: 7px; }
}
@media (prefers-reduced-motion: reduce) {
  .brand-ribbon-track { animation: none; }
  .brand-ribbon-window { overflow-x: auto; mask-image: none; }
  .brand-ribbon-group[aria-hidden] { display: none; }
  .brand-ribbon-toggle { display: none; }
}
