/*
 * NutriDetector editorial guide system.
 *
 * Shared by evergreen comparisons, explainers, and investigations that sit
 * outside the /ingredients/ hierarchy. The page wrapper is mandatory so the
 * rules cannot leak into Kadence or ordinary blog posts.
 */

.single-content .nd-editorial-guide {
  --nd-eg-ink: #142019;
  --nd-eg-text: #2d3832;
  --nd-eg-muted: #68736d;
  --nd-eg-green: #28664a;
  --nd-eg-green-dark: #173e2e;
  --nd-eg-line: #d8e1dc;
  --nd-eg-sage: #edf4f0;
  --nd-eg-sage-deep: #dfece5;
  --nd-eg-warm: #f5f2ec;
  --nd-eg-paper: #ffffff;
  --nd-eg-max: 1200px;
  --nd-eg-reading: 780px;
  width: auto;
  max-width: none;
  margin: 0 calc(-1 * var(--global-content-edge-padding, 1.5rem));
  overflow-x: clip;
  color: var(--nd-eg-text);
  background: var(--nd-eg-paper);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 17px;
  line-height: 1.7;
}

.single-content .nd-editorial-guide,
.single-content .nd-editorial-guide *,
.single-content .nd-editorial-guide *::before,
.single-content .nd-editorial-guide *::after {
  box-sizing: border-box;
}

.single-content .nd-editorial-guide :where(h1, h2, h3, p, ol, ul, dl, figure, blockquote) {
  margin-top: 0;
}

.single-content .nd-editorial-guide :where(h1, h2, h3) {
  color: var(--nd-eg-ink);
  font-family: inherit;
  text-wrap: balance;
}

.single-content .nd-editorial-guide a {
  color: var(--nd-eg-green);
  text-underline-offset: 0.2em;
  text-decoration-thickness: 1px;
}

.single-content .nd-editorial-guide a:hover {
  color: var(--nd-eg-green-dark);
}

.single-content .nd-editorial-guide a:focus-visible,
.single-content .nd-editorial-guide summary:focus-visible {
  outline: 3px solid #8bb6a0;
  outline-offset: 4px;
  border-radius: 4px;
}

.single-content .nd-editorial-guide__frame {
  width: min(100%, var(--nd-eg-max));
  margin-inline: auto;
  padding-inline: 32px;
}

.single-content .nd-editorial-guide__hero {
  border-bottom: 1px solid var(--nd-eg-line);
  background: var(--nd-eg-sage);
}

.single-content .nd-editorial-guide__hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(400px, 0.92fr);
  gap: clamp(56px, 7vw, 104px);
  align-items: center;
  padding-block: 82px 86px;
}

.single-content .nd-editorial-guide__back {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-bottom: 38px;
  color: var(--nd-eg-green-dark);
  font-size: 0.78rem;
  font-weight: 750;
  letter-spacing: 0.01em;
  text-decoration: none;
}

.single-content .nd-editorial-guide__back span {
  transition: transform 160ms ease;
}

.single-content .nd-editorial-guide__back:hover span {
  transform: translateX(-3px);
}

.single-content .nd-editorial-guide__eyebrow,
.single-content .nd-editorial-guide__section-label {
  margin-bottom: 15px;
  color: var(--nd-eg-green);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.105em;
  line-height: 1.3;
  text-transform: uppercase;
}

.single-content .nd-editorial-guide__hero h1 {
  max-width: 760px;
  margin-bottom: 27px;
  font-size: clamp(3.25rem, 5.1vw, 5.15rem);
  font-weight: 760;
  letter-spacing: -0.064em;
  line-height: 0.98;
}

.single-content .nd-editorial-guide__lead {
  max-width: 700px;
  margin-bottom: 24px;
  color: #415048;
  font-size: clamp(1.08rem, 1.5vw, 1.26rem);
  line-height: 1.65;
}

.single-content .nd-editorial-guide__aliases {
  max-width: 690px;
  margin-bottom: 30px;
  color: #516159;
  font-size: 0.88rem;
  line-height: 1.65;
}

.single-content .nd-editorial-guide__aliases strong {
  color: var(--nd-eg-ink);
  font-weight: 720;
}

.single-content .nd-editorial-guide__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  color: var(--nd-eg-muted);
  font-size: 0.76rem;
  line-height: 1.4;
}

.single-content .nd-editorial-guide__meta > * + * {
  position: relative;
}

.single-content .nd-editorial-guide__meta > * + *::before {
  position: absolute;
  top: 0;
  left: -12px;
  color: #9aa59f;
  content: "/";
}

.single-content .nd-editorial-guide__meta a {
  color: inherit;
}

