:root {
    --page-size: 1440px;
    --container-max-width: 1260px;
    --clr-primary: #800020;
    --clr-primary-rgb: 128, 0, 32;
    --clr-text: #181818;
    --title-font: 'Lora', 'PingFang TC', 'PingFang SC' !important;
    --text-font: 'Roboto', 'PingFang TC', 'PingFang SC' !important;
    --nav-height: 180px;
    --nav-height-mobile: 120px;
}
::-webkit-scrollbar {
    width: 10px;
}
/* Track */
::-webkit-scrollbar-track {
background: rgba(0,0,0,0); 
}

/* Handle */
::-webkit-scrollbar-thumb {
background: var(--clr-primary); 
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
background: #570016; 
}
/*pre-load image*/
body::after{
    position:absolute; width:0; height:0; overflow:hidden; z-index:-1;
    content:url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand.svg) url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-close.svg) 
            url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/knot-separate.svg) url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-menu-close-button.svg)
            url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-yellow.svg) url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-close-yellow.svg)
            url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/knot-separate-long.svg) url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/knot-separate-mobile.svg);
 }
body {
    font-family: var(--text-font);
    overflow-x: hidden;
}
body.scroll-lock {
    overflow-y: hidden;
}
.visually-hidden {
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
    height: 1px;
    overflow: hidden;
    position: absolute;
    white-space: nowrap;
    width: 1px;
}
@media (max-width: 820px) {
    .visually-hidden-mobile {
        clip: rect(0 0 0 0);
        clip-path: inset(50%);
        height: 1px;
        overflow: hidden;
        position: absolute;
        white-space: nowrap;
        width: 1px;
    }
}
li>ol, li>ul {
    margin-left: 2.2em;
}

@media print{
  header {
    position:unset !important;	
  }
}

.embed-container { 
    position: relative; 
    padding-bottom: 56.25%;
    overflow: hidden;
    max-width: 100%;
    height: auto;
} 

.embed-container iframe,
.embed-container object,
.embed-container embed { 
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.navigation-tab {
    display: flex;
      flex-wrap: wrap;
    column-gap: 24px;
    row-gap: 24px;
    margin-top: 30px;
    margin-bottom: 30px;
}
.navigation-tab a {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px 10px;
    font-size: 87.5%;
    min-width: 200px;
    background-color: #E4E4E4 !important;
    color: #595A5B !important;
    text-decoration: none !important;
}
.navigation-tab a:hover ,
.navigation-tab a.active {
    color: white !important;
    background-color: var(--clr-primary) !important;
}
.navigation-tab.sub-tab a:hover ,
.navigation-tab.sub-tab a.active {
    color: white !important;
    background-color: #BB2C46 !important;
}
.navigation-tab a.hide {
    display: none;
}
.navigation-tab-select {
    margin-top: 30px;
    margin-bottom: 30px;
    position: relative;
}
.navigation-tab-select .inactive {
    display: none !important;
}
.navigation-tab-select .current {
    position: relative;
}
.navigation-tab-select a {
    display: flex;
    font-weight: 500;
    font-size: 112.5%;    
    min-height: 70px;
    align-items: center;
    padding-top: 24px;
    padding-bottom: 24px;
    padding-left: 20px;
    color: var(--clr-text) !important;
    text-decoration: none !important;
}
.navigation-tab-select li a:hover,
.navigation-tab-select li.active a,
.navigation-tab-select a.active {
    color: white !important;
    background-color: var(--clr-primary) !important;
}
.navigation-tab-select .current .toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    width: 18px;
    height: 11px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-toggle.svg);
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.35s ease-in-out;
}
.navigation-tab-select.active  .current .toggle {
    transform: rotate(180deg);
}
.navigation-tab-select ul {
    position: absolute;
    bottom: 0;
    left: 0;
    list-style: none;
    margin: 0;
    display: none;
    width: 100%;
    background-color: white;
    transform: translateY(100%);
    z-index: 5;
}
.navigation-tab-select ul li {
    padding: 0 !important;
    margin: 0 !important;
    position: unset !important;
}
.navigation-tab-select ul li::before {
    display: none;
}
.navigation-tab-select.active ul {
    display: block;
}
.nav-tab-swiper-container {
    width: 100%;
    position: relative;
}
.nav-tab-swiper-container .swiper-prev,
.nav-tab-swiper-container .swiper-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-repeat: no-repeat;
    background-size: contain;
    cursor: pointer;
}
.nav-tab-swiper-container .swiper-prev {
    left: 0;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-prev-red.svg);
}
.nav-tab-swiper-container .swiper-next {
    right: 0;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-next-red.svg);
}
.nav-tab-swiper-container .swiper-slide {
    padding: 24px 10px;
}
.nav-tab-swiper-container a {
    display: inline-block;
    text-align: center;
    min-width: 120px;
    padding: 24px 10px;
    background-color: #E4E4E4;
    font-size: 87.5%;
    color: #595A5B !important;
    text-decoration: none !important;
}
.nav-tab-swiper-container a.active {
    background-color: var(--clr-primary);
    color: white !important;
}

.swiper-slide:has(> a.hide) {
  display:none !important;
}

/*.nav-tab-swiper-container a.hide > .swiper-slide {
    display:none !important;
}*/
.navigation-tab-swiper {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
}
.navigation-tab-swiper .swiper-wrapper {

}
.navigation-tab-swiper .swiper-slide {
    width: unset;
}
.container {
    width: 100%;
    height: 100%;
    max-width: var(--container-max-width);
    box-sizing: border-box;
    padding-left: 1rem;
    padding-right: 1rem;
    margin-left: auto;
    margin-right: auto;
}
.container.max {
    max-width: var(--page-size);
    padding: 0;
}
.main-content > .container {
    height: unset;
}
.font-small {
    font-size: 87.5%;
}
.font-default {
    font-size: 100%;
}
.font-large {
    font-size: 112.5%;
}

.page-item-1819 .toggle-btn,
.page-item-16679 .toggle-bth,
.page-item-16690 .toggle-btn{
 display:none;
}

.page-item-16679 .toggle-btn {
 display:none;
}


.font-small.active,
.font-default.active,
.font-large.active,
.lang-switch .en.active a,
.lang-switch .zh-hant.active a,
.lang-switch .zh-hans.active a {
    color: #ED1C24 !important;
}
.knot-separate {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/knot-separate.svg);
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 217px;
    height: 30px;
    margin-left: auto;
    margin-right: auto;
}
.knot-separate.white {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/knot-separate-white.svg);
}
.knot-separate-block {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    height: 30px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.knot-separate-block::after {
    position: absolute;
    content: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/knot-separate-long.svg);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@media(max-width: 820px) {
    .knot-separate-block::after {
        content: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/knot-separate-mobile.svg);
    }
}
/*Custom Select*/
.custom-select {
    position: relative;
}
.custom-select select {
    display: none;
}
.select-selected {
    background-color: white;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.select-selected:after {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    width: 15px;
    height: 9px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-arrow-black.svg);
    transform-origin: center;
}
.select-selected.select-arrow-active:after {
    transform: translateY(-50%) rotate(180deg);
}
.select-items div,.select-selected {
    color: var(--clr-text);
    padding: 8px 50px 8px 16px;
    border: 1px solid #757575;
    /*border-color: transparent transparent rgba(0, 0, 0, 0.1) transparent;*/
    cursor: pointer;
    min-width: 200px;
}
@media(max-width: 820px) {
    .custom-select,
    .select-items div,.select-selected {
        min-width: unset;
        width: 100%;
    }
    .select-items {
        max-height: 200px;
        overflow: auto;
    }
}
.select-items {
    position: absolute;
    background-color: white;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
}
.select-hide {
    display: none;
}
.select-items div:hover, .same-as-selected {
    background-color: var(--clr-primary);
    color: white !important;
}
.box {
    box-shadow: 0px 2px 30px rgba(28, 37, 44, 0.08);
}
.flex {
    display: flex;
}
.swiper-pagination-bullet {
    width: 20px !important;
    height: 15px !important;
    border-radius: unset !important;
    opacity: unset !important;
    background: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-slider-bullet.svg) !important;
}
.swiper-pagination-bullet-active {
    background: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-slider-bullet-active.svg) !important;
}
.mobile,
.mobile-860 {
    display: none;
}
@media (max-width: 1024px) {
    .desktop-1024 {
        display: none !important;
    }
}
@media (max-width: 860px) {
    .desktop-860 {
        display: none !important;
    }
    .mobile-860 {
        display: block;
    }
}
@media (max-width: 820px) {
    .desktop {
        display: none !important;
    }
    .mobile {
        display: block;
    }
}
.banner {
    position: relative;
    /*padding-top: calc(300 / 1440 * 100%);*/
    /*background-repeat: no-repeat;*/
    /*background-position: center;*/
    /*background-size: cover;*/
    /*min-height: 150px;*/
    /*min-width: 720px;*/
}
.banner .banner-image{
    padding-top: calc(300 / 1440 * 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    min-height: 150px;
    /* min-width: 720px; */
}
.home-swiper .video-wrapper {
    width: 100%;
    height: 100%;
    padding-top: calc(450 / 1440 * 100%);
    position: relative;
    background-color: black;
}
@media(max-width: 820px) {
    .home-swiper .video-wrapper {
        min-height: 100px;
    }
}
.home-swiper .video-wrapper video {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}
.home-swiper .swiper-slide .banner-title,
.banner .banner-title {
    position: absolute;
    display: flex;
    align-items: center;
    bottom: 0;
    left: 0;
    min-width: 42vw;
    max-width: 80%;
    background-color: rgba(var(--clr-primary-rgb), 0.7);
    color: white;
    font-size: 275%;
    font-weight: 700;
    padding-left: calc(100vw / 2 - var(--container-max-width) / 2);
    padding-right: 45px;
    padding-top: 24px;
    padding-bottom: 24px;
}
.banner-title .image-container {
    display: flex;
    align-items: center;
}
.banner ~ .red-bar {
    width: 100vw;
    height: 10px;
    background-color: var(--clr-primary);
}
@media (max-width: 1440px) {
    .banner .banner-title {
        padding-left: 20px;
        text-transform: capitalize;
    }
}
@media (max-width: 820px) {
    .banner .banner-title {
        padding-top: 20px;
        padding-bottom: 20px;
        font-size: 125%;
        width: 100%;
        padding-left: 20px;
        position: static;
        margin: 0px !important;
        max-width: unset;
    }
}
.expandable {
    cursor: pointer;
    width: 100%;
}
.expandable-content {
    display: none;
    flex-direction: column;
    width: 100%;
}
.expandable.active + .expandable-content {
    display: flex;
}
.expandable.active > .expandable-content {
    display: flex;
}
.expand-sign, .expand-arrow {
    position: relative;
}
.expand-sign::after, .expand-arrow::after {
    position: absolute;
    content: '';
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
}
.expand-sign::after {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-primary.svg);
}
.expand-sign.active::after {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-close-primary.svg);
}
.expand-arrow::after {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-arrow.svg);
}
.expand-arrow.active::after {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-close-arrow.svg);
}
/*Go to top*/
.go-to-top {
    position: fixed;
    bottom: 10%;
    right: 10%;
    width: 48px;
    height: 48px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-go-top-top.svg);
    background-position: center;
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 100;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.35s ease-in-out;
}
.go-to-top.active {
    opacity: 1;
    pointer-events: all;
}
.go-to-top.sticky-footer {
    position: absolute;
    bottom: unset;
    top: 0;
    transform: translateY(-50%);
}
/*Header*/
#page > header.site-header {
    background-color: var(--clr-primary);
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
}
.site-header nav, .site-header nav a {
    color: var(--clr-text);
}
.site-header nav {
    background-color: white;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/nav-background.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 120px;
}
.site-header .site-logo img {
    max-height: 80px;
}
.site-header nav .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.site-header nav .container .main-nav {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
}
.site-header nav .container .main-nav li {
    flex-shrink: 0;
    margin-left: 30px;
}
.site-header nav .container .main-nav li > div:not(.font-size-switch) {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
}
.site-header nav .container .main-nav .font-size-switch span {
    cursor: pointer;
}
.site-header nav .container .main-nav li > .social a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.site-header nav .container .main-nav .social > a:not(:nth-child(1)) {
    margin-left: 1rem;
}
.site-header nav .container .main-nav .lang-switch > span:not(:last-of-type) {
    position: relative;
    padding-right: 8px;
    margin-right: 8px;
}
.site-header nav .container .main-nav .lang-switch > span:not(:last-of-type)::after {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    height: 80%;
    width: 1px;
    background-color: var(--clr-text);
}
.site-header nav .container .main-nav .nav-menu-btn {
    cursor: pointer;
    width: 24px;
    height: 24px;
}
header .sub-menu {
    background-color: #434343;
    height: 60px;
    font-family: var(--title-font);
}
header .sub-menu ul {
    display: flex;
    align-items: center;
    justify-content: space-around;
    list-style: none;
    margin: 0;
    margin-left: auto;
    margin-right: auto;
    max-width: var(--container-max-width);
    height: 100%;
}
header .sub-menu li {
    display: flex;
    align-items: center;
    height: 100%;
    color: #FFC548;
}
header .sub-menu li a {
    color: #FFC548;
    font-size: 137.5%;
}
header .site-search-overlay {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #FFFFFF;
}
header .site-search-overlay.active {
    display: flex;
}
header .site-search-btn {
    width: 31px;
    height: 31px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-search.svg);
    background-repeat: no-repeat;
    background-position: center;
    cursor: pointer;
}
header .site-search-overlay .site-search-form {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
header .site-search-overlay .site-search-form .site-search-input {
    width: 100%;
    max-width: 540px;
    height: 53px;
    margin-bottom: 44px;
    border: 0;
    text-align: center;
    font-size: 30px;
}
header .site-search-overlay .site-search-form .site-search-input:focus {
    border: 0;
    outline: 0;
}
header .site-search-overlay .site-search-close-btn {
    position: absolute;
    top: 8%;
    right: 8%;
    width: 27px;
    height: 27px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-overlay-close.svg);
    cursor: pointer;
}
@media (max-width: 950px) {
    nav .container .main-nav li {
        margin-left: 25px;
    }
}
@media (max-width: 820px) {
    header nav .container {

    }
    nav .container .main-nav .site-logo {
        width: 80%;
    }
    nav .container .main-nav li:nth-child(1) {
        margin-right: 10px;
    }
    nav .container .main-nav li {
        margin-left: 15px;
    }
    .site-header nav .container .main-nav li {
        margin-left: 0px;
    }
}
@media (max-width: 550px) {
    nav .container .main-nav li {
        margin-left: 5px;
    }
    nav .site-logo img {
        width: 90%;
    }
}
/*Header mobile menu*/
.mobile-overlay {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    background-color: rgba(24, 24, 24, 0.7);
    z-index: 1100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease-in-out;
}
.mobile-overlay.active {
    opacity: 1;
    pointer-events: all;
}
.mobile-overlay .red-bar {
    height: 10px;
    width: 100%;
    background-color: var(--clr-primary);
}
.mobile-overlay .mobile-menu-container {
    height: 100vh;
    width: 35vw;
    margin-left: auto;
    background-color: white;
    box-sizing: border-box;
    padding-left: 37px;
    padding-top: 50px;
    padding-bottom: 50px;
    transform: translateX(100%);
    transition: transform 0.35s ease-in-out;
}
.mobile-overlay.active .mobile-menu-container {
    transform: translateX(0%);
}
.mobile-overlay .mobile-menu-container .menu-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 50px;
    margin-bottom: 40px;
}
.mobile-overlay .mobile-menu-container .menu-list {
    padding-top: 50px;
    padding-bottom: 250px;
    max-height: 100%;
    overflow: auto;
}
.mobile-overlay .mobile-menu-container .menu-list .home-url {
    display: inline-block;
    font-size: 112.5%;
    color: var(--clr-text);
    margin-bottom: 50px;
}
.mobile-overlay .mobile-menu-container .menu-close-btn {
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-menu-close-button.svg);
    background-position: center;
    background-size: contain;
    margin-left: auto;
    margin-right: 43px;
    cursor: pointer;
}
.mobile-menu .svg-icon {
    display: none;
}
.mobile-overlay .mobile-menu-container .mobile-menu {
    margin: 0;
    list-style: none;
    margin-bottom: 50px;
    padding-right: 43px;
}
.mobile-overlay .mobile-menu-container .mobile-menu > li:not(:nth-of-type(1)) {
    margin-top: 50px;
    
}
.mobile-overlay .mobile-menu-container .mobile-menu a {
    font-size: 112.5%;
    color: var(--clr-text);
}
.mobile-overlay .mobile-menu-container .mobile-menu .sub-menu{
    margin: 0;
    list-style: none;
}
.mobile-overlay .mobile-menu-container .mobile-menu .sub-menu > li{
    margin-top: 30px;
    margin-left: 20px;
    padding-right: 30px;
}
.menu-item-has-children{
    position: relative;
}
.menu-item-has-children .toggle-btn {
    position: absolute;
    width: 13px;
    height: 13px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand.svg);
    background-position: center;
    background-size: 13px 13px;
    top: 0;
    transform: translateY(50%);
    right: 5px;
    cursor: pointer;
}
.menu-item-has-children.active > .toggle-btn {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-close.svg);
}
.mobile-overlay .mobile-menu-container .mobile-menu .menu-item-has-children ul.sub-menu {
    display: none;
}
.mobile-overlay .mobile-menu-container .mobile-menu .menu-item-has-children ul.sub-menu.active {
    display: block;
}
.mobile-overlay .mobile-menu-container .bottom-menu {
    margin-top: 50px;
    list-style: none;
}
.mobile-overlay .mobile-menu-container .bottom-menu li:not(:nth-of-type(1)) {
    margin-top: 50px;
}
.mobile-overlay .mobile-menu-container .bottom-menu li a {
    font-size: 112.5%;
    font-weight: 500;
    color: var(--clr-primary);
    font-family: var(--title-font);
}
.mobile-overlay .mobile-menu-container .social {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: 30px;
    margin-top: 40px;
}
.mobile-overlay .mobile-menu-container .lang-switch {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}
.mobile-overlay .mobile-menu-container .lang-switch a {
    color: var(--clr-text);
}
.mobile-overlay .mobile-menu-container .lang-switch span:not(:last-of-type) {
    position: relative;
    margin-right: 15px;
    padding-right: 15px;
}
.mobile-overlay .mobile-menu-container .lang-switch span:not(:last-of-type)::after {
    position: absolute;
    content: '';
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 1px;
    height: 70%;
    background-color: var(--clr-text);
}
@media (max-width: 1150px) {
    .mobile-overlay .mobile-menu-container {
        width: 50vw;
    }
}
@media (max-width: 820px) {
    .mobile-overlay .mobile-menu-container {
        width:100vw;
    }
}
/*Footer*/
footer {
    position: relative;
    background-color: var(--clr-primary) !important;
    padding-top: 40px;
    padding-bottom: 40px;
}
footer, footer a, footer .grid, footer .heading, footer .copyright-text {
    color: #fff;
}
footer .copyright-text {
    text-align: center;
    margin-top: 50px;
    margin-left: 10px;
    margin-right: 10px;
}
footer a:hover {
    color: white;
}
footer .heading {
    font-weight: 700;
    margin-top: 25px;
    margin-bottom: 25px;
}
footer .container {
    display: flex;
}
footer .container .contact .logo {
    display: flex;
}
footer .container .contact .logo img {
    max-width: 150px;
    max-height: 120px;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
footer .container .contact .icon-row {
    display: flex;
    justify-content: space-around;
    align-items: center;
}
footer .contact .grid {
    display: grid;
    grid-template-columns: 0.5fr 1fr;
    color: #fff;
    row-gap: 20px;
}
footer .contact .grid > div:nth-of-type(2n+1){
    font-weight: 700;
}
footer .contact .grid a {
    text-decoration: underline;
}
footer .footer-menu {
    display: flex;
    justify-content: space-around;
    width: 100%;
}
footer .footer-menu .knot-separate {
    margin-top: 30px;
}
footer .footer-menu .col-1-2 {
    display: flex;
    width: 66.6%;
    justify-content: space-around;
}
footer .footer-menu ul {
    list-style: none;
    margin: 0;
}
footer .footer-menu ul li {
    margin-top: 20px;
}
@media (max-width: 950px) {
    footer .container {
        flex-direction: column;
    }
    footer .container .grid {
        grid-template-columns: 60px 1fr;
    }
    footer .container .contact .icon-row {
        justify-content: flex-start;
        column-gap: 1.5rem;
    }
    footer .footer-menu {
        justify-content: space-between;
        flex-direction: column;
        row-gap: 1.5rem;
    }
    footer .footer-menu .col-1-2 {
        justify-content: space-between;
    }
}
@media (max-width: 620px) {
    footer .footer-menu .col-1-2 {
        width: 100%;
    }
}
/*main*/
main {
    margin-top: var(--nav-height);
    min-height: 50vh;
    padding-top: 0 !important;
}
@media (max-width: 820px) {
    main {
        margin-top: var(--nav-height-mobile);
    }
}
main.has-animated-background {
    background-color: transparent;
        background-repeat: no-repeat;
        background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/image/inks/a.png), 
                          url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/image/inks/b.png),
                          url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/image/inks/c.png),
                          url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/image/inks/d.png),
                          url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/image/inks/e.png);
        background-size: 15%,
                         15%,
                         30%,
                         20%,
                         20%;
        animation: snow 60s linear infinite;
        animation-direction: alternate;
}
@keyframes snow {
    0% { 
        background-position:   0% 40%,
                               20% 55%,
                               110% 65%,
                               -10% 85%,
                               90% 20%
    }
    100% {
         background-position: 80% 40%,
                              100% 55%,
                              10% 55%,
                              75% 85%,
                              -10% 20%
    }
}
/*share btns & page nav*/
.row-nav-share {
    display: flex;
}
.row-nav-share .page-nav {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
.row-nav-share .page-nav a {
    color: var(--clr-text);
    /* max-width: 500px; */
    /* flex-shrink: 0; */    
    word-break: break-word;
}
.row-nav-share .page-nav a:nth-of-type(1) {
    flex-shrink: 0;
}
.row-nav-share.shop {
    display: block;
}
.row-nav-share.shop .row {
    display: flex;
    align-items: center;
    margin-top: 40px;
}
.row-nav-share.shop .row,
.row-nav-share.shop .row a{
    color: var(--clr-primary);
    font-weight: 600;
    font-family: var(--title-font);
    font-size: 125%;
}
.row-nav-share.shop .shop-menu {
    display: flex;
    align-items: center;
    column-gap: 34px;
}
.row-nav-share.shop .shop-menu .cart {
    position: relative;
    padding-right: 45px;
}
.row-nav-share.shop .shop-menu .cart::after {
    position: absolute;
    content: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-shopping-cart.svg);
    width: 31px;
    height: 31px;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}
