/* About IPA section pages: about-the-ipa, recognition, contact-us */

.max-w-4xl {
  max-width: 56rem;
}

body.cms-about-page #main {
  position: relative;
  z-index: 1;
}

/*
 * 延续 header blob：fixed + 加高，首屏不变，滚动时色晕多覆盖一段。
 * blob 在 header 内（site-header → blob-about），此处只覆盖 CMS 内页样式。
 */
body.cms-about-page header .blobBackground {
  position: fixed;
  top: 0;
  left: 50%;
  translate: -50%;
  width: 100vw;
  height: min(220vh, 2600px);
  z-index: -1;
  pointer-events: none;
}

body.cms-about-page header .blobBackground::before {
  background: linear-gradient(
    to top,
    #ffffff 0%,
    rgba(255, 255, 255, 0.75) 12%,
    rgba(255, 255, 255, 0.2) 28%,
    transparent 42%
  );
}

body.cms-about-page .footer-main {
  position: relative;
  z-index: 1;
}

.cms-page-content:empty {
  min-height: 12rem;
}

.about-section .about-rich-text h1 {
  color: inherit;
}

.about-rich-text p {
  margin: 0 0 1.25rem;
}

.about-rich-text p:last-child {
  margin-bottom: 0;
}

.about-rich-text ul {
  margin: 0 0 1.25rem 1.25rem;
  padding: 0;
}

/* 内容页正文：内页统一 18px（见 site-fonts.css --ipa-body-text-size） */
.cms-page-content,
.about-section .about-rich-text {
  font-size: var(--ipa-body-text-size, 1.125rem);
  line-height: var(--ipa-body-text-line-height, 1.75);
}

@media (min-width: 1024px) {
  .cms-page-content,
  .about-section .about-rich-text {
    font-size: var(--ipa-body-text-size, 1.125rem);
    line-height: var(--ipa-body-text-line-height, 1.75);
  }
}

.about-copy-block__item {
  padding: 0.5rem 0;
}

.about-copy-block__grid {
  align-items: start;
}

.about-copy-block__item .cta {
  display: inline-flex;
}

.about-copy-block__item .cta-content {
  text-align: center;
}

/* CMS 正文区块 */
.cms-body-block--highlight p {
  margin-bottom: 0;
}

.cms-highlight-html {
  line-height: 1.25;
  color: oklch(0.3152 0.1176 262.41);
}

.cms-body-block--highlight .cms-highlight-html :is(
    .text-gradient-purple-reverse,
    .text-gradient-pink,
    .text-gradient-orange,
    .text-gradient-pink-reverse
  ) {
  color: transparent;
}

.cms-rich-text__title {
  color: inherit;
}

/*
 * 内页第一板块大标题（非 tagline/小标题）：对齐治理页 h1 刻度
 * 范围：cms-content-page；排除首页（无此类）、文章页
 */
body.cms-content-page:not(.cms-news-article-page):not(.cms-events-cpd-article-page):not(.cms-video-article-page):not(.cms-leadership-bio-page)
  :is(
    .cms-governance-header__title.cms-section-title,
    .cms-basic-content__title.cms-section-title,
    .cms-page-content-section:not(:has(> .cms-governance-header)):not(.cms-basic-content-section)
      > .cms-body-block:first-child
      :is(.cms-rich-text__title, h1.cms-section-title, h2.cms-section-title, h3.cms-section-title),
    .cms-page-content-section:not(:has(> .cms-governance-header))
      > .cms-governance-module:first-child
      :is(h1.cms-section-title, h2.cms-section-title, h3.cms-section-title),
    .cms-page-content-section:not(:has(> .cms-governance-header))
      > .cms-governance-module:first-child
      .cms-left-right-layout
      [data-type="section-title"]
      h2.cms-section-title,
    .cms-page-content-section:not(:has(> .cms-governance-header))
      > .cms-governance-module:first-child
      .cms-tabbed-content--no-image
      [data-type="section-title"]
      h3.cms-section-title
  ) {
  font-family: var(--ipa-font-family) !important;
  font-size: var(--ipa-page-title-size) !important;
  line-height: 1.2 !important;
  font-weight: 700;
}

