/* Our People page. Scoped to .page-our-people.
   Desktop geometry is the 1440 frame 4677:25551. Below 1440 is DERIVED. */

.page-our-people {
  background: #ededed;
}

.page-our-people main {
  display: block;
  margin: 0;
}

.people-banner {
  position: relative;
  background: #ededed;
  overflow: hidden;
}

.people-banner-photo {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #d8d8d8;
}

.people-banner-photo img {
  position: absolute;
  left: 0;
  top: -18%;
  width: 100%;
  height: 140%;
  max-width: none;
  object-fit: cover;
}

.people-banner-panel {
  position: relative;
  background: #ededed;
  min-height: 148px;
}

.people-banner h1,
.people-h {
  margin: 0;
  color: #333;
  font-weight: 600;
  letter-spacing: 0;
  text-wrap: nowrap;
}

.people-banner h1 {
  padding: 28px 20px 8px;
  font-size: 32px;
  line-height: 40px;
}

.people-crumb {
  margin: 0;
  padding: 0 20px 24px;
  color: #333;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

.people-crumb a {
  color: #333;
  text-decoration: none;
}

.people-h {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 28px 20px 12px;
  font-size: 32px;
  line-height: 40px;
}

.people-h .mark,
.people-sub .mark {
  display: block;
  flex: none;
  background: #ed1b2e;
  -webkit-mask: url("../assets/icons/triangle-small-5155-39350.svg") center / contain no-repeat;
  mask: url("../assets/icons/triangle-small-5155-39350.svg") center / contain no-repeat;
}

.people-h .mark { width: 16px; height: 14px; }
.people-sub .mark { width: 14px; height: 14px; }

.people-gov,
.people-org { position: relative; }

.people-gov { background: #fff; }

.people-sub {
  display: flex;
  align-items: center;
  width: calc(100% - 40px);
  max-width: 270px;
  height: 56px;
  margin: 0 20px 8px;
  padding: 8px;
  box-sizing: border-box;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 4px;
}

.people-sub button {
  border: 0;
  background: transparent;
  color: #333;
  font-family: inherit;
  font-size: 16px;
  line-height: 26px;
  font-weight: 500;
  height: 40px;
  padding: 0 10px;
}

.people-sub .is-on {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: 134px;
  flex: none;
  background: #ededed;
  color: #ed1b2e;
}

.people-sub .is-rest {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.people-card {
  display: flex;
  flex-direction: column;
  width: calc(100% - 40px);
  margin: 16px 20px;
  background: #ededed;
}

.people-photo {
  position: relative;
  overflow: hidden;
  flex: none;
  width: 100%;
  height: 240px;
  background: #e6e6e6;
}

.people-photo.is-missing {
  background: #e6e6e6;
}

.people-photo img {
  position: absolute;
  max-width: none;
}

.people-photo.crop-man img {
  width: 166.6667%;
  height: 166.6667%;
  left: -34.1667%;
  top: -15.8333%;
}

.people-photo.crop-lixiu img {
  width: 129.8701%;
  height: 129.8701%;
  left: -14.2857%;
  top: -9.7403%;
}

.people-photo.crop-lizi img {
  width: 201.39084776%;
  height: 176.04094397%;
  left: -48.24332051%;
  top: -21.83907901%;
}

.people-photo.crop-woman img {
  width: 255.36777616%;
  height: 123.56907862%;
  left: 0;
  top: 0;
}

.people-panel {
  position: relative;
  flex: 1;
  min-height: 160px;
  padding: 16px 20px 56px;
  background: #ededed;
}

.people-panel .bar {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8px;
  background: #ed1b2e;
}

.people-card h3 {
  margin: 0;
  color: #333;
  font-size: 32px;
  line-height: 44px;
  font-weight: 500;
}

.people-card .role {
  margin: 8px 0 0;
  color: #333;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

.people-more {
  position: absolute;
  right: 20px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  border: 0;
  background: transparent;
  padding: 0 16px 0 0;
  color: #ed1b2e;
  font-family: inherit;
  font-size: 20px;
  line-height: 32px;
  font-weight: 500;
}

.people-more .arr {
  position: absolute;
  left: 95px;
  top: 10px;
  width: 8px;
  height: 14px;
  background: #ed1b2e;
  -webkit-mask: url("../assets/icons/arrow-5155-39354.svg") center / 8px 14px no-repeat;
  mask: url("../assets/icons/arrow-5155-39354.svg") center / 8px 14px no-repeat;
}

.people-org { background: #ededed; }

.org-fit {
  width: calc(100% - 40px);
  margin: 0 auto 32px;
  height: calc((100vw - 40px) * 600 / 1320);
  overflow: hidden;
  background: #fff;
}

.org-window {
  position: relative;
  width: 1320px;
  height: 600px;
  background: #fff;
  transform-origin: 0 0;
  transform: scale(calc((100vw - 40px) / 1320px));
}

.org-chart {
  display: block;
  width: 1320px;
  height: 600px;
}

.people-rule {
  height: 8px;
  background: #ed1b2e;
}

.people-dialog {
  width: min(848px, calc(100vw - 32px));
  max-width: min(848px, calc(100vw - 32px));
  height: auto;
  max-height: calc(100vh - 32px);
  overflow: auto;
  border: 0;
  padding: 0;
  background: #fff;
  color: #000;
}

.people-dialog-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 32px;
  height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
}

.people-dialog-close img {
  width: 32px;
  height: 32px;
  max-width: none;
}

.people-dialog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  padding: 56px 24px 28px;
}

.people-dialog-photo {
  width: min(336px, 100%);
  height: 336px;
  overflow: hidden;
  position: relative;
  background: #e6e6e6;
}

.people-dialog-photo img {
  position: absolute;
  max-width: none;
  width: 166.6667%;
  height: 166.6667%;
  left: -34.1667%;
  top: -15.8333%;
}

.people-dialog h2 {
  margin: 0 0 8px;
  color: #000;
  font-size: 40px;
  line-height: 50px;
  font-weight: 500;
}

.people-dialog .dialog-role {
  margin: 0 0 12px;
  color: #333;
  font-size: 20px;
  line-height: 32px;
  font-weight: 400;
}

.people-dialog .dialog-body {
  margin: 0 0 12px;
  color: #333;
  font-size: 16px;
  line-height: 26px;
  font-weight: 400;
}

@media (min-width: 1440px) {
  .people-banner {
    height: 400px;
  }

  .people-banner-photo {
    position: absolute;
    left: 400px;
    top: 0;
    width: 1040px;
    height: 400px;
  }

  .people-banner-photo img {
    left: 0;
    top: -146px;
    width: 1040px;
    height: 693px;
    object-fit: fill;
  }

  .people-banner-panel {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    width: 460px;
    height: 400px;
    min-height: 0;
    clip-path: polygon(0 0, 450px 0, 400px 400px, 0 400px);
  }

  .people-banner h1 {
    position: absolute;
    left: 40px;
    top: 32px;
    padding: 0;
    font-size: 48px;
    line-height: 54px;
  }

  .people-crumb {
    position: absolute;
    left: 41px;
    top: 342px;
    padding: 0;
  }

  .people-gov {
    height: 1412.25px;
    background: #fff;
  }

  .people-gov .people-h {
    position: absolute;
    left: 63px;
    top: 128px;
    padding: 0;
    gap: 18px;
    font-size: 48px;
    line-height: 54px;
  }

  .people-sub {
    position: absolute;
    left: 585px;
    top: 20px;
    width: 270px;
    margin: 0;
  }

  .people-card {
    position: absolute;
    flex-direction: row;
    width: 648px;
    height: 324px;
    margin: 0;
  }

  .people-card.card-1 { left: 64px; top: 230px; }
  .people-card.card-2 { left: 728px; top: 230px; }
  .people-card.card-3 { left: 64px; top: 602px; height: 326.25px; }
  .people-card.card-4 { left: 728px; top: 602px; }
  .people-card.card-5 { left: 64px; top: 976.25px; }
  .people-card.card-6 { left: 728px; top: 976.25px; }

  .people-photo {
    width: 324px;
    height: 100%;
  }

  .people-panel { padding: 16px 24px 40px; }
  .people-card.card-2 .people-panel { padding: 20px 25px 40px; }

  .people-more { right: 30px; bottom: 26px; }
  .people-card.card-2 .people-more { right: 31px; bottom: 30px; }

  .people-org { height: 902px; }

  .people-org .people-h {
    position: absolute;
    left: 59px;
    top: 89px;
    padding: 0;
    gap: 18px;
    font-size: 48px;
    line-height: 54px;
  }

  .org-fit {
    position: absolute;
    left: 60px;
    top: 190px;
    width: 1320px;
    height: 600px;
    margin: 0;
  }

  .org-window { transform: none; }

  .people-dialog {
    width: 848px;
    height: 538px;
    max-height: 538px;
    overflow: hidden;
  }

  .people-dialog-grid {
    grid-template-columns: 336px 1fr;
    align-items: center;
    height: 100%;
    padding: 48px 40px 40px 32px;
    gap: 28px;
  }

  .people-dialog-photo {
    width: 336px;
    height: 336px;
  }
}

/* Wider than the 1440 artboard: center the existing stages. Do not scale them. */
@media (min-width: 1441px) {
  .people-banner,
  .people-gov,
  .people-org,
  .people-rule,
  .site-footer {
    width: 1440px;
    margin-inline: auto;
  }
}