.single-content .nd-editorial-guide__hero-compare {
  overflow: hidden;
  border: 1px solid #cdd9d2;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 24px 55px rgba(20, 32, 25, 0.08);
}

.single-content .nd-editorial-guide__hero-compare-head {
  padding: 26px 28px 22px;
  border-bottom: 1px solid var(--nd-eg-line);
}

.single-content .nd-editorial-guide__hero-compare-head p {
  margin-bottom: 6px;
  color: var(--nd-eg-muted);
  font-size: 0.72rem;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.single-content .nd-editorial-guide__hero-compare-head h2 {
  margin-bottom: 0;
  font-size: 1.38rem;
  font-weight: 740;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.single-content .nd-editorial-guide__hero-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.single-content .nd-editorial-guide__hero-form {
  min-width: 0;
  padding: 27px 28px 28px;
}

.single-content .nd-editorial-guide__hero-form + .nd-editorial-guide__hero-form {
  border-left: 1px solid var(--nd-eg-line);
}

.single-content .nd-editorial-guide__hero-form h3 {
  margin-bottom: 18px;
  font-size: 1.05rem;
  font-weight: 760;
  letter-spacing: -0.02em;
}

.single-content .nd-editorial-guide__hero-form dl,
.single-content .nd-editorial-guide__hero-form dd {
  margin-bottom: 0;
  margin-left: 0;
}

.single-content .nd-editorial-guide__hero-form dl > div {
  padding-block: 13px;
  border-top: 1px solid #e1e7e3;
}

.single-content .nd-editorial-guide__hero-form dt {
  margin-bottom: 3px;
  color: var(--nd-eg-muted);
  font-size: 0.67rem;
  font-weight: 760;
  letter-spacing: 0.07em;
  line-height: 1.35;
  text-transform: uppercase;
}

.single-content .nd-editorial-guide__hero-form dd {
  color: var(--nd-eg-ink);
  font-size: 0.83rem;
  font-weight: 650;
  line-height: 1.45;
}

.single-content .nd-editorial-guide__hero-verdict {
  display: flex;
  gap: 13px;
  align-items: flex-start;
  margin: 0;
  padding: 20px 28px 22px;
  border-top: 1px solid var(--nd-eg-line);
  color: #294436;
  background: #f6faf7;
  font-size: 0.8rem;
  font-weight: 680;
  line-height: 1.5;
}

.single-content .nd-editorial-guide__hero-verdict::before {
  flex: 0 0 8px;
  width: 8px;
  height: 8px;
  margin-top: 0.38em;
  border-radius: 50%;
  background: var(--nd-eg-green);
  content: "";
}

.single-content .nd-editorial-guide__takeaway {
  border-bottom: 1px solid var(--nd-eg-line);
  background: var(--nd-eg-paper);
}

.single-content .nd-editorial-guide__takeaway-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(48px, 7vw, 96px);
  align-items: start;
  padding-block: 56px 60px;
}

.single-content .nd-editorial-guide__takeaway h2 {
  max-width: 16ch;
  margin-bottom: 0;
  font-size: clamp(1.85rem, 2.6vw, 2.55rem);
  font-weight: 740;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

.single-content .nd-editorial-guide__takeaway-copy {
  border-top: 2px solid var(--nd-eg-ink);
}

.single-content .nd-editorial-guide__takeaway-copy > p {
  margin: 0;
  padding-block: 18px;
  border-bottom: 1px solid var(--nd-eg-line);
}

.single-content .nd-editorial-guide__takeaway-copy > p:first-child {
  color: var(--nd-eg-ink);
  font-size: 1.03rem;
  font-weight: 650;
  line-height: 1.55;
}

.single-content .nd-editorial-guide__takeaway-copy > p:last-child {
  color: var(--nd-eg-muted);
  font-size: 0.93rem;
  line-height: 1.65;
}

.single-content .nd-editorial-guide__body {
  padding-block: 88px 100px;
}

.single-content .nd-editorial-guide__layout {
  display: grid;
  grid-template-columns: minmax(180px, 220px) minmax(0, var(--nd-eg-reading));
  gap: clamp(52px, 7vw, 92px);
  justify-content: center;
  align-items: start;
}

.single-content .nd-editorial-guide__toc {
  position: sticky;
  top: 104px;
  max-height: calc(100vh - 136px);
  overflow-y: auto;
  padding: 2px 4px 8px 0;
  scrollbar-width: thin;
}

.single-content .nd-editorial-guide__toc > p {
  margin-bottom: 16px;
  color: var(--nd-eg-ink);
  font-size: 0.71rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.single-content .nd-editorial-guide__toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: nd-eg-toc;
}

.single-content .nd-editorial-guide__toc li {
  position: relative;
  padding: 10px 0 10px 31px;
  border-top: 1px solid #e1e6e3;
  counter-increment: nd-eg-toc;
}

.single-content .nd-editorial-guide__toc li::before {
  position: absolute;
  top: 12px;
  left: 0;
  color: #8b9790;
  font-size: 0.64rem;
  font-weight: 760;
  content: counter(nd-eg-toc, decimal-leading-zero);
}

.single-content .nd-editorial-guide__toc a {
  display: block;
  color: #536159;
  font-size: 0.78rem;
  font-weight: 620;
  line-height: 1.35;
  text-decoration: none;
}

.single-content .nd-editorial-guide__toc a:hover {
  color: var(--nd-eg-green);
}

.single-content .nd-editorial-guide__article {
  min-width: 0;
}

.single-content .nd-editorial-guide__section,
.single-content .nd-editorial-guide__boundary,
.single-content .nd-editorial-guide__evaluation {
  scroll-margin-top: 120px;
}

.single-content .nd-editorial-guide__section {
  padding-top: 62px;
  border-top: 1px solid var(--nd-eg-line);
}

.single-content .nd-editorial-guide__section:first-child {
  padding-top: 0;
  border-top: 0;
}

.single-content .nd-editorial-guide__section + .nd-editorial-guide__section,
.single-content .nd-editorial-guide__section + .nd-editorial-guide__boundary,
.single-content .nd-editorial-guide__section + .nd-editorial-guide__evaluation,
.single-content .nd-editorial-guide__boundary + .nd-editorial-guide__evaluation {
  margin-top: 74px;
}

.single-content .nd-editorial-guide__section h2,
.single-content .nd-editorial-guide__evaluation h2,
.single-content .nd-editorial-guide__boundary h2 {
  max-width: 740px;
  margin-bottom: 27px;
  font-size: clamp(2.05rem, 3.2vw, 3rem);
  font-weight: 735;
  letter-spacing: -0.052em;
  line-height: 1.08;
}

.single-content .nd-editorial-guide__prose > p,
.single-content .nd-editorial-guide__evaluation > p {
  max-width: 730px;
  margin-bottom: 21px;
  font-size: 1.03rem;
  line-height: 1.78;
}

.single-content .nd-editorial-guide__prose > p:last-child,
.single-content .nd-editorial-guide__evaluation > p:last-child {
  margin-bottom: 0;
}

.single-content .nd-editorial-guide__prose strong {
  color: var(--nd-eg-ink);
}

.single-content .nd-editorial-guide__label-figure {
  width: 100%;
  margin: 36px 0 34px;
}

.single-content .nd-editorial-guide__label-figure img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 1px solid var(--nd-eg-line);
  border-radius: 18px;
  background: var(--nd-eg-paper);
  box-shadow: none;
}

.single-content .nd-editorial-guide__label-figure figcaption {
  max-width: 68ch;
  margin: 14px auto 0;
  color: var(--nd-eg-muted);
  font-size: 0.78rem;
  line-height: 1.6;
  text-align: center;
}

.single-content .nd-editorial-guide sup {
  top: -0.25em;
  margin-left: 2px;
  font-size: 0.68em;
  line-height: 0;
}

.single-content .nd-editorial-guide sup a {
  font-weight: 760;
  text-decoration: none;
}

.single-content .nd-editorial-guide__comparison-table-wrap {
  width: 100%;
  margin-top: 34px;
  overflow-x: auto;
  border-top: 2px solid var(--nd-eg-ink);
  border-bottom: 1px solid var(--nd-eg-line);
}

.single-content .nd-editorial-guide__comparison-table {
  width: 100%;
  min-width: 650px;
  margin: 0;
  border: 0;
  border-collapse: collapse;
  background: transparent;
}

.single-content .nd-editorial-guide__comparison-table caption {
  padding: 16px 0 14px;
  color: var(--nd-eg-muted);
  font-size: 0.76rem;
  font-weight: 650;
  line-height: 1.5;
  text-align: left;
}

.single-content .nd-editorial-guide__comparison-table th,
.single-content .nd-editorial-guide__comparison-table td {
  padding: 17px 18px;
  border: 0;
  border-top: 1px solid var(--nd-eg-line);
  vertical-align: top;
  text-align: left;
}

.single-content .nd-editorial-guide__comparison-table thead th {
  color: var(--nd-eg-ink);
  background: #f7f9f8;
  font-size: 0.78rem;
  font-weight: 780;
  letter-spacing: 0.035em;
  text-transform: uppercase;
}

.single-content .nd-editorial-guide__comparison-table tbody th {
  width: 26%;
  color: var(--nd-eg-ink);
  font-size: 0.78rem;
  font-weight: 730;
  line-height: 1.45;
}

.single-content .nd-editorial-guide__comparison-table td {
  width: 37%;
  color: #47554d;
  font-size: 0.86rem;
  line-height: 1.55;
}

.single-content .nd-editorial-guide__label-check {
  margin-top: 36px;
  padding: 29px 31px 7px;
  border: 1px solid var(--nd-eg-line);
  border-radius: 22px;
  background: #fafbf9;
}

.single-content .nd-editorial-guide__label-check h3 {
  margin-bottom: 20px;
  font-size: 1.08rem;
  font-weight: 740;
  letter-spacing: -0.025em;
}

.single-content .nd-editorial-guide__label-rows,
.single-content .nd-editorial-guide__label-rows dd {
  margin-bottom: 0;
  margin-left: 0;
}

.single-content .nd-editorial-guide__label-rows > div {
  display: grid;
  grid-template-columns: minmax(125px, 0.34fr) minmax(0, 1fr);
  gap: 24px;
  padding-block: 17px;
  border-top: 1px solid #dde4e0;
}

.single-content .nd-editorial-guide__label-rows dt {
  color: var(--nd-eg-ink);
  font-size: 0.8rem;
  font-weight: 750;
  line-height: 1.45;
}

.single-content .nd-editorial-guide__label-rows dd {
  color: #536059;
  font-size: 0.86rem;
  line-height: 1.55;
}

.single-content .nd-editorial-guide__evidence-note {
  margin-top: 34px;
  padding: 24px 27px 25px;
  border-left: 4px solid #b9894b;
  background: var(--nd-eg-warm);
}

.single-content .nd-editorial-guide__evidence-note strong {
  display: block;
  margin-bottom: 5px;
  color: var(--nd-eg-ink);
  font-size: 0.82rem;
  letter-spacing: 0.025em;
}

.single-content .nd-editorial-guide__evidence-note p {
  margin-bottom: 0;
  color: #4d514d;
  font-size: 0.9rem;
  line-height: 1.65;
}

.single-content .nd-editorial-guide__evidence-matrix {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 36px;
  overflow: hidden;
  border: 1px solid var(--nd-eg-line);
  border-radius: 22px;
  background: var(--nd-eg-paper);
}

.single-content .nd-editorial-guide__evidence-cell {
  padding: 26px 28px 28px;
}

.single-content .nd-editorial-guide__evidence-cell:nth-child(even) {
  border-left: 1px solid var(--nd-eg-line);
}

.single-content .nd-editorial-guide__evidence-cell:nth-child(n + 3) {
  border-top: 1px solid var(--nd-eg-line);
}

.single-content .nd-editorial-guide__evidence-cell h3 {
  margin-bottom: 9px;
  font-size: 0.9rem;
  font-weight: 760;
  letter-spacing: -0.015em;
}

.single-content .nd-editorial-guide__evidence-cell p {
  margin-bottom: 0;
  color: #56635c;
  font-size: 0.83rem;
  line-height: 1.58;
}

.single-content .nd-editorial-guide__boundary {
  padding: 42px 44px 44px;
  border-radius: 26px;
  color: #d8e3dd;
  background: var(--nd-eg-ink);
}

.single-content .nd-editorial-guide__boundary .nd-editorial-guide__section-label {
  color: #92c1a7;
}

.single-content .nd-editorial-guide__boundary h2 {
  color: #ffffff;
}

.single-content .nd-editorial-guide__boundary p {
  margin-bottom: 18px;
  color: #d3ddd8;
  font-size: 0.96rem;
  line-height: 1.72;
}

.single-content .nd-editorial-guide__boundary p:last-child {
  margin-bottom: 0;
}

.single-content .nd-editorial-guide__boundary a {
  color: #bce1cc;
}

.single-content .nd-editorial-guide__evaluation {
  padding: 38px 40px 40px;
  border: 1px solid #cfe0d6;
  border-radius: 26px;
  background: var(--nd-eg-sage);
}

.single-content .nd-editorial-guide__evaluation h2 {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
}

.single-content .nd-editorial-guide__evaluation > p {
  font-size: 0.95rem;
}

.single-content .nd-editorial-guide__cta-band {
  border-block: 1px solid #c8dad0;
  background: var(--nd-eg-sage-deep);
}

.single-content .nd-editorial-guide__cta {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(290px, 0.85fr);
  gap: 64px;
  align-items: center;
  padding-block: 72px;
}

.single-content .nd-editorial-guide__cta h2 {
  max-width: 710px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.1vw, 3.8rem);
  font-weight: 745;
  letter-spacing: -0.058em;
  line-height: 1.02;
}

