@font-face {
    font-family: 'area-normal';
    src: url(AreaNormal-BlackItalic.woff2) format('woff2'), url(AreaNormal-BlackItalic.woff) format('woff');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}

/* Blue heading, Navy text, red/pink hover */

:root {

    /* background */

    /* --background-color: #f0ebe2; */

    --background-color: #FCF6F3;

    /* --background-color-2: #FFFFFF; */



    /* text */

    /* --first-color: #736562; */
    --first-color: #000;


    /* heading */

    /* --second-color: #2C7F7F; */
    --second-color: #31526D;

    /* --third-color: #5666B6; */



    /* not using */

    --third-color: #838d8d;



    /* hovering text */

    /* --fourth-color: #8A5409; */
    --fourth-color: #2C7F7F;



    /* gradient */

    /* #EEF7F7 0% #FCF6F3 100 */

    /* background: linear-gradient(180deg, rgba(238, 247, 247, 0) 0%, #FCF6F3 100%); */

    --background-gradient-1: #C3E1DC;

    /* --background-gradient-2: #B3C5D1; */

    --background-gradient-2: #ffffff00;

    --background-gradient-3: #B3C5D1;

     --background-gradient-1-dark: #d8dee3;



    /* border */

    /* --border-color: #986040; */
    --border-color: #2c7F7F;


    /* font family */

    --font-area: "area-normal", "Chiron Sung HK WS", serif;

    --font-richmond: "richmond-text", "Chiron Sung HK WS", serif;

}



body.page .right-background .lazyblock-inner-blocks .wp-block-lazyblock-wrapper-column:nth-child(2)::before {

    background: linear-gradient(0deg, var(--background-gradient-1) 0%, var(--background-gradient-2)100%);

}



.section_left_right_content2 .right_content::before {

    background: linear-gradient(180deg, var(--background-gradient-1) 0%, var(--background-gradient-2)100%);

}



.people_detail_incontent.green-edition::before {

    /*background: linear-gradient(180deg, var(--background-gradient-1) 20%, var(--background-gradient-2) 100%);*/
	background: linear-gradient(180deg, rgba(126,204,189,0.5) 0%, rgba(126,204,189,0) 100%);

}



.thumb_text_box_slider_wrapper .swiper-slide:nth-child(odd) .thumb3 {

    background: linear-gradient(180deg, var(--background-gradient-1) 0%, var(--background-gradient-2) 100%);

}



.thumb_text_box_slider_wrapper .swiper-slide:nth-child(even) .thumb3 {

    background: linear-gradient(0, var(--background-gradient-2) 0%, var(--background-gradient-1-dark) 100%);

}



.expandable_item::before {

    background: linear-gradient(0deg, #dae8f824 0%, var(--background-gradient-1) 100%);

}



body {

    font-size: 16px;
    color: var(--first-color);

}



@media only screen and (max-width: 1024px) {

    body {

        font-size: 16px;

    }

}



@media only screen and (max-width: 768px) {

    body {

        font-size: 15px;

    }

}



span.contact_email_description {

    padding-left: 40px;

}



.arts-sub-theme .dropdown_col_inwrapper {

    /* height: fit-content; */
    height: 100%;

}



#menu-main-menu {

    gap: 40px;

    display: grid;

    grid-template-columns: repeat(3, 1fr);

}



#menu-main-menu .display-grid-submenu {

    grid-column: span 2;

}



#menu-main-menu .display-grid-submenu>ul.sub-menu {

    display: grid;

    grid-template-columns: repeat(3, 1fr);

    grid-template-rows: repeat(2, auto);

    gap: 40px;

}



#menu-main-menu .display-grid-submenu>ul.sub-menu>li:nth-child(1) {

    grid-area: 1 / 1 / 3 / 2;

}



#menu-main-menu .display-grid-submenu>ul.sub-menu>li:nth-child(2) {

    grid-area: 1 / 2 / 2 / 4;

}



#menu-main-menu .display-grid-submenu>ul.sub-menu>li:nth-child(3) {

    grid-area: 2 / 2 / 3 / 3;

}



#menu-main-menu .display-grid-submenu>ul.sub-menu>li:nth-child(4) {

    grid-area: 2 / 3 / 3 / 4;

}



#menu-main-menu .display-grid-submenu>.sub-menu>li+li {

    margin-top: 0px;

}



.arts-sub-theme .footer_menu_list>ul {

    display: grid;

    grid-template-columns: repeat(5, 1fr);

}



.arts-sub-theme .footer_menu_list>ul .display-grid-submenu.menu-item {

    grid-row: span 3;

}



.sub_theme_col_content .dropdown_department_logo,

.arts-sub-theme .footer_department_logo {

    width: 255px;

}



