.category-description {
  padding-top: 40px;
  background-color: var(--second-bg-color);
}

.category-description > div {
  max-width: 792px;
  margin: 0 auto;
}

.category-description div > * {
  font-size: 12px;
  font-weight: 600;
  color: #8c8575;
}

.category-description div > *:first-child {
  color: var(--sm-text-color);
}

.category-description button {
  margin-top: 24px;
  background-color: transparent;
  color: var(--black);
  font-size: 16px;
  line-height: 21px;
  font-weight: 700;
  transform: translateX(-16px);
}

.category-description button.active {
  box-shadow: unset;
}

.category-description button svg {
  width: 8px;
  height: 9px;
  transform: rotate(180deg);
  transition: all .3s ease;
}

.category-description button.active svg {
  transform: rotate(0);
  transition: all .3s ease;
}

.category-description #description {
  height: auto;
  max-height: 1000px;
  overflow: hidden;
  transition: all .3s ease;
}

.category-description #description:not(.active) {
  max-height: calc((1ch + 1lh) * 10.5);
}

.category-description #description:not(.active) .fade-out {
  position: absolute;
  bottom: 106px;
  left: 0;
  right: 0;
  height: 3em;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgb(250, 239, 215) 100%);
  pointer-events: none;
}

.category-description #description:not(.active) .fade-out {
  bottom: 11vh !important;
}

.magazine_articles .category-description {
  border-radius: unset;
}

.category-description .toggle {
  outline: unset !important;
}