.single-post .PostBody .AnswerBox.AnswerBox--compact,
.page .PostBody .AnswerBox.AnswerBox--compact,
.AnswerBox.AnswerBox--compact {
  position: relative;
}

.single-post .PostBody .AnswerBoxShell.AnswerBoxShell--compact,
.page .PostBody .AnswerBoxShell.AnswerBoxShell--compact,
.AnswerBoxShell.AnswerBoxShell--compact {
  position: relative;
  margin: 8px 0 18px;
  display: grid;
  gap: 12px;
}

.single-post .PostBody .AnswerBoxShell.AnswerBoxShell--compact .AnswerBox.AnswerBox--compact,
.page .PostBody .AnswerBoxShell.AnswerBoxShell--compact .AnswerBox.AnswerBox--compact,
.AnswerBoxShell.AnswerBoxShell--compact .AnswerBox.AnswerBox--compact {
  margin: 0;
}

.single-post .PostBody .AnswerBox.AnswerBox--compact.is-collapsed,
.page .PostBody .AnswerBox.AnswerBox--compact.is-collapsed,
.AnswerBox.AnswerBox--compact.is-collapsed {
  overflow: hidden;
  max-height: var(--answerbox-collapsed-max, 260px);
  cursor: pointer;
}

.single-post .PostBody .AnswerBox.AnswerBox--compact.is-collapsed::after,
.page .PostBody .AnswerBox.AnswerBox--compact.is-collapsed::after,
.AnswerBox.AnswerBox--compact.is-collapsed::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(var(--answerbox-fade-height, 56px) + 18px);
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.86) 38%,
    rgba(255, 255, 255, 0.98) 72%,
    rgba(255, 255, 255, 1) 100%
  );
  pointer-events: none;
  z-index: 1 !important;
}

.single-post .PostBody .AnswerBoxToggle.AnswerBoxToggle--overlay,
.page .PostBody .AnswerBoxToggle.AnswerBoxToggle--overlay,
.AnswerBoxToggle.AnswerBoxToggle--overlay {
  position: relative;
  left: auto;
  bottom: auto;
  transform: none;
  z-index: 4 !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  align-self: center;
  min-height: 40px;
  padding: 0 16px;
  margin: 0;
  margin-inline: auto;
  max-width: 100%;
  border: 1px solid rgba(20, 84, 171, 0.22);
  border-radius: 999px;
  background: #ffffff;
  box-shadow: 0 10px 24px rgba(21, 31, 70, 0.16);
  font: 700 0.84rem/1 "Montserrat", "Segoe UI", sans-serif !important;
  color: #1454ab;
  text-decoration: none;
  text-align: center;
  white-space: nowrap;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}

.single-post .PostBody .AnswerBox.AnswerBox--compact.is-expanded,
.page .PostBody .AnswerBox.AnswerBox--compact.is-expanded,
.AnswerBox.AnswerBox--compact.is-expanded {
  padding-bottom: 0;
}

.single-post .PostBody .AnswerBox.AnswerBox--compact.is-expanded::after,
.page .PostBody .AnswerBox.AnswerBox--compact.is-expanded::after,
.AnswerBox.AnswerBox--compact.is-expanded::after {
  display: none;
}

.single-post .PostBody .AnswerBoxToggle.AnswerBoxToggle--overlay[aria-expanded="true"],
.page .PostBody .AnswerBoxToggle.AnswerBoxToggle--overlay[aria-expanded="true"],
.AnswerBoxToggle.AnswerBoxToggle--overlay[aria-expanded="true"] {
  margin: 0;
}

.single-post .PostBody .AnswerBoxShell.AnswerBoxShell--compact.is-expanded,
.page .PostBody .AnswerBoxShell.AnswerBoxShell--compact.is-expanded,
.AnswerBoxShell.AnswerBoxShell--compact.is-expanded {
  gap: 10px;
}
