/* Page Background */
main {
    position: relative;
    z-index: 10;
    min-height: 700px;
}

body {
    position: relative;
}

body p {
    color: #414141;
    font-size: 16px;
}

.theme_bg_overlay {
    position: absolute;
    /* inset: -200px 0 0 0; */
    inset: 0px 0 0 0;
    overflow: hidden;
    /* height: calc(100% + 600px); */
    height: 100%;
}

.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); */
    height: 100%;
    /* padding-top: 200px; */
    padding-top: 0px;
}

.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: 35%;
    /* top: 1200px; */
    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: 550px;
    left: unset;
    right: 0;
    width: 35%;
}

.sub_theme_bg_2.homepage .img-wrapper {
    transform: scale(1.6) rotate(55deg) translate(30%, -5%);
}

.sub_theme_bg_3.homepage {
    top: 55%;
    left: unset;
    right: 0;
    width: 35%;
}

.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%);
}

.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%;
    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%;
    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;
}

.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_phone,
.contact_fax,
.contact_email {
    margin: 0 0 20px 0;
    padding: 0;
    position: relative;
}

.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);
}

a .research_title::after {
    background-image: url(images/link.svg);
    content: "";
    display: inline-block;
    margin-left: 10px;
    width: 18px;
    height: 18px;
    vertical-align: middle;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

#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: #414141;
    padding-bottom: 10px;
    border-bottom: 1px solid #414141;
}

#menu-main-menu .menu-item {
    white-space: unset;
}

/* Sub-menu styling */
.sub-menu {
    list-style: none;
    /* padding: 10px; */
    margin-top: 15px;
    /* background: #fff;
  border: 1px solid #ccc; */
}

/* 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: #414141;
    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: 25%;
    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;
    max-width: 1350px;
}

.arts-sub-theme .footer_menu_list>ul {
    display: flex;
    gap: 50px;
    justify-content: space-between;
    margin-top: 0;
}

.arts-sub-theme .footer_menu_list>ul>li {
    margin-top: 0;
    flex: auto;
}

.arts-sub-theme .footer_menu_list>ul .menu-item {
    white-space: normal;
}

.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);
}

.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 5px 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: #414141;
    /* 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_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);
    }

    .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: 80px;
}

.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: 3.2em;
}

.wp-block-index-heading-block .text0 {
    font-size: calc(12px + 3vw);
}

.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;
    aspect-ratio: 433.33 / 225.88
}

.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);
    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: 90%;
    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;
    }
}

.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: 50px 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 div.heading-text {
    width: 21%;
}

.wp-block-index-students-listing-block div.heading-text h2.text {
    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 div.heading-text,
    .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;
    }

    .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: 40.5px;
        height: 20px;
    }

    .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;
    background: linear-gradient(0deg, rgba(128, 178, 214, 0) 0%, rgba(128, 178, 214, 0.3) 100%);
}

@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;
}

.single_project_slider .slider-wrapper,
.committee_album_slider .slider-wrapper {
    position: relative;
    height: 60px;
}

.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);
}

.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%;
}

.people_detail_text .description>div span {
    margin-bottom: 5px;
}

.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; */
    padding: 4px 16px;
    border: 0px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

.pagination .page-numbers:not(.page-more):hover {
    /* background-color: #333;
    color: #fff; */
    background-color: #e7edff;
    color: #333;
    border-color: #333;
}

body .pagination .page-numbers.current {
    /* background-color: #333;
    color: #fff;
    border-color: #333; */
    background-color: #e7edff;
    color: #333;
    border-color: #333;
    border-radius: 10px;
}

.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;
    }

    .category-mobile-dropdown {
        display: block;
        position: relative;
    }
}

.alumni-table {
    width: 100%;
    border-collapse: collapse;
}

.alumni-list thead {
    color: #333333;
    /* font-size: 20px; */
    font-size: 16px;
}

.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;
}

.life-story-table, 
.course-table {
    width: 100%;
    border-collapse: collapse;
}

