.category-investment-info-page {
  position: relative;
  overflow: hidden;
  background: #f8fcff;
}


.category-investment-info-section {
  position: relative;
  z-index: 1;
  padding: 82px 0 96px;
}

.category-investment-info__container {
  width: min(1760px, calc(100% - 40px));
  max-width: 1760px;
}

.category-investment-info-page .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  padding: 0;
}

.category-investment-info__grid {
  display: grid;
  grid-template-columns: repeat(2, 884px);
  justify-content: space-between;
  gap: 34px 20px;
}

.category-investment-info__card {
  width: 870px;
  min-width: 0;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 18px 42px rgba(20, 104, 163, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.category-investment-info__card:hover,
.category-investment-info__card:focus-within {
  box-shadow: 0 26px 58px rgba(17, 116, 184, 0.2);
  transform: translateY(-8px);
}

.category-investment-info__link {
  display: block;
  height: 100%;
  border-radius: inherit;
  cursor: pointer;
  outline: none;
}

.category-investment-info__link:focus-visible {
  box-shadow: 0 0 0 4px rgba(22, 143, 201, 0.28);
}

.category-investment-info__media {
  position: relative;
  width: 870px;
  height: 384px;
  margin: 0;
  overflow: hidden;
  border-radius: inherit;
  background: linear-gradient(135deg, #cdeeff, #eaf7ff);
}

.category-investment-info__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0) 55%, rgba(7, 74, 120, 0.12) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.category-investment-info__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.36s ease, filter 0.36s ease;
}

.category-investment-info__card:hover .category-investment-info__media::after,
.category-investment-info__card:focus-within .category-investment-info__media::after {
  opacity: 1;
}

.category-investment-info__card:hover .category-investment-info__image,
.category-investment-info__card:focus-within .category-investment-info__image {
  filter: saturate(1.08);
  transform: scale(1.045);
}

.category-investment-info__empty {
  display: flex;
  min-height: 260px;
  align-items: center;
  justify-content: center;
  border: 1px dashed rgba(42, 150, 207, 0.52);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.7);
}

.category-investment-info__empty p {
  margin: 0;
  color: #527e96;
  font-size: 18px;
}

.category-investment-info-page .activity-pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 78px;
}

.category-investment-info-page .activity-pagination__item {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid #9ca8af;
  border-radius: 6px;
  background: #fff;
  color: #707d86;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  transition: background 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.category-investment-info-page .activity-pagination__item:hover,
.category-investment-info-page .activity-pagination__item:focus-visible,
.category-investment-info-page .activity-pagination__item.is-active {
  border-color: #168fc9;
  background: #168fc9;
  color: #fff;
  transform: translateY(-2px);
}

.category-investment-info-page .activity-pagination__item--ellipsis,
.category-investment-info-page .activity-pagination__item.is-disabled {
  cursor: default;
  transform: none;
}

.category-investment-info-page .activity-pagination__item--ellipsis {
  pointer-events: none;
}

.category-investment-info-page .activity-pagination__item.is-disabled {
  pointer-events: none;
  opacity: 0.46;
}

.category-investment-info-page .activity-pagination__item--arrow::before {
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateX(2px) rotate(-45deg);
}

.category-investment-info-page .activity-pagination__item--next::before {
  transform: translateX(-2px) rotate(135deg);
}

@media (max-width: 1799px) {
  .category-investment-info__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
  }

  .category-investment-info__card,
  .category-investment-info__media {
    width: 100%;
  }

  .category-investment-info__media {
    height: auto;
    aspect-ratio: 870 / 384;
  }
}

@media (max-width: 1199px) {
  .category-investment-info-section {
    padding: 64px 0 78px;
  }

  .category-investment-info__container {
    width: min(1180px, calc(100% - 72px));
  }

  .category-investment-info__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    justify-content: stretch;
    gap: 42px 36px;
  }

  .category-investment-info__card,
  .category-investment-info__media {
    width: 100%;
  }

  .category-investment-info__media {
    height: auto;
    aspect-ratio: 870 / 384;
  }

  .category-investment-info__card {
    border-radius: 20px;
  }
}

@media (max-width: 767px) {
  .category-investment-info-section {
    padding: 42px 0 56px;
  }

  .category-investment-info__container {
    width: min(100% - 28px, 560px);
  }

  .category-investment-info__grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .category-investment-info__card {
    border-radius: 16px;
    box-shadow: 0 12px 28px rgba(20, 104, 163, 0.12);
  }

  .category-investment-info__media {
    aspect-ratio: 870 / 384;
  }

  .category-investment-info-page .activity-pagination {
    gap: 7px;
    margin-top: 44px;
  }

  .category-investment-info-page .activity-pagination__item {
    width: 36px;
    height: 36px;
    font-size: 13px;
  }
}
