.kh2-downloads {
  margin: 64px 0;
  max-width: 700px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

.kh2-downloads__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 24px;
}

.kh2-downloads .kh2-downloads__filters button.kh2-downloads__filter {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid #e5306a !important;
  border-radius: 999px;
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
  color: #e5306a !important;
  padding: 10px 18px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  cursor: pointer;
  box-shadow: none !important;
  transition: background-color 0.18s ease, color 0.18s ease, border-color 0.18s ease;
}

.kh2-downloads .kh2-downloads__filters button.kh2-downloads__filter:not(.is-active) {
  background: #ffffff !important;
  background-color: #ffffff !important;
  border-color: #e5306a !important;
  color: #e5306a !important;
}

.kh2-downloads .kh2-downloads__filters button.kh2-downloads__filter:not(.is-active):hover,
.kh2-downloads .kh2-downloads__filters button.kh2-downloads__filter:not(.is-active):focus-visible {
  background: #fff5fb !important;
  background-color: #fff5fb !important;
  border-color: #e5306a !important;
  color: #e5306a !important;
}

.kh2-downloads .kh2-downloads__filters button.kh2-downloads__filter.is-active {
  background: #e5306a !important;
  background-color: #e5306a !important;
  background-image: none !important;
  border-color: #e5306a !important;
  color: #ffffff !important;
  box-shadow: none !important;
}

.kh2-downloads__list {
  display: grid;
  gap: 24px;
}

.kh2-downloads__item {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px;
  align-items: stretch;
  padding: 20px;
  border-radius: 20px;
  background: #efefef;
  box-shadow: 6px 6px 16px rgba(0, 0, 0, 0.12);
  text-decoration: none;
  color: inherit;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.kh2-downloads__item:hover,
.kh2-downloads__item:focus-visible {
  transform: translateY(-2px);
  box-shadow: 8px 10px 20px rgba(0, 0, 0, 0.14);
}

.kh2-downloads__image {
  width: 200px;
  min-height: 160px;
  height: 100%;
  max-height: 500px;
  border-radius: 16px;
  overflow: hidden;
  background: #d9d9d9;
}

.kh2-downloads__image-tag,
.kh2-downloads__placeholder {
  width: 100%;
  height: 100%;
  min-height: 160px;
  max-height: 500px;
}

.kh2-downloads__image-tag {
  display: block;
  object-fit: cover;
}

.kh2-downloads__placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: #d0d0d0;
  color: #555555;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.kh2-downloads__content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.kh2-downloads__body {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.kh2-downloads__title {
  margin: 0;
  color: #002e2d;
  font-size: 28px;
  line-height: 1.2;
}

.kh2-downloads__info {
  color: #003838;
  font-size: 18px;
  line-height: 1.55;
}

.kh2-downloads__link-label {
  display: inline-block;
  color: #002e2d;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

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

.kh2-downloads__date {
  color: #5f5f5f;
  font-size: 15px;
  line-height: 1.4;
}

.kh2-downloads__empty {
  padding: 20px;
  border-radius: 16px;
  background: #efefef;
  color: #555555;
}

.kh2-downloads__item[hidden] {
  display: none;
}

@media only screen and (max-width: 768px) {
  .kh2-downloads {
    margin: 48px 0;
  }

  .kh2-downloads__item {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 18px;
  }

  .kh2-downloads__image {
    width: 100%;
    min-height: 220px;
    height: clamp(220px, 42vw, 360px);
    max-height: 500px;
  }

  .kh2-downloads__title {
    font-size: 24px;
  }

  .kh2-downloads__info {
    font-size: 16px;
  }
}