.row-nav-share.shop .shop-menu .cart #mini-cart-info{
    line-height: 110%;
}
.row-nav-share.shop .my-account-container {
    position: relative;
}
.row-nav-share.shop .shop-my-account-btn {
    cursor: pointer;
}
.row-nav-share.shop .shop-my-account-btn.active + .my-account-list {
    display: flex;
}
.row-nav-share.shop .my-account-list {
    position: absolute;
    display: none;
    flex-direction: column;
    row-gap: 16px;
    list-style: none;
    bottom: 0;
    left: 0;
    width: 100%;
    transform: translateY(100%);
    background-color: white;
    box-shadow: 0px 2px 30px rgba(28, 37, 44, 0.08);
    padding: 20px 10px;
    z-index: 10;
    margin-left: 0;
    margin-bottom: 0;
}
.row-nav-share.shop .my-account-list a {
    font-size: 100% !important;
}
.shop-cat-menu-toggle {
    width: 30px;
    height: 30px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-shop-cat-menu.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.share-btns {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    column-gap: 1rem;
    margin-left: auto;
}
.share-btns .text-btn,
.share-btns .print-btn,
.share-btns .share-btn {
    cursor: pointer;
    width: 31px;
    height: 31px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.share-btns > .text-btn {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-text.svg);
    width: 41px;
    height: 41px;
}
.share-btns > .print-btn {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-print.svg);
}
.share-btns > .share-btn {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-share.svg);
    position: relative;
}
/* .share-btns > .share-btn:hover .share-menu {
    display: flex;
} */
.share-btns > .share-btn .share-menu {
    position: absolute;
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 68px;
    bottom: 0;
    left: 50%;
    background-color: white;
    border: 0.5px #D8D8D8 solid;
    transform: translate(-50%, 110%);
    z-index: 10;
    padding-top: 10px;
}
.share-btns > .share-btn .share-menu.active {
    display: flex;
}
.share-btns > .share-btn .share-menu::before,
.share-btns > .share-btn .share-menu::after {
    position: absolute;
    content: '';
    top: 0;
    left: 50%;
    transform: translate(-50%, -70%);
    width: 11px;
    height: 11px;
    background-color: #D8D8D8;
    clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.share-btns > .share-btn .share-menu::after {
    background-color: white;
    transform: translate(-50%, -47.5%);
    clip-path: polygon(50% 0, 75% 50%, 100% 50%, 100% 100%, 0 100%, 0 50%, 25% 50% );
}
.share-btns > .share-btn .share-menu div {
    display: flex;
    justify-content: center;
    align-items: center;
}
@media(max-width: 820px) {
    .row-nav-share {
        flex-direction: column;
        row-gap: 20px;
    }
    .row-nav-share > .share-menu {
        flex-direction: column;
        margin-left: auto;
    }
    .row-nav-share.shop .row {
        flex-direction: column-reverse;
        row-gap: 30px;
        margin-top: 10px !important;
    }
    .row-nav-share.shop .row, .row-nav-share.shop .row a {
        font-size: 112.5%;
    }
    .row-nav-share.shop .row > :nth-child(1) {
       margin-right: auto;
    }
    .row-nav-share.shop .row > :nth-child(2) {
        margin-left: auto;
    }
    .row-nav-share.shop .shop-menu {
        width: 100%;
    }
    .shop-cat-menu-toggle{
        margin-left: auto;
    }
}
@media(max-width: 500px) {
    .shop-cat-menu-toggle{
        margin-left: unset;
    }
    .row-nav-share.shop .shop-menu {
        column-gap: unset;
        justify-content: space-between;
    }
}
@media (max-width: 400px) {
    .row-nav-share.shop .row, .row-nav-share.shop .row a {
        font-size: 100%;
    }
}
/*front page*/
.hero .home-swiper {
    position: relative;
}
.hero .home-swiper .swiper-slide {
    position: relative;
    /*padding-top: calc(450/1440 * 100%);*/
    /*background-repeat: no-repeat;*/
    /*background-position: center;*/
    /*background-size: cover;*/
    /*background-color: #EFF0F0;*/
}
.hero .home-swiper .swiper-slide .banner-image {
    position: relative;
    padding-top: calc(450/1440 * 100%);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    background-color: #EFF0F0;
}
@media(max-width: 820px) {
    .hero .home-swiper .swiper-slide .banner-image {
        min-height: 100px;
    }
}
.home-swiper .swiper-slide .banner-title {
    position: absolute;
    bottom: 0;
    left: 0;
    font-size: unset;
    display: flex;
    width: 50%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}
@media (max-width: 820px) {
    .home-swiper .swiper-slide .banner-title {
        position: relative;
    }
}
.home-swiper .swiper-slide .banner-title .text {
    font-size: 200%;
}
.home-swiper .swiper-slide .banner-title .small-text {
    font-size: 100%;
    width: 80%;
    font-weight: 400;
}
@media(max-width: 1260px) {
    .home-swiper .swiper-slide .banner-title {
        width: 80%;
        padding-left: 1rem;
    } 
    .home-swiper .swiper-slide .banner-title .small-text {
        width: 95%;
    }
}
@media(max-width: 820px) {
    .home-swiper .swiper-slide .banner-title {
        max-width: 100%;
        padding-left: 0.5rem;
        padding-right: 1rem;
        padding-top: 8px;
        padding-bottom: 8px;
        width: 100%;
    } 
    .home-swiper .swiper-slide .banner-title .text {
        font-size: 120%;
    }
    .home-swiper .swiper-slide .banner-title .small-text {
        font-size: 70%;
    }
    .hero .home-swiper .swiper-pagination {
        top: 0;
    }
}
.hero .home-swiper .swiper-pagination {
    width: fit-content;
    left: unset;
    right: 0;
    margin-right: 20px;
}
@media (min-width: 1440px) {
    .hero .home-swiper .swiper-pagination {
        margin-right: calc(100vw / 2 - var(--container-max-width) / 2 + 1rem);
    }
}
/*Default template Page.php */
main.default .main-content{
    margin-top: 30px;
    margin-bottom: 30px;
}
main.default .main-content .content-title {
    color: var(--clr-primary);
    font-family: var(--title-font);
    font-size: 156.25%;
    font-weight: 600;
    margin-bottom: 30px;
}
/*front-page news section*/
.news-section {
    margin-top: 20px;
    margin-bottom: 50px;
}
.news-section .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 30px;
    column-gap: 30px;
    margin-top: 20px;
}
.news-section .news-grid > div {
    background-color: transparent;
}
.news-section .news-grid > div:nth-of-type(n+2) {
    max-width: 385px;
    max-height: 385px;
}
.news-section .news-grid .whats-news {
    grid-row: span 2;
    position: relative;
    box-sizing: border-box;
    padding-bottom: 21px;
    display: flex;
    flex-direction: column;
}
.news-section .news-grid .whats-news .heading {
    position: absolute;
    padding: 15px 22px;
    font-weight: 700;
    font-family: var(--title-font);
    top: 0;
    right: 0;
    background-color: #DEA62C;
    color: white;
}
.news-section .news-grid .whats-news .news-list {
    margin-top: 110px;
    height: 70%;
    overflow-y: auto;
    box-sizing: border-box;
    padding-right: 20px;
}
.news-section .news-grid .whats-news .news-list .news:not(:first-of-type){
    margin-top: 56px;
}
.news-section .news-grid .whats-news .news-list .news{
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 20px;
}
.news-section .news-grid .whats-news .news-list .news .date{
    display: flex;
    flex-direction: column;
    font-weight: 500;
    align-items: center;
    justify-content: center;
    color: white;
    background-color: var(--clr-primary);
    width: 72px;
    height: 61px;
    flex-shrink: 0;
    margin-bottom: auto;
    margin-top: 10px;
}
.news-section .news-grid .whats-news .news-list .news .news-title{
    font-family: var(--title-font);
    font-weight: 500;
    color: var(--clr-text);
    width: 100%;
}
.news-section .news-grid .whats-news .news-title a {
    color: var(--clr-text);
}
.news-section .news-grid .whats-news .news-title a:hover {
    color: var(--clr-primary);
}
.news-section .news-grid .whats-news .read-more{
    width: fit-content;
    margin-top: auto;
    margin-left: auto;
    margin-right: 20px;
}
.news-section .news-grid .whats-news .read-more a{
    font-family: var(--title-font);
    font-weight: 500;
    color: var(--clr-primary);
}
.news-section .news-grid .card{
    position: relative;
    overflow: hidden;
    height: calc(384 / 385 * 100vw);
}
.news-section .news-grid .card img{
    /*object-fit: cover;*/
    width: 100%;
    height: 100%;
    max-width: unset;
    transition: transform 0.5s ease-in-out;
}
@media (min-width: 1000px) {
    .news-section .news-grid .card:hover img{
        transform: scale(1.02);
    }
}
.news-section .news-grid .card .title{
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 18px 0;
    width: 50%;
    background-color: rgba(67, 67, 67, 0.85);
    color: white;
    font-weight: 700;
    font-family: var(--title-font);
}
@media (max-width: 1150px) {
    .news-section .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .news-section .news-grid .whats-news {
        grid-row: span 1;
        grid-column: span 2;
    }
    .news-section .news-grid > div:nth-of-type(n+2) {
        max-height: unset;
        max-width: unset;
    }
}
@media (max-width: 820px) {
    .news-section .news-grid {
        display: flex;
        flex-direction: column;
    }
}
/*front-page discover section*/
.discover-section {
    margin-top: 50px;
}
.discover-section .heading {
    color: var(--clr-primary);
    font-weight: 700;
    font-family: var(--title-font);
    font-size: 218.75%;
}
.discover-section .grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 30px;
    row-gap: 20px;
    margin-top: 35px;
    margin-bottom: 60px;
}
.discover-section .card {
    position: relative;
    max-width: 385px;
    max-height: 280px;
    overflow: hidden;
    
}
.discover-section .card img {
    width: 100%;
    height: 100%;
    max-width: unset;
    object-fit: cover;
    transition: transform 0.5s ease-in-out;
}
@media (min-width: 1000px) {
    .discover-section .card:hover img{
        transform: scale(1.02);
    }
}
.discover-section .card .title {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(67, 67, 67, 0.85);
    color: white;
    font-weight: 700;
    font-family: var(--title-font);
    text-align: center;
    max-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.discover-section .card .title .image-container {
    height: 100%;
    box-sizing: border-box;
    padding: 10px 0;
}
.discover-section .card .title .image-container img {
    object-fit: contain;
    max-height: 60px;
    transition: none;
}
.discover-section .card .title .image-container img:hover {
    transform: scale(1);
}
@media (max-width: 820px) {
    .discover-section .grid {
        display: flex;
        flex-direction: column;
    }
    .discover-section .grid .card{
        max-width: unset;
        max-height: unset;
    }
}
.discover-section .discover-swiper .card {
    max-width: unset;
    max-height: unset;
}
.discover-section .discover-swiper .card img {
    max-width: unset;
}
.discover-section .discover-swiper .swiper-button-next,
.discover-section .discover-swiper .swiper-button-prev {
    width: 24px;
    height: 24px;
    background-position: center;
    background-repeat: no-repeat;
}
.discover-section .discover-swiper .swiper-button-next {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-next-red.svg);
}
.discover-section .discover-swiper .swiper-button-prev {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-prev-red.svg);
}
.discover-section .discover-swiper .swiper-button-next::after,
.discover-section .discover-swiper .swiper-button-prev::after {
    display: none;
}
/*front page - home bottom section*/
.home-bottom-section {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 360px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/home-bottom-background.png);
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}
@media(max-width: 820px) {
    .home-bottom-section {
        min-height: 83.45px;
        padding-top: calc(83.45/375 * 100%);
        background-size: contain;
        background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/home-bottom-background-mobile.png);
    }
}
.home-bottom-section .container {
    height: 100%;
}
.home-bottom-section .container .text {
    position: relative;
    margin: 0 auto;
    width: 80%;
    padding: 0 5rem;
    text-align: center;
    font-size: 125%;
    color: var(--clr-text);
}
.home-bottom-section .container .text::before,
.home-bottom-section .container .text::after {
    position: absolute;
    content: '';
    width: 100px;
    height: 100%;
    top: 0;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.home-bottom-section .container .text::before {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/text-bracket-left.svg);
    left: 0;
}
.home-bottom-section .container .text::after {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/text-bracket-right.svg);
    right: 0;
}
@media (max-width: 820px) {
    .home-bottom-section .container .text {
        width: 100%;
        padding: 0 5rem;
    }
    .home-bottom-section .container .text::before,
    .home-bottom-section .container .text::after {
        width: 65px;
    }
    .home-bottom-section .container .text::before {
        background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/text-bracket-left-mobile.svg);
    }
    .home-bottom-section .container .text::after {
        background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/text-bracket-right-mobile.svg);
    }
}
@media (max-width: 540px) {
    .home-bottom-section .container .text {
        padding: 0 4rem;
        font-size: 100%;
    }
}
@media (max-width: 400px) {
    .home-bottom-section .container .text {
        padding: 0 4rem;
        font-size: 87.5%;
    }
}
/*Template - page with side bar*/
.content-grid {
    display: grid;
    grid-template-columns: 0.3fr 0.7fr;
    min-height: 50vh;
}
.content-grid .side-bar {
    padding-top: 65px;
    background-color: #434343;
    padding-left: calc(var(--page-size) / 2 - var(--container-max-width) / 2);
    overflow-y: auto;
}
.content-grid .side-bar a {
    color: #FFCB59;
    font-size: 87.5%;
    font-family: var(--title-font);
    display: inline-block;
    padding-right: 20px;
}
.content-grid .side-bar ul {
    margin: 0;
}
.content-grid .side-bar li {
    position: relative;
    padding-top: 14px;
    padding-bottom: 14px;
}
.content-grid .side-bar li.hide-page {
    display: none;
}
.content-grid .side-bar li.page_item_has_children.hide-children > .toggle-btn {
    display: none;
}
.content-grid .side-bar li.page_item_has_children .toggle-btn {
    position: absolute;
    margin-top: 14px;
    margin-right: 10px;
    width: 13px;
    height: 13px;
    top: 0;
    right: 0;
    transform: translateY(50%);
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-yellow.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.content-grid .side-bar .page_item_has_children.active > .toggle-btn {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-close-yellow.svg);
}
.content-grid .side-bar .page_item_has_children > .children {
    display: none;
    margin-left: 20px;
}
.content-grid .side-bar .page_item_has_children.active > .children {
    display: block;
}
.content-grid .side-bar li.current_page_item > a{
    font-size: 100%;
    font-weight: 700;
}
/* .content-grid .side-bar li.current_page_item > a::after{
    position: absolute;
    content: '';
    height: 2px;
    width: 95%;
    bottom: 0;
    left: 0;
    background-color: #FFCB59;
    transform: translateY(50%);
} */
.content-grid .side-bar > ul > li {
    border-bottom: 1px #ECDFC5 solid;
}
.content-grid .main-content {
    margin-right: calc(var(--page-size) / 2 - var(--container-max-width) / 2);
    padding: 40px 20px 40px 60px;
    overflow: hidden;
}
.content-grid .main-content .content {
    margin-top: 54px;
}
.content-grid .main-content .content .content-title {
    color: var(--clr-primary);
    font-family: var(--title-font);
    font-size: 156.25%;
    font-weight: 600;
}
.main-content .content .layout-block {
    margin-top: 30px;
    margin-bottom: 30px;
    width: 100%;
}
.main-content .content .layout-block p {
    margin-bottom: 0;
}
.main-content .content .layout-block a {
    color: var(--clr-text);
    text-decoration: underline;
}
.main-content .content .layout-block a:hover {
    color: var(--clr-primary);
}
.main-content .content .layout-block .section-title {
    font-size: 112.5%;
    font-weight: 500;
    font-family: var(--title-font);
    color: var(--clr-text);
}
.main-content .content .layout-block .text,
.main-content .content .layout-block .text p,
.main-content .content .layout-block .small-text {
    color: var(--clr-text);
    line-height: 150%;
}
.main-content .content .layout-block .small-text {
    font-size: 75%;
}
@media (max-width: 1440px) {
    .content-grid .side-bar {
        padding-left: 20px;
    }
    .content-grid .main-content {
        margin-right: 20px;
    }
}
@media (max-width: 820px) {
    .content-grid {
        display: flex;
    }
    .content-grid .side-bar {
        display: none;
    }
    .content-grid .main-content {
        padding: 0;
        margin-top: 20px;
        margin-right: unset;
        width: 100%;
    }
}
.layout-block .table-wrapper {
    width: 100%;    
}
.layout-block .table-wrapper table {
    width: 100%;
}
@media(max-width: 1000px) {
    .layout-block .table-wrapper {       
        overflow-x: auto;
    }
    .layout-block .table-wrapper table {
        min-width: 1000px;
    }
}

