/* Full server-rendered content remains visible until the controller is ready. */
#tab-description {
  --st-description-preview-height: 380px;
  scroll-margin-top: 100px;
}

@media (max-width: 767px) {
  #tab-description {
    --st-description-preview-height: 480px;
    scroll-margin-top: 75px;
  }
}

#tab-description > .st-description-content {
  display: flow-root;
  max-height: none;
  overflow: visible;
}

#tab-description.st-description-collapsed > .st-description-content {
  position: relative;
  max-height: var(--st-description-content-height);
  overflow: hidden;
}

#tab-description.st-description-collapsed > .st-description-content::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 70px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0), #fff);
  pointer-events: none;
}

#tab-description > .st-description-actions {
  display: flex;
  justify-content: flex-end;
  clear: both;
  margin-top: 12px;
}

#tab-description > .st-description-actions[hidden] {
  display: none;
}

#tab-description .st-description-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  max-width: 100%;
  min-height: 44px;
  padding: 8px 18px;
  border: 2px solid #13783b;
  border-radius: 5px;
  background: #fff;
  color: #13783b;
  font: inherit;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
}

#tab-description .st-description-toggle:hover {
  color: #fff;
  background: #13783b;
}

#tab-description .st-description-toggle:focus-visible {
  outline: 3px solid #0a5629;
  outline-offset: 3px;
}

#tab-description .st-description-toggle-arrow {
  font-size: 11px;
}
