/* =========================================================
   INSIGHTS SINGLE ARTICLE
========================================================= */
.cp-post-page {
  background: var(--navy-deep);
}

.cp-post-page .cp-topbar-nav a[aria-current="page"] {
  background: rgba(255,255,255,0.10);
  color: #ffffff;
}

.cp-post-hero {
  background:
    radial-gradient(circle at 82% 20%, rgba(80,106,211,0.24) 0%, transparent 30%),
    linear-gradient(180deg, #20234c 0%, #161938 100%);
  padding: 54px 28px 34px;
}

.cp-post-hero-inner {
  max-width: 860px;
}

.cp-post-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
}

.cp-post-back:hover {
  color: #ffffff;
}

.cp-post-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
  color: rgba(255,255,255,0.64);
  font-size: 0.92rem;
}

.cp-post-tag {
  color: var(--blue-md);
  font-weight: 600;
}

.cp-post-meta-sep {
  color: rgba(255,255,255,0.34);
}

.cp-post-hero h1 {
  max-width: 760px;
  font-size: clamp(2.4rem, 5.2vw, 4.5rem);
  line-height: 1.05;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 20px;
  text-wrap: balance;
}

.cp-post-excerpt {
  max-width: 760px;
  color: rgba(255,255,255,0.68);
  font-size: 1.08rem;
  line-height: 1.76;
  margin-bottom: 24px;
}

.cp-post-author {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
}

.cp-post-author-img,
.cp-post-author-fallback {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  flex-shrink: 0;
}

.cp-post-author-fallback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(80,106,211,0.28);
  color: #ffffff;
  font-weight: 700;
  font-size: 0.95rem;
}

.cp-post-author-copy {
  display: grid;
  gap: 2px;
}

.cp-post-author-name {
  color: #ffffff;
  font-size: 0.96rem;
  font-weight: 600;
}

.cp-post-author-role {
  color: rgba(255,255,255,0.56);
  font-size: 0.83rem;
}

.cp-post-media {
  background: #161938;
  padding: 0 28px 24px;
}

.cp-post-feature {
  margin: 0;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(255,255,255,0.04);
  box-shadow: 0 16px 40px rgba(0,0,0,0.16);
}

.cp-post-feature img {
  display: block;
  width: 100%;
  height: auto;
}

.cp-post-feature figcaption {
  padding: 14px 18px;
  color: rgba(255,255,255,0.5);
  font-size: 0.8rem;
  line-height: 1.6;
}

.cp-post-content-wrap {
  background: #ffffff;
  padding: 58px 28px 80px;
}

.cp-post-content {
  max-width: 860px;
  margin: 0 auto;
}

.cp-post-body {
  color: var(--body-text);
  font-size: 1.08rem;
  line-height: 1.86;
}

.cp-post-body > *:first-child {
  margin-top: 0;
}

.cp-post-body h2,
.cp-post-body h3,
.cp-post-body h4 {
  color: var(--navy);
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-top: 2.2em;
  margin-bottom: 0.7em;
}

.cp-post-body h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
}

.cp-post-body h3 {
  font-size: clamp(1.28rem, 2.2vw, 1.6rem);
}

.cp-post-body p,
.cp-post-body ul,
.cp-post-body ol,
.cp-post-body blockquote,
.cp-post-body pre,
.cp-post-body table,
.cp-post-body figure {
  margin: 0 0 1.25em;
}

.cp-post-body ul,
.cp-post-body ol {
  padding-left: 1.3em;
}

.cp-post-body li + li {
  margin-top: 0.45em;
}

.cp-post-body a {
  color: var(--blue);
  text-decoration: underline;
  text-underline-offset: 0.16em;
}

.cp-post-body blockquote {
  border-left: 3px solid var(--blue);
  margin-left: 0;
  padding: 0.2em 0 0.2em 1.1em;
  color: var(--navy);
  font-weight: 500;
}

.cp-post-body img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: 18px;
}

.cp-post-body code {
  background: rgba(32,35,76,0.06);
  border-radius: 6px;
  padding: 0.15em 0.38em;
  font-size: 0.9em;
}

.cp-post-body pre {
  overflow-x: auto;
  padding: 18px;
  border-radius: 18px;
  background: #0f1430;
  color: #eef2ff;
}

.cp-post-body pre code {
  background: transparent;
  padding: 0;
}

.cp-post-taxonomy {
  margin-top: 42px;
  padding-top: 24px;
  border-top: 1px solid rgba(32,35,76,0.08);
}

.cp-post-tax-label {
  display: block;
  margin-bottom: 12px;
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
}

.cp-post-tax-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.cp-post-tax-chip {
  display: inline-flex;
  align-items: center;
  padding: 8px 14px;
  border-radius: 999px;
  background: var(--off-white);
  border: 1px solid rgba(43,47,107,0.08);
  color: var(--navy);
  font-size: 0.84rem;
  font-weight: 600;
}

.cp-post-related {
  background: var(--off-white);
  padding: 84px 28px;
}

.cp-post-related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cp-post-related .cp-ins-card {
  background: rgba(255,255,255,0.86);
  border: 1px solid rgba(43,47,107,0.08);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  overflow: hidden;
}

.cp-post-related .cp-ins-card-body {
  padding: 24px 22px 18px;
  display: grid;
  gap: 12px;
}

.cp-post-related .cp-ins-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted);
}

.cp-post-related .cp-ins-card-cat {
  color: var(--blue);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.cp-post-related .cp-ins-card h3 {
  font-size: 1.1rem;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.cp-post-related .cp-ins-card h3 a {
  color: var(--navy);
}

.cp-post-related .cp-ins-card p {
  color: var(--body-text);
  font-size: 0.92rem;
  line-height: 1.72;
}

.cp-post-related .cp-ins-card-foot {
  margin-top: auto;
  padding: 0 22px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.82rem;
  color: var(--muted);
}

.cp-ins-read {
  color: var(--blue);
  font-weight: 700;
}

.cp-post-cta {
  background: linear-gradient(180deg, #20234c 0%, #161938 100%);
  padding: 86px 28px;
}

.cp-post-cta-inner {
  max-width: 780px;
  margin: 0 auto;
  text-align: center;
}

.cp-post-cta-inner h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4.2vw, 3rem);
  line-height: 1.14;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
  text-wrap: balance;
}

.cp-post-cta-inner p {
  color: rgba(255,255,255,0.62);
  font-size: 1.02rem;
  line-height: 1.76;
  margin-bottom: 32px;
}

.cp-post-cta-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

@media (max-width: 980px) {
  .cp-post-related-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .cp-post-hero {
    padding-top: 36px;
  }

  .cp-post-cta-actions {
    flex-direction: column;
    align-items: center;
  }

  .cp-post-cta-actions .cp-btn {
    width: 100%;
    max-width: 320px;
    justify-content: center;
  }

  .cp-post-author {
    width: 100%;
    justify-content: flex-start;
  }
}

