@media (max-width: 640px) {
  /* Only article/problem rich text, never the editor, controls or site navigation. */
  .post-content.mobile-rich-text,
  .problem-description.mobile-rich-text {
    min-width: 0;
    overflow-wrap: anywhere;
    word-break: normal;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
  }

  :is(.post-content, .problem-description).mobile-rich-text[data-mobile-text-sized],
  :is(.post-content, .problem-description).mobile-rich-text [data-mobile-text-sized] {
    font-size: var(--mobile-text-size) !important;
    line-height: 1.65 !important;
  }

  :is(.post-content, .problem-description).mobile-rich-text pre {
    max-width: 100%;
    overflow-x: auto;
    overflow-wrap: normal;
    word-break: normal;
  }
}
