/* Fix for Trix editor not displaying styling */
trix-editor {
    background-color: white !important;
    color: #333 !important;
    width: 100%;
    max-width: 100%;
    overflow-wrap: anywhere;
  }

  trix-editor h1 {
    font-size: 1.5em !important;
    font-weight: bold !important;
  }

  trix-editor strong {
    font-weight: bold !important;
  }

  trix-editor em {
    font-style: italic !important;
  }

  trix-editor ul, trix-editor ol {
    display: block !important;
    margin-left: 1em !important;
  }

  trix-editor ul li {
    list-style-type: disc !important;
    display: list-item !important;
  }

  trix-editor ol li {
    list-style-type: decimal !important;
    display: list-item !important;
  }

trix-editor blockquote {
    border-left: 3px solid #ccc !important;
    margin-left: 0.5em !important;
    padding-left: 0.5em !important;
  }

  trix-editor :where(pre) {
    white-space: pre-wrap !important;
    word-break: break-word !important;
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  trix-editor :where(a, code, span, div, p, li, strong, em) {
    overflow-wrap: anywhere;
    word-break: break-word;
    max-width: 100%;
  }

  /* Force readable rendering for pasted/imported rich text in public job pages. */
  .job-description {
    color: #1f2937;
  }

  .job-description :where(p, li, span, div, strong, em, b, i, u, blockquote, h1, h2, h3, h4, h5, h6) {
    color: #1f2937 !important;
    background-color: transparent !important;
  }

  .job-description :where(a) {
    color: #1d4ed8 !important;
    text-decoration: underline;
  }

  .job-description :where(blockquote) {
    border-left: 4px solid #d1d5db !important;
    padding-left: 1rem !important;
    color: #374151 !important;
  }

  .job-description :where(pre) {
    white-space: pre-wrap !important;
    word-break: break-word !important;
    background-color: transparent !important;
    color: #1f2937 !important;
    font-family: inherit !important;
    font-size: inherit !important;
    line-height: 1.7 !important;
    padding: 0 !important;
    margin: 0 0 1rem 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    overflow-x: visible !important;
  }

  .job-description :where(pre *) {
    color: #1f2937 !important;
    background-color: transparent !important;
    font-family: inherit !important;
    font-size: inherit !important;
  }

  .job-description :where(code, kbd, samp) {
    color: inherit !important;
    background-color: transparent !important;
    font-family: inherit !important;
    font-size: inherit !important;
    padding: 0 !important;
  }

  .job-description :where(*):not(img):not(video):not(iframe) {
    opacity: 1 !important;
    filter: none !important;
  }
