:root {
  --brand: #3784ff;
  --brand-strong: #0260f8;
  --accent: #06e2ed;
  --ink: #242840;
  --muted: #667085;
  --line: #e5e9f0;
  --soft: #f6f8fb;
  --surface: #fff;
  --content: 1136px;
}

body[data-content-index],
body[data-content-article] {
  color: var(--ink);
  background: var(--surface);
  letter-spacing: 0;
}

.content-hero {
  position: relative;
  padding: 112px 0 62px;
  background: linear-gradient(180deg, #f3f7ff 0%, #fff 100%);
  border-bottom: 1px solid #edf0f5;
}

body[data-content-index] .content-hero .eyebrow,
body[data-content-index] .content-hero h1,
body[data-content-index] .content-hero__summary {
  color: #fff;
}

body[data-content-index] .content-hero .eyebrow {
  color: rgba(255, 255, 255, 0.9);
}

body[data-content-index] .content-categories {
  color: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.25);
}

body[data-content-index] .content-categories li {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
}

.content-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 64px;
}

.content-hero .eyebrow,
.content-section__label,
.article-kicker {
  margin: 0 0 12px;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0;
}

.content-hero h1 {
  max-width: 740px;
  margin: 0;
  font-family: "DingTalk JinBuTi", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 42px;
  line-height: 1.32;
  letter-spacing: 0;
}

.content-hero__summary {
  max-width: 650px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
}

.content-categories {
  display: flex;
  margin: 0;
  padding: 0 0 5px;
  gap: 24px;
  color: #596273;
  font-size: 13px;
  list-style: none;
  white-space: nowrap;
}

.content-categories li + li::before {
  margin-right: 24px;
  color: #c5cad3;
  content: "/";
}

body[data-role-page="academy"] .content-categories,
body[data-role-page="insights"] .content-categories {
  padding: 0;
  gap: 8px;
}

body[data-role-page="academy"] .content-categories li,
body[data-role-page="insights"] .content-categories li {
  padding: 7px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
}

body[data-role-page="academy"] .content-categories li {
  color: #365470;
  background: rgb(255 255 255 / 56%);
  border-color: rgb(2 96 248 / 20%);
}

body[data-role-page="insights"] .content-categories li {
  color: #c8e1ff;
  background: rgb(5 25 47 / 34%);
  border-color: rgb(145 189 255 / 40%);
}

body[data-role-page="academy"] .content-categories li + li::before,
body[data-role-page="insights"] .content-categories li + li::before {
  display: none;
}

.content-section {
  padding: var(--section-space) 0;
}

.content-section--soft {
  background: var(--soft);
}

.content-section__heading {
  display: flex;
  margin-bottom: var(--heading-content-gap);
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
}

.content-section__heading h2 {
  margin: 0;
  font-family: "DingTalk JinBuTi", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 30px;
  line-height: 1.4;
  letter-spacing: 0;
}

