/* Scoped presentation for the existing Sudy introduction rich text. */
.cms-introduction {
  --intro-accent-text: #b7540b;
  position: relative;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid var(--rule);
  overflow: hidden;
}

/* 右下角橙色 wave 装饰 */
.cms-introduction::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;

  width: 660px;
  height: 330px;

  /* 奶杏橙 → 蜜橙 */
  background: linear-gradient(
    135deg,
    #FBE2C8 0%,
    #F6BE86 48%,
    #EA8D36 100%
  );

  /* 用 wave.svg 的形状裁剪 */
  -webkit-mask:
    url('../images/introduction/wave.svg')
    right bottom / 660px auto
    no-repeat;

  mask:
    url('../images/introduction/wave.svg')
    right bottom / 660px auto
    no-repeat;

  /* 保持透明、轻盈 */
  opacity: 0.30;

  pointer-events: none;
  z-index: 0;
}

.cms-introduction > * {
  position: relative;
  z-index: 1;
}

.cms-introduction .cms-profile {
  min-width: 0;
}

.cms-introduction .cms-profile > table {
  table-layout: fixed;
}

.cms-introduction #profile-heading {
  position: relative;
  margin: 0;
  padding: 0 52px 18px 20px;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
  color: var(--ink);
}

.cms-introduction #profile-heading::before {
  content: '';
  position: absolute;
  left: 0;
  top: .16em;
  width: 5px;
  height: 1em;
  background: var(--accent);
}

.cms-introduction #profile-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 20px;
  width: min(300px, 65%);
  height: 3px;
  background: linear-gradient(
    90deg,
    var(--accent) 0 64px,
    #f9e8d7 64px,
    transparent
  );
}

.cms-introduction .profile-article {
  top: 0;
  right: 0;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  color: var(--intro-accent-text);
  border-radius: 6px;
}

.cms-introduction .profile-article .icon {
  width: 27px;
  height: 27px;
}

.cms-introduction .profile-article:hover {
  background: #fff1e2;
}

.cms-introduction .profile-summary {
  max-height: 470px;
  overflow: auto;
  overscroll-behavior: contain;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: #d4b393 #fff8f0;
  margin: 18px 0 0;
  padding: 0 16px 2px 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.8;
}

.cms-introduction .profile-summary:focus-visible,
.cms-introduction a:focus-visible {
  outline: 2px solid var(--accent-soft);
  outline-offset: 3px;
}

.cms-introduction .profile-summary p {
  margin: 0 0 8px;
}

.cms-introduction .profile-summary table {
  max-width: 100%;
}

.cms-introduction .profile-summary img {
  max-width: 100%;
  height: auto;
}

.cms-introduction .profile-summary > ul {
  display: block;
}

.cms-introduction .profile-summary .intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.14fr);
  gap: 16px 20px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.cms-introduction .intro-leader {
  grid-column: 1;
  grid-row: 1;
}

.cms-introduction .intro-projects {
  grid-column: 2;
  grid-row: 1;
}

.cms-introduction .intro-team {
  grid-column: 1;
  grid-row: 2;
}

.cms-introduction .intro-awards {
  grid-column: 2;
  grid-row: 2;
}

.cms-introduction .intro-grid > .intro-section {
  min-width: 0;
  margin: 0;
  list-style: none;
  grid-column: auto;
}

.cms-introduction .intro-section p > span {
  font-size: inherit !important;
}

.cms-introduction .intro-section .intro-spacer {
  display: none;
}


/* =========================================================
   四个信息卡片
   ========================================================= */

.cms-introduction .intro-leader,
.cms-introduction .intro-team,
.cms-introduction .intro-projects,
.cms-introduction .intro-awards {
  position: relative;
  padding: 18px 18px 18px 76px;
  background: linear-gradient(115deg, #fff7ef, #fffaf7);
  border-radius: 8px;
  align-self: stretch;
}

.cms-introduction .intro-leader::before,
.cms-introduction .intro-team::before,
.cms-introduction .intro-projects::before,
.cms-introduction .intro-awards::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #ffead5 url('../images/introduction/projects.svg') center / 24px no-repeat;
}

