.mp-awards-carousel {
  position: relative;
  box-sizing: border-box;
  width: 100%;
  max-width: 1280px;
  margin: 44px auto 58px;
  color: #132747;
}

.mp-awards-carousel *,
.mp-awards-carousel *::before,
.mp-awards-carousel *::after {
  box-sizing: border-box;
}

.mp-awards-carousel__viewport {
  overflow: hidden;
  border-radius: 20px;
  outline-offset: 4px;
  background: #edf2f9;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
}

.mp-awards-carousel__viewport::-webkit-scrollbar {
  display: none;
}

.mp-awards-carousel__track {
  display: flex;
  width: 100%;
}

.mp-awards-carousel__slide {
  flex: 0 0 100%;
  min-width: 0;
  margin: 0;
  scroll-snap-align: start;
}

.mp-awards-carousel__slide picture,
.mp-awards-carousel__slide img {
  display: block;
  width: 100%;
}

.mp-awards-carousel__slide img {
  height: auto;
  aspect-ratio: 64 / 15;
  object-fit: contain;
}

.mp-awards-carousel__controls {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}

.mp-awards-carousel__arrow,
.mp-awards-carousel__dot {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  border: 0;
  cursor: pointer;
  font: inherit;
  -webkit-tap-highlight-color: transparent;
}

.mp-awards-carousel__arrow {
  position: absolute;
  top: 50%;
  width: 42px;
  height: 42px;
  transform: translateY(-50%);
  border-radius: 50%;
  color: #17345b;
  background: rgba(255, 255, 255, .88);
  box-shadow: 0 2px 12px rgba(8, 21, 48, .16);
  pointer-events: auto;
  transition: color .2s ease, background .2s ease;
}

.mp-awards-carousel__arrow[data-mp-awards-prev] {
  left: 16px;
}

.mp-awards-carousel__arrow[data-mp-awards-next] {
  right: 16px;
}

.mp-awards-carousel__arrow span {
  position: relative;
  top: -2px;
  font-family: Arial, sans-serif;
  font-size: 32px;
  line-height: 1;
}

.mp-awards-carousel__arrow:hover,
.mp-awards-carousel__arrow:focus-visible {
  color: #fff;
  background: #e96a22;
}

.mp-awards-carousel__dots {
  position: absolute;
  bottom: 1px;
  left: 50%;
  display: flex;
  align-items: center;
  gap: 2px;
  transform: translateX(-50%);
  pointer-events: auto;
}

.mp-awards-carousel__dot {
  width: 26px;
  height: 26px;
  background: transparent;
}

.mp-awards-carousel__dot::after {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 5px rgba(9, 24, 48, .65);
  transition: background .2s ease, transform .2s ease;
}

.mp-awards-carousel__dot[aria-current="true"]::after {
  background: #fb842f;
  transform: scale(1.35);
}

.mp-awards-carousel__arrow:focus-visible,
.mp-awards-carousel__dot:focus-visible {
  outline: 2px solid #17345b;
  outline-offset: 3px;
}

@media (min-width: 701px) and (hover: hover) {
  .mp-awards-carousel__arrow,
  .mp-awards-carousel__dots {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
  }

  .mp-awards-carousel:hover .mp-awards-carousel__arrow,
  .mp-awards-carousel:hover .mp-awards-carousel__dots,
  .mp-awards-carousel:focus-within .mp-awards-carousel__arrow,
  .mp-awards-carousel:focus-within .mp-awards-carousel__dots {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
}

@media (max-width: 700px) {
  .mp-awards-carousel {
    margin: 30px auto 42px;
  }

  .mp-awards-carousel__viewport {
    overflow-x: auto;
    overflow-y: hidden;
    border-radius: 16px;
    overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }

  .mp-awards-carousel__slide--portrait img {
    height: auto;
    aspect-ratio: 827 / 1169;
    object-fit: contain;
  }

  .mp-awards-carousel__arrow {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mp-awards-carousel__arrow,
  .mp-awards-carousel__dot::after,
  .mp-awards-carousel__dots {
    transition: none;
  }
}
