.mtpc-well:not(.mtpc-1col-section):not(.mtpc-2col-section):not(.mtpc-3col-section):not(.mtpc-4col-section) {
    background-color: rgba(0, 0, 0, 0.7) !important;
    border: 0 !important;
}

.view-id-mtpc_albums {
    padding: 0px 15px;
}

div.mtpc-1col-item.mtpc-1col-item--1 table.tbl-line tbody tr td {
  border-bottom: 1px solid #000;
  border-top: 1px solid #ccc;
}

/* For 35a hkust logo */
body header .mtpc_header .header .wrapper .logos .logos_left .logo_one img{
 width:100%; 
}

/* by Creasant */

body .wcu-banner {
  position: relative;
  padding-top: 0;
  padding-bottom: 0;
}

body .wcu-banner .mtpc-block-image-block { position: relative; }

body .wcu-banner .mtpc-block-image-block img {
  display: block;
  width: 100%;
  object-fit: cover;
}

body .wcu-banner .mtpc-block-textarea-block {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 40px 4.62px;
}

body .wcu-banner .mtpc-textarea {
  width: 100%;
  max-width: 1280px;
}

body .region-highlighted .hkust-simple-text:has(> h1.wcu-banner-title) {
  position: relative;
}

body .region-highlighted .block-body:has(> .hkust-simple-text > h1.wcu-banner-title),
body .region-highlighted .hkust-simple-text:has(> h1.wcu-banner-title) > p {
  margin: 0;
}

body .region-highlighted .hkust-simple-text:has(> h1.wcu-banner-title) img {
  display: block;
  width: 100%;
  object-fit: cover;
}

body .region-highlighted .hkust-simple-text > h1.wcu-banner-title {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  padding: 0 40px 4.62px;
}

body h1.wcu-banner-title {
  margin: 0;
  font-stretch: 87.5%;
  font-weight: 400;
  font-size: 66px;
  line-height: 1.25;
  letter-spacing: 0.03em;
  color: var(--wcu-white);
  text-align: center;
}

body .wcu-theme,
body .wcu-theme--green {
  --wcu-theme: var(--wcu-green);
  --wcu-theme-ink: var(--wcu-ink);
}

body .wcu-theme--teal {
  --wcu-theme: var(--wcu-teal);
  --wcu-theme-ink: var(--wcu-white);
}

body .wcu-theme--orange {
  --wcu-theme: var(--wcu-orange);
  --wcu-theme-ink: var(--wcu-ink);
}

body .wcu-theme .mtpc-2col-section-wrapper {
  box-sizing: border-box;
  padding: 50px 0 0 50px;
}

body .wcu-theme .mtpc-2col-section-wrapper > .mtpc-2col-item--1 {
  position: relative;
}

body .wcu-theme .mtpc-2col-item--1 .mtpc-block-image-block {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

body .wcu-theme .mtpc-2col-item--1 .mtpc-block-image-block :is(.field, .field__item, article) {
  height: 100%;
}

body .wcu-theme .mtpc-2col-item--1 .mtpc-block-image-block img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
}

body .wcu-theme .mtpc-2col-item--1 .mtpc-block-image-block::before {
  content: "";
  position: absolute;
  top: -50px;
  left: -50px;
  width: 50px;
  height: 50px;
  border-radius: 12px;
  background-color: var(--wcu-theme);
}

body .wcu-theme .mtpc-2col-item--2 .mtpc-block-textarea-block {
  box-sizing: border-box;
  padding: 48px 60px 72px;
  border-radius: 12px;
  background-color: var(--wcu-theme);
}

body .wcu-theme h2 {
  display: flex;
  column-gap: calc(20px - 0.03em);
  margin: 0;
  font-size: 44px;
  line-height: 1.2;
  color: var(--wcu-white);
}

body .wcu-theme .mtpc-block-textarea-block p {
  color: var(--wcu-theme-ink);
}

body .wcu-theme h2 + p {
  margin-top: 32px;
}

body ul.wcu-people {
  display: flex;
  flex-wrap: wrap;
  column-gap: var(--wcu-tbl-people-gap, 10px);
  row-gap: calc(var(--wcu-tbl-people-row, 30px) - 4.4px);
  margin: 0;
  padding: 0;
  list-style: none;
}

body ul.wcu-people > li {
  flex: 0 0 var(--wcu-tbl-person, 200px);
  min-width: 0;
  margin: 0;
  padding: 0;
  font-family: var(--wcu-font-body);
  font-size: 13px;
  line-height: 16.315px;
  color: var(--wcu-ink);
  text-align: center;
}

body ul.wcu-people > li > img {
  display: block;
  width: var(--wcu-tbl-photo, 120px);
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  margin: 0 auto 5.04px;
  border-radius: 50%;
  background-color: var(--wcu-white);
  object-fit: cover;
  object-position: top;
}

body ul.wcu-people > li > a,
body ul.wcu-people > li > strong,
body table.tbl-bg td ul.wcu-people > li > :is(a, strong) {
  display: block;
  margin-bottom: 8.46px;
  font-family: var(--wcu-font-display);
  font-stretch: 87.5%;
  font-weight: 500;
  font-size: 16px;
  line-height: 1.25;
  color: var(--wcu-blue);
}

body ul.wcu-people > li > a + br,
body ul.wcu-people > li > strong + br {
  display: none;
}

body .wcu-people--cards .mtpc_pl_item_wrapper .mtpc_pl_pic {
  margin-bottom: 14.78px;
}

body .wcu-people--cards .mtpc_pl_item_wrapper .mtpc_pl_texts .mtpc_profile_name_container {
  margin-bottom: 12.2px;
}

body .wcu-people--cards .mtpc_profile_name.english {
  font-size: 18px;
}

body .wcu-people--cards .mtpc-profile-deatils p + p {
  margin-top: 7.685px;
}

