.managed-rich-text {
  margin-top: 2rem;
  font-size: .9rem;
  line-height: 1.65;
}

.managed-rich-text :is(p, h2, h3, h4, h5, blockquote, ul, ol) {
  margin-top: 0;
  margin-bottom: 1.1rem;
}

body.blog-page .insight-article .managed-rich-text h2 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem) !important;
  line-height: 1.25 !important;
}

body.blog-page .insight-article .managed-rich-text h3 {
  font-size: clamp(1.12rem, 1.6vw, 1.32rem) !important;
  line-height: 1.28 !important;
}

body.blog-page .insight-article .managed-rich-text :is(h4, h5) {
  font-size: clamp(1rem, 1.4vw, 1.18rem) !important;
  line-height: 1.3 !important;
}

.managed-rich-text :is(p, li, blockquote) {
  white-space: pre-wrap;
}

.managed-rich-text :is(ul, ol) {
  padding-left: 1.5rem;
}

.managed-rich-text li + li {
  margin-top: .45rem;
}

.managed-rich-text blockquote {
  padding-left: 1rem;
  border-left: 3px solid #c8c8c3;
  font-style: italic;
}

.managed-rich-text a {
  text-decoration: underline;
  text-underline-offset: .15em;
}

.managed-rich-text .rich-size-small {
  font-size: .875em;
}

.managed-rich-text .rich-size-large {
  font-size: 1.25em;
}

.managed-rich-text .rich-size-huge {
  font-size: 1.5em;
}

.insight-detail-page .page-shell {
  width: calc(100% - 56px) !important;
  max-width: none !important;
  padding-right: 0 !important;
  padding-left: 0 !important;
}

.insight-detail-page .blog-page-shell {
  width: 100%;
  margin: 0 auto;
  padding: clamp(120px, 14vw, 170px) 0 72px;
}

.insight-detail-page .insight-article {
  width: 100%;
  margin: 0 auto;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.insight-detail-page .blog-page-shell {
  font-family: "Poppins", sans-serif !important;
  font-size: .9rem;
}

.insight-detail-page .blog-page-shell :is(p, li, a, span, small) {
  font-family: "Poppins", sans-serif !important;
}

.insight-detail-page .blog-page-shell :is(.insight-title, h5, strong, b, .insight-related-link) {
  font-family: "Inter", sans-serif !important;
}

.insight-detail-page .insight-article > .insight-title {
  margin: 10px 0 16px;
  font-family: "Inter", sans-serif;
  font-size: clamp(2rem, 5vw, 3.6rem) !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  letter-spacing: -.045em !important;
}

.insight-detail-page .insight-article > .section-kicker {
  font-size: .7rem !important;
}

.insight-detail-page .insight-article > .hero-lead {
  width: 100%;
  max-width: none;
  font-size: .95rem !important;
  line-height: 1.65 !important;
}

.insight-detail-page .managed-rich-text :is(p, li, blockquote) {
  font-size: .9rem !important;
  line-height: 1.65 !important;
}

.insight-detail-page .insight-cover-image {
  display: block;
  width: 100%;
  max-height: 560px;
  margin: 28px 0;
  border-radius: 8px;
  object-fit: cover;
}

.insight-detail-page .insight-author {
  margin: 14px 0 0;
  font-size: .9rem;
  font-weight: 600;
}

.insight-detail-page .insight-author a {
  color: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.insight-detail-page .insight-author a:hover,
.insight-detail-page .insight-author a:focus-visible {
  text-decoration-thickness: 2px;
}

.insight-detail-page .managed-rich-text {
  margin-top: 32px;
}

.insight-detail-page .insight-back {
  margin: 28px 0 0;
}

.insight-detail-page .insight-back-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 9px 14px;
  border: 1px solid #d7d7d7;
  border-radius: 999px;
  background: #f2f2f2;
  color: #000;
  font-family: "Inter", sans-serif !important;
  font-size: .78rem !important;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.insight-detail-page .insight-back-button img {
  display: block;
  width: 20px;
  height: 20px;
}

.insight-detail-page .insight-back-button:hover {
  border-color: #000;
  background: #e7e7e7;
  transform: translateX(-2px);
}

.insight-detail-page .insight-back-button:focus-visible {
  outline: 3px solid #3775a9;
  outline-offset: 3px;
}

.insight-detail-page .insight-related {
  margin-top: clamp(64px, 9vw, 104px);
}

.insight-detail-page .insight-related > h5 {
  margin-top: 8px;
  margin-bottom: 20px;
  font-size: clamp(1.15rem, 1.7vw, 1.4rem);
}

.insight-detail-page .insight-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.insight-detail-page .insight-related-card {
  display: flex;
  min-width: 0;
  min-height: 220px;
  padding: 20px;
  flex-direction: column;
  border: 1px solid #d7d7d7;
  border-radius: 20px;
  background: #f2f2f2;
  text-decoration: none;
  transition: transform 180ms ease, border-color 180ms ease;
}

.insight-detail-page .insight-related-card:hover,
.insight-detail-page .insight-related-card:focus-visible {
  border-color: #000;
  transform: translateY(-4px);
}

.insight-detail-page .insight-related-card:focus-visible {
  outline: 3px solid #3775a9;
  outline-offset: 3px;
}

.insight-detail-page .insight-related-meta {
  font-size: .68rem !important;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.insight-detail-page .insight-related-card h5 {
  margin: 14px 0 10px;
  font-size: 1rem !important;
  line-height: 1.3;
}

.insight-detail-page .insight-related-card p {
  margin: 0 0 20px;
  font-size: .84rem !important;
  line-height: 1.6;
}

.insight-detail-page .insight-related-link {
  margin-top: auto;
  font-size: .78rem !important;
  font-weight: 700;
}

.themh-footer.sitewide-footer.homepage-footer-match .social-link img {
  display: block !important;
  width: 20px !important;
  height: 20px !important;
}

@media (max-width: 820px) {
  .insight-detail-page .page-shell {
    width: calc(100% - 24px) !important;
  }

  .insight-detail-page .blog-page-shell {
    padding-top: 96px;
    padding-bottom: 48px;
  }

  .insight-detail-page .insight-article > .insight-title {
    font-size: clamp(2rem, 11vw, 3rem) !important;
    overflow-wrap: anywhere;
  }

  .insight-detail-page .insight-cover-image {
    margin-block: 22px;
  }

  .insight-detail-page .insight-related-grid {
    grid-template-columns: 1fr;
  }

  .insight-detail-page .insight-related-card {
    min-height: 0;
  }
}
