.joint-memory-container {
  width: min(1760px, calc(100vw - 24px));
  max-width: none;
}

.joint-memory-body {
  display: grid;
  grid-template-columns: minmax(230px, 0.82fr) minmax(430px, 1.2fr) minmax(230px, 0.82fr);
  gap: 1rem;
  align-items: start;
  margin-top: 0.25rem;
}

.joint-memory-source-panel {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 0.65rem;
}

.joint-memory-answer-panel {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.joint-memory-answer-panel .qa-answer-bubble {
  border-left-color: var(--gold);
}

.joint-memory-answer-panel .qa-answer-text p:first-child::first-letter {
  float: none;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  font-style: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

.joint-memory-religion-name {
  font-weight: 700;
  color: var(--ink);
}

.joint-memory-sources-empty {
  border: 1px dashed var(--rule-soft);
  border-radius: var(--r-md);
  padding: 0.85rem;
  background: var(--surface);
}

@media (max-width: 1120px) {
  .joint-memory-body {
    grid-template-columns: 1fr;
  }

  .joint-memory-answer-panel {
    order: -1;
  }
}

@media (max-width: 760px) {
  .joint-memory-container {
    width: min(100% - 16px, 100%);
  }
}
