.insights-page,
.insight-detail-page {
  --insight-surface: rgba(22, 25, 29, 0.86);
  --insight-surface-soft: rgba(255, 255, 255, 0.035);
  --insight-line: rgba(255, 255, 255, 0.1);
  --insight-line-strong: rgba(138, 180, 248, 0.3);
  --insight-blue: #8ab4f8;
  --insight-green: #81c995;
  --insight-amber: #fdd663;
  --insight-text: #f5f7fa;
  --insight-muted: #aeb6c2;
  --insight-max: 1180px;
}

.insights-page main,
.insight-detail-page main {
  min-height: 55vh;
}

.insights-eyebrow {
  display: inline-block;
  color: var(--insight-blue);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.insights-hero {
  position: relative;
  overflow: hidden;
  padding: 116px 0 62px;
  border-bottom: 1px solid var(--insight-line);
  background:
    radial-gradient(circle at 22% 12%, rgba(138, 180, 248, 0.14), transparent 34rem),
    radial-gradient(circle at 82% 42%, rgba(129, 201, 149, 0.08), transparent 28rem);
}

.insights-hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 42px 42px;
  content: "";
  mask-image: linear-gradient(to bottom, black, transparent 88%);
}

.insights-hero__inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.insights-hero h1 {
  max-width: 800px;
  margin: 14px auto 18px;
  color: var(--insight-text);
  font-size: clamp(2.55rem, 7vw, 5.2rem);
  font-weight: 850;
  letter-spacing: -0.055em;
  line-height: 0.98;
  text-wrap: balance;
}

.insights-hero p {
  max-width: 680px;
  margin: 0 auto;
  color: var(--insight-muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.7;
}

.insights-search {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  max-width: 690px;
  min-height: 58px;
  margin: 34px auto 0;
  padding: 6px 7px 6px 18px;
  border: 1px solid var(--insight-line-strong);
  border-radius: 16px;
  background: rgba(12, 14, 17, 0.82);
  box-shadow: 0 20px 70px rgba(0, 0, 0, 0.3);
  gap: 12px;
}

.insights-search i {
  color: var(--insight-blue);
}

.insights-search input {
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--insight-text);
  font: inherit;
}

.insights-search input::placeholder {
  color: #7f8997;
}

.insights-search button {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: 11px;
  background: var(--insight-blue);
  color: #101319;
  font-weight: 800;
}

.insights-shell {
  padding: 54px 0 88px;
}

.insights-shell > .container,
.insight-article-shell > .container {
  max-width: var(--insight-max);
}

.author-hero {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: start;
  margin-bottom: 34px;
  padding: 26px;
  border: 1px solid var(--insight-line);
  border-radius: 22px;
  background: var(--insight-surface-soft);
  gap: 22px;
}

.author-hero > img {
  width: 112px;
  height: 112px;
  border: 1px solid var(--insight-line-strong);
  border-radius: 18px;
  object-fit: cover;
}

.author-hero h2 {
  margin: 5px 0;
  color: var(--insight-text);
  font-size: 1.65rem;
  font-weight: 800;
}

.author-hero p {
  max-width: 760px;
  margin: 8px 0 0;
  color: var(--insight-muted);
  line-height: 1.65;
}

.author-credentials {
  color: var(--insight-green) !important;
  font-size: 0.92rem;
  font-weight: 700;
}

.author-links {
  display: flex;
  margin-top: 14px;
  gap: 16px;
}

.author-links a,
.related-insights__heading > a {
  color: var(--insight-blue);
  font-weight: 700;
  text-decoration: none;
}

.insights-taxonomy {
  margin-bottom: 40px;
  padding: 22px;
  border: 1px solid var(--insight-line);
  border-radius: 20px;
  background: var(--insight-surface-soft);
}

.insights-taxonomy__heading {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
  gap: 10px;
}

.insights-taxonomy__heading i {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--insight-line-strong);
  border-radius: 10px;
  color: var(--insight-blue);
}