@media only screen and (max-width: 1024px) {

    #menu-main-menu .display-grid-submenu>ul.sub-menu {

        grid-template-columns: repeat(2, 1fr);

        grid-template-rows: repeat(2, auto);

    }



    #menu-main-menu .display-grid-submenu>ul.sub-menu>li:nth-child(1),

    #menu-main-menu .display-grid-submenu>ul.sub-menu>li:nth-child(2),

    #menu-main-menu .display-grid-submenu>ul.sub-menu>li:nth-child(3),

    #menu-main-menu .display-grid-submenu>ul.sub-menu>li:nth-child(4) {

        grid-area: unset;

    }



    .arts-sub-theme .footer_menu_list>ul {

        display: grid;

        grid-template-columns: repeat(2, 1fr);

    }

}



@media only screen and (max-width: 768px) {

    #menu-main-menu {

        grid-template-columns: repeat(1, 1fr);

    }



    #menu-main-menu .display-grid-submenu {

        grid-column: unset;

    }



    #menu-main-menu .display-grid-submenu>ul.sub-menu {

        grid-template-columns: repeat(1, 1fr);

        grid-template-rows: repeat(1, auto);

    }



    .arts-sub-theme .footer_menu_list>ul .menu-item {

        width: fit-content;

    }

}



@media only screen and (min-width: 769px) {

    .theme_small_section_wrapper>.wrapper__inner {

        margin-left: -30px;

        margin-right: -30px;

    }



    .theme_small_section_wrapper>.wrapper__inner>.lazyblock-inner-blocks {

        width: calc(100% * 10/12);

        margin: 0 auto;

    }

}





.single.wp-singular .details_page_right_side .committee_album_slider {

    margin-top: 40px;

}



.single.wp-singular .details_page_right_side .swiper-wrapper .swiper-slide {

    width: 100% !important;

}



.single.wp-singular .details_page_right_side .committee_album_slider .slider-wrapper {

    height: 50px;

}



.single.wp-singular .swiper-button-next,

.single.wp-singular .swiper-button-prev {

    top: 0%;

}



.single.wp-singular .details_page_right_side .committee_album_slider img {

    aspect-ratio: unset;

    width: fit-content;

    min-width: 50%;

    height: auto;

    position: unset;

}



.single.wp-singular:not(.single-publications) .people_detail_photo_wrapper {

    /*width: 40%;
	max-width: 400px;*/
	
    /* max-width: unset; */
    
	
	width: 100%;
	/* max-width: 500px; */

}

.single.wp-singular:not(.single-publications) .people_detail_photo_wrapper.ppl_div {

   
	width: 50% !important;
	max-width: 500px;

}



.single.wp-singular:not(.single-publications) .people_detail_incontent::before {

    /* left: 30%; */
    left: 20%;
	

}



@media screen and (max-width: 1023px) {
    .single.wp-singular .people_detail_incontent::before {
        /* top: -20px; */
        top: -40px; 
    }
	
	
	.single.wp-singular:not(.single-publications) .people_detail_incontent::before {

   
	left: -15px;
	top: -82px;

	}
}



@media screen and (max-width: 768px) {



    .single.wp-singular .people_detail_incontent::before {
        top: -20px; 
        left: -15px;

    }

}



.filter_menu_section.section_content {

    padding-top: 0;

}



@media screen and (max-width: 768px) {

    .wp-block-lazyblock-events-listing-block .event_list_item .info_item {

        width: 100%;

        align-items: baseline;

        gap: 0;

        flex-direction: column;

    }

}



/* 

.hidden_lang_wrapper{

    display: none !important;

} */



/*  */

.text2,

h2 {

    font-size: calc(10px + 2.5vw);

}



.wp-block-lazyblock-index-about-department-block .committee_album_slider .swiper-container {

    width: 65%;

    margin-right: auto;

    margin-left: 0;

}



.wp-block-lazyblock-index-about-department-block .content {

    width: 65%;

}



.wp-block-index-programmes-listing-block .tab-item.active {

    font-weight: normal;

}



.wp-block-index-programmes-listing-block .tab-heading .label {

    font-weight: 600;

    margin-bottom: 35px;

}



.free_text a.arrow-link:hover::after,

.arrow-link:hover::after {

    filter: brightness(0) saturate(100%) invert(23%) sepia(99%) saturate(1313%) hue-rotate(24deg) brightness(103%) contrast(93%);

}



.arts-sub-theme .footer_department_logo {

    display: none;

}



.home_announcement_wrapper { 
    width: 63.5%; 
    margin-left: auto; 
    margin-top: 50px;
}



.wp-block-lazyblock-index-jas-announcement-listing-block .home_highlight_title {

    max-width: 500px;

}

.home_announcement_item {
    margin-top: 50px;
}

.home_highlight_title + .home_announcement_item { 
    padding-top: 26px;
}

.home_announcement_item_content {

    display: flex;

    flex-direction: column;

}



