.read-more-text {
  --read-more-collapsed-height: 160px;
  max-height: var(--read-more-collapsed-height); /* collapsed height */
  overflow: hidden;
  position: relative;
  transition: max-height 0.6s ease-in-out;
}

/* Fade-out effect at the bottom */
.read-more-text::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 80px; /* adjust fade height as needed */
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
}

/* Remove fade when expanded */
.read-more-text.expanded::after {
  display: none;
}

/* Disable fade-out entirely when no extra content */
.read-more-text.no-fade::after {
  display: none;
}

/* Read More / Read Less button styling */
.read-more-btn {
  margin-top: 10px;
  font-weight: bold;
  text-decoration: underline;
  cursor: pointer;
  color: #353638;
}