body:has(.wcu-people--cards) .region-content {
  padding-bottom: 0;
  background-position: center bottom;
}

body .wcu-people--lg .mtpc_pl_item_wrapper .mtpc_pl_pic {
  width: 200px;
}

body .wcu-people--lg .mtpc_profile_name.english,
body .wcu-people--lg .mtpc_pl_item_wrapper .mtpc_pl_texts .mtpc_profile_name_container > a {
  color: var(--wcu-blue);
}

body #block-wcu-footer p,
body #block-wcu-footer-tc p,
body p.wcu-footer {
  margin: 0;
  font-family: var(--wcu-font-display);
  font-size: 16px;
  font-weight: 500;
  line-height: 20px;
}

body #block-wcu-footer p strong,
body #block-wcu-footer-tc p strong,
body p.wcu-footer strong {
  font-weight: 500;
}

body #block-wcu-footer p:has(img) a,
body #block-wcu-footer p img,
body #block-wcu-footer-tc p:has(img) a,
body #block-wcu-footer-tc p img,
body p.wcu-footer img {
  display: inline-block;
  vertical-align: top;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 54px;
  margin: 10px 35px 0 0;
}

body #block-wcu-footer p:has(img) a:last-child,
body #block-wcu-footer p img:last-child,
body #block-wcu-footer-tc p:has(img) a:last-child,
body #block-wcu-footer-tc p img:last-child,
body p.wcu-footer img:last-child {
  margin-right: 0;
}

body #block-wcu-footer,
body #block-wcu-footer-tc {
  margin-top: 0;
  background-color: var(--wcu-white);
}

body .region-content {
  padding-bottom: 100px;
}

body.no-footer-margin .region-content {
  padding-bottom: 0;
}

body #block-wcu-footer .hkust-simple-text,
body #block-wcu-footer-tc .hkust-simple-text {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 0 60px;
  box-sizing: border-box;
  max-width: 1500px;
  margin: 0 auto;
  padding: 25.36px 20px 40px;
}

body #block-wcu-footer p:has(img),
body #block-wcu-footer-tc p:has(img) {
  font-size: 0;
  line-height: 0;
}

body #block-wcu-footer p:has(img) strong,
body #block-wcu-footer-tc p:has(img) strong {
  display: block;
  font-size: 16px;
  line-height: 20px;
  white-space: nowrap;
}

body #block-wcu-footer p:has(img) br,
body #block-wcu-footer-tc p:has(img) br {
  display: none;
}

body #block-wcu-footer p:not(:has(img)):not(:last-child),
body #block-wcu-footer-tc p:not(:has(img)):not(:last-child),
body p.wcu-footer:not(:has(img)):not(:last-child) {
  font-family: var(--wcu-font-body);
  font-size: 22px;
  font-weight: 400;
  line-height: 27.61px;
}

body #block-wcu-footer p a,
body #block-wcu-footer-tc p a,
body p.wcu-footer a {
  font-weight: 700;
  text-decoration: none;
}

body #block-wcu-footer p:not(:has(img)) + p:not(:has(img)),
body #block-wcu-footer-tc p:not(:has(img)) + p:not(:has(img)),
body p.wcu-footer:not(:has(img)) + p.wcu-footer:not(:has(img)) {
  border-top: 1px solid var(--wcu-rule);
}

body tr.wcu-thead--blue-green,
body table.tbl-bg:has(> thead tr.wcu-thead--blue-green) {
  --wcu-thead-from: var(--wcu-blue-2);
  --wcu-thead-to: var(--wcu-green);
}

body tr.wcu-thead--orange-purple,
body table.tbl-bg:has(> thead tr.wcu-thead--orange-purple) {
  --wcu-thead-from: var(--wcu-orange-2);
  --wcu-thead-to: var(--wcu-purple);
}

body tr.wcu-thead--purple-green,
body table.tbl-bg:has(> thead tr.wcu-thead--purple-green) {
  --wcu-thead-from: var(--wcu-purple);
  --wcu-thead-to: var(--wcu-green);
}

body tr.wcu-thead--green-blue,
body table.tbl-bg:has(> thead tr.wcu-thead--green-blue) {
  --wcu-thead-from: var(--wcu-green);
  --wcu-thead-to: var(--wcu-blue-2);
}

body tr.wcu-thead--purple-orange,
body table.tbl-bg:has(> thead tr.wcu-thead--purple-orange) {
  --wcu-thead-from: var(--wcu-purple);
  --wcu-thead-to: var(--wcu-orange-2);
}

body table.tbl-bg tbody tr:is(.wcu-thead--blue-green, .wcu-thead--orange-purple, .wcu-thead--green-blue, .wcu-thead--purple-orange) > :is(th, td) {
  background: linear-gradient(90deg, var(--wcu-thead-from) 10%, var(--wcu-thead-to) 90%);
  color: var(--wcu-white);
}

body span.wcu-label--green {
  color: var(--wcu-green);
}

body span.wcu-label--orange {
  color: var(--wcu-orange-3);
}

body span.wcu-label--blue {
  color: var(--wcu-blue);
}

body table.tbl-bg tr.wcu-rule--orange {
  --wcu-tbl-rule-color: var(--wcu-orange);
}

body table.tbl-bg tr.wcu-rule--orange-red {
  --wcu-tbl-rule-color: var(--wcu-orange-red);
}


body table.tbl-bg tbody tr {
  background-color: var(--wcu-white);
}

/*body table.tbl-bg:has(tr.wcu-row--grey) tbody tr:nth-of-type(n) {*/
/*  background-color: var(--wcu-white);*/
/*}*/

body table.tbl-bg:has(tr.wcu-row--grey) tbody tr.wcu-row--grey {
  background-color: var(--wcu-row-alt);
}

body table.tbl-bg tbody tr.wcu-row--purple {
  background-color: var(--wcu-row-purple);
}