.home_announcement_item_content .date_wrapper {
    width: fit-content; 
    /* padding-bottom: 10px; */
    padding-bottom: 0; 
    /* margin-bottom: 10px; */
    margin-bottom: 5px;
    /* border-bottom: 1px solid var(--first-color); */
    border-bottom: 1px solid #31526D; 
}



.home_announcement_item_content .date_wrapper p {

    margin-bottom: 0;

    margin-top: 0;

    color: var(--second-color);

    text-align: right;

    text-transform: uppercase;

}



.home_announcement_item_content .title_wrapper {

    width: calc(100% - 40px);

    margin-left: auto;

}



.home_announcement_item_content .home_announcement_item_title,

.home_announcement_item_content .home_announcement_item_title a {

    font-weight: normal;

    text-align: right;

    font-family: var(--font-area);

}



.home_announcement_item_content .home_announcement_item_title a:hover {

    color: var(--fourth-color);

}





.home_news_wrapper {

    display: flex;

    margin-top: 50px;

    gap: 30px;

}



.home_news_item {

    width: calc(100%/3 - 30px/3);

    display: flex;

    flex-direction: column;

    border-top: 1px solid var(--border-color);

    padding-top: 20px;

}



.home_news_item_thumb {

    aspect-ratio: 670/378;

    overflow: hidden;

    margin-bottom: 20px;

}



.home_news_item_thumb img {

    width: 100%;

    height: 100%;

    object-fit: cover;

    object-position: top center;

}



.home_news_item_thumb a img:hover,

.home_highlight_section .image:hover {

    opacity: 0.5;

}



.wp-block-lazyblock-index-jas-upcoming-events-block .home_highlight_section a:hover .text6 {

    color: var(--fourth-color);

}



.wp-block-lazyblock-index-jas-upcoming-events-block .home_highlight_section a:hover .image {

    opacity: 0.5;

}



.wp-block-lazyblock-index-jas-news-block .home_news_item_title div,

.wp-block-lazyblock-index-jas-news-block .home_news_item_title a {

    color: var(--first-color);

}





.home_news_item_title a:hover {

    color: var(--fourth-color);

    opacity: 0.8;

}



