/* Insight article — Medium-like reading layout.
   No hero background image, no title overlaid on media. Title → byline →
   cover → body in a narrow cream column. */

body.is-insight-detail {
  --insight-ink: #022a22;
  --insight-body: rgba(2, 42, 34, 0.84);
  --insight-quiet: rgba(2, 42, 34, 0.55);
  --insight-rule: rgba(2, 42, 34, 0.14);
  --insight-cream: var(--base-color-brand--white, #fbf7f0);
  --insight-green: #0a8352;
  background: var(--insight-cream) !important;
  /* Override site-wide white-on-black + `body * { color: inherit }` */
  color: var(--insight-ink) !important;
}

/* Medium-style top green reading bar — always visible track, fills on scroll */
body.is-insight-detail .insight-progress {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 10050;
  height: 4px;
  background: color-mix(in srgb, var(--insight-green) 42%, transparent);
  pointer-events: none;
}

body.is-insight-detail .insight-progress__bar {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--insight-green);
  transform-origin: left center;
  will-change: width;
}

/* Clearance under the fixed navbar */
body.is-insight-detail .insight-article-bar {
  padding-top: calc(5.5rem + env(safe-area-inset-top, 0px));
  padding-bottom: 0.35rem;
  background: var(--insight-cream);
}

body.is-insight-detail .insight-article-bar .container-large {
  display: flex;
  justify-content: center;
}

