.ffl-honor__slider {
  position: relative;
  padding: 0 8px;
}

.ffl-honor__viewport {
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
}

.ffl-honor__viewport.is-dragging {
  cursor: grabbing;
}

.ffl-honor__track {
  display: flex;
  width: 100%;
  will-change: transform;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.ffl-honor__track.is-dragging {
  transition: none;
}

.ffl-honor__slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}

.ffl-honor__row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 12px;
  justify-items: center;
  align-items: start;
}

.ffl-honor__item {
  margin: 0;
  text-align: center;
  width: 100%;
  max-width: 180px;
}

.ffl-honor__avatar {
  width: min(100%, 150px);
  aspect-ratio: 1;
  height: auto;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 3px solid var(--ffl-lime);
  background: linear-gradient(145deg, #cfd6de, #8e9aab);
  overflow: hidden;
  position: relative;
}

.ffl-honor__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.ffl-honor__name {
  font-weight: 700;
  font-size: 14px;
  line-height: 1.25;
}

.ffl-honor__arrow {
  position: absolute;
  top: 38%;
  z-index: 3;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--ffl-line);
  border-radius: 50%;
  background: #fff;
  color: var(--ffl-teal);
  box-shadow: 0 8px 22px rgba(15, 40, 60, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.ffl-honor__arrow:hover:not(:disabled) {
  background: var(--ffl-teal);
  color: #fff;
}

.ffl-honor__arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.ffl-honor__arrow[hidden] {
  display: none !important;
}

.ffl-honor__arrow--prev {
  left: -2px;
}

.ffl-honor__arrow--next {
  right: -2px;
}

.ffl-honor__dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 20px;
}

.ffl-honor__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #b7c2ce;
  cursor: pointer;
}

.ffl-honor__dot.is-active {
  width: 28px;
  border-radius: 999px;
  background: var(--ffl-teal);
}

@media (min-width: 700px) {
  .ffl-honor__row {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 20px 14px;
  }

  .ffl-honor__avatar {
    width: min(100%, 140px);
    border-width: 4px;
  }

  .ffl-honor__name {
    font-size: 14px;
  }
}

@media (min-width: 1024px) {
  .ffl-honor__slider {
    padding: 0 16px;
  }

  .ffl-honor__row {
    gap: 28px 20px;
  }

  .ffl-honor__avatar {
    width: min(100%, 170px);
  }

  .ffl-honor__name {
    font-size: 15px;
  }

  .ffl-honor__arrow--prev {
    left: -6px;
  }

  .ffl-honor__arrow--next {
    right: -6px;
  }
}
