.best-grid-wrap {
  flex: 1;
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 0;
  margin-bottom: 24px;
  margin-top: 30px;
}

.best-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  row-gap: 16px;
  padding: 0 70px;
  width: 100%;
}

.best-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 8px 24px rgba(22, 36, 68, 0.04);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  padding: 16px;
  border: 1px solid #E6EAF0;
  max-width: 252px;
}

.best-card__photo-wrap {
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 1;
  margin-bottom: 14px;
}

.best-card__photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.best-card__body {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.best-card__badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 24px;
  padding: 0 10px;
  border-radius: 12px;
  background: #EAF2FF;
  color: #1F5FBF;
  font-family: 'Inter', sans-serif;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
  align-self: flex-start;
}

.best-card__name {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #2F343B;
  line-height: 1.3;
  margin-bottom: 4px;
}

.best-card__sub {
  font-family: 'Inter', sans-serif;
  font-size: 12px;
  font-weight: 400;
  color: #6B7280;
  line-height: 1.3;
  margin-top: auto;
}

.best-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  border: none;
  cursor: pointer;
}

.best-arrow svg {
  width: 24px;
  height: 24px;
  color: #1a1a1a;
}

.best-arrow--left {
  left: -10px;
}

.best-arrow--right {
  right: -10px;
}

.best-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 32px auto 0;
  background: #ffffff;
  border-radius: 999px;
  padding: 8px 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.04);
  font-family: 'Manrope', sans-serif;
  font-size: 13px;
  font-weight: 700;
  color: #8c93a1;
  gap: 12px;
  width: fit-content;
}

.best-pagination__text strong {
  color: #1a56c4;
}

.best-pagination__dots {
  display: flex;
  gap: 4px;
}

.best-pagination__dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #d1d5db;
}

.best-pagination__dot.active {
  width: 16px;
  background: #1a56c4;
  border-radius: 999px;
}

@keyframes fadeIn {
  from { opacity: 0; transform: scale(0.98); }
  to { opacity: 1; transform: scale(1); }
}