body.is-insight-detail .insight-back {
  display: inline-flex;
  align-items: center;
  width: min(100%, 680px);
  font-family: var(--_fonts---font-family-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  color: var(--insight-quiet);
  border-bottom: 1px solid transparent;
  transition: color 0.25s ease, border-color 0.25s ease;
}

body.is-insight-detail .insight-back:hover {
  color: var(--insight-ink);
  border-bottom-color: var(--insight-ink);
}

body.is-insight-detail .insight-article-section {
  padding-top: 0.5rem;
  padding-bottom: clamp(3rem, 7vw, 5.5rem);
  background: var(--insight-cream);
}

body.is-insight-detail .insight-article {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

body.is-insight-detail .insight-article__main {
  width: min(100%, 680px);
  max-width: 680px;
  margin: 0 auto;
}

body.is-insight-detail .insight-article__title {
  margin: 0;
  font-family: var(--_fonts---font-family-primary);
  font-size: clamp(2.15rem, 4.2vw, 3.25rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.03em;
  color: var(--insight-ink) !important;
  text-wrap: balance;
  opacity: 1 !important;
  visibility: visible !important;
}

body.is-insight-detail .insight-article__dek {
  margin: 0.9rem 0 0;
  font-family: var(--_fonts---font-family-primary);
  font-size: clamp(1.15rem, 1.8vw, 1.35rem);
  font-weight: 400;
  font-style: italic;
  line-height: 1.4;
  letter-spacing: -0.01em;
  color: var(--insight-quiet) !important;
  text-wrap: balance;
}

body.is-insight-detail .insight-article__dek[hidden],
body.is-insight-detail .insight-article__dek.is-hidden {
  display: none !important;
}

body.is-insight-detail .insight-byline {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--insight-rule);
}

body.is-insight-detail .blog-post_author {
  position: static !important;
  inset: auto !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  display: inline-flex !important;
  flex-flow: row;
  justify-content: flex-start;
  align-items: center;
  gap: 0.85rem;
  padding: 0;
  border: none;
  max-width: 100%;
  color: var(--insight-ink) !important;
}

body.is-insight-detail .blog-post_author-image {
  width: 2.75rem;
  height: 2.75rem;
  object-fit: cover;
  flex: none;
  border-radius: 50%;
  border: 1px solid var(--insight-rule);
}

body.is-insight-detail .insight-byline__meta {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

body.is-insight-detail .insight-byline__name {
  font-family: var(--_fonts---font-family-primary);
  font-size: 0.98rem;
  font-weight: 600;
  line-height: 1.25;
  color: var(--insight-ink) !important;
}

body.is-insight-detail .insight-byline__date {
  font-family: var(--_fonts---font-family-secondary);
  font-size: 0.7rem;
  line-height: 1.2;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--insight-quiet) !important;
}

body.is-insight-detail .insight-byline__date:empty {
  display: none;
}

body.is-insight-detail .insight-article__cover {
  margin: 0 0 2.25rem;
  overflow: hidden;
}

body.is-insight-detail .insight-article__cover[hidden] {
  display: none !important;
}

body.is-insight-detail .insight-article__cover img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: rgba(2, 42, 34, 0.04);
}

/* Reading typography — denser than the site’s default rich-text rhythm */
body.is-insight-detail .insight-article__body {
  color: var(--insight-body);
  font-family: var(--_fonts---font-family-primary);
  font-size: 1.25rem;
  line-height: 1.78;
}

body.is-insight-detail .insight-article__body > *:first-child {
  margin-top: 0;
}

body.is-insight-detail .insight-article__body p {
  margin: 0 0 1.5rem;
  font-size: 1.25rem;
  line-height: 1.78;
  color: var(--insight-body);
}

body.is-insight-detail .insight-article__body h2,
body.is-insight-detail .insight-article__body h3,
body.is-insight-detail .insight-article__body h4 {
  color: var(--insight-ink);
  font-family: var(--_fonts---font-family-primary);
  font-weight: 700;
  letter-spacing: -0.02em;
  text-transform: none;
  text-wrap: balance;
}

body.is-insight-detail .insight-article__body h2 {
  margin: 2.75rem 0 1rem;
  font-size: clamp(1.55rem, 2.4vw, 1.9rem);
  line-height: 1.2;
}

body.is-insight-detail .insight-article__body h3 {
  margin: 2.25rem 0 0.85rem;
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  line-height: 1.25;
}

body.is-insight-detail .insight-article__body h4 {
  margin: 1.75rem 0 0.7rem;
  font-size: 1.15rem;
}

body.is-insight-detail .insight-article__body ul,
body.is-insight-detail .insight-article__body ol {
  margin: 0 0 1.45rem;
  padding-left: 1.35rem;
}

body.is-insight-detail .insight-article__body li {
  margin: 0.4rem 0;
  line-height: 1.7;
}

body.is-insight-detail .insight-article__body li + li {
  margin-top: 0.55rem;
}

body.is-insight-detail .insight-article__body a {
  color: var(--insight-ink);
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

body.is-insight-detail .insight-article__body blockquote {
  margin: 1.75rem 0;
  padding: 0.15rem 0 0.15rem 1.15rem;
  border-left: 3px solid var(--base-color-brand--secondary, #0a8352);
  font-style: italic;
  color: var(--insight-ink);
}

body.is-insight-detail .insight-article__body blockquote p {
  margin: 0.4rem 0;
}

body.is-insight-detail .insight-article__body figure {
  margin: 2rem 0;
}

body.is-insight-detail .insight-article__body figure img,
body.is-insight-detail .insight-article__body img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

body.is-insight-detail .insight-article__body figcaption {
  margin-top: 0.55rem;
  padding-left: 0;
  border-left: none;
  font-family: var(--_fonts---font-family-secondary);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  color: var(--insight-quiet);
}

body.is-insight-detail .insight-article__aside {
  position: static;
  top: auto;
  width: min(100%, 680px);
  max-width: 680px;
  margin: 2.75rem auto 0;
  padding: 1.75rem 0 0;
  border: none;
  border-top: 1px solid var(--insight-rule);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.5rem 2rem;
}

body.is-insight-detail .insight-article__aside > .padding-horizontal {
  padding-left: 0;
  padding-right: 0;
}

body.is-insight-detail .insight-article__aside > .divider {
  display: none;
}

body.is-insight-detail .insight-article__aside .heading-style-h6 {
  color: var(--insight-ink);
}

body.is-insight-detail .insight-article__aside .text-size-large {
  font-size: 0.95rem;
  line-height: 1.45;
  color: var(--insight-body);
}

@media screen and (max-width: 767px) {
  body.is-insight-detail .insight-article__aside {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media screen and (max-width: 767px) {
  body.is-insight-detail .blog-post_author {
    display: inline-flex;
    padding: 0;
  }

  body.is-insight-detail .insight-article__body,
  body.is-insight-detail .insight-article__body p {
    font-size: 1.125rem;
  }
}

/* Footer sits on the black video field. The article page forces dark green ink
   for the cream reading column; without this reset, `body * { color: inherit }`
   paints that green onto the footer and kills contrast. Restore beige. */
body.is-insight-detail .footer_component {
  color: var(--base-color-brand--white, #fbf7f0) !important;
}

body.is-insight-detail .footer_component a,
body.is-insight-detail .footer_component .heading-style-h6,
body.is-insight-detail .footer_component .heading_cta,
body.is-insight-detail .footer_component .text-size-large,
body.is-insight-detail .footer_component .text-size-tiny,
body.is-insight-detail .footer_component .footer_link,
body.is-insight-detail .footer_component .footer_legal-link,
body.is-insight-detail .footer_component .footer_credit-text {
  color: inherit;
}

/* Email field stays dark-on-white. Solid white CTAs need dark labels;
   outline / primary buttons keep beige/white type. */
body.is-insight-detail .footer_component .form_input,
body.is-insight-detail .footer_component .w-input {
  color: var(--base-color-brand--black, #0d0d0d) !important;
}

body.is-insight-detail .footer_component .button:where(.w-variant-57f197a0-45c3-ae4c-73bb-1d31da6e75ae),
body.is-insight-detail .footer_component .button:where(.w-variant-44fdf1f2-2883-4cf9-8e90-95794d568c86) {
  color: var(--base-color-brand--black, #0d0d0d) !important;
}