body table.tbl-bg tbody tr.wcu-row--white {
  background-color: var(--wcu-row-white);
}

body table.tbl-bg tbody tr.wcu-row--green {
  background-color: var(--wcu-row-green);
}

body table.tbl-bg tbody tr.wcu-row--light-green {
  background-color: var(--wcu-row-light-green);
}

body table.tbl-bg tbody tr.wcu-row--blue {
  background-color: var(--wcu-row-blue);
}

body table.tbl-bg tbody tr.wcu-row--light-blue {
  background-color: var(--wcu-row-light-blue);
}

body table.tbl-bg tbody tr.wcu-row--orange {
  background-color: var(--wcu-row-orange);
}

body table.tbl-bg tbody tr.wcu-row--light-orange {
  background-color: var(--wcu-row-light-orange);
}

body div.wcu-panel {
  display: grid;
  grid-template-columns: var(--wcu-tbl-person, 200px) minmax(0, calc(3 * var(--wcu-tbl-person, 200px) + 2 * var(--wcu-tbl-people-gap, 10px)));
  grid-template-rows: auto auto;
  grid-auto-flow: column;
  column-gap: var(--wcu-tbl-panel-gap, 50px);
}

body div.wcu-panel > h4 {
  margin: 0 0 calc(var(--wcu-tbl-item, 30px) - var(--wcu-tbl-h-below, 6px));
  font-family: var(--wcu-font-display);
  font-stretch: 87.5%;
  font-weight: 400;
  font-size: var(--wcu-tbl-h3, 24px);
  line-height: 1.25;
  letter-spacing: 0;
  color: var(--wcu-navy);
}

body div.wcu-panel > h4:first-child {
  text-align: center;
}

@container wcu-tbl (max-width: 1000px) {
  body div.wcu-panel {
    grid-template-columns: minmax(0, 1fr);
    grid-auto-flow: row;
  }

  body div.wcu-panel > h4:first-child {
    width: var(--wcu-tbl-person, 200px);
  }

  body div.wcu-panel > ul + h4 {
    margin-top: calc(60px - var(--wcu-tbl-p-below, 4.4px) - var(--wcu-tbl-h-above, 6.24px));
  }
}

body .wcu-bio {
  padding-top: 170.43px;
  padding-bottom: 22px;
}

body .wcu-bio h2 {
  margin: 0;
}

body .wcu-bio h2 b,
body .wcu-bio h2 strong {
  font-weight: 400;
  font-size: 26px;
}

body .wcu-bio .mtpc-block p:not(.wcu-subtitle, :last-child) {
  margin-bottom: 24px;
}

body .wcu-bio .mtpc-block-image-block {
  position: relative;
  width: calc(100% - 80px);
  max-width: 440px;
  margin-top: 9.57px;
}

body .wcu-bio .mtpc-block-image-block img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 30px;
}

body .wcu-bio .mtpc-block-image-block::before,
body .wcu-bio .mtpc-block-image-block::after {
  content: "";
  position: absolute;
  z-index: 1;
  pointer-events: none;
  background-color: rgb(22 179 106 / 0.8);
}

body .wcu-bio .mtpc-block-image-block::before {
  right: -44px;
  bottom: -40px;
  width: 90px;
  height: 90px;
  border-radius: 18px;
}

body .wcu-bio .mtpc-block-image-block::after {
  right: -80px;
  bottom: 50px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

body p.wcu-subtitle {
  margin: 17.13px 0 0;
  padding-bottom: 21.13px;
  font-size: 18px;
  font-weight: 600;
  line-height: 24px;
  color: var(--wcu-orange-dark);
}

body p.wcu-subtitle::after {
  content: "";
  display: block;
  width: 180px;
  height: 6px;
  margin-top: 25.19px;
  background-color: var(--wcu-orange);
}

body:has(.wcu-orbit) {
  --wcu-venue-h: 480px;
}

body:has(.wcu-orbit) .region-content {
  position: relative;
  isolation: isolate;
  container-type: inline-size;
  background-size: 0 0;
}

body:has(.wcu-orbit) .region-content::before,
body:has(.wcu-orbit) .region-content::after {
  content: "";
  position: absolute;
  top: calc(100cqw * 675 / 1920);
  right: 0;
  bottom: var(--wcu-venue-h);
  left: 0;
  pointer-events: none;
}

body:has(.wcu-orbit) .region-content::before {
  z-index: -1;
  background-image: inherit;
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

body:has(.wcu-orbit) .region-content::after {
  z-index: -2;
  background:

    url("data:image/svg+xml,%3Csvg xmlns='http:%2F%2Fwww.w3.org%2F2000%2Fsvg' width='3840' height='4234' viewBox='0 0 3840 4234'%3E%3Cstyle%3Eg g{animation:s linear infinite}%40keyframes s{to{transform:rotate(360deg)}}%40media(prefers-reduced-motion:reduce){g g{animation:none}}%3C%2Fstyle%3E%3Cg transform='translate(1919.5 2116.5) scale(1 1.01887)' fill='%23fff'%3E%3Cg style='animation-duration:58s'%3E%3Ccircle cx='734.1' cy='-50.0' r='32.2'%2F%3E%3C%2Fg%3E%3Cg style='animation-duration:76s;animation-direction:reverse'%3E%3Ccircle cx='640.0' cy='-723.3' r='37.7'%2F%3E%3C%2Fg%3E%3Cg style='animation-duration:82s'%3E%3Ccircle cx='298.9' cy='-996.3' r='15.8'%2F%3E%3Ccircle cx='708.1' cy='762.0' r='23.0'%2F%3E%3Ccircle cx='-1028.2' cy='157.3' r='15.8'%2F%3E%3C%2Fg%3E%3Cg style='animation-duration:93s;animation-direction:reverse'%3E%3Ccircle cx='263.9' cy='1152.4' r='15.8'%2F%3E%3Ccircle cx='-659.4' cy='-981.2' r='23.1'%2F%3E%3Ccircle cx='1068.8' cy='505.2' r='23.0'%2F%3E%3C%2Fg%3E%3Cg style='animation-duration:107s'%3E%3Ccircle cx='-642.8' cy='-1203.9' r='19.4'%2F%3E%3Ccircle cx='1363.8' cy='52.4' r='28.6'%2F%3E%3Ccircle cx='-808.0' cy='1099.9' r='19.4'%2F%3E%3C%2Fg%3E%3Cg style='animation-duration:112s;animation-direction:reverse'%3E%3Ccircle cx='-42.3' cy='-1426.2' r='23.1'%2F%3E%3Ccircle cx='-218.3' cy='1410.0' r='37.8'%2F%3E%3C%2Fg%3E%3Cg style='animation-duration:122s'%3E%3Ccircle cx='-1522.2' cy='-298.6' r='28.5'%2F%3E%3Ccircle cx='-1404.7' cy='658.0' r='37.8'%2F%3E%3Ccircle cx='1314.1' cy='824.3' r='19.4'%2F%3E%3Ccircle cx='1460.4' cy='-522.9' r='28.5'%2F%3E%3Ccircle cx='-338.4' cy='1513.8' r='28.6'%2F%3E%3Ccircle cx='10.8' cy='-1551.2' r='37.7'%2F%3E%3C%2Fg%3E%3Cg style='animation-duration:147s;animation-direction:reverse'%3E%3Ccircle cx='-1368.2' cy='-1280.3' r='28.5'%2F%3E%3Ccircle cx='1104.0' cy='1514.0' r='37.7'%2F%3E%3C%2Fg%3E%3C%2Fg%3E%3C%2Fsvg%3E") center top / cover no-repeat,
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0) 30%, rgba(255, 255, 255, 0) 70%, rgba(255, 255, 255, 0.9)),
    var(--wcu-home-ground);
}

