.research-areas-container {
  --red: #ed1c24;
  --ink: #272727;
  --hero: #f0f0f0;
  --muted: #686868;
  --max: 1140px;
  position: relative;
  color: #000;
  background: #fff;
  font-family: "Roboto", "Noto Sans HK", "Microsoft JhengHei", sans-serif;
  font-size: 18px;
  line-height: 27px;
  font-weight: 400;
}

.research-areas-container,
.research-areas-container * {
  box-sizing: border-box;
}

.research-areas-container button {
  font-family: inherit;
}

.research-areas-container .page-kicker {
  max-width: var(--max);
  margin: 0 auto;
  padding: 18px 0 12px;
  font-family: JeanLuc, Roboto, sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 42px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink);
}

.research-areas-container .hero {
  position: relative;
  background: var(--hero);
  width: 100vw;
  left: 50%;
  transform: translateX(-50%);
}

.research-areas-container .hero-inner {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 582px;
  padding: 55px 0 0;
  display: grid;
  grid-template-columns: 421px minmax(0, 1fr);
  grid-template-rows: auto auto;
  column-gap: 59px;
  align-items: start;
}

.research-areas-container .orbit-stage {
  display: contents;
}

.research-areas-container .orbit-nav {
  display: none;
}

.research-areas-container .orbit-wrapper {
  grid-column: 1;
  grid-row: 1;
  position: relative;
  z-index: 2;
  width: 421px;
  height: 437px;
}

.research-areas-container .orbit-ring {
  position: absolute;
  left: 47px;
  top: 16px;
  width: 374px;
  height: 374px;
  border-radius: 50%;
  background: repeating-conic-gradient(
    #3c3c3c 0 1.84deg,
    transparent 1.84deg 3.68deg
  );
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
  mask: radial-gradient(farthest-side, transparent calc(100% - 1.5px), #000 calc(100% - 1px));
}

.research-areas-container .center-badge {
  position: absolute;
  left: 124px;
  top: 93px;
  width: 220px;
  height: 220px;
  z-index: 2;
  border: 1px solid #3c3c3c;
  border-radius: 50%;
  background: #fff;
}

.research-areas-container .center-badge span {
  position: absolute;
  inset: 28px 18px;
  display: grid;
  place-items: center;
  text-align: center;
  font-family: JeanLuc, Roboto, sans-serif;
  font-size: 32px;
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
  color: #3c3c3c;
}

.research-areas-container .orbit-wheel {
  position: absolute;
  left: 47px;
  top: 16px;
  width: 374px;
  height: 374px;
  transform-origin: center center;
}

.research-areas-container .node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120px;
  height: 120px;
  padding: 0;
  border: 1px solid #3c3c3c;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
}

