.more_container {
  transform: translateY(10px);
  transition: transform 0.4s ease-out;
}

.more_container.is-visible {
  transform: translateY(0);
}

.more_content {
  position: relative;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Gradient tylko dla przyciętych tekstów */
.more_content.truncated::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(
    to bottom,
    rgba(247, 247, 247, 0),
    rgba(247, 247, 247, 0.4) 40%,
    rgba(247, 247, 247, 1)
  );
  pointer-events: none;
}

.more_button {
  margin-top: 1rem;
}

.more_button .elementor-button {
  cursor: pointer;
}

.more_button .elementor-button-icon {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dodatkowe style dla kontrastu */
body.contrast .more_content.truncated::after {
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0),
    rgba(0, 0, 0, 0.4) 40%,
    rgba(0, 0, 0, 1)
  );
}

.more_button .elementor-button-text {
  margin-right: 0.5rem;
  order: 1;
}

.more_button .elementor-button-icon {
  order: 2;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.more_button .elementor-button-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
} 