.kids-students,
.kids-students * {
  box-sizing: border-box;
}

.kids-students.section {
  padding: 0;
  background: #f8f5eb;
  color: #08113e;
  font-family: Arial, Helvetica, sans-serif;
}

.kids-students__inner {
  width: min(100% - 48px, 1160px);
  margin: 0 auto;
  padding: 0 0 104px;
}

.kids-students h2 {
  max-width: 900px;
  margin: 0 0 34px;
  font-size: clamp(42px, 5.2vw, 64px);
  font-weight: 900;
  letter-spacing: -.06em;
  line-height: 1.02;
}

.kids-students h2 span {
  color: #ff5965;
}

.kids-students__gallery {
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 48px #10164114;
}

.kids-students__track {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  background: #0a123b;
}

.kids-students__track::-webkit-scrollbar {
  display: none;
}

.kids-students__track:focus-visible {
  outline: 3px solid #ff5965;
  outline-offset: -3px;
}

.kids-students__slide {
  flex: 0 0 100%;
  width: 100%;
  aspect-ratio: 16 / 10;
  margin: 0;
  scroll-snap-align: start;
  background: #0a123b;
}

.kids-students__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.kids-students__controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 86px;
  padding: 15px 24px;
}

.kids-students__count {
  color: #08113e;
  font-size: 15px;
  font-weight: 900;
  white-space: nowrap;
}

.kids-students__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
}

.kids-students__dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #d5ceec;
  cursor: pointer;
}

.kids-students__dot[aria-current="true"] {
  width: 26px;
  border-radius: 99px;
  background: #ff5965;
}

.kids-students__dot:focus-visible,
.kids-students__arrow:focus-visible {
  outline: 3px solid #5635aa;
  outline-offset: 3px;
}

.kids-students__arrows {
  display: flex;
  gap: 9px;
}

.kids-students__arrow {
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #08113e;
  color: #fff;
  font-size: 21px;
  font-weight: 700;
  cursor: pointer;
}

.kids-students__arrow:disabled {
  background: #e6e3ee;
  color: #9b98a9;
  cursor: default;
}

@media (max-width: 640px) {
  .kids-students__inner {
    width: min(100% - 32px, 520px);
    padding-bottom: 76px;
  }

  .kids-students h2 {
    margin-bottom: 24px;
    font-size: clamp(34px, 9vw, 48px);
  }

  .kids-students__gallery {
    border-radius: 24px;
  }

  .kids-students__slide {
    aspect-ratio: 4 / 5;
  }

  .kids-students__controls {
    gap: 8px;
    min-height: 72px;
    padding: 12px 16px;
  }

  .kids-students__arrow {
    width: 38px;
    height: 38px;
    font-size: 19px;
  }

  .kids-students__arrows {
    gap: 6px;
  }

  .kids-students__dots {
    gap: 5px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .kids-students__track {
    scroll-behavior: auto;
  }
}