body .mtpc-1col-section.wcu-orbit {
  padding-top: 0;
  padding-bottom: 0;
}

body .wcu-orbit .mtpc-block:has(h2.wcu-h2--lg) {
  padding-top: 75.06px;
}

body .wcu-orbit .field__item:has(h2.wcu-h2--lg) + .field__item > .mtpc-block {
  padding-top: 54.66px;
}

body .wcu-orbit .field--name-field-mod-1-col-container > .field__item:first-child > .mtpc-block:has(p.wcu-lead) {
  padding-top: 81.72px;
}

body .wcu-orbit .field__item:has(p.wcu-lead) + .field__item > .mtpc-block:has(a.text-btn) {
  padding-top: 36.68px;
}

body .wcu-orbit .field__item:has(p.wcu-lead) + .field__item > .mtpc-block:has(> .mtpc-block-image-grid-item-wrapper) {
  padding-top: 52.08px;
}

body .wcu-orbit .field__item:has(p.wcu-lead) + .field__item > .mtpc-profile-list-block {
  padding-top: 52.48px;
}

body .wcu-orbit .field__item:has(.mtpc-block-image-grid-item-wrapper) + .field__item > .mtpc-block,
body .wcu-orbit .field__item:has(.mtpc-profile-list-block) + .field__item > .mtpc-block {
  padding-top: 60px;
}

body .mtpc-section-item:has(.wcu-orbit):not(:has(+ .mtpc-section-item .wcu-orbit)) .mtpc-1col-section.wcu-orbit {
  padding-bottom: 120px;
}

body h2.wcu-h2--lg {
  margin: 0;
  font-size: 36px;
  line-height: 54px;
  letter-spacing: 0;
}

body p.wcu-lead {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 32.4px;
  color: var(--wcu-ink);
}

body .mtpc-1col-section.wcu-countdown {
  padding-top: 90px;
}

body .wcu-countdown .field--name-field-mod-1-col-container {
  position: relative;
}

body .wcu-countdown .mtpc-block-image-block,
body .wcu-countdown .field--name-field-mod-1-col-container > .field__item:has(> .paragraph--type--mod-video-block) {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  overflow: hidden;
  border-radius: var(--wcu-radius);
}

body .wcu-countdown .mtpc-block-image-block :is(.field, .field__item, article) {
  height: 100%;
}

body .wcu-countdown .paragraph--type--mod-video-block {
  height: 100%;
}

body .wcu-countdown .mtpc-video {
  padding: 0;
  height: 100%;
}

@media (prefers-reduced-motion: reduce) {
  body .wcu-countdown video {
    display: none;
  }
}

body .wcu-countdown .mtpc-block-image-block img,
body .wcu-countdown video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body .wcu-countdown .mtpc-block-textarea-block {
  position: relative;
  z-index: 1;
  padding: 56.22px 20px 64.5px;
  text-align: center;
}

body .wcu-countdown .mtpc-block-textarea-block p {
  margin: 0;
  font-size: 24px;
  font-weight: 400;
  line-height: 32.4px;
  color: var(--wcu-white);
}

body .wcu-countdown-date {
  display: none;
}

body .mtpc-section-item:has(.wcu-countdown):not(:has(.wcu-countdown__clock)),
html.wcu-countdown-ended .mtpc-section-item:has(.wcu-countdown) {
  display: none;
}

body .wcu-countdown__clock {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 22.88px;
  font-family: var(--wcu-font-display);
  font-size: 60px;
  line-height: 60.2px;
}

body .wcu-countdown__part {
  display: flex;
  align-items: flex-start;
}

body .wcu-countdown__digit {
  box-sizing: border-box;
  height: 64px;
  padding: 0 10px;
  border-radius: 10px;
  background-color: var(--wcu-ink);
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  color: var(--wcu-white);
}

body .wcu-countdown__digit + .wcu-countdown__digit {
  margin-left: 4px;
}