.single.wp-singular .thumb_text_box_slider_wrapper .swiper-slide:nth-child(odd) .thumb3 {

    background: linear-gradient(180deg, var(--background-gradient-1) 0%, #ffffff00 100%);

}



.single.wp-singular .thumb_text_box_slider_wrapper .swiper-slide:nth-child(even) .thumb3 {

    background: linear-gradient(180deg, var(--background-gradient-3) 0%, #ffffff00 100%);

}



.single.wp-singular .thumb_text_box_slider_wrapper .swiper-slide .text {

    margin-top: 0;

}





.single.wp-singular .thumb_text_box_slider_wrapper .swiper-slide:nth-child(odd):hover .text_spacing {

    background-color: var(--background-gradient-1);

}



.single.wp-singular .thumb_text_box_slider_wrapper .swiper-slide:nth-child(even):hover .text_spacing {

    background-color: var(--background-gradient-3);

}



.wp-block-lazyblock-people-listing-block .student_list_item>.text>.email a:hover,

.wp-block-lazyblock-people-listing-block a:hover {

    opacity: 1;

    color: var(--fourth-color);

}





@media screen and (max-width: 1024px) {

    .wp-block-lazyblock-index-about-department-block .committee_album_slider .swiper-container {

        width: 80%;

    }



    .wp-block-lazyblock-index-about-department-block .content {

        width: 80%;

    }



    .home_announcement_wrapper {

        width: 75%;

        margin-top: 40px;

    }



    .home_announcement_item {

        margin-top: 30px;

    }



    .home_news_wrapper {

        margin-top: 30px;

        gap: 15px;

    }



    .home_news_item {

        width: calc(100%/3 - 15px/3);

    }

}



@media screen and (max-width: 768px) {

    .wp-block-lazyblock-index-about-department-block .committee_album_slider .swiper-container {

        width: 100%;

        margin: 0;

    }



    .wp-block-lazyblock-index-about-department-block .content {

        width: 100%;

    }



    .home_announcement_wrapper {

        margin-top: 20px;

        width: 80%;

    }

    .home_announcement_item {

        /* margin-top: 0; */

    }

    .home_highlight_title + .home_announcement_item { 
        margin-top: 0; 
        padding-top: 0; 
    }



    .home_news_wrapper {

        flex-direction: column;

        gap: 30px;

    }



    .home_news_item {

        width: 100%;

        padding-top: 30px;

    }

}



.info_item.big_info_item img{

    max-width: 100%;

}


/* timeline block */

.wp-block-lazyblock-timeline-block .section {
    margin-top: 60px;
}

.timeline-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 50px 0;
    position: relative;
}

.timeline-list::before {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    transform: translateX(-1px);
    top: 0;
    width: 0;
    height: 100%;
    border-left: 2px solid var(--first-color);
}

.timeline-list-heading {
    padding-bottom: 80px;
}

.timeline-item {
    display: flex;
    gap: 150px;
    position: relative;

    /* flex-direction: column !important; */
}

.timeline-item::before {
    content: '';
    display: block;
    position: absolute;
    left: 50%;
    top: 10px;
    transform: translateX(-50%);
    width: 20px;
    height: 20px;
    background-color: var(--fourth-color);
    border-radius: 50%;
}

.timeline-item.timeline-item-reverse {
    flex-direction: row-reverse;
}

.timeline-item-content {
    padding-bottom: 60px;
}

.timeline-item-content,
.timeline-item-thumbnail {
    max-width: calc(50% - 50px);
    flex: 1;

    /* width: calc(50% - 50px); */
}

.timeline-item-thumbnail {
    padding-top: 50px;
}

.timeline-item.timeline-item-reverse .timeline-item-content,
.timeline-item.timeline-item-reverse .timeline-item-thumbnail {
    margin-left: auto;

    width: calc(50% - 150px);
}

.timeline-item-text,
.timeline-item-image {
    width: fit-content;
    margin: 0 auto 0 0;
    min-width: 60%;
}

.timeline-item-image {
    max-width: 400px;
}

.timeline-item-thumbnail img {
    max-width: 100%;

    width: 100%;
}

.timeline-item-title,
.timeline-item-subtitle {
    font-weight: 600;
    margin-top: 0;
    font-family: "area-normal", "Chiron Sung HK WS", serif !important;
    font-size: 22px;
}

p.small-text,
.timeline-item-caption {
    margin-top: 0;
    font-size: 15px;
}


@media screen and (max-width: 1024px) {

    .wp-block-lazyblock-timeline-block .section {
        margin-top: 50px;
    }

    .timeline-list {
        padding: 35px 0;
    }

    .timeline-list-heading {
        padding-bottom: 60px;
    }

    .timeline-item-text,
    .timeline-item-image {
        width: 100%;
    }


    .timeline-item.timeline-item-reverse .timeline-item-content,
    .timeline-item.timeline-item-reverse .timeline-item-thumbnail {
        width: calc(50% - 75px);
    }

    .timeline-item-title,
    .timeline-item-subtitle {
        font-size: 20px;
    }

    .timeline-item-thumbnail {
        padding-top: 40px;
    }
}

@media screen and (max-width: 768px) {

    .wp-block-lazyblock-timeline-block .section {
        margin-top: 40px;
    }

    .timeline-list-heading {
        padding-bottom: 40px;
    }

    .timeline-list {
        padding: 20px 0;
        padding-left: 50px;
        gap: 40px;
    }

    .timeline-list::before {
        left: 25px;
    }

    .timeline-item::before {
        left: -25px;
        width: 16px;
        height: 16px;
    }

    .timeline-item {
        /* flex-direction: column-reverse; */
        gap: 0px;

        flex-direction: column;
    }

    .timeline-item.timeline-item-reverse {
        flex-direction: column;
    }

    .timeline-item-content,
    .timeline-item-thumbnail {
        max-width: unset;
        flex: unset;
        width: auto;
    }

    .timeline-item.timeline-item-reverse .timeline-item-content,
    .timeline-item.timeline-item-reverse .timeline-item-thumbnail {
        width: auto;
        margin-left: 0;
    }

    .timeline-item-content {
        padding-bottom: 40px;
    }

    .timeline-item-image {
        margin: 0;

        max-width: 100%;
    }

    .timeline-item-thumbnail img {
        width: auto;
    }

    .timeline-item-title,
    .timeline-item-subtitle {
        font-size: 18px;
    }


    .timeline-item-thumbnail {
        padding-top: 0px;
    }
}
/* end timeline block */


/* Customer request */
.en_body h1 {
    color: #575454 !important;
}

/* Search Page Title */
body.en_body.page-template-search-template-php h1 { 
    color: #31526D !important; 
}

.scheme_group_expandable_item .title {
    border-bottom-color: #575454;;
}

.wp-block-lazyblock-people-listing-block .student_list_item>.text a.email_link {
    white-space: break-spaces;
    font-size: 14px;
}

.hidden_block {
    display: none !important;
}

.wp-block-lazyblock-gallery-listing-block .filter_dropdown_wrapper.filter-category {
    max-width: calc(80vw - 300px);
}

.wp-block-lazyblock-gallery-listing-block .filter_dropdown_wrapper.filter-category a.filter_dropdown_btn {
    overflow: hidden;
    text-overflow: ellipsis;
    text-align: end;
}

.wp-block-lazyblock-gallery-listing-block .filter_dropdown_wrapper.filter-category div.filter_dropdown {
    /* max-width: calc(80vw - 300px);
    min-width: calc(80vw - 300px); */
    max-width: 1280px;
    width: calc(80vw - 300px);
    z-index: 99;
}

.wp-block-lazyblock-gallery-listing-block .filter_dropdown_wrapper.filter-category div.filter_dropdown ul a {
    white-space: break-spaces;
}

.wp-block-lazyblock-gallery-listing-block .filter_dropdown_wrapper.filter-category div.filter_dropdown ul a.active {
    background-color: #a3a3a3;
}

.wp-block-lazyblock-gallery-listing-block .filter_dropdown_wrapper.filter-year {
    min-width: 250px;
}

.wp-block-lazyblock-gallery-listing-block .filter_dropdown_wrapper.filter-year div.filter_dropdown {
    z-index: 99;
}


@media screen and (max-width: 768px) {

    .wp-block-lazyblock-gallery-listing-block .filter_menu_content {

        flex-direction: column;
        gap: 20px;
    }
    .wp-block-lazyblock-gallery-listing-block .filter_dropdown_wrapper.filter-year {
        min-width: unset;
        width: fit-content;
        margin-left: auto;
    }
    .wp-block-lazyblock-gallery-listing-block .filter_dropdown_wrapper.filter-category {
        min-width: unset;
        width: 100%;
        max-width: unset;
    }
    .wp-block-lazyblock-gallery-listing-block .filter_dropdown_wrapper.filter-category div.filter_dropdown {
        min-width: unset;
        max-width: unset;
        width: 100%;
    }
}

.wp-block-lazyblock-index-video-block .wp-block-index-heading-block .home_top_section .logo {
    width: 60vw;
}

/* update 20260612 */
.roll_top_menu::before {
    background: none;
    /* update 20260914 */
    /* background-color: var(--background-color); */
}

.sticky_section.is_stuck .roll_menu {
    background-color: var(--background-color);
}

.free_text .table-bg {
    background: unset;
}

.wp-block-lazyblock-index-about-department-block .content {
    margin-left: 10%;
}

@media screen and (max-width: 768px) {
    .wp-block-lazyblock-index-about-department-block .content {
        margin-left: auto;
    }
}

.free_text a.arrow-link, .arrow-link {
    padding-bottom: 0px;
}

.text5 {
    font-size: 20px;
}

.second-color-text {
    color: var(--second-color);
}

.text_c1 {
    color: var(--second-color) !important;
}

.people_detail_text .name {
    color: var(--second-color) !important;
}

.round-btn {
    border-radius: 999px;
    line-height: 1em;
    padding: 5px 15px;
    cursor: pointer;
    text-decoration: none !important;
    display: inline-block;
    box-sizing: content-box;
    margin-top: 20px;
    background-color: #fff;
    color: var(--border-color);
    border: 1px solid var(--border-color);
}

.round-btn:hover {
    background-color: var(--border-color) !important;
    color: #fff !important;
    opacity: 1 !important;
}

.wp-block-lazyblock-heading-and-content-block .c-style h1 {
    font-size: 46px;
}

@media screen and (max-width: 1340px) {
    .wp-block-lazyblock-heading-and-content-block .c-style h1 {
        font-size: calc(3vw - 5px);
    }
}

@media screen and (max-width: 768px) {
    .wp-block-lazyblock-heading-and-content-block .c-style h1 {
        font-size: calc(10px + 2.4vw);
    }
}

.free_text .table-bg.table-auto-width {
    table-layout: auto;
}

.free_text .table-bg.table-auto-width td.td-fit-content {
    width: max-content;
    white-space: nowrap;
}

.free_text .table-bg.table-auto-width td:not(.td-fit-content) {
    width: auto;
}

.filter_dropdown_wrapper .filter_dropdown {
    background-color: var(--background-color);
}

.dropdown {
    background-image: unset;
    background-color: var(--background-color);
}

.dropdown::before {
    content: "";
    position: fixed;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-image: url(images/dropdown_ink_bg.svg);
    background-size: cover;
    background-position: center center;
    z-index: -1;
    /* opacity: 0.3; */
    opacity: 0.4;
}

#menu-main-menu>li>span, #menu-main-menu>li>a {
    display: block;
    font-weight: bold;
    color: #000;
    padding-bottom: 10px;
    border-bottom: 1px solid #000;
}

