/* Services menu: categories on the left, the chosen category's links on the right. */
body.lead-sciences .header .megamenu__panel--cats { padding-bottom: 1.5rem; }
body.lead-sciences .header .lscat { display: flex; width: 100%; gap: 1.5rem; align-items: stretch; }
body.lead-sciences .header .lscat__tabs { flex: 0 0 18rem; margin: 0; padding: 0.5rem 1rem 0.5rem 0; list-style: none; border-right: 1px solid var(--ref-border); }
body.lead-sciences .header .lscat__tabs li { list-style: none; margin: 0 0 0.25rem; }
body.lead-sciences .header .lscat__tab {
  display: flex; align-items: center; justify-content: space-between; gap: 0.75rem; width: 100%; margin: 0; padding: 0.75rem 1rem;
  border: 0; border-radius: 0.5rem; background: transparent; color: var(--ref-text); font-family: var(--font-heading); font-size: 1rem;
  font-weight: 700; line-height: 1.35; text-align: left; cursor: pointer;
}
body.lead-sciences .header .lscat__tab .icon { flex: 0 0 auto; width: 0.75rem; height: 1rem; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
body.lead-sciences .header .lscat__tab.is-active { background: var(--ref-surface-alt); color: var(--ref-accent); }
body.lead-sciences .header .lscat__tab:focus-visible { outline: 2px solid var(--ref-accent); outline-offset: 2px; }
body.lead-sciences .header .lscat__panels { flex: 1 1 auto; min-width: 0; max-height: calc(100vh - 14rem); overflow-y: auto; overscroll-behavior: contain; }
body.lead-sciences .header .lscat__panel { display: none; }
body.lead-sciences .header .lscat__panel.is-active { display: block; }
body.lead-sciences .header .lscat__links { columns: 2; column-gap: 1.5rem; margin: 0; padding: 0.5rem 0; list-style: none; }
@media (min-width: 62rem) { body.lead-sciences .header .lscat__links { columns: 3; column-gap: 1rem; } }
@media (min-width: 62rem) and (max-width: 79.99rem) {
  body.lead-sciences .header .lscat { gap: 0.75rem; }
  body.lead-sciences .header .lscat__tabs { flex-basis: 13rem; padding-right: 0.5rem; }
  body.lead-sciences .header .lscat__tab { padding: 0.6rem 0.5rem; font-size: 0.9375rem; }
  body.lead-sciences .header .lscat__links a { padding: 0.3rem 0.4rem; font-size: 0.8125rem; }
  /* Pinkmart's bottom bar is shown at these widths: the list must end above it. */
  body.lead-sciences .header .lscat__panels { max-height: calc(100vh - 18rem); }
}
body.lead-sciences .header .lscat__links li { list-style: none; margin: 0; break-inside: avoid; }
body.lead-sciences .header .lscat__links a {
  display: block; padding: 0.45rem 0.5rem; border-radius: 0.375rem; color: var(--ref-text); font-family: var(--font-body); font-size: 0.9375rem;
  font-weight: 400; line-height: 1.35; white-space: normal; text-decoration: none;
}
body.lead-sciences .header .lscat__links a:hover, body.lead-sciences .header .lscat__links a:focus-visible, body.lead-sciences .header .lscat__links a[aria-current="page"] { background: var(--ref-surface-alt); color: var(--ref-accent); }

/* Phone and tablet drawer: long topic names may wrap. */
body.lead-sciences .mmenu__panel--cat { z-index: 3; }
body.lead-sciences .mmenu__row--topic { height: auto; margin-bottom: 0.125rem; }
body.lead-sciences .mmenu__row--topic > a { min-height: 3rem; padding: 0.5rem 0; font-weight: 500; line-height: 1.35; }
body.lead-sciences .mmenu__panel--cat .mmenu__group { flex: 0 0 auto; height: auto; min-height: 5rem; }
body.lead-sciences .mmenu__panel--cat .sidebar__back { text-align: left; }

/* Topic pages, in the layout of the Drug Discovery page: white card, side panel of related pages. */
html body.lead-sciences .ls-card { box-sizing: border-box; width: calc(100% - 3rem); max-width: 104rem; margin: 0 auto 1.5rem; padding: 2.5rem 1.5rem; background: #fff; border-radius: 1rem; }
html body.lead-sciences .ls-card__main { min-width: 0; }
html body.lead-sciences .ls-card__side { align-self: start; margin-top: 2rem; padding: 1.5rem; background: var(--ref-background); border-radius: 1rem; }
html body.lead-sciences .ls-card__side h2 { margin: 0 0 0.75rem !important; padding: 0 0 0.75rem !important; border-bottom: 1px solid var(--ref-border); font-family: var(--font-heading) !important; font-size: 1.125rem !important; line-height: 1.75rem !important; color: var(--ref-text) !important; }
html body.lead-sciences .ls-card__side ul { margin: 0 !important; padding: 0 !important; list-style: none !important; }
html body.lead-sciences .ls-card__side li { display: flex; gap: 0.5rem; margin: 0 !important; padding: 0.7rem 0 !important; border-bottom: 1px solid var(--ref-border); list-style: none !important; font-family: var(--font-body) !important; font-size: 0.9375rem !important; line-height: 1.5rem !important; }
html body.lead-sciences .ls-card__side li:last-child { border-bottom: 0; }
html body.lead-sciences .ls-card__side li::before { content: "\00BB"; color: var(--ref-accent); font-weight: 700; }
html body.lead-sciences .ls-card__side a { color: var(--ref-text); text-decoration: none; }
html body.lead-sciences .ls-card__side a:hover, html body.lead-sciences .ls-card__side a:focus-visible { color: var(--ref-accent); }
@media (min-width: 62rem) {
  html body.lead-sciences .ls-card { display: grid; grid-template-columns: minmax(0, 1fr) 19rem; column-gap: 2.5rem; padding: 2.5rem; }
  html body.lead-sciences .ls-card__side { margin-top: 0; }
}
body.lead-sciences .ls-topic { color: var(--ref-text); font-size: 1rem; line-height: 1.7; overflow-wrap: break-word; }
html body.lead-sciences .ls-topic h2 { margin: 2.25rem 0 0.75rem !important; font-family: var(--font-heading) !important; font-size: 1.5rem !important; line-height: 1.3 !important; color: var(--ref-text) !important; }
html body.lead-sciences .ls-topic h3 { margin: 1.5rem 0 0.5rem !important; font-family: var(--font-heading) !important; font-size: 1.125rem !important; line-height: 1.4 !important; color: var(--ref-text) !important; }
html body.lead-sciences .ls-topic p { margin: 0 0 1rem; }
html body.lead-sciences .ls-topic ul, html body.lead-sciences .ls-topic ol { margin: 0 0 1rem !important; padding: 0 0 0 1.4rem !important; list-style-position: outside !important; }
html body.lead-sciences .ls-topic ul { list-style-type: disc !important; }
html body.lead-sciences .ls-topic li { margin: 0 0 0.35rem !important; padding: 0 !important; color: var(--ref-text) !important; font-family: var(--font-body) !important; font-size: 1rem !important; line-height: 1.7 !important; }
body.lead-sciences .ls-topic a { color: var(--ref-accent); text-decoration: underline; text-underline-offset: 2px; overflow-wrap: anywhere; }
html body.lead-sciences .ls-topic figure { margin: 1.5rem 0 2rem; padding: 1.5rem; background: var(--ref-background); border-radius: 0.75rem; }
html body.lead-sciences .ls-topic figure img { display: block; width: 100%; height: auto; margin: 0 auto; }
html body.lead-sciences .ls-topic .ls-photo img { max-width: 46rem; max-height: 30rem; width: auto; max-width: min(100%, 46rem); border-radius: 0.5rem; }
html body.lead-sciences .ls-topic figcaption { margin: 0.75rem 0 0; color: var(--ref-text); font-size: 0.75rem; line-height: 1.5; text-align: center; opacity: 0.75; }
html body.lead-sciences .ls-topic .ls-table { margin: 0 0 1.25rem; overflow-x: auto; }
html body.lead-sciences .ls-topic table { width: 100%; margin: 0 !important; border-collapse: collapse; background: #fff; }
html body.lead-sciences .ls-topic .ls-table th, html body.lead-sciences .ls-topic .ls-table td { padding: 0.65rem 0.8rem !important; border: 1px solid var(--ref-border) !important; text-align: left; vertical-align: top; }
html body.lead-sciences .ls-topic .ls-table th { background: var(--ref-surface-alt); font-weight: 700; }
html body.lead-sciences .ls-topic .ls-topic__note { margin: 2.5rem 0 0; padding: 1rem 1.25rem; border: 1px solid var(--ref-border); border-left: 4px solid var(--ref-accent); border-radius: 0.5rem; background: #fff; }
html body.lead-sciences .ls-topic .ls-topic__note p { margin: 0; }

/* Topic pages have a long trail: let it wrap, and leave room for it above the title card on small screens. */
html body.lead-sciences.ls-topic-page .ls-pagecrumbs .crumbs { display: flex; flex-wrap: wrap; row-gap: 0.25rem; overflow: visible; white-space: normal; }
@media (max-width: 48rem) {
  html body.lead-sciences.ls-topic-page .cat-head-wrap { min-height: 19.5rem; }
}
@media (max-width: 47.99875rem) {
  html body.lead-sciences .ls-card { width: calc(100% - 2rem); padding: 1.25rem 0.75rem; }
  html body.lead-sciences .ls-topic figure { padding: 0; background: none; }
}
@media (max-width: 40rem) {
  html body.lead-sciences .ls-topic h2 { font-size: 1.3rem !important; }
  html body.lead-sciences .ls-topic .ls-table th, html body.lead-sciences .ls-topic .ls-table td { padding: 0.3rem !important; font-size: 0.75rem !important; line-height: 1.4 !important; overflow-wrap: break-word; word-break: normal; hyphens: auto; }
  html body.lead-sciences .ls-topic .ls-table--4 table, html body.lead-sciences .ls-topic .ls-table--5 table { min-width: 24rem; }
}

/* A page still in the earlier single column. */
html body.lead-sciences :not(.ls-card__main) > .ls-topic { max-width: 56rem; margin-left: auto; margin-right: auto; }
