/* Shared Insights article design. Scope the palette to article pages. */
body.insight-template {
  --insight-ink: #20201e;
  --insight-paper: #faf8f5;
  --insight-rose: #e4b9a9;
  --insight-blush: #f3e5df;
  --insight-berry: #8b2f46;
  --insight-rule: #f0e7dc;
  background: var(--insight-paper);
  color: var(--insight-ink);
}
body.insight-template main { background: var(--insight-paper); }
body.insight-template .insight-frame {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
  padding-block: clamp(20px, 2.4vw, 32px) 56px;
  font-family: 'DM Sans', Arial, sans-serif;
}
/* Article typography overrides the marketing-page scale on this layout. */
body.insight-template main .insight-frame :is(h1, h2, h3) {
  font-family: 'DM Sans', Arial, sans-serif !important;
}
body.insight-template main .insight-heading nav[aria-label="Breadcrumb"] {
  position: static !important;
  display: block;
  min-height: 0 !important;
  width: auto;
  margin: 0;
  padding: 0 !important;
  border: 0;
  box-shadow: none;
  background: transparent;
  font-size: .9375rem;
  line-height: 1.4;
}
body.insight-template main .insight-heading h1 {
  max-width: none;
  margin: 24px 0 12px !important;
  color: var(--insight-ink);
  font-size: clamp(2rem, 4.8vw, 3rem) !important;
  line-height: 1.08 !important;
  font-weight: 800 !important;
  letter-spacing: -.04em !important;
  text-wrap: pretty;
}
body.insight-template main .insight-deck {
  max-width: 66ch;
  margin: 0;
  font-size: clamp(1.0625rem, 2.75vw, 1.375rem) !important;
  line-height: 1.38 !important;
}
.insight-frame :is(.insight-topic, .insight-byline a, .insight-copy, .insight-rail a, .insight-reading a) { color: var(--insight-berry); }
.insight-frame :is(a, button):focus-visible { outline: 3px solid var(--insight-berry); outline-offset: 4px; }
.insight-frame .insight-byline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin-block: 16px 22px;
  border-bottom: 2px solid var(--insight-rule);
  padding-bottom: 4px;
}
body.insight-template main .insight-byline p { margin: 0; font-size: .9375rem !important; line-height: 1.45 !important; }
.insight-frame .insight-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 2px 14px; font-size: .9375rem; }
.insight-frame .insight-copy { background: transparent; border: 0; padding: 8px 2px; font: inherit; font-weight: 650; cursor: pointer; }
.insight-frame .insight-actions :is(a, button) { display: inline-flex; align-items: center; min-height: 44px; }
.insight-frame .insight-actions svg { display: none; }
.insight-frame .copy-status:empty { display: none; }
.insight-frame .insight-cover { width: 100%; margin: 0 0 18px; }
.insight-frame .insight-cover img { display: block; width: 100%; height: auto; aspect-ratio: 2.46; object-fit: cover; }
.insight-frame .insight-cover figcaption { margin-top: 8px; font-size: .875rem; }
.insight-frame .insight-callout { background: var(--insight-blush); border-radius: 8px; padding: 14px 24px; margin: 0 0 32px; }
.insight-frame .insight-callout h2 { font-size: 1.375rem !important; line-height: 1.2 !important; font-weight: 800 !important; margin: 0 0 4px !important; }
.insight-frame .insight-callout p { margin: 0; }
.insight-frame .insight-grid { display: grid; grid-template-columns: minmax(0, 72ch); gap: clamp(20px, 3vw, 36px); }
.insight-frame .insight-grid.has-rail { grid-template-columns: minmax(130px, 180px) minmax(0, 72ch); }
.insight-frame .insight-rail { align-self: start; border-right: 2px solid var(--insight-rule); padding-right: 16px; }
.insight-frame .insight-rail summary { font-size: 1rem; font-weight: 800; cursor: pointer; min-height: 44px; padding-block: 4px 10px; }
.insight-frame .insight-rail nav { border-top: 1px solid var(--insight-rule); padding-top: 10px; }
.insight-frame .insight-rail a { display: block; color: var(--insight-ink); font-size: .875rem; line-height: 1.45; text-decoration: none; }
.insight-frame .insight-rail a:hover { color: var(--insight-berry); }
.insight-frame .insight-rail ul { display: grid; gap: .875rem; list-style: none; padding: 0 0 .875rem; margin: 0; }
.insight-frame .insight-reading { width: 100%; min-width: 0; max-width: none; padding: 0; margin: 0; background: none; font-size: 1.125rem; line-height: 1.7; overflow-wrap: break-word; }
body.insight-template main .insight-reading h2 {
  font-size: clamp(1.5rem, 3.4vw, 2.125rem) !important;
  line-height: 1.16 !important;
  font-weight: 800 !important;
  letter-spacing: -.035em !important;
  margin: 0 0 12px !important;
  scroll-margin-top: 140px;
  text-wrap: balance;
}
body.insight-template main .insight-reading p { font-size: 1.0625rem !important; line-height: 1.62 !important; margin: 0 0 16px; }
.insight-frame .insight-reading img { max-width: 100%; height: auto; }
.insight-frame .insight-reading > .case-detail { display: block; margin: 0; padding: 22px 0; border: 0; border-bottom: 1px solid var(--insight-rule); }
.insight-frame .insight-reading > .case-detail:first-child { padding-top: 0; }
.insight-frame .insight-related { margin-top: 32px; padding-top: 18px; border-top: 2px solid var(--insight-rule); }
@media (max-width: 720px) {
  body.insight-template main .insight-frame { width: calc(100% - 40px); }
  body.insight-template main .insight-heading h1 { margin-top: 18px !important; }
  .insight-frame .insight-byline { margin-block: 14px 16px; }
  .insight-frame .insight-callout { margin-bottom: 22px; padding: 14px 16px; }
  .insight-frame .insight-grid.has-rail { grid-template-columns: minmax(0, 1fr); }
  .insight-frame .insight-rail { border-right: 0; border-bottom: 2px solid var(--insight-rule); padding-right: 0; }
  .insight-frame .insight-cover img { aspect-ratio: 1.65; }
}

