/* A single, readable row; JavaScript adds its seamless duplicate. */
.mb-awards {
  position: relative;
  max-width: 1320px;
  margin-inline: auto;
  border-radius: 16px;
  background: #f6f7fb;
}

.mb-awards__viewport {
  overflow-x: auto;
  border-radius: inherit;
  padding-block: 14px;
}

.mb-awards__viewport:focus-visible {
  outline: 3px solid #7847ed;
  outline-offset: 4px;
}

.mb-awards__track {
  display: flex;
  width: max-content;
}

.mb-awards .mb-awards__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: space-around;
  gap: clamp(20px, 2vw, 32px);
  width: max-content;
  min-width: min(100vw, 1320px);
  margin: 0;
  padding: 0 clamp(20px, 2vw, 32px) 0 0;
  list-style: none;
  box-sizing: border-box;
}

.mb-awards .mb-awards__item {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.mb-awards__item img {
  display: block;
  width: auto;
  height: 116px;
  max-width: none;
  border-radius: 8px;
}

.mb-awards__item--certifications img {
  height: 156px;
}

.mb-awards__group[data-awards-copy] {
  display: none;
}

.mb-awards.is-enhanced .mb-awards__group[data-awards-copy] {
  display: flex;
}

.mb-awards.is-enhanced .mb-awards__viewport {
  overflow: hidden;
  touch-action: pan-y;
}

.mb-awards.is-enhanced .mb-awards__track {
  will-change: transform;
}

.mb-awards__toggle {
  position: absolute;
  right: 10px;
  bottom: 6px;
  min-height: 44px;
  padding: 8px 14px;
  border: 1px solid #ded9ed;
  border-radius: 22px;
  background: #fff;
  color: #343a4b;
  font: inherit;
  font-size: 13px;
  cursor: pointer;
  opacity: 0;
  transition: opacity .15s;
}

.mb-awards__toggle[hidden] { display: none; }
.mb-awards:hover .mb-awards__toggle,
.mb-awards:focus-within .mb-awards__toggle { opacity: 1; }
.mb-awards__toggle:focus-visible { outline: 3px solid #7847ed; }

@media (max-width: 767px) {
  .mb-awards__viewport { padding-block: 12px; }
  .mb-awards__item img { height: 80px; }
  .mb-awards__item--certifications img { height: 104px; }
}

@media (hover: none) {
  /* Keep the small motion control discoverable on touchscreens. */
  .mb-awards__toggle { opacity: 1; bottom: -18px; }
}

@media (prefers-reduced-motion: reduce) {
  .mb-awards__toggle { transition: none; }
}