.insights-taxonomy__heading h2 {
  margin: 0;
  color: var(--insight-text);
  font-size: 0.94rem;
  font-weight: 800;
}

.insights-chips,
.insights-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.insights-chip {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--insight-line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.025);
  color: var(--insight-muted);
  font-size: 0.84rem;
  font-weight: 700;
  text-decoration: none;
  transition: 160ms ease;
  gap: 8px;
}

.insights-chip span {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  font-size: 0.68rem;
}

.insights-chip:hover,
.insights-chip.is-active {
  border-color: var(--insight-line-strong);
  background: rgba(138, 180, 248, 0.1);
  color: var(--insight-text);
  transform: translateY(-1px);
}

.insights-tags {
  margin-top: 14px;
}

.insights-tags a,
.insight-sidebar__tags a {
  color: #8d9caf;
  font-size: 0.78rem;
  text-decoration: none;
}

.insights-tags a:hover,
.insights-tags a.is-active,
.insight-sidebar__tags a:hover {
  color: var(--insight-blue);
}

.insights-results-heading,
.related-insights__heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin: 0 0 24px;
  gap: 20px;
}

.insights-results-heading h2,
.related-insights__heading h2 {
  margin: 5px 0 0;
  color: var(--insight-text);
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  font-weight: 820;
  letter-spacing: -0.025em;
}

.insights-results-heading > a {
  color: var(--insight-blue);
  font-weight: 700;
}

.featured-insight {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(340px, 0.92fr);
  min-height: 420px;
  margin-bottom: 34px;
  overflow: hidden;
  border: 1px solid var(--insight-line-strong);
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(30, 35, 42, 0.94), rgba(17, 20, 24, 0.96));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.28);
}

.featured-insight__media,
.insight-card__media {
  display: block;
  min-height: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 30% 30%, rgba(138, 180, 248, 0.18), transparent 55%),
    #16191e;
}

.featured-insight__media img,
.insight-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 300ms ease;
}

.featured-insight:hover .featured-insight__media img,
.insight-card:hover .insight-card__media img {
  transform: scale(1.025);
}

.featured-insight__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 54px);
}

.insight-card__meta {
  display: flex;
  align-items: center;
  color: #8e98a6;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  gap: 10px;
}

.insight-card__meta a {
  color: var(--insight-blue);
  text-decoration: none;
}

.insight-card__meta > :not(:last-child)::after {
  margin-left: 10px;
  color: #58616d;
  content: "•";
}

.featured-label {
  align-self: flex-start;
  margin-top: 24px;
  padding: 5px 9px;
  border: 1px solid rgba(253, 214, 99, 0.26);
  border-radius: 7px;
  background: rgba(253, 214, 99, 0.08);
  color: var(--insight-amber);
  font-size: 0.67rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.featured-insight h2,
.insight-card h2,
.insight-card h3 {
  margin: 14px 0 12px;
  color: var(--insight-text);
  font-weight: 820;
  letter-spacing: -0.025em;
  line-height: 1.18;
}

.featured-insight h2 {
  font-size: clamp(1.8rem, 3vw, 2.65rem);
}

.featured-insight h2 a,
.insight-card h2 a,
.insight-card h3 a {
  color: inherit;
  text-decoration: none;
}

.featured-insight p,
.insight-card p {
  color: var(--insight-muted);
  line-height: 1.65;
}

.insight-tool {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  margin-top: 8px;
  color: var(--insight-green);
  font-size: 0.78rem;
  font-weight: 700;
  gap: 7px;
}

.insight-link {
  align-self: flex-start;
  margin-top: 20px;
  color: var(--insight-blue);
  font-weight: 800;
  text-decoration: none;
}

.insights-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.insight-card {
  display: flex;
  min-width: 0;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid var(--insight-line);
  border-radius: 20px;
  background: var(--insight-surface);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.insight-card:hover {
  border-color: var(--insight-line-strong);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22);
  transform: translateY(-3px);
}

.insight-card__media {
  height: 205px;
  min-height: 205px;
}

.insight-card__body {
  display: flex;
  height: 100%;
  flex-direction: column;
  padding: 22px;
}

.insight-card h2,
.insight-card h3 {
  font-size: 1.22rem;
}

.insight-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid var(--insight-line);
  color: #8993a0;
  font-size: 0.75rem;
  gap: 12px;
}

