/* Case reading keeps the content primary and related destinations in one plain list. */
html body.case-content-cleanup.cases-page .case-list-card h3 > .case-list-card__link {
  display: block;
  min-height: 44px;
  color: inherit !important;
  font: inherit;
  text-decoration: none !important;
}

html body.case-content-cleanup.cases-page .case-list-card > .case-card-summary {
  margin-top: 0;
}

html body.case-content-cleanup.cases-page .case-library-note {
  margin: 18px 0 0;
  color: #617080;
  font-size: 14px;
  line-height: 1.85;
}

html body.case-content-cleanup main.article > .case-reading-links {
  margin: 40px 0 0;
  padding: 24px 0 0;
  border-top: 1px solid #dbe2e9;
}

html body.case-content-cleanup main.article > .case-reading-links > h2 {
  margin: 0 0 12px;
  padding: 0;
  font-size: 22px;
  line-height: 1.5;
}

html body.case-content-cleanup .case-reading-links > h2::after,
html body.case-content-cleanup .case-reading-links li::before {
  display: none !important;
  content: none !important;
}

html body.case-content-cleanup .case-reading-links > ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

html body.case-content-cleanup .case-reading-links li {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 16px;
  line-height: 1.8;
}

html body.case-content-cleanup .case-reading-links li > a {
  display: inline-block;
  padding-block: 6px;
  color: #526577;
}

html body.case-content-cleanup .case-list-card__link:focus-visible,
html body.case-content-cleanup .case-reading-links a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

html body.case-content-cleanup main.article > .case-byline > p + p {
  margin-top: 10px !important;
}

@media (max-width: 760px) {
  html body.case-content-cleanup.cases-page .case-list-card {
    grid-template-rows: auto auto 1fr !important;
  }

  html body.case-content-cleanup.cases-page .case-list-card > .case-card-summary {
    grid-area: summary !important;
    grid-column: 1 !important;
    grid-row: 3 !important;
    align-self: start !important;
    margin-top: 0 !important;
    display: -webkit-box !important;
    overflow: hidden !important;
    -webkit-box-orient: vertical !important;
    -webkit-line-clamp: 3 !important;
  }

  html body.case-content-cleanup.cases-page .case-library-note {
    color: #adbed4;
  }

  html body.case-content-cleanup main.article > .case-reading-links {
    margin-top: 32px;
    border-color: #344d6b;
  }

  html body.case-content-cleanup .case-reading-links li > a {
    min-height: 44px;
    color: #a7bacb;
  }
}