#menu-main-menu a {
    color: #000;
    display: block;
}

.text2, h2 {
    font-size: 37px;
}

.wp-block-lazyblock-index-about-department-block .video-container {
    max-width: calc(100% / 7.5 * 6.5);
}

.wp-block-lazyblock-index-about-department-block .col10.center_content {
    width: 75%;
    margin-left: auto;
    margin-right: auto;
}

.wp-block-lazyblock-index-about-department-block .content {
    margin-left: calc(100% / 7.5);
    width: calc(100% / 7.5 * 6.6);
}

.index-section .text2 {
    font-size: 37px;
}

.free_text a.arrow-link, .arrow-link {
    font-size: 16px;
}

body .text-second-color {
    color: var(--second-color) !important;
}

.text-area-normal {
    font-family: var(--font-area);
}

.page-content h1 {
    color: var(--second-color) !important;
}

.top_photo_banner_section.banner_bg2.d-style .section_center_content::before {
    background: unset;
}

.top_photo_banner_section.banner_bg2.d-style .chair_name_col {
    height: 100%;
    display: flex;
}

.top_photo_banner_section.banner_bg2.d-style .chair_name_col .vertical_text_wrapper {
    margin-top: auto;
    margin-left: auto;
}

.top_photo_banner_section.banner_bg2.d-style .chair_name_col .vertical_text_wrapper::after {
    content: "";
    z-index: -1;
    position: absolute;
    top: calc(15vw - 20px);
    right: -30px;
    left: -300px;
    height: 300px;
    background: linear-gradient(180deg, rgba(195, 217, 194, 1) 0%, rgba(195, 217, 194, 0) 100%);
}