.insight-card__footer a {
  color: var(--insight-blue);
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.insights-empty {
  max-width: 760px;
  margin: 0 auto;
  padding: 68px 30px;
  border: 1px dashed var(--insight-line-strong);
  border-radius: 24px;
  background: var(--insight-surface-soft);
  text-align: center;
}

.insights-empty__icon {
  display: grid;
  width: 62px;
  height: 62px;
  margin: 0 auto 20px;
  place-items: center;
  border: 1px solid var(--insight-line-strong);
  border-radius: 18px;
  background: rgba(138, 180, 248, 0.08);
  color: var(--insight-blue);
  font-size: 1.35rem;
}

.insights-empty h2 {
  color: var(--insight-text);
  font-size: 1.65rem;
  font-weight: 820;
}

.insights-empty p {
  color: var(--insight-muted);
}

.insights-pagination {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  margin-top: 36px;
  padding: 16px 18px;
  border: 1px solid var(--insight-line);
  border-radius: 14px;
  background: var(--insight-surface-soft);
  color: var(--insight-muted);
  font-size: 0.84rem;
  gap: 16px;
}

.insights-pagination a {
  color: var(--insight-blue);
  font-weight: 750;
  text-decoration: none;
}

.insights-pagination > :last-child {
  text-align: right;
}

.insights-pagination [aria-disabled="true"] {
  opacity: 0.45;
}

.insights-platform-cta,
.insight-tool-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 58px;
  padding: clamp(26px, 4vw, 42px);
  border: 1px solid var(--insight-line-strong);
  border-radius: 24px;
  background:
    radial-gradient(circle at 90% 15%, rgba(138, 180, 248, 0.16), transparent 24rem),
    linear-gradient(140deg, rgba(27, 31, 37, 0.96), rgba(15, 18, 22, 0.96));
  gap: 28px;
}

.insights-platform-cta h2,
.insight-tool-cta h2 {
  margin: 8px 0;
  color: var(--insight-text);
  font-size: clamp(1.45rem, 3vw, 2.2rem);
  font-weight: 840;
}

.insights-platform-cta p,
.insight-tool-cta p {
  max-width: 700px;
  margin: 0;
  color: var(--insight-muted);
}

/* Article */
.insight-preview-banner {
  position: relative;
  z-index: 4;
  margin-top: 78px;
  border-block: 1px solid rgba(253, 214, 99, 0.3);
  background: rgba(253, 214, 99, 0.1);
  color: #fce49a;
}

.insight-preview-banner .container {
  display: flex;
  align-items: center;
  min-height: 46px;
  gap: 14px;
}

.insight-preview-banner a {
  margin-left: auto;
  color: inherit;
  font-weight: 800;
}

.insight-article-shell {
  padding: 112px 0 88px;
}

.insight-preview-banner + .insight-article-shell {
  padding-top: 38px;
}

.insight-breadcrumbs {
  display: flex;
  align-items: center;
  margin-bottom: 38px;
  color: #74808e;
  font-size: 0.82rem;
  gap: 10px;
}

.insight-breadcrumbs a {
  color: var(--insight-muted);
  text-decoration: none;
}

.insight-breadcrumbs a:hover {
  color: var(--insight-blue);
}

.insight-header {
  max-width: 940px;
  margin: 0 auto 42px;
  text-align: center;
}