@media (min-width: 1024px) {
  body.cms-content-page:not(.cms-news-article-page):not(.cms-events-cpd-article-page):not(.cms-video-article-page):not(.cms-leadership-bio-page)
    :is(
      .cms-governance-header__title.cms-section-title,
      .cms-basic-content__title.cms-section-title,
      .cms-page-content-section:not(:has(> .cms-governance-header)):not(.cms-basic-content-section)
        > .cms-body-block:first-child
        :is(.cms-rich-text__title, h1.cms-section-title, h2.cms-section-title, h3.cms-section-title),
      .cms-page-content-section:not(:has(> .cms-governance-header))
        > .cms-governance-module:first-child
        :is(h1.cms-section-title, h2.cms-section-title, h3.cms-section-title),
      .cms-page-content-section:not(:has(> .cms-governance-header))
        > .cms-governance-module:first-child
        .cms-left-right-layout
        [data-type="section-title"]
        h2.cms-section-title,
      .cms-page-content-section:not(:has(> .cms-governance-header))
        > .cms-governance-module:first-child
        .cms-tabbed-content--no-image
        [data-type="section-title"]
        h3.cms-section-title
    ) {
    font-size: var(--ipa-page-title-size-lg) !important;
    line-height: 1.15 !important;
  }
}

body.cms-content-page:not(.cms-news-article-page):not(.cms-events-cpd-article-page):not(.cms-video-article-page):not(.cms-leadership-bio-page)
  :is(
    .cms-governance-header__title.cms-section-title,
    .cms-basic-content__title.cms-section-title,
    .cms-page-content-section:not(:has(> .cms-governance-header)):not(.cms-basic-content-section)
      > .cms-body-block:first-child
      :is(.cms-rich-text__title, h1.cms-section-title, h2.cms-section-title, h3.cms-section-title),
    .cms-page-content-section:not(:has(> .cms-governance-header))
      > .cms-governance-module:first-child
      :is(h1.cms-section-title, h2.cms-section-title, h3.cms-section-title),
    .cms-page-content-section:not(:has(> .cms-governance-header))
      > .cms-governance-module:first-child
      .cms-left-right-layout
      [data-type="section-title"]
      h2.cms-section-title,
    .cms-page-content-section:not(:has(> .cms-governance-header))
      > .cms-governance-module:first-child
      .cms-tabbed-content--no-image
      [data-type="section-title"]
      h3.cms-section-title
  )
  :is(span, strong, em) {
  font-size: inherit !important;
  line-height: inherit !important;
  font-weight: inherit;
}

.cms-rich-text__body p:last-child {
  margin-bottom: 0;
}

/* 基本正文页：标题居中、摘要最大 978px、正文全宽、区块统一间距 */
.cms-basic-content-section {
  --cms-basic-content-width: 978px;
  --cms-basic-content-gap: 100px;
}

.cms-basic-content__inner {
  display: flex;
  flex-direction: column;
  gap: var(--cms-basic-content-gap);
}

.cms-basic-content__header {
  width: 100%;
  max-width: var(--cms-basic-content-width);
  margin-inline: auto;
  text-align: center;
}

.cms-basic-content__title + .cms-basic-content__summary {
  margin-top: 1.5rem;
}

.cms-basic-content__summary {
  font-size: var(--ipa-body-text-size, 1.125rem);
  line-height: var(--ipa-body-text-line-height, 1.75);
}

.cms-basic-content__body {
  width: 100%;
  max-width: var(--cms-basic-content-width);
  margin-inline: auto;
}

.cms-basic-content__body--html > * + * {
  margin-top: var(--cms-basic-content-gap);
}

.cms-basic-content__body p:last-child {
  margin-bottom: 0;
}

.cms-basic-content__body--html img {
  max-width: 100%;
  height: auto;
}

/* CMS 正文页：区块间距统一由父级控制 */
.cms-body-block--html-body {
  --cms-body-block-content-width: 1200px;
}

.cms-body-block--narrow {
  --cms-body-block-content-width: 978px;
}

.cms-body-block--html-body .cms-basic-content__body,
.cms-body-block--html-body .about-rich-text:not(.cms-basic-content__body),
.cms-body-block--narrow .about-rich-text,
.cms-body-block--narrow .cms-body-block--rich-text {
  width: 100%;
  max-width: min(var(--cms-body-block-content-width), 100%);
  margin-inline: auto;
}

