/* 新版正文从横幅结束后 80px 开始，即距二级栏目底部 60px。 */
.page-content {
  margin-top: 80px;
}

/* 按 Figma 的 1680px 单列列表排列，140px 高的姓名块之间保留 40px。 */
.leadership-list {
  display: grid;
  gap: 40px;
  padding-bottom: 120px;
}

/* 三列分别放置姓名、职责和电话；内容增多时允许整行自然撑高。 */
.leadership-item {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: 140px;
  grid-template-columns: 260px minmax(0, 1fr) 357px;
  align-items: center;
}

/* 浅灰底比姓名块上下各缩进 20px，右下圆角直接复用 Figma 切图。 */
.leadership-item::before {
  position: absolute;
  inset: 20px 0;
  z-index: -1;
  background: url("../img/figma/leadership-261021-row-background.svg") center / 100% 100% no-repeat;
  content: "";
}

/* 姓名底图包含右上折角，文字在左侧 180px 蓝色区域内居中。 */
.leadership-identity {
  display: flex;
  width: 200px;
  min-height: 140px;
  margin-left: 40px;
  padding: 24px 20px 24px 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: stretch;
  background: url("../img/figma/leadership-261021-name-background.png") center / 100% 100% no-repeat;
  text-align: center;
}

.leadership-identity h2 {
  margin: 0;
  color: #ffffff;
  font-size: 24px;
  font-weight: 400;
  line-height: 29px;
}

.leadership-identity p {
  margin: 0;
  color: rgba(255, 255, 255, .5);
  font-size: 18px;
  line-height: 36px;
}

/* 职责图标保持居中，长职责按设计稿的 30px 行高完整换行。 */
.leadership-duty,
.leadership-phone {
  display: flex;
  min-width: 0;
  margin: 0;
  align-items: center;
  gap: 20px;
  font-size: 18px;
}

.leadership-duty {
  padding: 20px 40px 20px 0;
  line-height: 30px;
}

.leadership-duty span {
  min-width: 0;
  overflow-wrap: anywhere;
}

/* 两类图标均使用设计稿原图，防止字体图标在不同设备上产生差异。 */
.leadership-duty img,
.leadership-phone img {
  flex: 0 0 26px;
  width: 26px;
  height: 26px;
}

/* 电话列左侧为 40px 分隔线；原页没有电话的领导不生成这一栏。 */
.leadership-phone {
  min-height: 40px;
  padding-left: 40px;
  border-left: 1px solid #cccccc;
  line-height: 36px;
  white-space: nowrap;
}

/* 手机端沿用公共设备判断，内容卡片改为姓名、职责、电话依次纵向排列。 */
.is-mobile .page-content {
  margin-top: 32px;
}

.is-mobile .leadership-list {
  gap: 20px;
  padding-bottom: 40px;
}

.is-mobile .leadership-item {
  display: flex;
  min-height: 0;
  padding: 20px;
  flex-direction: column;
  align-items: stretch;
  gap: 20px;
  border: 1px solid #e9edf1;
  border-radius: 16px;
  background: #f5f5f5;
}

.is-mobile .leadership-item::before {
  display: none;
}

/* 窄屏不拉伸桌面折角，姓名标题使用同色圆角底并允许职务换行。 */
.is-mobile .leadership-identity {
  width: auto;
  min-height: 0;
  margin: 0;
  padding: 14px 16px;
  flex-direction: row;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 4px 16px;
  border-radius: 10px;
  background: #006093;
  text-align: left;
}

.is-mobile .leadership-identity h2 {
  font-size: 20px;
  line-height: 28px;
}

.is-mobile .leadership-identity p {
  font-size: 14px;
  line-height: 24px;
}

/* 手机端职责保留全部文字，取消电话竖线，避免窄屏内容互相挤压。 */
.is-mobile .leadership-duty,
.is-mobile .leadership-phone {
  padding: 0;
  gap: 12px;
  font-size: 15px;
  line-height: 26px;
}

.is-mobile .leadership-duty {
  align-items: flex-start;
}

.is-mobile .leadership-phone {
  min-height: 0;
  border: 0;
  white-space: normal;
  overflow-wrap: anywhere;
}

.is-mobile .leadership-duty img,
.is-mobile .leadership-phone img {
  flex-basis: 22px;
  width: 22px;
  height: 22px;
  margin-top: 2px;
}