.alumni-table th,
.alumni-table>tbody>tr>td,
.life-story-table th,
.life-story-table td,
.course-table th,
.course-table td {
    padding: 20px 8px;
}

.alumni-table th,
.course-table th,
.life-story-table th {
    text-align: left;
    font-weight: bold;
    color: var(--second-color);
}

.life-story-list thead,
.course-list thead {
    color: #333333;
    /* font-size: 20px; */
    font-size: 16px;
}

.alumni-table>tbody,
.course-table tbody,
.life-story-table tbody {
    /* border-top: 1px solid #a9a9a9ff; */
    border-top: 1px solid var(--border-color);
}

.course-list tbody tr,
.course-table tbody tr,
.life-story-list tbody tr,
.life-story-table tbody tr {
    /* border-bottom: .5px solid #ddd; */
    border-bottom: 1px solid var(--border-color);
}

.course-list.green-edition thead,
.life-story-list.green-edition thead {
    color: #333333;
    /* font-size: 20px; */
    font-size: 16px;
}

.course-table.green-edition th,
.course-table.green-edition td,
.life-story-table.green-edition th,
.life-story-table.green-edition td {
    padding: 20px 8px;
}

.life-story-table.green-edition tbody {
    border-top: 0;
}
.course-table.green-edition tbody {
    border-top: 1px solid var(--second-color);
}

.life-story-list.green-edition tbody tr,
.life-story-table.green-edition tbody tr,
.course-list.green-edition tbody tr,
.course-table.green-edition tbody tr {
    border-bottom: 1px solid var(--second-color);
}

.life-story-group-list .life-story-group:not(:first-child),
.course-group-list .course-group:not(:first-child) {
    /* margin-top: 30px; */
}

/* .course-row.has-description {
    cursor: pointer;
} */

.life-story-row td,
.course-row td {
    position: relative;
}

.life-story-title,
.course-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.life-story-title a,
.course-title a {
    color: #45adb3;
    text-decoration: underline;
}

.life-story-title a:hover,
.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-publication-research-and-outputs-listing-block .student_list_item_wrapper {
    gap: 0px 40px;
}

.wp-block-lazyblock-publication-research-and-outputs-listing-block .student_list_item {
    width: 100%;
}

.wp-block-lazyblock-publication-research-and-outputs-listing-block .student_list_item_wrapper>div {
    width: calc(33.33% - 80px/3);
}

.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-publication-research-and-outputs-listing-block .student_list_item_wrapper {
        gap: 0px 20px;
    }

    .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); */
    width: 50%;
}

.news_box_section .news_box .photo {
    /* flex: 1 1 auto; */
    width: 50%;
}

.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: 50px;
}

.search-links-wrapper .inner-wrapper {
    display: flex;
    gap: 100px;
    padding-top: 60px;
    border-top: 1px solid #A2A2A2;
}

.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;
}

.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;
}

.wp-block-lazyblock-people-listing-block .list_item_row,
.wp-block-lazyblock-staff-listing-block .list_item_row {
    display: flex;
}

.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;
}

.wp-block-lazyblock-people-listing-block .mobile-label,
.wp-block-lazyblock-staff-listing-block .mobile-label {
    display: none;
}

.wp-block-lazyblock-staff-listing-block .list_item_col+.list_item_col:last-child>div {
    padding-left: 0;
}

@media (max-width: 1024px) {

    .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;
    }

    .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) {

    .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-listing-block .list_item_row.list_item_header_row,
    .wp-block-lazyblock-staff-listing-block .list_item_row.list_item_header_row {
        display: none;
    }

    .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;
    }

    .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-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);
    }

    .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;
    }

    .wp-block-lazyblock-people-listing-block .mobile-label,
    .wp-block-lazyblock-staff-listing-block .mobile-label {
        display: block;
        width: 100%;
    }

    .wp-block-lazyblock-people-listing-block .right_text,
    .wp-block-lazyblock-staff-listing-block .right_text {
        text-align: left;
    }

    /* }

@media (max-width: 500px) { */

    .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;
    }

    .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;
    }
}