.insight-header__labels {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.insight-header__labels a,
.insight-header__labels span {
  padding: 5px 10px;
  border: 1px solid var(--insight-line-strong);
  border-radius: 999px;
  background: rgba(138, 180, 248, 0.08);
  color: var(--insight-blue);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  text-transform: uppercase;
}

.insight-header__labels span {
  border-color: rgba(129, 201, 149, 0.28);
  background: rgba(129, 201, 149, 0.07);
  color: var(--insight-green);
}

.insight-header h1 {
  margin: 22px auto 20px;
  color: var(--insight-text);
  font-size: clamp(2.4rem, 6.8vw, 5.35rem);
  font-weight: 860;
  letter-spacing: -0.055em;
  line-height: 0.99;
  text-wrap: balance;
}

.insight-deck {
  max-width: 790px;
  margin: 0 auto;
  color: var(--insight-muted);
  font-size: clamp(1.08rem, 2vw, 1.3rem);
  line-height: 1.65;
  text-wrap: balance;
}

.insight-byline {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 28px;
  color: #919aa7;
  font-size: 0.82rem;
  gap: 18px;
}

.insight-byline a,
.insight-reviewer a {
  color: var(--insight-text);
  font-weight: 800;
  text-decoration: none;
}

.insight-dates {
  display: flex;
  gap: 14px;
}

.insight-reviewer {
  margin: 14px 0 0;
  color: #8f99a6;
  font-size: 0.8rem;
}

.insight-hero-figure {
  max-width: 1100px;
  margin: 0 auto 62px;
}

.insight-hero-figure img {
  width: 100%;
  height: auto;
  max-height: 610px;
  border: 1px solid var(--insight-line);
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.26);
}

.insight-hero-figure figcaption,
.insight-figure figcaption {
  margin-top: 10px;
  color: #818b98;
  font-size: 0.78rem;
  text-align: center;
}

.insight-layout {
  display: grid;
  grid-template-columns: minmax(0, 760px) minmax(200px, 250px);
  align-items: start;
  justify-content: center;
  gap: clamp(40px, 6vw, 78px);
}

.insight-prose {
  min-width: 0;
  color: #d8dde5;
  font-size: 1.04rem;
  line-height: 1.82;
}

.insight-prose h2,
.insight-prose h3 {
  color: var(--insight-text);
  font-weight: 830;
  letter-spacing: -0.025em;
  scroll-margin-top: 100px;
  text-wrap: balance;
}

.insight-prose h2 {
  margin: 2.3em 0 0.65em;
  font-size: clamp(1.65rem, 3.5vw, 2.35rem);
}

.insight-prose h3 {
  margin: 1.9em 0 0.6em;
  font-size: clamp(1.3rem, 2.5vw, 1.7rem);
}

.insight-rich-text > :first-child {
  margin-top: 0;
}

.insight-rich-text a,
.insight-prose > a {
  color: var(--insight-blue);
  text-underline-offset: 3px;
}

.insight-rich-text img {
  max-width: 100%;
  height: auto;
}

.insight-answer,
.insight-callout {
  margin: 32px 0;
  padding: 24px 26px;
  border: 1px solid var(--insight-line-strong);
  border-left: 4px solid var(--insight-blue);
  border-radius: 16px;
  background: rgba(138, 180, 248, 0.07);
}

.insight-answer h2,
.insight-callout h2,
.insight-table h2 {
  margin-top: 0;
  font-size: 1.32rem;
}

.insight-callout {
  border-color: rgba(129, 201, 149, 0.26);
  border-left-color: var(--insight-green);
  background: rgba(129, 201, 149, 0.06);
}

.insight-prose blockquote {
  margin: 38px 0;
  padding: 8px 0 8px 28px;
  border-left: 3px solid var(--insight-amber);
  color: #f0f2f5;
  font-size: 1.22rem;
  font-weight: 600;
  line-height: 1.65;
}

.insight-figure {
  margin: 42px 0;
}

.insight-figure img {
  width: 100%;
  height: auto;
  border: 1px solid var(--insight-line);
  border-radius: 18px;
}