.research-areas-container .node-scholarship { background: #feefbf; }
.research-areas-container .node-art         { background: #eebfc1; }
.research-areas-container .node-tech        { background: #bed1f7; }

.research-areas-container .node-label {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 99px;
  transform-origin: center center;
  font-family: JeanLuc, Roboto, sans-serif;
  font-size: 30px;
  font-weight: 400;
  line-height: 26px;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  text-wrap: balance;
  overflow-wrap: anywhere;
  color: #3c3c3c;
}

.research-areas-container .node:disabled {
  opacity: 1;
}

.research-areas-container .node.active {
  cursor: default;
}

.research-areas-container .node.active .node-label {
  visibility: hidden;
}

.research-areas-container .node-hover-backdrop {
  position: absolute;
  inset: 0;
  z-index: 6;
  display: none;
  background: rgba(200, 200, 200, 0.82);
  pointer-events: none;
}

.research-areas-container .node-hover-backdrop.is-open {
  display: block;
  -webkit-mask-image: radial-gradient(circle at var(--hole-x) var(--hole-y), transparent calc(var(--hole-r) + 1px), #000 calc(var(--hole-r) + 1px));
  mask-image: radial-gradient(circle at var(--hole-x) var(--hole-y), transparent calc(var(--hole-r) + 1px), #000 calc(var(--hole-r) + 1px));
}

.research-areas-container .node-hover-lines {
  position: absolute;
  inset: 0;
  z-index: 7;
  display: none;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}

.research-areas-container .node-hover-lines.is-open {
  display: block;
}

.research-areas-container .node-hover-tabs {
  position: absolute;
  z-index: 8;
  display: none;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
  margin: 0;
  padding-left: 36px;
  pointer-events: auto;
}

.research-areas-container .node-hover-tabs.is-open {
  display: flex;
}

.research-areas-container .node-hover-tab {
  display: block;
  padding: 4px 10px;
  border: 1px solid #3c3c3c;
  background: #fff;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  color: red;
  font-family: Roboto, "Noto Sans HK", sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: normal;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  white-space: nowrap;
  cursor: pointer;
}

.research-areas-container .node-hover-tab:hover {
  border-color: red;
  background: red;
  color: #fff;
}

.research-areas-container .connector {
  position: absolute;
  left: 346px;
  top: 50px;
  width: 124px;
  height: 58px;
  z-index: 5;
  pointer-events: none;
}

.research-areas-container .connector-dot {
  position: absolute;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #3c3c3c;
}

.research-areas-container .connector-dot--start {
  left: 0;
  top: 0;
}

.research-areas-container .connector-dot--end {
  left: 102px;
  top: 36px;
}

.research-areas-container .connector-line {
  position: absolute;
  left: 11px;
  top: 8.5px;
  width: 109.8px;
  height: 4px;
  background: #3c3c3c;
  transform-origin: 0 2px;
  transform: rotate(19.43deg) scaleX(var(--draw, 1));
}

.research-areas-container .explore-pillars {
  position: absolute;
  left: 133px;
  top: 456px;
  z-index: 4;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 2px 12px;
  border-radius: 4px;
  opacity: 0;
  font-family: Roboto, "Noto Sans HK", "Microsoft JhengHei", sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 27px;
  letter-spacing: 0;
  white-space: nowrap;
  color: #000;
  pointer-events: none;
}

.research-areas-container .explore-pillars-icon {
  display: block;
  width: 18px;
  height: 18px;
  flex: none;
}

.research-areas-container .hero-copy {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  flex-direction: column;
  min-height: 450px;
  padding-top: 37px;
}

.research-areas-container #title-wrapper {
  width: 100%;
}

.research-areas-container .research-areas-title {
  margin: 0;
  font-family: JeanLuc, Roboto, sans-serif;
  font-weight: 900;
  font-size: 120px;
  line-height: 0.86;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: var(--ink);
}

.research-areas-container .research-areas-sub-title {
  margin: 4px 0 0;
  font-family: JeanLuc, Roboto, sans-serif;
  font-weight: 700;
  font-size: 64px;
  line-height: 1;
  letter-spacing: 0;
  text-align: right;
  text-transform: uppercase;
  white-space: nowrap;
  color: red;
}

.research-areas-container #desc {
  margin: 28px 0 0;
  font-weight: 300;
  font-size: 18px;
  line-height: 27px;
  color: #000;
}

.research-areas-container #desc :is(p, h1, h2, h3) {
  margin: 0;
  font: inherit;
  color: inherit;
}

.research-areas-container .tabs {
  grid-column: 2;
  grid-row: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  min-width: 0;
  margin-top: 24px;
  border: 1px solid red;
  margin-bottom: 0;
}

.research-areas-container .tab {
  min-width: 0;
  min-height: 74px;
  padding: 8px 8px;
  border: 0;
  border-left: 1px solid red;
  background: var(--hero);
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  overflow-wrap: anywhere;
  cursor: pointer;
  font-family: JeanLuc, Roboto, sans-serif;
}

.research-areas-container .tab:first-child {
  border-left: 0;
}

.research-areas-container .tab.active {
  position: relative;
  z-index: 1;
  background: #fff;
  color: red;
}

.research-areas-container .tab.active::before,
.research-areas-container .tab.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: #fff;
  pointer-events: none;
}

.research-areas-container .tab.active::before {
  top: -2px;
}

.research-areas-container .tab.active::after {
  bottom: -2px;
}

.research-areas-container .tab.active:first-child {
  box-shadow: -2px 0 0 #fff;
}

.research-areas-container .tab.active:first-child::before,
.research-areas-container .tab.active:first-child::after {
  left: -1px;
}

.research-areas-container .tab.active:last-child {
  box-shadow: 2px 0 0 #fff;
}

.research-areas-container .tab.active:last-child::before,
.research-areas-container .tab.active:last-child::after {
  right: -1px;
}

.research-areas-container .detail {
  max-width: var(--max);
  margin: 0 auto;
  padding: 60px 0 80px;
}

.research-areas-container #sectionTitle {
  margin: 0 0 32px;
  font-family: JeanLuc, Roboto, sans-serif;
  font-size: 42px;
  font-weight: 400;
  line-height: 42px;
  letter-spacing: 0;
  text-transform: uppercase;
  color: var(--ink);
}