.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 .no-border-bottom .row-item {
    border-bottom: none;
}

.single-staff .no-border-bottom .row-item .text-area {
    /* white-space: nowrap; */
}

.single-staff .teaching-wrapper .row-item>.label {
    width: 10%;
    min-width: 80px;
}

.single-staff .row-item>.label,
.single-people .row-item>.label {
    /* width: 15%; */
    width: auto;
}

.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;
}

.single-staff .row-item .text-title.text-area {
    font-size: 19.1px;
    font-family: "richmond-text", "Chiron Sung HK WS", serif !important;
}

.single-staff .row-item .text-subtitle.text-area {
    font-size: 16px;
    font-family: 'area-normal', sans-serif !important;
}

.single-staff .row-item .free_text p {
    font-size: 16px;
}

.single-staff .row-item {
    border-bottom: none !important;
}

@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: 480px) {

    .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 15px;
    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-news-and-events-listing .round_btn_wrapper .round_btn:hover {
    color: #FFFFFF;
    background-color: var(--fourth-color);   
}

.wp-block-lazyblock-index-news-and-events-listing .round_btn_wrapper .round_btn,
.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: 80%;
    min-width: 680px;
    margin-top: 50px;
    margin-left: auto;
}

@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;
}

.wp-block-lazyblock-staff-listing-block .student_list_item>.text>.email {
    font-size: 14px;
    white-space: unset;
}

.filter_dropdown_wrapper .filter_dropdown ul li.parent-item a {
    font-weight: bold;
    margin-bottom: 10px;
}

.video-gallery-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.video-gallery-list iframe {
    aspect-ratio: 16 / 9;
    width: 100%;
    border: none;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 40px;
    flex-wrap: wrap;
}

body .pagination .page-numbers {
    /* padding: 8px 12px;
    border: 1px solid #ddd; */
    padding: 4px 16px;
    border: 0px;
    border-radius: 10px;
    text-decoration: none;
    color: #333;
    transition: all 0.3s ease;
}

body .pagination .page-numbers:hover {
    /* background-color: #333;
    color: #fff; */
    background-color: #e7edff;
    color: #333;
    border-color: #333;
}

body .pagination .page-numbers.current {
    /* background-color: #333;
    color: #fff; */
    background-color: #e7edff;
    color: #333;
    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-item {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
}

.free_text .table-bg.table-dark,
.free_text .table-bg.table-dark th,
.free_text .table-bg.table-dark tbody td,
.free_text .table-bg.table-dark tbody tr+tr td {
    border-color: var(--second-color);
}

.section_expandable_list .free_text .table-bg.table-dark tbody td+td, .table_flex_item .free_text tbody td+td {
    border-left: 2px solid var(--second-color);
}

.page-numbers .btn-arrow {
    border: solid black;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 4px;
    margin-bottom: 2px;
}

.next.page-numbers .btn-arrow {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    margin-left: 8px;
}

.prev.page-numbers .btn-arrow {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    margin-right: 8px;
}

@media screen and (max-width: 1023px) {
    .video-gallery-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }
}

@media (max-width: 768px) {
    .video-gallery-list {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 40px;
    }

    .alphabet_list_wrapper.big_alphabet_list_wrapper {
        display: none;
    }

    .category-mobile-dropdown {
        display: block;
        position: relative;
    }
}

.people_detail_text .administrative_post {
    margin-top: 20px;
}

.text-second {
    color: var(--second-color);
}

h5.style-normal {
    font-family: 'area-normal';
}

.wp-block-lazyblock-staff-listing-block .alphabet_list_wrapper .alphabet_list a.active {
    /* color: #009d9d; */
    color: #d06555;
}

.wp-block-lazyblock-staff-listing-block .alphabet_list_wrapper .alphabet_list a.active::after {
    border-color: #d06555;
}