/*layout -- image text rows block*/
.layout-block .image-text-rows {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
}
.layout-block .image-text-rows .row-container {
    display: flex;
    column-gap: 30px;
    margin-top: 25px;
}
.layout-block .image-text-rows .row-container.rtl {
    flex-direction: row-reverse;
}
.layout-block .image-text-rows .row .section-title  {
    padding: 0.3rem 0.5rem;
}
.layout-block .image-text-rows .row .section-title.background  {
    background-color: rgb(var(--clr-primary-rgb));
    color: white;
}
.layout-block .image-text-rows .row-container .image-container{
    display: flex;
    justify-content: center;
    align-self: start;
    width: 35%;
}
.layout-block .image-text-rows .row-container .text{
    width: 65%;
}
@media (max-width: 820px) {
    .layout-block .image-text-rows .row-container {
        flex-direction: column;
        row-gap: 30px;
    }
    .layout-block .image-text-rows .row-container.rtl {
        flex-direction: column;
    }
    .layout-block .image-text-rows .row-container .image-container{
        width: 100%;
    }
    .layout-block .image-text-rows .row-container .text{
        width: 100%;
    }
}
/*layout -- Paragraph block*/
.layout-block .paragraph .image-container {
    width: 38%;
}
.layout-block .paragraph .image-container.wl {
    margin-right: 20px;
    float: left;
}
.layout-block .paragraph .image-container.wr {
    margin-left: 20px;
    float: right;
}
@media (max-width: 820px) {
    .layout-block .paragraph .image-container {
        float: unset;
        width: 100%;
    }
}
/*layout -- Table block*/
.layout-block .table-container .heading,
.layout-block .table-container .sub-heading {
    font-size: 112.5%;
    font-weight: 500;
    font-family: var(--title-font);
}
.layout-block .table-container .heading {
    background-color: rgb(var(--clr-primary-rgb));
    color: white;
}
.layout-block .table-container .heading a {
    color: white !important;
}
.layout-block .table-container .sub-heading,
.layout-block .table-container .sub-heading a {
    color: var(--clr-primary) !important;
}
.layout-block .table-container .table-heading,
.layout-block .table-container .table-sub-heading,
.layout-block .table-container .table-row {
    display: flex;
    width: 100%;
}
.layout-block .table-container .table-heading > *,
.layout-block .table-container .table-sub-heading > *,
.layout-block .table-container .table-row > * {
    flex-grow: 1;
    width: calc(100% / 3);
}
.layout-block .table-container.four-columns .table-heading > *,
.layout-block .table-container.four-columns .table-sub-heading > *,
.layout-block .table-container.four-columns .table-row > * {
    flex-grow: 1;
    width: calc(100% / 4);
}
.layout-block .table-container .table-heading .heading,
.layout-block .table-container .table-sub-heading .sub-heading,
.layout-block .table-container .table-row .col {
    padding: 0.3rem 0.5rem;
}
.layout-block .table-container .table-row {
    border-bottom: rgba(67, 67, 67,0.5) 0.5px solid;
}
.layout-block .table-container .table-row col {
    display: flex;
    flex-direction: column;
}
/*layout -- List block*/
.layout-block ul.list {
    list-style: none;
}
.layout-block ul.list li {
    position: relative;
    margin: 0;
    padding-left: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.layout-block ul.list li::before {
    position: absolute;
    content: '';
    top: 2px;
    left: 0;
    transform: translateY(50%);
    width: 13px;
    height: 13px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-slider-bullet-active.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
/*layout -- Custom Content block*/

/*layout -- Image grid block*/
.layout-block .image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 20px;
    row-gap: 20px;
}
.layout-block .image-grid .image-grid-cell{
    display: flex;
    column-gap: 20px;
    row-gap: 5px;
}
.layout-block .image-grid.top .image-grid-cell{
    flex-direction: column-reverse;
    align-items: center;
}
.layout-block .image-grid.bottom .image-grid-cell{
    flex-direction: column;
    align-items: center;
}
.layout-block .image-grid.left .image-grid-cell{
    flex-direction: row-reverse;
}
.layout-block .image-grid.right .image-grid-cell{
    flex-direction: row;
}
.layout-block .image-grid.left .image-grid-cell > *,
.layout-block .image-grid.right .image-grid-cell > *{
    width: 50%;
}
.layout-block .image-grid .image-grid-cell .image-container img {
    max-width: unset;
    width: 100%;
    height: 100%;
}
.layout-block .image-grid .image-grid-cell .text p {
    margin: 0;
}
@media (max-width: 820px) {
    .layout-block .image-grid {
        display: flex;
        flex-direction: column;
    }
    .layout-block .image-grid.left .image-grid-cell > *,
    .layout-block .image-grid.right .image-grid-cell > *{
        width: 100%;
    }
}
.layout-block .enquiries {
    display: flex;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 30px;
}
.layout-block .enquiries .enquiry:not(:first-child) {
    margin-top: 38px;
}
.layout-block .enquiry .title {
    margin-bottom: 12px;
    font-weight: 500;
}
html[lang="zh-hant"] .layout-block .enquiry .title,
html[lang="zh-hans"] .layout-block .enquiry .title {
    font-weight: 600;
}
.layout-block .enquiry .phone {
    position: relative;
    padding-left: 20px;
}
.layout-block .enquiry .phone::before {
    position: absolute;
    content: '';
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-phone-red.png);
}
.layout-block .enquiry .email {
    position: relative;
    padding-left: 20px;
}
.layout-block .enquiry .email::before {
    position: absolute;
    content: '';
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-mail-red.png);
}
.layout-block .button-block {
    display: inline-block;
    padding: 8px 25px;
    background-color: var(--clr-primary);
    color: #fff !important;
    text-decoration: unset !important;
    font-family: var(--title-font);
}
/*gereral education block*/
.layout-block .expand-parent {
    position: relative;
    width: 100%;
    font-size: 125%;
    color: var(--clr-primary);
    display: flex;
    column-gap: 17px;
    font-family: var(--title-font);
    font-weight: 700;
    margin-top: 20px;
    padding: 10px 40px;
    box-shadow: 0px 2px 30px rgba(28, 37, 44, 0.08);
    cursor: pointer;
}
.layout-block .expand-parent .toggle {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    width: 18px;
    height: 11px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-arrow-black.svg);
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.35s ease-in-out;
}
.layout-block .expand-parent.active .toggle {
    transform: rotate(180deg);
}
.layout-block .expand-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
    box-shadow: 0px 2px 30px rgba(28, 37, 44, 0.08);
    margin-top: 10px;
    padding-left: 30px;
    padding-right: 30px;
}
.layout-block .expand-content .heading {
    font-weight: 600;
    font-family: var(--title-font);
}
.layout-block .expand-content .unit {
    font-weight: 600;
    font-family: var(--title-font);
}
.layout-block .expand-content .term {
    font-weight: 600;
    font-family: var(--title-font);
}
.layout-block .expand-parent.active + .expand-content {
    max-height: 3000px;
}
.layout-block .expand-content ul {
    list-style: none;

}
.layout-block .expand-content ul li {
    position: relative;
    margin: 0;
    padding-left: 25px;
    margin-top: 20px;
    margin-bottom: 20px;
}
.layout-block .expand-content ul li::before {
    position: absolute;
    content: '';
    top: 2px;
    left: 0;
    transform: translateY(50%);
    width: 13px;
    height: 13px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-slider-bullet-active.svg);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
}
/*activities table*/
.layout-block .activity-header,
.layout-block .activity-content {
    display: grid;
    grid-template-columns: 0.4fr 1fr;
    padding-left: 40px;
}
.layout-block .activity-header {
    background-color: var(--clr-primary);
    padding-top: 26px;
    padding-bottom: 26px;
    font-weight: 700;
    font-size: 125%;
    color: white;
}
.layout-block .activity-content {
    margin-top: 10px;
    padding-top: 26px;
    padding-bottom: 26px;
    background-color: white;
    box-shadow: 2px 4px 18px rgba(99, 99, 99, 0.1);
}
@media(max-width: 820px) {
    .layout-block .activity-content {
        display: flex;
        flex-direction: column;
    }
}
/*History block*/
.layout-block .history-header {
    display: grid;
    grid-template-columns: 0.2fr 0.2fr 0.6fr;
    background-color: var(--clr-primary);
    color: white;
    font-size: 112.5%;
    font-weight: 500;
    padding: 10px;
}
.layout-block .history-list .history {
    display: grid;
    grid-template-columns: 0.2fr 0.2fr 0.3fr 0.3fr;
    column-gap: 10px;
    padding: 15px 10px;
    border-bottom: 1px solid #c4c4c4;
    align-items: center;
}
.layout-block .history-list .history .image-container {
    width: 80px;
    margin-left: auto;
}
.layout-block .history-filter-section {
    display: flex;
    align-items: center;
    column-gap: 30px;
    margin-bottom: 30px;
}
/*Search form*/
.search-form {
    display: flex;
    column-gap: 10px;
}
.search-form label {
    display: none;
}
.search-form .search-field {
    height: 70px;
    background-color: white;
    border: #434343 0.5px solid;
}
.search-form .search-submit {
    position: relative;
    background-color: var(--clr-primary);
    height: 70px;
    border: 0;
    padding-left: 40px;
}
.search-form .search-submit::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-search-white.svg);
    background-repeat: no-repeat;
    background-position: center;
}
.search-form .search-submit span {
   text-transform: initial;
   color: white;
}
/*Search page*/
.content-search .container {
    padding-top: 30px;
}
.content-search a:hover {
    color: unset;
}
.content-search .page-header {
    margin-top: 50px;
}
.content-search .page-header .total {
    font-size: 112.5%;
    font-weight: 500;
    font-family: var(--title-font);
}
.content-search .page-header .page-title,
.content-search .entry-header .entry-title,
.content-search .entry-header .entry-summary {
    text-align: left;
    text-transform: unset;
}
.content-search .page-header .page-title,
.content-search .entry-header .entry-title {
    font-family: var(--title-font);
}
.content-search .page-header .page-title::after,
.content-search .entry-header .entry-title::after {
    display: none !important;
}
.content-search .page-header .page-title {
    font-size: 156.25%;
    color: var(--clr-primary);
}
.content-search .entry-header .entry-title {
    font-size: 112.5%;
}
.content-search .entry-header .entry-title a {
    color: var(--clr-primary);
}
.content-search .entry-header .entry-meta a {
    border-bottom: none;
}
.content-search .entry-summary .link-more {
    display: none;
}
.content-search .page-header ~ article {
    background-color: white;
    box-shadow: 0px 2px 30px rgba(28, 37, 44, 0.08);
    margin-top: 30px;
    margin-bottom: 30px;
    padding: 30px;
}
/*Filter overlay*/

/*Publication*/
.orange-light {
    color: #CE6C25;
}
.pink {
    color: #CE2562;
}
.purple {
    color: #8A318C;
}
.bluish-green {
    color: #316B8C;
}
.blue {
    color: #31458C;
}
.green {
    color: #338C31;
}
.orange-dark {
    color: #C8532E;
}
.red {
    color: #BB2C46;
}
.orange-light:hover,
.orange-light.active {
    background-color: #CE6C25;
    color: white;
}
.pink:hover,
.pink.active {
    background-color: #CE2562;
    color: white;
}
.purple:hover,
.purple.active {
    background-color: #8A318C;
    color: white;
}
.bluish-green:hover,
.bluish-green.active {
    background-color: #316B8C;
    color: white;
}
.blue:hover,
.blue.active {
    background-color: #31458C;
    color: white;
}
.green:hover,
.green.active {
    background-color: #338C31;
    color: white;
}
.orange-dark:hover,
.orange-dark.active {
    background-color: #C8532E;
    color: white;
}
.red:hover,
.red.active {
    background-color: #BB2C46;
    color: white;
}
.publication-list-page select option:hover,
.publication-grid-page select option:hover,
.publication-single select option:hover {
    background-color: var(--clr-primary) !important;
    color: white !important;
}
.publication-list-page .flex {
    display: flex;
    column-gap: 30px;
}
.publication-list-page .search-form {
    display: flex;
    width: 100%;
    height: 70px;
    margin-bottom: 50px;
    margin-top: 30px;
}
.publication-list-page .search-form input[type="text"] {
    width: 100%;
    height: 100%;
    outline: 0;
    border: #434343 0.5px solid;
}
.publication-list-page .search-form select {
    width: 190px;
}
@media (max-width: 820px) {
    .publication-list-page .search-form select {
        width: 100%;
        text-align: center;
    }
}
.publication-list-page .search-form input[type="submit"] {
    width: 240px;
    height: 100%;
    outline: 0;
    border: 0;
    text-transform: unset;
    font-family: var(--text-font);
    font-weight: 500;
    font-size: 125%;
    color: white;
    background-color: var(--clr-primary);
}
.publication-list-page .search-form input[type="submit"]:hover {
    color: white;
}
.publication-list-page .main-content {
    margin-top: 40px;
    margin-bottom: 40px;
}
.publication-list-page .publication-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 36px;
}
.publication-list-page .publication-select {
    position: relative;
    margin-top: 35px;
    margin-bottom: 10px;
}
.publication-list-page .publication-select ul {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    list-style: none;
    background-color: white;
    transform: translateY(100%);
    margin: 0;
    z-index: 5;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}
.publication-list-page .publication-select.active ul {
    max-height: 2000px;
}
.publication-list-page .publication-select li,
.publication-list-page .publication-select .current {
    width: 100%;
}
.publication-list-page .publication-select .current {
    position: relative;
}
.publication-list-page .publication-select .current .toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    width: 18px;
    height: 11px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-toggle.svg);
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.35s ease-in-out;
}
.publication-list-page .publication-select.active .current .toggle {
    transform: rotate(180deg);
}
.publication-list-page .publication-select ul li.inactive {
    display: none;
}
.publication-list-page .publication-select li a,
.publication-list-page .publication-select .current a {
    display: inline-block;
    width: 100%;
    padding: 25px 0 25px 20px;
}
.publication-list-page .publication-select li a:hover {
    background-color: unset;
    color: inherit;
}
.publication-list-page .publication-nav a {
    display: inline-block;
    padding: 24px;
    font-weight: 700;
    font-size: 105%;
}
.publication-list-page .list .card {
    position: relative;
    display: flex;
    min-height: 300px;
    column-gap: 35px;
    background-color: white;
    box-shadow: 2px 4px 18px rgba(99, 99, 99, 0.1);
    padding: 23px 0 23px 35px;
    margin-bottom: 30px;
}
.publication-list-page .list .card .title {
    font-family: var(--title-font);
    font-weight: 600;
    font-size: 156%;
    margin-bottom: 13px;
}
.publication-list-page .list .card .image-container {
    width: 35%;
}
.publication-list-page .list .card .image-container img {
    max-width: unset;
    width: 100%;
    height: 100%;
}
.publication-list-page .list .card .text {
    width: 65%;
    margin-bottom: 90px;
    padding-right: 20px;
}
@media(max-width:820px) {
    .publication-list-page .list .card .text {
        width: 100%;
    }
}
.publication-list-page .list .card .read-more {
    position: absolute;
    display: inline-block;
    padding: 20px 55px;
    background-color: #CE6C25;
    border-top-left-radius: 10px;
    color: white;
    bottom: 0;
    right: 0;
}
.publication-list-page .popular-stories {
    min-width: 320px;
    margin-left: auto;
    width: 30%;
}
.publication-list-page .popular-stories .heading {
    font-size: 156%;
    font-weight: 700;
    font-family: var(--title-font);
    text-align: center;
}
.publication-list-page .popular-stories .image-card {
    margin-bottom: 30px;
}
.publication-list-page .popular-stories .image-card .image-container {
    width: 100%;
}
.publication-list-page .popular-stories .image-card img {
    max-width: unset;
    width: 100%;
}
.publication-list-page .popular-stories a {
    display: inline-block;
    position: relative;
    width: 100%;
}
.publication-list-page .popular-stories a .title {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    bottom: 0;
    left: 0;
    background-color: rgba(67, 67, 67, 0.85);
    padding-top: 18px;
    padding-bottom: 18px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    color: white;
    font-weight: 700;
    font-family: var(--title-font);
}
.publication-list-page .popular-stories .subscribe-btn {
    position: relative;
    margin-top: 50px;
    border-radius: 10px;
    background: linear-gradient(to right, #800020, #800020 70%, #434343 70%, #434343 100%);
    color: white;
    padding-left: 47px;
    padding-top: 19px;
    padding-bottom: 19px;
    font-size: 156%;
    font-family: var(--title-font);
    font-weight: 600;
    cursor: pointer;
}
.publication-list-page .popular-stories .subscribe-btn::after {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    right: 35px;
    width: 30px;
    height: 30px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-send.svg);
    background-repeat: no-repeat;
}
@media(max-width: 820px) {
    .publication-list-page .list .card {
        flex-direction: column;

        padding: 23px 35px 120px 35px;
    }
    .publication-list-page .list .card .image-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    .publication-list-page .flex {
        flex-direction: column;
    }
    .publication-list-page .popular-stories {
        width: 100%;
        margin-top: 30px;
    }
    .publication-list-page .popular-stories .image-card {
        display: flex;
        justify-content: center;
    }
}
/*publication-grid-page*/
.publication-grid-page .publication-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 36px;
}
.publication-grid-page .publication-select {
    position: relative;
    margin-top: 35px;
    margin-bottom: 10px;
}
.publication-grid-page .publication-select ul {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    list-style: none;
    background-color: white;
    transform: translateY(100%);
    margin: 0;
    z-index: 5;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}
