/* Page Background */
main {
    position: relative;
    z-index: 10;
    min-height: 700px;
}

.free_text a.arrow-link.text-golden,
.arrow-link.text-golden {
    color: #8D7F3B;
    border-color: #8D7F3B;
}

.theme_bg_overlay {
    position: absolute;
    inset: -200px 0 0 0;
    overflow: hidden;
    /* height: calc(100% + 600px); */
    height: calc(100% + 800px); /* 20261021: UAT Comment - fix pattern cropping bug */
}

.theme_bg_overlay,
.ink_bg.ink_bg1{
    opacity: 0.5;
}

.sub_theme_bg_1,
.sub_theme_bg_2,
.sub_theme_bg_3,
.sub_theme_bg_4,
.sub_theme_bg_5,
.sub_theme_bg_6,
.sub_theme_bg_7,
.sub_theme_bg_8,
.sub_theme_bg_9 {
    position: absolute;
    mix-blend-mode: darken;
    pointer-events: none;
    height: calc(100% + 600px);
    padding-top: 200px;
}

.sub_theme_bg_1 img,
.sub_theme_bg_2 img,
.sub_theme_bg_3 img,
.sub_theme_bg_4 img,
.sub_theme_bg_5 img,
.sub_theme_bg_6 img,
.sub_theme_bg_7 img,
.sub_theme_bg_8 img,
.sub_theme_bg_9 img {
    object-fit: cover;
    width: 100%;
}

.sub_theme_bg_1.homepage {
    top: 25%;
    left: 0;
    right: unset;
    width: 40%;
}

.sub_theme_bg_1.homepage .img-wrapper {
    transform: scale(1.3) rotate(30deg) translate(0%, 60%);
}

.sub_theme_bg_2.homepage {
    /* top: 24%; */
    /* top: 19%; *//* 20260925: UAT Comment */
    top: 16.5%; /* 20261021: UAT Comment - move up a bit */
    left: unset;
    /* right: 0;  */
    right: -80px; 
    width: 35%; 
}

.sub_theme_bg_2.homepage .img-wrapper {
    transform: scale(1.6) rotate(55deg) translate(30%, -5%);
}

.sub_theme_bg_3.homepage {
    /* top: 38%; */
    top: 42%; /* 20261021: UAT Comment - move down a bit */
    left: unset;
    right: 0;
    /* width: 35%; */
    width: 40%; /* 20261021: UAT Comment - extend a bit */
}

.sub_theme_bg_3.homepage .img-wrapper {
    transform: scale(1.4) rotate(98deg) translate(40%, -64%);
}

/*  */
.sub_theme_bg_1.style-1 {
    top: 10%;
    left: 0;
    right: unset;
    width: 60%;
}

.sub_theme_bg_1.style-1 .img-wrapper {
    transform: scale(1.5) rotate(-35deg) translate(-20%, -20%);
}

.sub_theme_bg_1.style-2 {
    top: 0%;
    left: 0;
    right: unset;
    width: 48%;
}

.sub_theme_bg_1.style-2 .img-wrapper {
    transform: scale(1) rotate(-35deg) translate(-20%, -20%);
}

/* Gallery Overlay Patterns */
.gallery-overlay .sub_theme_bg_1.style-2, 
.gallery-overlay .sub_theme_bg_2.style-2 { 
    padding-top: 80px; 
    /* opacity: .8; */
    opacity: .5; /* 20261105: UAT Comment - gallery detail page brushstroke needs to be more pale */
}

.gallery-overlay .sub_theme_bg_1.style-2 .img-wrapper { 
    transform: scale(1) rotate(-30deg) translate(-20%, -20%);
}

.gallery-overlay .sub_theme_bg_2.style-2 .img-wrapper { 
    transform: scale(2) rotate(-75deg) translate(5%, 38%); 
}

.sub_theme_bg_2.style-2 {
    top: -5%;
    left: unset;
    right: 0%;
    width: 40%;
}

.sub_theme_bg_2.style-2 .img-wrapper {
    transform: scale(2) rotate(-90deg) translate(5%, 20%);
}

/*  */
.sub_theme_bg_1.style-3 {
    top: 0%;
    left: unset;
    right: 0%;
    width: 28%;
}

.sub_theme_bg_1.style-3 .img-wrapper {
    transform: scale(3.3) rotate(135deg) translate(-15%, -50%);
}

/*  */
.sub_theme_bg_1.style-4 {
    /*top: -7%;*/
	 top: -12%;
    left: unset;
    right: 0%;
    width: 40%;
}

.sub_theme_bg_1.style-4 .img-wrapper {
    transform: scale(1.8) rotate(-45deg) translate(-10%, 50%);
}

/*  */
.sub_theme_bg_1.style-5 {
    top: -3%;
    left: unset;
    right: 0%;
    width: 70%;
}

.sub_theme_bg_1.style-5 .img-wrapper {
    transform: scaleX(-1) rotate(-5deg) translate(-10%, -10%);
}

/*  */
.sub_theme_bg_1.style-6 {
    top: 0%;
    left: 0%;
    right: unset;
    width: 60%;
}

.sub_theme_bg_1.style-6 .img-wrapper {
    transform: scale(1.7) rotate(-5deg) translate(-20%, -10%);
}

/*  */
.sub_theme_bg_1.style-7 {
	
    /*top: -5%;*/
	 top: -1.5%;
    left: unset;
    right: 0%;
    width: 85%;
}

.sub_theme_bg_1.style-7 .img-wrapper {
    transform: scale(1.3) rotate(180deg) translate(-15%, -10%);
}

@media screen and (max-width: 1024px) {
    main {
        min-height: 500px;
    }
}

/* Header */
.en_body .sub_theme_col_menu {
    font-family: "richmond-text", "Chiron Sung HK WS", serif !important;
}

.arts-sub-theme .dropdown_col_inwrapper {
    gap: 25px;
}

.sub_theme_col_menu {
    width: 75%;
    padding: 0px;
    box-sizing: content-box;
    height: auto;
    align-self: stretch;
    position: relative;
    font-size: calc(10px + 0.6vw);
}

.sub_theme_col_content {
    width: 25%;
    padding: 0px;
    box-sizing: content-box;
    height: auto;
    align-self: stretch;
    position: relative;
}

.footer2_t1 ul {
    flex-wrap: wrap;
    gap: 5px 40px;
}

.filter_menu_content {
    flex-wrap: wrap;
}

.sub_theme_col_content .dropdown_department_bottom .text {
    width: unset;
    margin-left: -100px;
}

.sub_theme_col_content .dropdown_department_logo {
    width: auto;
    max-width: 200px;
}

.arts-sub-theme .dropdown .footer_info table.contact-us {
    max-width: 430px;
}

.arts-sub-theme .dropdown .footer_info table.contact-us td:first-child {
    text-wrap-mode: nowrap;
}

.arts-sub-theme .dropdown_department_bottom {
    /* text-align: left; */
}

.arts-sub-theme .footer_info td+td {
    padding-left: 5%;
}

/* .arts-sub-theme .sub_theme_col_content .footer_info .advanced-enquiries {
    margin-left: -100px;
} */
.arts-sub-theme .footer_info .advanced-enquiries {
    margin-top: 25px;
}

.arts-sub-theme .footer_info .advanced-enquiries td:first-child {
    width: 40%;
}

/* .arts-sub-theme .footer_info .advanced-enquiries td+td {
    text-wrap-mode: nowrap;
} */
.contact_address,
.contact_phone,
.contact_fax,
.contact_email {
    margin: 0 0 20px 0;
    padding: 0;
    position: relative;
}

.contact_address::before,
.contact_phone::before,
.contact_fax::before,
.contact_email::before {
    content: "";
    display: inline-block;
    margin-right: 10px;
    width: 30px;
    height: 30px;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.contact_phone::before {
    background-image: url(images/contact_phone_icon.svg);
}

.contact_fax::before {
    background-image: url(images/contact_fax_icon.svg);
}

.contact_email::before {
    background-image: url(images/contact_email_icon.svg);
}

.contact_address::before {
    background-image: url(images/contact_location_icon.svg);
    position: absolute;
}

#menu-main-menu {
    column-count: 3;
    /* Create 3 columns */
    column-gap: 40px;
    /* Space between columns */
    list-style: none;
    padding: 0;
    margin: 0;
}

/* Each menu item */
#menu-main-menu>li {
    break-inside: avoid;
    /* Prevent items from breaking between columns */
    margin-bottom: 40px;
    /* background: #f9f9f9;
  padding: 10px;
  border: 1px solid #ddd; */
}

#menu-main-menu>li>ul {
    font-size: calc(10px + 0.4vw);
    line-height: 1.4em;
    font-family: "area-normal", "Chiron Sung HK WS", serif;
}

/* #menu-main-menu span {
    font-weight: bold;
    font-family: "area-normal", "Chiron Sung HK WS", serif;
} */
#menu-main-menu>li>span,
#menu-main-menu>li>a {
    display: block;
    font-weight: bold;
    color: #3c3c3c;
    padding-bottom: 10px;
    border-bottom: 1px solid #3c3c3c;
}

#menu-main-menu .menu-item {
    white-space: unset;
}

#menu-main-menu .menu-item.menu-item-object-custom.space { 
    margin-top: 0;
    height: 20px; 
}

/* Sub-menu styling */
.sub-menu {
    list-style: none;
    /* padding: 10px; */
    margin-top: 15px;
    /* background: #fff;
  border: 1px solid #ccc; */
}

footer .sub-menu span.menu-item-title { 
    font-size: 13px; 
}

@media (max-width: 768px) {
    footer .sub-menu span.menu-item-title {
        font-size: unset; /* 20261105: UAT Comment - ref PHI */
    }
}

/* Sub-menu items */
.sub-menu li+li {
    margin-top: 12px;
}

.sub-menu span:has(+ .sub-menu),
.sub-menu a:has(+ .sub-menu) {
    /* margin-top: 25px; */
    font-weight: bold;
}

.sub-menu .sub-menu {
    margin-bottom: 25px;
}

/* Links */
#menu-main-menu a {
    color: #736562;
    display: block;
}

#menu-main-menu a:hover {
    /* color: #45adb3; */
    color: var(--fourth-color);
}