.wp-block-lazyblock-staff-listing-block .alphabet_list_wrapper .alphabet_list a {
    color: #000000;
}

input::placeholder {
    color: #353535;
}

.wp-block-lazyblock-inner-page-menu-block ul.sibling-pages-menu {
    flex-wrap: wrap;
}

.wp-block-lazyblock-inner-page-menu-block ul.sibling-pages-menu li.sibling-page-item {
    white-space: nowrap;
}

.filter_dropdown_wrapper {
    padding: 5px 10px;
    /* border: 1px solid #6f6ea6; */
    border: unset;
    cursor: pointer;
    position: relative;
    background-color: unset;
    border-color: var(--second-color);
}

.filter_dropdown_wrapper .filter_dropdown_btn {
    font-weight: unset;
    border: .5px solid var(--second-color);
    padding: 5px 30px 5px 10px;
}
.filter_dropdown_wrapper .filter_dropdown {
    left: 0px;
    border-width: 1px;
    border-style: solid;
    border-image: initial;
    border-color: var(--second-color);
    padding: 0px;
    z-index: 10;
}

.filter_dropdown_wrapper .filter_dropdown ul a {
    padding: 10px 10px 0 10px;
}

.filter_dropdown_wrapper .filter_dropdown ul {
    padding-bottom: 10px;
}

.filter_dropdown_wrapper .filter_dropdown ul a {
    white-space: pre-line;
}

@media screen and (max-width: 768px) {
    .section_search_bar .section_center_content {
        flex-direction: column;
        gap: 10px;
    }
    .section_search_bar .section_center_content .filter_dropdown_wrapper.right_filter_dropdown_wrapper {
        margin-left:0;
    }
}

.col-20p {
    width: 20%;
}

.scheme_group_expandable_item .hidden_content .free_text p {
    overflow-x: hidden;
    overflow-wrap: anywhere;
}

.filter_dropdown_wrapper .filter_dropdown ul a.nowrap {
    white-space: nowrap;
}

.pt-0 {
    padding-top: 0px !important; 
}

.pt-4-percent {
    padding-top: 4% !important; 
}

.text-bold {
    font-weight: bold;
}

.wp-block-index-stories-listing-block .swiper-slide .content p {
    margin-top: 100px !important;
}

.wp-block-lazyblock-index-bookshelf-listing-block .swiper-slide .bookshelf-item img {
    /* bottom shadow */
    box-shadow: 5px 5px 10px rgba(0, 0, 0, .3);
}

/* .wp-block-lazyblock-index-what-our-students-say-block .swiper-slide .text-wrapper .content {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;   
    transition: all 0.3s ease; 
}

.wp-block-lazyblock-index-what-our-students-say-block .swiper-slide .text-wrapper .content:hover {
    -webkit-line-clamp: unset;
} */

.wp-block-lazyblock-index-what-our-students-say-block .swiper-slide .text-wrapper {
    /* Allow setting height via JS to smoothly transition */
    overflow: hidden;
    transition: height 0.4s ease-in-out;
}
.wp-block-lazyblock-index-what-our-students-say-block .swiper-slide .text-wrapper .title {
    min-height: 60px;
}

.wp-block-lazyblock-index-what-our-students-say-block .swiper-slide .text-wrapper .content {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;   
    /* Remove transition here to let text-wrapper handle the sizing */
}

/* Ensure the full text displays when the wrapper expands */
.wp-block-lazyblock-index-what-our-students-say-block .swiper-slide .text-wrapper:hover .content {
    -webkit-line-clamp: unset;
}

.wp-block-lazyblock-index-what-our-students-say-block .swiper-wrapper {
    height: 100% !important;
}

.wp-block-lazyblock-inner-page-menu-block {
    margin-bottom: 50px;
}

.text-area {
    font-family: 'area-normal' !important;
}

.ml-50 {
    margin-left: 50px !important;
}