.insight-frame .insight-evidence .article-metrics-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 200px), 1fr)); gap: 16px; }
.insight-frame .insight-evidence .article-metric strong { display: block; font-size: 1.3rem; }
.insight-frame .insight-evidence > p:last-child { margin-top: 12px; }

/* The reference layout uses a single share action in the byline. */
.insight-frame .insight-actions .insight-copy { gap: 6px; }
.insight-frame .insight-actions .insight-copy svg { display: block; flex: none; }
.insight-frame .insight-cover-proof img { object-fit: contain; background: var(--insight-ink); }
.insight-frame .insight-reading .insight-evidence {
  margin: 18px 0 28px;
  padding: 18px 24px;
  background: var(--insight-blush);
  border-radius: 8px;
}

.insight-frame .insight-cover:not(.insight-cover-proof) img { object-position: center 24%; }
.insight-frame .insight-cover img:is([src*="thinking-research-decisions"], [src*="thinking-human-ai-judgment"]) { object-position: center 8%; }

/* Compact sharing group beside the article metadata. */
.insight-frame .insight-actions { gap: 0 6px; }
.insight-frame .insight-share-label { color: var(--insight-ink); font-size: .875rem; font-weight: 650; }
.insight-frame .insight-actions a { display: inline-grid; place-items: center; min-width: 44px; }
.insight-frame .insight-actions a svg { display: block; }
.insight-frame .insight-share-divider { width: 1px; height: .85em; background: var(--insight-berry); opacity: .5; margin-right: 5px; }
.insight-frame .insight-actions .copy-status { flex-basis: 100%; }

@media (min-width: 1024px) {
  .insight-frame .insight-rail {
    position: sticky;
    top: var(--insight-rail-top, 140px);
    max-height: calc(100dvh - var(--insight-rail-top, 140px) - 16px);
    overflow-y: auto;
    scrollbar-width: thin;
  }
}

.insight-frame .insight-related h2 {
  margin: 0 0 1rem;
  color: var(--insight-ink);
  font-size: clamp(1.375rem, 2.5vw, 1.875rem);
  line-height: 1.2;
}

.insight-frame .insight-recommendations {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr));
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.insight-frame .insight-recommendation {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  border: 1px solid var(--insight-rule);
  border-radius: 8px;
  background: var(--insight-blush);
  color: var(--insight-ink);
  text-decoration: none;
}

.insight-frame .insight-recommendation:hover {
  border-color: var(--insight-berry);
  color: var(--insight-berry);
}

.insight-frame .insight-recommendation img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.insight-frame .insight-recommendation-copy {
  display: grid;
  gap: .375rem;
  padding: 1rem;
}

.insight-frame .insight-recommendation time {
  font-size: .875rem;
}

.insight-frame .insight-recommendation-title {
  font-size: 1.125rem;
  font-weight: 750;
  line-height: 1.3;
  text-wrap: balance;
}

body.insight-template main .insight-heading nav a,
.insight-frame .insight-reading a,.insight-related p a{text-decoration:underline;text-underline-offset:.18em}
.insight-frame .insight-reading h2{scroll-margin-top:var(--insight-section-top,140px)}
body.insight-template .insight-frame :is(h1,h2,h3){text-wrap:balance}