body .wcu-countdown__unit {
  margin-left: 10px;
  font-weight: 200;
  color: var(--wcu-ink);
}

body .mtpc-1col-section.wcu-venue {
  box-sizing: border-box;
  height: var(--wcu-venue-h, 480px);
  padding: 38.62px max(30px, calc((100% - 1280px) / 2)) 0;
  background-position: center;
  background-size: cover;
}

body .wcu-venue .mtpc-block-textarea-block p {
  margin: 0;
  font-family: var(--wcu-font-display);
  font-stretch: 87.5%;
  font-size: 22px;
  line-height: 27.5px;
  letter-spacing: 0.03em;
  color: var(--wcu-white);
}

body .wcu-venue .mtpc-block-textarea-block h2 {
  margin: 3.22px 0 0;
  font-size: 44px;
  line-height: 52.8px;
  letter-spacing: 0.03em;
  color: var(--wcu-white);
}

body .wcu-venue .mtpc-block-textarea-block p:has(> a.text-btn) {
  margin-top: 21.86px;
  line-height: 0;
}

body .wcu-media-row {
  --wcu-media-w: 840px;
  --wcu-media-h: 330px;
  --wcu-media-r: 12px;
  /*--wcu-mk-x: 30px;*/
  --wcu-mk-x: 50px;
  --wcu-mk-y: 30px;
  --wcu-mk: 30px;
  --wcu-mk-r: 8px;
  --wcu-mk-color: var(--wcu-green);
  padding-top: 0;
  padding-bottom: 60px;
}

body .wcu-media-row--orange {
  --wcu-mk-color: var(--wcu-orange);
}

body .wcu-media-row > :is(.mtpc-1col-section-wrapper, .mtpc-2col-section-wrapper) {
  box-sizing: border-box;
  padding: var(--wcu-mk-y) 0 0 var(--wcu-mk-x);
}

body .wcu-media-row > .mtpc-2col-section-wrapper > .mtpc-2col-item {
  margin-bottom: 0;
}

body .wcu-media-row :is(.mtpc-1col-item, .mtpc-2col-item--1) .field__item:first-child > .mtpc-block {
  position: relative;
}

body .wcu-media-row :is(.mtpc-1col-item, .mtpc-2col-item--1) .field__item:first-child > .mtpc-block::before {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(-1 * var(--wcu-mk-y));
  left: calc(-1 * var(--wcu-mk-x));
  width: var(--wcu-mk);
  height: var(--wcu-mk);
  border-radius: var(--wcu-mk-r);
  background-color: var(--wcu-mk-color);
}

body .wcu-media-row--pair {
  --wcu-mk-x: 60px;
  --wcu-mk-y: 30px;
  --wcu-mk: 42px;
  --wcu-mk-r: 10px;
  --wcu-mk-top: 18px;
  --wcu-mk-sm: 17px;
  --wcu-mk-sm-r: 4px;
}

body :is(.wcu-media-row--pair, .wcu-media-row--lg, .about-section) :is(.mtpc-1col-item, .mtpc-2col-item--1) .field__item:first-child > .mtpc-block::before {
  top: calc(var(--wcu-mk-top) - var(--wcu-mk-y));
}

body :is(.wcu-media-row--pair, .wcu-media-row--lg, .about-section) :is(.mtpc-1col-item, .mtpc-2col-item--1) .field__item:first-child > .mtpc-block::after {
  content: "";
  position: absolute;
  z-index: 1;
  top: calc(-1 * var(--wcu-mk-y));
  left: calc(var(--wcu-mk) - var(--wcu-mk-x));
  width: var(--wcu-mk-sm);
  height: var(--wcu-mk-sm);
  border-radius: var(--wcu-mk-sm-r);
  background-color: var(--wcu-mk-color);
}

body .mtpc-section-item:has(.wcu-banner) + .mtpc-section-item:has(+ .mtpc-section-item .wcu-media-row) .mtpc-1col-section {
  padding-top: 81.13px;
}

body .mtpc-section-item:has(+ .mtpc-section-item .wcu-media-row) .mtpc-1col-section:not(.wcu-media-row, .wcu-banner) {
  padding-bottom: 51.42px;
}

body .mtpc-section-item:has(+ .mtpc-section-item .wcu-media-row) .mtpc-1col-section:not(.wcu-media-row, .wcu-banner) :is(p, h2) {
  margin: 0;
}

body .mtpc-section-item:has(+ .mtpc-section-item .wcu-media-row) .mtpc-1col-section:not(.wcu-media-row, .wcu-banner) p + h2 {
  margin-top: 40.33px;
}

body .wcu-media-row h2 {
  line-height: 1.2;
}

body .mtpc-1col-section.wcu-media-row {
  --wcu-mk-x: 50px;
  --wcu-mk-y: 21.25px;
}

body .mtpc-1col-section.wcu-media-row :is(p, h2) {
  margin: 0;
}

body .mtpc-1col-section.wcu-media-row h2 + p {
  margin-top: 24.7px;
}

body .mtpc-1col-section.wcu-media-row p + table.tbl-noborder {
  margin-top: 21.47px;
}

body .mtpc-1col-section.wcu-media-row p + p {
  margin-top: 24px;
}

body .mtpc-1col-section.wcu-media-row.wcu-media-row--lg,
body .mtpc-1col-section.wcu-media-row.about-section{
  --wcu-mk-x: 130px;
  --wcu-mk-y: 0px;
  --wcu-mk: 71.25px;
  --wcu-mk-r: 10px;
  --wcu-mk-top: 28.75px;
  --wcu-mk-sm: 28.75px;
  --wcu-mk-sm-r: 6px;
}

body .wcu-media-row--thumb {
  --wcu-media-w: 300px;
  --wcu-media-h: 200px;
}

body .wcu-media-row .mtpc-2col-item--1 > .field > .field__items {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: 6px;
  height: var(--wcu-media-h);
}