.wp-block-lazyblock-heading-block.heading-m-px .section.section_content {
    padding-top: 50px;
    padding-bottom: 50px;
}

.wp-block-lazyblock-heading-block.heading-none-px .section.section_content {
    padding-top: 0;
    padding-bottom: 0;
}

.wp-block-lazyblock-text-block.flexible_layout-mt-0 .flexible_layout {
    margin-top: 0;
}

.sibling-pages-menu-mt-0 .sibling-pages-menu {
    margin-top: 0;
}

.people_detail_section .people_detail_incontent.green-edition::before {
    background: linear-gradient(180deg, var(--background-gradient-1) 0%, rgba(195, 217, 194, 0) 25%);
}

@media screen and (max-width: 1023px) {
    .people_detail_section .people_detail_incontent::before {
        top: -20px;
    }
}

/* unset all */
.filter_dropdown .sibling-page-item:not(:last-child)::after {
    content: none;
}

.filter_dropdown_wrapper.filter_dropdown_wrapper_min_200 {
    min-width: 200px;
}

.filter_dropdown_wrapper.filter_dropdown_wrapper_min_200 .filter_dropdown_btn {
    text-align: right;
}

@media screen and (max-width: 768px) {
    .filter_dropdown_wrapper.filter_dropdown_wrapper_min_200 {
        min-width: unset;
    }

    .filter_dropdown_wrapper.filter_dropdown_wrapper_min_200 .filter_dropdown_btn {
        text-align: left;
    }
    .filter_dropdown_wrapper.filter_dropdown_wrapper_min_200 .filter_dropdown {
        min-width: 80vw;
    }
}

/* font standard */
.wp-block-index-news-and-events-listing-block .slider-index-news-events-2 .swiper-slide .content .title {
    font-size: 16px;
}

.free_text a.arrow-link, .link.arrow-link {
    font-size: 16px;
}

.text-standard {
    font-size: 16px;
    line-height: 1.5;
}

.people_detail_text .t1 {
    color: var(--second-color);
}

.mt-50 { margin-top: 50px;}
.mt-60 { margin-top: 60px;}

.news_box_section .news_box .date_wrapper {
    color: #31526D;
}

.news_box_section .news_box .title {
    font-weight: 600;
    color: #31526D;
}

.news_box .round_btn {
    border: 1px #31526D solid;
    color: #31526D;
}

.news_box .round_btn:hover {
    border: 1px #31526D solid;
    background-color: #31526D;
}

.news_box_section .col_spacing {
    border-top: 1px solid #31526D;
}

a.staff-project-link {
    font-size: 15.48px;
}

.single_project_slider,
.single_project_slider .swiper,
.single_project_slider .swiper-container {
width: 100%;
max-width: 100%;
overflow: hidden;
}

.single_project_slider .swiper-wrapper {
width: 100%;
}

.single_project_slider .swiper-slide {
width: 100% !important;
flex: 0 0 100% !important;
}

.single_project_slider .swiper-slide img {
display: block;
width: 100%;
height: auto;
}

/* update at 20260622 */
.roll_bottom_menu .menu-item .a_wrapper a:hover, .roll_bottom_menu .menu-item .a_wrapper a.active {
    border-bottom: 1px solid #31526d !important;
    color: #31526d !important;
}

.free_text table.min-width-768 {
    min-width: 768px;
}

.free_text table.min-width-1024 {
    min-width: 1024px;
}

@media screen and (max-width: 768px) {
    .free_text table.min-width-768 {
        min-width: unset;
    }
    /* table should overflow */
    .free_text table.min-width-768 {
        overflow-x: auto;
        display: block;
    }
}


@media screen and (max-width: 1024px) {
    .free_text table.min-width-1024 {
        min-width: unset;
    }
    /* table should overflow */
    .free_text table.min-width-1024 {
        overflow-x: auto;
        display: block;
    }
}


