.kccc,
.kccc * {
  box-sizing: border-box;
}

.kccc {
  --kccc-gap: 40px;
  --kccc-per-view: 3.15;
  position: relative;
  width: 100%;
}

.kccc__navigation {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  width: var(--kccc-navigation-width, 100%);
  max-width: 100%;
  margin-bottom: 20px;
}

.kccc__arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
  border: 1px solid #1d1d1d;
  border-radius: 50%;
  background: transparent;
  color: #1d1d1d;
  font: inherit;
  line-height: 1;
  cursor: pointer;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.kccc__arrow:hover {
  transform: translateY(-1px);
}

.kccc__arrow:focus-visible,
.kccc__dot:focus-visible,
.kccc__track:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 3px;
}

.kccc__arrow:disabled {
  opacity: 0.35;
  cursor: default;
  transform: none;
}

.kccc__arrow-icon {
  display: block;
  width: 16px;
  height: 16px;
  max-width: none;
  border-radius: 0;
  object-fit: contain;
}

.kccc__arrow-fallback {
  display: block;
  font-size: 16px;
  line-height: 1;
}

.kccc__track {
  display: flex;
  align-items: stretch;
  gap: var(--kccc-gap);
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}

.kccc__track::-webkit-scrollbar {
  display: none;
}

.kccc__track::after {
  display: none;
  flex: 0 0 var(--kccc-end-spacer, 0px);
  width: var(--kccc-end-spacer, 0px);
  margin-left: var(--kccc-end-spacer-offset, 0px);
  content: "";
}

.kccc--has-end-spacer .kccc__track::after {
  display: block;
}

.kccc__card {
  display: flex;
  flex: 0 0 var(--kccc-card-width, calc((100% - (var(--kccc-per-view) - 1) * var(--kccc-gap)) / var(--kccc-per-view)));
  flex-direction: column;
  min-width: 0;
  min-height: 610px;
  padding: 30px 30px 28px;
  overflow: hidden;
  scroll-snap-align: start;
  background: #f6f0e7;
}

.kccc__logo {
  display: flex;
  align-items: flex-start;
  min-height: 52px;
  margin-bottom: 26px;
}

.kccc__logo img {
  display: block;
  width: auto;
  max-width: min(100%, 190px);
  height: auto;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
}

.kccc__title {
  margin: 0 0 24px;
  color: #1d1d1d;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.05;
}

.kccc__description {
  color: #242424;
  font-size: 17px;
  line-height: 1.45;
}

.kccc__description p {
  margin: 0 0 1em;
}

.kccc__description p:last-child {
  margin-bottom: 0;
}

.kccc__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin-top: auto;
  padding-top: 30px;
}

.kccc__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  padding-left: 24px;
  color: #1d1d1d;
  font-size: 15px;
  line-height: 1.3;
  text-decoration: none;
  text-transform: uppercase;
}

.kccc__link::before {
  position: absolute;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #9ed9ff;
  content: "";
}

.kccc__link:hover {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.kccc__dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  margin-top: 54px;
}

.kccc__dot {
  width: 30px;
  height: 3px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: rgba(29, 29, 29, 0.22);
  cursor: pointer;
  transition: background-color 0.25s ease;
}

.kccc__dot.is-active {
  background: #1d1d1d;
}

@media (max-width: 1024px) {
  .kccc {
    --kccc-per-view: 2.12;
  }
}

@media (max-width: 767px) {
  .kccc {
    --kccc-gap: 16px;
    --kccc-per-view: 1.22;
  }

  .kccc__card {
    min-height: 520px;
    padding: 24px 22px;
  }

  .kccc__title {
    font-size: 22px;
  }

  .kccc__dots {
    gap: 8px;
    margin-top: 32px;
  }

  .kccc__dot {
    width: 20px;
  }
}

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

  .kccc__arrow,
  .kccc__dot {
    transition: none;
  }
}