.publication-grid-page .publication-select.active ul {
    max-height: 2000px;
}
.publication-grid-page .publication-select li,
.publication-grid-page .publication-select .current {
    width: 100%;
}
.publication-grid-page .publication-select .current {
    position: relative;
}
.publication-grid-page .publication-select .current .toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    width: 18px;
    height: 11px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-toggle.svg);
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.35s ease-in-out;
}
.publication-grid-page .publication-select.active .current .toggle {
    transform: rotate(180deg);
}
.publication-grid-page .publication-select ul li.inactive {
    display: none;
}
.publication-grid-page .publication-select li a,
.publication-grid-page .publication-select .current a {
    display: inline-block;
    width: 100%;
    padding: 25px 0 25px 20px;
}
.publication-grid-page .publication-select li a:hover {
    background-color: unset;
    color: inherit;
}
.publication-grid-page .publication-nav a {
    display: inline-block;
    padding: 24px;
    font-weight: 700;
    font-size: 105%;
}
.publication-grid-page .main-content {
    margin-top: 40px;
    margin-bottom: 40px;
}
.publication-grid-page .main-content .container > .heading {
    font-size: 156%;
    font-weight: 600;
    font-family: var(--title-font);
    color: #C82E30;
    margin-top: 40px;
}
.publication-grid-page .main-content .back-link {
    position: relative;
    display: inline-block;
    font-size: 112.5%;
    font-family: var(--title-font);
    font-weight: 600;
    color: var(--clr-text);
    margin-top: 36px;
    text-decoration: underline;
    padding-left: 25px;
}
.publication-grid-page .main-content .back-link:hover {
    color: var(--clr-primary);
}
.publication-grid-page .main-content .back-link::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-back-arrow.svg);
    background-repeat: no-repeat;
}
.publication-grid-page .main-content .filter-overlay {
    position: fixed;
    background-color: rgba(24, 24, 24, 0.7);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: none;
}
.publication-grid-page .main-content .filter-overlay.active {
    display: block;
}
.publication-grid-page .main-content .filter-overlay .filter-form {
    position: absolute;
    width: 95%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    padding: 20px;
    row-gap: 10px;
    background-color: white;
    box-sizing: border-box;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.publication-grid-page .main-content .filter-overlay .filter-form input,
.publication-grid-page .main-content .filter-overlay .filter-form select{
    min-height: 70px;
    min-width: unset !important;
    width: 100% !important;
}
.publication-grid-page .main-content .filter-overlay .filter-form .heading {
    position: relative;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    font-family: var(--title-font);
    color: var(--clr-primary);
    padding-left: 30px;
}
.publication-grid-page .main-content .filter-overlay .filter-form .heading::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-config.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.publication-grid-page .main-content .filter-overlay .filter-form .close-btn {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-shop-cat-menu-close.svg);
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.publication-grid-page .main-content .filter-btn {
    position: relative;
    padding-left: 30px;
    color: var(--clr-primary);
    font-family: var(--title-font);
    font-weight: 500;
    margin-top: 20px;
    margin-left: auto;
    width: fit-content;
    cursor: pointer;
}
.publication-grid-page .main-content .filter-btn::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-config.svg);
}
.publication-grid-page .main-content .filter-form {
    display: flex;
    column-gap: 10px;
    height: 70px;
    width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
}
.publication-grid-page .main-content .filter-form input[type="text"] {
    width: 100%;
    border: #434343 1px solid;
    outline: 0;
}
.publication-grid-page .main-content .filter-form select.category {
    min-width: 280px;
    border: #434343 1px solid;
    outline: 0;
    text-align: center;
}
.publication-grid-page .main-content .filter-form select.year {
    min-width: 190px;
    border: #434343 1px solid;
    outline: 0;
    text-align: center;
}
.publication-grid-page .main-content .filter-form input[type="submit"] {
    width: 200px;
    border: 0;
    outline: 0;
    background-color: var(--clr-primary);
    color: white;
    text-transform: unset;
    font-family: var(--text-font);
    font-size: 112.5%;
    padding-left: 70px;
    height: 100%;
}
.publication-grid-page .main-content .filter-form label {
    position: relative;
    height: 100%;

}
.publication-grid-page .main-content .filter-form label::before {
    position: absolute;
    content: '';
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-filter.svg);
    background-repeat: no-repeat;
}
.publication-grid-page .main-content .sub-categories {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    row-gap: 20px;
}
.publication-grid-page .main-content .sub-categories .cat-btn {
    padding: 24px 57px;
    background-color: #E4E4E4;
    color: #595A5B;
    font-size: 87.5%;
}
.publication-grid-page .main-content .sub-categories .cat-btn.active,
.publication-grid-page .main-content .sub-categories .cat-btn:hover {
    background-color: var(--clr-primary);
    color: white;
}
.publication-grid-page .e-newsletter-grid {
    column-gap: 20px;
    row-gap: 30px;
}
@media (max-width: 1000px) {
    .publication-grid-page .e-newsletter-grid {
        flex-direction: column;
    }
    .publication-grid-page .grid-content.news-letter {
        width: 100% !important;
    }
    .publication-grid-page .popular-stories {
        width: 100% !important;
    }
}
.publication-grid-page .popular-stories {
    margin-left: auto;
    width: 30%;
}
.publication-grid-page .popular-stories .heading {
    font-size: 156%;
    font-weight: 700;
    font-family: var(--title-font);
    text-align: center;
}
.publication-grid-page .popular-stories .image-card {
    margin-bottom: 30px;
}
.publication-grid-page .popular-stories .image-card .image-container {
    width: 100%;
    height: 320px;
    overflow: hidden;
}
.publication-grid-page .popular-stories .image-card img {
    max-width: unset;
    width: 100%;
}
.publication-grid-page .popular-stories a {
    display: inline-block;
    position: relative;
    width: 100%;
}
.publication-grid-page .popular-stories a .title {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    bottom: 0;
    left: 0;
    background-color: rgba(67, 67, 67, 0.85);
    padding-top: 18px;
    padding-bottom: 18px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    color: white;
    font-weight: 700;
    font-family: var(--title-font);
}
.publication-grid-page .popular-stories .subscribe-btn {
    position: relative;
    margin-top: 50px;
    border-radius: 10px;
    background: linear-gradient(to right, #800020, #800020 70%, #434343 70%, #434343 100%);
    color: white;
    padding-left: 47px;
    padding-top: 19px;
    padding-bottom: 19px;
    font-size: 156%;
    font-family: var(--title-font);
    font-weight: 600;
    cursor: pointer;
}
.publication-grid-page .popular-stories .subscribe-btn::after {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    right: 35px;
    width: 30px;
    height: 30px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-send.svg);
    background-repeat: no-repeat;
}
.publication-grid-page .main-content .grid-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 32px;
    row-gap: 40px;
}
.publication-grid-page .main-content .grid-content.news-letter {
    grid-template-columns: repeat(2, 1fr);
    width: 70%;
    height: fit-content;
}
.publication-grid-page .main-content .grid-content .card .image-container {
    width: 100%;
}
.publication-grid-page .main-content .grid-content .card .image-container img {
    width: 100%;
    max-height: 300px;
    max-width: unset;
    object-fit: cover;
}
.publication-grid-page .main-content .grid-content .card {
    position: relative;
    background-color: #FFFFFF;
    box-shadow: 2px 4px 18px rgba(99, 99, 99, 0.1);
    padding: 30px;
    padding-bottom: 80px;
    min-height: 500px;
}
.publication-grid-page .main-content .grid-content .card .title {
    font-size: 156%;
    font-weight: 600;
    font-family: var(--title-font);
    color: var(--clr-primary);
}
.publication-grid-page .main-content .grid-content .card .excerpt {
    margin-top: 20px;
    margin-bottom: 80px;
}
.publication-grid-page .main-content .grid-content .read-more {
    position: absolute;
    display: inline-block;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    background-color: var(--clr-primary);
    color: white;
    font-size: 87.5%;
    padding: 18px 52px;
}
@media(max-width: 820px) {
    .publication-grid-page .main-content .grid-content {
        display: flex;
        flex-direction: column;
    }
    .publication-grid-page .main-content .grid-content .card {
        width: 100%;
    }
}
.publication-grid-page .sub-categories-select .inactive {
    display: none !important;
}
.publication-grid-page .sub-categories-select a {
    background-color: #E4E4E4;
    color: var(--clr-text);
}
.publication-grid-page .sub-categories-select .current a {
    background-color: var(--clr-primary);
    color: white;
}
.publication-grid-page .sub-categories-select {
    position: relative;
    margin-top: 35px;
    margin-bottom: 10px;
}
.publication-grid-page .sub-categories-select ul {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    list-style: none;
    background-color: white;
    transform: translateY(100%);
    margin: 0;
    z-index: 5;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}
.publication-grid-page .sub-categories-select.active ul {
    max-height: 2000px;
}
.publication-grid-page .sub-categories-select li,
.publication-grid-page .sub-categories-select .current {
    width: 100%;
}
.publication-grid-page .sub-categories-select .current {
    position: relative;
}
.publication-grid-page .sub-categories-select .current .toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    width: 18px;
    height: 11px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-toggle.svg);
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.35s ease-in-out;
}
.publication-grid-page .sub-categories-select.active .current .toggle {
    transform: rotate(180deg);
}
.publication-grid-page .sub-categories-select li a,
.publication-grid-page .sub-categories-select .current a {
    display: inline-block;
    width: 100%;
    padding: 25px 0 25px 20px;
}
.publication-grid-page .sub-categories-select li a:hover {
    background-color: unset;
    color: inherit;
}
/*publication-single*/
.publication-single .main-content {
    margin-top: 40px;
    margin-bottom: 40px;
}
.publication-single .main-content .container > .heading {
    font-size: 156%;
    font-weight: 600;
    font-family: var(--title-font);
    color: #C82E30;
    margin-top: 40px;
    margin-bottom: 20px;
}
.publication-single .main-content .back-link {
    position: relative;
    display: inline-block;
    font-size: 112.5%;
    font-family: var(--title-font);
    font-weight: 600;
    color: var(--clr-text);
    margin-top: 36px;
    text-decoration: underline;
    padding-left: 25px;
}
.publication-single .main-content .back-link:hover {
    color: var(--clr-primary);
}
.publication-single .main-content .back-link::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-back-arrow.svg);
    background-repeat: no-repeat;
}
.publication-single .main-content .filter-overlay {
    position: fixed;
    background-color: rgba(24, 24, 24, 0.7);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: none;
}
.publication-single .main-content .filter-overlay.active {
    display: block;
}
.publication-single .main-content .filter-overlay .filter-form {
    position: absolute;
    width: 95%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    padding: 20px;
    row-gap: 10px;
    background-color: white;
    box-sizing: border-box;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.publication-single .main-content .filter-overlay .filter-form input,
.publication-single .main-content .filter-overlay .filter-form select{
    min-height: 70px;
    min-width: unset !important;
    width: 100% !important;
}
.publication-single .main-content .filter-overlay .filter-form .heading {
    position: relative;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    font-family: var(--title-font);
    color: var(--clr-primary);
    padding-left: 30px;
}
.publication-single .main-content .filter-overlay .filter-form .heading::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-config.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.publication-single .main-content .filter-overlay .filter-form .close-btn {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-shop-cat-menu-close.svg);
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.publication-single .main-content .filter-btn {
    position: relative;
    padding-left: 30px;
    color: var(--clr-primary);
    font-family: var(--title-font);
    font-weight: 500;
    margin-top: 20px;
    margin-left: auto;
    width: fit-content;
    cursor: pointer;
}
.publication-single .main-content .filter-btn::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-config.svg);
}
.publication-single .main-content .filter-form {
    display: flex;
    column-gap: 10px;
    height: 70px;
    width: 100%;
    margin-top: 50px;
    margin-bottom: 50px;
}
.publication-single .main-content .filter-form input[type="text"] {
    width: 100%;
    border: #434343 1px solid;
    outline: 0;
}
.publication-single .main-content .filter-form select.category {
    min-width: 280px;
    border: #434343 1px solid;
    outline: 0;
    text-align: center;
}
.publication-single .main-content .filter-form select.year {
    min-width: 190px;
    border: #434343 1px solid;
    outline: 0;
    text-align: center;
}
.publication-single .main-content .filter-form input[type="submit"] {
    width: 200px;
    border: 0;
    outline: 0;
    background-color: var(--clr-primary);
    color: white;
    text-transform: unset;
    font-family: var(--text-font);
    font-size: 112.5%;
    padding-left: 70px;
    height: 100%;
}
.publication-single .main-content .filter-form label {
    position: relative;
    height: 100%;

}
.publication-single .main-content .filter-form label::before {
    position: absolute;
    content: '';
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-filter.svg);
    background-repeat: no-repeat;
}
.publication-single .main-content .sub-categories {
    display: flex;
    justify-content: space-between;
}
.publication-single .main-content .sub-categories .cat-btn {
    padding: 24px 57px;
    background-color: #E4E4E4;
    color: #595A5B;
    font-size: 87.5%;
}
.publication-single .main-content .sub-categories .cat-btn.active,
.publication-single .main-content .sub-categories .cat-btn:hover {
    background-color: var(--clr-primary);
    color: white;
}
.publication-single .main-content .grid-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 32px;
    row-gap: 40px;
}
.publication-single .main-content .grid-content .card {
    position: relative;
    background-color: #FFFFFF;
    box-shadow: 2px 4px 18px rgba(99, 99, 99, 0.1);
    padding: 30px;
    min-height: 430px;
}
.publication-single .main-content .grid-content .card .title {
    font-size: 156%;
    font-weight: 600;
    font-family: var(--title-font);
    color: var(--clr-primary);
}
.publication-single .main-content .grid-content .card .excerpt {
    margin-top: 20px;
}
.publication-single .main-content .grid-content .read-more {
    position: absolute;
    display: inline-block;
    bottom: 0;
    right: 0;
    border-top-left-radius: 10px;
    background-color: var(--clr-primary);
    color: white;
    font-size: 87.5%;
    padding: 18px 52px;
}
@media(max-width: 820px) {
    .publication-single .main-content .grid-content {
        display: flex;
        flex-direction: column;
    }
    .publication-single .main-content .grid-content .card {
        width: 100%;
    }
}
.publication-single .sub-categories-select .inactive {
    display: none !important;
}
.publication-single .sub-categories-select a {
    background-color: #E4E4E4;
    color: var(--clr-text);
}
.publication-single .sub-categories-select .current a {
    background-color: var(--clr-primary);
    color: white;
}
.publication-single .sub-categories-select {
    position: relative;
    margin-top: 35px;
    margin-bottom: 10px;
}
.publication-single .sub-categories-select ul {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    list-style: none;
    background-color: white;
    transform: translateY(100%);
    margin: 0;
    z-index: 5;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}
.publication-single .sub-categories-select.active ul {
    max-height: 2000px;
}
.publication-single .sub-categories-select li,
.publication-single .sub-categories-select .current {
    width: 100%;
}
.publication-single .sub-categories-select .current {
    position: relative;
}
.publication-single .sub-categories-select .current .toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    width: 18px;
    height: 11px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-toggle.svg);
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.35s ease-in-out;
}
.publication-single .sub-categories-select.active .current .toggle {
    transform: rotate(180deg);
}
.publication-single .sub-categories-select li a,
.publication-single .sub-categories-select .current a {
    display: inline-block;
    width: 100%;
    padding: 25px 0 25px 20px;
}
.publication-single .sub-categories-select li a:hover {
    background-color: unset;
    color: inherit;
}
.publication-single .post-content {
    display: flex;
    column-gap: 70px;
}
.publication-single .post-content .content {
    width: 70%;
}
.publication-single .post-content .popular-stories {
    width: 30%;
}
@media (max-width: 820px) {
    .publication-single .post-content {
        flex-direction: column;
    }
    .publication-single .post-content .content {
        width: 100%;
    }
    .publication-single .post-content .popular-stories {
        width: 100%;
    }
}
.publication-single .popular-stories {
    min-width: 320px;
    margin-left: auto;
}
.publication-single .popular-stories .heading {
    font-size: 156%;
    font-weight: 700;
    font-family: var(--title-font);
    text-align: center;
}
.publication-single .popular-stories .image-card {
    margin-bottom: 30px;
}
.publication-single .popular-stories .image-card .image-container {
    height: 320px;
    width: 100%;
}
.publication-single .popular-stories .image-card img {
    max-width: unset;
    width: 100%;
}
.publication-single .popular-stories a {
    display: inline-block;
    position: relative;
    width: 100%;
}
.publication-single .popular-stories a .title {
    position: absolute;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    bottom: 0;
    left: 0;
    background-color: rgba(67, 67, 67, 0.85);
    padding-top: 18px;
    padding-bottom: 18px;
    padding-left: 10px;
    padding-right: 10px;
    width: 100%;
    color: white;
    font-weight: 700;
    font-family: var(--title-font);
}
.publication-single .popular-stories .subscribe-btn {
    position: relative;
    margin-top: 50px;
    border-radius: 10px;
    background: linear-gradient(to right, #800020, #800020 70%, #434343 70%, #434343 100%);
    color: white;
    padding-left: 47px;
    padding-top: 19px;
    padding-bottom: 19px;
    font-size: 156%;
    font-family: var(--title-font);
    font-weight: 600;
    cursor: pointer;
}
.publication-single .popular-stories .subscribe-btn::after {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    right: 35px;
    width: 30px;
    height: 30px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-send.svg);
    background-repeat: no-repeat;
}
.publication-single .search-form {
    display: flex;
    width: 100%;
    height: 70px;
    margin-bottom: 50px;
}
.publication-single .search-form input[type="text"] {
    width: 100%;
    height: 100%;
    outline: 0;
    border: #434343 0.5px solid;
}
.publication-single .search-form select {
    width: 190px;
}
@media (max-width: 820px) {
    .publication-single .search-form select {
        width: 100%;
        text-align: center;
    }
}
.publication-single .search-form input[type="submit"] {
    width: 240px;
    height: 100%;
    outline: 0;
    border: 0;
    text-transform: unset;
    font-family: var(--text-font);
    font-weight: 500;
    font-size: 125%;
    color: white;
    background-color: var(--clr-primary);
}
.publication-single .search-form input[type="submit"]:hover {
    color: white;
}
.publication-single .publication-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 36px;
}
.publication-single .publication-select {
    position: relative;
    margin-top: 35px;
    margin-bottom: 10px;
}
.publication-single .publication-select ul {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    list-style: none;
    background-color: white;
    transform: translateY(100%);
    margin: 0;
    z-index: 5;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}
.publication-single .publication-select.active ul {
    max-height: 2000px;
}
.publication-single .publication-select li,
.publication-single .publication-select .current {
    width: 100%;
}
.publication-single .publication-select .current {
    position: relative;
}
.publication-single .publication-select .current .toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    width: 18px;
    height: 11px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-toggle.svg);
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.35s ease-in-out;
}
.publication-single .publication-select.active .current .toggle {
    transform: rotate(180deg);
}
.publication-single .publication-select ul li.inactive {
    display: none;
}
.publication-single .publication-select li a,
.publication-single .publication-select .current a {
    display: inline-block;
    width: 100%;
    padding: 25px 0 25px 20px;
}
.publication-single .publication-select li a:hover {
    background-color: unset;
    color: inherit;
}
.publication-single .publication-nav a {
    display: inline-block;
    padding: 24px;
    font-weight: 700;
    font-size: 105%;
}
.publication-single .main-content .post-content .content figure.wp-block-image {
    margin: 10px;
}
/*Pagination*/
.pagination .page-numbers.current {
    position: relative;
    color: var(--clr-primary);
}
.pagination .page-numbers.current::after {
    position: absolute;
    content: '';
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    height: 1px;
    width: 10px;
    background-color: var(--clr-primary);
}
.pagination .page-numbers {
    font-family: var(--text-font);
    color: var(--clr-text);
}
.pagination .page-numbers:hover {
    color: var(--clr-primary) !important;
}
/*Video Archives*/
.video-archives .main-content > .container {
    margin-top: 30px;
    margin-bottom: 30px;
}
.video-archives .main-content > .container .heading {
    font-size: 156%;
    font-weight: 600;
    font-family: var(--title-font);
    color: var(--clr-primary);
    margin-top: 40px;
    margin-bottom: 40px;
}
.video-archives .publication-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 36px;
    margin-bottom: 36px;
}
.video-archives .publication-select {
    position: relative;
    margin-top: 35px;
    margin-bottom: 10px;
}
.video-archives .publication-select ul {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    list-style: none;
    background-color: white;
    transform: translateY(100%);
    margin: 0;
    z-index: 5;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}