@media (max-width: 1500px) {
    .arts-sub-theme .dropdown_col_inwrapper {
        gap: 15px;
    }
}

@media (max-width: 1280px) {
    .arts-sub-theme .footer_info .advanced-enquiries td:first-child {
        width: auto;
    }

    .arts-sub-theme .sub_theme_col_content .footer_info .advanced-enquiries {
        margin-left: auto;
    }
}

@media (max-width: 1024px) {

    .sub_theme_col_menu,
    .sub_theme_col_content {
        width: 100%;
    }

    #menu-main-menu {
        display: flex;
        flex-direction: column;
        text-align: center;
    }

    .sub_theme_col_content .dropdown_department_logo {
        width: 30%;
    }

    .arts-sub-theme .dropdown .footer_info table.contact-us {
        max-width: 500px;
    }

    .arts-sub-theme .dropdown_col_inwrapper {
        gap: 0px;
    }

    .arts-sub-theme .footer_info .advanced-enquiries td:first-child {
        width: auto;
    }

    .arts-sub-theme .dropdown .footer_info table.contact-us td:first-child {
        /* text-align: right; */
        text-align: left;
    }

    .arts-sub-theme .footer_info td+td {
        width: 55%;
    }

    .sub_theme_col_content .dropdown_department_bottom .text {
        margin-left: unset;
    }
}

/* footer */
.arts-sub-theme .footer_department_logo {
    height: auto;
    width: 120px;
}

.arts-sub-theme .footer_department_logo_wrapper {
    width: max-content;
    max-width: 100%;
    flex: 0 0 auto;
    margin-right: 0;
}

.arts-sub-theme .footer_department_logo_wrapper table.contact-us {
    max-width: 450px;
}

.arts-sub-theme .footer_department_logo_wrapper .footer_info td:first-child {
    text-wrap-mode: nowrap;
}

.arts-sub-theme .footer_department_logo_wrapper .footer_info td+td {
    padding-left: 10%;
}

.arts-sub-theme .footer_department_logo_wrapper .footer_info tr+tr td {
    padding-top: 20px;
}

.arts-sub-theme .footer_department_logo_wrapper .footer_info .advanced-enquiries td:first-child {
    width: 40%;
    text-wrap-mode: unset;
}

.arts-sub-theme .footer_department_logo_wrapper .footer_info .advanced-enquiries td+td {
    white-space: nowrap;
}

.arts-sub-theme .footer_menu_list+.footer_menu_list {
    margin-left: 0;
    flex: 1 1 auto;
    max-width: none;
    min-width: 0;
}

.arts-sub-theme .footer_menu_list>ul {
    display: flex;
    justify-content: space-between;
    gap: clamp(20px, 2vw, 48px); /* 20261030: UAT Comment - even column spacing */
    margin-top: 0;
    width: 100%;
}

.arts-sub-theme .footer_menu_list>ul>li {
    margin-top: 0;
    flex: 0 0 auto; /* size to the label; do not soak up free space */
    width: max-content;
    max-width: 100%;
}

.arts-sub-theme .footer_menu_list>ul .menu-item {
    white-space: nowrap; /* 20261030: UAT Comment - keep each item on one line */
}

.arts-sub-theme .footer_menu_list>ul .menu-item.menu-item-type-custom.space { 
    height: 20px; 
    margin-top: 0; 
}

.arts-sub-theme .footer_menu_list>ul>li>span,
.arts-sub-theme .footer_menu_list>ul>li>a {
    margin-top: 0;
    font-weight: 600;
    line-height: 1.4em;
    font-size: calc(10px + 0.4vw);
}

@media (max-width: 768px) { 
    .arts-sub-theme .footer_menu_list>ul>li>span.menu-item-title { 
        /* font-size: calc(10px + 1vw); */ /* 20261029: UAT Comment - ref HIS */
        font-size: calc(10px + 0.4vw); /* 20261029: UAT Comment - ref PHI */
    }
}

/* .footer_menu_list .sub-menu a:has(+ .sub-menu) {
    font-weight: normal;
} */

.footer_menu_list>ul>li>.sub-menu>li {
    list-style: none;
    margin: 0px 0 20px 0;
}

.footer_menu_list .sub-menu .sub-menu {
    list-style: none;
    margin: 5px 0 20px 0;
    /* padding-left: 8px; */
    padding-left: 0px;
}

.footer_menu_list .sub-menu .sub-menu li::before {
    content: "•";
    /* Custom bullet */
    font-size: 1.3em;
    /* Smaller size */
    margin-right: 8px;
    color: #736562;
    /* Optional color */
    display: none;
}

@media only screen and (max-width: 1280px) {
    .arts-sub-theme .footer_department_logo_wrapper .footer_info td+td {
        padding-left: 0%;
    }

    .arts-sub-theme .contact_address::before,
    .arts-sub-theme .contact_phone::before,
    .arts-sub-theme .contact_fax::before,
    .arts-sub-theme .contact_email::before {
        width: 22px;
        height: 22px;
    }

    .arts-sub-theme .footer_department_logo_wrapper .footer_info .advanced-enquiries tr td+td {
        padding-top: 0px;
    }

    .arts-sub-theme .footer_department_logo_wrapper .footer_info .advanced-enquiries td:first-child {
        width: auto;
    }
}

@media only screen and (max-width: 1024px) {
    .arts-sub-theme .footer_menu_list_wrapper {
        flex-direction: column;
    }

    .arts-sub-theme .footer_menu_list+.footer_menu_list,
    .arts-sub-theme .footer_department_logo_wrapper {
        width: auto;
    }

    .arts-sub-theme .footer_menu_list>ul {
        flex-wrap: wrap;
        gap: 50px 20px;
    }

    .arts-sub-theme .footer_menu_list>ul>li {
        width: calc(50% - 10px);
        flex: unset;
    }

    .arts-sub-theme .footer_menu_list>ul .menu-item {
        white-space: normal;
    }

    .arts-sub-theme .footer_department_logo_wrapper table.contact-us {
        max-width: unset;
    }

    .arts-sub-theme .footer_department_logo_wrapper .footer_info td+td {
        padding-left: 10px;
    }

    .arts-sub-theme .footer_department_logo_wrapper .footer_info .advanced-enquiries td:first-child {
        width: 50%;
    }

    .arts-sub-theme .footer_department_logo_wrapper .footer_info .advanced-enquiries tr+tr td+td {
        padding-top: 20px;
    }
}

.site-footer {
    padding-top: 100px;
}

/* section */
.section-wrapper--30-70 .wrapper__inner>.lazyblock-inner-blocks,
.section-wrapper--70-30 .wrapper__inner>.lazyblock-inner-blocks,
.section-wrapper--50-50 .wrapper__inner>.lazyblock-inner-blocks {
    display: flex;
}

.section-wrapper--70-30 .wrapper__inner>.lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column:nth-child(2),
.section-wrapper--30-70 .wrapper__inner>.lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column:nth-child(1) {
    width: 33.33%;
}

.section-wrapper--70-30 .wrapper__inner>.lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column:nth-child(1),
.section-wrapper--30-70 .wrapper__inner>.lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column:nth-child(2) {
    width: 66.66%;
}

.section-wrapper--50-50 .wrapper__inner>.lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column,
.section-wrapper--50-50 .wrapper__inner>.lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column {
    width: 50%;
}

.wp-block-lazyblock-two-columns-section .right-background {
    margin-top: 30px;
}

.wp-block-lazyblock-two-columns-section .wrapper__inner {
    margin-left: -15px;
    margin-right: -15px;
}

.lazyblock-inner-blocks .lazyblock-inner-blocks>div {
    /* margin-top: 20px; */
    margin-top: 40px;
    margin-bottom: 20px;
}

.lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column {
    /* margin-top: 30px; */
    margin-top: 0px;
}

.lazyblock-inner-blocks .wp-block-lazyblock-thumbnail-block .flexible_layout,
.lazyblock-inner-blocks .wp-block-lazyblock-text-block .flexible_layout {
    margin-top: 0px;
}

.lazyblock-inner-blocks .section_center_content {
    padding: 0;
}

.lazyblock-inner-blocks .col10,
.lazyblock-inner-blocks .col {
    width: 100%;
    margin-top: 0;
}

.lazyblock-inner-blocks .col.gallery_detail_box {
    width: 50%;
}

.lazyblock-inner-blocks .col_wrapper {
    overflow: visible;
}

.lazyblock-inner-blocks .xl_col_wrapper>.row,
.lazyblock-inner-blocks .col_spacing {
    margin-left: 0px;
    margin-right: 0px;
    margin-top: 0px;
}

.section-wrapper--50-50 .lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column>.wrapper__column {
    margin-left: 30px;
    margin-right: 30px;
}

.lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column>.wrapper__column {
    margin-left: 15px;
    margin-right: 15px;
}

@media only screen and (max-width: 768px) {

    .section-wrapper--30-70 .wrapper__inner>.lazyblock-inner-blocks,
    .section-wrapper--70-30 .wrapper__inner>.lazyblock-inner-blocks,
    .section-wrapper--50-50 .wrapper__inner>.lazyblock-inner-blocks {
        flex-direction: column;
    }

    .lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column {
        margin-top: 0px;
    }

    .section-wrapper--70-30 .wrapper__inner>.lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column:nth-child(2),
    .section-wrapper--30-70 .wrapper__inner>.lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column:nth-child(1),
    .section-wrapper--70-30 .wrapper__inner>.lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column:nth-child(1),
    .section-wrapper--30-70 .wrapper__inner>.lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column:nth-child(2),
    .section-wrapper--50-50 .wrapper__inner>.lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column,
    .section-wrapper--50-50 .wrapper__inner>.lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column {
        width: 100%;
    }

    .section-wrapper--50-50 .lazyblock-inner-blocks>.wp-block-lazyblock-wrapper-column>.wrapper__column {
        margin-left: 15px;
        margin-right: 15px;
    }
}

/* block */
.block-border-top-line {
    padding-top: 50px;
    border-top: 1px solid #A2A2A2;
}

.wp-block-lazyblock-thumbnail-block .flexible_layout,
.wp-block-lazyblock-text-block .flexible_layout {
    margin-top: 50px;
}