.top_photo_banner_section.banner_bg2.d-style .photo_wrapper {
    padding-right: 200px;
}

@media screen and (max-width: 768px) {
    .top_photo_banner_section.banner_bg2.d-style .chair_name_col .vertical_text_wrapper {
        margin-top: auto;
        margin-left: unset;
    }

    .top_photo_banner_section.banner_bg2.d-style .chair_name_col .vertical_text_wrapper::after {
        background: unset;
    }
}

.people_detail_text .qualifications {
    color: var(--second-color) !important;
}

.single-people .description .free_text a {
    color: #000;
    text-decoration: none; 
}

.mw-400 {
    max-width: 400px;
}

.roll_bottom_menu .menu-item .a_wrapper a {
    color: #000;
}

.free_text .table-bg, .free_text .table-bg th, .free_text .table-bg tbody td, .free_text .table-bg tbody tr+tr td {
    /* border-color: var(--border-color); */
    /* border-color: #edf2f6; */
    border-color: #b6b3b3
}

.wp-block-lazyblock-inner-page-menu-block .sibling-pages-menu .sibling-page-item a {
    color: #000;    
}

.wp-block-lazyblock-inner-page-menu-block .sibling-pages-menu .sibling-page-item a:hover, 
.wp-block-lazyblock-inner-page-menu-block .sibling-pages-menu .sibling-page-item.current a {
    /* color: #31526D; */
    color: var(--fourth-color);
}

.news_box .round_btn {
    border: 1px var(--second-color) solid;
    color: var(--second-color);
}

.news_box .round_btn:hover {
    background-color: var(--second-color);
    color: #fff;
}

.event_list_item .date>* {
    color: var(--second-color);
}

.event_list_item .round_btn {
    border: 1px var(--second-color) solid;
    color: var(--second-color);
    margin: auto;
    margin-top: 20px;
}

.event_list_item .round_btn:hover {
    background-color: var(--second-color);
    color: #fff;
}

.event_list_item .title {
    color: var(--second-color);
}

.event_list_item .info_item .t1 {
    color: var(--second-color);
}

.wp-block-lazyblock-gallery-listing-block .listing-view-b .news_box_section .news_box .photo {
    aspect-ratio: 450 / 320;
}

.people_detail_text .qualifications ul li::before {
    border-color: transparent transparent transparent var(--second-color);
}

.section_expandable_list .free_text .table-bg::before, .table_flex_item .free_text .table-bg::before {
    background: none;
}

.single-non-academic-act .description  .row {
    margin-top: 0px;
}

.section_expandable_list .free_text thead td, .table_flex_item .free_text thead td {
    color: var(--second-color);
}

.sub_theme_bg_2.homepage {
    /* top: 120vh;
    left: unset; */
    /* right: -90px; */
    /* right: -10vw;
    width: 35%; */

    /* update on 20260914 */
    top: 118vh;
    left: unset;
    /* right: -90px; */
    right: 1.5vw;
    width: 36%;
}

.sub_theme_bg_2.homepage .img-wrapper {
    transform: scale(1.6) rotate(-11deg) translate(30%, -5%);
}

.free_text a.arrow-link:hover::after, .arrow-link:hover::after {
    filter: brightness(0) saturate(100%) invert(38%) sepia(68%) saturate(353%) hue-rotate(131deg) brightness(97%) contrast(95%);
}

.hidden_lang li.current--lang a {
    color: var(--fourth-color);
    text-decoration: underline;
    text-decoration-thickness: 1px solid var(--fourth-color);
    text-underline-offset: 3px;
}

.hidden_lang a:hover {
    color: var(--fourth-color);
}

@media screen and (max-width: 768px) {
    .hidden_lang {
        right: -50px;
        left: unset;
    }
}

.theme_bg_overlay {
    position: absolute;
    inset: -200px 0 0 0;
    overflow: hidden;
    height: calc(100% + 400px);
}