.video-archives .publication-select.active ul {
    max-height: 2000px;
}
.video-archives .publication-select li,
.video-archives .publication-select .current {
    width: 100%;
}
.video-archives .publication-select .current {
    position: relative;
}
.video-archives .publication-select .current .toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    width: 18px;
    height: 11px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-toggle.svg);
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.35s ease-in-out;
}
.video-archives .publication-select.active .current .toggle {
    transform: rotate(180deg);
}
.video-archives .publication-select ul li.inactive {
    display: none;
}
.video-archives .publication-select li a,
.video-archives .publication-select .current a {
    display: inline-block;
    width: 100%;
    padding: 25px 0 25px 20px;
}
.video-archives .publication-select li a:hover {
    background-color: unset;
    color: inherit;
}
.video-archives .publication-nav a {
    display: inline-block;
    padding: 24px;
    font-weight: 700;
    font-size: 105%;
}
.video-archives .filter-form {
    height: 70px;
    display: flex;
    column-gap: 32px;
}
@media(max-width: 950px) {
    .video-archives .filter-form {
        flex-direction: column;
        height: unset;
    }
}
.video-archives .filter-form select{
    min-width: 200px;
}
.video-archives .video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 32px;
    row-gap: 50px;
}
.video-archives .video-grid .video-cell {
    position: relative;
    max-height: 430px;
    overflow: hidden;
    cursor: pointer;
}
.video-archives .video-grid .video-cell .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    background-color: rgba(67, 67, 67, 0.85);
    color: white;
    font-weight: 700;
    font-family: var(--title-font);
    text-align: center;
}
.video-archives .video-grid .video-cell .image-container {
    width: 100%;
    height: 100%;
}
.video-archives .video-grid .video-cell .image-container img {
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.video-archives .video-grid .video-cell .play-icon {
    position: absolute;
    width: 70px;
    height: 70px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-video-play.svg);
    background-repeat: no-repeat;
    z-index: 5;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@media(max-width: 820px) {
    .video-archives .video-grid {
        display: flex;
        flex-direction: column;
    }
}
.video-archives .video-grid .folder-cell {
    position: relative;
    max-height: 430px;
    min-height: 430px;
    overflow: hidden;
    cursor: pointer;
}
.video-archives .video-grid .folder-cell a {
    display: inline-block;
    width: 100%;
    height: 100%;
}
.video-archives .video-grid .folder-cell .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    background-color: rgba(67, 67, 67, 0.85);
    color: white;
    font-size: 75%;
    font-weight: 700;
    font-family: var(--title-font);
    text-align: center;
}
.video-archives .video-grid .folder-cell .image-container {
    width: 100%;
    height: 100%;
}
.video-archives .video-grid .folder-cell .image-container img {
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media(max-width: 820px) {
    .video-archives .video-grid .folder-cell {
        max-height: unset;
    }
}
.video-archives .video-overlay {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(67, 67, 67, 0.85);
    z-index: 1000;
}
.video-archives .video-overlay.active {
    display: flex;
}
.video-archives .video-overlay .close-btn {
    position: absolute;
    right: 20px;
    top: 8%;
    width: 70px;
    height: 70px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-overlay-close-white.svg);
    background-repeat: no-repeat;
}
.video-archives .video-overlay .video-container {    
    width: 80vw;
    height: 65vh;
}
.video-archives .video-overlay .video-container video {
    display: none;
}
.video-archives .video-overlay .video-container video.active {
    display: block;
}
.video-archives .video-overlay .embed-container {
    display: none;
    padding-bottom: unset;
    height: 100%;
}
.video-archives .video-overlay .embed-container.active {
    display: block;
}
.video-archives .video-overlay .video-container video {
    width: 100%;
    height: 100%;
}
.video-archives .filter-overlay {
    position: fixed;
    background-color: rgba(24, 24, 24, 0.7);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: none;
}
.video-archives .filter-overlay.active {
    display: block;
}
.video-archives .filter-overlay .filter-form {
    position: absolute;
    width: 95%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    padding: 20px;
    row-gap: 10px;
    background-color: white;
    box-sizing: border-box;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.video-archives .filter-overlay .filter-form input,
.video-archives .filter-overlay .filter-form select{
    min-height: 70px;
    min-width: unset !important;
    width: 100% !important;
}
.video-archives .filter-overlay .filter-form .heading {
    position: relative;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    font-family: var(--title-font);
    color: var(--clr-primary);
    padding-left: 30px;
}
.video-archives .filter-overlay .filter-form .heading::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-config.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.video-archives .filter-overlay .filter-form .close-btn {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-shop-cat-menu-close.svg);
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.video-archives .filter-btn {
    position: relative;
    padding-left: 30px;
    color: var(--clr-primary);
    font-family: var(--title-font);
    font-weight: 500;
    margin-top: 20px;
    margin-left: auto;
    width: fit-content;
    cursor: pointer;
}
.video-archives .filter-btn::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-config.svg);
}
.video-archives #filter-btn {
    position: relative;
    border-color: transparent;
    background-color: var(--clr-primary);
    color: white;
    font-family: var(--text-font);
    text-transform: unset;
    font-size: 125%;
    font-weight: 500;
    margin-left: auto;
}
/*photo gallery*/
.photo-gallery .main-content > .container {
    margin-top: 30px;
    margin-bottom: 30px;
}
.photo-gallery .main-content > .container .heading {
    font-size: 156%;
    font-weight: 600;
    font-family: var(--title-font);
    color: var(--clr-primary);
    margin-top: 40px;
    margin-bottom: 40px;
}
.photo-gallery .publication-nav {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-top: 36px;
    margin-bottom: 36px;
}
.photo-gallery .publication-select {
    position: relative;
    margin-top: 35px;
    margin-bottom: 10px;
}
.photo-gallery .publication-select ul {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    list-style: none;
    background-color: white;
    transform: translateY(100%);
    margin: 0;
    z-index: 5;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}
.photo-gallery .publication-select.active ul {
    max-height: 2000px;
}
.photo-gallery .publication-select li,
.photo-gallery .publication-select .current {
    width: 100%;
}
.photo-gallery .publication-select .current {
    position: relative;
}
.photo-gallery .publication-select .current .toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    width: 18px;
    height: 11px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-toggle.svg);
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.35s ease-in-out;
}
.photo-gallery .publication-select.active .current .toggle {
    transform: rotate(180deg);
}
.photo-gallery .publication-select ul li.inactive {
    display: none;
}
.photo-gallery .publication-select li a,
.photo-gallery .publication-select .current a {
    display: inline-block;
    width: 100%;
    padding: 25px 0 25px 20px;
}
.photo-gallery .publication-select li a:hover {
    background-color: unset;
    color: inherit;
}
.photo-gallery .publication-nav a {
    display: inline-block;
    padding: 24px;
    font-weight: 700;
    font-size: 105%;
}
.photo-gallery .filter-form {
    height: 70px;
    display: flex;
    column-gap: 32px;
    row-gap: 20px;
}
@media(max-width: 950px) {
    .photo-gallery .filter-form {
        flex-direction: column;
        height: unset;
    }
}
.photo-gallery .filter-form select{
    min-width: 200px;
}
.photo-gallery .photo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 32px;
    row-gap: 30px;
}
.photo-gallery .photo-grid .photo-cell {
    position: relative;
    max-height: 280px;
    overflow: hidden;
    cursor: pointer;
}
.photo-gallery .photo-grid .photo-cell .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    background-color: rgba(67, 67, 67, 0.85);
    color: white;
    font-size: 75%;
    font-weight: 700;
    font-family: var(--title-font);
    text-align: center;
}
.photo-gallery .photo-grid .photo-cell .image-container {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
}
.photo-gallery .photo-grid .photo-cell .image-container img {
    max-width: unset;
    /* width: 100%; */
    height: 100%;
    object-fit: cover;
}
@media(max-width: 820px) {
    .photo-gallery .photo-grid {
        display: flex;
        flex-direction: column;
    }
    .photo-gallery .photo-grid .photo-cell {
        max-height: unset;
    }
}
.photo-gallery .photo-grid .folder-cell {
    position: relative;
    max-height: 280px;
    min-height: 280px;
    overflow: hidden;
    cursor: pointer;
}
.photo-gallery .photo-grid .folder-cell a {
    display: inline-block;
    width: 100%;
    height: 100%;
}
.photo-gallery .photo-grid .folder-cell .caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px 0;
    background-color: rgba(67, 67, 67, 0.85);
    color: white;
    font-size: 90%;
    font-weight: 700;
    font-family: var(--title-font);
    text-align: center;
}
.photo-gallery .photo-grid .folder-cell .image-container {
    width: 100%;
    height: 100%;
}
.photo-gallery .photo-grid .folder-cell .image-container img {
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
@media(max-width: 820px) {
    .photo-gallery .photo-grid .folder-cell {
        max-height: unset;
    }
}
.photo-gallery .photo-overlay {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(67, 67, 67, 0.85);
    z-index: 1000;
}
.photo-gallery .photo-overlay .close-btn {
    position: absolute;
    right: 20px;
    top: 8%;
    width: 70px;
    height: 70px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-overlay-close-white.svg);
    background-repeat: no-repeat;
}
.photo-gallery .photo-overlay.active {
    display: flex;
}
.photo-gallery .photo-overlay .photo-container {
    width: 80%;
    height: 80%;
}
.photo-gallery .photo-overlay .gallery-swiper {
    height: 100%;
}
.photo-gallery .photo-overlay .swiper-slide {
    display: flex;
    justify-content: center;
    align-items: center;
}
.photo-gallery .photo-overlay .swiper-slide img {
    object-fit: contain;
    max-width: 80%;
    height: 100%;
}
.photo-gallery .photo-overlay .swiper-button-prev::after,
.photo-gallery .photo-overlay .swiper-button-next::after {
    content: '';
}
.photo-gallery .photo-overlay .swiper-button-prev,
.photo-gallery .photo-overlay .swiper-button-next {
    width: 24px;
    height: 30px;
    background-repeat: no-repeat;
    background-position: center;
}
.photo-gallery .photo-overlay .swiper-pagination {
    color: white;
}
.photo-gallery .photo-overlay .swiper-button-prev {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-prev-white.svg);
}
.photo-gallery .photo-overlay .swiper-button-next {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-next-white.svg);
}
.photo-gallery .filter-overlay {
    position: fixed;
    background-color: rgba(24, 24, 24, 0.7);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: none;
}
.photo-gallery .filter-overlay.active {
    display: block;
}
.photo-gallery .filter-overlay .filter-form {
    position: absolute;
    width: 95%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    padding: 20px;
    row-gap: 10px;
    background-color: white;
    box-sizing: border-box;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.photo-gallery .filter-overlay .filter-form input,
.photo-gallery .filter-overlay .filter-form select{
    min-height: 70px;
    min-width: unset !important;
    width: 100% !important;
}
.photo-gallery .filter-overlay .filter-form .heading {
    position: relative;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    font-family: var(--title-font);
    color: var(--clr-primary);
    padding-left: 30px;
}
.photo-gallery .filter-overlay .filter-form .heading::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-config.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.photo-gallery .filter-overlay .filter-form .close-btn {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-shop-cat-menu-close.svg);
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.photo-gallery .filter-btn {
    position: relative;
    padding-left: 30px;
    color: var(--clr-primary);
    font-family: var(--title-font);
    font-weight: 500;
    margin-top: 20px;
    margin-left: auto;
    width: fit-content;
    cursor: pointer;
}
.photo-gallery .filter-btn::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-config.svg);
}
.photo-gallery #filter-btn {
    position: relative;
    border-color: transparent;
    background-color: var(--clr-primary);
    color: white;
    font-family: var(--text-font);
    text-transform: unset;
    font-size: 125%;
    font-weight: 500;
    margin-left: auto;
}

    /*latest news*/
.news-cat.events { color: #000D80 !important; }
.news-cat.applications { color: #00803B !important; }
.news-cat.announcements { color: #008080 !important; }
.news-cat.others { color: grey !important; }

.news-cat.events.bg { background-color: #000D80 !important; color: white !important;}
.news-cat.applications.bg { background-color: #00803B !important; color: white !important;}
.news-cat.announcements.bg { background-color: #008080 !important; color: white !important;}
.news-cat.others.bg { background-color: grey !important; color: white !important;}

.latest-news .main-content > .container {
    margin-top: 30px;
    margin-bottom: 30px;
}
.latest-news .categories-section {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    flex-wrap: wrap;
}
.latest-news .categories-section a {
    color: var(--clr-text);
    font-weight: 500;
    font-size: 125%;
    padding: 24px 45px;
}
.latest-news .categories-section a:hover,
.latest-news .categories-section a.active {
    background-color: var(--clr-primary);
    color: white !important;
}
.latest-news .categories-section-select .inactive {
    display: none !important;
}
.latest-news .categories-section-select a {
    background-color: white;
    color: var(--clr-text);
}
.latest-news .categories-section-select .current a {
    background-color: var(--clr-primary);
    color: white !important;
}
.latest-news .categories-section-select {
    position: relative;
    margin-top: 35px;
    margin-bottom: 10px;
}
.latest-news .categories-section-select ul {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    list-style: none;
    background-color: white;
    transform: translateY(100%);
    margin: 0;
    z-index: 5;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}
.latest-news .categories-section-select.active ul {
    max-height: 2000px;
}
.latest-news .categories-section-select li,
.latest-news .categories-section-select .current {
    width: 100%;
}
.latest-news .categories-section-select .current {
    position: relative;
}
.latest-news .categories-section-select .current .toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    width: 18px;
    height: 11px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-toggle.svg);
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.35s ease-in-out;
}
.latest-news .categories-section-select.active .current .toggle {
    transform: rotate(180deg);
}
.latest-news .categories-section-select li a,
.latest-news .categories-section-select .current a {
    display: inline-block;
    width: 100%;
    padding: 25px 0 25px 20px;
}
.publication-single .sub-categories-select li a:hover {
    background-color: unset;
    color: inherit;
}
.latest-news .news-date-select {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 200px;
    position: relative;
    padding: 8px 50px 8px 16px;
    border: 1px solid #757575;
    cursor: pointer;
}
.latest-news .news-date-select::after {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    width: 15px;
    height: 9px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-arrow-black.svg);
    transform-origin: center;
}
.latest-news .news-date-select.active::after {
    transform: translateY(-50%) rotate(180deg);
}
.latest-news .news-date-select ul {
    margin-left: 0;
    list-style: none;
}
.latest-news .news-date-select li {
    text-align: center;
    padding: 8px 50px 8px 50px;
    border: 1px solid #757575;
}
.latest-news .news-date-select li.selected,
.latest-news .news-date-select li:hover {
    background-color: var(--clr-primary);
    color: white;
}
.latest-news .news-date-select.active .year-list {
    display: block;
}
.latest-news .news-date-select .year-list {
    position: absolute;
    display: none;
    margin-top: 10px;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: white;
    min-width: 200px;
    z-index: 100;
}
.latest-news .news-date-select.active.year-ready .month-list {
    display: block;
}
.latest-news .news-date-select .month-list {
    position: absolute;
    display: none;
    top: 100%;
    left: 150%;
    margin-left: 10px;
    transform: translate(-50%, 10%);
    background-color: white;
    min-width: 200px;
    z-index: 100;
}
.latest-news .filter-form {
    display: flex;
    min-height: 70px;
    column-gap: 10px;
    margin-top: 50px;
}
.latest-news .filter-form input[type="text"] {
    width: 100%;
}
.latest-news .filter-form input[type="submit"] {
    background-color: var(--clr-primary);
    color: white;
    font-family: var(--text-font) !important;
    font-size: 125%;
    font-weight: 500;
    text-transform: unset;
    padding-left: 70px;
}
.latest-news .filter-form input[type="submit"]:hover {
    border-color: transparent;
}
.latest-news .filter-form label {
    position: relative;
}
.latest-news .filter-form label::before {
    position: absolute;
    content: '';
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-filter.svg);
    background-repeat: no-repeat;
}
.latest-news .filter-form label,
.latest-news .filter-form input[type="submit"] {
    height: 100%;
    min-height: 70px;
    margin-bottom: 0;
}
.latest-news .filter-form input[type="text"] {
    border: 0.5px solid #434343;
}
.latest-news .filter-form {

}
.latest-news .filter-btn {
    position: relative;
    padding-left: 30px;
    color: var(--clr-primary);
    font-family: var(--title-font);
    font-weight: 500;
    margin-top: 20px;
    margin-left: auto;
    width: fit-content;
    cursor: pointer;
}
.latest-news .filter-btn::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-config.svg);
}
.latest-news .news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 32px;
    row-gap: 40px;
    margin-top: 60px;
}
.latest-news .news-grid .news-cell {
    box-shadow: 2px 4px 18px rgba(99, 99, 99, 0.1);
    background-color: white;
    box-sizing: border-box;
    padding: 30px;
}
.latest-news .news-grid .news-cell .image-container {
    width: 100%;
}
.latest-news .news-grid .news-cell .image-container img {
    width: 100%;
    max-width: unset;
    object-fit: cover;
}
.latest-news .news-grid .news-cell .news-title {
    font-weight: 600;
    font-size: 156%;
    color: var(--clr-primary);
    margin-bottom: 20px;
    font-family: var(--title-font);
}
.latest-news .news-grid .news-cell .news-excerpt {
    color: var(--clr-text);
}
.latest-news .news-grid .news-cell .date {
    display: flex;
    align-items: center;
    column-gap: 10px;
    margin-bottom: 15px;
}
.latest-news .news-grid .news-cell .date .day {
    font-size: 36px;
    font-weight: 700;
    padding: 0 11px;
    color: white !important;
}
.latest-news .news-grid .news-cell .date .month,
.latest-news .news-grid .news-cell .date .year {
    font-weight: 700;
}
@media(max-width: 1100px) {
    .latest-news .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media(max-width: 820px) {
    .latest-news .news-grid {
        display: flex;
        flex-direction: column;
    }
}
.latest-news .filter-overlay {
    position: fixed;
    background-color: rgba(24, 24, 24, 0.7);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: none;
}
.latest-news .filter-overlay.active {
    display: block;
}
.latest-news .filter-overlay .filter-form {
    position: absolute;
    width: 95%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    padding: 20px;
    row-gap: 10px;
    background-color: white;
    box-sizing: border-box;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.latest-news .filter-overlay .filter-form input,
.latest-news .filter-overlay .filter-form select{
    min-height: 70px;
    min-width: unset !important;
    width: 100% !important;
}
.latest-news .filter-overlay .filter-form .heading {
    position: relative;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    font-family: var(--title-font);
    color: var(--clr-primary);
    padding-left: 30px;
}
.latest-news .filter-overlay .filter-form .heading::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-config.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.latest-news .filter-overlay .filter-form .close-btn {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-shop-cat-menu-close.svg);
    width: 24px;
    height: 24px;
    cursor: pointer;
}
/* Single Latest News */
.single-latest-news .main-content > .container {
    margin-top: 30px;
    margin-bottom: 30px;
}
.single-latest-news .categories-section {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    flex-wrap: wrap;
}
.single-latest-news .categories-section a {
    color: var(--clr-text);
    font-weight: 500;
    font-size: 125%;
    padding: 24px 45px;
}
.single-latest-news .categories-section a:hover,
.single-latest-news .categories-section a.active {
    background-color: var(--clr-primary);
    color: white !important;
}
.single-latest-news .categories-section-select .inactive {
    display: none !important;
}
.single-latest-news .categories-section-select a {
    background-color: white;
    color: var(--clr-text);
}
.single-latest-news .categories-section-select .current a {
    background-color: var(--clr-primary);
    color: white !important;
}
.single-latest-news .categories-section-select {
    position: relative;
    margin-top: 35px;
    margin-bottom: 10px;
}
.single-latest-news .categories-section-select ul {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    list-style: none;
    background-color: white;
    transform: translateY(100%);
    margin: 0;
    z-index: 5;
    max-height: 0px;
    overflow: hidden;
    transition: max-height 0.35s ease-in-out;
}
.single-latest-news .categories-section-select.active ul {
    max-height: 2000px;
}
.single-latest-news .categories-section-select li,
.single-latest-news .categories-section-select .current {
    width: 100%;
}
.single-latest-news .categories-section-select .current {
    position: relative;
}
.single-latest-news .categories-section-select .current .toggle {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 30px;
    width: 18px;
    height: 11px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-toggle.svg);
    background-repeat: no-repeat;
    background-position: center;
    transform: rotate(0deg);
    transform-origin: center;
    transition: transform 0.35s ease-in-out;
}
.single-latest-news .categories-section-select.active .current .toggle {
    transform: rotate(180deg);
}
.single-latest-news .categories-section-select li a,
.single-latest-news .categories-section-select .current a {
    display: inline-block;
    width: 100%;
    padding: 25px 0 25px 20px;
}
.publication-single .sub-categories-select li a:hover {
    background-color: unset;
    color: inherit;
}
.single-latest-news .news-date-select {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-width: 200px;
    position: relative;
    padding: 8px 50px 8px 16px;
    border: 1px solid #757575;
    cursor: pointer;
}
.single-latest-news .news-date-select::after {
    position: absolute;
    content: "";
    top: 50%;
    transform: translateY(-50%);
    right: 10px;
    width: 15px;
    height: 9px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-arrow-black.svg);
    transform-origin: center;
}
.single-latest-news .news-date-select.active::after {
    transform: translateY(-50%) rotate(180deg);
}
.single-latest-news .news-date-select ul {
    margin-left: 0;
    list-style: none;
}
.single-latest-news .news-date-select li {
    text-align: center;
    padding: 8px 50px 8px 50px;
    border: 1px solid #757575;
}
.single-latest-news .news-date-select li.selected,
.single-latest-news .news-date-select li:hover {
    background-color: var(--clr-primary);
    color: white;
}
.single-latest-news .news-date-select.active .year-list {
    display: block;
}
.single-latest-news .news-date-select .year-list {
    position: absolute;
    display: none;
    margin-top: 10px;
    top: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    background-color: white;
    min-width: 200px;
    z-index: 100;
}
.single-latest-news .news-date-select.active.year-ready .month-list {
    display: block;
}
.single-latest-news .news-date-select .month-list {
    position: absolute;
    display: none;
    top: 100%;
    left: 150%;
    margin-left: 10px;
    transform: translate(-50%, 10%);
    background-color: white;
    min-width: 200px;
    z-index: 100;
}
.single-latest-news .filter-form {
    display: flex;
    min-height: 70px;
    column-gap: 10px;
    margin-top: 50px;
}
.single-latest-news .filter-form input[type="text"] {
    width: 100%;
}
.single-latest-news .filter-form input[type="submit"] {
    background-color: var(--clr-primary);
    color: white;
    font-family: var(--text-font) !important;
    font-size: 125%;
    font-weight: 500;
    text-transform: unset;
    padding-left: 70px;
}
.single-latest-news .filter-form input[type="submit"]:hover {
    border-color: transparent;
}
.single-latest-news .filter-form label {
    position: relative;
}
.single-latest-news .filter-form label::before {
    position: absolute;
    content: '';
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-filter.svg);
    background-repeat: no-repeat;
}
.single-latest-news .filter-form label,
.single-latest-news .filter-form input[type="submit"] {
    height: 100%;
    min-height: 70px;
    margin-bottom: 0;
}
.single-latest-news .filter-form input[type="text"] {
    border: 0.5px solid #434343;
}
.single-latest-news .filter-form {

}
.single-latest-news .filter-btn {
    position: relative;
    padding-left: 30px;
    color: var(--clr-primary);
    font-family: var(--title-font);
    font-weight: 500;
    margin-top: 20px;
    margin-left: auto;
    width: fit-content;
    cursor: pointer;
}
.single-latest-news .filter-btn::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-config.svg);
}
.single-latest-news .filter-overlay {
    position: fixed;
    background-color: rgba(24, 24, 24, 0.7);
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: none;
}
.single-latest-news .filter-overlay.active {
    display: block;
}
.single-latest-news .filter-overlay .filter-form {
    position: absolute;
    width: 95%;
    height: fit-content;
    display: flex;
    flex-direction: column;
    padding: 20px;
    row-gap: 10px;
    background-color: white;
    box-sizing: border-box;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.single-latest-news .filter-overlay .filter-form input,
.single-latest-news .filter-overlay .filter-form select{
    min-height: 70px;
    min-width: unset !important;
    width: 100% !important;
}
.single-latest-news .filter-overlay .filter-form .heading {
    position: relative;
    display: flex;
    justify-content: space-between;
    font-weight: 500;
    font-family: var(--title-font);
    color: var(--clr-primary);
    padding-left: 30px;
}
.single-latest-news .filter-overlay .filter-form .heading::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-config.svg);
    background-repeat: no-repeat;
    background-size: contain;
}
.single-latest-news .filter-overlay .filter-form .close-btn {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-shop-cat-menu-close.svg);
    width: 24px;
    height: 24px;
    cursor: pointer;
}
.single-latest-news .post-title {
    color: #C82E30;
    font-weight: 600;
    font-size: 156%;
    font-family: var(--title-font);
    margin-bottom: 30px;
}
/*Contact us*/
.highlight-required {
    font-weight: 500;
    color: var(--clr-primary);
}
.contact-us .message {
    margin-top: 30px;
}
.contact-us .message.success {
    color: limegreen;
}
.contact-us .message.error {
    color: red;
}
.contact-us agree-confirm + .message.error {
    margin-top: 30px;
}
.contact-us .main-content > .container {
    margin-top: 30px;
    margin-bottom: 100px;

}
.contact-us .heading {
    font-weight: 600;
    font-size: 156%;
    color: #C82E30;
    font-family: var(--title-font);
    margin-top: 30px;
}
.contact-us .contact-section {
    margin-top: 50px;
    color: #595A5B;
}
.contact-us .contact-section a {
    color: #595A5B;
}
.contact-us .contact-section p {
    margin-bottom: 0;
}
.contact-us .contact-section a:hover {
    color: var(--clr-primary);
}
.contact-us .contact-section .location {
    font-size: 125%;
    font-weight: 500;
}
.contact-us .contact-table {
    display: grid;
    grid-template-columns: 0.2fr 1fr;
    row-gap: 16px;
    margin-top: 20px;
}
.contact-us .contact-table .header {
    font-size: 112.5%;
    font-weight: 500;
}
.contact-us .social-icon .fb-icon {
    width: 36px;
    height: 36px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-fb.svg);
    background-repeat: no-repeat;
    background-position: center;
}
.contact-us .social-icon {
    margin-top: 30px;
    column-gap: 16px;
}
.contact-us .social-icon .ig-icon {
    width: 36px;
    height: 36px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-ig.svg);
    background-repeat: no-repeat;
    background-position: center;
}
.contact-us .enquiry-form {
    max-width: 900px;
}
.contact-us .main-content > .container > .knot-separate-block {
    max-width: 900px;
    margin-left: 0;
}
.contact-us .enquiry-form p {
    margin-bottom: 27px;
}
.contact-us .enquiry-form input[type="text"],
.contact-us .enquiry-form input[type="email"],
.contact-us .enquiry-form textarea {
    border: 1px #434343 solid;
    min-height: 70px;
    width: 100%;
}
.contact-us .enquiry-form input[type="radio"] {
    position: fixed;
    opacity: 0;
    pointer-events: none;
}
.contact-us .enquiry-form .role {
    display: flex;
    column-gap: 10px;
    justify-content: space-between;
    margin-bottom: 40px;
}
.contact-us .enquiry-form .custom-select,
.contact-us .enquiry-form .custom-select .select-selected{
    min-height: 70px;
}
.contact-us .enquiry-form input[type="radio"] + label {
    display: flex;
    align-items: center;
    color: #757575;
    border: 1px #757575 solid;
    padding: 0px 75px;
    border-radius: 10px;
    font-size: 125%;
    font-weight: 500;
    cursor: pointer;
    min-height: 70px;
}
.contact-us .enquiry-form input[type="radio"] + label:hover {
    background-color: var(--clr-primary);
    color: white;
}
.contact-us .enquiry-form input[type="radio"]:checked + label {
    background-color: var(--clr-primary);
    color: white;
}
.contact-us .enquiry-form form {
    display: flex;
    flex-direction: column;
}
.contact-us .enquiry-form .name {
    column-gap: 56px;
    margin-top: 40px;
}
.contact-us .enquiry-form .name > div:nth-of-type(1) {
    width: 40%;
}
.contact-us .enquiry-form .name > div:nth-of-type(2) {
    width: 60%;
}
.contact-us .enquiry-form .contact {
    column-gap: 56px;
    margin-top: 40px;
    margin-bottom: 40px;
}
.contact-us .enquiry-form .contact > div:nth-of-type(1) {
    width: 60%;
}
.contact-us .enquiry-form .contact > div:nth-of-type(2) {
    width: 40%;
}
.contact-us .enquiry-form .type {
    margin-bottom: 40px;
}
.contact-us .enquiry-form .enquiry-text {
    margin-bottom: 40px;
}
.contact-us .enquiry-form .enquiry-text textarea {
    resize: none;
    width: 100%;
    min-height: 350px;
}
.contact-us .agree-confirm {
    position: relative;
    margin-top: 20px;

}
.contact-us .agree-confirm input[type="checkbox"] {
    position: fixed;
    opacity: 0;
    pointer-events: none;
}
.contact-us .agree-confirm label {
    margin-left: 45px;
    margin-bottom: 0;
    font-weight: 700;
    font-size: 112.5%;
    cursor: pointer;
}
.contact-us .agree-confirm input[type="checkbox"]:checked + .check-icon {
    background-color: #434343;
}
.contact-us .agree-confirm .check-icon {
    position: absolute;
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-check.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: auto;
    border: 1px #434343 solid;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    border-radius: 4px;
}
.contact-us .enquiry-form input[type="submit"] {
    width: fit-content;
    text-transform: none;
    border-color: transparent;
    background-color: var(--clr-primary);
    color: white;
    font-family: var(--text-font);
    font-weight: 500;
    font-size: 125%;
    padding-left: 70px;
}
.contact-us .disclaimer {
    color: #595A5B;
}
.contact-us .enquiry-form .form-submit {
    position: relative;
    margin-top: 50px;
    width: fit-content;
}
.contact-us .enquiry-form .form-submit::before {
    position: absolute;
    content: '';
    left: 30px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-send-mail.svg);
    background-repeat: no-repeat;
    background-position: center;
}
@media (max-width: 950px) {
    .contact-us .enquiry-form input[type="radio"] + label {
        padding: 0px 65px;
    }
}
@media(max-width: 820px) {
    .contact-us .contact-table {
        display: flex;
        flex-direction: column;
    }
    .contact-us .enquiry-form .flex {
        flex-direction: column;
        row-gap: 30px;
    }
    .contact-us .enquiry-form .flex div {
        width: 100% !important;
    }
    .contact-us .enquiry-form .role label {
        justify-content: center;
    }
}
/* Scholarships and Financial Aids */
.scholarships .main-content > .container {
    margin-top: 30px;
    margin-bottom: 30px;
}
.scholarships .main-content > .container .heading {
    font-weight: 600;
    font-size: 156%;
    font-family: var(--title-font);
    color: #C82E30;
    margin-top: 40px;
}
.scholarships .filter-section .search-row {
    display: flex;
    align-items: center;
    column-gap: 10px;
}
.scholarships .filter-section input[type="text"] {
    border: #434343 1px solid;
    width: 100%;
    height: 70px;
}
.scholarships .filter-section .advanced-search {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 70px;
    background-color: var(--clr-primary);
    color: white;
    font-weight: 500;
    font-size: 125%;
    min-width: 283px;
    cursor: pointer;
    padding-right: 40px;
}
.scholarships .filter-section .advanced-search .expand-toggle {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%) rotate(0deg);
    width: 15px;
    height: 9px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-toggle.svg);
    background-position: center;
    background-repeat: no-repeat;
    transform-origin: center;
    /*transition: transform 0.35s ease-in-out;*/
}
.scholarships .filter-section .advanced-search.active .expand-toggle {
    transform: translateY(-50%) rotate(180deg);
}
.scholarships .filter-section input[type="reset"],
.scholarships .filter-section input[type="submit"]{
    border: none;
}
.scholarships .filter-section .advanced-filter {
    margin-top: 30px;
    transition: transform 0.35s ease-in-out;
    display: none;
}
.scholarships .filter-section .advanced-filter.active {
    display: block;
}
.scholarships .filter-section .filter-table {
    display: flex;
    width: 100%;
    justify-content: stretch;
    border: #CDCDCD 1px solid;
}
.scholarships .filter-section .filter-table .header {
    height: 98.5px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #4D4D4D;
    color: white;
    font-size: 125%;
    font-weight: 700;
}
.scholarships .filter-section .filter-table .column {
    flex-grow: 1;
}
.scholarships .filter-section .filter-table .column:not(:last-of-type) {
    border-right: #C8CBD2 2px solid;
}
.scholarships .filter-section .filter-table .column .choices {
    padding: 45px 0 50px 40px;
}
.scholarships .filter-section .filter-table .column .choices input[type="checkbox"] {
    position: fixed;
    opacity: 0;
    pointer-events: none;
}
.scholarships .filter-section .filter-table .column .choices label {
    margin-bottom: 20px;
    position: relative;
    padding-left: 40px;
}
.scholarships .filter-section .filter-table .column .choices label .checkbox {
    position: absolute;
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-check.png);
    background-repeat: no-repeat;
    background-position: center;
    border: #8A8A8A 3px solid;
    border-radius: 4px;
}
.scholarships .filter-section .filter-table .column .choices input[type="checkbox"]:checked + .checkbox {
    border-color: transparent;
    background-color: var(--clr-primary);
}
.scholarships .filter-section .search-btn input {
    background-color: var(--clr-primary);
    color: white;
    font-weight: 500;
    font-size: 125%;
    font-family: var(--text-font);
    text-transform: none;
    padding-left: 74px;
    height: 70px;
}
.scholarships .filter-section .search-btn {
    position: relative;
}
.scholarships .filter-section .search-btn::before {
    position: absolute;
    content: '';
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-search-white.svg);
    background-repeat: no-repeat;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}