.content-section__heading > p:last-child {
  max-width: 720px;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.content-feature {
  display: grid;
  overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 30%);
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.content-feature:hover,
.content-feature:focus-visible,
.content-card:hover,
.content-card:focus-visible {
  border-color: #b9cdf1;
  box-shadow: 0 18px 42px rgb(34 63 105 / 10%);
  transform: translateY(-3px);
}

.content-feature__copy {
  display: flex;
  padding: var(--space-6);
  flex-direction: column;
  justify-content: center;
}

.content-tag {
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 700;
}

.content-feature h2 {
  max-width: 620px;
  margin: 10px 0 8px;
  font-family: "DingTalk JinBuTi", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 28px;
  line-height: 1.45;
  text-wrap: balance;
  letter-spacing: 0;
}

.content-feature p,
.content-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.content-feature__action,
.content-card__action {
  margin-top: 28px;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 600;
}

.content-feature__action {
  margin-top: 16px;
}

.content-feature__visual {
  position: relative;
  overflow: hidden;
  min-height: 0;
  margin: 16px 24px 16px 0;
  align-self: center;
  aspect-ratio: 16 / 9;
  background: #eaf2ff;
  border-radius: var(--radius-control);
}

.content-feature__visual::after {
  position: absolute;
  content: "";
}

.content-feature__visual img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.content-feature__visual--photo img {
  object-fit: cover;
}

.content-feature__visual--photo::after {
  display: none;
}

.content-feature__visual--insight::before {
  position: absolute;
  inset: 15% 12%;
  content: "";
  background: url("./assets/reference/talent-pool.png") center / contain no-repeat;
}

.content-feature__visual::after {
  right: 0;
  bottom: 0;
  width: 58%;
  height: 6px;
  background: var(--accent);
}

.content-feature__visual--policy {
  display: flex;
  padding: 42px;
  align-items: center;
  justify-content: center;
}

.policy-cover {
  display: flex;
  width: 100%;
  max-width: 340px;
  min-height: 280px;
  padding: 32px;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
  color: var(--brand-strong);
  background: var(--surface);
  border: 1px solid #d6e5ff;
  border-radius: var(--radius-card);
}

.policy-cover small,
.policy-cover > span {
  font-size: 13px;
  line-height: 1.6;
}

.policy-cover strong {
  font-family: "DingTalk JinBuTi", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 28px;
  line-height: 1.5;
}

.content-meta {
  display: flex;
  margin-top: 18px;
  flex-wrap: wrap;
  gap: 6px 18px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}

.content-meta time,
.article-meta time {
  font-variant-numeric: tabular-nums;
}

.article-source {
  margin-bottom: 36px;
  padding: 24px 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  font-size: 14px;
  overflow-wrap: anywhere;
}

.article-source .article-source__label {
  margin-bottom: 10px;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 700;
}

.article-source cite {
  display: block;
  color: var(--ink);
  font-style: normal;
  font-weight: 600;
  line-height: 1.8;
}

.article-source dl {
  margin: 18px 0;
}

.article-source dl > div {
  display: grid;
  grid-template-columns: 5em minmax(0, 1fr);
  margin-top: 8px;
  gap: 12px;
  line-height: 1.8;
}

.article-source dt {
  color: var(--muted);
}

.article-source dd {
  margin: 0;
}

.article-source > a {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--brand-strong);
  text-underline-offset: 4px;
}

.article-source .article-source__note {
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.8;
}

.policy-reference {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 32px;
  align-items: center;
}

.policy-reference h2 {
  margin: 0;
  font-family: "DingTalk JinBuTi", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 28px;
}

.policy-reference p:not(.content-section__label) {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.policy-reference > a {
  display: grid;
  padding: 28px;
  gap: 12px;
  color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-decoration: none;
  font-size: 14px;
  line-height: 1.8;
}

.policy-reference > a > span {
  color: var(--muted);
  font-size: 12px;
}

.policy-reference > a > span:last-child {
  color: var(--brand-strong);
}

.policy-reference > a:hover,
.policy-reference > a:focus-visible {
  border-color: var(--brand-strong);
}

.content-grid {
  display: grid;
  margin-top: 22px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--space-6);
}

