:root {
  --blue: #1b2b51;
  --grey: #eee;
  --yellow: #d5a132;
  --white: white;
  --transprant: #fff0;
  --dark-grey: #959595;
}

.w-layout-blockcontainer {
  max-width: 940px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

@media screen and (max-width: 991px) {
  .w-layout-blockcontainer {
    max-width: 728px;
  }
}

@media screen and (max-width: 767px) {
  .w-layout-blockcontainer {
    max-width: none;
  }
}

body {
  color: var(--blue);
  font-family: Montserrat, sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 160%;
}

h2 {
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 110%;
}

h3 {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 40px;
  font-weight: 600;
  line-height: 130%;
}

p {
  margin-bottom: 0;
}

a {
  color: var(--blue);
  text-decoration: none;
  transition: all .3s;
}

img {
  width: 100%;
  max-width: 100%;
  display: block;
}

.all {
  padding-top: 80px;
  overflow: hidden;
}

.all.sticky {
  overflow: visible;
}

.section {
  padding-top: 100px;
  position: relative;
}

.section.no-padding {
  padding-top: 0;
}

.section.greybg {
  background-color: var(--grey);
  margin-top: 100px;
  padding-bottom: 100px;
}

.section.curriculum-popup {
  background-image: url('../images/bg-pattern-l.svg');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 300px;
  position: static;
}

.container {
  z-index: 1;
  max-width: 1920px;
  padding-left: 40px;
  padding-right: 40px;
  position: relative;
}

.container.home-banner {
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

.container.popup {
  position: static;
}

.home-banner-container {
  aspect-ratio: 3;
  justify-content: flex-start;
  align-items: center;
  display: flex;
  position: relative;
  overflow: hidden;
}

.home-banner-photo-b {
  background-image: url('https://d3e54v103j8qbb.cloudfront.net/img/background-image.svg');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  flex: 1;
  height: 100%;
  position: relative;
}

.home-banner-photo-b.img1 {
  background-image: url('../images/home-banner-img2-2x.jpg');
  background-position: 30%;
}

.home-banner-photo-b.img2 {
  background-image: url('../images/home-banner-img1-2x.jpg');
  background-position: 0 100%;
}

.home-banner-content-b {
  z-index: 5;
  aspect-ratio: 1;
  background-image: url('../images/home-banner-content-bg.svg');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: 100%;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  position: absolute;
  inset: 0% auto auto 50%;
  transform: translate(-50%);
}

.home-banner-handwrite-b {
  opacity: .25;
  margin-top: -2vw;
  transform: rotate(-10deg);
}

.handwrite-txt {
  color: var(--yellow);
  font-family: Oooh Baby, sans-serif;
  font-size: 36px;
  line-height: 110%;
}

.handwrite-txt.home-banner {
  color: var(--blue);
  font-size: 2.8vw;
}

.home-banner-handwrite-txt-b {
  padding-left: 2vw;
}

.map-grey-b {
  background-color: var(--grey);
  background-image: url('../images/map-img.svg');
  background-position: 50% 0;
  background-repeat: no-repeat;
  background-size: 100%;
  background-attachment: fixed;
  padding-top: 100px;
  padding-bottom: 100px;
  position: relative;
  overflow: hidden;
}

.map-grey-b.news {
  padding-bottom: 240px;
}

.img-full {
  width: 100%;
  display: block;
}

.relative {
  z-index: 1;
  position: relative;
}

.section-title-b {
  text-align: center;
  justify-content: center;
  align-items: center;
  display: flex;
}

.padding-top-20 {
  padding-top: 20px;
}

.align-center {
  text-align: center;
}

.txt-yellow {
  color: var(--yellow);
}

.common-btn {
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  text-transform: uppercase;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.common-btn:hover {
  color: var(--yellow);
}

.btn-arrow-b {
  justify-content: flex-start;
  align-items: flex-end;
  display: flex;
}

.btn-arrow-img {
  width: 15px;
}

.btn-arrow-line {
  background-color: var(--yellow);
  width: 20px;
  height: 1px;
}

.inline-b {
  display: inline-block;
}

.home-professor-wrap {
  grid-column-gap: 80px;
  grid-row-gap: 80px;
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.home-professor-img-col {
  width: 25%;
  max-width: 500px;
  position: sticky;
  top: 100px;
}

.home-professor-content-col {
  flex: 1;
}

.home-professor-bg-img {
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
}

.img-cover {
  object-fit: cover;
  height: 100%;
}

.home-professor-img {
  z-index: 1;
  position: absolute;
  inset: 0%;
}

.home-professor-img-b {
  z-index: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding-top: 17%;
  display: flex;
  position: relative;
}

.home-professor-content {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  flex-flow: column;
  padding-top: 40px;
  display: flex;
}

.news-list-container {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  flex-flow: column;
  display: flex;
}

.news-list-img {
  aspect-ratio: 12 / 15;
  position: relative;
  overflow: hidden;
}

.news-list-detail-wrap {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.news-list-detail {
  font-size: 12px;
  line-height: 160%;
}

.news-list-detail-border {
  background-color: var(--yellow);
  flex: 1;
  height: 1px;
}

.news-list-detail-tag {
  background-color: var(--yellow);
  color: var(--white);
  padding: 2px 10px;
}

.news-list-tite-b {
  font-size: 20px;
  font-weight: 600;
  line-height: 160%;
}

.footer-container {
  background-color: var(--blue);
  color: var(--white);
  padding-top: 10px;
  padding-bottom: 10px;
  line-height: 110%;
}

.footer-wrap {
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  flex-flow: wrap;
  justify-content: space-between;
  align-items: center;
  display: flex;
}

.footer-link {
  color: var(--white);
}

.footer-link:hover {
  opacity: .5;
}

.header {
  z-index: 999;
  background-color: var(--white);
  width: 100%;
  position: fixed;
}

.header-wrap {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 80px;
  display: flex;
}

.header-logo {
  flex: 1;
}

.nav-b {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  justify-content: flex-end;
  align-items: center;
  height: 100%;
  font-size: 2vw;
  display: flex;
}

.nav-link {
  text-transform: uppercase;
  justify-content: center;
  align-items: center;
  height: 100%;
  margin: 0;
  padding: 0 0 4px;
  font-size: 1.4vw;
  font-weight: 700;
  line-height: 160%;
  display: flex;
  position: relative;
}

.nav-link.w--current {
  border-bottom: 1px solid var(--yellow);
}

.header-logo-wrap {
  grid-column-gap: 15px;
  grid-row-gap: 15px;
  justify-content: flex-start;
  align-items: center;
  height: 100%;
  display: flex;
}

.cuhk-logo {
  transform-style: preserve-3d;
  width: 70px;
  display: block;
}

.cuhk-logo:hover {
  transform: scale(1.05);
}

.header-logo-border {
  background-color: #750f6d;
  width: 2px;
  height: 45px;
}

.menu-btn {
  padding: 0;
}

.nav-link-hover {
  border-bottom: 1px solid var(--yellow);
  opacity: 0;
  width: 100%;
  margin-bottom: -1px;
  position: absolute;
  inset: auto auto 0% 0%;
}

.h2-subtitle {
  color: var(--yellow);
  text-transform: none;
  font-size: 3.2vw;
  font-weight: 600;
  line-height: 130%;
}

.curriculum-content-list {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  flex-flow: column;
  display: flex;
}

.curriculum-content-list-b {
  background-image: url('../images/program-list-icon.svg');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 20px;
  padding-left: 40px;
}

.curriculum-content-list-b.enquiry1 {
  background-image: url('../images/enquiry-icon1.svg');
}

.curriculum-content-list-b.enquiry2 {
  background-image: url('../images/enquiry-icon2.svg');
}

.txt-link {
  color: var(--yellow);
  font-weight: 600;
  text-decoration: underline;
}

.txt-link:hover {
  opacity: .5;
}

.txt-link.enquiry {
  color: var(--blue);
  text-decoration: none;
}

.program-dropdown {
  grid-column-gap: 80px;
  grid-row-gap: 80px;
  border-bottom: 1px solid var(--blue);
  justify-content: flex-start;
  align-items: center;
  margin-bottom: 10px;
  padding: 10px 20px;
  font-weight: 600;
  display: flex;
}

.dropdown-arrow-img {
  width: 20px;
}

.program-dropdown-content {
  padding-left: 20px;
  padding-right: 20px;
  overflow: hidden;
}

.txt-black {
  color: var(--blue);
}

.news-b {
  margin-top: -200px;
}

.news-wrap {
  grid-row-gap: 40px;
  flex-flow: wrap;
  margin-left: -20px;
  margin-right: -20px;
  display: flex;
}

.new-col {
  width: 25%;
  padding-left: 20px;
  padding-right: 20px;
}

.news-detail-photo-b {
  aspect-ratio: 5 / 3;
  border-radius: 40px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  overflow: hidden;
}

.news-detail-content-b {
  padding-top: 40px;
}

.news-detail-lightbox {
  width: 100%;
  height: 100%;
  display: block;
}

.news-detail-lightbox-col {
  width: 33.33%;
  padding-left: 20px;
  padding-right: 20px;
}

.news-detail-lightbox-photo {
  aspect-ratio: 8 / 5;
  border-radius: 20px;
  overflow: hidden;
}

.news-detail-lightbox-wrap {
  grid-row-gap: 40px;
  flex-flow: wrap;
  margin-left: -20px;
  margin-right: -20px;
  display: flex;
}

.hidden-h1 {
  width: 1px;
  height: 1px;
  margin-top: 0;
  margin-bottom: 0;
  display: none;
  overflow: hidden;
}

.event-detail-tag-b {
  text-align: center;
  padding-top: 5px;
  font-size: 16px;
  font-weight: 500;
  line-height: 100%;
}

.home-banner-content-wrap {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  justify-content: center;
  align-items: center;
  display: flex;
}

.banner-logo1 {
  width: 40%;
}

.banner-logo2 {
  width: 60%;
}

.highlign-txt {
  background-image: linear-gradient(270deg, var(--yellow), var(--yellow));
  color: var(--white);
  padding: 2px 10px;
  font-size: 20px;
  font-weight: 600;
  line-height: 160%;
}

.home-title-b {
  padding-bottom: 40px;
}

.professor-name-txt {
  font-size: 26px;
  font-weight: 500;
  line-height: 160%;
}

.diamond-bg-img, .diamond-img {
  object-fit: cover;
  height: 100%;
}

.home-highlight-wrap {
  grid-column-gap: 80px;
  grid-row-gap: 80px;
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: center;
  display: flex;
}

.home-highlight-img-col {
  width: 45%;
}

.home-highlight-content-col {
  flex: 1;
}

.home-highlight-bg-img {
  aspect-ratio: 1;
  width: 100%;
  overflow: hidden;
}

.home-highlight-img-b {
  z-index: 1;
  position: relative;
}

.diamond-highlight-img {
  object-fit: cover;
  height: 100%;
}

.home-logo-wrap {
  grid-column-gap: 80px;
  grid-row-gap: 80px;
  flex-flow: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.home-logo-content-col {
  flex: 1;
}

.home-logo-img-col {
  background-image: url('../images/home-logo-img-bg.svg');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: cover;
  width: 45%;
  max-width: 600px;
  position: sticky;
  top: 100px;
}

.home-logo-img-b {
  aspect-ratio: 1;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding-top: 10%;
  display: flex;
}

.home-logo-img-txt-b {
  color: var(--yellow);
  text-align: center;
  padding-top: 40px;
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
}

.home-logo-img {
  width: 60%;
}

.bg-pattern-r {
  width: 25vw;
  max-width: 300px;
  position: absolute;
  inset: 0% 0% auto auto;
}

.bg-pattern-l {
  width: 25vw;
  max-width: 300px;
  position: absolute;
  inset: 0% auto auto 0%;
}

.curriculum-title-b {
  padding-bottom: 40px;
}

.curriculum-title-wrap {
  justify-content: flex-start;
  align-items: flex-end;
  display: flex;
}

.curriculum-title-icon {
  flex: none;
  width: 60px;
}

.curriculum-title {
  border-bottom: 2px solid var(--yellow);
  margin-left: -30px;
  padding-bottom: 5px;
  padding-left: 40px;
}

.p-highlight {
  font-size: 22px;
  font-weight: 600;
  line-height: 130%;
}

.list-b {
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  flex-flow: column;
  padding-top: 5px;
  display: flex;
}

.list-item {
  background-image: url('../images/list-dot.svg');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: auto;
  padding-left: 18px;
  font-weight: 600;
}

.curriculum-table-title-b {
  border-bottom: 2px solid var(--white);
  background-color: var(--yellow);
  color: var(--white);
  padding: 10px 20px;
}

.curriculum-table-content-wrap {
  display: flex;
}

.curriculum-table-content {
  background-color: #d5a13240;
  flex: 1;
  padding: 10px 20px;
}

.curriculum-table-content.r {
  border-right: 2px solid var(--white);
  background-color: #d5a13280;
}

.curriculum-table-major-title {
  background-image: url('../images/major-title-icon.svg');
  background-position: 0 3px;
  background-repeat: no-repeat;
  background-size: 25px;
  border-bottom: 1px solid #1b2b5140;
  padding-top: 2px;
  padding-bottom: 5px;
  padding-left: 35px;
}

.curriculum-table-list-b {
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  flex-flow: column;
  padding-top: 10px;
  display: flex;
}

.curriculum-table-list-item {
  background-image: url('../images/curriculum-table-list-dot.svg');
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: auto;
  padding-left: 18px;
  font-weight: 600;
}

.curriculum-table-list-wrap {
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.curriculum-table-list-wrap:hover {
  opacity: .5;
}

.curriculum-table-list-link {
  flex: none;
  width: 12px;
  margin-top: 8px;
}

.curriculum-popup-container {
  z-index: 99999;
  opacity: 0;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  max-height: 100dvh;
  display: none;
  position: fixed;
  inset: 0%;
}

.curriculum-popup-bg {
  background-color: #000c;
  position: absolute;
  inset: 0%;
}

.curriculum-popup-content-container {
  z-index: 1;
  background-color: var(--white);
  max-width: 900px;
  position: relative;
  overflow: auto;
}

.curriculum-popup-colse-b {
  background-color: var(--blue);
  text-align: right;
  text-transform: uppercase;
  padding: 10px 40px;
  font-weight: 500;
}

.curriculum-popup-content {
  max-height: 80vh;
  padding: 40px;
  overflow: auto;
}

.curriculum-popup-title-b {
  border-bottom: 2px solid var(--yellow);
  padding-bottom: 10px;
  font-size: 36px;
  line-height: 130%;
}

.curriculum-popup-content-b {
  text-align: justify;
  padding-top: 10px;
  font-size: 16px;
  font-weight: 400;
  line-height: 160%;
}

.curriculum-popup-colse-link {
  color: var(--white);
}

.curriculum-popup-colse-link:hover {
  opacity: .5;
}

.pop-up-b {
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100dvh;
  padding-left: 40px;
  padding-right: 40px;
  display: flex;
  position: relative;
}

.curriculum-dropdown-container {
  padding-top: 20px;
}

.curriculum-dropdown-b {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  background-color: var(--white);
  flex-flow: column;
  padding: 20px;
  display: flex;
}

.curriculum-dropdown-b.nobg {
  background-color: var(--transprant);
}

.curriculum-dropdown {
  width: 100%;
  display: block;
}

.curriculum-dropdown-toggle {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  border-bottom: 1px solid var(--yellow);
  color: var(--blue);
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  display: flex;
}

.dropdown-txt {
  white-space: pre-wrap;
  font-size: 22px;
  font-weight: 600;
  line-height: 130%;
}

.curriculum-dropdown-arrow {
  flex: none;
  width: 20px;
}

.curriculum-dropdown-nav {
  background-color: var(--transprant);
  position: static;
  overflow: hidden;
}

.curriculum-dropdown-nav-b {
  padding: 10px 20px;
}

.admission-content-list {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  flex-flow: column;
  display: flex;
}

.admission-table-wrap {
  grid-column-gap: 2px;
  grid-row-gap: 2px;
  display: flex;
}

.admission-table-col-l {
  background-color: var(--blue);
  flex: 1;
  justify-content: flex-start;
  align-items: center;
  padding: 10px 20px;
  display: flex;
}

.admission-table-col-r {
  background-color: var(--blue);
  width: 300px;
  padding: 10px 20px;
}

.admission-table-title {
  color: var(--white);
  font-size: 28px;
  font-weight: 600;
  line-height: 130%;
}

.admission-table-list {
  grid-column-gap: 2px;
  grid-row-gap: 2px;
  flex-flow: column;
  display: flex;
}

.admission-table-content-col-l {
  background-color: var(--yellow);
  flex: 1;
  padding: 10px 20px;
}

.admission-table-content-col-r {
  background-color: var(--yellow);
  justify-content: center;
  align-items: center;
  width: 300px;
  padding: 10px 20px;
  display: flex;
}

.admission-table-content {
  color: var(--white);
  font-size: 26px;
  font-weight: 400;
  line-height: 130%;
}

.admission-table-content.bold {
  font-weight: 700;
}

.admission-list {
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  color: var(--yellow);
  flex-flow: column;
  margin-top: 5px;
  margin-bottom: 0;
  padding-left: 20px;
  font-weight: 600;
  list-style-type: decimal;
  display: flex;
}

.admission-list-content {
  color: var(--blue);
  font-weight: 600;
}

.admission-sublist {
  list-style-type: lower-roman;
}

.admission-sublist-content {
  padding-left: 5px;
  font-weight: 400;
}

.admission-btn-list {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  flex-flow: column;
  justify-content: flex-start;
  align-items: flex-start;
  display: flex;
}

.news-corner {
  aspect-ratio: 1;
  width: 25%;
  max-width: 60px;
  position: absolute;
  inset: auto auto 0% 0%;
}

.news-list-detail-tag-wrap {
  display: flex;
}

.news-list-detail-tag-side {
  flex: none;
  align-self: stretch;
}

.home-title-txt {
  text-align: center;
  text-transform: capitalize;
}

.home-banner-animation-b {
  z-index: 1;
  opacity: .55;
  pointer-events: none;
  mix-blend-mode: normal;
  position: absolute;
  inset: 0%;
}

.home-banner-animation {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.home-banner-animation-mobile {
  width: 100%;
  height: 100%;
  display: none;
  overflow: hidden;
}

.home-professor-mobile {
  display: none;
}

.tag-side-img {
  width: 8px;
  height: 100%;
}

.logo-wrap {
  grid-column-gap: 5%;
  grid-row-gap: 5%;
  flex: 1;
  justify-content: flex-start;
  align-items: center;
  max-width: 200px;
  display: flex;
}

.cdmp-logo {
  width: 42%;
}

.cdmp-logo:hover {
  transform: scale(1.05);
}

.ida-logo {
  width: 53%;
}

.ida-logo:hover {
  transform: scale(1.05);
}

@media screen and (min-width: 1280px) {
  .container {
    padding-left: 60px;
    padding-right: 60px;
  }

  .nav-b {
    grid-column-gap: 40px;
    grid-row-gap: 40px;
    font-size: 16px;
    line-height: 160%;
  }

  .nav-link {
    font-size: 16px;
    line-height: 160%;
  }

  .header-logo-wrap {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }

  .h2-subtitle {
    text-transform: none;
    font-size: 40px;
  }

  .home-logo-img-txt-b {
    font-size: 22px;
    line-height: 130%;
  }

  .curriculum-popup-title-b, .curriculum-popup-content-b {
    text-align: justify;
  }
}

@media screen and (max-width: 991px) {
  body {
    font-size: 16px;
    line-height: 160%;
  }

  h2 {
    font-size: 44px;
    line-height: 110%;
  }

  h3 {
    font-size: 34px;
  }

  .section {
    padding-top: 80px;
  }

  .section.greybg {
    margin-top: 80px;
    padding-bottom: 80px;
  }

  .section.curriculum-popup {
    background-size: 25vw;
  }

  .container {
    max-width: none;
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .handwrite-txt.home-banner {
    font-size: 2.6vw;
  }

  .map-grey-b {
    background-size: 150%;
    padding-top: 80px;
    padding-bottom: 80px;
  }

  .home-professor-wrap {
    grid-column-gap: 40px;
    grid-row-gap: 40px;
  }

  .home-professor-img-col {
    width: 30%;
  }

  .nav-menu {
    background-color: var(--white);
  }

  .nav-b {
    display: block;
  }

  .nav-link {
    padding: 20px 5vw;
    font-size: 16px;
    line-height: 160%;
  }

  .nav-link.w--current {
    color: var(--yellow);
    border-bottom-style: none;
  }

  .menu-btn.w--open {
    background-color: var(--transprant);
  }

  .nav-link-hover {
    opacity: 100;
  }

  .menu-line1 {
    background-color: var(--blue);
    border-radius: 8px;
    width: 35px;
    height: 3px;
    margin-bottom: 8px;
    padding: 0;
  }

  .menu-line2 {
    background-color: var(--blue);
    border-radius: 8px;
    width: 35px;
    height: 3px;
    padding: 0;
  }

  .menu-line3 {
    background-color: var(--blue);
    border-radius: 8px;
    width: 35px;
    height: 3px;
    margin-top: 8px;
    padding: 0;
  }

  .menu-close-line1, .menu-close-line2 {
    background-color: var(--yellow);
    border-radius: 8px;
    width: 35px;
    height: 3px;
    padding: 0;
    display: none;
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
  }

  .h2-subtitle {
    font-size: 36px;
    line-height: 130%;
  }

  .curriculum-content-list-b {
    background-size: 16px;
    padding-left: 35px;
  }

  .new-col {
    width: 50%;
  }

  .news-detail-lightbox-col {
    padding-left: 10px;
    padding-right: 10px;
  }

  .news-detail-lightbox-wrap {
    grid-row-gap: 20px;
    margin-left: -10px;
    margin-right: -10px;
  }

  .home-highlight-wrap {
    grid-column-gap: 40px;
    grid-row-gap: 40px;
  }

  .home-highlight-img-col {
    width: 30%;
  }

  .home-logo-wrap {
    grid-column-gap: 40px;
    grid-row-gap: 40px;
  }

  .home-logo-img-col {
    max-width: none;
  }

  .home-logo-img-txt-b {
    padding-top: 25px;
    font-size: 18px;
  }

  .p-highlight {
    font-size: 20px;
  }

  .curriculum-table-list-link {
    margin-top: 6px;
  }

  .curriculum-popup-title-b {
    font-size: 32px;
  }

  .pop-up-b {
    padding-left: 5vw;
    padding-right: 5vw;
  }

  .dropdown-txt {
    font-size: 20px;
  }

  .admission-table-col-r {
    width: 250px;
  }

  .admission-table-title {
    font-size: 24px;
  }

  .admission-table-content-col-r {
    width: 250px;
  }

  .admission-table-content {
    font-size: 22px;
  }
}

@media screen and (max-width: 767px) {
  h2 {
    font-size: 40px;
    line-height: 110%;
  }

  h3 {
    font-size: 30px;
    line-height: 130%;
  }

  .section {
    padding-top: 60px;
  }

  .section.greybg {
    margin-top: 60px;
    padding-bottom: 60px;
  }

  .section.curriculum-popup {
    background-size: 30vw;
  }

  .home-banner-container {
    aspect-ratio: auto;
    flex-flow: column;
  }

  .home-banner-photo-b {
    aspect-ratio: 5 / 2;
    flex: 0 auto;
    width: 100%;
  }

  .home-banner-photo-b.img1 {
    background-position: 50% 100%;
    background-size: 150%;
  }

  .home-banner-photo-b.img2 {
    background-position: 50% 80%;
  }

  .home-banner-content-b {
    aspect-ratio: auto;
    background-color: var(--grey);
    background-image: url('../images/home-banner-content-bg-m-r.svg'), url('../images/home-banner-content-bg-m.svg');
    background-position: 100%, 0%;
    background-repeat: no-repeat, no-repeat;
    background-size: auto 100%, auto 100%;
    width: 100%;
    padding: 20px 21vw 20px 20vw;
    position: relative;
    inset: 0%;
    transform: none;
  }

  .home-banner-handwrite-b {
    margin-top: -4vw;
  }

  .handwrite-txt {
    font-size: 32px;
    line-height: 110%;
  }

  .handwrite-txt.home-banner {
    font-size: 6vw;
  }

  .map-grey-b {
    background-size: 180%;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .home-professor-wrap {
    justify-content: center;
    align-items: flex-start;
  }

  .home-professor-img-col {
    width: 50%;
    max-width: 300px;
    display: none;
    position: static;
  }

  .home-professor-content-col {
    flex: 0 auto;
    width: 100%;
  }

  .header-wrap {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }

  .h2-subtitle {
    font-size: 32px;
    line-height: 130%;
  }

  .news-wrap {
    margin-left: -10px;
    margin-right: -10px;
  }

  .new-col {
    padding-left: 10px;
    padding-right: 10px;
  }

  .news-detail-lightbox-col {
    width: 50%;
  }

  .event-detail-tag-b {
    font-size: 14px;
    line-height: 100%;
  }

  .highlign-txt {
    font-size: 18px;
    line-height: 160%;
  }

  .professor-name-txt {
    font-size: 24px;
    line-height: 160%;
  }

  .home-highlight-wrap {
    justify-content: center;
    align-items: flex-start;
  }

  .home-highlight-img-col {
    width: 70%;
    position: static;
  }

  .home-highlight-content-col {
    flex: 0 auto;
    width: 100%;
  }

  .home-logo-wrap {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    justify-content: center;
    align-items: flex-start;
  }

  .home-logo-content-col {
    flex: 0 auto;
    width: 100%;
  }

  .home-logo-img-col {
    order: -1;
    width: 85%;
    position: static;
  }

  .bg-pattern-r, .bg-pattern-l {
    width: 35vw;
  }

  .p-highlight {
    font-size: 18px;
  }

  .curriculum-table-content-wrap {
    display: block;
  }

  .curriculum-table-content.r {
    border-right-style: none;
  }

  .curriculum-popup-title-b {
    font-size: 28px;
  }

  .curriculum-dropdown-b {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    padding: 10px;
  }

  .curriculum-dropdown-toggle {
    padding-left: 10px;
    padding-right: 10px;
  }

  .dropdown-txt {
    font-size: 18px;
  }

  .curriculum-dropdown-nav-b {
    padding-left: 10px;
    padding-right: 10px;
  }

  .admission-content-list {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }

  .admission-table-col-r {
    width: 220px;
  }

  .admission-table-title {
    font-size: 22px;
  }

  .admission-table-content-col-r {
    width: 220px;
  }

  .admission-table-content {
    font-size: 20px;
  }

  .admission-btn-list {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }

  .home-banner-animation {
    display: none;
  }

  .home-banner-animation-mobile {
    display: block;
  }

  .home-professor-mobile {
    width: 50%;
    max-width: 300px;
    padding-bottom: 40px;
    display: block;
  }
}

@media screen and (max-width: 479px) {
  h2 {
    font-size: 36px;
    line-height: 110%;
  }

  h3 {
    font-size: 26px;
    line-height: 130%;
  }

  .handwrite-txt {
    font-size: 28px;
    line-height: 110%;
  }

  .map-grey-b {
    background-size: 250%;
  }

  .map-grey-b.news {
    padding-bottom: 190px;
  }

  .home-professor-img-col {
    width: 80%;
  }

  .footer-container {
    font-size: 14px;
    line-height: 110%;
  }

  .nav-link {
    font-size: 14px;
    line-height: 160%;
  }

  .header-logo-wrap {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }

  .cuhk-logo:hover {
    transform: scale3d(1none, 1none, 1none);
  }

  .header-logo-border {
    width: 1px;
    height: 35px;
  }

  .menu-line1 {
    width: 28px;
    height: 2px;
    margin-bottom: 5px;
  }

  .menu-line2 {
    width: 28px;
    height: 2px;
  }

  .menu-line3 {
    width: 28px;
    height: 2px;
    margin-top: 5px;
  }

  .menu-close-line1, .menu-close-line2 {
    width: 28px;
    height: 2px;
  }

  .h2-subtitle {
    font-size: 30px;
  }

  .curriculum-content-list-b {
    background-position: 0 3px;
    background-size: 12px;
    padding-left: 18px;
  }

  .news-b {
    margin-top: -150px;
  }

  .new-col {
    width: 100%;
  }

  .news-detail-lightbox-col {
    padding-left: 5px;
    padding-right: 5px;
  }

  .news-detail-lightbox-photo {
    border-radius: 10px;
  }

  .news-detail-lightbox-wrap {
    grid-row-gap: 10px;
    margin-left: -5px;
    margin-right: -5px;
  }

  .professor-name-txt {
    font-size: 22px;
    line-height: 160%;
  }

  .home-highlight-img-col {
    width: 80%;
  }

  .home-logo-img-col {
    width: 100%;
  }

  .curriculum-table-title-b {
    padding: 5px 10px;
  }

  .curriculum-popup-colse-b {
    padding-left: 20px;
    padding-right: 20px;
  }

  .curriculum-popup-content {
    padding: 20px;
  }

  .curriculum-popup-title-b {
    font-size: 24px;
  }

  .dropdown-txt {
    font-size: 16px;
    line-height: 130%;
  }

  .admission-table-wrap {
    grid-column-gap: 1px;
    grid-row-gap: 1px;
  }

  .admission-table-col-l {
    padding: 5px 10px;
  }

  .admission-table-col-r {
    flex: 1;
    width: auto;
    padding: 5px 10px;
  }

  .admission-table-title {
    font-size: 18px;
    line-height: 130%;
  }

  .admission-table-list {
    grid-column-gap: 1px;
    grid-row-gap: 1px;
  }

  .admission-table-content-col-l {
    padding: 5px 10px;
  }

  .admission-table-content-col-r {
    flex: 1;
    width: auto;
    padding: 5px 10px;
  }

  .admission-table-content {
    font-size: 16px;
    line-height: 130%;
  }

  .home-title-txt {
    font-size: 32px;
    line-height: 110%;
  }

  .home-professor-mobile {
    width: 80%;
  }
}