.gallery-overlay { 
    top: 0; 
    position: absolute; 
    width: 100%; 
    height: calc(100% + 400px); 
    overflow: hidden;
    pointer-events: none; 
    opacity: .6; /* 20261013: UAT Comments */
}

.gallery-overlay .sub_theme_bg_1.homepage, 
.gallery-overlay .sub_theme_bg_2.homepage { 
    top: 0; 
    opacity: .5;
}

main {
    z-index: 9;
}

.section_expandable_list .free_text a,
.free_text a ,
.wp-block-lazyblock-text-block .free_text a {
    color: var(--fourth-color);
    text-decoration-color: var(--fourth-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-decoration-style: solid;
    text-decoration-color: var(--fourth-color);
}

.free_text .table-bg.no-border,
.free_text .table-bg.no-border tr,
.free_text .table-bg.no-border th,
.free_text .table-bg.no-border tbody td,
.free_text .table-bg.no-border tbody tr+tr td {
    border: none;
}

.single-academic-activities .layout-style-1 .heading_wrapper {
    margin-top: 0;
}

.home.wp-singular h2,
.home.wp-singular .text2 {
    font-size: 40px;
}

.free_text table a{
    word-break: break-word;
}

@media screen and (max-width: 768px) {
    .home.wp-singular h2,
    .home.wp-singular .text2 {
        font-size: calc(10px + 1.6vw);
        line-height: 1.2em;
    }
}


/* home brush 1 */
.sub_theme_bg_1.homepage {
    top: 147vh;
    left: 1.2vw;
    right: unset;
    width: 50%;
}

.sub_theme_bg_1.homepage .img-wrapper {
    transform: scale(1.3) rotate(25deg) translate(0%, 60%);
}

/* .sub_theme_bg_3.homepage {
    top: 65%;
    left: -35%;
    width: 35%;
} */
.sub_theme_bg_3.homepage {
    top: 67%;
    left: -40%;
    width: 40%;
}

.sub_theme_bg_3.sub_theme_bg_3_1.homepage {
    /* top: 76%;
    left: -32%; */
    top: 90%;
    left: -14%;
    /* left: 0;  */
}

@media screen and (max-width: 800px) { 
    .sub_theme_bg_3.sub_theme_bg_3_1.homepage { 
        top: 73%; 
    }
}

/* .sub_theme_bg_3.sub_theme_bg_3_1.homepage .img-wrapper {
    transform: scale(1.4) rotate(18deg) translate(40%, -64%);
} */


.sub_theme_bg_3.sub_theme_bg_3_1.homepage .img-wrapper {
    transform: scale(2) rotate(-45deg) translate(40%, -64%);
}

.sub_theme_bg_3.sub_theme_bg_3_1.homepage .img-wrapper img {
    transform: translateY(0px) translateX(0px) translateZ(0px) scale(1, 1);
}


.sub_theme_bg_3.homepage .img-wrapper {
    transform: scale(1.4) rotate(82deg) translate(40%, -64%);
}

/* .sub_theme_bg_3.homepage .img-wrapper {
    transform: scale(1.4) rotate(55deg) translate(40%, -64%);
} */

.sub_theme_bg_3.homepage .img-wrapper img {
    transform: translateY(0px) translateX(0px) translateZ(0px) scale(1, -1);
}


.sub_theme_bg_4.homepage {
    top: 38%;
    left: unset;
    right: 0;
    width: 35%;
}

.sub_theme_bg_4.homepage .img-wrapper {
    transform: scale(1.4) rotate(98deg) translate(40%, -64%);
}

.home.wp-singular.page-template-default .index-section {
    padding-top: 0%;
    padding-bottom: 0px;
}

.home.wp-singular.page-template-default .section_content {
    padding-top: 0px;
    padding-bottom: 0px;
}

.home.wp-singular.page-template-default .home_highlight_section {
    max-width: 100vw; 
    padding-top: 0px;
    padding-bottom: 0px;
    overflow-x: hidden; 
}

/* lazyblock-index-* */
/* all classes for lazyblock-index-* */

.home.wp-singular.page-template-default .wp-block-lazyblock-index-jas-upcoming-events-block {
    /* margin-bottom: 90px; */
    margin-bottom: 150px; 
}

/* Mobile */
@media (max-width: 800px) { 
    .home.wp-singular.page-template-default .wp-block-lazyblock-index-jas-upcoming-events-block { 
        margin-bottom: 0; 
    }
}

.home.wp-singular.page-template-default .wp-block-lazyblock-index-about-department-video-block,
.home.wp-singular.page-template-default .wp-block-lazyblock-index-programmes-block,
.home.wp-singular.page-template-default .wp-block-lazyblock-index-jas-gallery-block,
.home.wp-singular.page-template-default .wp-block-lazyblock-index-jas-announcement-listing-block {
    margin-bottom: 150px;
}

.wp-singular.single-gallery h1.section_title.text1 {
    color: var(--second-color) !important;
    font-size: 30.028px;
}

@media (max-width: 768px) { 
    .wp-singular.single-gallery h1.section_title.text1 { 
        font-size: 18px; 
    }
}

.wp-singular.single-gallery .single_gallery_date {
    color: var(--second-color);
    text-align: center;
    margin-top: 0;
    font-size: 19.954px; 
}

@media (max-width: 768px) { 
    .wp-singular.single-gallery .single_gallery_date { 
            font-size: 16px;
    }
}

.sub_theme_bg_2_1.style-single-announcements {
    left: calc(0px - (100vw * 350px / 1920px));
    right: unset;
    width: 48%;
    padding-top: 0;
    top: -20vh;
}

.sub_theme_bg_4_1.style-single-announcements {
    top: -5%;
    left: unset;
    right: calc(0px - (100vw * 350px / 1920px));
    width: 40%;
}

@media (max-width: 768px) {
    .sub_theme_bg_4_1.style-single-announcements {
        padding-top: 0;
    }


    .single.wp-singular.single-non-academic-act  .people_detail_photo_wrapper {
        width: 100%;
        max-width: 500px;
        /* max-height: 400px; */
    }


    .single.single-event-and-activity .name.text4,
    .single.single-cuhk-japan-forum .name.text4,
    .single.single-academic-activities .name.text4,
    .single.single-non-academic-act .news_title.text3 {
        font-size: calc(10px + 3vw);
    }


    .single.single-event-and-activity .layout-style-1 .heading_wrapper,
    .single.single-academic-activities .layout-style-1 .heading_wrapper {
        display: block;
        margin-top: 30px;
    }

    .single.wp-singular.single-cuhk-japan-forum .people_detail_incontent::before {
        left: 0%;
    }

}


.people_detail_incontent::before {
    height: 50vh;
}

/* Announcements Detail */
.style-single-announcements { 
    opacity: .5;
}

/* Students Sharing */
section:has(> .small_section_center_content > .tabs.years) { 
    margin-block: 30px; 
}

section:has(> .small_section_center_content > .tabs.years):before { 
    -webkit-transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1) 0s;
    transition: all 0.6s cubic-bezier(0.77, 0, 0.175, 1) 0s;
    content: "";
    position: absolute;
    left: 0px;
    bottom: 0px;
    right: 0px;
    margin: auto;
    height: 80px;
    background: linear-gradient(0deg, rgba(255,255,255,0.8) 0%, rgba(255,255,255,0) 100%); 
    pointer-events: none;
}