.content-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.content-card {
  display: flex;
  min-height: 250px;
  padding: var(--card-padding);
  flex-direction: column;
  color: inherit;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
  text-decoration: none;
  transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.content-card h3 {
  margin: var(--space-4) 0 var(--space-2);
  font-size: 20px;
  line-height: 1.5;
  text-wrap: balance;
  letter-spacing: 0;
}

.content-card__action {
  margin-top: auto;
  padding-top: var(--space-4);
}

.article-header {
  padding: 64px 0 58px;
  background: #f7f9fc;
  border-bottom: 1px solid var(--line);
}

.article-header__inner,
.article-layout {
  max-width: 900px;
  margin-inline: auto;
}

.article-header h1 {
  max-width: 820px;
  margin: 0;
  font-family: "DingTalk JinBuTi", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 42px;
  line-height: 1.35;
  letter-spacing: 0;
}

.article-deck {
  max-width: 760px;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.85;
}

.article-meta {
  display: flex;
  margin-top: 28px;
  gap: 22px;
  color: #858c98;
  font-size: 12px;
}

.article-layout {
  padding: 64px 0 88px;
}

.article-body {
  max-width: 760px;
  margin-inline: auto;
  color: #343a46;
  font-size: 16px;
  line-height: 2;
}

.article-body > p:first-child {
  margin-top: 0;
  color: #4d5563;
  font-size: 18px;
  line-height: 1.9;
}

.article-body h2 {
  margin: 54px 0 18px;
  color: var(--ink);
  font-family: "DingTalk JinBuTi", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  font-size: 26px;
  line-height: 1.5;
  letter-spacing: 0;
}

.article-body h3 {
  margin: 34px 0 12px;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
}

.article-body p,
.article-body ul,
.article-body ol {
  margin: 0 0 22px;
}

.article-body li + li {
  margin-top: 8px;
}

.article-takeaway {
  margin: 36px 0;
  padding: 24px 26px;
  color: #263b59;
  background: #f0f6ff;
  border-left: 4px solid var(--brand-strong);
  border-radius: 0 var(--radius-card) var(--radius-card) 0;
  font-size: 16px;
  line-height: 1.85;
}

.article-example {
  margin: 30px 0;
  padding: 24px 26px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: var(--radius-card);
}

.article-example p:last-child {
  margin-bottom: 0;
}

.article-related {
  display: grid;
  align-items: center;
  max-width: 900px;
  margin: 0 auto 80px;
  padding-top: 38px;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: 30px;
  border-top: 1px solid var(--line);
}

.article-related h2 {
  margin: 0;
  font-size: 18px;
  text-align: center;
}

.article-related__links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.article-related a {
  display: block;
  padding: 20px;
  color: var(--ink);
  background: var(--soft);
  border-radius: var(--radius-card);
  font-size: 14px;
  line-height: 1.65;
  text-align: left;
  text-decoration: none;
}

.content-cta {
  margin-bottom: 84px;
}

.content-cta__inner {
  display: flex;
  padding: 34px 40px;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  color: var(--surface);
  background: var(--ink);
  border-radius: var(--radius-card);
}

.content-cta h2 {
  margin: 0 0 7px;
  font-size: 22px;
  letter-spacing: 0;
}

.content-cta p {
  margin: 0;
  color: rgb(255 255 255 / 68%);
  font-size: 13px;
}

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

  .content-feature {
    grid-template-columns: minmax(0, 1fr) 240px;
  }

  .content-feature__copy {
    padding: 20px 24px;
  }

  .content-categories {
    display: none;
  }

}

@media (max-width: 767px) {
  .content-hero {
    padding: 84px 0 42px;
  }

  .article-header {
    padding: 40px 0 42px;
  }

  .content-hero h1,
  .article-header h1 {
    font-size: 30px;
    line-height: 1.4;
  }

  .content-hero__summary,
  .article-deck {
    font-size: 14px;
  }

  .content-section {
    padding: var(--section-space) 0;
  }

  .content-section__heading {
    margin-bottom: var(--heading-content-gap);
  }

  .content-section__heading h2 {
    font-size: 25px;
  }

  .content-section__heading > p:last-child {
    margin-top: 0;
  }

  .content-feature {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .content-feature__visual {
    margin: 0;
    order: -1;
  }

  .content-feature__copy {
    padding: var(--space-4);
  }

  .content-feature h2 {
    margin-top: 14px;
    font-size: 24px;
  }

  .content-grid,
  .content-grid--three,
  .article-related,
  .article-related__links {
    grid-template-columns: 1fr;
  }

  .policy-reference {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .content-feature__visual--policy {
    padding: 28px;
  }

  .policy-cover {
    min-height: 230px;
    padding: 24px;
  }

  .policy-cover strong {
    font-size: 24px;
  }

  .article-source {
    padding: 22px 20px;
  }

  .content-card {
    min-height: 220px;
    padding: var(--card-padding);
  }

  .article-meta {
    flex-wrap: wrap;
    gap: 8px 18px;
  }

  .article-layout {
    padding: 46px 0 64px;
  }

  .article-body {
    font-size: 15px;
    line-height: 1.95;
  }

  .article-body > p:first-child {
    font-size: 16px;
  }

  .article-body h2 {
    margin-top: 42px;
    font-size: 23px;
  }

  .article-related {
    margin-bottom: 64px;
    gap: 20px;
  }

  .content-cta {
    margin-bottom: 64px;
  }

  .content-cta__inner {
    padding: 28px 24px;
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  .content-feature,
  .content-card {
    transition: none;
  }
}