/* people two col table */
.free_text table.people-2-col-table.table-bg,
.free_text table.people-2-col-table.table-bg tbody tr,
.free_text table.people-2-col-table.table-bg tbody tr td,
.free_text table.people-2-col-table.table-bg thead tr,
.free_text table.people-2-col-table.table-bg thead tr th {
    border: none;
}

.free_text table.people-2-col-table.table-bg {
    table-layout: auto !important;
}

.free_text table.people-2-col-table.table-bg tbody tr td,
.free_text table.people-2-col-table.table-bg thead tr th {
    width: auto !important;
    background-color: unset !important;
}

.free_text .row-item>.free_text {
    width: 100%;
}

.free_text table.people-2-col-table.table-bg tbody tr td:first-child ,
.free_text table.people-2-col-table.table-bg thead tr th:first-child  {
    font-size: 16px;
    font-family: "area-normal", "Chiron Sung HK WS", serif !important;
    font-weight: normal;
    color: var(--second-color);
    padding: 0 50px 50px 0;
}

.free_text table.people-2-col-table.table-bg tbody tr td:not(:first-child) ,
.free_text table.people-2-col-table.table-bg thead tr th:not(:first-child)  {
    font-size: 16px;
    font-family: "area-normal", "Chiron Sung HK WS", serif !important;
    color: #414141;
    padding: 0 0 50px 0;
}

.free_text table.people-2-col-table.table-bg tbody tr td:first-child ,
.free_text table.people-2-col-table.table-bg thead tr th:first-child  {
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
}

.mce-content-body table.people-2-col-table.table-bg,
.mce-content-body table.people-2-col-table.table-bg tbody tr,
.mce-content-body table.people-2-col-table.table-bg tbody tr td,
.mce-content-body table.people-2-col-table.table-bg thead tr,
.mce-content-body table.people-2-col-table.table-bg thead tr th {
    border: none;
}

.mce-content-body table.people-2-col-table.table-bg {
    table-layout: auto !important;
}

.mce-content-body table.people-2-col-table.table-bg tbody tr td,
.mce-content-body table.people-2-col-table.table-bg thead tr th {
    width: auto !important;
    background-color: unset !important;
}

.mce-content-body .row-item>.mce-content-body {
    width: 100%;
}

.mce-content-body table.people-2-col-table.table-bg tbody tr td:first-child ,
.mce-content-body table.people-2-col-table.table-bg thead tr th:first-child  {
    font-size: 16px;
    font-family: "area-normal", "Chiron Sung HK WS", serif !important;
    font-weight: normal;
    color: var(--second-color);
    padding: 0 50px 50px 0;
}

.mce-content-body table.people-2-col-table.table-bg tbody tr td:not(:first-child) ,
.mce-content-body table.people-2-col-table.table-bg thead tr th:not(:first-child)  {
    font-size: 16px;
    font-family: "area-normal", "Chiron Sung HK WS", serif !important;
    color: #414141;
    padding: 0 0 50px 0;
}

.mce-content-body table.people-2-col-table.table-bg tbody tr td:first-child ,
.mce-content-body table.people-2-col-table.table-bg thead tr th:first-child  {
    width: 190px !important;
    min-width: 190px !important;
    max-width: 190px !important;
}

.wp-block-lazyblock-news-listing-block .section.section_search_bar {
    z-index: -1;
}
@media screen and (min-width: 1024px) {
    .wp-block-lazyblock-index-video-block {
        position: relative;
        height: calc(100vh - 100px); /* Replace '100px' with your actual header height */
        min-height: calc(100vh - 100px); /* Optional: Use min-height if you want it to expand if content is taller */
    }

    .wp-block-index-heading-block {
        position: absolute;
        top: 225px; /* Adjust this to match its original vertical position */
        left: 50px; /* Adjust this to match its original horizontal position */
        z-index: 10; /* Ensures it stays on top of the video block */
    }
    .wp-block-index-heading-block h1{
        width: 100vw;
    }
    .home_top_section{
    	padding:0;
    }
}