.scholarships .filter-section .reset-btn input {
    background-color: #6F6F6F;
    color: white;
    font-weight: 500;
    font-size: 125%;
    font-family: var(--text-font);
    text-transform: none;
    padding-left: 74px;
    height: 70px;
}
.scholarships .filter-section .reset-btn {
    position: relative;
}
.scholarships .filter-section .reset-btn::before {
    position: absolute;
    content: '';
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-reset.svg);
    background-repeat: no-repeat;
    top: 50%;
    left: 30px;
    transform: translateY(-50%);
}
.scholarships .filter-section .filter-btn-row {
    display: flex;
    justify-content: center;
    column-gap: 32px;
    margin-top: 20px;
}
@media(max-width: 1200px) {
    .scholarships .filter-section .filter-table .column .choices {
        padding: 45px 10px 50px 10px;
    }
}
@media(max-width: 820px) {
    .scholarships .filter-section .search-row {
        flex-direction: column;
        row-gap: 10px;
    }
    .scholarships .filter-section .search-row .advanced-search {
        width: 100%;
    }
    .scholarships .filter-section .filter-table {
        flex-direction: column;
    }
    .scholarships .filter-section .filter-table .column .choices {
        padding: 45px 20px 50px 20px;
    }
    .scholarships .filter-section .filter-btn-row {
        flex-direction: column;
        row-gap: 10px;
    }
    .scholarships .filter-section .filter-btn-row input {
        width: 100%;
    }
}
.scholarships .num-search-result {
    font-weight: 500;
    font-size: 150%;
    color: #595A5B;
    margin-top: 20px;
    margin-bottom: 20px;
}
.scholarships .expand-parent {
    position: relative;
    min-height: 70px;
    background-color: var(--clr-primary);
    color: white;
    display: flex;
    align-items: center;
    margin-top: 10px;
    cursor: pointer;
}
.scholarships .expand-parent.active + .expand-content {
    display: block;
}
.scholarships .expand-parent .expand-toggle {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-toggle.svg);
    background-repeat: no-repeat;
    background-position: center;
}
.scholarships .expand-parent.active .expand-toggle {
    transform: translateY(-50%) rotate(180deg);
}
.scholarships .expand-parent .donate-icon {
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-donate.svg);
    background-repeat: no-repeat;
    background-position: center;
}
.scholarships .expand-parent .scholarships-name {
    padding-left: 60px;
    font-size: 125%;
    font-weight: 700;
    font-family: var(--title-font);
    padding-top: 26px;
    padding-bottom: 26px;
    margin-right: 50px;
}
.scholarships .expand-content {
    display: none;
    margin-top: 10px;
    box-shadow: 0px 0px 8px rgba(28, 37, 44, 0.08);
    padding-left: 40px;
    padding-right: 40px;
    padding-bottom: 30px;
}
.scholarships .expand-content .column {
    width: 45%;
}
.scholarships .expand-content .block .title {
    position: relative;
    font-size: 112.5%;
    font-weight: 600;
    font-family: var(--title-font);
    color: var(--clr-primary);
    padding-left: 30px;
}
.scholarships .expand-content .block .content {
    padding-left: 30px;
    margin-top: 20px;
    color: var(--clr-text);
}
.scholarships .expand-content .block{
    margin-top: 30px;
}
.scholarships .expand-content .block .title::before {
    position: absolute;
    content: '';
    width: 19.5px;
    height: 15px;
    top: 10px;
    left: 0;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-slider-bullet-active.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}
.scholarships .expand-content .info {
    display: flex;
    column-gap: 40px;
    width: 100%;
}
.scholarships .expand-content .cat {
    width: 300px;
    margin-left: auto;
}
.scholarships .expand-content .cat-table {
    margin-top: 30px;
    border: #CDCDCD 1px solid;
    width: 100%;
    min-width: 300px;
}
.scholarships .expand-content .cat-table .header {
    min-height: 47px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #4D4D4D;
    color: white;
    font-weight: 700;
}
.scholarships .expand-content .cat-table .content {
    min-height: 71px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding-top: 25px;
    padding-bottom: 25px;
    font-size: 112.5%;
    font-weight: 500;
    color: #595A5B;
}
@media(max-width: 1200px) {
    .scholarships .expand-content .info {
        column-gap: 10px;
    }
    .scholarships .expand-content .cat {
        width: 55%;
    }
}
@media(max-width: 820px) {
    .scholarships .expand-parent .scholarships-name {
        font-size: 100%;
    }
    .scholarships .expand-content > .flex:nth-of-type(1) {
        flex-direction: column-reverse;
    }
    .scholarships .expand-content .info {
        flex-direction: column;
    }
    .scholarships .expand-content .column {
        width: 100%;
    }
    .scholarships .expand-content .cat {
        width: 100%;
    }
}
/*Funding Support for Student Activities*/
.student-activities .main-content > .container {
    margin-top: 30px;
    margin-bottom: 30px;
}
.student-activities .main-content .heading {
    font-weight: 600;
    font-size: 156%;
    font-family: var(--title-font);
    color: #C82E30;
    margin-top: 40px;
}
.student-activities .swiper-container {
    position: relative;
    padding: 70px;
}
@media(max-width: 500px) {
    .student-activities .swiper-container {
        padding: 40px;
    }
}
.student-activities .swiper-container::before,
.student-activities .swiper-container::after {
    position: absolute;
    content: '';
    border: #8D6670 4px solid;
    width: 40%;
    height: 50%;
    transform-origin: center;
    z-index: -1;
}
.student-activities .swiper-container::before {
    top: 8%;
    left: 10%;
    transform: rotate(-20deg);
}
.student-activities .swiper-container::after {
    bottom: 0;
    right: 10%;
}
.student-activities .swiper-container .swiper-button-next::after,
.student-activities .swiper-container .swiper-button-prev::after {
    content: '';
}
.student-activities .swiper-container .swiper-button-next {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-next-red.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.student-activities .swiper-container .swiper-button-prev {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-prev-red.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}
.student-activities .swiper-slide {
    height: calc(560 / 750 * 100vw);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    max-height: 562px;
}
.student-activities .description {
    margin-top: 30px;
    margin-bottom: 40px;
}
.student-activities .description .title {
    font-size: 125%;
    font-weight: 600;
    font-family: var(--title-font);
    margin-bottom: 20px;
}
.student-activities .download-link {
    position: relative;
    font-weight: 600;
    font-size: 112.5%;
    font-family: var(--title-font);
    text-decoration: underline;
    color: var(--clr-primary);
    padding-left: 54px;
}
.student-activities .download-link::before {
    position: absolute;
    content: '';
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 34px;
    height: 34px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-download.svg);
}
.student-activities .funds {
    margin-top: 78px;
}
.student-activities .funds .cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    column-gap: 85px;
    row-gap: 30px;
}
@media(max-width: 1200px) {
    .student-activities .funds .cards {
        column-gap: 40px;
    }
}
@media(max-width: 920px) {
    .student-activities .funds .cards {
        column-gap: 20px;
    }
}
@media(max-width: 820px) {
    .student-activities .funds .cards {
        display: flex;
        flex-direction: column;
    }
}
.student-activities .funds .cards .fund-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #F1F1F1;
    box-shadow: 2px 4px 18px rgba(99, 99, 99, 0.1);
    padding: 30px 20px 45px 20px;
}
.student-activities .funds .cards .fund-card .title {
    font-weight: 600;
    font-size: 112.5%;
    font-family: var(--title-font);
}
.student-activities .funds .cards .fund-card .download-link {
    margin-top: auto;
}
.student-activities .download-link a {
    color: inherit;
}
/* Sharing by Donors and Recipients */
main.sharing .main-content > .container {
    margin-top: 30px;
    margin-bottom: 30px;
}
main.sharing .main-content .heading {
    font-weight: 600;
    font-size: 156.25%;
    color: #C82E30;
    font-family: var(--title-font);
    margin-top: 40px;
}
main.sharing .main-content .sharing-cat {
    column-gap: 50px;
}
main.sharing .main-content .sharing-cat a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #757575;
    border: 1px #757575 solid;
    width: 50%;
    padding-top: 24px;
    padding-bottom: 24px;
}
main.sharing .main-content .sharing-cat a:hover,
main.sharing .main-content .sharing-cat a.active {
    color: var(--clr-primary);
    border-color: var(--clr-primary);
    font-weight: 500;
}
main.sharing .main-content .person-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 30px;
    column-gap: 24px;
    margin-top: 50px;
}
main.sharing .main-content .person-cell {
    position: relative;
    overflow: hidden;
    width: fit-content;
    cursor: pointer;
    max-width: 286.94px;
    margin-left: auto;
    margin-right: auto;
}
main.sharing .main-content .person-cell .image-container {
    border-radius: 20px;
    overflow: hidden;
    display: flex;
}
main.sharing .main-content .person-cell .image-container img {
    max-width: unset;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
main.sharing .main-content .person-cell:hover .hover,
main.sharing .main-content .person-cell:focus .hover {
    transform: translateY(0);
}
main.sharing .main-content .person-cell .hover {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(62, 59, 59, 70%);
    color: white;
    border-radius: 20px;
    display: flex;
    flex-direction: column;    
    justify-content: flex-end;
    padding-bottom: 30px;
    padding-left: 24px;
    transform: translateY(100%);
    transition: transform 0.35s ease-in-out;
}
main.sharing .main-content .person-cell .hover .name {
    font-weight: 600;
    font-size: 156.25%;
    font-family: var(--title-font);
    text-transform: uppercase;
}
@media(max-width: 820px) {
    main.sharing .main-content .sharing-cat {
        flex-direction: column;
        row-gap: 10px;
    }
    main.sharing .main-content .sharing-cat > a {
        width: 100%;
    }
    main.sharing .main-content .person-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
main.sharing .sharing-overlay {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(24, 24, 24, 0.7);
    z-index: 1000;
}
main.sharing .sharing-overlay.active {
    display: flex;
}
main.sharing .sharing-overlay .sharing-container {
    position: relative;
}
main.sharing .sharing-overlay .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 27px;
    height: 27px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-overlay-close-red.svg);
    background-repeat: no-repeat;
    cursor: pointer;
}
main.sharing .sharing-overlay .sharing-content {
    background-color: white;
    border-radius: 20px;
    width: 80vw;
    height: 80vh;
    max-width: 1220px;
    overflow-y: auto;
    padding: 90px 50px;
}
main.sharing .sharing-overlay .sharing-content .sharer {
    display: flex;
}
main.sharing .sharing-overlay .sharing-content .sharer > .flex {
    flex-direction: column;
    width: 100%;
    justify-content: space-between;
    row-gap: 18px;
}
main.sharing .sharing-overlay .sharing-content .sharer .sharer-info {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 220px;
    width: 100%;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/flag-red.svg);
    background-repeat: no-repeat;
    background-position: right center;
    background-size: cover;
    color: white;
    transform: translateX(-8%);
    padding-top: 16px;
    padding-bottom: 42px;    
}
main.sharing .sharing-overlay .sharing-content .sharer .sharer-info > * {
    transform: rotate(-5deg);
}
main.sharing .sharing-overlay .sharing-content .sharer .sharer-info .sharer-name {
    font-weight: 700;
    font-size: 218%;
    font-family: var(--title-font);
}
main.sharing .sharing-overlay .sharing-content .sharer .sharer-info .sharer-major {
    font-weight: 500;
    font-size: 156%;
}
main.sharing .sharing-overlay .sharing-content .sharer .image-container {
    position: relative;
    z-index: 2;
}
main.sharing .sharing-overlay .sharing-content .sharer .scholarship-list {
    display: flex;
    flex-direction: column;
    row-gap: 16px;
    color: var(--clr-primary);
    font-weight: 500;
    margin-left: 45px;
    margin-bottom: 20px;
}
main.sharing .sharing-overlay .sharing-content .sharing-text {
    background-color: #F3F1F1;
    border-radius: 20px;
    padding: 30px 78px;
    margin-top: 20px;
}