body .wcu-media-row .mtpc-2col-item--1 > .field > .field__items > .field__item {
  min-width: 0;
  min-height: 0;
}

body .wcu-media-row .mtpc-2col-item--1 > .field > .field__items > .field__item:first-child {
  grid-area: 1 / 1 / 3 / 2;
}

body .wcu-media-row .mtpc-2col-item--1 > .field > .field__items > .field__item:nth-child(2) {
  grid-area: 1 / 2 / 2 / 3;
}

body .wcu-media-row .mtpc-2col-item--1 > .field > .field__items > .field__item:nth-child(2):last-child {
  grid-area: 1 / 2 / 3 / 3;
}

body .wcu-media-row .mtpc-2col-item--1 > .field > .field__items > .field__item:nth-child(3) {
  grid-area: 2 / 2 / 3 / 3;
}

body .wcu-media-row .mtpc-2col-item--1 > .field > .field__items > .field__item:only-child {
  grid-area: 1 / 1 / 3 / 3;
}

body .wcu-media-row .mtpc-2col-item--1 .mtpc-block-image-block,
body .wcu-media-row .mtpc-2col-item--1 .mtpc-block-image-block :is(.field, .field__item, article) {
  height: 100%;
  margin: 0;
}

body .wcu-media-row .mtpc-2col-item--1 .mtpc-block-image-block img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

body .wcu-media-row .mtpc-2col-item--1 > .field > .field__items > .field__item:first-child img {
  border-radius: var(--wcu-media-r) 0 0 var(--wcu-media-r);
}

body .wcu-media-row .mtpc-2col-item--1 > .field > .field__items > .field__item:nth-child(2) img {
  border-radius: 0 var(--wcu-media-r) 0 0;
}

body .wcu-media-row .mtpc-2col-item--1 > .field > .field__items > .field__item:nth-child(2):last-child img {
  border-radius: 0 var(--wcu-media-r) var(--wcu-media-r) 0;
}

body .wcu-media-row .mtpc-2col-item--1 > .field > .field__items > .field__item:nth-child(3) img {
  border-radius: 0 0 var(--wcu-media-r) 0;
}

body .wcu-media-row .mtpc-2col-item--1 > .field > .field__items > .field__item:only-child img {
  border-radius: var(--wcu-media-r);
}

body .wcu-media-row .mtpc-2col-item--2 .mtpc-block-textarea-block {
  margin: 0;
}

body .wcu-media-row .mtpc-2col-item--2 :is(p, h2) {
  margin: 0;
}

body .wcu-media-row .mtpc-2col-item--2 h2 + p {
  margin-top: 24.7px;
}

body .wcu-media-row .mtpc-2col-item--2 p:has(> a.text-btn) {
  display: flex;
  margin-top: 32px;
}

body .wcu-media-row .mtpc-2col-item--2 p:first-child:has(> a.text-btn) {
  margin-top: 0;
}

body .mtpc-block.wcu-lightbox {
  display: none;
}

body dialog.wcu-lightbox-dialog {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 60px 40px;
  border: 0;
  background: transparent;
}

body dialog.wcu-lightbox-dialog[open] {
  display: flex;
  align-items: center;
  justify-content: center;
}

body dialog.wcu-lightbox-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.6);
}

body dialog.wcu-lightbox-dialog img {
  display: block;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 100%;
  object-fit: contain;
}

body dialog.wcu-lightbox-dialog button {
  position: fixed;
  top: 40px;
  right: 40px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  outline:none;
  border: none;
}

body dialog.wcu-lightbox-dialog button::before,
body dialog.wcu-lightbox-dialog button::after {
  content: "";
  position: absolute;
  top: 14px;
  left: -3px;
  width: 36px;
  height: 2px;
  background-color: var(--wcu-white);
  transform: rotate(45deg);
}

body dialog.wcu-lightbox-dialog button::after {
  transform: rotate(-45deg);
}

body dialog.wcu-lightbox-dialog button:focus-visible {
  outline: 2px solid var(--wcu-white);
  outline-offset: 4px;
}

body h2.wcu-h2--xl {
  margin: 0;
  font-size: 44px;
  line-height: 52.8px;
}

body .wcu-logo-row {
  padding-top: 0;
  padding-bottom: 60px;
}

body .mtpc-section-item:has(.wcu-banner) + .mtpc-section-item .wcu-logo-row {
  padding-top: 90px;
}

body .mtpc-section-item:has(.wcu-logo-row) + .mtpc-section-item .wcu-logo-row > .mtpc-2col-section-wrapper {
  padding-top: 60px;
  border-top: 1px solid var(--wcu-green);
}

body .wcu-logo-row > .mtpc-2col-section-wrapper > .mtpc-2col-item {
  margin-bottom: 0;
}

body .wcu-logo-row :is(.mtpc-block-image-block, .mtpc-block-textarea-block) {
  margin: 0;
}

body .wcu-logo-row img {
  display: block;
  width: 100%;
  height: auto;
}

body .wcu-logo-row .mtpc-block-textarea-block p {
  margin: 0;
}

body .wcu-logo-row .mtpc-block-textarea-block p + p {
  margin-top: 24px;
}

.day3-tbl-wrapper table.tbl-bg td h3+p {
  margin-top: 10px;
}

.program-at-a-glance table.tbl-bg thead tr th {
  padding: 10px 15px;
  font-weight: 400;
}

.about-section .mtpc-1col-item {
  max-width: 780px;
}


.organizers-logo-section {
    margin-top: 30px;
}

.organizers-logo-section .mtpc-block-image-grid-item-wrapper img {
  width: auto !important;
  height: auto !important;
  object-fit: unset !important;
  max-width: 100%;
  max-height: 100%;
}

.organizers-logo-section .mtpc-block-image-grid-item-wrapper .mtpc-image-grid-block-item .grid_main_image {
  aspect-ratio: unset;
}