.research-areas-container .section-desc p {
  margin: 0 0 24px;
  font-size: 18px;
  font-weight: 400;
  line-height: 27px;
  color: #000;
}

.research-areas-container .section-desc p:last-child {
  margin-bottom: 0;
}

.research-areas-container .related-people-wrapper {
  margin-top: 60px;
}

.research-areas-container .related-people-wrapper .people-container .people-item .border {
  display: flex;
  border-top: 3px solid #ed1c24 !important;
  background: #f6f6f6;
  transition: 0.25s ease-in-out, box-shadow;
  min-height: 233px;
  border-bottom: 0px !important;
  border-left: 0px !important;
  border-right: 0px !important;
}

.research-areas-container .labs {
  margin-top: 60px;
}

.research-areas-container .labs:empty {
  margin-top: 0;
}

.research-areas-container .related-labs-wrapper > h2 {
  max-width: none;
  margin: 0 0 24px;
  padding: 0;
  font-family: JeanLuc, Roboto, sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  text-align: left;
  text-transform: uppercase;
  color: #000;
}

.research-areas-container .labs-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.research-areas-container .lab {
  margin: 0;
}

.research-areas-container .lab a {
  display: block;
  color: inherit;
  text-decoration: none;
}

.research-areas-container .lab-photo {
  display: block;
  width: 100%;
  height: 341px;
  object-fit: cover;
}

.research-areas-container .lab-name {
  margin: 0;
  padding: 24px 12px;
  font-size: 22px;
  font-weight: 700;
  line-height: 28px;
}

@media (max-width: 1100px) {
  .research-areas-container .page-kicker,
  .research-areas-container .hero-inner,
  .research-areas-container .detail {
    padding-left: 20px;
    padding-right: 20px;
  }

  .research-areas-container .hero-inner {
    grid-template-columns: 340px minmax(0, 1fr);
    column-gap: 24px;
    row-gap: 28px;
    min-height: 0;
    align-items: center;
  }

  .research-areas-container .orbit-wrapper {
    transform: scale(0.8);
    transform-origin: top center;
    margin: 0 -42px -87px;
  }

  .research-areas-container .hero-copy {
    width: 100%;
    min-height: 0;
    padding-top: 0;
  }

  .research-areas-container .research-areas-title {
    font-size: 64px;
  }

  .research-areas-container .research-areas-sub-title {
    font-size: 28px;
    text-align: left;
    white-space: normal;
  }

  .research-areas-container .tabs {
    grid-column: 1 / -1;
    grid-row: 2;
    width: 100%;
    margin-top: 8px;
  }

  .research-areas-container .connector-dot--end {
    left: 74.5px;
    top: 26.3px;
  }

  .research-areas-container .connector-line {
    width: 80.2px;
  }

  .research-areas-container .explore-pillars {
    display: none;
  }

  .research-areas-container .node-hover-tabs.is-open,
  .research-areas-container .node-hover-lines.is-open,
  .research-areas-container .node-hover-backdrop.is-open {
    display: none;
  }
}