.insight-code {
  margin: 34px 0;
}

.insight-code > strong {
  display: block;
  margin-bottom: 8px;
  color: var(--insight-text);
}

.insight-code pre {
  max-width: 100%;
  margin: 0;
  overflow: auto;
  padding: 20px;
  border: 1px solid var(--insight-line);
  border-radius: 14px;
  background: #0b0d10;
  color: #d8e2ef;
  font-size: 0.83rem;
  line-height: 1.65;
}

.insight-table {
  margin: 40px 0;
}

.insight-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
}

.insight-table th,
.insight-table td {
  padding: 12px 14px;
  border: 1px solid var(--insight-line);
  text-align: left;
  vertical-align: top;
}

.insight-table th {
  background: rgba(138, 180, 248, 0.09);
  color: var(--insight-text);
}

.insight-references {
  margin-top: 58px;
  padding-top: 12px;
  border-top: 1px solid var(--insight-line);
  scroll-margin-top: 100px;
}

.insight-references ol {
  padding-left: 1.4rem;
}

.insight-references li {
  margin-bottom: 15px;
  padding-left: 8px;
  color: #aeb7c3;
  font-size: 0.86rem;
  line-height: 1.6;
}

.insight-references li > * {
  margin-right: 5px;
}

.insight-references a {
  color: var(--insight-blue);
  font-weight: 700;
}

.insight-tool-cta {
  align-items: end;
  margin-top: 52px;
}

.insight-tool-cta h2 {
  margin-top: 5px;
}

.insight-sidebar {
  position: sticky;
  top: 104px;
  display: grid;
  gap: 18px;
}

.insight-toc,
.insight-sidebar__tags {
  padding: 18px;
  border: 1px solid var(--insight-line);
  border-radius: 15px;
  background: var(--insight-surface-soft);
}

