/* Shared static header for every SBS China Center page. */
.sbs-unified-header {
  position: relative;
  z-index: 200;
  min-height: 120px;
  background: #fff;
  border-bottom: 1px solid #e6e9ee;
  box-sizing: border-box;
}

.sbs-unified-header__inner {
  width: min(1200px, calc(100% - 64px));
  min-height: 120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 28px;
  box-sizing: border-box;
}

.sbs-unified-header__logo {
  display: block;
  flex: 0 0 210px;
  line-height: 0;
}

.sbs-unified-header__logo img {
  display: block;
  width: 210px;
  height: auto;
}

.sbs-unified-header__nav {
  flex: 1 1 auto;
  min-width: 0;
}

.sbs-unified-header__nav ul {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sbs-unified-header__nav a {
  display: block;
  padding: 12px 4px;
  color: #333;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.2;
  white-space: nowrap;
  text-decoration: none;
}

.sbs-unified-header__nav a:hover,
.sbs-unified-header__nav a:focus-visible {
  color: #1261c9;
}

.sbs-unified-header__apply {
  display: inline-flex;
  flex: 0 0 auto;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border-radius: 10px;
  background: #233357;
  color: #fff;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.sbs-unified-header__apply:hover,
.sbs-unified-header__apply:focus-visible {
  background: #10254f;
  color: #fff;
}

/* Keep the legacy template headers from rendering a second navigation. */
.page-header,
.page-head,
.kingster-header-wrap {
  display: none !important;
}

/* Faculty directory and profile pages use the original centered content width. */
.kingster-body-outer-wrapper,
.kingster-body-wrapper {
  width: 100%;
  max-width: 100%;
  margin: 0;
  box-sizing: border-box;
}

.kingster-page-title-wrap {
  width: 100%;
  min-height: 360px;
  background-position: center !important;
  background-size: cover !important;
}

.kingster-page-title-container,
.kingster-breadcrumbs-container,
.kingster-content-container,
body.page-template-default .gdlr-core-pbf-section-container,
body.single-personnel .gdlr-core-pbf-section-container {
  width: min(1200px, calc(100% - 64px)) !important;
  max-width: 1200px !important;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box;
}

body.page-template-default .gdlr-core-pbf-section-container {
  width: 100% !important;
  max-width: none !important;
}

.kingster-page-title-content,
.kingster-breadcrumbs-item,
.gdlr-core-item-pdlr {
  box-sizing: border-box;
}

body.page-template-default .kingster-sidebar-center {
  display: block;
  float: none;
  width: 100%;
}

body.page-template-default .gdlr-core-personnel-item {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 0;
  row-gap: 0;
  padding: 0 0 30px;
}

body.page-template-default .gdlr-core-personnel-list-column {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
  min-height: 125px;
  padding: 0 30px;
  text-align: center;
}

body.page-template-default .gdlr-core-personnel-list-content-wrap {
  padding-top: 0;
}

body.page-template-default .gdlr-core-personnel-list-title {
  min-height: 48px;
  margin: 0 0 14px;
  font-size: 16px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}

body.page-template-default .gdlr-core-personnel-list-button {
  display: inline-block;
  font-size: 14px;
  line-height: 1.5;
  white-space: nowrap;
}

body.page-template-default .gdlr-core-personnel-list-button::after {
  content: "\2192";
  margin-left: 14px;
}

body.single-personnel .kingster-page-wrapper {
  padding: 80px 0 100px;
}

body.single-personnel .gdlr-core-pbf-section-container {
  display: grid;
  grid-template-columns: minmax(280px, 480px) minmax(0, 1fr);
  align-items: center;
  gap: 64px;
}

body.single-personnel .gdlr-core-pbf-column {
  float: none;
  width: auto;
  min-width: 0;
}

body.single-personnel .gdlr-core-image-item,
body.single-personnel .gdlr-core-title-item,
body.single-personnel .gdlr-core-divider-item,
body.single-personnel .gdlr-core-text-box-item {
  padding-right: 0;
  padding-left: 0;
}

body.single-personnel .gdlr-core-image-item-wrap img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 640px;
  object-fit: contain;
}

body.single-personnel .gdlr-core-title-item-title {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

body.single-personnel .gdlr-core-text-box-item-content {
  font-size: 18px;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

body.single-personnel .gdlr-core-text-box-item-content p {
  margin: 0;
}

@media (max-width: 1199.98px) {
  body.page-template-default .gdlr-core-personnel-item {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .kingster-page-title-wrap {
    min-height: 220px;
  }

  .kingster-page-title-container,
  .kingster-breadcrumbs-container,
  .kingster-content-container,
  body.page-template-default .gdlr-core-pbf-section-container,
  body.single-personnel .gdlr-core-pbf-section-container {
    width: calc(100% - 32px) !important;
  }

  body.page-template-default .gdlr-core-personnel-item {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 48px 20px;
    padding: 48px 0 70px;
  }

  body.single-personnel .kingster-page-wrapper {
    padding: 48px 0 70px;
  }

  body.single-personnel .gdlr-core-pbf-section-container {
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  body.single-personnel .gdlr-core-image-item-wrap {
    max-width: 480px;
    margin: 0 auto;
  }

  body.single-personnel .gdlr-core-text-box-item-content {
    font-size: 16px;
  }
}

.page-footer__links {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 80px;
  width: 100%;
  min-height: 64px;
  margin: 0;
  padding: 20px max(32px, calc((100% - 1200px) / 2));
  border-top: 1px solid rgba(255, 255, 255, 0.32);
  background: transparent;
  color: #fff;
  box-sizing: border-box;
  font-size: 16px;
  line-height: 24px;
}

.page-footer .wrapper,
.page-footer__row1 .wrapper {
  width: min(1200px, calc(100% - 64px));
  max-width: 1200px !important;
  margin-right: auto;
  margin-left: auto;
}

.page-footer__links a {
  color: #fff;
  text-decoration: none;
}

.page-footer__links a:hover,
.page-footer__links a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 767.98px) {
  .page-footer__links {
    width: 100%;
    min-height: 56px;
    gap: 40px;
    padding: 16px;
    font-size: 15px;
  }

  .page-footer .wrapper,
  .page-footer__row1 .wrapper {
    width: calc(100% - 32px);
  }
}

@media (max-width: 1100px) {
  .sbs-unified-header__inner {
    width: min(100% - 32px, 960px);
    gap: 22px;
  }

  .sbs-unified-header__logo,
  .sbs-unified-header__logo img {
    flex-basis: 220px;
    width: 220px;
  }

  .sbs-unified-header__nav ul {
    gap: 8px;
  }

  .sbs-unified-header__nav a {
    font-size: 18px;
  }

  .sbs-unified-header__apply {
    min-height: 48px;
    padding: 0 16px;
    font-size: 18px;
  }
}

@media (max-width: 767.98px) {
  .sbs-unified-header,
  .sbs-unified-header__inner {
    min-height: 112px;
  }

  .sbs-unified-header__inner {
    width: calc(100% - 24px);
    display: grid;
    grid-template-columns: 150px 1fr;
    grid-template-rows: 70px 42px;
    gap: 0 10px;
  }

  .sbs-unified-header__logo,
  .sbs-unified-header__logo img {
    width: 150px;
  }

  .sbs-unified-header__nav {
    grid-column: 1 / -1;
    grid-row: 2;
    overflow-x: auto;
    scrollbar-width: none;
  }

  .sbs-unified-header__nav::-webkit-scrollbar {
    display: none;
  }

  .sbs-unified-header__nav ul {
    width: max-content;
    justify-content: flex-start;
    gap: 16px;
  }

  .sbs-unified-header__nav a {
    padding: 10px 0;
    font-size: 15px;
  }

  .sbs-unified-header__apply {
    justify-self: end;
    min-height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 15px;
  }
}