@media (max-width: 1000px) {
    main.sharing .sharing-overlay .sharing-content .sharer .image-container {
        z-index: 1;
    }
    main.sharing .sharing-overlay .sharing-content {
        padding: 90px 0;
        /* padding: 90px 50px; */
    }
    main.sharing .sharing-overlay .sharing-content .sharer {
        flex-direction: column;
        align-items: center;        
    }
    main.sharing .sharing-overlay .sharing-content .sharer .sharer-info {       
        transform: unset;   
        transform: translate(-6%, -12%);
        z-index: 2;    
    }
    main.sharing .sharing-overlay .sharing-content .sharer .scholarship-list {
        margin-left: unset;
        margin-left: 30px;
        margin-right: 30px;
    }
    main.sharing .sharing-overlay .sharing-content .sharer .scholarship-list .scholarship {
        text-align: center;
    }
    main.sharing .sharing-overlay .sharing-content .sharing-text {
        margin-left: 30px;
        margin-right: 30px;
    }
}
@media(max-width: 820px) {
    main.sharing .sharing-overlay .sharing-content .sharing-text {
        padding: 30px 20px;
    }
    main.sharing .sharing-overlay .sharing-content .sharer .sharer-info {
        min-height: 167px;
    }
}
@media(max-width: 600px) {
    main.sharing .sharing-overlay .sharing-content .sharer .sharer-info .sharer-name {
        font-size: 112.5% !important;
    }
    main.sharing .sharing-overlay .sharing-content .sharer .sharer-info .sharer-major {
        font-size: 75% !important;
    }
    main.sharing .sharing-overlay .sharing-content .sharer .scholarship-list {
        font-size: 87.5%;
    }
    main.sharing .sharing-overlay .sharing-content .sharing-text {
        font-size: 87.5%;
    }
}
/* scholarship page template */
.scholarship-template .main-content > .container {
    margin-top: 30px;
    margin-bottom: 30px;
}
.scholarship-template .main-content > .container .heading {
    font-size: 156%;
    font-weight: 600;
    font-family: var(--title-font);
    color: var(--clr-primary);
    margin-top: 30px;
}
.scholarship-template .layout-block .image-text-rows .row-container .image-container,
.scholarship-template .layout-block .image-text-rows .row-container .text {
    width: 50%;
}
/* useful link */
.useful-link-template .main-content > .container {
    margin-top: 30px;
    margin-bottom: 30px;
}
.useful-link-template .main-content > .container div.list {
    margin-top: 50px;
}
.useful-link-template .expand-parent {
    position: relative;
    font-weight: 700;
    font-size: 125%;
    color: var(--clr-primary);
    font-family: var(--title-font);
    padding: 26px 40px;
    box-shadow: 2px 4px 18px rgba(99, 99, 99, 0.1);    
}
.useful-link-template .expand-parent.active {
    color: white !important;
    background-color: var(--clr-primary) !important;
}
.useful-link-template .expand-parent .heading a {
    color: inherit;
}
.useful-link-template .expand-parent .toggle {
    position: absolute;
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
    width: 18px;
    height: 11px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-arrow-black.svg);
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.35s ease-in;
    cursor: pointer;
}
.useful-link-template .expand-content .sub-link {
    padding: 20px;
}
.useful-link-template .expand-parent.active .toggle {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-arrow-white-up.svg);
}
.useful-link-template .expand-content {
    max-height: 0px;
    background-color: var(--clr-primary);
    margin-top: 10px;
    overflow: hidden;
    box-shadow: 2px 4px 18px rgba(99, 99, 99, 0.1);
    transition: max-height 0.35s linear;
}
.useful-link-template .expand-parent.active + .expand-content {
    max-height: 3000px;
}
.useful-link-template .expand-content ul {
    padding: 40px;
}
.useful-link-template .expand-content li {
    list-style: none;
    position: relative;
    padding-left: 35px;
    margin-top: 30px;
}
.useful-link-template .expand-content li::before {
    position: absolute;
    content: '';
    top: 8px;
    left: 0;
    width: 19.5px;
    height: 15px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-list-point-white.svg);
}
.useful-link-template .expand-content li a {
    font-weight: 600;
    font-size: 112.5%;
    font-family: var(--title-font);
    color: white;
}
    /*Shop*/
main.shop > .container {
    padding-top: 30px;
    margin-bottom: 50px;
}
.shop-nav {
    margin-top: 40px;
}
.shop-nav ul {
    display: flex;
    list-style: none;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
}
.shop-nav ul li.active {
    background-color: var(--clr-primary);
}
.shop-nav ul li a {
    display: inline-block;
    font-weight: 500;
    padding: 20px 55px;
    color: var(--clr-text);
}
.shop-nav ul li.active a {
    color: white;
}
.shop-nav.dropdown {
    margin-bottom: 40px;
    align-items: center;
    column-gap: 10px;
}
.shop-nav.dropdown .select-selected {
    background-color: var(--clr-primary);
    color: white;
}
.shop-nav.dropdown .select-selected:after {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-expand-toggle.svg);
    width: 20px;
    background-repeat: no-repeat;
    background-position: center;
}
@media(max-width: 820px) {
    .shop-nav.dropdown {
        display: flex;
    }
}
.shop-nav.dropdown select {
    width: 100%;
    height: 70px;
    padding: 0 20px;
    background-color: var(--clr-primary);
    color: white;
}
main.shop .shop-swiper .swiper-slide {
    position: relative;
    padding-top: calc(383/1216*100%);
    background-size: cover;
}
main.shop .shop-swiper .swiper-slide a {
    position: absolute;
    display: inline-block;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}
main.shop .shop-swiper .swiper-button-prev::after,
main.shop .shop-swiper .swiper-button-next::after {
    display: none;
}
main.shop .shop-swiper .swiper-button-prev,
main.shop .shop-swiper .swiper-button-next {
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
main.shop .swiper-container {
    position: relative;
}
main.shop .swiper-container .shop-swiper-button-next,
main.shop .swiper-container .shop-swiper-button-prev {
    position: absolute;
    width: 20px;
    height: 30px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
}
main.shop .swiper-container .shop-swiper-button-prev {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-prev-grey.svg);
    left: 0;
    transform: translate(-150%,-50%);
}
main.shop .swiper-container .shop-swiper-button-next {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-next-grey.svg);
    right: 0;
    transform: translate(150%,-50%);
}
main.shop .shop-header-container {
    margin-bottom: 50px;
}
main.shop .shop-search {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    /*transform: translateY(-50%);*/
    z-index: 90;
    margin-top: 20px;
}
main.shop .shop-search.no-banner {
    transform: unset;
}
main.shop .shop-search form{
    display: flex;
    background-color: white;
    border: 1px #757575 solid;
    box-shadow: 0px 2px 30px rgba(28, 37, 44, 0.08);
    border-radius: 10px;
    width: 70%;
}
main.shop .shop-search input {
    width: 100%;
}
main.shop .shop-search button {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-search.svg);
    background-position: center;
    background-repeat: no-repeat;
    margin-left: 10px;
    margin-right: 10px;
}
main.shop .shop-search input,
main.shop .shop-search button {
    background-color: transparent;
    border-color: transparent;
}
main.shop .shop-main-content {
    display: flex;
}
main.shop .shop-main-content .categories {
    background-color: #EFF0F0;
    width: 30%;
}
main.shop .shop-main-content .shop-wrapper {
    width: 70%;
}
main.shop .shop-main-content .shop-wrapper.main .woocommerce-result-count,
main.shop .shop-main-content .shop-wrapper.main .woocommerce-ordering {
    display: none;
}
main.shop .shop-main-content .categories {
    padding: 50px 0 50px 64px;
}
main.shop .shop-main-content .categories .shop-cat-menu-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 28px;
    height: 28px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-shop-cat-menu-close.svg);
    background-position: center;
    background-repeat: no-repeat;
}
main.shop .shop-main-content .categories .heading {
    font-size: 156.25%;
    font-weight: 600;
    font-family: var(--title-font);
    margin-left: 1rem;
}
main.shop .shop-main-content .categories ul {
    list-style: none;
    border-top: 1px var(--clr-text) solid;
}
main.shop .shop-main-content .categories ul li {
    position: relative;
    margin-left: 0;
    margin-top: 25px;
    padding-left: 1.5rem;
    width: fit-content;
}
main.shop .shop-main-content .categories ul li::before {
    position: absolute;
    content: '';
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-next-grey.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    left: 0;
    width: 14px;
    height: 10px;
    transform: translateY(-50%);
}
main.shop .shop-main-content .categories ul li.active a,
main.shop .shop-main-content .categories ul li:hover a {
    color: var(--clr-text);
    font-weight: 500;
}
main.shop .shop-main-content .categories ul li:hover::before,
main.shop .shop-main-content .categories ul li.active::before {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-next.svg);
}
main.shop .shop-main-content .categories ul li a {
   color: #646463;
   font-size: 125%;
}
main.shop .shop-main-content .shop-wrapper {
   background-color: white;
}
main.shop .shop-main-content .shop-wrapper .hightlight-shop-section .heading {
    position: relative;
    color: var(--clr-primary);
    font-size: 156.25%;
    font-weight: 600;
    font-family: var(--title-font);
    text-align: center;
    margin-top: 30px;
    margin-bottom: 30px;
    padding-bottom: 16px;
}
main.shop .shop-main-content .shop-wrapper .hightlight-shop-section .heading::after {
    position: absolute;
    content: '';
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background-color: #AEAEAE;
}
@media(max-width: 820px) {
    main.shop .shop-header-container {
        margin-bottom: 20px;
    }
    main.shop .shop-search {
        margin-top: 30px;
        transform: unset;
        border-radius: 5px;
    }
main.shop .shop-search form{
        width: 100%;
    }
    main.shop .shop-main-content .categories {
        display: none;
        width: 100%;
        position: absolute;
        z-index: 100;
        top: 0;
        left: 0;
        margin-top: 280px;
    }
    main.shop .shop-main-content .categories.active {
        display: block;
    }
    main.shop .shop-main-content .shop-wrapper {
        width: 100%;
    }
    main.shop .shop-main-content .shop-wrapper .hightlight-shop-section .heading {
        text-align: left;
        padding-left: 20px;
    }
    main.shop .shop-main-content .shop-wrapper .hightlight-shop-section .heading::after {
        width: 95%;
    }
}
/*Product swiper*/
.shop-wrapper .swiper-container {
    position: relative;
    width: 80%;
    margin-left: auto;
    margin-right: auto;
}
.shop-wrapper .swiper-container .products-swiper-button-prev,
.shop-wrapper .swiper-container .products-swiper-button-next {
    position: absolute;
    background-color: white;
    background-position: center;
    background-repeat: no-repeat;
    background-size: 18px 11px;
    top: 35%;
    width: 60px;
    height: 60px;
    z-index: 90;
}
.shop-wrapper .swiper-container .products-swiper-button-prev {
    left: 0;
    transform: translate(-50%, -50%);
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-prev-grey.svg);
    box-shadow: -5px 5px 30px rgba(28, 37, 44, 0.08);
}
.shop-wrapper .swiper-container .products-swiper-button-next {
    right: 0;
    transform: translate(50%, -50%);
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-next-grey.svg);
    box-shadow: 5px 5px 30px rgba(28, 37, 44, 0.08);
}
.products-swiper .swiper-slide {
    max-width: 240px;
    display: flex;
    justify-content: center;
}
.products-swiper .swiper-slide .product-card {
    width: 100%;
    max-height: 400px;
    min-height: 400px;
}
.products-swiper-pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}
.products-swiper .products-swiper-pagination .swiper-pagination-bullet {
    background-image: unset !important;
    background-color: #C4C4C4 !important;
    border-radius: 50% !important;
    width: 7px !important;
    height: 7px !important;
}
.products-swiper .products-swiper-pagination .swiper-pagination-bullet.swiper-pagination-bullet-active {
    background-color: var(--clr-primary) !important;
    width: 10px !important;
    height: 10px !important;
}
/*Product card*/
.product-card {
    display: flex;
    flex-direction: column;
    width: fit-content;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    overflow: hidden;
    box-shadow: 0px 2px 30px rgba(28, 37, 44, 0.08);
}
.products .product-card {
    min-width: 260px;
    max-width: 260px;
}
.product-card .product-img{
    min-height: 250px;
    max-height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.product-card .product-info{
    padding: 10px;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.product-card .product-name {
    font-size: 87.5%;
}
.product-card .product-name a {
    color: var(--clr-text);
}
.product-card .product-name a:hover {
    color: inherit;
}
.product-card .product-price {
    font-size: 125%;
    font-weight: 700;
}
.product-card .product-info .row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}
.product-card .add-to-cart{
    width: 45px;
    height: 45px;
    background-color: #434343;
    border-radius: 50%;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-shopping-cart-white.svg);
    background-position: 48%;
    background-repeat: no-repeat;
    background-size: 50%;
}
.product-card .add-to-cart a {
    display: inline-block;
    width: 100%;
    height: 100%;
}
/*categories page*/
.shop-wrapper ul.products {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    row-gap: 30px;
}
.shop-wrapper ul.products li {
    display: flex;
    justify-content: center;
}
.shop-wrapper ul.products::before,
.shop-wrapper ul.products::after {
    display: none;
}
.shop-wrapper.cat {
    padding: 30px 10px;
}
.shop-wrapper.cat .heading {
    position: relative;
    font-size: 165.25%;
    font-weight: 600;
    font-family: var(--title-font);
    color: var(--clr-primary);
    margin-left: 20px;
    padding-bottom: 16px;
    margin-bottom: 30px;
}
.shop-wrapper.cat .heading::after {
    position: absolute;
    content: '';
    width: 90%;
    height: 1px;
    background-color: #AEAEAE;
    bottom: 0;
    left: 0;
}
.shop-wrapper.cat .woocommerce-result-count {
    margin-left: 20px;
}
.shop-wrapper.cat .woocommerce-ordering {
    margin-right: 20px;
}
@media(max-width: 1140px) {
    .shop-wrapper ul.products {
        grid-template-columns: 1fr 1fr;
    }
}
@media(max-width: 600px) {
    .shop-wrapper ul.products {
        display: flex;
        flex-direction: column;
    }
}
/*product search page*/
.shop-wrapper.search {
    padding: 30px 10px;
}
.shop-wrapper.search .heading {
    position: relative;
    font-size: 165.25%;
    font-weight: 600;
    font-family: var(--title-font);
    color: var(--clr-primary);
    margin-left: 20px;
}
.shop-wrapper.search .sub-heading {
    position: relative;
    margin-left: 20px;
    padding-bottom: 16px;
    margin-bottom: 30px;
}
.shop-wrapper.search .sub-heading::after {
    position: absolute;
    content: '';
    width: 90%;
    height: 1px;
    background-color: #AEAEAE;
    bottom: 0;
    left: 0;
}