.cms-body-block--html-body .mb-8.max-w-5xl {
  max-width: min(var(--cms-body-block-content-width), 100%) !important;
}

/* HTML 源码区块：满屏 breakout（用于灰色通知带、视频等） */
.cms-html-full-bleed {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.cms-html-band {
  color: oklch(0.464 0 0);
}

.cms-html-band--gray {
  background-color: #cfd5e2;
}

.cms-html-band__inner {
  width: 100%;
}

.cms-html-band__content {
  width: 100%;
  max-width: min(978px, 100%);
  margin-inline: auto;
  text-align: center;
}

.cms-html-band__content .cms-page-content {
  text-align: center;
}

.cms-html-band__content .cms-page-content a {
  display: inline;
}

.cms-html-video-block__player {
  position: relative;
  width: 100%;
  max-width: 960px;
  margin-inline: auto;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: 8px;
  background: #0d2c6c;
  box-shadow: 0 8px 24px rgba(13, 44, 108, 0.12);
}

.cms-html-video-block__poster {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  cursor: pointer;
  background: transparent;
}

.cms-html-video-block__poster[hidden] {
  display: none !important;
}

.cms-html-video-block__poster img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cms-html-video-block__play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(13, 44, 108, 0.22);
  transition: background 0.2s ease;
  pointer-events: none;
}

.cms-html-video-block__poster:hover .cms-html-video-block__play,
.cms-html-video-block__poster:focus-visible .cms-html-video-block__play {
  background: rgba(13, 44, 108, 0.38);
}

.cms-html-video-block__play-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  color: #0d2c6c;
  font-size: 1.75rem;
  line-height: 1;
  padding-left: 0.2rem;
}

.cms-html-video-block__video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

.cms-html-video-block__video[hidden] {
  display: none !important;
}

.cms-page-content-section {
  --cms-block-gap: 100px;
  padding-bottom: 0;
}

.cms-page-content-footer-spacer {
  height: 50px;
  padding: 0;
  margin: 0;
  background: transparent;
}

