.activity-feed-results{
  position: relative;
  overflow: hidden;
  max-height: 620px;
  transition: max-height .28s ease;
}

.activity-feed-results.is-collapsed::after{
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  pointer-events: none;
  background: linear-gradient(
    to bottom,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.72) 55%,
    rgba(255,255,255,0.96) 100%
  );
}

.activity-feed-results.is-expanded{
  overflow: visible;
  max-height: none !important;
}

.activity-feed-more-wrap{
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

.activity-feed-more-btn{
  appearance: none;
  border: 1px solid rgba(17, 24, 39, 0.10);
  background: #fff;
  color: #111827;
  border-radius: 999px;
  min-height: 44px;
  padding: 0 18px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.activity-feed-more-btn:hover,
.activity-feed-more-btn:focus-visible{
  transform: translateY(-1px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.10);
  border-color: rgba(25, 118, 210, 0.24);
  outline: none;
}

.activity-feed-more-btn[disabled]{
  opacity: .55;
  cursor: default;
  transform: none;
}

@media (max-width: 768px){
  .activity-feed-results{
    max-height: 500px;
  }

  .activity-feed-results.is-collapsed::after{
    height: 96px;
  }

  .activity-feed-more-wrap{
    margin-top: 12px;
  }

  .activity-feed-more-btn{
    width: 100%;
    justify-content: center;
  }
}