.organizers-logo-section .mtpc-block-image-grid-item-wrapper.mtpc-image-grid-layout-small {
  gap: 0;
  align-items: center;
  align-self: center;
}

.organizers-logo-section .mtpc-block-image-grid-item-wrapper.mtpc-image-grid-layout-small > .mtpc-image-grid-block-item {
  margin-bottom: 20px;
  border-radius: unset;
}

.organizers-logo-line hr {
  border: none;
  border-top: 1px solid var(--wcu-green);
}

/* ===== Second footer (#block-mtpc-secondfooter) ===== */
#block-mtpc-secondfooter {
  --sf-navy: #003366;
  --sf-link: #2f82a8;
  --sf-line: #ccc;
  background: #FFF;
}

/* Two columns: Organized by (left) / Sponsored by (right) */
#block-mtpc-secondfooter .mtpc-2col-section-wrapper {
  display: flex;
  align-items: flex-start;
  gap: 30px;
}

#block-mtpc-secondfooter .mtpc-2col-section {
  padding-top: 0;
}

#block-mtpc-secondfooter .mtpc-2col-item {
  width: auto;
  max-width: none;
}
#block-mtpc-secondfooter .mtpc-2col-item--1 { flex: 0 0 calc(47% - 20px); }
#block-mtpc-secondfooter .mtpc-2col-item--2 { flex: 1 1 0; }

/* Logos sit in one row under each label */
#block-mtpc-secondfooter .mtpc-2col-item .field__items {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 30px;
  row-gap: 0;
}
#block-mtpc-secondfooter .mtpc-2col-item .field__item {
  width: auto;
  flex: 0 0 auto;
}

/* Label ("Organized by" / "Sponsored by") stays top-left, full first row */
#block-mtpc-secondfooter .mtpc-2col-item .field__item:first-child {
  flex: 0 0 100%;
}
#block-mtpc-secondfooter .mtpc-2col-item .field__item:first-child p {
  margin: 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: var(--sf-navy);
}
#block-mtpc-secondfooter .mtpc-2col-item .field__item:first-child p span {
  font-size: inherit;
  color: inherit;
}

/* Logos: every logo cell has the same height, so each logo is vertically
   centred and the left row lines up with the right row */
#block-mtpc-secondfooter .mtpc-2col-item .field__item:not(:first-child) {
  display: flex;
  align-items: center;
  min-height: 100px; /* roughly the height of the tallest logo (EDB) */
}

/* Logo sizes (order: left = CAHE, HKUST / right = EDB, UGC, Study in HK) */
#block-mtpc-secondfooter .mtpc-2col-item img {
  display: block;
  height: auto;
  max-width: 100%;
}
#block-mtpc-secondfooter .mtpc-2col-item--1 .field__item:nth-child(2) img { width: 235px; }
#block-mtpc-secondfooter .mtpc-2col-item--1 .field__item:nth-child(3) img { width: 255px; }
#block-mtpc-secondfooter .mtpc-2col-item--2 .field__item:nth-child(2) img { width: 195px; }
#block-mtpc-secondfooter .mtpc-2col-item--2 .field__item:nth-child(3) img { width: 250px; }
#block-mtpc-secondfooter .mtpc-2col-item--2 .field__item:nth-child(4) img { width: 138px; }

/* Bottom row: divider + Enquiry / Copyright on one centred line */
#block-mtpc-secondfooter .mtpc-1col-section-wrapper {
  padding-top: 30px;
  padding-bottom: 10px;
  border-top: 2px solid var(--sf-line);
}
#block-mtpc-secondfooter .mtpc-1col-section-wrapper .field--name-field-mod-long-fmt > .field__item {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 50px;
}
#block-mtpc-secondfooter .mtpc-1col-section-wrapper p {
  margin: 0;
  color: var(--sf-navy);
}
#block-mtpc-secondfooter .mtpc-1col-section-wrapper p:first-child {
  font-size: 20px;
}
#block-mtpc-secondfooter .mtpc-1col-section-wrapper p:first-child a {
  font-weight: 700;
  color: var(--sf-link);
  text-decoration: none;
}
#block-mtpc-secondfooter .mtpc-1col-section-wrapper p:last-child {
  font-size: 16px;
  line-height: 22px;
}

body:not(.path-frontpage) #block-mtpc-secondfooter .mtpc-2col-section {
    display: none;
}

body:not(.path-frontpage) #block-mtpc-secondfooter .mtpc-1col-section-wrapper {
    padding-top: 10px;
    border: none;
}


/* ===== Shuttle bus table ===== */

/* Header */
.shuttle-bus-tbl .tbl-bg th { font-size: 27px; font-weight: 400; padding-bottom: 10px; }
.shuttle-bus-tbl .tbl-bg th .small-text { font-size: 18px; font-weight: 500; }
.shuttle-bus-tbl .tbl-bg thead tr:nth-child(1) > th { padding-top: 10px; padding-bottom: 5px; }
.shuttle-bus-tbl .tbl-bg th + th:last-child { padding-left: 20px; }