.cms-introduction .intro-leader::before {
  background-image: url('../images/introduction/leader.svg');
}

.cms-introduction .intro-team::before {
  background-image: url('../images/introduction/team.svg');
}

.cms-introduction .intro-awards::before {
  background-image: url('../images/introduction/award.svg');
}

.cms-introduction .intro-projects {
  align-self: start;
}


/* =========================================================
   卡片标题
   ========================================================= */

.cms-introduction .intro-leader .intro-label,
.cms-introduction .intro-team .intro-label,
.cms-introduction .intro-projects > .intro-label,
.cms-introduction .intro-awards > .intro-label,
.cms-introduction .intro-people > .intro-label {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.4;
  font-weight: 700;
  color: var(--intro-accent-text);
}

.cms-introduction .intro-leader-copy,
.cms-introduction .intro-project-copy {
  font-size: 15px;
  line-height: 1.8;
  color: #55463b;
}


/* =========================================================
   荣誉奖励
   网页端：2列 × 2行
   ========================================================= */

.cms-introduction .intro-awards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 16px;
  row-gap: 8px;
}

/* “荣誉奖励：”标题独占第一行 */
.cms-introduction .intro-awards > .intro-label {
  grid-column: 1 / -1;
}

/* 每一项奖励 */
.cms-introduction .intro-award {
  position: relative;
  padding-left: 17px;
  margin: 0;
  font-size: 13.5px;
  line-height: 1.7;
  min-width: 0;
}

/* 奖项前面的橙色圆点 */
.cms-introduction .intro-award::before {
  content: '';
  position: absolute;
  left: 0;
  top: .7em;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--accent);
}


/* =========================================================
   人员区域
   ========================================================= */

.cms-introduction .intro-grid > .intro-people,
.cms-introduction .intro-grid > .intro-extra {
  grid-column: 1 / -1;
}

.cms-introduction .intro-people > .intro-label {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 2px 0 16px;
}

.cms-introduction .intro-people > .intro-label::before {
  content: '';
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  background: url('../images/introduction/team.svg') center / contain no-repeat;
}

.cms-introduction .intro-people > .intro-label::after {
  content: '';
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, #efc49c, transparent);
}

.cms-introduction .profile-summary .rencai {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 20px;
}

.cms-introduction .profile-summary .ren-li {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  min-width: 0;
  margin: 0;
  padding: 18px;
  border: 0;
  border-radius: 8px;
  background: #fff7ef;
  line-height: 1.65;
}

.cms-introduction .profile-summary .ren-img {
  flex: 0 0 84px;
  min-width: 0;
}

.cms-introduction .profile-summary .ren-img img {
  display: block;
  width: 84px;
  height: 112px;
  object-fit: contain;
  object-position: center top;
  border-radius: 4px;
}

.cms-introduction .profile-summary .ren-tt {
  min-width: 0;
}

.cms-introduction .profile-summary .ren-li h5,
.cms-introduction .profile-summary .ren-li h5 a,
.cms-introduction .profile-summary .ren-li h5 span {
  font-size: 18px;
  line-height: 1.4;
  color: var(--intro-accent-text) !important;
  text-decoration: none !important;
  font-weight: 700;
}

.cms-introduction .profile-summary .ren-li h5 {
  margin: 0 0 8px;
}

.cms-introduction .profile-summary .ren-tt em {
  display: block;
  font-size: 14px;
  font-style: normal;
  line-height: 1.8;
  color: #66564a;
}

.cms-introduction .profile-summary .ren-tt > p {
  font-size: 14px;
  line-height: 1.8;
  color: var(--intro-accent-text);
  margin: 8px 0 0;
}

.cms-introduction .profile-summary .ren-tt > .intro-qualifications {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 8px;
}