.students-sharing-listing .tabs { 
    position: relative; 
    display: flex; 
    list-style: none; 
    flex-wrap: wrap; 
    gap: 5px 0px; 
    margin: 60px 0 0;
    padding: 20px 0;
    z-index: 1; 
}

.students-sharing-listing .tabs .tab { 
    border-right: 1px solid #0A2342; 
    padding-right: 20px; 
    margin-right: 20px; 
    text-align: center; 
}

.students-sharing-listing .tabs .tab:last-child { 
    border-right: none; 
    margin-right: 0; 
}

.students-sharing-listing .tabs .tab button { 
    position: relative; 
    background: none; 
    border: none;
    padding: 0;
    font-family: "area-normal", "Chiron Sung HK WS", sans-serif;
    font-size: 16px; 
    cursor: pointer; 
    transition: all .3s; 
}

.students-sharing-listing .tabs .tab.active button, 
.students-sharing-listing .tabs .tab:hover button { 
    /* color: #5aba80;  */
    color: var(--fourth-color); 
}

.students-sharing-listing .tab.active button:after { 
    content: ''; 
    position: absolute; 
    display: block; 
    width: 100%; 
    height: 1px; 
    margin-top: 4px; 
    /* background-color: #5aba80;  */
    background-color: #2c7f7f; /* 20261013: UAT Comments */
}

.students-sharing-listing .tab-content { 
    display: none; 
}

.students-sharing-listing .tab-content.active { 
    display: block; 
}

.students-sharing-listing .tab-content .post-title { 
    padding-block: 20px; 
    font-family: "area-normal", sans-serif; 
}

.students-sharing-item .post-title { 
    line-height: normal; 
    /* font-size: 16px !important; */
    font-size: 18px; /* 20261013: UAT Comments */
    font-weight: 600 !important;
    color: #000 !important;
}

/* Responsive */
/* Mobile */
@media (max-width: 768px) { 
    /* Students Sharing Tabs */
    .students-sharing-listing .tabs { 
        margin-top: 10px; 
    }
    
    .students-sharing-listing .tab { 
        width: 45px; 
        margin-right: 10px; 
        padding-right: 10px; 
    }

    .students-sharing-listing .tab-content .post-title { 
        padding-block: 0; 
        font-size: calc(10px + 2.4vw); 
    }
    
}