.single-content .nd-editorial-guide__cta p:not(.nd-editorial-guide__eyebrow) {
  max-width: 680px;
  margin-bottom: 0;
  color: #526159;
  font-size: 0.95rem;
  line-height: 1.65;
}

.single-content .nd-editorial-guide__cta > a {
  display: inline-flex;
  justify-self: center;
  gap: 13px;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 15px 22px;
  border: 1px solid var(--nd-eg-ink);
  border-radius: 13px;
  color: #ffffff;
  background: var(--nd-eg-ink);
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.2;
  text-decoration: none;
  transition: background 160ms ease, transform 160ms ease;
}

.single-content .nd-editorial-guide__cta > a:hover {
  color: #ffffff;
  background: #26382f;
  transform: translateY(-2px);
}

.single-content .nd-editorial-guide__faq {
  padding-block: 94px 96px;
  border-bottom: 1px solid var(--nd-eg-line);
  background: #f5f7f6;
}

.single-content .nd-editorial-guide__faq-layout {
  display: grid;
  grid-template-columns: minmax(240px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(55px, 8vw, 120px);
  align-items: start;
}

.single-content .nd-editorial-guide__faq header {
  position: sticky;
  top: 104px;
}

.single-content .nd-editorial-guide__faq h2 {
  margin-bottom: 16px;
  font-size: clamp(2.2rem, 3.8vw, 3.4rem);
  font-weight: 745;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

.single-content .nd-editorial-guide__faq header > p:last-child {
  margin-bottom: 0;
  color: var(--nd-eg-muted);
  font-size: 0.87rem;
  line-height: 1.6;
}

.single-content .nd-editorial-guide__faq-list {
  overflow: hidden;
  border: 1px solid var(--nd-eg-line);
  border-radius: 18px;
  background: var(--nd-eg-paper);
  box-shadow: none;
}

.single-content .nd-editorial-guide__faq-list details,
.single-content .nd-editorial-guide__faq-list details[open] {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  border-bottom: 1px solid var(--nd-eg-line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transition: none;
}

.single-content .nd-editorial-guide__faq-list details[open] {
  background: #f7f9f8;
}

.single-content .nd-editorial-guide__faq-list details:last-child {
  border-bottom: 0;
}

.single-content .nd-editorial-guide__faq-list summary {
  position: relative;
  display: flex;
  min-height: 78px;
  align-items: center;
  margin: 0;
  padding: 21px 66px 21px 25px;
  border: 0;
  border-radius: 0;
  color: var(--nd-eg-ink);
  background: transparent;
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.45;
  box-shadow: none;
  cursor: pointer;
  list-style: none;
  user-select: none;
}

.single-content .nd-editorial-guide__faq-list summary::-webkit-details-marker {
  display: none;
}

.single-content .nd-editorial-guide__faq-list summary:focus-visible,
.single-content .nd-editorial-guide__references summary:focus-visible {
  outline: 3px solid var(--nd-eg-green);
  outline-offset: -4px;
  border-radius: 0;
  box-shadow: none;
}

.single-content .nd-editorial-guide__faq-list summary::before,
.single-content .nd-editorial-guide__faq-list summary::after {
  position: absolute;
  top: 50%;
  right: 26px;
  width: 14px;
  height: 1.5px;
  background: var(--nd-eg-ink);
  content: "";
  transform: translateY(-50%);
  transition: transform 160ms ease;
}

.single-content .nd-editorial-guide__faq-list summary::after {
  transform: translateY(-50%) rotate(90deg);
}

.single-content .nd-editorial-guide__faq-list details[open] summary::after {
  transform: translateY(-50%) rotate(0deg);
}

.single-content .nd-editorial-guide__faq-answer {
  max-width: 700px;
  padding: 0 66px 25px 25px;
}

.single-content .nd-editorial-guide__faq-answer p {
  margin-bottom: 0;
  color: #58645e;
  font-size: 0.9rem;
  line-height: 1.7;
}

.single-content .nd-editorial-guide__references {
  padding-block: 56px 64px;
  border-bottom: 1px solid var(--nd-eg-line);
  background: #f5f7f6;
}

.single-content .nd-editorial-guide__references details,
.single-content .nd-editorial-guide__references details[open] {
  display: block;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--nd-eg-line);
  border-radius: 18px;
  background: var(--nd-eg-paper);
  box-shadow: none;
  transition: none;
}

.single-content .nd-editorial-guide__references details {
  margin-inline: auto;
}

.single-content .nd-editorial-guide__references summary {
  position: relative;
  display: flex;
  min-height: 70px;
  align-items: center;
  margin: 0;
  padding: 19px 60px 19px 24px;
  border: 0;
  border-radius: 0;
  color: var(--nd-eg-ink);
  background: transparent;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.4;
  box-shadow: none;
  cursor: pointer;
  list-style: none;
}

.single-content .nd-editorial-guide__references summary::-webkit-details-marker {
  display: none;
}

.single-content .nd-editorial-guide__references summary::after {
  position: absolute;
  top: 50%;
  right: 25px;
  width: 9px;
  height: 9px;
  border-right: 2px solid var(--nd-eg-ink);
  border-bottom: 2px solid var(--nd-eg-ink);
  content: "";
  transform: translateY(-65%) rotate(45deg);
}

.single-content .nd-editorial-guide__references details[open] summary::after {
  transform: translateY(-25%) rotate(225deg);
}

.single-content .nd-editorial-guide__references ol {
  margin: 0;
  padding: 0 24px 25px 46px;
  border: 0;
}

.single-content .nd-editorial-guide__references li {
  margin-bottom: 11px;
  padding-left: 5px;
  color: #5c5c56;
  font-size: 0.88rem;
  line-height: 1.65;
}

.single-content .nd-editorial-guide__references li:last-child {
  margin-bottom: 0;
}

.single-content .nd-editorial-guide__related {
  padding-block: 70px 78px;
}

.single-content .nd-editorial-guide__related h2 {
  margin-bottom: 30px;
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 735;
  letter-spacing: -0.05em;
}

.single-content .nd-editorial-guide__related-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0 28px;
  margin: 0;
  padding: 0;
  border-top: 2px solid var(--nd-eg-ink);
  list-style: none;
}

.single-content .nd-editorial-guide__related-list li {
  border-bottom: 1px solid var(--nd-eg-line);
}

.single-content .nd-editorial-guide__related-list a {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  min-height: 82px;
  color: var(--nd-eg-ink);
  font-size: 0.86rem;
  font-weight: 710;
  line-height: 1.35;
  text-decoration: none;
}

.single-content .nd-editorial-guide__related-list a span {
  color: var(--nd-eg-green);
}

.single-content .nd-editorial-guide__related-list a:hover {
  color: var(--nd-eg-green);
}

@media (max-width: 1080px) {
  .single-content .nd-editorial-guide__hero-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .single-content .nd-editorial-guide__hero-copy {
    max-width: 820px;
  }

  .single-content .nd-editorial-guide__hero-compare {
    max-width: 760px;
  }

  .single-content .nd-editorial-guide__layout {
    grid-template-columns: minmax(165px, 195px) minmax(0, 720px);
    gap: 48px;
  }
}

@media (max-width: 860px) {
  .single-content .nd-editorial-guide__body {
    padding-block: 68px 82px;
  }

  .single-content .nd-editorial-guide__layout {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .single-content .nd-editorial-guide__toc {
    position: static;
    max-height: none;
    padding: 25px 28px 20px;
    border: 1px solid var(--nd-eg-line);
    border-radius: 20px;
    background: #fafbf9;
  }

  .single-content .nd-editorial-guide__toc ol {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 28px;
  }

  .single-content .nd-editorial-guide__takeaway-grid,
  .single-content .nd-editorial-guide__faq-layout {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .single-content .nd-editorial-guide__takeaway-grid {
    align-items: start;
  }

  .single-content .nd-editorial-guide__faq header {
    position: static;
    max-width: 620px;
  }

  .single-content .nd-editorial-guide__cta {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .single-content .nd-editorial-guide__cta > a {
    justify-self: start;
  }

  .single-content .nd-editorial-guide__related-list {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 720px) {
  .single-content .nd-editorial-guide__comparison-table-wrap--stacked {
    overflow: visible;
  }

  .single-content .nd-editorial-guide__comparison-table-wrap--stacked .nd-editorial-guide__comparison-table {
    display: block;
    min-width: 0;
    border-collapse: separate;
  }

  .single-content .nd-editorial-guide__comparison-table-wrap--stacked .nd-editorial-guide__comparison-table caption {
    display: block;
    width: 100%;
    padding: 15px 0 17px;
  }

  .single-content .nd-editorial-guide__comparison-table-wrap--stacked .nd-editorial-guide__comparison-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    border: 0;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    white-space: nowrap;
  }

  .single-content .nd-editorial-guide__comparison-table-wrap--stacked .nd-editorial-guide__comparison-table tbody,
  .single-content .nd-editorial-guide__comparison-table-wrap--stacked .nd-editorial-guide__comparison-table tr,
  .single-content .nd-editorial-guide__comparison-table-wrap--stacked .nd-editorial-guide__comparison-table th,
  .single-content .nd-editorial-guide__comparison-table-wrap--stacked .nd-editorial-guide__comparison-table td {
    display: block;
    width: 100%;
  }

  .single-content .nd-editorial-guide__comparison-table-wrap--stacked .nd-editorial-guide__comparison-table tbody tr {
    padding-block: 22px;
    border-bottom: 1px solid var(--nd-eg-line);
  }

  .single-content .nd-editorial-guide__comparison-table-wrap--stacked .nd-editorial-guide__comparison-table th,
  .single-content .nd-editorial-guide__comparison-table-wrap--stacked .nd-editorial-guide__comparison-table td {
    padding: 0;
    border: 0;
  }

  .single-content .nd-editorial-guide__comparison-table-wrap--stacked .nd-editorial-guide__comparison-table tbody th {
    width: 100%;
    margin-bottom: 15px;
    color: var(--nd-eg-ink);
    font-size: 0.92rem;
    line-height: 1.4;
  }

  .single-content .nd-editorial-guide__comparison-table-wrap--stacked .nd-editorial-guide__comparison-table tbody td {
    display: grid;
    grid-template-columns: minmax(112px, 0.42fr) minmax(0, 1fr);
    gap: 16px;
    padding-block: 13px;
    border-top: 1px solid #e4e9e6;
    font-size: 0.9rem;
  }

  .single-content .nd-editorial-guide__comparison-table-wrap--stacked .nd-editorial-guide__comparison-table tbody td::before {
    color: var(--nd-eg-muted);
    font-size: 0.72rem;
    font-weight: 760;
    line-height: 1.4;
    letter-spacing: 0.035em;
    text-transform: uppercase;
    content: attr(data-label);
  }
}

@media (max-width: 640px) {
  .single-content .nd-editorial-guide {
    margin-inline: calc(-1 * var(--global-content-edge-padding, 1rem));
    font-size: 16px;
  }

  .single-content .nd-editorial-guide__frame {
    padding-inline: 20px;
  }

  .single-content .nd-editorial-guide__hero-grid {
    gap: 38px;
    padding-block: 52px 55px;
  }

  .single-content .nd-editorial-guide__back {
    margin-bottom: 29px;
  }

  .single-content .nd-editorial-guide__hero h1 {
    margin-bottom: 23px;
    font-size: clamp(2.62rem, 13vw, 3.65rem);
    line-height: 0.99;
  }

  .single-content .nd-editorial-guide__lead {
    font-size: 1.02rem;
  }

  .single-content .nd-editorial-guide__meta {
    display: grid;
    gap: 5px;
  }

  .single-content .nd-editorial-guide__meta > * + *::before {
    display: none;
  }

  .single-content .nd-editorial-guide__hero-compare {
    border-radius: 21px;
  }

  .single-content .nd-editorial-guide__hero-compare-head,
  .single-content .nd-editorial-guide__hero-form,
  .single-content .nd-editorial-guide__hero-verdict {
    padding-inline: 20px;
  }

  .single-content .nd-editorial-guide__hero-columns {
    grid-template-columns: 1fr;
  }

  .single-content .nd-editorial-guide__hero-form + .nd-editorial-guide__hero-form {
    border-top: 1px solid var(--nd-eg-line);
    border-left: 0;
  }

  .single-content .nd-editorial-guide__takeaway-grid {
    padding-block: 44px 48px;
  }

  .single-content .nd-editorial-guide__takeaway h2 {
    font-size: clamp(1.75rem, 8.6vw, 2.3rem);
  }

  .single-content .nd-editorial-guide__body {
    padding-block: 54px 66px;
  }

  .single-content .nd-editorial-guide__layout {
    gap: 42px;
  }

  .single-content .nd-editorial-guide__toc {
    padding: 22px 20px 16px;
    border-radius: 17px;
  }

  .single-content .nd-editorial-guide__toc ol {
    grid-template-columns: 1fr;
  }

  .single-content .nd-editorial-guide__section {
    padding-top: 48px;
  }

.single-content .nd-editorial-guide__section + .nd-editorial-guide__section,
.single-content .nd-editorial-guide__section + .nd-editorial-guide__boundary,
.single-content .nd-editorial-guide__section + .nd-editorial-guide__evaluation,
.single-content .nd-editorial-guide__boundary + .nd-editorial-guide__evaluation {
  margin-top: 56px;
}

  .single-content .nd-editorial-guide__section h2,
  .single-content .nd-editorial-guide__evaluation h2,
  .single-content .nd-editorial-guide__boundary h2 {
    font-size: clamp(1.85rem, 9.2vw, 2.55rem);
  }

  .single-content .nd-editorial-guide__prose > p,
  .single-content .nd-editorial-guide__evaluation > p {
    font-size: 1rem;
  }

  .single-content .nd-editorial-guide__label-check {
    padding: 25px 20px 5px;
    border-radius: 18px;
  }

  .single-content .nd-editorial-guide__label-rows > div {
    grid-template-columns: 1fr;
    gap: 5px;
  }

  .single-content .nd-editorial-guide__evidence-matrix {
    grid-template-columns: 1fr;
    border-radius: 18px;
  }

  .single-content .nd-editorial-guide__evidence-cell:nth-child(even) {
    border-left: 0;
  }

  .single-content .nd-editorial-guide__evidence-cell:nth-child(n + 2) {
    border-top: 1px solid var(--nd-eg-line);
  }

  .single-content .nd-editorial-guide__boundary,
  .single-content .nd-editorial-guide__evaluation {
    padding: 31px 22px 33px;
    border-radius: 20px;
  }

  .single-content .nd-editorial-guide__cta {
    padding-block: 56px;
  }

  .single-content .nd-editorial-guide__cta h2 {
    font-size: clamp(2.2rem, 11vw, 3.1rem);
  }

  .single-content .nd-editorial-guide__cta > a {
    width: 100%;
  }

  .single-content .nd-editorial-guide__faq {
    padding-block: 66px 70px;
  }

  .single-content .nd-editorial-guide__faq-list summary {
    min-height: 72px;
    padding: 19px 56px 19px 20px;
    font-size: 0.93rem;
  }

  .single-content .nd-editorial-guide__faq-list summary::before,
  .single-content .nd-editorial-guide__faq-list summary::after {
    right: 21px;
  }

  .single-content .nd-editorial-guide__faq-answer {
    padding: 0 20px 23px;
  }

  .single-content .nd-editorial-guide__references {
    padding-block: 38px 44px;
  }

  .single-content .nd-editorial-guide__references summary {
    min-height: 64px;
    padding: 17px 52px 17px 20px;
    font-size: 0.88rem;
  }

  .single-content .nd-editorial-guide__references summary::after {
    right: 22px;
  }

  .single-content .nd-editorial-guide__references ol {
    padding: 0 20px 22px 39px;
  }

  .single-content .nd-editorial-guide__references li {
    font-size: 0.88rem;
  }

  .single-content .nd-editorial-guide__related {
    padding-block: 56px 62px;
  }

  .single-content .nd-editorial-guide__related-list {
    grid-template-columns: 1fr;
  }
  
  .single-content .nd-editorial-guide__label-figure {
  margin-block: 30px;
}

.single-content .nd-editorial-guide__label-figure img {
  border-radius: 14px;
}

.single-content .nd-editorial-guide__label-figure figcaption {
  margin-top: 12px;
  font-size: 0.76rem;
  text-align: left;
}
}

/* Kadence Fullwidth already removes the content-edge padding. */
body.content-width-fullwidth .single-content .nd-editorial-guide {
  margin-inline: 0;
}

/* Curated related guides replace Kadence's chronological post navigation. */
body.nd-editorial-guide-page .post-navigation {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .single-content .nd-editorial-guide *,
  .single-content .nd-editorial-guide *::before,
  .single-content .nd-editorial-guide *::after {
    scroll-behavior: auto;
    transition-duration: 0.01ms;
  }
}

@media print {
  .single-content .nd-editorial-guide {
    margin: 0;
    color: #111111;
    font-size: 11pt;
  }

  .single-content .nd-editorial-guide__hero,
  .single-content .nd-editorial-guide__takeaway,
  .single-content .nd-editorial-guide__references {
    background: #ffffff;
  }

  .single-content .nd-editorial-guide__hero-grid,
  .single-content .nd-editorial-guide__layout,
  .single-content .nd-editorial-guide__takeaway-grid,
  .single-content .nd-editorial-guide__faq-layout {
    display: block;
  }

  .single-content .nd-editorial-guide__hero-compare,
  .single-content .nd-editorial-guide__toc,
  .single-content .nd-editorial-guide__cta-band,
  .single-content .nd-editorial-guide__related {
    display: none;
  }

  .single-content .nd-editorial-guide__boundary {
    color: #111111;
    background: #ffffff;
    border: 1px solid #999999;
  }

  .single-content .nd-editorial-guide__boundary :where(h2, p) {
    color: #111111;
  }
}