/* Table body */
.shuttle-bus-tbl table.tbl-bg { border-radius: 12px; overflow: hidden; min-width: 900px !important; }
.shuttle-bus-tbl table.tbl-bg tbody tr td { padding-top: 15px; padding-bottom: 15px !important; }
.shuttle-bus-tbl table.tbl-bg tbody tr td,
.shuttle-bus-tbl table.tbl-bg tbody tr td p { font-size: 18px !important; }
.shuttle-bus-tbl table.tbl-bg:has(tr.wcu-row--grey) tbody tr.wcu-row--grey { background: #fff !important; }

/* Column widths: Pick-up / Drop-off / Schedule */
.shuttle-bus-tbl table.tbl-bg:not(.tbl-scroll) tbody tr td:first-child { width: 36%; }
.shuttle-bus-tbl table.tbl-bg:not(.tbl-scroll) tbody tr td:nth-child(2):nth-last-child(2) { width: 36%; }
.shuttle-bus-tbl table.tbl-bg:not(.tbl-scroll) tbody tr td:nth-child(3):last-child { width: 28%; }

/* Vertical line: on the last column (Schedule) */
.shuttle-bus-tbl table.tbl-bg tbody tr td:nth-child(2) { background: none; }
.shuttle-bus-tbl table.tbl-bg tbody tr td:last-child {
	position: relative;
	/*background: linear-gradient(var(--wcu-tbl-rule-color, var(--wcu-green)), var(--wcu-tbl-rule-color, var(--wcu-green))) 0 var(--wcu-tbl-rule) / 1px calc(100% - 2 * var(--wcu-tbl-rule)) no-repeat;*/
}
.shuttle-bus-tbl table.tbl-bg tbody tr td:last-child::before {
	content: ""; background: var(--wcu-tbl-rule-color); width: 1px; position: absolute; left: 0; height: 30%; top: 21px;
}

/* Min width: on the last column (Schedule) */
.shuttle-bus-tbl .tbl-bg thead tr:nth-child(2) > th:last-child,
.shuttle-bus-tbl table.tbl-bg tbody tr td:last-child { min-width: 120px !important; }



/* Home people slider */
.home-people-slider { position: relative; }
.home-people-slider .hps-swiper { padding-bottom: 10px; }

/* beat the existing flex-wrap grid rules on .mtpc-profile-list-block */
body .home-people-slider .field--name-field-mtpc-profile-listing-item.swiper-wrapper {
  display: flex; flex-wrap: nowrap; gap: 0; justify-content: flex-start;
}
body .home-people-slider .field--name-field-mtpc-profile-listing-item.swiper-wrapper > .field__item.swiper-slide {
  flex: 0 0 auto; max-width: none; margin: 0; height: auto; box-sizing: border-box;
  display: flex; justify-content: center;
}
/* hide the row-divider line the grid layout draws every 5th item */
body .home-people-slider .swiper-wrapper > .field__item.swiper-slide::after { display: none !important; }

.home-people-slider .swiper-slide .mtpc_pl_item_container { width: 100%; max-width: 200px; }
.home-people-slider .swiper-slide-blank { visibility: hidden; }

/* arrows: Font Awesome chevrons, sitting outside the content area */
.home-people-slider .hps-btn {
  position: absolute; z-index: 2; top: var(--hps-arrow-top, 120px); transform: translateY(-50%);
  width: 32px; height: 48px; padding: 0; border: 0; background: none;
  color: #2780c9; font-size: 40px; line-height: 48px; text-align: center; cursor: pointer; transition: color .2s;
}
.home-people-slider .hps-btn i { display: block; line-height: inherit; }
.home-people-slider .hps-prev { left: -36px; }
.home-people-slider .hps-next { right: -36px; }
.home-people-slider .hps-btn:hover, .home-people-slider .hps-btn:focus-visible { color: #1a5a91; }

/* dots */
.home-people-slider .hps-dots.swiper-pagination { position: static; width: auto; display: none; justify-content: center; gap: 10px; margin-top: 30px; }
.home-people-slider .hps-dots .swiper-pagination-bullet { width: 10px; height: 10px; margin: 0 !important; background: #2780c9; opacity: .3; }
.home-people-slider .hps-dots .swiper-pagination-bullet-active { opacity: 1; }


/* ===== Language switcher: pill button beside the main menu ===== */

:root {
  --creasant-nav-gap: clamp(16px, calc((100vw - 1300px) / 6), 40px);
}
html[lang="en"]:root {
  --creasant-nav-gap: clamp(16px, calc((100vw - 1300px) / 6), 20px);
}

html body header .mtpc_header .header.desktop .wrapper .logos .logos_container .logos_right .navigation > ul.menu {
  column-gap: var(--creasant-nav-gap);
}

header .layout-navigation { height: 0; overflow: hidden; }

#block-mtpc-languageswitcher.creasant-lang-btn { position: relative; flex: 0 0 auto; display: flex; align-items: center; height: auto; margin: 0; }
#block-mtpc-languageswitcher.creasant-lang-btn > .wrapper,
#block-mtpc-languageswitcher.creasant-lang-btn .block-body { width: auto; max-width: none; margin: 0; padding: 0; }
#block-mtpc-languageswitcher.creasant-lang-btn ul.links { display: flex; margin: 0; padding: 0; list-style: none; }
#block-mtpc-languageswitcher.creasant-lang-btn ul.links li { display: none; margin: 0; padding: 0; }
#block-mtpc-languageswitcher.creasant-lang-btn ul.links li.creasant-lang-target { display: flex; }

#block-mtpc-languageswitcher.creasant-lang-btn ul.links li a {
  display: inline-flex; align-items: center; gap: 10px; padding: 0; background: none;
  color: #FA8E0A; font: 700 18px/1 "Encode Sans", sans-serif; letter-spacing: 0.06em;
  text-transform: uppercase; text-decoration: none; white-space: nowrap;
  transition: color 0.2s ease;
}
#block-mtpc-languageswitcher.creasant-lang-btn ul.links li a:hover,
#block-mtpc-languageswitcher.creasant-lang-btn ul.links li a:focus-visible { color: #666666; }
#block-mtpc-languageswitcher.creasant-lang-btn ul.links li a i { color: #666666; font-size: 22px; line-height: 1; }

.header.desktop #block-mtpc-languageswitcher.creasant-lang-btn { height: 22.5px; margin-left: var(--creasant-nav-gap); }
.mobile_navigation #block-mtpc-languageswitcher.creasant-lang-btn { width: fit-content; margin: 10px 40px 30px; }
#block-mtpc-languageswitcher.creasant-lang-btn .contextual { top: -12px; right: -12px; }