@media (max-width: 720px) {
  .research-areas-container .page-kicker,
  .research-areas-container .hero-inner,
  .research-areas-container .detail {
    padding-left: 15px;
    padding-right: 15px;
  }

  .research-areas-container .page-kicker {
    font-size: clamp(26px, 7.8vw, 42px);
    line-height: 1;
    white-space: nowrap;
  }

  .research-areas-container .orbit-stage {
    display: block;
    position: relative;
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 383px;
  }

  .research-areas-container .hero-inner {
    width: 100%;
    grid-template-columns: minmax(0, 1fr);
    justify-items: stretch;
    row-gap: 0;
  }

  .research-areas-container .orbit-wrapper {
    position: absolute;
    left: 50%;
    top: 0;
    margin: 0 0 0 -210.5px;
    transform: scale(0.7487);
    transform-origin: top center;
  }

  .research-areas-container .center-badge span {
    font-size: 37px;
    line-height: 1.1;
  }

  .research-areas-container .node-label {
    max-width: 73px;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
  }

  .research-areas-container .connector {
    left: 222px;
    top: 378px;
    width: 24px;
    height: 118px;
  }

  .research-areas-container .connector-dot {
    width: 24px;
    height: 24px;
  }

  .research-areas-container .connector-dot--end {
    left: 0;
    top: 93.5px;
  }

  .research-areas-container .connector-line {
    left: 9.3px;
    top: 12px;
    width: 5.3px;
    height: 93.5px;
    transform-origin: 2.65px 0;
    transform: scaleY(var(--draw, 1));
  }

  .research-areas-container .orbit-nav {
    display: grid;
    place-items: center;
    position: absolute;
    top: 272px;
    z-index: 6;
    width: 40px;
    height: 40px;
    padding: 0;
    border: 1px solid red;
    border-radius: 50%;
    background: transparent;
    box-shadow: none;
    color: red;
    cursor: pointer;
  }

  .research-areas-container .orbit-nav--prev {
    left: 0;
  }

  .research-areas-container .orbit-nav--next {
    right: 0;
  }

  .research-areas-container .hero-copy {
    grid-column: 1;
    grid-row: 2;
    text-align: center;
  }

  .research-areas-container .research-areas-title {
    font-size: clamp(40px, 13.5vw, 68px);
    line-height: 1.1;
    letter-spacing: 0;
    text-align: center;
  }

  .research-areas-container .research-areas-sub-title {
    margin-top: 0;
    font-size: clamp(28px, 9.4vw, 36px);
    line-height: 1.1;
    text-align: center;
    white-space: nowrap;
  }

  .research-areas-container #desc {
    margin-top: 12px;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    text-align: center;
  }

  .research-areas-container .tabs {
    grid-column: 1;
    grid-row: 3;
    grid-template-columns: 1fr;
    margin-top: 40px;
  }

  .research-areas-container .tab {
    min-height: 0;
    padding: 12px 8px;
    border-left: 0;
    border-top: 1px solid red;
    font-size: 18px;
    line-height: normal;
  }

  .research-areas-container .tab:first-child {
    border-top: 0;
  }

  .research-areas-container .tab.active::before,
  .research-areas-container .tab.active::after {
    content: "";
    top: 0;
    bottom: 0;
    height: auto;
    width: 8px;
    background: var(--hero);
  }

  .research-areas-container .tab.active::before {
    left: -8px;
    right: auto;
  }

  .research-areas-container .tab.active::after {
    left: auto;
    right: -8px;
  }

  .research-areas-container .tab.active:first-child {
    box-shadow: 0 -4px 0 var(--hero);
  }

  .research-areas-container .tab.active:last-child {
    box-shadow: 0 4px 0 var(--hero);
  }

  .research-areas-container .tab.active:first-child:last-child {
    box-shadow: 0 -4px 0 var(--hero), 0 4px 0 var(--hero);
  }

  .research-areas-container .tab.active:first-child::before,
  .research-areas-container .tab.active:first-child::after,
  .research-areas-container .tab.active:last-child::before,
  .research-areas-container .tab.active:last-child::after {
    left: auto;
    right: auto;
  }

  .research-areas-container .tab.active:first-child::before,
  .research-areas-container .tab.active:last-child::before {
    left: -8px;
  }

  .research-areas-container .tab.active:first-child::after,
  .research-areas-container .tab.active:last-child::after {
    right: -8px;
  }

  .research-areas-container .labs-container {
    grid-template-columns: 1fr;
  }

  .research-areas-container #sectionTitle {
    overflow-wrap: anywhere;
  }
}
