.aw-kcats,
.aw-kcats * {
  box-sizing: border-box;
}

.aw-kcats {
  position: relative;
  width: 100%;
  margin: 0;
  color: var(--aw-text-primary, #F2F3F5);
}

.aw-kcats__shell {
  position: relative;
  width: 100%;
  padding: 24px 24px 18px;
  border-radius: 30px;
  border: 1px solid rgba(255,255,255,.08);
  background:
    radial-gradient(circle at 18% 0%, rgba(227,113,17,.16), transparent 34%),
    radial-gradient(circle at 52% 12%, rgba(255,255,255,.035), transparent 24%),
    linear-gradient(90deg, rgba(22,28,38,.98) 0%, rgba(39,34,30,.98) 48%, rgba(43,45,49,.98) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.04),
    0 20px 48px rgba(0,0,0,.22);
  overflow: hidden;
}

.aw-kcats__head {
  margin: 0 0 18px;
}

.aw-kcats__title {
  margin: 0;
  max-width: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--aw-font-headings, Montserrat, Arial, sans-serif);
  font-size: clamp(28px, 2.4vw, 40px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -.03em;
  color: var(--aw-text-primary, #F2F3F5);
}

.aw-kcats__swiper.swiper {
  overflow: hidden;
  padding: 2px 1px 4px;
}

.aw-kcats .swiper-wrapper {
  align-items: stretch;
}

.aw-kcats__slide.swiper-slide {
  height: auto;
}

.aw-kcats__link {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 316px;
  border-radius: 24px;
  overflow: hidden;
  text-decoration: none !important;
  background: linear-gradient(180deg, rgba(37,44,54,.96) 0%, rgba(34,34,34,.98) 100%);
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.03);
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease, background-color .24s ease;
}

.aw-kcats__link:hover,
.aw-kcats__link:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(227,113,17,.24);
  box-shadow: 0 16px 34px rgba(0,0,0,.20);
  outline: none;
}

.aw-kcats__media {
  position: relative;
  width: 100%;
  height: 174px;
  overflow: hidden;
  background:
    radial-gradient(circle at 38% 34%, rgba(227,113,17,.10), transparent 18%),
    linear-gradient(180deg, #6c7480 0%, #49525d 56%, #2d3742 100%);
}

.aw-kcats__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 8%, rgba(23,24,26,.06) 42%, rgba(23,24,26,.78) 100%);
  pointer-events: none;
}

.aw-kcats__media.is-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background:
    radial-gradient(circle at 50% 40%, rgba(227,113,17,.18), transparent 22%),
    linear-gradient(180deg, #5e6875 0%, #323c48 100%);
}

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

.aw-kcats__fallback {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 64px;
  min-height: 64px;
  padding: 0 14px;
  border-radius: 16px;
  border: 1px solid rgba(255,255,255,.12);
  background: rgba(255,255,255,.06);
  color: #F2F3F5;
  font-family: var(--aw-font-headings, Montserrat, Arial, sans-serif);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: .04em;
}

.aw-kcats__body {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  min-height: 118px;
  padding: 16px 18px 18px;
}

.aw-kcats__name {
  margin: 0;
  min-height: 2.45em;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  font-family: var(--aw-font-headings, Montserrat, Arial, sans-serif);
  font-size: 17px;
  line-height: 1.22;
  font-weight: 700;
  color: var(--aw-text-primary, #F2F3F5);
}

.aw-kcats__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  font-family: var(--aw-font-headings, Montserrat, Arial, sans-serif);
  font-size: 13px;
  line-height: 1.2;
  font-weight: 700;
  color: var(--aw-accent, #E37111);
}

.aw-kcats__cta::after {
  content: "→";
  font-size: 14px;
  line-height: 1;
}

.aw-kcats__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 16px;
}

.aw-kcats__nav {
  display: flex;
  align-items: center;
  gap: 10px;
}

.aw-kcats__button.swiper-button-prev,
.aw-kcats__button.swiper-button-next {
  position: static;
  inset: auto;
  width: 42px;
  height: 42px;
  margin: 0;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.03);
  color: #C8CCD2;
  transition: transform .2s ease, border-color .2s ease, background-color .2s ease, color .2s ease, opacity .2s ease;
}

.aw-kcats__button.swiper-button-prev:hover,
.aw-kcats__button.swiper-button-next:hover,
.aw-kcats__button.swiper-button-prev:focus-visible,
.aw-kcats__button.swiper-button-next:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(227,113,17,.30);
  background: rgba(255,255,255,.05);
  color: #fff;
  outline: none;
}

.aw-kcats__button.swiper-button-disabled {
  opacity: .38;
  pointer-events: none;
}

.aw-kcats__button.swiper-button-prev::after,
.aw-kcats__button.swiper-button-next::after {
  font-size: 17px;
  font-weight: 700;
}

.aw-kcats__pagination.swiper-pagination {
  position: static;
  width: auto;
  min-width: 84px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

.aw-kcats__pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  margin: 0 !important;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  opacity: 1;
  transition: width .2s ease, background-color .2s ease;
}

.aw-kcats__pagination .swiper-pagination-bullet-active {
  width: 28px;
  background: var(--aw-accent, #E37111);
}

@media (max-width: 1023.98px) {
  .aw-kcats__shell {
    padding: 20px 18px 16px;
    border-radius: 26px;
  }

  .aw-kcats__title {
    font-size: 26px;
    white-space: normal;
  }

  .aw-kcats__link {
    min-height: 294px;
  }

  .aw-kcats__media {
    height: 160px;
  }
}

@media (max-width: 767.98px) {
  .aw-kcats__shell {
    padding: 18px 16px 16px;
    border-radius: 22px;
  }

  .aw-kcats__title {
    font-size: 22px;
    white-space: normal;
  }

  .aw-kcats__link {
    min-height: 282px;
    border-radius: 22px;
  }

  .aw-kcats__media {
    height: 154px;
  }

  .aw-kcats__body {
    min-height: 108px;
    padding: 14px 16px 16px;
  }

  .aw-kcats__name {
    font-size: 16px;
  }

  .aw-kcats__footer {
    margin-top: 14px;
  }

  .aw-kcats__button.swiper-button-prev,
  .aw-kcats__button.swiper-button-next {
    width: 40px;
    height: 40px;
    border-radius: 14px;
  }
}
