/* Peptelens responsive editorial restoration */
body.northline-wp.pl-presentation-5140 main .dossier-hero {
  --pl-title-cap: 3rem;
}
body.northline-wp.pl-presentation-5140 main :is(.article-head, .editorial-hero, .page-hero, .vendor-profile-hero, .dossier-hero) h1 {
  font-size: clamp(1.875rem, 0.84375rem + 2.75vw, var(--pl-title-cap, 3.25rem)) !important;
}
body.northline-wp.pl-presentation-5140 main :is(.article-head, .editorial-hero, .page-hero, .vendor-profile-hero) h1 {
  line-height: 1.17 !important;
  letter-spacing: -.04em;
}
body.northline-wp.pl-presentation-5140 .pl-hero-copy h1.pl-hero-lead {
  font-size: clamp(1.7rem, 1.35rem + 1.6vw, 2.55rem) !important;
  line-height: 1.2 !important;
  max-width: 25ch;
}
body.northline-wp.pl-presentation-5140 .article-head .pl-section-index {
  margin-inline-start: 0;
}
body.northline-wp.pl-presentation-5140 :is(article.article-paper, .longread) :is(section, .text, .nlm-editable-text) > :is(h2, h3, h4, p, ol, ul, blockquote):not(:where(nav *, aside *, .vendor-card *, .vendor-tile *, .resource-card *, .topic-card *, .article-card *, .pl-action-panel *, .pl-journey-grid *)) {
  margin-inline-start: 0;
  margin-inline-end: auto;
}
body.northline-wp.pl-presentation-5140 .pl-review-table > :is(.nlm-table-scroll, .table-scroll, .table-wrap) {
  margin: 0;
  border: 0;
  border-radius: inherit;
}
body.northline-wp.pl-presentation-5140 .pl-review-table:has(> :is(.nlm-table-scroll, .table-scroll, .table-wrap)) {
  overflow: visible;
}
body.northline-wp.pl-presentation-5140 main .pl-review-table caption {
  text-align: start;
  padding: .65rem .9rem;
  font-weight: 600;
  color: #284439;
  background: #f5f2e8;
}
@media (max-width: 600px) {
  body.northline-wp.pl-presentation-5140 main .pl-hero::after { aspect-ratio: 3 / 2; }
  body.northline-wp.pl-presentation-5140 main article.pl-manuscript-5130 > .text > section:first-of-type { margin-block-start: .5rem; }
  body.northline-wp.pl-presentation-5140 main article.pl-manuscript-5130 > .text > section:first-child > h2:first-of-type { margin-block-start: .35rem; padding-block-start: .8rem; }
  body.northline-wp.pl-presentation-5140 main .pl-review-table table.pl-facts-table tbody th[scope="row"] {
    position: static;
    background: #e8ede2 !important;
    color: #173b30 !important;
    padding: .55rem .85rem;
    line-height: 1.45;
  }
  body.northline-wp.pl-presentation-5140 main .pl-review-table table.pl-facts-table tbody th[scope="row"] a:any-link { color: #124737 !important; }
  body.northline-wp.pl-presentation-5140 main .pl-review-table table.pl-facts-table tbody td {
    padding: .65rem .85rem .8rem;
    line-height: 1.55;
  }

/* Archived 5.4.3 homepage proportions with the matching optimized phone image. */
  body.home.northline-wp.pl-presentation-5140 main .pl-hero {
    background-position: center bottom;
    background-size: 100% auto;
    background-repeat: no-repeat;
  }
  body.home.northline-wp.pl-presentation-5140 main .pl-hero-grid {
    padding: 24px 20px 20px;
  }
  body.home.northline-wp.pl-presentation-5140 main .pl-hero h1.pl-hero-lead {
    max-width: none;
    font-size: 1.4375rem !important;
    line-height: 1.45 !important;
  }

  body.home.northline-wp .pl-journeys > h2 {
    margin-bottom: 20px;
  }
  body.home.northline-wp .pl-journey-grid > section {
    padding: 16px;
  }
  body.home.northline-wp .pl-journey-grid h3 {
    font-size: 1.25rem;
    line-height: 1.3;
    margin: 10px 0;
  }

/* Phone reading hierarchy for the interior page templates, including French. */
  body.northline-wp.pl-presentation-5140:not(.home) main :is(.article-head, .page-hero, .editorial-hero, .vendor-profile-hero, .dossier-hero, .article-paper) h1 {
    font-size: 1.875rem !important;
    line-height: 1.2 !important;
    overflow-wrap: anywhere;
  }
  body.northline-wp.pl-presentation-5140:not(.home) main :where(.article-paper, .longread, .vendor-article, .editorial-content, .prose) h2:not(:where(.vendor-card *, .vendor-tile *, .resource-card *, .topic-card *, .article-card *, nav *, aside *)) {
    font-size: 1.5rem;
    line-height: 1.3;
    margin-block: 24px 14px;
    padding-block-start: 16px;
  }
  body.northline-wp.pl-presentation-5140:not(.home) main :is(.article-paper, .longread, .vendor-article) h2:first-child {
    margin-block-start: 0;
  }
  body.northline-wp.pl-presentation-5140:not(.home) main :is(.resource-card, .topic-card, .article-card, .vendor-card) :is(h2, h3) {
    font-size: 1.25rem;
    line-height: 1.3;
    overflow-wrap: anywhere;
  }
}

body.northline-wp .dossier-hero .pl-compound-intro {
  font-size: 1.0625rem;
}
body.northline-wp .lab .pl-worksheet-title,
body.northline-wp .lab #labScore {
  font: 600 1.25rem/1.35 var(--pl-serif, Georgia, serif);
  margin: .5rem 0 .75rem;
}
body.northline-wp .lab .pl-worksheet-help {
  font-size: .9375rem;
  line-height: 1.55;
}
body.northline-wp .lab-options .pl-worksheet-help { color: #334f42; }
body.northline-wp .lab-review .pl-worksheet-note { margin-top: 1.125rem; }
body.northline-wp main :is(.lab input, .nlm-table-scroll, .pl-save-small):focus-visible {
  outline: 3px solid #16523d;
  outline-offset: 2px;
  box-shadow: 0 0 0 2px #fffdf5;
}

/* The theme positions the illustration absolutely. Its captioned frame
   must establish the containing block on every viewport. */
body.northline-wp.pl-design-540 .dossier-hero > figure > .dossier-visual {
  position: relative;
  inset: auto;
  height: auto;
  aspect-ratio: 1;
}
body.northline-wp .dossier-hero > figure > figcaption {
  margin-block-start: .5rem;
}

/* The theme also adds a text instruction above overflowing tables. */
body.northline-wp.pl-presentation-5140 .pl-scroll-note + .pl-can-scroll::before {
  display: none;
}

@media (max-width: 600px) {
  /* Short evidence tables can show both columns at phone width. */
  body.northline-wp main:has(.dossier-hero) .prose .nlm-table-scroll
  table:has(> thead > tr > th:nth-child(2):last-child):not(:has(tr > :nth-child(3), [colspan], [rowspan])) {
    width: 100%;
    min-width: 0;
    table-layout: fixed;
  }
  body.northline-wp main:has(.dossier-hero) .prose .nlm-table-scroll
  table:has(> thead > tr > th:nth-child(2):last-child):not(:has(tr > :nth-child(3), [colspan], [rowspan])) :is(th, td) {
    width: auto;
    min-width: 0;
    padding: .65rem .55rem;
    overflow-wrap: anywhere;
  }
}

/* Publication layout. All sizing follows the reader's text preference. */
body.northline-wp.pl-presentation-5140 {
  --pl-paper: #fffcf5;
  --pl-ink: #113d32;
  --pl-keyline: #d8cfb8;
  --pl-reading: 69ch;
}
body.northline-wp .site-header {
  box-shadow: 0 1px 0 #a28951, 0 3px 12px #102e2414;
}
body.northline-wp.pl-presentation-5140 main > :is(.article-head, .page-hero) {
  background-color: #f5f1e5;
  background-image: linear-gradient(108deg,#faf7ed 18%,#f2f0e3 67%,#e5eadc);
  border-bottom: 1px solid var(--pl-keyline);
}
body.northline-wp.pl-presentation-5140 main :is(.article-head,.page-hero,.dossier-hero) h1 {
  color: var(--pl-ink);
  text-wrap: balance;
}
body.northline-wp.pl-presentation-5140 main :is(.article-head,.page-hero,.dossier-hero) .eyebrow {
  color: #48644e;
  font: 650 .72rem/1.5 var(--pl-sans,sans-serif);
  letter-spacing: .13em;
}
body.northline-wp.pl-presentation-5140 main :is(.article-head,.page-hero) .lead {
  max-width: 65ch;
  font-size: clamp(1.02rem,.94rem + .43vw,1.24rem);
  line-height: 1.62;
}
body.northline-wp.pl-presentation-5140 main .pl-section-index {
  background: #f9f8ef;
  border: 1px solid #d3d5c4;
  border-inline-start: 3px solid #a58849;
  border-radius: 4px;
}
body.northline-wp.pl-presentation-5140 main .pl-section-index summary {
  color: #244d3e;
  padding-block: .35rem;
  font-weight: 650;
}
body.northline-wp.pl-presentation-5140 main :is(.article-paper,.longread) {
  border-color: #e2dccb;
  border-top: 2px solid #aa8c4e;
  background: var(--pl-paper);
}
body.northline-wp.pl-presentation-5140 main :is(.article-paper,.longread,.prose) :where(p,li) {
  text-underline-offset: .17em;
  text-decoration-thickness: 1px;
}
body.northline-wp.pl-presentation-5140 main :is(.article-paper,.longread,.prose) :where(p,li) a:hover {
  text-decoration-thickness: 2px;
}
body.northline-wp.pl-presentation-5140 main .dossier-hero > figure {
  min-width: 0;
}
body.northline-wp.pl-presentation-5140 main .dossier-hero figcaption {
  font-size: .84rem;
  line-height: 1.48;
  color: #4f6559;
}
body.northline-wp.pl-presentation-5140 main .nlm-quick-answer {
  background: #eaf0e5;
  border-inline-start: 3px solid #50705b;
  border-radius: 0 5px 5px 0;
}
body.home.northline-wp .pl-pillars {
  background: #faf7ef;
  border-block: 1px solid var(--pl-keyline);
}
body.home.northline-wp.pl-presentation-5140 .pl-journey-grid > section {
  background: var(--pl-paper);
  border: 1px solid var(--pl-keyline);
  border-block-start: 3px solid #9d8348;
  border-radius: 2px 2px 9px 9px;
  padding: clamp(1.1rem,2vw,1.85rem);
}
body.home.northline-wp .pl-journey-grid .pl-step {
  color: #55634d;
  font-size: .72rem;
  letter-spacing: .1em;
}
body.home.northline-wp .pl-journey-grid p {
  line-height: 1.58;
}
body.northline-wp.pl-presentation-5140 main :is(.vendor-tile,.resource-card,.topic-card) {
  border-color: #d7d2c1;
  border-radius: 7px;
  background-color: #fffdf7;
}
body.northline-wp.pl-presentation-5140 main .vendor-tile {
  border-block-start: 2px solid #8e9e84;
  box-shadow: none;
}
body.northline-wp main .vendor-tile :is(.vendor-domain,.vendor-summary) {
  overflow-wrap: anywhere;
}
body.northline-wp.pl-presentation-5140 main .vendor-tools {
  background-color: var(--pl-paper);
  border-color: var(--pl-keyline);
}
body.northline-wp .footer-grid {
  column-gap: clamp(1.2rem,3.5vw,3.5rem);
}
body.northline-wp .footer-grid a:focus-visible,
body.northline-wp .site-header :is(a,button):focus-visible {
  outline: 2px solid #ecd598;
  outline-offset: 3px;
}

@media (min-width: 960px) {
  /* Let the reader start the article alongside an existing contents panel. */
  body.northline-wp.pl-presentation-5140 main .article-head:has(.text > .pl-section-index) {
    padding-inline: max(40px,calc((100% - 1120px)/2));
  }
  body.northline-wp main .article-head:has(.text > .pl-section-index) > .shell {
    width: 100%;
    max-width: 1120px;
  }
  body.northline-wp main .article-head .text:has(> .pl-section-index) {
    display: grid;
    grid-template-columns: minmax(0,1.75fr) minmax(16rem,.85fr);
    column-gap: clamp(2rem,5vw,5rem);
    align-content: start;
  }
  body.northline-wp main .article-head .text:has(> .pl-section-index) > * {
    grid-column: 1;
    min-width: 0;
  }
  body.northline-wp.pl-presentation-5140 main .article-head .text > .pl-section-index {
    grid-column: 2;
    grid-row: 1 / span 12;
    align-self: start;
    width: 100%;
    margin: 0;
    padding: .9rem 1.1rem;
  }
  body.northline-wp main .article-head .pl-section-index ol {
    display: block;
    max-height: 13rem;
    overflow-y: auto;
    scrollbar-width: thin;
    padding-inline-end: .65rem;
  }
  body.northline-wp main .article-head .pl-section-index li a {
    padding-block: .38rem;
    line-height: 1.45;
  }

  /* Section-opening photographs belong to the index pages. */
  body.northline-wp:is(.page-id-12,.page-id-21,.page-id-22,.page-id-32) main > :is(.article-head,.page-hero) > .shell {
    display: grid;
    grid-template-columns: minmax(0,1fr) clamp(210px,22vw,310px);
    align-content: center;
    column-gap: clamp(2rem,5vw,5rem);
  }
  body.northline-wp:is(.page-id-12,.page-id-21,.page-id-22,.page-id-32) main > :is(.article-head,.page-hero) > .shell > * {
    grid-column: 1;
    min-width: 0;
  }
  body.northline-wp:is(.page-id-12,.page-id-21,.page-id-22,.page-id-32) main > :is(.article-head,.page-hero) > .shell::after {
    content: "";
    grid-area: 1 / 2 / span 10;
    align-self: center;
    aspect-ratio: 3 / 2;
    background: var(--pl-section-art) center / cover no-repeat;
    border-radius: 2px;
    box-shadow: 0 0 0 5px #fffcf3, 0 0 0 6px #c9bfa2;
  }
  body.northline-wp.page-id-12,body.northline-wp.page-id-22 { --pl-section-art: url("research-evidence-640.webp"); }
  body.northline-wp.page-id-21,body.northline-wp.page-id-32 { --pl-section-art: url("vendor-investigations-640.webp"); }
  body.northline-wp main .dossier-hero:has(> figure) {
    display: grid !important;
    grid-template-columns: minmax(0,1fr) clamp(220px,23vw,322px);
    align-items: start;
    gap: clamp(2.5rem,6vw,6rem) !important;
  }
  body.northline-wp.pl-presentation-5140 main .dossier-hero > figure,
  body.northline-wp.pl-presentation-5140 main .dossier-hero > figure > .dossier-visual {
    width: 100% !important;
  }
}
@media (max-width: 600px) {
  body.northline-wp.pl-presentation-5140 main > :is(.article-head,.page-hero) {
    padding-block: 1.45rem 1.6rem;
  }
  body.northline-wp.pl-presentation-5140 main :is(.article-head,.page-hero) h1 {
    line-height: 1.15 !important;
    margin-block: .55rem .75rem;
  }
  body.northline-wp.pl-presentation-5140 main :is(.article-head,.page-hero) p:last-child {
    margin-bottom: 0;
  }
  body.northline-wp.pl-presentation-5140 main .pl-section-index {
    margin-block: 1rem;
    padding: .4rem .85rem;
  }
  body.northline-wp.pl-presentation-5140 main .pl-section-index summary {
    min-height: 44px;
    align-content: center;
  }
  body.northline-wp.pl-presentation-5140 main .dossier-hero > figure {
    display: grid;
    grid-template-columns: minmax(92px,35%) minmax(0,1fr);
    align-items: center;
    gap: 1rem;
    width: 100% !important;
    border-block: 1px solid var(--pl-keyline);
    padding-block: .75rem;
  }
  body.northline-wp.pl-presentation-5140 main .dossier-hero > figure figcaption {
    margin: 0;
    max-width: 23ch;
  }
  body.northline-wp.pl-presentation-5140 main :is(.article-paper,.longread,.prose) :is(h2,h3):not(:where(nav *,aside *,.resource-card *,.vendor-tile *,.topic-card *)) {
    text-wrap: pretty;
  }
  body.northline-wp.pl-presentation-5140 main .prose h2 + h3 {
    font: 600 1.125rem/1.4 var(--pl-sans,sans-serif);
    letter-spacing: -.012em;
    margin-block: .75rem .6rem;
    color: #37594c;
  }
  body.northline-wp.pl-presentation-5140 .footer-grid a { line-height: 1.5; }
}

/* Give the primary homepage route a clear editorial lead. */
body.home.northline-wp.pl-presentation-5140 .pl-journey-grid > section:first-child {
  background: linear-gradient(135deg,#183f32,#0e322a);
  border-color: #234a39;
  border-top-color: #c4a461;
}
body.home.northline-wp.pl-presentation-5140 .pl-journey-grid > section:first-child :is(h3,p) { color: #fff9e8; }
body.home.northline-wp.pl-presentation-5140 .pl-journey-grid > section:first-child .pl-step { color: #e4ce97; }
body.home.northline-wp.pl-presentation-5140 .pl-journey-grid > section:first-child a:any-link {
  color: #fff3c9;
  text-decoration: underline;
  text-underline-offset: .2em;
}
body.northline-wp.pl-presentation-5140 main .prose .nlm-table-scroll table > caption:not(.screen-reader-text) {
  color: #28483b;
  text-align: start;
  padding: .65rem .8rem;
  background: #f4f3e9;
  font-size: .92rem;
  line-height: 1.45;
  font-weight: 600;
}
body.northline-wp.pl-presentation-5140 main .prose .nlm-table-scroll tbody th[scope="row"] {
  color: #234c3b;
  background: #e7ecdf;
  border-bottom: 1px solid #cfd5c7;
}
body.northline-wp.pl-presentation-5140 main .prose .nlm-table-scroll tbody th[scope="row"] a:any-link { color: #194d38; }

/* Field guides open with the publication's botanical reading desk. */
body.northline-wp.page-id-21 { --pl-section-art: url("reading-guides.webp"); }

/* The card's gold edge introduces the first review heading in both languages. */
body.northline-wp.pl-presentation-5140.pl-vendor-detail main article.pl-manuscript-5130 {
  padding-block-start: clamp(1rem,2vw,1.6rem);
}
body.northline-wp.pl-presentation-5140.pl-vendor-detail main article.pl-manuscript-5130 > .text:first-child > section:first-of-type {
  margin-block-start: 0;
}
body.northline-wp.pl-presentation-5140.pl-vendor-detail main article.pl-manuscript-5130 > .text:first-child > section:first-of-type > h2:first-of-type {
  border-block-start: 0;
  padding-block-start: 0;
  margin-block-start: 0;
}

/* Low-contrast rules separate evidence rows without competing with the header. */
body.northline-wp.pl-presentation-5140 main table tbody :is(td,th) {
  border-block-end-color: #dbded2;
}
body.northline-wp.pl-presentation-5140 main table :is(th,td).pl-numeric-figure {
  text-align: end;
  font-variant-numeric: lining-nums tabular-nums;
}

@media (max-width: 600px) {
  body.home.northline-wp.pl-presentation-5140 main .pl-hero-grid {
    padding-block-start: 16px;
  }
  body.home.northline-wp.pl-presentation-5140 main .pl-brand-hero {
    gap: 9px;
    margin-block-end: 0;
  }
  body.home.northline-wp.pl-presentation-5140 main .pl-brand-hero .pl-brand-symbol {
    width: 46px;
    height: 46px;
  }
  body.home.northline-wp.pl-presentation-5140 main .pl-brand-hero .pl-wordmark {
    font-size: 1.25rem;
  }
  body.home.northline-wp.pl-presentation-5140 main .pl-brand-hero .pl-brand-type {
    gap: 4px;
  }
  body.home.northline-wp.pl-presentation-5140 main .pl-hero-copy .pl-ornament {
    width: 7.5rem;
    margin: 6px 0;
    height: 10px;
  }
}

@media (max-width: 600px) {
  body.home.northline-wp.pl-presentation-5140 .pl-hero-copy .hero-actions a.button.light {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    flex: 0 1 auto;
    width: fit-content;
    max-width: 100%;
    min-height: 44px;
    margin: 0;
    padding: .25rem 0;
    border: 0 !important;
    border-radius: 0;
    background: transparent !important;
    box-shadow: none !important;
    color: #164c3b !important;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: .22em;
    text-shadow: none;
    line-height: 1.4;
    text-align: start;
  }
  body.home.northline-wp.pl-presentation-5140 .pl-hero-copy .hero-actions a.button.light:is(:hover,:focus-visible) {
    color: #0b392c !important;
    text-decoration-thickness: 2px;
  }
  body.home.northline-wp.pl-presentation-5140 .pl-hero-copy .hero-actions a.button.light:focus-visible {
    outline: 2px solid #285b44;
    outline-offset: 2px;
  }
  body.home.northline-wp.pl-presentation-5140 .pl-hero-copy p.pl-caption {
    display: block;
    margin: .35rem 0 0;
    padding: 0;
    background: transparent;
    border: 0;
    color: #385343 !important;
    font-size: .8125rem;
    line-height: 1.5;
    text-shadow: none;
  }
}
@media (max-width: 767px) {
  body.parent-pageid-12 .shell.profile-content:has(> .side-index) {
    row-gap: 12px;
  }
  body.parent-pageid-12 .shell.profile-content > .side-index {
    margin-bottom: 0;
  }
  body.parent-pageid-12 .profile-content > .prose > .text:first-child > h2:first-child {
    margin-top: 0;
  }
}