.cms-page-content-section > .cms-body-block {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.cms-page-content-section:not(.cms-general-secondary-page):not(.cms-governance-page) > .cms-body-block + .cms-body-block {
  margin-top: var(--cms-block-gap);
}

.cms-body-block--tabs,
.cms-tabbed-content--no-image,
.cms-body-block--carousel,
.cms-body-block--media-split,
.cms-body-block--content-columns,
.cms-body-block--faq,
.cms-body-block--stats,
.cms-body-block--testimonials,
.cms-body-block--newsletter,
.cms-body-block--html-body,
.cms-body-block--card-list,
.cms-body-block--news-list,
.cms-body-block--narrow {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

/*
 * 选项卡：1280–1440px 时 Tailwind xl:mb-auto 会把标签栏下边距压成 0，
 * 与 [data-type="tab-content"] 贴在一起；恢复 mb-8 并取消内容区垂直居中。
 */
@media (min-width: 1280px) and (max-width: 1439.98px) {
  section[data-type="tabbedContent"] .flex.h-full.flex-col .flex.flex-wrap.gap-4.mt-8,
  section[data-type="tabbedContent"] .lg\:hidden .flex.flex-wrap.gap-4.mt-8 {
    margin-bottom: 2rem !important;
  }

  section[data-type="tabbedContent"] [data-type="tab-content"] {
    justify-content: flex-start !important;
  }
}

/* 三块布局（会员权益）：去掉 section 上下内边距，字号加大 */
.cms-body-block--stats-three > section {
  padding-top: 0;
  padding-bottom: 0;
}

/*
 * 三块：数字与说明各比首页加大四号（四块走首页字号，见 site-fonts.css）
 * 首页基准：数字 xl → 2xl → 3xl；说明 text-sm → lg:text-base
 */
.cms-body-block--stats-three [data-type="statsCards"] .stats-card__number {
  font-size: var(--ipa-display-3xl);
}

@media (min-width: 1024px) {
  .cms-body-block--stats-three [data-type="statsCards"] .stats-card__number {
    font-size: var(--ipa-display-4xl);
  }
}

@media (min-width: 1280px) {
  .cms-body-block--stats-three [data-type="statsCards"] .stats-card__number {
    font-size: calc(var(--ipa-display-4xl) * 1.25);
  }
}

.cms-body-block--stats-three [data-type="statsCards"] .stats-card > .text-warm-plum {
  font-size: 1.5rem;
}

@media (min-width: 1024px) {
  .cms-body-block--stats-three [data-type="statsCards"] .stats-card > .text-warm-plum {
    font-size: 1.875rem;
  }

  .cms-body-block--stats-three [data-type="statsCards"] .stats-card > .text-warm-plum > div.text-base {
    font-size: 2.25rem;
  }
}

/* 合作伙伴：数字统计卡片标题比默认 text-sm / lg:text-base 大两号 */
body.cms-page--partner-with-us [data-type="statsCards"] .stats-card > .text-warm-plum {
  font-size: 1.125rem;
}

@media (min-width: 1024px) {
  body.cms-page--partner-with-us [data-type="statsCards"] .stats-card > .text-warm-plum {
    font-size: 1.25rem;
  }
}

.cms-body-block--testimonials > section,
.cms-body-block--newsletter > section {
  padding-top: 0;
  padding-bottom: 0;
}

.cms-general-secondary-page .testimonial-carousel-section--plain {
  overflow: visible;
}

.cms-general-secondary-page .testimonial-carousel-section--plain .testimonial-carousel__halo {
  display: none;
}

.cms-general-secondary-page .testimonial-carousel-section--plain .testimonial-card__wrapper {
  background: transparent;
}

.pt-18 {
  padding-top: 4.5rem;
}

.cms-breadcrumb {
  margin-bottom: 0;
}

.cms-page-content-section--with-breadcrumb {
  padding-top: 30px;
}

.cms-page-content[data-rte="true"] a.cta,
.cms-page-content-section .cms-body-block--cta a.cta {
  text-decoration: none;
}

.cms-page-content[data-rte="true"] a.cta:hover,
.cms-page-content-section .cms-body-block--cta a.cta:hover {
  text-decoration: underline;
}

.about-cta__image {
  overflow: hidden;
  max-width: 100%;
}

.about-cta__image--rect,
.about-cta__image--rect-tall {
  background-color: oklch(0.9612 0 0);
}

.about-cta__image--rect,
.about-cta__image--rect-tall,
.about-cta__image--rect img,
.about-cta__image--rect-tall img {
  border-radius: 24px;
}

.about-cta__image--acorn {
  width: calc(100% - 6em);
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 1491.082 / 1572.087;
  background-color: transparent;
  max-width: 100%;
}

.about-cta--image-right .about-cta__image--acorn {
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 640px) {
  .about-cta__image--acorn {
    width: calc(100% - 14em);
  }
}

@media (min-width: 1024px) {
  .about-cta__image--acorn {
    width: 100%;
  }
}

.about-cta__image--acorn img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='1491.082'%20height='1572.087'%20viewBox='0%200%201491.082%201572.087'%3e%3cpath%20id='Path_1'%20data-name='Path%201'%20d='M451,836.506S325.98,690.471,253,369.851c-56.982-335.793-14.258-530.977,62.178-733.269s200.7-501.529,691.782-299.418S1729.517-179.524,1717.394-6.111c-5.95,137.609-97.739,256.04-204.18,391.795C1297.158,648.991,991.81,768.5,789.765,813.35,584.669,859.027,451,836.506,451,836.506Z'%20transform='translate(-226.764%20730.029)'/%3e%3c/svg%3e");
  mask: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='1491.082'%20height='1572.087'%20viewBox='0%200%201491.082%201572.087'%3e%3cpath%20id='Path_1'%20data-name='Path%201'%20d='M451,836.506S325.98,690.471,253,369.851c-56.982-335.793-14.258-530.977,62.178-733.269s200.7-501.529,691.782-299.418S1729.517-179.524,1717.394-6.111c-5.95,137.609-97.739,256.04-204.18,391.795C1297.158,648.991,991.81,768.5,789.765,813.35,584.669,859.027,451,836.506,451,836.506Z'%20transform='translate(-226.764%20730.029)'/%3e%3c/svg%3e");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.about-cta__image--rect {
  aspect-ratio: 4 / 3;
}

.about-cta__image--rect-tall {
  aspect-ratio: 3 / 4;
}

.about-cta__image--rect img,
.about-cta__image--rect-tall img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-page-hero .about-rich-text {
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

.about-tab-panel.hidden {
  display: none;
}

.about-tab-images img {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-mask: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='1491.082'%20height='1572.087'%20viewBox='0%200%201491.082%201572.087'%3e%3cpath%20id='Path_1'%20data-name='Path%201'%20d='M451,836.506S325.98,690.471,253,369.851c-56.982-335.793-14.258-530.977,62.178-733.269s200.7-501.529,691.782-299.418S1729.517-179.524,1717.394-6.111c-5.95,137.609-97.739,256.04-204.18,391.795C1297.158,648.991,991.81,768.5,789.765,813.35,584.669,859.027,451,836.506,451,836.506Z'%20transform='translate(-226.764%20730.029)'/%3e%3c/svg%3e");
  mask: url("data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='1491.082'%20height='1572.087'%20viewBox='0%200%201491.082%201572.087'%3e%3cpath%20id='Path_1'%20data-name='Path%201'%20d='M451,836.506S325.98,690.471,253,369.851c-56.982-335.793-14.258-530.977,62.178-733.269s200.7-501.529,691.782-299.418S1729.517-179.524,1717.394-6.111c-5.95,137.609-97.739,256.04-204.18,391.795C1297.158,648.991,991.81,768.5,789.765,813.35,584.669,859.027,451,836.506,451,836.506Z'%20transform='translate(-226.764%20730.029)'/%3e%3c/svg%3e");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

.about-tab-images img.is-active {
  display: block;
}

.cms-body-block--content-columns [data-rte="true"].cms-page-content p {
  margin-bottom: 1rem;
}

.cms-body-block--content-columns [data-rte="true"].cms-page-content p:last-child {
  margin-bottom: 0;
}

.cms-body-block--faq [data-rte="true"].cms-page-content p {
  margin-bottom: 0.75rem;
}

.cms-body-block--faq [data-rte="true"].cms-page-content p:last-child {
  margin-bottom: 0;
}

/* CMS 文字轮播：仅收紧卡片内文字上方留白 */
.testimonial-carousel--text-only .testimonial-card__wrapper {
  padding-top: 0.75em;
  padding-bottom: 2em;
  padding-inline: 1em;
}

.testimonial-carousel--text-only .testimonial-card__layout {
  grid-template-columns: 1fr;
}

.testimonial-carousel--text-only .testimonial-card__copy {
  width: 100%;
  max-width: 56rem;
  margin-inline: auto;
  justify-content: center;
  align-items: center;
  min-height: 0;
  text-align: center;
  gap: 0.75rem;
}

.testimonial-carousel--text-only .testimonial-card__name {
  white-space: pre-line;
}

@media (min-width: 1024px) {
  .testimonial-carousel--text-only .testimonial-card__copy {
    gap: 1rem;
  }
}

.testimonial-carousel--text-only .testimonial-card__figure--text-only {
  flex-shrink: 1;
  flex-basis: auto;
  width: 100%;
  padding-inline: 1em;
}

@media (min-width: 768px) {
  .testimonial-carousel--text-only .testimonial-card__wrapper {
    padding-top: 1em;
    padding-bottom: 2.5em;
    padding-inline: 2em;
  }

  .testimonial-carousel--text-only .testimonial-card__figure--text-only {
    padding-inline: 2em;
  }
}

@media (min-width: 1280px) {
  .testimonial-carousel--text-only .testimonial-card__wrapper {
    padding-top: 1.125em;
    padding-bottom: 3em;
    padding-inline: 4em;
  }

  .testimonial-carousel--text-only .testimonial-card__figure--text-only {
    max-width: calc(100% - 70px);
    padding-inline: 4em;
  }
}

/* 治理倡导页：背景与默认正文页一致（透明 + header blob） */
.cms-governance-page {
  --cms-governance-width: 978px;
  --cms-governance-gap: 100px;
}

/* 块间仅 margin-top；第一块不加；有页头时页头后第一块仍保留 100px */
.cms-governance-page > .cms-governance-module:first-child,
.cms-general-secondary-page > .cms-governance-module:first-child {
  margin-top: 0;
}

.cms-governance-page > .cms-governance-header ~ .cms-governance-module,
.cms-governance-page > .cms-governance-module ~ .cms-governance-module,
.cms-general-secondary-page > .cms-governance-header ~ .cms-governance-module,
.cms-general-secondary-page > .cms-governance-module ~ .cms-governance-module {
  margin-top: var(--cms-governance-gap);
}

/*
 * 单页板块：不叠加 section / inner 垂直 padding（块间只靠 margin-top）
 * 板块内部仍可用 gap-12 等控制元素间距
 */
.cms-page-content-section > .cms-governance-module {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.cms-page-content-section :is(
  .cms-governance-content-block,
  .cms-governance-bento,
  .cms-tabbed-content--no-image,
  .cms-left-right-layout
) {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.cms-page-content-section .cms-body-block--card-list > .inner.container,
.cms-page-content-section .cms-governance-card-list > .inner.container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* 新闻列表 A/B/默认：inner 保留 py-16，避免有背景时文字贴边（块间仍仅 100px margin） */
.cms-general-secondary-page {
  --cms-governance-width: 978px;
  --cms-governance-gap: 100px;
}

.cms-governance-header__inner {
  display: flex;
  flex-direction: column;
  gap: var(--cms-governance-gap);
}

.cms-governance-header__header {
  width: 100%;
  max-width: var(--cms-governance-width);
  margin-inline: auto;
  text-align: center;
}

.cms-tagline-before-title {
  margin-bottom: 0.5rem;
}

.cms-governance-header__title + .cms-governance-header__summary {
  margin-top: 1.5rem;
}

.cms-governance-header__tagline + .cms-governance-header__summary {
  margin-top: 1.5rem;
}

.cms-governance-header__summary + .cms-governance-header__actions,
.cms-governance-header__title + .cms-governance-header__actions,
.cms-governance-header__tagline + .cms-governance-header__actions {
  margin-top: 2rem;
}

.cms-governance-header__summary {
  font-size: 1.25rem;
  line-height: 1.75;
}

@media (min-width: 1024px) {
  .cms-governance-header__summary {
    font-size: 1.5rem;
    line-height: 1.65;
  }
}

.cms-governance-bento__card--plain {
  background-color: #192a66;
}

.cms-governance-bento__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  --cms-bento-gap: 1rem;
  --cms-bento-ratio: calc(365 / 469);
  container-type: inline-size;
}

.cms-governance-bento__cell {
  position: relative;
  min-height: 0;
}

.cms-governance-bento__cell .cms-governance-bento__card {
  min-height: 100%;
}

/* 参考站 aspect-[469/365]：宽约 432px 时高度 ≈ 336px，随容器宽度响应缩放 */
.cms-governance-bento__cell {
  aspect-ratio: 469 / 365;
}

@media (min-width: 1024px) {
  .cms-governance-bento__grid--five {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
  }

  .cms-governance-bento__cell--five-0,
  .cms-governance-bento__cell--five-1 {
    grid-column: span 3;
    aspect-ratio: auto;
    height: calc(((100cqw - (5 * var(--cms-bento-gap))) / 6 * 2 + var(--cms-bento-gap)) * var(--cms-bento-ratio));
  }

  .cms-governance-bento__cell--five-2,
  .cms-governance-bento__cell--five-3,
  .cms-governance-bento__cell--five-4 {
    grid-column: span 2;
    aspect-ratio: 469 / 365;
    height: auto;
  }

  .cms-governance-bento__grid--tall {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
  }

  .cms-governance-bento__cell--tall-0 {
    grid-column: 1;
    grid-row: span 2;
    aspect-ratio: auto;
    height: calc((((100cqw - (2 * var(--cms-bento-gap))) / 3) * var(--cms-bento-ratio) * 2) + var(--cms-bento-gap));
  }

  .cms-governance-bento__cell--tall-3 {
    grid-column: 3;
    grid-row: span 2;
    aspect-ratio: auto;
    height: calc((((100cqw - (2 * var(--cms-bento-gap))) / 3) * var(--cms-bento-ratio) * 2) + var(--cms-bento-gap));
  }

  .cms-governance-bento__cell--tall-1 {
    grid-column: 2;
    grid-row: 1;
    aspect-ratio: 469 / 365;
  }

  .cms-governance-bento__cell--tall-2 {
    grid-column: 2;
    grid-row: 2;
    aspect-ratio: 469 / 365;
  }

  .cms-governance-bento__grid--wide {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    grid-template-rows: repeat(2, auto);
  }

  .cms-governance-bento__cell--wide-0 {
    grid-column: span 4;
    aspect-ratio: auto;
    height: calc(((100cqw - (5 * var(--cms-bento-gap))) / 6 * 2 + var(--cms-bento-gap)) * var(--cms-bento-ratio));
  }

  .cms-governance-bento__cell--wide-1,
  .cms-governance-bento__cell--wide-2 {
    grid-column: span 2;
    aspect-ratio: 469 / 365;
  }

  .cms-governance-bento__cell--wide-3 {
    grid-column: span 4;
    aspect-ratio: auto;
    height: calc(((100cqw - (5 * var(--cms-bento-gap))) / 6 * 2 + var(--cms-bento-gap)) * var(--cms-bento-ratio));
  }
}

.cms-card-list-curated {
  --cms-card-list-width: 426px;
}

.cms-card-list-curated__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 2.5rem;
}

@media (min-width: 768px) {
  .cms-card-list-curated__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .cms-card-list-curated__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1440px) {
  .cms-card-list-curated__grid {
    grid-template-columns: repeat(3, var(--cms-card-list-width));
  }
}

.cms-news-list-curated {
  --cms-card-list-width: 426px;
}

.cms-news-list-curated--full-bleed {
  width: 100%;
  max-width: none;
  margin-left: 0;
  margin-right: 0;
}

.cms-news-list-curated__panel {
  width: 100%;
  max-width: 100%;
}

.cms-news-list-curated__panel--gray {
  background-color: var(--bg-color);
}

.cms-news-list-curated__inner {
  width: 100%;
}

.cms-news-list-curated__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem 2.5rem;
}

@media (min-width: 1024px) {
  .cms-news-list-curated__grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.cms-news-list-curated--general-secondary .cms-news-list-curated__grid {
  gap: 3rem 2.5rem;
}

@media (min-width: 768px) {
  .cms-news-list-curated--general-secondary .cms-news-list-curated__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.cms-news-list-icon-item {
  background-color: transparent;
}

/* 通用二级页新闻列表 B：卡片标题加粗（覆盖 font-medium） */
.cms-news-list-curated--general-secondary .cms-news-list-icon-item__title {
  font-weight: 700 !important;
}

.cms-news-list-icon-item__icon-image {
  display: block;
  max-width: 100%;
}

.cms-news-list-curated__item--hidden {
  display: none !important;
}

.cms-news-list-curated.is-expanded .cms-news-list-curated__actions {
  display: none !important;
}

.cms-news-list-curated__summary {
  color: oklch(0.464 0 0);
}

.cms-news-list-curated__intro {
  color: oklch(0.464 0 0);
}

/* 默认正文页新闻列表：卡片白底，链接卡片 hover 浅灰（覆盖内联 #F2F2F2） */
.cms-body-block--news-list .cms-news-list-curated__item.cms-card-list-curated__item {
  --bg-color: #fff;
  background-color: #fff !important;
}

.cms-body-block--news-list a.cms-news-list-curated__item.cms-card-list-curated__item:hover {
  --bg-color: oklch(0.9612 0 0);
  background-color: oklch(0.9612 0 0) !important;
}

/* 左右结构：小标题默认标题蓝；句内渐变 span 继承 cms-highlight 规则 */
.cms-left-right-layout__tagline {
  color: #0d2c6c;
  font-weight: 400;
}

.cms-left-right-layout__tagline :is(
    .text-gradient-purple-reverse,
    .text-gradient-pink,
    .text-gradient-orange,
    .text-gradient-pink-reverse
  ) {
  display: inline;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

/* 通用二级页左右结构：小标题比大标题再小两档（lg/xl → md/lg） */
.cms-general-secondary-page .cms-left-right-layout .cms-left-right-layout__tagline {
  font-size: var(--ipa-display-md) !important;
  line-height: 1.3 !important;
}

@media (min-width: 1024px) {
  .cms-general-secondary-page .cms-left-right-layout .cms-left-right-layout__tagline {
    font-size: var(--ipa-display-lg) !important;
  }
}

[data-type="basicContentWithColumns"].cms-left-right-layout [class*="lg:grid-cols-2"] [data-rte="true"] div:has(> img[width="24"][height="24"]) {
  position: relative;
  padding-left: 2.5rem;
}

[data-type="basicContentWithColumns"].cms-left-right-layout [class*="lg:grid-cols-2"] [data-rte="true"] div:has(> img[width="24"][height="24"]) img {
  position: absolute;
  top: 0;
  left: 0;
}

[data-type="basicContentWithColumns"].cms-left-right-layout [class*="lg:grid-cols-2"] [data-rte="true"] div:has(> img[width="24"][height="24"]):not(:first-child) {
  margin-top: 1.5rem;
}

.cms-tabbed-content--no-image .cms-tabbed-content__tab-list {
  margin-bottom: 3rem;
}

@media (min-width: 1024px) {
  .cms-tabbed-content--no-image .cms-tabbed-content__tab-list {
    margin-bottom: 4rem;
  }
}

.cms-tabbed-content--no-image .cms-tabbed-content__panel {
  width: 100%;
  max-width: none;
}

.cms-tabbed-content--no-image .cms-tabbed-content__panel .cms-governance-content-block__body img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  border-radius: 0.25rem;
  vertical-align: middle;
}

/*
 * Footnote card grid (HTML body blocks).
 * Supports 5-card (3+2) and 6-card (4+2) layouts; overrides inline <style> in page HTML.
 */
@media (min-width: 1025px) {
  body.cms-about-page .cms-footnote-card-section:has(.cms-footnote-card:nth-child(5):last-child) .cms-footnote-card-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  body.cms-about-page .cms-footnote-card-section:has(.cms-footnote-card:nth-child(5):last-child) .cms-footnote-card:nth-child(1) {
    grid-column: 1 / span 2;
  }

  body.cms-about-page .cms-footnote-card-section:has(.cms-footnote-card:nth-child(5):last-child) .cms-footnote-card:nth-child(2) {
    grid-column: 3 / span 2;
  }

  body.cms-about-page .cms-footnote-card-section:has(.cms-footnote-card:nth-child(5):last-child) .cms-footnote-card:nth-child(3) {
    grid-column: 5 / span 2;
  }

  body.cms-about-page .cms-footnote-card-section:has(.cms-footnote-card:nth-child(5):last-child) .cms-footnote-card:nth-child(4) {
    grid-column: 2 / span 2;
    margin-left: 0;
    transform: none;
  }

  body.cms-about-page .cms-footnote-card-section:has(.cms-footnote-card:nth-child(5):last-child) .cms-footnote-card:nth-child(5) {
    grid-column: 4 / span 2;
    margin-left: 0;
    transform: none;
  }

  body.cms-about-page .cms-footnote-card-section:has(.cms-footnote-card:nth-child(6):last-child) .cms-footnote-card-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  body.cms-about-page .cms-footnote-card-section:has(.cms-footnote-card:nth-child(6):last-child) .cms-footnote-card:nth-child(5) {
    grid-column: 2;
  }

  body.cms-about-page .cms-footnote-card-section:has(.cms-footnote-card:nth-child(6):last-child) .cms-footnote-card:nth-child(6) {
    grid-column: 3;
  }
}

@media (max-width: 1024px) {
  body.cms-about-page .cms-footnote-card-section:has(.cms-footnote-card:nth-child(5):last-child) .cms-footnote-card-grid,
  body.cms-about-page .cms-footnote-card-section:has(.cms-footnote-card:nth-child(6):last-child) .cms-footnote-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  body.cms-about-page .cms-footnote-card-section:has(.cms-footnote-card:nth-child(5):last-child) .cms-footnote-card:nth-child(n),
  body.cms-about-page .cms-footnote-card-section:has(.cms-footnote-card:nth-child(6):last-child) .cms-footnote-card:nth-child(n) {
    grid-column: auto;
    margin-left: 0;
    transform: none;
  }
}

@media (max-width: 640px) {
  body.cms-about-page .cms-footnote-card-section:has(.cms-footnote-card:nth-child(5):last-child) .cms-footnote-card-grid,
  body.cms-about-page .cms-footnote-card-section:has(.cms-footnote-card:nth-child(6):last-child) .cms-footnote-card-grid {
    grid-template-columns: 1fr;
  }
}
