/* Same mechanism as .psychedelic-type-container on the substance pages:
   the wrapper carries padding-bottom, the subheading's own margin is
   zeroed - not a margin-bottom on the subheading itself. The gap before a
   .type-section-label comes from whatever precedes it, not the label
   itself (it has no margin-top of its own by design). */
.questions-title-container {
  padding-bottom: 4rem;
}

.questions-title-container .subheading {
  margin-bottom: 0;
}

.guidelines-intro .type-intro-list li {
  font-size: 1.8rem;
  line-height: 1.8;
}

.type-intro-list + .type-intro-summary {
  margin-top: 2rem;
  font-size: 1.6rem;
}

.type-intro-list + .type-intro-summary a:link,
.type-intro-list + .type-intro-summary a:visited {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.type-intro-list + .type-intro-summary a:hover,
.type-intro-list + .type-intro-summary a:active {
  color: #ff6f61;
}

.questions-list {
  display: flex;
  flex-direction: column;
  gap: 2.4rem;
  padding-top: 2.4rem;
}

.question-item-title {
  margin: 0 0 2.4rem;
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
}

.question-item-meta {
  margin-bottom: 1.2rem;
}

.question-preview-entry {
  align-self: stretch;
  justify-content: flex-start;
}

.question-preview-entry .body-entry-value {
  flex: 1 1 auto;
  min-width: 0;
}

.filter-line-break {
  flex-basis: 100%;
  height: 0;
}

.question-item.expanded:hover,
.question-item.expanded:active {
  transform: none;
}

.question-item.expanded .question-preview-entry {
  display: none;
}

.question-full-text {
  display: none;
  font-size: 1.6rem;
  line-height: 1.6;
  color: #555;
  white-space: pre-wrap;
}

.question-item.expanded .question-full-text {
  display: block;
}

.answer-summary-text {
  margin: 0.8rem 0 0;
  font-size: 1.4rem;
  color: #555;
}

.answer-summary-text.answered {
  color: #ff6f61;
}

.question-item.expanded .answer-summary-text {
  display: none;
}

.answers-section {
  display: none;
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.question-item.expanded .answers-section {
  display: block;
}

.answers-section .empty-text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #555;
}

.answers-section .empty-text.hidden {
  display: none;
}

.answer-item {
  padding-left: 1.6rem;
  border-left: 3px solid #ff6f61;
}

.answer-item + .answer-item {
  margin-top: 2.8rem;
}

.answer-item-meta {
  margin-bottom: 1.2rem;
}

.answer-text {
  font-size: 1.6rem;
  line-height: 1.6;
  color: #555;
  white-space: pre-wrap;
}

.experienced-badge {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  padding: 0.3rem 0.8rem;
  margin-left: 0.8rem;
  border-radius: 6px;
  color: #fff;
  background-color: #ff6f61;
}

.answer-form-container {
  display: none;
  margin-top: 1.6rem;
  padding-top: 1.6rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.question-item.expanded .answer-form-container {
  display: block;
}
