.pmks-section {
  background: #fff;
  padding: 14px 0 8px;
}

.pmks-container {
  max-width: 1680px;
  margin: 0 auto;
  padding: 0 12px;
}

.pmks-title {
  margin: 0;
  text-align: center;
  font-size: clamp(24px, 2.2vw, 42px);
  line-height: 1;
  text-transform: uppercase;
  font-weight: 900;
  letter-spacing: .02em;
  color: #1e2531;
}

.pmks-title::after {
  content: "";
  display: block;
  width: 260px;
  max-width: 74vw;
  height: 3px;
  margin: 8px auto 0;
  background: #ea6f94;
}

.pmks-subtitle {
  margin: 14px auto 10px;
  text-align: center;
  color: #1f2732;
  font-size: clamp(14px, 1.05vw, 18px);
  line-height: 1.45;
  max-width: 980px;
}

.pmks-rail-wrap {
  position: relative;
}

.pmks-rail {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 8px 52px 14px;
  scrollbar-width: none;
}

.pmks-rail::-webkit-scrollbar {
  display: none;
}

.pmks-item {
  flex: 0 0 calc((100% - 80px) / 6);
  min-width: calc((100% - 80px) / 6);
  max-width: 220px;
  text-decoration: none;
  color: #1f2732;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  text-align: center;
}

.pmks-image {
  width: 100%;
  aspect-ratio: 1 / 1;
  border-radius: 999px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  box-shadow: 0 3px 10px rgba(0, 0, 0, .08);
  background: #fff;
  margin: 0 auto 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}

.pmks-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pmks-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, #ffffff 0, #f2f4f8 45%, #e8ecf2 100%);
  color: #2a3340;
  text-align: center;
  padding: 14px;
}

.pmks-fallback-text {
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .01em;
  max-width: 100%;
}

.pmks-item:hover .pmks-image {
  transform: translateY(-2px);
  border-color: rgba(234, 111, 148, .55);
  box-shadow: 0 10px 22px rgba(0, 0, 0, .12);
}

.pmks-name {
  display: block;
  font-size: 19px;
  line-height: 1.2;
  color: #1e2531;
  font-weight: 500;
}

.pmks-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-58%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 4px 12px rgba(0, 0, 0, .14);
  color: #171b23;
  font-size: 40px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
  cursor: pointer;
}

.pmks-arrow[disabled] {
  opacity: .35;
  cursor: not-allowed;
}

.pmks-arrow--prev {
  left: 2px;
}

.pmks-arrow--next {
  right: 2px;
}

@media (max-width: 991px) {
  .pmks-section {
    padding: 14px 0 8px;
  }

  .pmks-title {
    font-size: 32px;
  }

  .pmks-title::after {
    width: 210px;
  }

  .pmks-subtitle {
    font-size: 14px;
    margin: 10px auto 8px;
    padding: 0 8px;
  }

  .pmks-rail {
    gap: 12px;
    padding: 8px 8px 10px;
  }

  .pmks-item {
    flex: 0 0 120px;
    min-width: 120px;
    max-width: none;
  }

  .pmks-image {
    width: 120px;
    height: 120px;
    margin-bottom: 7px;
  }

  .pmks-name {
    font-size: 17px;
  }

  .pmks-arrow {
    display: inline-flex;
    width: 36px;
    height: 36px;
    font-size: 34px;
    top: 44%;
    transform: translateY(-50%);
    box-shadow: 0 3px 10px rgba(0, 0, 0, .16);
  }

  .pmks-arrow--prev {
    left: 4px;
  }

  .pmks-arrow--next {
    right: 4px;
  }
}