/*woocommerce*/
.woocommerce-info {
    border-top-color: var(--clr-primary);
}
.woocommerce-info::before {
    color: var(--clr-primary);
}
.button.wc-forward {
    font-family: var(--text-font);
    text-transform: unset;
}
.woocommerce-pagination > ul.page-numbers{
    border: 0 !important;
}
.woocommerce-pagination > ul.page-numbers span.page-numbers {
    background-color: unset !important;
    font-size: 120%;
}
.woocommerce-pagination > ul.page-numbers span.page-numbers.current {
    color: var(--clr-primary);
}
.woocommerce-pagination > ul.page-numbers a.page-numbers {
    color: var(--clr-text);
    font-size: 120%;
}
.woocommerce-pagination > ul.page-numbers a.page-numbers:hover {
    color: var(--clr-primary);
}
.woocommerce-pagination > ul.page-numbers span.page-numbers a {
    color: var(--clr-text);
}
.woocommerce-pagination ul.page-numbers li{
    border-right: 0 !important;
}
/*Woocommerce cart*/
.heading.shopping-cart {
    position: relative;
    font-size: 156.25%;
    font-weight: 600;
    font-family: var(--title-font);
    text-transform: uppercase;
    color: var(--clr-primary);
    padding-left: 40px;
}
.heading.shopping-cart::before {
    position: absolute;
    content: '';
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-shopping-cart.svg);
    background-position: center;
    background-repeat: no-repeat;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    width: 31px;
    height: 31px;
}
.shop-main-content.cart .woocommerce {
    width: 100%;
}
.shop-main-content.cart .woocommerce .cart-form {
    background-color: white;
    padding: 25px 50px;
}
.shop-main-content.cart .woocommerce .cart-form table.cart,
.shop-main-content.cart .woocommerce .cart-form table.cart th,
.shop-main-content.cart .woocommerce .cart-form table.cart td {
    border: 0;
}
.shop-main-content.cart .woocommerce .cart-form table.cart th {
    text-align: center;
}
.cart_item .product-thumbnail {
    min-width: 80px !important;
}
.cart_item .product-thumbnail img{
    width: 100% !important;
    height: 100% !important;
    max-width: 80px;
}
.cart_item .product-spec {
    font-size: 87.5%;
    color: #757575;
    margin-top: 10px;
}
.cart_item .your-order {
    display: flex;
    column-gap: 10px;
}
.cart_item .your-order .product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.cart_item .your-order .product-info .product-description{
    width: 80%;
}
.cart_item .product-name,
.cart_item a {
    font-size: 112.5%;
    font-weight: 500;
    color: var(--clr-text);
}
.shop-main-content.cart .woocommerce th.product-quantity {
    text-align: center;
}
.cart_item .product-code .flex,
.cart_item .product-quantity .flex,
.cart_item .product-price .flex,
.cart_item .product-subtotal .flex {
    align-items: center;
    justify-content: center;
    font-weight: 500;
}
.cart_item .product-quantity .flex:nth-child(1) {
    justify-content: flex-start;
    column-gap: 40px;
}
.cart_item .product-quantity .flex:nth-child(2) {
    justify-content: flex-start;
    /* margin-top: 20px;
    margin-bottom: 50px; */

}
.cart_item .product-code .flex {
    font-size: 112.5%;
}
.cart_item .product-price .flex,
.cart_item .product-subtotal .flex {
    font-size: 125%;
}
.cart_item .product-quantity .flex input[type="number"] {
    border: 1px solid #CDCDCD;
    border-radius: 10px;
    -moz-appearance: textfield;
}
.cart_item .product-quantity .flex input[type="number"]::-webkit-outer-spin-button,
.cart_item .product-quantity .flex input[type="number"]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
.cart_item .product-quantity .flex .minus-qty,
.cart_item .product-quantity .flex .add-qty {
    cursor: pointer;
}
.cart_item .product-quantity .flex .minus-qty {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-cart-minus.svg);
    width: 44px;
    height: 44px;
    order: 1;
    margin: 0 0.5rem;
}
.cart_item .product-quantity .flex .quantity {
    order: 2;
}
.cart_item .product-quantity .flex .add-qty {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-cart-add.svg);
    width: 44px;
    height: 44px;
    order: 3;
    margin: 0 0.5rem;
}
.cart_item .product-quantity .flex .remove-item {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-cart-remove.svg);
    background-position: center;
    background-repeat: no-repeat;
    width: 44px;
    height: 44px;
    order: 4;
    margin: 0 0.5rem;
}
@media(max-width:820px) {
    .shop-main-content.cart .woocommerce .cart-form {
        padding: 25px 10px;
    }
    .cart_item {
        position: relative;
    }
    .cart_item .your-order {
        min-height: 160px;
    }
    .cart_item .product-quantity {
        vertical-align: top !important;
    }
    .product-subtotal {
        position: absolute;
        right: 10px;
        bottom: 10px;
    }
    .cart_item .your-order .product-thumbnail {
        max-width: 35%;
        width: 100%;
    }
    .cart_item .your-order .product-info {
        width: 100%;
    }
    .cart_item .your-order .product-thumbnail img {
        max-width: 100% !important;
        height: auto !important;
    }
}
@media(max-width:768px) {
    .woocommerce table.cart .product-thumbnail, .woocommerce-page #content table.cart .product-thumbnail, .woocommerce-page table.cart .product-thumbnail {
        display: block;
    }
    .woocommerce table.shop_table_responsive thead, .woocommerce-page table.shop_table_responsive thead {
        display: table-header-group;
    }
    .woocommerce table.shop_table_responsive tr, .woocommerce-page table.shop_table_responsive tr {
        display: table-row;
    }
    .woocommerce table.shop_table_responsive tr td, .woocommerce-page table.shop_table_responsive tr td {
        display: table-cell;
        text-align: unset !important;
    }
    .woocommerce table.shop_table_responsive tr td::before, .woocommerce-page table.shop_table_responsive tr td::before {
        display: none;
    }
    .woocommerce table.shop_table_responsive tr:nth-child(2n) td, .woocommerce-page table.shop_table_responsive tr:nth-child(2n) td {
        background-color: unset;
    }
}
@media(max-width: 530px) {
    .cart_item .your-order .product-thumbnail img {
        max-width: 180px !important;
    }
    .cart_item .your-order .product-thumbnail {
        max-width: unset;
    }
    .cart_item .your-order {
        flex-direction: column;
    }
    .product-quantity .add-qty,
    .product-quantity .minus-qty{
        margin: 0 0.2em !important;
    }
    /*.product-quantity .remove-item {*/
    /*    position: absolute;*/
    /*    right: 10px;*/
    /*    top: 50%;*/
    /*    transform: translateY(-50%);*/
    /*}*/
}
/*cart action*/
.cart-action {
    display: flex;
    justify-content: space-between;
    margin-top: 55px;
    margin-bottom: 55px;
    column-gap: 50px;
    row-gap: 30px;
    flex-wrap: wrap;
}
.cart-action .coupon {
    display: flex;
    height: 70px;
    column-gap: 10px;
}
.cart-action .btn {
    position: relative;
    display: flex;
    align-items: center;
    height: 100%;
    text-transform: unset;
    border: 0;
    background-color: var(--clr-primary);
    color: white;
    padding-left: 50px;
    font-size: 125%;
    font-weight: 500;
    font-family: var(--text-font);
}
.cart-action .btn::before {
    position:absolute;
    content: "";
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    width: 20px;
    height: 18px;
}
.cart-action .btn.coupon::before {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-coupon.svg);
}
.cart-action .btn.donate::before {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-donate.svg);
}
@media(max-width:820px) {
    .cart-action {
        flex-direction: column;
        row-gap: 20px;
    }
    .cart-action .coupon{
        flex-direction: column;
        row-gap: 20px;
        height: unset;
    }
    .cart-action .donate{
        width: 100%;
    }
    .cart-action .donate button{
        justify-content: center;
    }
}
/*cart total*/
.cart-collaterals {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    background-color: white;
}
.cart-collaterals .cart_totals {
    width: 40% !important;
    float: none;
}
.cart-collaterals .cart_totals a {
    color: var(--clr-primary);
}
.cart-collaterals .cart_totals {
    padding-top: 30px;
    padding-bottom: 30px;
}
.cart-collaterals .cart_totals > h2{
    display: none;
}
.cart-collaterals .cart_totals table {
    border-collapse: collapse;
}
.cart-collaterals .cart_totals table,
.cart-collaterals .cart_totals table tr,
.cart-collaterals .cart_totals table th,
.cart-collaterals .cart_totals table td {
    border: 0 !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}
.cart-collaterals .cart_totals table td {
    width: 30%;
}
div.checkout {
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
}
.checkout-btn {
    position: relative;
    display: inline-block;
    padding: 17px 50px 17px 90px;
    background-color: var(--clr-primary);
    color: white;
    font-size: 125%;
    font-weight: 500;
}
.checkout-btn::before {
    position: absolute;
    content: '';
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-checkout.svg);
    background-position: center;
    background-repeat: no-repeat;
}
.checkout-btn:hover {
    color: white;
}
/* .cart-collaterals .cart_totals table,
.cart-collaterals .cart_totals tr,
.cart-collaterals .cart_totals th,
.cart-collaterals .cart_totals td{
    border-color: transparent;
    border-collapse: collapse !important;
    border: none;
    outline: none;
    border-bottom-style: none;
} */
/*shop loading overlay*/
.loading-overlay {
    position: fixed;
    display: none;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(255, 255, 255, 0.5);
    z-index: 1100;
}
.loading-overlay.active {
    display: flex;
}
.loading-overlay .loading {
    width: 35px;
    height: 35px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-loading.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}
@media(max-width:820px) {
    .cart-collaterals .cart_totals {
        width: 100% !important;
    }
    .cart-action .btn {
        font-size: 112.5%;
        white-space: normal;
        word-wrap: break-word;
    }
}
@media(max-width: 768px) {
    .woocommerce table.shop_table_responsive tbody th, .woocommerce-page table.shop_table_responsive tbody th {
        display: table-cell;
    }
}
/*Single product*/
main.product {
    margin-bottom: 120px;
}
main.product .container {
    margin-top: 30px;
}
main.product .categories {
    background-color: #EFF0F0;
    width: 30%;
}
main.product .categories {
    padding: 50px 0 50px 64px;
}
main.product .categories .shop-cat-menu-close {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 28px;
    height: 28px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-shop-cat-menu-close.svg);
    background-position: center;
    background-repeat: no-repeat;
}
main.product .categories .heading {
    font-size: 156.25%;
    font-weight: 600;
    font-family: var(--title-font);
    margin-left: 1rem;
}
main.product .categories ul {
    list-style: none;
    border-top: 1px var(--clr-text) solid;
}
main.product .categories ul li {
    position: relative;
    margin-left: 0;
    margin-top: 25px;
    padding-left: 1.5rem;
    width: fit-content;
}
main.product .categories ul li::before {
    position: absolute;
    content: '';
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-next-grey.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    left: 0;
    width: 14px;
    height: 10px;
    transform: translateY(-50%);
}
main.product .categories ul li.active a,
main.product .categories ul li:hover a {
    color: var(--clr-text);
    font-weight: 500;
}
main.product .categories ul li:hover::before,
main.product .categories ul li.active::before {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-next.svg);
}
main.product .categories ul li a {
    color: #646463;
    font-size: 125%;
}
main.product .single-product-column {
    justify-content: space-between;
    column-gap: 10px;
}
main.product .product-info-column {
    display: flex;
    flex-direction: column;
    width: 70%;
}
main.product .categories ~ div.product {
    width: 70%;
}
@media(max-width: 820px) {
    main.product .categories {
        display: none;
        width: 100%;
        position: absolute;
        z-index: 100;
        top: 0;
        left: 0;
        margin-top: 280px;
    }
    main.product .categories.active {
        display: block;
    }
    main.product .categories ~ div.product {
        width: 100%;
    }
}
.product.type-product {
    display: flex;
    flex-direction: column;
}
.product.type-product .product-wrapper {
    display: flex;
    column-gap: 25px;
    margin-top: 20px;
    background-color: rgba(255,255,255,0.5);
}
.product.type-product .product-wrapper > * {
    float: none !important;
}
.product.type-product .product-wrapper .woocommerce-product-gallery {
    display: flex;
    flex-direction: column;
    row-gap: 20px;
    width: 35%;
}
.product.type-product .product-wrapper .woocommerce-product-gallery .flex-control-thumbs {
    display: flex;
    column-gap: 5px;
}
.product.type-product .product-wrapper a {
    color: var(--clr-text);
}
.product.type-product .product-wrapper a:hover {
    color: inherit;
}
.product.type-product .product-wrapper .summary {
    padding: 30px 30px;
    width: 65%;
    /* background-color: rgba(255, 255, 255, 0.5); */
}
.product.type-product .product-wrapper .summary .product_title {
    font-family: var(--title-font);
    font-size: 218.75%;
    font-weight: 500;
    color: var(--clr-primary);
    margin-bottom: 5px;
}
.product.type-product .product-wrapper .summary .product_meta {
    display: flex;
    flex-direction: column;
    font-size: 90%;
    color: #434343;
}
.product.type-product .product-wrapper .summary .price {
    font-size: 156.25%;
    font-weight: 700;
    color: var(--clr-text);
    margin-top: 20px;
    margin-bottom: 30px;
    padding: 10px 0;
    border-top: rgba(117, 117, 117, 0.15) 1px solid;
    border-bottom: rgba(117, 117, 117, 0.15) 1px solid;
}
.product.type-product .product-wrapper .summary .description {
    margin: 10px 0;
}
.product.type-product .product-wrapper .summary .info .heading,
.product.type-product .product-wrapper .summary .description .heading {
    font-size: 125%;
    font-weight: 500;
    margin-bottom: 10px;
}
.product.type-product .product-wrapper .summary div.woocommerce-variation-add-to-cart {
    position: relative;
    z-index: 10px;
}
.product.type-product .product-wrapper .summary div.woocommerce-variation-add-to-cart,
.product.type-product .product-wrapper .summary form.cart {
    margin-top: 2em;
    height: 55px;
}
.product.type-product .product-wrapper .summary div.woocommerce-variation-add-to-cart .quantity,
.product.type-product .product-wrapper .summary div.woocommerce-variation-add-to-cart .quantity .input,
.product.type-product .product-wrapper .summary div.woocommerce-variation-add-to-cart button,
.product.type-product .product-wrapper .summary form.cart .quantity,
.product.type-product .product-wrapper .summary form.cart input,
.product.type-product .product-wrapper .summary form.cart button {
    height: 100%;
}
.product.type-product .product-wrapper .summary form.cart,
.product.type-product .product-wrapper .summary div.woocommerce-variation-add-to-cart {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    row-gap: 20px;
}
.product.type-product .product-wrapper .summary form.variations_form {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    flex-wrap: nowrap;
    row-gap: unset;
}
.product.type-product .product-wrapper .summary form.cart .add-qty,
.product.type-product .product-wrapper .summary form.cart .minus-qty {
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    width: 41px;
    height: 41px;
    margin-left: 10px;
    margin-right: 10px;
    cursor: pointer;
}
.product.type-product .product-wrapper .summary form.cart .add-qty {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-cart-add.svg);
}
.product.type-product .product-wrapper .summary form.cart .minus-qty {
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-cart-minus.svg);
}
.product.type-product section.related.products h2 {
    font-family: var(--title-font);
    font-size: 218.75%;
    font-weight: 500;
    color: var(--clr-primary);
}
.product.type-product .related.products ul::before,
.product.type-product .related.products ul::after {
    display: none;
}
.product.type-product .related.products ul {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    column-gap: 30px;
    row-gap: 30px;
}
@media(max-width: 820px) {
    .product.type-product .related.products ul {
        justify-content: center;
    }
    .product.type-product .product-wrapper {
        flex-direction: column;
    }
    .product.type-product .product-wrapper .woocommerce-product-gallery {
        width: 100%;
    }
    .product.type-product .product-wrapper .summary {
        width: 100%;
        padding: 30px 0;
    }
}
/*add to cart button*/
.button.single_add_to_cart_button,
.button.add_to_cart_button {
    background-color: var(--clr-primary) !important;
    color: white !important;
    font-family: var(--text-font) !important;
    text-transform: unset;
    border-radius: 0 !important;
}
.button.add_to_cart_button {
    padding-top: 15px !important;
    padding-bottom: 15px !important;
}
/*shop update page*/
.updates-container {
    width: 100%;
}
.updates-container .box {
    background-color: white;
}
.updates-container > .expandable,
.updates-container > .expandable-content .expandable  {
    margin-top: 10px;
}
.updates-container .expandable {
    padding: 21px 40px 21px 30px;
}
.updates-container .expandable.expand-arrow::after {
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}
.updates-container .expandable.expand-sign::after {
    top: 50%;
    right: 30px;
    transform: translateY(-50%);
}
.updates-container .expandable.expand-sign.active::after {
    top: var(--center);
    right: 30px;
    transform: translateY(-50%);
}
.updates-container .expandable > .expandable-content {
    margin-top: 40px;
}
.updates-container .expandable > .expandable-content img {
    width: 100%;
}
.updates-container .year {
    font-size: 125%;
    font-weight: 700;
    color: var(--clr-text);
}
.updates-container .row {
    display: flex;
    align-items: center;
    column-gap: 30px;
}
.updates-container .row .heading {
    font-size: 137.5%;
    font-weight: 600;
    color: var(--clr-primary);
    font-family: var(--title-font);
}
.updates-container .date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background-color: var(--clr-primary);
    color: white;
    padding: 8px 23px;
    font-weight: 700;
}
.updates-container .date .month {
    text-transform: uppercase;
}
@media(max-width: 820px) {
    .updates-container .expandable.expand-sign::after {
        display: none;
    }
    .updates-container .expandable.expand-sign .row {
        flex-direction: column;
        row-gap: 10px;
    }
    .updates-container .expandable.expand-sign .row .date {
        flex-direction: row;
        justify-content: center;
        column-gap: 8px;
        width: 100%;
    }
}
/*checkout page*/
.shop-main-content.checkout .woocommerce {
    width: 100%;
}
.shop-main-content.checkout a {
    color: var(--clr-primary);
}
.shop-main-content.checkout a:hover {
    color: inherit;
}
.shop-main-content.checkout h3 {
    font-size: 150%;
    font-family: var(--title-font);
    color: var(--clr-primary);
}
.shop-main-content.checkout button#place_order {
    background-color: var(--clr-primary);
    color: white;
    border-radius: 0;
    height: 60px;
}
.shop-main-content.checkout .woocommerce-checkout-review-order-table {
    background-color: rgba(255,255,255,0.5);
    border-radius: 0;
    border: 0;
}
.shop-main-content.checkout .warning-message {
    color: var(--clr-primary);
    display: none;
    margin-bottom: 20px;
}
.shop-main-content.checkout .warning-message.active {
    display: flex;
}
/*shop content*/
.shop-main-content.content {
    flex-direction: column;
}
.shop-header-container.content .heading {
    position: relative;
    font-size: 156.25%;
    font-weight: 600;
    font-family: var(--title-font);
    /* text-transform: uppercase; */
    color: var(--clr-primary);
}
.shop-main-content.content a {
    color: var(--clr-primary);
}
.shop-main-content.content a:hover {
    color: inherit;
}
/*login page*/
.entry-content {
    width: 100%;
    max-width: unset !important;
}
.tml-links, .tml-links li,
.tml-dashboard-links, .tml-dashboard-links li,
.woocommerce-MyAccount-navigation ul, .woocommerce-MyAccount-navigation ul li{
    list-style: none;
    list-style-type: none !important;
    margin-left: 0;
}
.tml-links a,
.tml-dashboard-links a,
.woocommerce-MyAccount-content a {
    color: var(--clr-primary);
}
.tml-links a:hover,
.tml-dashboard-links a:hover,
.woocommerce-MyAccount-content a:hover {
    color: inherit;
}
.tml-button {
    background-color: var(--clr-primary);
    color: white;
    font-family: var(--text-font);
    font-weight: 500;
    border-color: var(--clr-primary);
}
.tml-button:hover {
    background-color: var(--clr-primary);
    color: white;
    font-family: var(--text-font);
    font-weight: 500;
    border-color: var(--clr-primary);
}
.woocommerce-MyAccount-navigation a {
    display: inline-block;
    padding-top: 16px;
    padding-bottom: 16px;
    padding-left: 12px;
    color: var(--clr-text);
    text-decoration: none !important;
    width: 100%;

}
.woocommerce-MyAccount-navigation li.is-active a,
.woocommerce-MyAccount-navigation li:hover a {
    background-color: var(--clr-primary);
    color: white !important;
}
.woocommerce-Button,
.woocommerce-button {
    background-color: var(--clr-primary) !important;
    color: white !important;
    font-weight: 500 !important;
    font-family: var(--text-font) !important;
    padding-top: 16px !important;
    padding-bottom: 16px !important;
    text-transform: unset !important;
    text-decoration: none !important;
}
/*payment*/
.payment .custom-checkout-btn,
.payment .custom-checkout-btn:hover{
    border-color: var(--clr-primary);
    background-color: var(--clr-primary);
    color: white;
    font-weight: 500;
    font-family: var(--text-font);
    font-size: 125%;
    text-transform: capitalize;
}
.payment.failed .main-content > .container {
    margin-top: 30px;
    margin-bottom: 30px;
}
.payment.failed p a {
    color: var(--clr-primary);
    text-decoration: underline;
}
/*payment thank you*/
.shop-main-content.checkout .donate-btn {
    position: relative;
    display: flex;
    align-items: center;
    height: 70px;    
    width: fit-content;
    text-transform: unset;
    border: 0;
    background-color: var(--clr-primary);
    color: white;
    padding-left: 50px;
    padding-right: 30px;
    margin-bottom: 30px;
    font-size: 125%;
    font-weight: 500;
    font-family: var(--text-font);
}
.shop-main-content.checkout .donate-btn::before {
    position:absolute;
    content: "";
    top: 50%;
    left: 15px;
    transform: translateY(-50%);
    width: 20px;
    height: 18px;
    background-image: url(/20240124025546oe_/https://www.na.cuhk.edu.hk/wp-content/themes/inspiro/assets/images/icon-donate.svg);
}

.sitemap-container {
    margin-top: 30px;
}
.sitemap-container a {
    color: var(--clr-primary);
}
.sitemap-container a:focus,
.sitemap-container a:hover {
    text-decoration: underline;
}
.sitemap-container p {
    margin-bottom: 0;
}
.sitemap-container p + ul {
    margin-left: 30px;
}