.cms-introduction .intro-badge {
  display: inline-block;
  max-width: 100%;
  padding: 3px 10px;
  border-radius: 10px;
  background: #fff0df;
  color: var(--intro-accent-text);
  line-height: 1.6;
  overflow-wrap: anywhere;
}

.cms-introduction .intro-badge-separator {
  display: none;
}

.cms-introduction .profile-summary .ren-li:focus-within {
  outline: 2px solid var(--accent-soft);
  outline-offset: -2px;
}

.cms-introduction .profile-summary .ren-li > a {
  border-radius: inherit;
}


/* =========================================================
   901px ~ 1100px
   ========================================================= */

@media (max-width: 1100px) and (min-width: 901px) {
  .cms-introduction {
    padding: 24px;
  }
}


/* =========================================================
   平板 / 窄屏
   ========================================================= */

@media (max-width: 900px) {
  .cms-introduction {
    padding: 20px;
    margin-bottom: 26px;
    background-size: 100% auto;
  }

  .cms-introduction #profile-heading {
    padding: 0 44px 16px 16px;
    font-size: 24px;
  }

  .cms-introduction #profile-heading::before {
    width: 4px;
  }

  .cms-introduction #profile-heading::after {
    left: 16px;
  }

  .cms-introduction .profile-summary {
    max-height: none;
    overflow: visible;
    overscroll-behavior: auto;
    scrollbar-gutter: auto;
    margin-top: 18px;
    padding: 0;
    font-size: 15px;
  }

  .cms-introduction .profile-summary .intro-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

.cms-introduction .intro-grid > .intro-section {
  grid-column: 1;
  grid-row: auto;
}

  .cms-introduction .profile-summary .rencai {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
  }
}


/* =========================================================
   手机端
   ========================================================= */

@media (max-width: 520px) {
  .cms-introduction {
    padding: 16px 14px;
  }

  .cms-introduction #profile-heading {
    font-size: 22px;
    padding-right: 30px;
  }

  .cms-introduction .profile-article {
    width: 36px;
    height: 36px;
    right: -5px;
    top: -2px;
  }

  .cms-introduction .profile-article .icon {
    width: 23px;
    height: 23px;
  }

  .cms-introduction .intro-leader,
  .cms-introduction .intro-team,
  .cms-introduction .intro-projects,
  .cms-introduction .intro-awards {
    padding: 16px;
  }

  .cms-introduction .intro-leader::before,
  .cms-introduction .intro-team::before,
  .cms-introduction .intro-projects::before,
  .cms-introduction .intro-awards::before {
    width: 34px;
    height: 34px;
    top: 12px;
    left: 14px;
    background-size: 21px;
  }

  .cms-introduction .intro-leader .intro-label,
  .cms-introduction .intro-team .intro-label,
  .cms-introduction .intro-projects > .intro-label,
  .cms-introduction .intro-awards > .intro-label {
    padding-left: 44px;
    font-size: 18px;
    margin-bottom: 14px;
  }

  .cms-introduction .intro-people > .intro-label {
    font-size: 18px;
    gap: 8px;
  }


  /* 手机端荣誉奖励恢复单列 */
  .cms-introduction .intro-awards {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 7px;
  }

  .cms-introduction .intro-awards > .intro-label {
    grid-column: 1;
  }

  .cms-introduction .intro-award {
    font-size: 14px;
  }


  .cms-introduction .profile-summary .ren-li {
    padding: 14px;
    gap: 12px;
  }

  .cms-introduction .profile-summary .ren-img {
    flex-basis: 64px;
  }

  .cms-introduction .profile-summary .ren-img img {
    width: 64px;
    height: 86px;
  }

  .cms-introduction .profile-summary .ren-li h5,
  .cms-introduction .profile-summary .ren-li h5 a,
  .cms-introduction .profile-summary .ren-li h5 span {
    font-size: 18px;
  }

  .cms-introduction .profile-summary .ren-tt em {
    font-size: 14px;
  }
}