.wp-block-lazyblock-thumbnail-block .flexible_layout.block-no-spacing,
.wp-block-lazyblock-text-block .flexible_layout.block-no-spacing {
    margin-top: 0px;
}

.wp-block-lazyblock-thumbnail-and-text-block .section_song.block-no-spacing,
.wp-block-lazyblock-thumbnail-and-text-block .section_song.block-no-spacing .song_section_text,
.wp-block-lazyblock-thumbnail-block .section_left_right_content.block-no-spacing,
.wp-block-lazyblock-text-block .section_left_right_content.block-no-spacing {
    padding-top: 0px;
    padding-bottom: 0px;
}

.wp-block-lazyblock-courses-groups-block .scheme_unit_expandable_box.active .hidden {
    display: block;
}

.wp-block-lazyblock-courses-groups-block .section_scheme {
    padding-top: 0px;
    padding-bottom: 0px;
}

.wp-block-lazyblock-thumbnail-grid-block {
    padding-top: 50px;
}

@media screen and (min-width: 481px) {
    .wp-block-lazyblock-thumbnail-grid-block .news_box.col3.block-field-column-3 {
        width: 33.33%;
    }
}

.wp-block-lazyblock-inner-page-menu-block {
    position: relative;
    z-index: 10;
}

.wp-block-lazyblock-inner-page-menu-block .scheme_groups_dropdown_wrapper {
    margin-top: 0;
}

/* .wp-block-lazyblock-inner-page-menu-block .scheme_groups_dropdown_wrapper.full-width {
    width: 83.33%;
    margin: auto;
} */
.wp-block-lazyblock-inner-page-menu-block .col10.full-width {
    width: auto;
}

.wp-block-lazyblock-inner-page-menu-block .scheme_groups_dropdown .sub-inner-menu {
    padding: 5px 0 10px 10px;
}

@media screen and (max-width: 1024px) {
    /* .wp-block-lazyblock-inner-page-menu-block .scheme_groups_dropdown_wrapper.full-width {
        width: auto;
    } */
}

@media only screen and (max-width: 768px) {
    .wp-block-lazyblock-gallery-block .gallery_detail_box.col.col3 {
        width: 50%;
    }
}

/* index page */
.index-section {
    padding-top: 8%;
    padding-bottom: 50px;
    padding-left: 50px;
    padding-right: 50px;
    max-width: 1920px;
    margin: auto;
    position: relative;
}

.index-section .index-wrapper {
    /* width: 73.7%; */
    max-width: 1400px;
    position: relative;
    margin: auto;
}

.index-section .text2 {
    font-size: calc(10px + 2.4vw);
}

.wp-block-index-heading-block .home_top_section .logo {
    width: auto;
   height: 50px;
}



.wp-block-index-heading-block .text0 {
    font-size: calc(12px + 2.5vw);
}

.wp-block-index-quote-block .logo img {
    display: block;
    margin: 42px auto;
    width: 100%;
}

.wp-block-index-quote-block .image-item {
    width: calc(50% - 19px);
}

.wp-block-index-quote-block .image-item img {
    width: 100%;
}

.wp-block-index-quote-block .content {
    display: flex;
    gap: 45px;
}

.wp-block-index-quote-block .content-item {
    padding-top: 9%;
    width: calc(50% - 26px);
}

.wp-block-index-news-and-events-listing-block .text {
    margin-bottom: 58px;
}

.wp-block-index-news-and-events-listing-block .content {
    display: flex;
    gap: 40px;
}

.wp-block-index-news-and-events-listing-block .items-list-1 {
    width: calc(50% - 40px/2);
}