.insight-toc > strong,
.insight-sidebar__tags > strong {
  display: block;
  margin-bottom: 12px;
  color: var(--insight-text);
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.insight-toc a {
  display: block;
  margin: 8px 0;
  color: #939daa;
  font-size: 0.76rem;
  line-height: 1.4;
  text-decoration: none;
}

.insight-toc a.is-h3 {
  padding-left: 11px;
}

.insight-toc a:hover {
  color: var(--insight-blue);
}

.insight-sidebar__tags > div {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.insight-draft-empty {
  padding: 30px;
  border: 1px dashed rgba(253, 214, 99, 0.36);
  border-radius: 16px;
  background: rgba(253, 214, 99, 0.06);
  color: #fce49a;
  text-align: center;
}

/* Light reading surface: preserve the dark editorial hero while making
   long-form content comfortable for sustained reading. */
body.insight-detail-page .insight-reading-surface {
  --reader-background: #f7f9fc;
  --reader-surface: #ffffff;
  --reader-text: #182235;
  --reader-heading: #0f172a;
  --reader-muted: #405169;
  --reader-line: #cbd5e1;
  --reader-blue: #174f9b;
  --reader-blue-soft: #eaf2fc;
  position: relative;
  margin-top: 62px;
  padding: clamp(48px, 6vw, 76px) 0 clamp(52px, 7vw, 84px);
  background: var(--reader-background) !important;
  box-shadow: 0 0 0 100vmax var(--reader-background);
  color: var(--reader-text) !important;
  clip-path: inset(0 -100vmax);
}

.insight-reading-surface .insight-prose {
  color: var(--reader-text);
  font-size: 1.075rem;
  font-weight: 430;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
}

body.insight-detail-page .insight-reading-surface .insight-prose h2,
body.insight-detail-page .insight-reading-surface .insight-prose h3 {
  color: var(--reader-heading) !important;
}

.insight-reading-surface [id] {
  scroll-margin-top: 112px;
}

.insight-reading-surface .insight-prose p,
.insight-reading-surface .insight-prose li {
  color: var(--reader-text) !important;
}

.insight-reading-surface .insight-prose strong {
  color: var(--reader-heading) !important;
  font-weight: 750;
}

.insight-reading-surface .insight-prose li::marker {
  color: var(--reader-blue);
  font-weight: 750;
}

.insight-reading-surface .insight-rich-text a,
.insight-reading-surface .insight-prose > a,
.insight-reading-surface .insight-references a {
  color: var(--reader-blue) !important;
  text-decoration-thickness: 1.5px;
}

.insight-reading-surface .insight-answer,
.insight-reading-surface .insight-callout {
  border-color: #c5d8f2;
  border-left-color: #3d76cb;
  background: #edf4fd;
  box-shadow: 0 12px 34px rgba(36, 65, 103, 0.06);
}

.insight-reading-surface .insight-callout {
  border-color: #c8e3d5;
  border-left-color: #2d835b;
  background: #edf8f2;
}

.insight-reading-surface .insight-prose blockquote {
  border-left-color: #d59c24;
  color: var(--reader-heading);
}

.insight-reading-surface .insight-figure figcaption {
  color: var(--reader-muted);
  font-size: 0.82rem;
}

.insight-reading-surface .insight-figure img {
  border-color: var(--reader-line);
  background: var(--reader-surface);
  box-shadow: 0 16px 42px rgba(29, 48, 74, 0.1);
}

.insight-reading-surface .insight-code > strong {
  color: var(--reader-heading);
}

.insight-reading-surface .insight-code pre {
  border-color: #27364a;
  background: #111927;
  box-shadow: 0 16px 36px rgba(17, 25, 39, 0.14);
}

.insight-reading-surface .insight-table th,
.insight-reading-surface .insight-table td {
  border-color: var(--reader-line);
  background: rgba(255, 255, 255, 0.82);
  color: var(--reader-text);
}

.insight-reading-surface .insight-table th {
  background: #e8f0fb;
  color: var(--reader-heading);
  font-weight: 750;
}

.insight-reading-surface .insight-references {
  border-top-color: var(--reader-line);
}

.insight-reading-surface .insight-references li {
  color: var(--reader-muted);
  font-size: 0.9rem;
  line-height: 1.7;
}

body.insight-detail-page .insight-reading-surface .insight-toc,
body.insight-detail-page .insight-reading-surface .insight-sidebar__tags {
  border-color: var(--reader-line) !important;
  background: var(--reader-surface) !important;
  box-shadow: 0 14px 38px rgba(31, 51, 78, 0.07);
}

.insight-reading-surface .insight-sidebar {
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 5px;
  scrollbar-color: #aebbc9 transparent;
  scrollbar-gutter: stable;
}

.insight-reading-surface .insight-toc > strong,
.insight-reading-surface .insight-sidebar__tags > strong {
  color: var(--reader-heading) !important;
}

.insight-reading-surface .insight-toc a {
  margin: 3px 0;
  padding: 6px 8px;
  border-radius: 8px;
  color: #3f5067 !important;
  font-size: 0.82rem;
  font-weight: 600;
  line-height: 1.45;
}

.insight-reading-surface .insight-toc a.is-h3 {
  padding-left: 18px;
  font-size: 0.79rem;
}

.insight-reading-surface .insight-toc a:hover,
.insight-reading-surface .insight-toc a:focus-visible {
  background: var(--reader-blue-soft);
  color: var(--reader-blue) !important;
  outline: none;
}

.insight-reading-surface .insight-sidebar__tags a {
  display: inline-flex;
  padding: 5px 9px;
  border: 1px solid #c6d6eb;
  border-radius: 999px;
  background: var(--reader-blue-soft);
  color: var(--reader-blue) !important;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.25;
  text-decoration: none;
}

.insight-reading-surface .insight-sidebar__tags a:hover,
.insight-reading-surface .insight-sidebar__tags a:focus-visible {
  border-color: #8dadd5;
  background: #dceaf9;
  outline: none;
}

.insight-reading-surface .insight-tool-cta {
  border-color: rgba(101, 145, 209, 0.48);
  box-shadow: 0 22px 56px rgba(22, 35, 57, 0.18);
}

body.insight-detail-page .insight-reading-surface .insight-tool-cta h2 {
  color: #f5f7fa !important;
}

.insight-reading-surface .insight-tool-cta p {
  color: #d3dbe6 !important;
}

.insight-reading-surface .insight-draft-empty {
  border-color: #d8bd72;
  background: #fff8df;
  color: #73591c;
}

.related-insights {
  margin-top: 82px;
  padding-top: 48px;
  border-top: 1px solid var(--insight-line);
}

@media (max-width: 991px) {
  .featured-insight {
    grid-template-columns: 1fr;
  }

  .featured-insight__media {
    min-height: 320px;
  }

  .insights-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .insight-layout {
    grid-template-columns: minmax(0, 760px);
  }

  .insight-reading-surface .insight-sidebar {
    position: static;
    grid-row: auto;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
    scrollbar-gutter: auto;
  }

  .insight-toc {
    display: none;
  }
}

@media (max-width: 640px) {
  .insights-hero {
    padding: 96px 0 42px;
  }

  .insights-hero__inner {
    padding-inline: 4px;
  }

  .insights-search {
    grid-template-columns: auto minmax(0, 1fr);
    padding: 12px 14px;
  }

  .insights-search button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .insights-shell {
    padding: 36px 0 64px;
  }

  .author-hero {
    grid-template-columns: 1fr;
  }

  .author-hero > img {
    width: 88px;
    height: 88px;
  }

  .insights-taxonomy {
    padding: 17px;
  }

  .featured-insight {
    min-height: 0;
    border-radius: 20px;
  }

  .featured-insight__media {
    min-height: 230px;
  }

  .featured-insight__copy {
    padding: 24px;
  }

  .insights-grid {
    grid-template-columns: 1fr;
  }

  .insights-pagination {
    grid-template-columns: 1fr 1fr;
  }

  .insights-pagination > :nth-child(2) {
    grid-column: 1 / -1;
    grid-row: 1;
    text-align: center;
  }

  .insights-platform-cta,
  .insight-tool-cta {
    align-items: stretch;
    flex-direction: column;
  }

  .insight-preview-banner {
    margin-top: 70px;
  }

  .insight-preview-banner .container {
    align-items: flex-start;
    flex-direction: column;
    padding-block: 10px;
    gap: 3px;
  }

  .insight-preview-banner a {
    margin-left: 0;
  }

  .insight-article-shell {
    padding: 96px 0 60px;
  }

  .insight-preview-banner + .insight-article-shell {
    padding-top: 28px;
  }

  .insight-header h1 {
    font-size: clamp(2.25rem, 13vw, 3.7rem);
  }

  .insight-header__labels,
  .insight-byline,
  .insight-dates {
    align-items: center;
    flex-direction: column;
  }

  .insight-byline,
  .insight-dates {
    gap: 7px;
  }

  .insight-hero-figure {
    margin-bottom: 38px;
  }

  body.insight-detail-page .insight-reading-surface {
    margin-top: 38px;
    padding: 38px 0 48px;
  }

  .insight-hero-figure img {
    border-radius: 18px;
  }

  .insight-prose {
    font-size: 1.04rem;
    line-height: 1.72;
  }

  .insight-answer,
  .insight-callout {
    padding: 20px;
  }

  .insight-table .table-responsive {
    overflow-x: auto;
    padding-bottom: 7px;
    overscroll-behavior-inline: contain;
    scrollbar-color: #9cacc0 transparent;
  }

  .insight-table table {
    min-width: 680px;
  }

  .related-insights__heading {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .featured-insight__media img,
  .insight-card,
  .insight-card__media img,
  .insights-chip {
    transition: none;
  }
}