.wp-block-index-news-and-events-listing-block .items-list-2 {
    width: calc(50% - 40px/2);
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.wp-block-index-news-and-events-listing-block .list-2-item {
    display: flex;
    gap: 20px;
}

.wp-block-index-news-and-events-listing-block .list-2-item .image {
    width: 45%;
    aspect-ratio: 296 / 187;
    overflow: hidden;
}

.wp-block-index-news-and-events-listing-block .list-2-item .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wp-block-index-news-and-events-listing-block .list-2-item .content {
    width: 55%;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.wp-block-index-news-and-events-listing-block .swiper-slide .image {
    width: 100%;
    aspect-ratio: 280 / 392;
    overflow: hidden;
}

.wp-block-index-news-and-events-listing-block .swiper-slide .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.wp-block-index-news-and-events-listing-block .swiper-slide .content {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-top: 20px;
}

.wp-block-index-news-and-events-listing-block .swiper-slide .title {
    font-size: calc(10px + 1.2vw);
    line-height: 1.35em;
}

.wp-block-index-news-and-events-listing-block .label {}

.wp-block-index-news-and-events-listing-block .label strong {
    font-weight: 700;
}

.wp-block-index-news-and-events-listing-block .title {
    font-size: calc(10px + 0.7vw);
    line-height: 1.4em;
}

.wp-block-index-news-and-events-listing-block .swiper-pagination {
    position: relative;
    margin-top: 40px;
    text-align: left;
    left: -8px;
}

.wp-block-index-news-and-events-listing-block .swiper-container-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet {
    margin: 0 10px;
}

.wp-block-index-news-and-events-listing-block .swiper-pagination-bullet {
    background: #BFBFBF;
    opacity: 1;
    width: calc(5px + 0.4vw);
    height: calc(5px + 0.4vw);
}

.wp-block-index-news-and-events-listing-block .swiper-pagination-bullet-active {
    background: #C45643;
    opacity: 1;
}

.wp-block-index-programmes-listing-block .items-list {
    display: flex;
    gap: 40px;
    margin-top: 40px;
}

.wp-block-index-programmes-listing-block .links .link-item,
.wp-block-index-programmes-listing-block .text .paragraph,
.wp-block-index-programmes-listing-block .text .label,
.wp-block-index-programmes-listing-block .thumbnail img {
    display: none;
}

.wp-block-index-programmes-listing-block .text .paragraph.active,
.wp-block-index-programmes-listing-block .text .label.active,
.wp-block-index-programmes-listing-block .thumbnail img.active {
    display: block;
}

.wp-block-index-programmes-listing-block .links .link-item.active {
    display: flex !important;
}

.wp-block-index-programmes-listing-block .thumbnail {
    /* width: calc(50% - 40px/2); */
    width: calc(40% - 40px/2);
}

.wp-block-index-programmes-listing-block .thumbnail img {
    width: 100%;
    aspect-ratio: 674 / 751;
    object-fit: cover;
}

.wp-block-index-programmes-listing-block .content {
    /* width: calc(50% - 40px/2); */
    width: calc(60% - 40px/2);
    display: flex;
    flex-direction: column;
}

.wp-block-index-programmes-listing-block .tab {
    display: flex;
    gap: 50px;
    padding-bottom: 5%;
}

.wp-block-index-programmes-listing-block .tab-item {
   /* font-size: calc(10px + 0.6vw);*/
	font-size: calc(13px + 0.6vw);
    line-height: 1.4em;
    color: var(--second-color);
}

.wp-block-index-programmes-listing-block .tab-item.active {
    color: var(--fourth-color);
    font-weight: 700;
}

.wp-block-index-programmes-listing-block .content .text {
    padding-bottom: 8%;
    max-width: 640px;
    text-align: justify;
}

.wp-block-index-programmes-listing-block .text .label {
    font-size: calc(10px + 1.4vw);
    line-height: 1.4em;
    margin-bottom: 12px;
    font-weight: 800;
}

/* .wp-block-index-programmes-listing-block .links .link-item {
    flex-direction: column;
}

.wp-block-index-programmes-listing-block .link {
    font-size: calc(10px + 0.6vw);
    line-height: 1.4em;
    color: var(--second-color);
    border-bottom: 2px solid;
    border-color: var(--second-color);
    margin-bottom: 20px;
    padding-bottom: 20px;
    width: fit-content;
}

.wp-block-index-programmes-listing-block .link::after {
    content: '';
    background: url(images/arrow-right.svg);
    display: inline-block;
    width: 18px;
    height: 18px;
    margin: 0 5px 0 10px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    filter: brightness(0) saturate(100%) invert(28%) sepia(53%) saturate(451%) hue-rotate(165deg) brightness(89%) contrast(90%);
}

.wp-block-index-programmes-listing-block .link:hover::after {
    filter: brightness(0) saturate(100%) invert(48%) sepia(50%) saturate(752%) hue-rotate(320deg) brightness(79%) contrast(92%);
}

.wp-block-index-programmes-listing-block .link:hover {
    color: var(--fourth-color);
    border-color: var(--fourth-color);
} */

@media only screen and (max-width: 768px) {
    .wp-block-index-programmes-listing-block .tab {
        /*gap: 15px;*/
		 gap: 25px;
    }
}

.wp-block-index-stories-listing-block .heading {
    position: absolute;
    height: 100%;
    width: calc(50% + 20px);
}

.wp-block-index-stories-listing-block .text {
    position: absolute;
    padding-top: 34%;
    /* z-index: 10; */
    width: 100%;
}

.wp-block-index-stories-listing-block .heading::before {
    content: "";
    position: absolute;
    left: -9999px;
    top: 10%;
    right: 0%;
    bottom: -10%;
    background: linear-gradient(0deg, rgba(128, 178, 214, 0) 0%, rgba(128, 178, 214, 0.3) 100%);
}

.slider-index-stories .swiper-slide {
    display: flex;
    gap: 60px;
}

.slider-index-stories .swiper-slide .content {
    padding-top: 25%;
    width: calc(45% - 40px/2);
    font-size: calc(10px + 1.2vw);
    line-height: 1.5em;
    /* display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 5; */
    /* Sets the maximum number of lines to 5 */
    overflow: hidden;
    height: fit-content;
}

.slider-index-stories .swiper-slide .image {
    width: calc(55% - 40px/2);
    position: relative;
    /* aspect-ratio: 704/688; */
    aspect-ratio: 4 / 3;
    overflow: hidden;
}

.slider-index-stories .swiper-slide .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* navigation */
.slider-index-students .navigation-wrapper,
.slider-index-stories .navigation-wrapper {
    position: relative;
    width: 200px;
    height: 70px;
    margin-left: auto;
}

.swiper-button-prev,
.swiper-button-next,
.slider-index-news-events-2 .navigation-wrapper .swiper-button-prev,
.slider-index-news-events-2 .navigation-wrapper .swiper-button-next,
.slider-index-students .navigation-wrapper .swiper-button-prev,
.slider-index-students .navigation-wrapper .swiper-button-next,
.slider-index-stories .navigation-wrapper .swiper-button-prev,
.slider-index-stories .navigation-wrapper .swiper-button-next {
    width: 58.5px;
    height: 29px;
    background-size: cover;
    margin-top: 0;
}

.swiper-button-prev,
.slider-index-news-events-2 .navigation-wrapper .swiper-button-prev,
.slider-index-stories .navigation-wrapper .swiper-button-prev {
    background-image: url(images/angle-left-orange.svg);
}

.swiper-button-next,
.slider-index-news-events-2 .navigation-wrapper .swiper-button-next,
.slider-index-stories .navigation-wrapper .swiper-button-next {
    background-image: url(images/angle-right-orange.svg);
}

/* end navigation */

.slider-index-bookshelf {
    margin: 40px 0 20px;
}

.slider-index-bookshelf .swiper-wrapper {
    align-items: stretch;
    height: auto !important;
}

.slider-index-bookshelf .swiper-slide {
    display: flex;
    height: auto;
}

.slider-index-bookshelf .bookshelf-item {
    display: flex;
    flex-direction: column;
    height: inherit;
}

.slider-index-students .navigation-wrapper .swiper-button-prev,
.slider-index-bookshelf .navigation-wrapper .swiper-button-prev {
    /* background-image: url(images/angle-left-blue.svg); */
    background-image: url(images/angle-left-orange.svg);
}

.slider-index-students .navigation-wrapper .swiper-button-next,
.slider-index-bookshelf .navigation-wrapper .swiper-button-next {
    /* background-image: url(images/angle-right-blue.svg); */
    background-image: url(images/angle-right-orange.svg);
}

.slider-index-bookshelf .navigation-wrapper {
    position: relative;
    height: 70px;
}

.slider-index-bookshelf .navigation-wrapper .swiper-button-prev,
.slider-index-bookshelf .navigation-wrapper .swiper-button-next {
    width: 58.5px;
    height: 29px;
    background-size: cover;
    margin-top: 0;
}

.slider-index-bookshelf .title {
    padding-top: 10px;
    margin-top: auto;
    /* overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical; */
}

.slider-index-bookshelf .bookshelf-item img {
    aspect-ratio: 257/368;
    object-fit: cover;
    width: 100%;
}

.slider-index-bookshelf a.bookshelf-item:hover {
    /* background-color: #FFFFFF;
    transition: all .6s ease;
    transform: scale(1.15); */
}

.slider-index-bookshelf a.bookshelf-item:hover img {
    /* aspect-ratio: 1 / 1;
    object-position: center; */
    opacity: 0.5;
}

/* .slider-index-bookshelf a.bookshelf-item:hover .title {
    padding: 20px;
    display: block;
    color: var(--fourth-color);
} */
.wp-block-index-students-listing-block .index-wrapper {
    display: flex;
    gap: 40px;
}

.wp-block-index-students-listing-block h2.text {
    width: 21%;
    margin-top: 0;
}

.wp-block-index-students-listing-block .slider {
    width: calc(100% - 21% - 40px);
}

.slider-index-students .image {
    width: calc(100% - 25px);
    aspect-ratio: 4 / 3;
    overflow: hidden;
    margin-right: auto;
}

.slider-index-students .image iframe,
.slider-index-students .image video {
    width: 100%;
    height: 100%;
}

.slider-index-students .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slider-index-students .text-wrapper {
    background: linear-gradient(180deg, rgba(128, 178, 214, 0) 0%, rgba(128, 178, 214, 0.3) 100%);
    padding: 70px 25px 20px;
    margin-top: -50px;
    margin-left: 20px;
    box-sizing: border-box;
}

.slider-index-students .text {
    /* width: calc(100% - 10px - 50px); */
    width: calc(100%);
    height: calc(100%);
    margin-left: auto;
    display: flex;
    flex-direction: column;
}

.slider-index-students .text .heading {
    font-size: calc(10px + 0.7vw);
    line-height: 1.3em;
}

.slider-index-students .text .content,
.slider-index-students .text .heading {
    margin-bottom: 15px;
}

.slider-index-students .text .name {
    margin-top: auto;
}

.slider-index-students .text strong {
    font-weight: 700;
}

@media screen and (max-width: 1024px) {
    .index-section {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media screen and (max-width: 768px) {

    .wp-block-index-students-listing-block .index-wrapper,
    .wp-block-index-programmes-listing-block .items-list,
    .wp-block-index-news-and-events-listing-block .content,
    .wp-block-index-quote-block .content {
        flex-direction: column;
    }

    .slider-index-stories .swiper-slide {
        flex-direction: column-reverse;
    }

    .wp-block-index-stories-listing-block .heading,
    .slider-index-stories .swiper-slide .image,
    .wp-block-index-students-listing-block .slider,
    .wp-block-index-students-listing-block h2.text,
    .slider-index-stories .swiper-slide,
    .slider-index-stories .swiper-slide .content,
    .wp-block-index-programmes-listing-block .content,
    .wp-block-index-programmes-listing-block .thumbnail,
    .wp-block-index-news-and-events-listing-block .items-list-2,
    .wp-block-index-news-and-events-listing-block .items-list-1,
    .wp-block-index-quote-block .content-item,
    .wp-block-index-quote-block .image-item {
        width: 100%;
    }

    .slider-index-stories .swiper-slide .content,
    .wp-block-index-quote-block .content-item {
        padding-top: 0;
    }

    .wp-block-index-students-listing-block h2.text>span {
        display: inline-block !important;
        margin-right: 5px;
    }

    .slider-index-bookshelf a.bookshelf-item:hover {
        transform: scale(1.05);
    }

    .slider-index-stories .swiper-slide .image,
    .wp-block-index-programmes-listing-block .thumbnail img {
        max-width: 500px;
    }

    .wp-block-index-stories-listing-block .heading {
        position: relative;
    }

    .wp-block-index-stories-listing-block .text {
        position: relative;
        padding-top: 40px;
        padding-bottom: 30px;
    }

    .wp-block-index-stories-listing-block .heading::before {
        padding-bottom: 100%;
    }

    .slider-index-students .navigation-wrapper,
    .slider-index-stories .navigation-wrapper {
        margin-left: 0;
        width: auto;
    }

    /* .wp-block-index-programmes-listing-block .link {
        margin-bottom: 10px;
        padding-bottom: 10px;
    } */

    .wp-block-index-news-and-events-listing-block .items-list-2,
    .wp-block-index-quote-block .content,
    .wp-block-index-news-and-events-listing-block .content,
    .wp-block-index-programmes-listing-block .items-list,
    .slider-index-stories .swiper-slide {
        gap: 20px;
    }

    .wp-block-index-students-listing-block .index-wrapper {
        gap: 30px;
        padding-block: 30px; 
    }

    .slider-index-bookshelf .title {
        padding-top: 10px;
    }

    .slider-index-students .text-wrapper {
        padding: 70px 15px 20px;
    }

    .wp-block-index-news-and-events-listing-block .list-2-item {
        padding-bottom: 10px;
    }

    .wp-block-index-news-and-events-listing-block .text {
        margin-bottom: 30px;
    }

    .slider-index-bookshelf,
    .wp-block-index-programmes-listing-block .items-list {
        margin-top: 30px;
    }

    .site-footer {
        padding-top: 50px;
    }
}

@media screen and (max-width: 500px) {
    .wp-block-index-news-and-events-listing-block .list-2-item {
        flex-direction: column;
    }

    .wp-block-index-news-and-events-listing-block .list-2-item .content,
    .wp-block-index-news-and-events-listing-block .list-2-item .image {
        width: 100%;
    }

    .index-section {
        padding-top: 2%;
    }

    .slider-index-bookshelf a.bookshelf-item:hover {
        transform: scale(1.01);
    }

    .wp-block-index-quote-block .image-item,
    .slider-index-stories,
    .wp-block-index-programmes-listing-block .thumbnail,
    .wp-block-index-news-and-events-listing-block .list-2-item .image,
    .slider-index-news-events,
    .slider-index-stories .swiper-slide .image {
        width: auto;
        margin: 0 -15px;
    }

    .slider-index-stories .navigation-wrapper,
    .slider-index-stories .swiper-slide .content,
    .wp-block-index-news-and-events-listing-block .swiper-pagination,
    .wp-block-index-news-and-events-listing-block .swiper-slide .content {
        margin-left: 15px;
        margin-right: 15px;
    }

    .slider-index-bookshelf .navigation-wrapper .swiper-button-prev,
    .slider-index-bookshelf .navigation-wrapper .swiper-button-next,
    .slider-index-students .navigation-wrapper .swiper-button-prev,
    .slider-index-students .navigation-wrapper .swiper-button-next,
    .slider-index-stories .navigation-wrapper .swiper-button-prev,
    .slider-index-stories .navigation-wrapper .swiper-button-next {
        width: 50.5px;
        height: 26px;
    }

    .site-footer {
        padding-top: 0px;
    }
}

/*  */
.wp-block-lazyblock-wrapper-column .expandable_item .expandable_title {
    padding-left: 30px;
    padding-right: 30px;
    margin-right: 30px;
}

.wp-block-lazyblock-wrapper-column .expandable_item .hidden_content,
.wp-block-lazyblock-wrapper-column .expandable_item.active .hidden_content {
    padding-left: 30px;
    padding-right: 30px;
}

.wp-block-lazyblock-wrapper-column .section_content {
    padding-top: 0px;
}

body.page .right-background .lazyblock-inner-blocks .wp-block-lazyblock-wrapper-column:nth-child(2) {
    position: relative;
}

body.page .right-background .lazyblock-inner-blocks .wp-block-lazyblock-wrapper-column:nth-child(2)::before {
    content: "";
    position: absolute;
    /* top: -20px; */
    top: 0px;
    right: -110px;
    left: -110px;
    height: 400px;
    z-index: -1;
}

@media screen and (max-width: 768px) {
    .wp-block-lazyblock-wrapper-column .expandable_item .expandable_title {
        padding-left: 15px;
        padding-right: 15px;
        margin-right: 15px;
    }

    .wp-block-lazyblock-wrapper-column .expandable_item .hidden_content,
    .wp-block-lazyblock-wrapper-column .expandable_item.active .hidden_content {
        padding-left: 15px;
        padding-right: 15px;
    }

    .lazyblock-inner-blocks>div.wp-block-lazyblock-accordion-block {
        margin-left: -15px;
        margin-right: -15px;
    }

    body.page .right-background .lazyblock-inner-blocks .wp-block-lazyblock-wrapper-column:nth-child(2) {
        padding-top: 40px;
    }


    body.page .right-background .lazyblock-inner-blocks .wp-block-lazyblock-wrapper-column:nth-child(2)::before {
        top: 30px;
    }
}

.video>video {
    width: 100%;
    height: auto;
}

.video>iframe {
    width: 100%;
    aspect-ratio: 16 / 9;
}

.section_search_bar .section_center_content {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
}

.section_search_bar .search_input {
    min-width: 250px;
}

@media screen and (min-width: 1024px) {
    .wp-block-lazyblock-wrapper-column .student_list_item {
        width: calc(33.33% - 10px);
    }
}

.filter_menu_wrapper.full_filter_menu_wrapper {
    padding-top: 0px;
}

table.fb3d-categories {
    background: transparent !important;
}

table.fb3d-categories tbody td+td {
    border-left: none !important;
}

table.fb3d-categories tbody tr+tr td {
    border-top: none !important;
}

._3d-flip-book .book-thumbnail img {
    width: 250px;
    height: auto;
}

.sub-theme-table-responsive {
    position: relative;
    overflow-x: auto;
}

.single-newsletter .filter_dropdown_wrapper .filter_dropdown,
.wp-block-lazyblock-newsletter-listing-block .filter_dropdown_wrapper .filter_dropdown {
    background-color: #ffffff;
    border: 1px solid #0A2342;
}

.single-newsletter .filter_dropdown_wrapper .filter_dropdown::before,
.wp-block-lazyblock-newsletter-listing-block .filter_dropdown_wrapper .filter_dropdown::before {
    background: unset;
}

.committee_album_slider .swiper-slide a {
    max-width: unset;
}

.committee_album_slider .slider-wrapper {
    position: relative;
    height: 40px;
}

.filter_dropdown_wrapper .filter_dropdown ul .child-item a {
    padding: 5px 5px 10px 40px;
    /* font-size: calc(10px + 0.2vw); */
}

.student_list_item>.text a:hover,
.filter_dropdown_wrapper .filter_dropdown a:hover,
.filter_dropdown_wrapper .filter_dropdown ul a.active {
    /* color: var(--fourth-color); */
    color: rgb(0, 155, 157); 
}

.filter_dropdown_wrapper .filter_dropdown ul li.parent-item+li.child-item {
    margin-top: -5px;
}

.filter_dropdown_wrapper .filter_dropdown ul a {
    padding: 10px 20px;
}

.people_detail_text .position,
.people_detail_text .name {
    font-weight: 400;
}

.people_detail_text .description {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 0;
}

.people_detail_text .description>div {
    display: flex;
    flex-direction: column;
    width: 100%;
    font-size: 16px; 
}

.people_detail_text .description>div span {
    margin-bottom: 5px;
    color: var(--second-color) !important; 
    font-size: 16px; 
}

.people_detail_text .description>div span + p { 
    margin-top: 0; 
}

.people_detail_text .description>div.links {
    text-wrap: nowrap;
}

.people_detail_text .description>div.office,
.people_detail_text .description>div.links,
.people_detail_text .description>div.download,
.people_detail_text .description>div.telephone,
.people_detail_text .description>div.email {
    width: calc(50% - 20px);
    padding-right: 20px;
}

@media only screen and (max-width: 768px) {

    .people_detail_text .description>div.office,
    .people_detail_text .description>div.links,
    .people_detail_text .description>div.download,
    .people_detail_text .description>div.telephone,
    .people_detail_text .description>div.email {
        width: 100%;
        padding-right: 0;
    }
}

.alumni-tr-table {
    width: 100%
}

.alumni-tr-table td {
    padding: 0 8px;
}

.alumni-list.alumni-table {
    min-width: 700px;
}

.wp-block-lazyblock-alumni-listing-block .filter_dropdown_wrapper .filter_dropdown ul a {
    padding: 10px 20px;
}

.wp-block-lazyblock-alumni-listing-block .filter_dropdown_wrapper .filter_dropdown ul {
    max-height: 500px;
    overflow: auto;
}

/*  */

.filter_menu_content .search_wrapper .search_input {
    min-width: 250px;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.pagination .page-numbers.page-more {
    cursor: default;
}

.pagination .page-numbers:not(.page-more) {
    padding: 8px 12px;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.pagination .page-numbers:not(.page-more):hover {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.pagination .page-numbers.current {
    background-color: #333;
    color: #fff;
    border-color: #333;
}

.pagination .page-numbers.dots {
    border: none;
}

.filter_menu_content {
    align-items: flex-start;
}

.filter_dropdown_wrapper .filter_dropdown_btn {
    white-space: nowrap;
}

.category-mobile-dropdown {
    display: none;
}

.video-square-container {
    aspect-ratio: 1/1;
    width: 100%;
}

.list_item_col {
    /* border-bottom: 1px solid #5aba80; */
    border-bottom: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .alphabet_list_wrapper.big_alphabet_list_wrapper {
        display: none;
    }

    .alphabet_list_wrapper {
        margin: auto;
    }

    .category-mobile-dropdown {
        display: block;
        position: relative;
    }
}

.alumni-table {
    width: 100%;
    border-collapse: collapse;
}

.alumni-list thead {
    color: #333333;
    font-size: 20px;
}

.alumni-list>tbody>tr,
.alumni-table>tbody>tr {
    /* border-bottom: .5px solid #ddd; */
    border-bottom: 1px solid var(--border-color);
}

.alumni-group-list .alumni-group:not(:first-child) {
    margin-top: 30px;
}

.alumni-tr-table.has-description {
    cursor: pointer;
}

.alumni-row td {
    position: relative;
}

.alumni-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

@media screen and (max-width: 768px) {
    .alumni-list thead {
        font-size: 14px;
    }
}

.wp-block-lazyblock-horizontal-line-block .plain_text_section {
    padding-top: 0px;
    padding-bottom: 0px;
}

@media screen and (max-width: 768px) {

    .border_layout_section .flexible_layout.border-top-line,
    .border_layout_section .flexible_layout+.flexible_layout {
        padding-top: 20px;
        margin-top: 20px;
    }
}

.thumb_text_box_slider_wrapper .swiper-slide .thumb2 {
    padding-bottom: 80%;
}

.wp-block-lazyblock-ma-sharing-listing-block .photo,
.wp-block-lazyblock-ma-sharing-listing-block .video-square-container {
    aspect-ratio: 16 / 9;
    width: 100%;
    overflow: hidden;
}

.course-table {
    width: 100%;
    border-collapse: collapse;
    min-height: 100px;
}


.alumni-table th,
.alumni-table>tbody>tr>td,
.course-table th,
.course-table td {
    padding: 20px 8px;
}

.alumni-table th,
.course-table th {
    text-align: left;
    font-weight: bold;
    color: var(--second-color);
}

.course-list thead {
    color: #333333;
    font-size: 20px;
}


.alumni-table>tbody,
.course-table tbody {
    /* border-top: 1px solid #a9a9a9ff; */
    /* border-top: 1px solid var(--border-color); */
}

.course-list tbody tr,
.course-table tbody tr {
    /* border-bottom: .5px solid #ddd; */
    border-bottom: 1px solid var(--border-color);
}

.course-list.green-edition thead {
    color: #333333;
    font-size: 20px;
}

.course-table.green-edition th,
.course-table.green-edition td {
    padding: 20px 8px;
}

.course-table.green-edition tbody {
    border-top: 1px solid var(--second-color);
}

.course-list.green-edition tbody tr,
.course-table.green-edition tbody tr {
    border-bottom: 1px solid var(--second-color);
}

.course-group-list .course-group:not(:first-child) {
    margin-top: 30px;
}

/* .course-row.has-description {
    cursor: pointer;
} */

.course-row td {
    position: relative;
}

.course-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.course-title a {
    color: #45adb3;
    text-decoration: underline;
}

.course-title a:hover {
    opacity: 0.5;
}

/* .chevron {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 7px solid #333;
    margin-left: 10px;
    transition: transform 0.3s ease;
    vertical-align: middle;
}

.chevron.expanded {
    transform: rotate(180deg);
} */

.chevron {
    display: inline-block;
    margin-left: 5px;
    min-width: 12px;
    min-height: 12px;
    position: relative;
    vertical-align: middle;
    cursor: pointer;
}

/* bars */
.chevron::before,
.chevron::after {
    content: "";
    position: absolute;
    background: #333;
    transition: transform 0.2s ease;
}

.chevron::before {
    /* vertical */
    width: 2px;
    height: 100%;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
}

.chevron::after {
    /* horizontal */
    width: 100%;
    height: 2px;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

/* when open: hide vertical bar to show minus */
.chevron.expanded::before {
    transform: translateX(-50%) scaleY(0);
}


.description-row {
    display: none;
}

.description-row.show {
    display: block;
    padding-top: 10px;
}

.print {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 15px;
    margin-bottom: 15px;
}

.print svg {
    width: 24px;
    height: 24px;
    fill: #333;
    vertical-align: bottom;
}

.round_outline_btn {
    border: 1px solid #333;

}

@media screen and (max-width: 768px) {
    .course-list thead {
        font-size: 14px;
    }
}

.wp-block-lazyblock-research-project-listing-block .student_list_item_wrapper,
.wp-block-lazyblock-publication-research-and-outputs-listing-block .student_list_item_wrapper {
    gap: 0px 40px;
}

.wp-block-lazyblock-research-project-listing-block .student_list_item,
.wp-block-lazyblock-publication-research-and-outputs-listing-block .student_list_item {
    width: 100%;
}

.wp-block-lazyblock-research-project-listing-block .student_list_item_wrapper>div,
.wp-block-lazyblock-publication-research-and-outputs-listing-block .student_list_item_wrapper>div {
    width: calc(33.33% - 80px/3);
}

.wp-block-lazyblock-research-project-listing-block .student_list_item>.text,
.wp-block-lazyblock-publication-research-and-outputs-listing-block .student_list_item>.text {
    padding-left: 0px;
    padding-right: 0px;
    margin: 0px;
    border-left: 0px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid;
}

@media only screen and (max-width: 768px) {

    .wp-block-lazyblock-research-project-listing-block .student_list_item_wrapper,
    .wp-block-lazyblock-publication-research-and-outputs-listing-block .student_list_item_wrapper {
        gap: 0px 20px;
    }

    .wp-block-lazyblock-research-project-listing-block .student_list_item_wrapper>div,
    .wp-block-lazyblock-publication-research-and-outputs-listing-block .student_list_item_wrapper>div {
        width: calc(50% - 40px/2);
    }
}

.wp-block-lazyblock-announcement-listing-block .full_filter_menu_wrapper::before {
    display: none;
}

.news_box_section .news_box .text_wrapper {
    /* flex: 0 0 calc(35% - 10px); */
    flex: 1 0 calc(35% - 10px);
}

.news_box_section .news_box .photo {
    flex: 1 1 auto;
}

.news_box_section .col_spacing {
    gap: 40px 20px;
}

.filter_checkbox {
    display: contents;
}

.scheme_groups_dropdown .hidden {
    min-width: calc(100% - 30px);
    border: 1px solid;
    border-top: 0;
    left: -1px;
}

.filter_checkbox input[type="checkbox"]+label::before,
.filter_checkbox input[type="radio"]+label::before {
    border: 1px;
    border-style: solid;
    box-sizing: border-box;
}

.thumb_text_box_slider_wrapper .swiper-slide .text_spacing {
    padding-top: 20px;
}

.search-links-wrapper .inner-wrapper {
    display: flex;
    gap: 100px;
    padding-top: 60px;
    border-top: 1px solid #A2A2A2;
	justify-content: center;
}

.search-links-wrapper .link-list {
    margin-top: 20px;
    margin-left: 25px;
    list-style: disc;
}

.search-links-wrapper .link-list li {
    margin-top: 10px;
}

@media only screen and (max-width: 768px) {

    .search-links-wrapper .inner-wrapper {
        gap: 40px;
    }
}

.wp-block-lazyblock-index-video-block .bg_video_wrapper {
    position: unset;
}

.expandable_item .no_expandable_title .link:hover {
    color: var(--fourth-color);
}

.expandable_item .no_expandable_title {
    position: relative;
    padding: 30px 0px;
    padding-right: 32px;
    font-family: "richmond-text", "Chiron Sung HK WS", serif !important;
    color: var(--second-color);
    display: flex;
    justify-content: space-between;
    padding-right: 0;
}

.expandable_item .no_expandable_title:has(.filter_detail_flex_item.code) { 
    font-family: "area-normal", "richmond-text", "Chiron Sung HK WS", serif !important;
}

.committee_album_slider img {
    aspect-ratio: 16 / 9;
    width: 100%;
    object-fit: cover;
}

.wp-block-lazyblock-accordion-block:has(+ .wp-block-lazyblock-horizontal-line-block)>.section_content {
    padding-bottom: 0px;
}

.wp-block-lazyblock-horizontal-line-block+.wp-block-lazyblock-thumbnail-block .flexible_layout,
.wp-block-lazyblock-horizontal-line-block+.wp-block-lazyblock-text-block .flexible_layout {
    margin-top: 0px;
}

.free_text .video_wrapper:has(iframe[src*="facebook.com/"]) {
    position: unset;
    padding: 0;
    margin: 0;
}

.free_text .video_wrapper iframe[src*="facebook.com/"] {
    position: unset;
    width: 100%;
    height: revert-layer;
    padding: 0;
    margin: 0;
}

.mobile-label-row.list_item_row,
.wp-block-lazyblock-people-table-listing-block .list_item_row,
.div-part-time-teachers .list_item_row,
.wp-block-lazyblock-people-listing-block .list_item_row,
.div-part-time-teachers .list_item_row,
.wp-block-lazyblock-staff-listing-block .list_item_row {
    display: flex;
}

.mobile-label-row.list_item_row+.mobile-label-row.list_item_row,
.wp-block-lazyblock-people-table-listing-block .list_item_row+.list_item_row,
.div-part-time-teachers .list_item_row+.list_item_row,
.wp-block-lazyblock-people-listing-block .list_item_row+.list_item_row,
.wp-block-lazyblock-staff-listing-block .list_item_row+.list_item_row {
    border-top: none;
}

.mobile-label-row .mobile-label,
.wp-block-lazyblock-people-table-listing-block .mobile-label,
.div-part-time-teachers .mobile-label,
.wp-block-lazyblock-people-listing-block .mobile-label,
.wp-block-lazyblock-staff-listing-block .mobile-label {
    display: none;
}

.mobile-label-row .list_item_col+.list_item_col:last-child>div,
.div-part-time-teachers .list_item_col+.list_item_col:last-child>div,
.wp-block-lazyblock-people-table-listing-block .list_item_col+.list_item_col:last-child>div,
.wp-block-lazyblock-course-listing-block .list_item_col+.list_item_col:last-child>div,
.wp-block-lazyblock-staff-listing-block .list_item_col+.list_item_col:last-child>div {
    padding-left: 0;
}

@media (max-width: 1024px) {
    .paper-table-listing .list_item_row {
        display: flex;
    }

    .mobile-label-row.list_item_row,
    .mobile-label-row.list_item_row+.mobile-label-row.list_item_row,
    .div-part-time-teachers .list_item_row,
    .wp-block-lazyblock-people-listing-block .list_item_row,
    .wp-block-lazyblock-staff-listing-block .list_item_row,
    .wp-block-lazyblock-people-listing-block .list_item_row+.list_item_row,
    .wp-block-lazyblock-staff-listing-block .list_item_row+.list_item_row {
        border-top: none;
        padding-top: 20px;
        padding-bottom: 0;
        margin: 0;
    }

    .mobile-label-row.list_item_row .list_item_col,
    .wp-block-lazyblock-people-table-listing-block .list_item_row .list_item_col,
    .div-part-time-teachers .list_item_row .list_item_col,
    .wp-block-lazyblock-people-listing-block .list_item_row .list_item_col,
    .wp-block-lazyblock-staff-listing-block .list_item_row .list_item_col {
        padding-bottom: 20px;
    }
}

@media (max-width: 768px) {

    .mobile-label-row.list_item_row,
    .wp-block-lazyblock-people-table-listing-block .list_item_row,
    .div-part-time-teachers .list_item_row,
    .wp-block-lazyblock-people-listing-block .list_item_row,
    .wp-block-lazyblock-staff-listing-block .list_item_row {
        flex-wrap: wrap;
    }

    .wp-block-lazyblock-people-table-listing-block .list_item_row.list_item_header_row,
    .div-part-time-teachers .list_item_row.list_item_header_row,
    .wp-block-lazyblock-people-listing-block .list_item_row.list_item_header_row,
    .wp-block-lazyblock-staff-listing-block .list_item_row.list_item_header_row {
        display: none;
    }

    .mobile-label-row.list_item_row .list_item_col.office,
    .mobile-label-row.list_item_row .list_item_col.name,
    .wp-block-lazyblock-people-table-listing-block .list_item_row .list_item_col.office,
    .div-part-time-teachers .list_item_row .list_item_col.office,
    .wp-block-lazyblock-people-listing-block .list_item_row .list_item_col.office,
    .wp-block-lazyblock-staff-listing-block .list_item_row .list_item_col.name {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mobile-label-row.list_item_row .list_item_col.email,
    .mobile-label-row.list_item_row .list_item_col.contact,
    .wp-block-lazyblock-people-table-listing-block .list_item_row .list_item_col.email,
    .wp-block-lazyblock-people-table-listing-block .list_item_row .list_item_col.contact,
    .div-part-time-teachers .list_item_row .list_item_col.email,
    .div-part-time-teachers .list_item_row .list_item_col.contact,
    .div-part-time-teachers .list_item_row .list_item_col.position,
    .wp-block-lazyblock-people-listing-block .list_item_row .list_item_col.email,
    .wp-block-lazyblock-people-listing-block .list_item_row .list_item_col.contact,
    .wp-block-lazyblock-staff-listing-block .list_item_row .list_item_col.email,
    .wp-block-lazyblock-staff-listing-block .list_item_row .list_item_col.contact {
        width: 50%;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .wp-block-lazyblock-people-table-listing-block .list_item_row .list_item_col.email,
    .wp-block-lazyblock-people-table-listing-block .list_item_row .list_item_col.contact,
    .div-part-time-teachers .list_item_row .list_item_col.contact,
    .div-part-time-teachers .list_item_row .list_item_col.position,
    .div-part-time-teachers .list_item_row .list_item_col.email,
    .wp-block-lazyblock-people-listing-block .list_item_row .list_item_col.email,
    .wp-block-lazyblock-people-listing-block .list_item_row .list_item_col.contact,
    .wp-block-lazyblock-staff-listing-block .list_item_row .list_item_col.email,
    .wp-block-lazyblock-staff-listing-block .list_item_row .list_item_col.contact {
        /* border-bottom: 1px solid #5aba80; */
        border-bottom: 1px solid var(--border-color);
    }

    .mobile-label-row.list_item_row .list_item_col.name,
    .mobile-label-row.list_item_row .list_item_col.office,
    .wp-block-lazyblock-people-table-listing-block .list_item_row .list_item_col.name,
    .wp-block-lazyblock-people-table-listing-block .list_item_row .list_item_col.office,
    .div-part-time-teachers .list_item_row .list_item_col.name,
    .div-part-time-teachers .list_item_row .list_item_col.office,
    .wp-block-lazyblock-people-listing-block .list_item_row .list_item_col.name,
    .wp-block-lazyblock-people-listing-block .list_item_row .list_item_col.office,
    .wp-block-lazyblock-staff-listing-block .list_item_row .list_item_col.name,
    .wp-block-lazyblock-staff-listing-block .list_item_row .list_item_col.office {
        border-bottom: none;
    }

    .mobile-label-row .mobile-label,
    .wp-block-lazyblock-people-table-listing-block .mobile-label,
    .div-part-time-teachers .mobile-label,
    .wp-block-lazyblock-people-listing-block .mobile-label,
    .wp-block-lazyblock-staff-listing-block .mobile-label {
        display: block;
        width: 100%;
    }

    .mobile-label-row .right_text,
    .wp-block-lazyblock-people-table-listing-block .right_text,
    .wp-block-lazyblock-course-listing-block .right_text,
    .div-part-time-teachers .right_text,
    .wp-block-lazyblock-people-listing-block .right_text,
    .wp-block-lazyblock-staff-listing-block .right_text {
        text-align: left;
    }

    /* }

@media (max-width: 500px) { */

    .mobile-label-row.list_item_row .list_item_col.office,
    .mobile-label-row.list_item_row .list_item_col.name,
    .mobile-label-row.list_item_row .list_item_col.email,
    .mobile-label-row.list_item_row .list_item_col.contact,
    .wp-block-lazyblock-people-table-listing-block .list_item_row .list_item_col.office,
    .wp-block-lazyblock-people-table-listing-block .list_item_row .list_item_col.name,
    .wp-block-lazyblock-people-table-listing-block .list_item_row .list_item_col.email,
    .wp-block-lazyblock-people-table-listing-block .list_item_row .list_item_col.contact,
    .div-part-time-teachers .list_item_row .list_item_col.office,
    .div-part-time-teachers .list_item_row .list_item_col.name,
    .div-part-time-teachers .list_item_row .list_item_col.email,
    .div-part-time-teachers .list_item_row .list_item_col.contact,
    .div-part-time-teachers .list_item_row .list_item_col.position,
    .wp-block-lazyblock-people-listing-block .list_item_row .list_item_col.office,
    .wp-block-lazyblock-people-listing-block .list_item_row .list_item_col.name,
    .wp-block-lazyblock-people-listing-block .list_item_row .list_item_col.email,
    .wp-block-lazyblock-people-listing-block .list_item_row .list_item_col.contact,
    .wp-block-lazyblock-staff-listing-block .list_item_row .list_item_col.office,
    .wp-block-lazyblock-staff-listing-block .list_item_row .list_item_col.name,
    .wp-block-lazyblock-staff-listing-block .list_item_row .list_item_col.email,
    .wp-block-lazyblock-staff-listing-block .list_item_row .list_item_col.contact {
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: 0;
    }

    .mobile-label-row.list_item_row .list_item_col.contact,
    .wp-block-lazyblock-people-table-listing-block .list_item_row .list_item_col.contact,
    .div-part-time-teachers .list_item_row .list_item_col.contact,
    .div-part-time-teachers .list_item_row .list_item_col.position,
    .wp-block-lazyblock-people-listing-block .list_item_row .list_item_col.contact,
    .wp-block-lazyblock-staff-listing-block .list_item_row .list_item_col.contact {
        border-bottom: none;
    }

    .mobile-label-row.list_item_row .list_item_col:last-child {
        border-bottom: 1px solid var(--border-color) !important;
    }

}

.people_detail_content {
    flex-wrap: wrap;
}

.people_detail_video_wrapper {
    width: 100%;
    padding-bottom: 5rem;
}

.links-icon,
.telephone-icon,
.email-icon,
.download-icon,
.office-icon {
    margin-right: 15px;
    display: inline-block;
}

.links-icon::before,
.telephone-icon::before,
.email-icon::before,
.download-icon::before,
.office-icon::before {
    content: '';
    margin-right: 20px;
    display: inline-block;
    vertical-align: text-bottom;
}

.office-icon::before {
    background-image: url(<?= THEME_URL ?>/assets/css/images/briefcase-solid-full.svg);
    width: 20px;
    height: 20px;
}

.email-icon::before {
    width: 20px;
    height: 20px;
    background-image: url(<?= THEME_URL ?>/assets/css/images/envelope-regular-full.svg);
}

.telephone-icon::before {
    width: 20px;
    height: 20px;
    background-image: url(<?= THEME_URL ?>/assets/css/images/phone-solid-full.svg);
}

.links-icon::before {
    width: 20px;
    height: 20px;
    background-image: url(<?= THEME_URL ?>/assets/css/images/link-solid-full.svg);
}

.download-icon::before {
    width: 20px;
    height: 20px;
    background-image: url(<?= THEME_URL ?>/assets/css/images/download-solid-full.svg);
}

.single-staff .row-wrapper,
.single-people .row-wrapper {}

.single-staff .row-item,
.single-people .row-item {
    display: flex;
    align-items: baseline;
    gap: 50px;
}

.single-staff .row-item.column-direction,
.single-people .row-item.column-direction {
    flex-direction: column;
    gap: 25px;
}

.single-staff .row-item:not(:last-child),
.single-people .row-item:not(:last-child) {
    margin-bottom: 25px;
    padding-bottom: 25px;
    /* border-bottom: 1px solid #5aba80; */
    border-bottom: 1px solid var(--border-color);
}

.single-staff .row-item>.label,
.single-people .row-item>.label {
    width: 35%;
}

.single-staff .row-item.column-direction>.label,
.single-people .row-item.column-direction>.label {
    width: auto;
}


.single-staff .row-item>.free_text,
.single-people .row-item>.free_text {
    flex: 1;
}

@media screen and (max-width: 1023px) {

    .single-staff .row-item>.label,
    .single-people .row-item>.label {
        width: 25%;
    }

    .single-staff .row-item,
    .single-people .row-item {
        gap: 20px;
    }
}

@media only screen and (max-width: 768px) {

    .single-staff .row-item,
    .single-people .row-item {
        flex-direction: column;
        gap: 10px;
    }

    .single-staff .row-item>.label,
    .single-people .row-item>.label {
        width: auto;
    }

}

.wp-block-lazyblock-two-columns-section>.wrapper>.back_btn_wrapper {
    position: unset;
    margin-top: 0;
    margin-left: 15px;
}

@media only screen and (max-width: 768px) {
    .wp-block-lazyblock-two-columns-section>.wrapper>.back_btn_wrapper {
        margin-bottom: 0;
        margin-left: 0;
    }
}

/* @media only screen and (max-width: 1023px) { */
.col10 {
    width: 100%;
}

/* } */

.sibling-pages-menu {
    flex-wrap: nowrap;
    text-align: center;
}

.sibling-page-item:not(:last-child)::after {
    height: 30px;
    top: 50%;
    transform: translateY(-50%);
}

.free_text .table-bg,
.free_text .table-bg th,
.free_text .table-bg tbody td,
.free_text .table-bg tbody tr+tr td {
    border-style: solid;
    border-width: 1px;
}

.free_text .table-bg th {
    padding: 10px 0;
    font-weight: bold;
}

.list_item_col a {
    color: #45adb3;
    text-decoration: underline;
}

.list_item_col a:hover {
    opacity: 0.5;
}

.wp-block-lazyblock-index-bookshelf-listing-block .round_btn_wrapper {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
    display: flex;
}

.slider-index-bookshelf a.bookshelf-item:hover .round_btn_wrapper .round_btn {
    color: #FFFFFF;
    background-color: var(--fourth-color);
}

.wp-block-lazyblock-index-bookshelf-listing-block .round_btn_wrapper .round_btn {
    color: var(--fourth-color);
    border-color: var(--border-color);
    margin: 0 auto;
}

.wp-block-lazyblock-index-about-department-block .committee_album_slider {
    position: relative;
}

.wp-block-lazyblock-index-about-department-block .committee_album_slider .swiper-container {
    width: 70%;
    margin: auto;
    min-width: 280px;
}

.wp-block-lazyblock-index-about-department-block .committee_album_slider .slider-wrapper {
    position: absolute;
    display: flex;
    flex-direction: column;
    right: 0;
    bottom: 0;
    gap: 30px;
    height: auto;
}

.wp-block-lazyblock-index-about-department-block .swiper-button-next,
.wp-block-lazyblock-index-about-department-block .swiper-button-prev {
    position: unset;
}

.wp-block-lazyblock-index-about-department-block .committee_album_slider img {
    aspect-ratio: 871 / 453;
    width: 100%;
}

.wp-block-lazyblock-index-about-department-block .content {
    width: 50%;
    min-width: 680px;
    margin-top: 50px;
    margin-right: auto; /* 20261021: UAT Comment */
    margin-left: auto; /* 20261021: UAT Comment */
	/* margin-left: 10%; */
}

@media only screen and (max-width: 1024px) {

    .wp-block-lazyblock-index-about-department-block .content {
        width: 75%;
        min-width: unset;
        margin-top: 40px;
    }
}

@media only screen and (max-width: 768px) {
    .wp-block-lazyblock-index-about-department-block .committee_album_slider .swiper-container {
        margin: 0;
    }
}

.wp-block-lazyblock-publications-and-presentations-listing-block .filter_dropdown_wrapper .filter_dropdown ul a {
    padding: 10px 20px;
}

.wp-block-lazyblock-publications-and-presentations-listing-block .filter_dropdown_wrapper .filter_dropdown ul {
    max-height: 500px;
    overflow: auto;
}

.arts-sub-theme .footer_department_logo_wrapper table.contact-us a:hover,
.arts-sub-theme .dropdown .footer_info table.contact-us a:hover {
    /* color: var(--fourth-color); */
    /* color: rgb(0, 155, 157); */ /* 20260925: UAT Comment */
    color: rgb(98, 144, 229); /* 20261105: UAT Comment - rgb(98, 144, 229) on hover */
}

.arts-sub-theme .footer_department_logo_wrapper table.contact-us a,
.arts-sub-theme .dropdown .footer_info table.contact-us a,
.arts-sub-theme .footer_department_logo_wrapper table.contact-us p,
.arts-sub-theme .dropdown .footer_info table.contact-us p {
    margin-top: 8px;
    margin-bottom: 8px;
}

.arts-sub-theme .footer_department_logo_wrapper table.contact-us p, 
.arts-sub-theme .footer_department_logo_wrapper table.contact-us a { 
    font-size: 12px; 
}

.arts-sub-theme .footer_department_logo_wrapper table.contact-us b,
.arts-sub-theme .dropdown .footer_info table.contact-us b {
    font-weight: bold;
}

.arts-sub-theme .footer_department_logo_wrapper table.contact-us td,
.arts-sub-theme .dropdown .footer_info table.contact-us td {
    font-weight: 400;
}

.wp-block-lazyblock-people-table-listing-block .list_item_col,
.div-part-time-teachers .list_item_col {
    flex: 1;
}

.people-table-listing .list_item_col {
    white-space: nowrap;
}

@media screen and (max-width: 768px) {
    .wp-block-lazyblock-course-listing-block .list_item_col,
    .wp-block-lazyblock-people-table-listing-block .list_item_col,
    .div-part-time-teachers .list_item_col {
        flex: unset;
    }
}

.wp-block-lazyblock-heading-and-content-block .top_photo_banner_section .chair_photo_wrapper {
    align-items: unset;
}

.wp-block-lazyblock-heading-and-content-block .top_photo_banner_section .chair_photo_wrapper .chair_name {
    padding-top: 150px;
}

.news_box_section .news_box .photo {
    max-width: 50%;
}

@media only screen and (max-width: 768px) {
    .wp-block-lazyblock-heading-and-content-block .top_photo_banner_section .chair_photo_wrapper .chair_name {
        padding-top: 0px;
    }

    .footer_menu_list>ul>li>.sub-menu>li {
        margin: 0px 0 10px 0;
    }

    .table_flex_item_wrapper2 .table_flex_item {
        width: 100%;
    }

    .news_box_section .news_box .photo {
        max-width: unset;
    }
}

.student_list_item>.photo {
    padding-bottom: 0;
}

.student_list_item>.photo img {
    position: unset;
    aspect-ratio: 3 / 4;
}

.table_flex_item .title {
    color: var(--second-color);
}

.tab-content-wrapper.active .text-group,
.tab-content-wrapper.active .scheme_group {
    display: block !important;
}

.tab-content-wrapper.active {
    display: block;
}

.tab-content-wrapper {
    display: none;
}

.wp-block-lazyblock-inner-page-menu-block {
    padding-top: 40px;
}

@media only screen and (max-width: 768px) {

    .filter_menu_content.search_and_dropdown_wrapper {
        flex-wrap: wrap;
        flex-direction: column-reverse;
        gap: 0;
    }

    .filter_menu_content.search_and_dropdown_wrapper .right_filter_dropdown_wrapper {
        margin-left: 0;
    }

    .filter_menu_content.search_and_dropdown_wrapper .alphabet_list_wrapper {
        padding-top: 0;
    }
}

@media screen and (max-width: 1023px) {
    .people_detail_incontent::before {
        top: -20px;
    }
}


.single.wp-singular .detail-page-50-50 .details_page_wrapper {}

.single.wp-singular .detail-page-50-50 .details_page_wrapper .details_page_left_side {}

.single.wp-singular .detail-page-50-50 .details_page_wrapper .details_page_right_side {}

.single.wp-singular .detail-page-40-60 .details_page_wrapper {}

.single.wp-singular .detail-page-40-60 .details_page_wrapper .details_page_left_side {
   /* width: 35%;*/
	width: 30%;
}

.single.wp-singular .detail-page-40-60 .details_page_wrapper .details_page_right_side {}

.single.wp-singular .detail-page-35-65 .details_page_wrapper {}

.single.wp-singular .detail-page-35-65 .details_page_wrapper .details_page_left_side {
    width: 30%;
}

.single.wp-singular .detail-page-35-65 .details_page_wrapper .details_page_right_side {}


.layout-style-1 .heading_wrapper {
    margin-top: 100px;
}

.layout-style-1 .people_detail_incontent.green-edition::before {
    display: none;
}

.layout-style-1 .details_page_right_side {
    position: relative;
}

.layout-style-1 .details_page_right_side.ps {
    overflow: visible !important;
}

.layout-style-1 .details_page_right_side::before {
    content: "";
    position: absolute;
    top: -80px;
    right: -150px;
    left: -150px;
    height: 400px;
    transition: all 0.15s ease;
    background: linear-gradient(180deg, var(--background-gradient-1) 20%, var(--background-gradient-2) 100%);
    z-index: -1;
}

.layout-style-1.people_detail_section {
    padding-top: 100px;
}

.layout-style-3 .news_right_content .news_title_wrapper,
.layout-style-3.section_left_right_content2 .right_content {
    margin-top: 0;
}

.layout-style-3.section_left_right_content2 .right_content::before {
    top: -50px;
}

.layout-style-3 .flexible_layout>.free_text {
    margin-bottom: 60px;
}

.layout-style-3 .flexible_layout>.committee_album_slider img {
    aspect-ratio: unset;
    width: auto;
}

@media only screen and (max-width: 1024px) {
    .layout-style-1 .details_page_right_side::before {
        top: -50px;
        right: -100px;
        left: -100px;
    }

    .layout-style-1.people_detail_section {
        padding-top: 80px;
    }

    .single.wp-singular .layout-style-2 .people_detail_incontent::before {
        left: -15px;
        top: -82px;
        bottom: auto;
        height: 85%;
    }

    .layout-style-2 .back_btn_wrapper {
        z-index: 1;
    }
}

@media only screen and (max-width: 768px) {

    .single.wp-singular .detail-page-35-65 .details_page_wrapper .details_page_left_side,
    .single.wp-singular .detail-page-50-50 .details_page_wrapper .details_page_left_side,
    .single.wp-singular .detail-page-40-60 .details_page_wrapper .details_page_left_side {
        width: auto;
        display: flex;
        justify-content: center;
    }

    .single.wp-singular .detail-page-35-65.detail-page-landscape-img .details_page_wrapper .details_page_left_side,
    .single.wp-singular .detail-page-50-50.detail-page-landscape-img .details_page_wrapper .details_page_left_side,
    .single.wp-singular .detail-page-40-60.detail-page-landscape-img .details_page_wrapper .details_page_left_side {
        margin-left: -15px;
        margin-right: -15px;
    }

    .single.wp-singular .detail-page-35-65 .details_page_wrapper .details_page_left_side img,
    .single.wp-singular .detail-page-50-50 .details_page_wrapper .details_page_left_side img,
    .single.wp-singular .detail-page-40-60 .details_page_wrapper .details_page_left_side img {
        max-width: 500px;
        max-height: 400px;
    }

    .layout-style-1 .heading_wrapper {
        display: none;
    }

    .layout-style-1.people_detail_section {
        padding-top: 30px;
    }

    .layout-style-1 .details_page_right_side::before {
        top: 0px;
        right: -15px;
        left: -15px;
        height: 200px;
    }
}

.listing-view-b .news_box_section .news_box .photo {
    max-width: 100%;
    width: 100%;
    aspect-ratio: 320 / 450;
    overflow: hidden;
    height: auto;
}

.listing-view-b .news_box_section .news_box .photo.landscape {
    aspect-ratio: 450 / 320;
}

.listing-view-b .news_box_section .news_box .photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.listing-view-c .student_list_item_wrapper {
    gap: 0px 40px;
}

.listing-view-c .student_list_item_wrapper>div {
    width: calc(33.33% - 80px / 3);
}

.listing-view-c .student_list_item {
    width: 100%;
}

.listing-view-c .student_list_item>.text {
    padding-left: 0px;
    padding-right: 0px;
    margin: 0px;
    border-left: 0px;
    padding-top: 30px;
    padding-bottom: 30px;
    border-top: 1px solid;
    border-color: var(--second-color);
}

.listing-view-c .student_list_item:hover * {
    color: var(--fourth-color);
}

.listing-view-c .filter_checkbox_wrapper {
    max-width: 70%;
}

.student_list_item>.text>.title {
    margin-top: 0;
}


/* Responsive */
/* Tablet */
@media only screen and (max-width: 1024px) {
    .listing-view-c .filter_checkbox_wrapper {
        max-width: unset;
    }
}

/* Mobile */
@media only screen and (max-width: 768px) { 
    .wp-block-index-programmes-listing-block .tab-item { 
        /*font-size: 16.5px; */
		/* font-size: 20px;  */
        font-size: calc(10px + 2vw); /* 20261021: UAT Comment - content font size shouldn't bigger than headings */
    }

    .layout-style-3.section_left_right_content2 .right_content::before {
        top: 0;
    }
}



/*
.t2.free_text span {
all: unset !important;
}

.t2.free_text em {
all: unset !important;
}
*/


/*
.t2.free_text ol {
  max-height: none !important;
  margin: revert !important;      
  padding-left: 40px !important;  
  line-height: normal !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
}

.t2.free_text li {
  max-height: none !important;
  margin: revert !important;
  padding: revert !important;
  font-size: inherit !important;
  position: static !important;
  text-align: left !important;
}
*/



.people_detail_section .row-wrapper .free_text span {
	all: unset !important;
}
.people_detail_section .row-wrapper .free_text em {
	all: unset !important;
}

.people_detail_section .row-wrapper .free_text ol {
	max-height: none !important;
  margin: revert !important;      
  padding-left: 40px !important;  
  line-height: normal !important;
  color: inherit !important;
  font-family: inherit !important;
  font-size: inherit !important;
}

.people_detail_section .row-wrapper .free_text li {
    max-height: none !important;
    margin: revert !important;
    padding: revert !important;
    font-size: inherit !important;
    position: static !important;
    text-align: left !important;
    letter-spacing: .25px;
    line-height: 160%;
}



.t2.free_text i {
  max-height: none !important;
}


.email_link {
	/* color :#414141 !important; */
	color :#414141; 
	text-decoration: none !important;
}

.email_link:hover, 
.email_link:active { 
	/* color :#6290E5 !important; */
    color: #6290E5; 
	text-decoration: none !important;
	opacity: 1 !important;
}

[lang='zh-HK'] .award-inner-page-menu .sibling-pages-menu { 
    display: flex; 
    flex-direction: row-reverse; 
}

[lang='zh-HK'] .award-inner-page-menu .sibling-pages-menu .sibling-page-item:first-child:after { 
    left: -25px; 
    right: unset; 
}