/* iPhone 6 plus width */
@media screen and (min-width: 1440px) {
    .listLeft {
        width: 92% !important;
    }

    .VPContainerBG {
        width: 210% !important;
        margin-left: -23vw;
    }
}

@media screen and (max-width: 1680px) {
    #news-section>.watermark_couplet1 {
        left: 0px;
    }

    #news-section>.watermark_couplet2 {
        right: 0px;
    }
}

@media screen and (max-width: 736px) {

    button.tagBtn,
    .tabBtn {
        font-size: 4vw;
    }

    .accordion-button::after {
        width: 4vw !important;
        height: 4vw !important;
        background-size: 4vw !important;
    }

}

@media (min-width: 1200px) {
    .navbar-collapse.collapse {
        display: block !important;
        height: auto !important;
        padding-bottom: 0;
        overflow: visible !important;
    }
}


@media screen and (max-width: 980px) {

    .news_date2 {
        font-size: 1.5vw;
    }

    .news_title2 {
        font-size: 2vw;
    }

    .news_content {
        font-size: 1.8vw;
        -webkit-line-clamp: 4;

    }

    .gray_line {
        height: 40px;
    }

    .button_next {
        opacity: 0.5;
    }

    .button_prev {
        opacity: 0.5;
    }

    .news_date {
        top: 65%;
    }

    .news_title {
        top: 80%;
        font-size: 2vw;

    }



    .color_blk {
        /* margin-top: 33px; */
        width: 80%;
        height: 52px;
        background: var(--unnamed-color-00adb4) 0% 0% no-repeat padding-box;
        /* background: #00ADB4 0% 0% no-repeat padding-box; */
        opacity: 1;
    }

    .latest_news {
        background: url('../images/new/cthw/bg_1.png');
        /* text-align: -webkit-center; */
        background-size: cover;
        /*height: 600px;*/
    }

    .latest_news>.latest_news_area {
        height: 50%;
        display: flex;
        /*justify-content: space-between;*/
        flex-wrap: nowrap;

        /* display: flex;
        flex-wrap: wrap;
        max-width: 1400px;
        margin: 10px auto;
        height: 100%; */
    }




    .news_block {
        display: none;
    }

    .news_block_mobile {
        display: block;
        position: relative;
        height: 100%;
        width: 100%;
    }

    .VPContainerBG {
        top: 51% !important;
    }

    .subMainMenuBtn {
        left: 52%;
    }

    .overlay {
        font-size: 3vw !important;
    }

    .containerBTN-meetteam img {
        width: 36vw !important;
    }

    .footer-left {
        padding-left: 0px !important;
    }

    .footer-right {
        padding-left: 0px;
        width: 100%;
    }

    #MenuSchoolLogo {
        top: 35%;
        left: 25%;
    }

    .historySwiper-button-prev {
        margin: 0px 12px 0 auto !important;
        display: block !important;
    }

    .historySwiper-button-next {
        margin: 0 auto 0 12px !important;
        display: block !important;
    }

    .swiper_history {
        animation-name: none;
        animation-delay: none;
        animation-duration: none;
        animation-fill-mode: none;
        animation: none;
    }

    body {
        /* overflow-y: hidden; */
    }

    .home_page_section .sub_sect {
        width: 100%;
        position: relative;
    }

    .photo-container-section {
        aspect-ratio: 1/1;
    }

    .subpageBanner {
        height: 335px !important;
        aspect-ratio: initial;
    }

    .home_page_section .sch_logo {
        width: 55%;
        height: auto;
        left: 30% !important;
        top: 9px;
        transform: translateX(-50%);
    }

    .home_page_section .arrow_down {
        display: none;
    }

    .photo_display_area .contentName {
        bottom: 46px;
    }

    .photo_display_area .contentNameSubPageSec {
        bottom: 46px;
    }

    .section-copyright .footer-top {
        width: 100%;
        display: block;
    }

    .menu_list {
        left: 50%;
        font-size: 20px;
    }

    /* .abUS{
        left: 50%;
    }
    .abUS2{
        left: 70%;
    } */
    .acad {
        left: 50%;
    }

    .acad2 {
        left: 70%;
        line-height: 42px;
    }

    .stuDevelop {
        left: 50%;
    }

    .newsEvent {
        left: 50%;
    }

    .admis {
        left: 50%;
    }

    .gal {
        left: 50%;
    }

    .section-copyright {
        height: auto !important;
    }

    .fb_img {}

    .whole_fb_page {
        grid-template-columns: 100%;
        padding:20px;
        grid-gap: 20px;
    }
    .section-copyright .footer-top>.left {
        position: relative;
        width: 100%;
        height: initial;
    }

    .section-copyright .footer-top>.right {
        /* position: relative; */
        width: 100%;
        height: auto;
        position: initial;
        justify-content: center;
        display: flex;
        gap: 8px;
        font-size: 12px;
        /* margin-top: 5px; */
    }
    .section-copyright .footer-top>.left>.copyright-footer-text {
        position: initial;
        transform: translateY(0px);
        padding-right: 0;
        padding-left: 0;
        padding-top: 35px !important;
        font-size: 12px;
        margin-top: 0px !important;
    }

    /** Four button area */
    #fourbtn-section>.watermark {
        width: auto;
        height: 25.5%;
        position: absolute;
        top: 25px;
        right: 17px;
        left: unset;
    }

    .fourbtn-area {
        display: block;
        padding: 0;
    }

    .fourbtn-area>.btns-area {
        grid-template-rows: 49.5% 49.5%;
        grid-template-columns: 49.5% 49.5%;
        gap: 1%;
        margin-bottom: 13px;
    }

    .fourbtn-area>.text-area>.text-title {
        padding: 91px 0 0 0;
        margin: 0px 45px 35px 45px;
        line-height: 1.33;
        font: normal normal bold 26px/30px "Raleway_bold";
    }

    .fourbtn-area>.text-area>.text-content {
        margin: 35px 45px 42px 45px;
        /* font: normal normal medium 14px/20px "Raleway_medium"; */
        font-size: 16px;
        font-family: "Raleway_medium";
    }

    .fourbtn-area>.text-area>.text-line {
        width: auto;
        height: 3px;
        background-color: #B72126;
        margin: 0 45px 48px 45px;
    }

    .fourbtn-area>.text-area>.text-see-more {
        width: fit-content;
        padding: 9px 20px 12px 20px;
        font-size: 14px;
        background-color: #B49643;
        font-family: "Raleway_medium";
        color: white;
        margin: 0px auto 35px auto;
        height: 40px;
    }

    .fourbtn-area>.btns-area>.item>.label {
        font-size: 5vw;
    }

    .fourbtn-area>.btns-area>.item>.label>.line {
        top: calc(42% + 20px);
    }

    /* Join us */
    #joinus-section {
        height: 292px;
    }

    .joinus-section>.text-area>.text-title {
        font-size: 22px;
        margin-bottom: 20px;
    }

    .joinus-section>.text-area>.text-content {
        font-size: 16px;
        margin-bottom: 12px;
        line-height: 1.2;
    }

    .joinus-section>.text-area>.text-see-more {
        font-size: 14px;
        padding: 8px 13.5px;
    }

    .swiper_history {
        width: 100% !important;
    }

    .joinus-section>.text-area {
        width: 75%;
    }

    /* News */
    #news-section {
        /*padding-top: 150px;*/
        /* padding-bottom: 94px; */
    }

    #news-section>.watermark {
        width: 100%;
    }

    .news-title>.line {
        display: none;
    }

    .news-area {
        padding-top: 0px;
        grid-template-columns: 90%;
        grid-template-rows: max-content;
    }

    .news-section>.news-area {
        margin-top: 90px;
        margin-bottom: 85px;
        gap: 53px;
        margin-left: -15px;
    }

    .news-section>.news-area>.text-see-more {
        margin-top: 40px;
    }

    .index_news.text-see-more {
        margin-top: 40px;
    }

    #news-section>.watermark_couplet1 {
        width: auto;
        height: 200px;
        position: absolute;
        bottom: 20px;
        left: unset;
        right: 50px;
    }

    #news-section>.watermark_couplet2 {
        width: auto;
        height: 200px;
        position: absolute;
        bottom: 20px;
        right: 0px;
    }

    .news-section>.news-area>.news-item {
        aspect-ratio: 527/410;
    }

    .news-section>.news-area>.news-item>.thumbnail {
        width: 93%;
        right: -10px;
        bottom: 19px;
        height: initial;
        aspect-ratio: 474/263;
    }

    .news-section>.news-area>.news-item>.thumbnail-shadow {
        width: 93%;
        right: 13px;
        height: initial;
        aspect-ratio: 474/263;
    }

    .news-section>.news-area>.news-item>.title {
        padding-right: 20px;
        right: 0;
        left: 14%;
        top: 0%;
        /*font-size: 2vw;*/
        width: 85%;
        line-height: 1.2;
        font: normal normal bold 14px/16px;
        /*font-size: 2vw; */
    }

    .news-section>.news-area>.news-item>.title>.see-more {}

    .news-section>.news-area>.text-see-more>div {
        right: 50%;
        transform: translateX(50%);
        font-size: 14px;
        height: 40px;
        padding: 9px 20px 12px 20px;
    }

    .index_news.text-see-more>div {
        right: 50%;
        transform: translateX(50%);
        font-size: 14px;
        height: 40px;
        padding: 9px 20px 12px 20px;
    }

    .news-section>.news-area>.news-item>.line-brown {
        left: 7%;
    }

    .news-section>.news-area>.news-item:nth-child(even) {
        top: 0;
    }

    .news-section>.news-area>.news-item>.date-area {
        width: 16%;
    }

    .news-title>.text {
        width: 100%;
        text-align: center;
        transform: none;
        bottom: -35%;
        right: 0;
        position: relative;
        font: normal normal normal 30px/58px FatRoundBody;
    }

    .news-section>.news-area>.news-item>.date-area>.day-text {
        font-size: 6vw;
    }

    .news-section>.news-area>.news-item>.date-area>.month-text {
        font-size: 3vw;
        bottom: 10%;
        transform: translateX(50%);
    }

    /* History */
    #history-section {
        height: auto !important;
        padding-bottom: 42px;
    }

    #history-section>.watermark {
        width: 100%;
    }

    #history-section>.content_left {
        display: none;
    }

    #history-section>.content_right {
        width: 100%;
        height: 100%;
        position: initial;
        margin-top: -76px;
        word-spacing: 5px;
        font: normal normal normal 14px/18px Raleway;
    }

    #history-section>.content_right>.text {
        margin: 74.27px 50.89px 17.56px 60px;
        width: auto;
        position: initial;
        line-height: 1.4;
        /*font-size: 3vw;*/
        font-size: 16px;
    }

    #history-section>.our_history {
        position: initial;
        text-align: center;
        margin-top: 145.32999999999998px;
        margin-bottom: 28.55px;
        font-size: 10vw;
    }

    #history-section>.learn_more {
        position: initial;
        text-align: center;
        font-size: 13px;
        margin-top: -58px;
    }

    #history-section>.extend {
        display: none;
    }

    #history-section>.left_right_button {
        display: block;
    }

    .line_before {
        border: 6px solid white;
    }

    .line_after {
        border: 6px solid #5E7868;
    }

    .history-div {
        height: 114px !important;
    }

    .swiper-slide-active {
        width: 100% !important;
    }

    .swiper-slide-active>.year {
        top: 31px !important;
        font-size: 6vw !important;
    }

    .swiper-slide-active>.point {
        width: 26.67px !important;
        height: 26.67px !important;
        border: 3.33px solid white !important;
        bottom: 10px !important;
    }

    .swiper-slide-active>.line_ver {
        height: 17.22px;
        bottom: 36px;
    }

    /* Faith */
    #faith-section {
        height: auto;
        text-align: center;
        padding: 19px 0;
    }

    .faith-area>div>.title {
        margin-left: 7.55px;
        font-size: 19px;
    }

    .faith-area>.arrow {
        display: none;
    }

    .faith-area>.content {
        font-size: 14px;
        font-family: "Raleway_italic";
        color: #023B18;
        align-self: center;
        /*bottom: 50%;*/
        /*transform: translateY(80%);*/
        position: relative;
    }

    .faith-area {
        position: relative;
        grid-template-columns: 75%;
        /*gap: 0;*/
        place-content: center;
        bottom: unset;
        transform: translateX(50%);
    }

    .langArea {
        margin: 10px 32px 0px 24px;
        font-size: 16px;
    }

    .year_select_item label {
        top: 4px;
    }

    .search-field {
        height: 40px;
        max-height: 40px;
        min-width: 440px !important;
        width: 440px !important;
        padding-left: 48px !important;
    }

    .youtube-desc {
        position: relative;
        top: 12%;
        display: none;
    }

    .totop_img {
        width: 58px;
        bottom: -16px;
        /* right: -8px; */
    }

    #item_mobile {
        border-top: 1px solid #dbdbdb;
        height: 100%;
        display: flex;
        width: 100%
    }

    .fixedbtn-section {
        width: 65px;
        height: 65px;
    }

    .fixedbtn-section img {
        width: 20%;
        left: 40%;
        top: 45%;
    }

    .fixedbtn2 {
        margin-top: 73px;
    }

    .fixedbtn3 {
        margin-top: 146px;
    }

    .fixedtext {
        top: 22px;
    }

    .news mobile-only {
        display: block;
    }

    .tabContent_back {
        margin: 30px 32px;
    }

    .subpage_title_album {
        margin: 44px 30px;
    }

    .tabContent_title,
    .subpage_title {
        margin: 44px 0px;
    }

    .news-list-item {
        margin: 0px auto;
    }

    .back_blue {
        /* margin-left: 32px; */
    }

    .news non-Mobile {
        display: none;
    }

    .video_popup_video,
    .iframe_popup_iframe {
        width: 85%;
        height: initial;
    }

    .whatup_img {
        width: 40px;
    }

    .whatup_title {
        font-size: 30px;
        height: 48px;
        padding: 24px 0 0 0;
    }

    .news_left_area {
        margin: 24px 24px 24px 24px;
    }

    .gallery_text {
        margin: 24px 24px 0 24px;
    }

    .event_photo_slider ul {
        width: 75%;
    }

    .menu_search {
        margin-left: 20px;
        margin-bottom: 60px;
    }

    .menu_search label {
        position: absolute;
        width: 100%;
    }

    .menu_btn .menu_text {
        font: normal normal bold 1.4vw/21px "Raleway_bold";
    }

    .search-field {
        /* text-align: right !important; */
    }

    .menu_submit {
        position: relative;
        top: 4px;
        right: unset;
        left: -12px;
        margin: 12px;
    }

    .details-section>.left {
        grid-template-columns: 220px 220px 220px;
        height: 220px;
        gap: 15px 25px;
    }

    .details_item {
        width: 220px;
    }

    .detail-block-icon img {
        width: 70px;
    }

    .details-desc {
        font-size: 18px;
    }

    .youtube-desc-mobile {
        display: block;
    }

    .n_news-icon {
        width: 100%;
        height: 100%;
        top: 25px;
    }

    .news-info {
        font-size: 18px;
        display: inline-block;
    }

    .news-day {
        margin: 0 10px;
        font-size: 18px;
        display: inline-block;
    }

    .news-view-label {
        display: inline-block;
        font-size: 18px;
    }

    .n_news_upper {
        display: grid;
        grid-template-columns: 10% 90%;
    }

    .n_news_lower {
        display: grid;
        grid-template-columns: 10% 30% 60%;
    }

    #container {
        margin-top: 0;
    }

    .cat_1 .subPage-content,
    .cat_1 button.tagBtn {
        border-color: transparent;
    }

    .cat_2 .subPage-content,
    .cat_2 button.tagBtn {
        border-color: transparent;
    }

    .cat_3 .subPage-content,
    .cat_3 button.tagBtn {
        border-color: transparent;
    }

    .cat_4 .subPage-content,
    .cat_4 button.tagBtn {
        border-color: transparent;
    }

    .cat_5 .subPage-content,
    .cat_5 button.tagBtn {
        border-color: transparent;
    }

    .cat_6 .subPage-content,
    .cat_6 button.tagBtn {
        border-color: transparent;
    }

    .cat_6 .subPage-content,
    .cat_7 button.tagBtn {
        border-color: transparent;
    }

    .sub {
        position: relative;
    }

    m_menu .sub_arrow_area .arrow-icon {
        content: url(../images/new/arrow.svg);
    }

    .subsub {
        padding: 10px 0 10px 130px !important;
    }

    .sub_arrow_area {
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        transform: translateX(-200%);
        display: flex;
    }

    #sider1.photo_sider .controlBtnGtp {
        position: static;
    }

    .buttons-area {
        display: flex;
        padding: 8px;
        margin: 0 auto;
    }

    .last-contain-btns1 {
        background-color: transparent;
        height: 100%;
        padding: 0% 0% 1% 0%;
        margin: 0 0 0 auto;
        display: grid;
        grid-template-rows: 33.3% 33.3% 33.3%;
        grid-template-columns: max-content max-content max-content;
    }

    .last-contain-btns2 {
        background-color: transparent;
        height: 100%;
        padding: 0% 0% 1% 0%;
        display: grid;
        grid-template-rows: 50% 50%;
        grid-template-columns: max-content max-content max-content;
        margin: 0 auto 0 0;
    }

    .last-contain-outranet-login {
        grid-row: 2;
        position: relative;
    }

    .login-form {
        position: absolute;
        width: 100%;
        bottom: 0;
    }

    .last-contain-outranet-content {
        grid-template-rows: 50% auto;
    }

    .last-contain {
        grid-template-rows: 50% 50%;
        grid-template-columns: none;
        display: grid;
        height: 100%;
        width: 100%;
    }

    .last-contain-outranet-img {
        width: 140px;
        bottom: 0;
    }

    .outranet-login-input-container {
        width: 40%;
        margin: 4px auto;
        height: 32px;
    }

    .outranet-login-button-container {
        width: 40%;
        margin: 34px auto;
        height: 32px;
    }

    .outranet-login-icon {
        position: relative;
        left: 8px;
        top: 30px;
    }

    input {
        border: 3px solid #e5e5e5;
        padding: 2px 10px;
        font-size: 19px;
        border-radius: 0;
        color: #404040;
        margin: 8px 0px;
        display: block;
        outline: none;
        width: 100%;
        height: 100%;
    }

    .folder {
        margin: 0;
        box-shadow: 0px 0px 3px #C3C3C3;
    }

    .folder_grid_news {
        grid-template-rows: 50% 50%;
        grid-template-columns: 49% 49%;
        display: grid;
        grid-column-gap: 10px;
        grid-row-gap: 8px;
    }

    .topbg {
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        transform: translate(0, -10%);
        object-fit: cover;
        object-position: 66%;
    }

    .non-Mobile {
        display: none;
    }

    .mobile-only {
        display: flex;
    }

    .main-contain {
        width: 100%;
        height: 95%;
        margin: 140px 0;
    }

    .main-bg {
        object-fit: cover;
        object-position: 76%;
        height: 100%;
        /* bottom: 0; */
        margin-bottom: 150%;
        position: absolute;
    }

    .main-bg-mobile {
        /* background: url(../images/new/bg.png) repeat; */
        width: 100%;
        /* background-size: 117% 100%; */
        overflow: hidden;
        background-size: cover;
        background-position: center;
        position: relative;
    }

    .main-contain-inner {
        text-align: -webkit-center;
        height: 100%;
        margin: 58px 0;
        display: block;
    }

    .main-contain-inner-item {
        margin-top: 48px;
        height: 80%;
        display: block;
        position: relative;
    }

    .main-contain-inner-item-b {
        margin-top: 30px;
        height: 92%;
        grid-template-columns: 45% 55%;
        display: grid;
        position: relative;
    }

    .main-contain-inner-item-bg {
        background-color: #3AD36E;
        margin: 60px 0;
    }

    .main-contain-color-bg {
        width: 100%;
        height: 400px;
        position: relative;
        bottom: 0;
        top: 0;
        margin-top: auto;
        margin-bottom: auto;
        background: #3AD36E;
        box-shadow: 2px 2px 2px 1px rgb(0 0 0 / 20%);
    }

    .main-contain-frame-a {
        background: url(../images/new/frame_a.png);
        height: 23%;
        background-size: 100% 100%;
        width: 85%;
        margin: 20px 0 1px 0;
        position: initial;
    }

    .main-contain-frame-b {
        height: 21%;
        background-size: 100% 100%;
        width: 85%;
        margin: 20px 0 1px 0;
        position: relative;
    }

    .frame_a_more {
        position: absolute;
        background-color: #2E9380;
        border-radius: 8px;
        box-shadow: 2px 2px 2px -1.5px rgb(0 0 0 / 20%);
        padding: 18px 26px;
        bottom: -24px;
        border: 0;
        margin: 0 auto;
        height: 64px;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -40%);
    }

    .main-contain-frame-a-mob {
        background: url(../images/new/frame_a.png);
        height: 120%;
        background-size: 100% 100%;
        width: 80%;
        position: relative;
        margin: 0 auto 0 auto;
    }

    .main-contain-frame-a-mob:after {
        content: "";
        display: block;
        padding-bottom: 100%;
    }

    .main-contain-frame-a-img-mob {
        width: 85%;
        border-radius: 50%;
        position: absolute;
        left: 0;
        right: 0;
        margin: auto;
        height: 90%;
        top: 0;
        bottom: 0;
    }

    .main-contain-frame-a-img-mob:after {
        content: "";
        display: block;
        padding-bottom: 100%;
    }

    .main-contain-frame-a-mobile {
        position: relative;
        margin: 20px 0;
    }

    .main-contain-frame-a-img-mobile {
        width: 70%;
        border-radius: 50%;
        position: relative;
        aspect-ratio: 1/1;
        object-fit: cover;
        object-position: 0%;
    }

    .main-contain-frame-a2-img-mobile {
        width: 81%;
        position: absolute;
        aspect-ratio: 100/95;
        transform: translate(-7%, -4%);
    }

    .main-contain-frame-a-img:after {
        content: "";
        display: block;
        padding-bottom: 100%;
    }

    .main-contain-frame-b-mobile {
        position: relative;
        top: 40px;
        margin: 20px 0;
    }

    .main-contain-frame-b-img-mobile {
        width: 73%;
        border-radius: 50%;
        position: relative;
        aspect-ratio: 1/1;
        object-fit: cover;
        object-position: 0%;
    }

    .main-contain-frame-b2-img-mobile {
        width: 81%;
        position: absolute;
        aspect-ratio: 100/100;
        transform: translate(-95%, -4%);
    }

    .frame_b_more {
        position: absolute;
        background-color: #2E9380;
        border-radius: 8px;
        box-shadow: 2px 2px 2px -1.5px rgb(0 0 0 / 20%);
        padding: 14px 26px;
        bottom: 0px;
        border: 0;
        left: 20%;
    }

    .main-contain-frame-b-frameimg {
        width: 93%;
        height: 106%;
        border-radius: 50%;
        position: absolute;
        bottom: -7%;
        left: 15px;
        object-position: 50%;
    }

    .subPage-main .left {
        display: none;
    }

    .slideshow-container {
        max-width: 320px;
        position: absolute;
        margin: auto;
        width: 60%;
        height: 72%;
        left: 0;
        right: 0;
        top: 10%;
        bottom: 0;
    }

    .news-bg {
        width: 100%;
        height: 300px;
        position: absolute;
        object-fit: cover;
    }

    .detail-block-update-news {
        grid-column: 1/3;
    }

    .detail-block-section-animation {
        animation-name: down-to-up-animation;
        animation-duration: 0s;
        animation-fill-mode: forwards;
    }

    .sub-header-div-block {
        text-align: center;
        margin-top: 5px;
        margin-bottom: 5px;
        margin-right: 10px;
        float: right;
        width: 70%;
    }

    .m_menu_main {
        width: 100%;
        display: none;
        /* height: 100%; */
        overflow-x: hidden;
        /* position: absolute; */
    }

    .catBrowser-label {
        color: white;
    }

    .m_menu {
        display: block;
        -webkit-transition: transform 0.4s;
        transition: transform 0.4s;
        width: 100%;
        height: fit-content;
        position: absolute !important;
        right: 0px;
        z-index: 300;
        top: 10% !important;
        margin-top: 16px;
        background: #FFF;
        /* transform: translateX(0vw);
		-webkit-transform: translateX(0vw); */
    }

    .m_menu.hide {
        transform: translateX(50vw);
        -webkit-transform: translateX(50vw);
    }

    .m_menu ul {
        /* margin-top: 46px; */
        list-style: none;
        margin-left: -60px;
    }

    .m_menu ul>ul {
        /*margin: 0px;*/
        margin-top: -1px;
        font-weight: 100;
        background: rgb(7, 33, 79) !important;
    }

    .m_menu ul>ul>li {
        color: #000;
        padding: 10px 0;
        padding-left: 100px;
        font-weight: normal;
        font-size: 20px;
        margin-top: 2px 0;
    }

    .m_menu ul>ul>li:hover {
        background: #e5bc0f;
    }

    .m_menu ul>ul>li>a {
        white-space: nowrap;
        display: flex;
        color: white;
    }

    .nav-item {
        display: inline-block;
        margin-top: 10px;
        margin-bottom: 10px;
    }

    .admission-menu {
        position: relative;
        padding-top: 10px;
    }

    .admission-menu:before {
        content: "";
        background-color: white;
        position: absolute;
        display: block;
        width: 80%;
        height: 2px;
        position: absolute;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .display-only-padding {
        padding: 10px 0px 10px 50px !important;
    }

    .m_menu .catBrowser-item {
        cursor: pointer;
        width: 100%;
        /* background: rgb(7, 33, 79); */
        ;
    }

    .m_menu .catBrowser-item div {
        width: 100%;
    }

    .m_menu .catBrowser-item>div {
        display: flex;
        display: -ms-flexbox;
        display: -webkit-flex;
    }

    .m_menu .catBrowser-item div>span {
        /* font-size: 4vw;
		line-height: 2.5; */
        font-size: 20px;
        margin-left: 40px;
        /* margin-left: 5vw; */
        font-weight: normal;
    }

    .slogan {
        padding-top: 4.4vw;
        padding-bottom: 1.4vw;
        font-size: 3.5vw;
        background-size: 100% 108%;
    }

    .catBrowser-label:before {
        height: auto;
        width: 20px;
        margin-right: 10px;
    }

    .m_menu .catBrowser-item {
        -webkit-transform: translateX(0);
        transform: translateX(0);
        margin-top: -1px;
    }

    .m_menu .catBrowser-item:hover {
        background: #e5bc0f;
    }

    .m_menu.hide .catBrowser-item {
        -webkit-transform: translateX(100%);
        transform: translateX(100%);
    }

    .school-logo {
        /* position: absolute; */
        /* height: 80px; */
        /* height: 166px; */
        top: 8%;
        left: 4%;
        margin: 10px 0;
    }

    .mobile-header {
        z-index: 5;
        position: relative;
        background: #ffffff;
        padding: 10px 0;
        height: 96px;
    }

    .footer-folus-area {
        margin: 24px 0 0 0;
    }

    .catBrowser-item span {
        font-size: 16px;
        display: inline-flex;
        display: -ms-inline-flexbox;
        display: -webkit-inline-flex;
        margin: 15px 15px;
        font-weight: 600;
    }

    .header {
        /* background: url("../images/heading_bk_m.png") no-repeat;
		background-size: 100% 100%;
		background-position: right bottom; */
        position: relative;
    }

    .header img {
        width: 80vw;
    }

    .menubtn-bar {
        background: linear-gradient(to bottom, #000166 0%, rgba(0, 1, 102, 0) 100%);
        position: absolute;
        width: 100%;
        /* height: 115px; */
        z-index: 2;
    }
    .icon-area{
        grid-auto-flow: row;
        grid-template-columns:unset;
    }

    .mobile_fb_button {
        background: url(../images/icon_fb.svg) no-repeat;
        width: 140px;
        height: 50px;
        /* background-size: 100% auto; */
        /* height: 22px; */
        /* height: 0px; */
        /* width: 0px; */
        cursor: pointer;
        z-index: 300;
        display: inline-block;
        position: absolute;
        /* left: 26px; */
        /* background-position: center; */
        right: 5%;
        top: 34%;
        border: 0;
    }

    .menu_btn {
        background: url(../images/new/icon_menu.svg) no-repeat;
        /* background-size: 100% auto; */
        /* height: 22px; */
        /* height: 0px; */
        /* width: 0px; */
        cursor: pointer;
        z-index: 300;
        display: inline-block;
        position: absolute;
        /* left: 26px; */
        /* background-position: center; */
        right: 0%;
        top: 40%;
        border: 0;
    }

    .menu_text {
        display: none;
    }

    .menu_btn .menu_img {
        width: 100%;
        height: 100%;
        margin: 0;
    }

    .home_page_section .topbar-menu-search .langArea,
    .home_page_section .topbar-menu-search .topbar-menu {
        display: block;
    }

    .catBrowser-items .btnGp {
        z-index: 300;
        position: absolute;
        /* background-color: #0180d3; */
        box-shadow: 1px 5px 4px RGBA(42, 42, 42, 0.56);
        width: 350px;
    }

    #main {
        min-width: 100%;
        padding: 0px;
    }

    /* #container .home_page_section:nth-child(2){
		max-height: 696px;
	  height: 200px;
	  min-height: 308px;
	  width: 100%;
	  top: 60px;
	} */
    .empty-section {
        height: 368px;
    }

    .tabContentContainer {
        overflow-x: scroll;
    }

    .mobile-header-image {
        width: 40%;
        min-width: 250px;
        max-width: 300px;
        height: auto;
        display: block;
    }

    .popup-header {
        background: #1F9860;
        z-index: 3;
        width: 100%;
        top: 65px;
    }

    .popup-div {
        width: 90%;
        margin: 0 auto 0 20px;
        display: flex;
    }

    .popup-text {
        width: 80%;
        text-align: left;
        color: white;
        line-height: 20px;
        height: 20px;
        font-size: 16px;
    }

    .popup-read-more-button {
        font-size: 14px;
        margin-left: 10px;
        margin-bottom: 10px;
        margin-right: 28px;
    }

    .popup-close-button {
        width: 20px;
        display: inline-block;
        float: right;
        margin-top: 10px;
        margin-right: 15px;
    }

    .sect_1_2 {
        width: 100%;
        float: none;
    }

    .subPage-main {
        display: block !important;
        padding: 0px !important;
    }

    .subPage-title-slogan {
        color: #FFF;
        font-size: 3.5vw;
        margin: 1.3vw 4.2vw;
        max-width: 100%;
    }

    .subPage-main .breadc {
        padding-top: 15px;
        padding-bottom: 15px;
        font-size: 13px;
    }

    .subPage-title:before {
        display: none;
    }

    /* 
	.cat_1 .subPage-Sect-title, .cat_1 .subPage-title   { background-color: #B70202;}
	.cat_2 .subPage-Sect-title, .cat_2 .subPage-title   { background-color: #ffa300;}
	.cat_3 .subPage-Sect-title, .cat_3 .subPage-title   { background-color: #a2c31e;}
	.cat_4 .subPage-Sect-title, .cat_4 .subPage-title   { background-color: #11c2e2;}
	.cat_5 .subPage-Sect-title, .cat_5 .subPage-title   { background-color: #eb1c79;}
	.cat_6 .subPage-Sect-title, .cat_6 .subPage-title   { background-color: #ea6a00;} */
    #container .subPage-Sect-title,
    #container .subPage-title {
        width: 100%;
        padding: 10px 30px;
    }

    #container .subPage-Sect-title {
        padding: 12px 15px;
        background-color: #337ab7;
    }

    #container .subPage-title {
        z-index: 0;
        padding-left: unset;
    }

    .subPage-Sect-title h1 {
        font-size: 22px;
        color: white;
        margin: unset;
    }

    .subPage-title h1 {
        font-size: 20px;
        margin: unset;
    }

    .subPage-right-panel,
    .right-panel {
        padding: 0px;
        margin-right: unset;
        margin: 15px 0;
    }

    .subPage-content {
        padding: 11px 0px;
        line-height: 120%;
        width: 100%;
    }

    .subPage-content title {
        padding: 20px 0;
    }

    .tabContentContainer {
        color: #000;
        font-size: 18px;
    }

    .grouping {
        width: 50%;
        margin: 5px;
    }

    .grouping select {
        width: 100%;
        margin: 5px;
    }

    .tabContent table td {
        padding: 5px 5px;
    }

    .tabContent span {
        /* font-size: unset !important; */
    }

    .tabContent auto {
        width: 200px;
        height: 40px;
    }

    .home_page_list {
        width: 100%;
    }

    .home_page_section .sub_sect:first-child {
        padding-right: 0px;
    }

    .home_page_section .sub_sect:last-child {
        padding-left: 0px;
        margin-top: 7px;
    }

    .home_page_section .sect_1_2.sub_sect {
        margin-top: 0px;
        height: 100;
        aspect-ratio: 1/1;
    }

    .news-section {
        padding: 4px 4px 0 4px;
    }

    .event_photo_container li {
        margin-left: 0;
    }

    .word_container {
        height: 70px;
    }

    .wordings {
        font-size: 16px;
        padding: 24px;
    }

    .news_swiper_group {
        display: flex;
        flex-wrap: wrap;
    }

    .apply_area {
        position: absolute;
        width: 95%;
        height: 20%;
        bottom: 0;
        margin: 15px;
        left: 0px;
        background-position: 50% 40%;
    }

    .apply_area_word {
        position: relative;
        top: -80px;
    }

    .details-section {
        display: block;
    }

    .down-detail-block div {
        height: -webkit-fill-available;
    }

    .footer-grid{
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 40px 0;
        flex-direction: column;
    }

    .footer_schoolname {
        margin: 10px 10px 30px 0px;
        width: 100%;
        height: 1.5em;
        font-size: 3.5vw;
    }

    .footer_fol {
        line-height: 1.5em;
        height: 3em;
        width: 50%;
        margin: 0 0 34px 0;
        /* font-size: 4.5vw; */
        font-size: 3.5vw;
        font-family: 'Raleway_bold';
    }

    .section-copyright .footer-top>.right>.dot {
        display: block;
        font-weight: bolder;
        /* margin-top: 31.36px; */
    }

    /* .empty-section {
    height: 385px;
    width: 100%;
	} */
    .first-message {
        font-size: 16px;
        position: relative;
        width: 320px;
        margin: 0 auto;
    }

    .first-message:before {
        content: "";
        background-color: #6dadb7;
        position: absolute;
        width: 75px;
        height: 2px;
        left: -10px;
        top: 8px;
        display: block;
    }

    .first-message:after {
        content: "";
        background-color: #6dadb7;
        position: absolute;
        width: 75px;
        height: 2px;
        right: -11px;
        bottom: 10px;
        display: block;
    }

    .second-message {
        font-size: 18px;
        width: 320px;
        margin: 0 auto;
        position: relative;
        padding-bottom: 10px;
    }

    .second-message:before {
        transform: rotate(-90deg) scale(0.6);
        content: "";
        background-color: #6dadb7;
        position: absolute;
        width: 70px;
        height: 2px;
        left: -45px;
        top: 20px;
        display: block;
    }

    .second-message:after {
        transform: rotate(-90deg);
        content: "";
        background-color: #6dadb7;
        position: absolute;
        width: 70px;
        height: 2px;
        right: -45px;
        bottom: 36px;
        display: block;
    }

    .end-message-border {
        position: relative;
        width: 320px;
        margin: 0 auto;
    }

    .end-message-border:after {
        content: "";
        background-color: #6dadb7;
        position: absolute;
        width: 340px;
        height: 2px;
        right: -10px;
        bottom: 2px;
        display: block;
    }

    .external_link {
        width: 100%;
        display: inline-block;
        padding: 5px 5px;
    }

    .external_link .is-link {
        width: 33.3%;
    }

    .fb_link {
        width: 100%;
        display: inline-block;
        text-align: left;
        padding: 0px 10px;
        margin-top: 20px;
    }

    .fb_iframe_widget {
        float: none;
        float: initial;
        padding: 0 auto;
    }

    .footer_img {
        width: 100%;
        height: 280px;
        position: absolute;
        object-fit: cover;
    }

    .footer-top-item {
        display: flex;
        z-index: 2;
        margin: 4px 0;
        /*padding: 0 12px;*/
        align-items: center;
    }

    .footer-top-item label {
        font-size: 14px;
    }

    .footer-top {
        display: block;
    }

    .footer .content>div.copyright {
        white-space: normal;
    }

    .footer .footer2 .copyright {
        word-break: keep-all;
    }

    .subPage-content h2 {
        font-size: 6vw;
        margin-bottom: 2vw;
    }

    .selectForm_btn,
    .selectClass_btn {
        font-size: 27px;
        max-width: 100%;
        max-height: 100%;
        padding: 5vw 0px;
    }

    .selectForm_btn {
        width: 24.8vw;
    }

    .selectClass_btn {
        width: 18.5vw;
    }

    .selectSchDay_btn {
        width: 82vw;
        padding: 3vw;
        max-width: 100%;
        max-height: 100%;
        margin: 1.7vw 0px;
        font-size: 5vw;
    }

    .hw_detail img {
        width: 100%;
    }

    .contact_us {
        width: 100%;
    }

    .subPage-content input {
        margin-bottom: 5vw;
    }

    .submit_btn {
        height: 10vw;
        padding: 0px 27px;
        font-size: 5vw;
    }

    .detail-block-section {
        padding-left: 0;
        padding-right: 0;
        margin-top: 0;
        opacity: 1;
    }

    .information-block {
        width: 31%;
        display: inline-block;
        position: relative;
    }

    .mobile-display-grid {
        display: grid;
        grid-template-columns: 50% 50%;
        margin-top: 20px;
    }

    .mobile-update-n-news {
        grid-column: 1 / 3;
        height: 25%;
    }

    .mobile-admission {
        grid-column: 1 / 3;
    }

    .mobile-admission .down-detail-block {
        height: auto;
    }

    .mobile-intro {
        grid-column: 1 / 3;
    }

    .news-updates-title {
        padding-left: 15px
    }

    .mobile-update-n-news .heading_event_photo .news-read-more-button {
        margin-left: auto;
        margin-right: auto;
        position: relative;
        left: 68px;
        /* float: right; */
        padding: 0.375rem 1.75rem;
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 14px;
    }

    .red-hr {
        border: 3px solid #dc3545;
        margin: 0 10px;
    }

    .school-information-first-row {
        text-align: center;
        margin-bottom: 5px;
    }

    .school-information-second-row {
        text-align: center;
        margin-bottom: 5px;
    }

    .school-information-third-row {
        text-align: center;
        margin-bottom: 5px;
    }

    .down-detail-block {
        margin: 10px 0;
        height: auto;
    }

    .background-detail-block {
        background: rgb(7, 33, 79);
        width: 100%;
        height: 35px;
        line-height: 35px;
        color: white;
        text-align: center;
        font-size: 12px;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
    }

    .background-detail-block-admission-text {
        background: rgb(7, 33, 79);
        width: 100%;
        height: 50px;
        padding: 10px 0;
        text-align: center;
        font-size: 20px;
        display: block;
        position: relative;
        top: 5px;
        color: white;
    }

    .background-detail-block-admission-image {
        height: auto;
    }

    .background-detail-block-intro {
        height: 150px;
        line-height: 40px;
        font-size: 22px;
        top: -2%;
    }

    .background-detail-block-events {
        height: 205px;
        font-size: 18px;
        line-height: 40px;
        padding: 56px 0;
    }

    .background-detail-block-achievements {
        height: 205px;
        font-size: 18px;
        line-height: 40px;
        padding: 56px 0;
    }

    .background-detail-block-publication {
        height: 205px;
        font-size: 18px;
        line-height: 25px;
        padding: 56px 0;
    }

    .background-detail-block-album {
        height: 205px;
        font-size: 18px;
        line-height: 40px;
        padding: 56px 0;
    }

    .intro-read-more-button {
        padding: 0.375rem 3rem;
        font-size: 18px;
        margin-top: 15px;
    }

    .information-detail-block {
        background: #059C57;
        opacity: 0.9;
        width: 100%;
        height: 50%;
        position: absolute;
        bottom: 0;
        color: white;
        text-align: center;
        font-size: 16px;
    }

    .students-work-detail-block {
        background: #EF7819;
        opacity: 0.9;
        width: 100%;
        height: 50%;
        position: absolute;
        bottom: 0;
        color: white;
        text-align: center;
        font-size: 16px;
    }

    .block-text-margin {
        margin-top: 25%;
    }

    .news_block_container {
        max-width: 320px;
        position: absolute;
        margin: auto;
        width: 60%;
        height: 60%;
    }

    .background_news_block_album {
        height: inherit;
    }

    .news-section-mobile {
        padding: 20px 10px 40px 10px;
        display: block;
        height: 1080px;
    }

    .folder {
        width: 100%;
        height: 340px;
    }

    .folder .album_thumbnail::before {
        font-size: 4.5vw;
        right: 1.4vw;
        top: 0.5vw;
    }

    .staffGroup .album_thumbnail:before {
        top: initial;
    }

    .folder .album_thumbnail {
        margin-bottom: 1.8vw;
    }

    .folder .album_title p {
        font-size: 14px;
    }

    .album_title {
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        height: 100%;
        overflow: hidden;
        text-align: left;
    }

    .staff_title {
        padding: 5px 1.2vw;
    }

    .folder .staff_title p {
        font-size: 2.7vw;
    }

    .photoGroup .item {
        width: 46.3%;
        max-width: 100%;
        max-width: initial;
        height: 30vw;
        margin: 4px;
    }

    .width_33_100,
    .width_66_100 {
        width: 100% !important;
    }

    .width_25_50 {
        width: 49% !important;
    }

    .width_33_33 {
        width: 32% !important;
    }

    .width_33_50 {
        width: 49% !important;
    }

    .width_33_50 img {
        width: 100% !important;
        max-height: 100%;
        max-height: initial !important;
    }

    .width_50_50 img {
        width: 100% !important;
        max-height: 100%;
        max-height: initial !important;
    }

    .yrrecordphoto {
        margin: -20px -6vw;
    }

    .tabMenu {
        height: fit-content;
    }

    .tabMenuContainer {
        padding-bottom: 30px;
        overflow-x: auto;
    }

    .tagBtnGroup .hscroll_btn,
    .tabMenu .hscroll_btn {
        top: 0.8vw;
        height: 78%;
        width: 7vw;
        position: absolute;
        cursor: pointer;
        background-color: RGBA(0, 0, 0, 0);
        opacity: 0;
        margin: 0px 11px;
    }

    .tagBtnGroup .hscroll_btn.scrollL,
    .tabMenu .hscroll_btn.scrollL {
        left: -6px;
        background: url("../images/arrow_left.gif") no-repeat;
        background-size: 50% 90%;
        background-position: center left;
    }

    .tagBtnGroup .hscroll_btn.scrollR,
    .tabMenu .hscroll_btn.scrollR {
        right: -6px;
        background: url("../images/arrow_right.gif") no-repeat;
        background-size: 50% 90%;
        background-position: center right;
    }

    .tagBtnGroup .hscroll_btn:hover,
    .tabMenu .hscroll_btn:hover {
        opacity: 0.5;
    }

    .tagBtnGroup .hscroll_btn,
    .tabMenu .hscroll_btn {
        display: block;
    }

    .yrrecordphoto .tagBtnGroup,
    .tagBtnGroup {
        overflow-x: auto;
        overflow-y: hidden;
        height: 13vw;
        position: relative;
    }

    .tagBtnContainer {
        overflow-x: auto;
        overflow-y: hidden;
        padding-bottom: 30px;
        white-space: nowrap;
    }

    button.tagBtn,
    .tabBtn {
        margin: 3px 3px;
        padding: 5px 17px;
        cursor: pointer;
        white-space: nowrap;
        color: white;
        font-weight: 800;
        font-size: 18px;
        display: inline-block;
        line-height: initial;
        background-color: rgb(7, 33, 79);
        height: 35px;
    }

    button.tagBtn {
        margin-top: 1.6vw;
    }

    .popup-inner .playSlideShowBtn {
        height: 7vw;
        width: 7vw;
    }

    .yrrecordphoto .folder {
        height: 58vw;
    }

    #links_an_calendar {
        width: 100%;
    }

    #news_list {
        width: 100%;
        margin-bottom: 15px;
        margin-top: 150px;
    }

    #video {
        width: 100%;
    }

    .students_section {
        height: 100%;
        margin-bottom: -10%;
    }

    .students_bar {
        display: block;
        text-align: center;
        margin-top: 60px;
    }

    #students .icon {
        width: 40vw;
        position: absolute;
        top: 60%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    #students .students_campus_tv {
        width: 40vw;
        height: 30vw;
        /* background: #3FC6BE; */
        display: inline-block;
        position: relative;
        margin-right: 1vw;
    }

    #students .students_campus_album {
        width: 40vw;
        height: 30vw;
        /* background: #F6BB6D; */
        display: inline-block;
        position: relative;
        margin-right: 1vw;
    }

    #students .students_scouts {
        width: 40vw;
        height: 30vw;
        /* background: #FB807C; */
        display: inline-block;
        position: relative;
        margin-right: 1vw;
    }

    #students .students_chinese_history {
        width: 40vw;
        height: 30vw;
        /* background: #907CA1; */
        display: inline-block;
        position: relative;
        margin-right: 1vw;
    }

    #students .students_stem {
        width: 40vw;
        height: 30vw;
        /* background: #3C6787; */
        display: inline-block;
        position: relative;
        margin-right: 1vw;
    }

    #students .students_reading {
        width: 40vw;
        height: 30vw;
        /* background: #3C6787; */
        display: inline-block;
        position: relative;
    }

    #students .students_section_title {
        width: 100%;
        height: 30%;
        /* background: #44A49D; */
        position: absolute;
        bottom: -10px;
        text-align: center;
        color: white;
        font-weight: 700;
        line-height: 280%;
        word-wrap: break-word;
        font-size: 15px;
    }

    .classIcon {
        height: 4.5vw;
        width: 10vw;
        vertical-align: -2px;
    }

    .hw_detail p {
        font-size: 3.5vw;
        margin-bottom: 5vw;
    }

    .selectClass_btn:hover {
        background-color: #39b54a;
    }

    .temporary-hide {
        display: none;
    }

    .n_news_upper {
        grid-template-columns: max-content auto;
    }

    .n_news_lower {
        grid-template-columns: auto max-content;
    }

    .sa_news_content {
        width: 600px;
    }

    .news-icon-area {
        aspect-ratio: 4/3;
    }

    .news-icon {
        /* height: 400px;
			max-height: 400px; */
        /* width:350px;
		height: 200px;
		margin: 0px 3px 3px 0;
		border-radius: 15px; */
        /* width: 18px; */
    }

    .news-updates-section {
        padding-left: 5%;
        padding-right: 5%;
    }

    .news-title-text {
        height: 60px;
        text-overflow: ellipsis;
        /* white-space: nowrap; */
        overflow: hidden;
        white-space: normal;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        font-size: 14px;
    }

    .news-read-more-button {
        margin-top: 10px;
        margin-bottom: 30px;
        margin-left: auto;
        margin-right: auto;
        float: inherit;
    }

    .title2 {
        width: 80%;
        position: relative;
        top: 60px;
        z-index: 1;
    }

    .topmenu-img-mobile {
        width: 20%;
        margin: auto 0 auto 24px;
        padding: 4px;
    }

    .event_photo_container ul {
        margin: 0px;
        overflow-x: hidden;
        transform: translateY(0%);
    }

    .event_photo_container li {
        width: 100%;
        display: inline-block;
        padding: 2px 2px;
        vertical-align: top;
        white-space: normal;
        text-align: left;
        height: 100%;
        margin-right: 4px;
    }

    #event_photo .hscroll_btn.scrollL.mobile-only {
        left: -6px;
    }

    #event_photo .hscroll_btn.scrollL.mobile-only .arrow-icon {
        margin-top: 20px;
    }

    #event_photo .hscroll_btn.scrollR.mobile-only {
        right: -13px;
    }

    #event_photo .hscroll_btn.scrollR.mobile-only .arrow-icon {
        margin-top: 20px;
    }

    .date-text {
        font-size: 12px;
    }

    .arrow-icon {
        /*margin-bottom: -4px;*/
        /* height: 33%;
		margin: 16px; */
    }

    .news1 {
        padding: 32px 2px;
    }

    .footer .footer1 {
        /* width: 100%;
        height: 17vh;
        background: #C8DAC6;
        color: black;
        text-align: center;
        position: relative;
        font-size: 13px; */
        width: 100%;
        text-align: left;
        font-size: 14px;
        grid-template-rows: 20% 20% 60%;
        grid-template-columns: auto;
        margin-bottom: 0px !important;
        height: auto !important;
    }

    .footer .footer1 .footer1_info {
        width: 100%;
        line-height: 40px;
        padding-top: 20px;
        margin-left: 0;
        padding-left: 30px;
    }
    
    .whole_block_useful_link{
        flex-direction: column;
    }
    
    .school_name {
        font-size: 16px;
        margin-bottom: 15px;
        display: flex;
    }
    .right_content{
        top:unset;
    }
    .footer .footer1 .school_english_name {
        display: inherit;
        font-size: 16px;
    }

    .footer .footer1 .school_chinese_name {
        display: inherit;
        padding-left: 20px;
        font-size: 20px;
    }

    .school_tel {
        display: block !important;
        margin-right: 0 !important;
    }

    .school_fax {
        display: block !important;
        margin-right: 0 !important;
    }

    .school_tel img {
        width: 18px;
    }

    .school_fax img {
        width: 18px;
    }

    .school_chinese_address img {
        width: 18px;
    }

    .swiper {
        width: 520px !important;
    }

    .gallery-area {
        grid-template-columns: 50% 50%;
        padding: 0;
    }

    #gallery-section .album_img {
        position: absolute;
    }

    .album_img {
        /* position: absolute; */
        width: 100%;
    }

    .video_img {
        z-index: 1;
        position: absolute;
        transform: translate(-50%, -50%) scale(0.8);
        left: 50%;
        top: 50%;
    }

    .gallery-area {
        margin-bottom: 16px;
    }

    .footer_schoolname_chi {
        margin: 20px 0px 2px 0px;
    }

    .footer_schoolname_en {
        margin: 10px 0px 36px 0px;
    }

    .footer1-display-inline-block {
        display: block;
        margin-top: 0px;
        margin-bottom: 0px;
    }

    .whole_block{
        flex-direction: column;
    }
    .whole_block>.left_block{
        width: 100%;
    }

    .whole_block>.right_block{
        width: 100%;
    }

    #news-section{
        height:unset;
    }

    .right_content>.color_blk{
        height: 100%;
        padding-bottom: 50px;
    }

    .whole_block_useful_link .left_block{
        width: 100%;
    }

    .right_block_facebook{
        /* margin-left: 15%;
        margin-right: 15%; */
    }
    .link_box_text{
        /* font-size: 10px; */
    }
    .right_block_facebook iframe{
        width: 100%;
    }
    

    .copyright-footer-text {
        font-size: 14px;
        margin-top: 8px;
        text-align: center;
        /* padding: 39px 0 18px 0; */
        border-top: 0;
    }

    .mobile-footer-text {
        display: block;
        margin-top: 10px;
    }

    .footer .footer1 .footer-map {
        right: 0px;
        padding-left: 0px;
        margin-bottom: 24px;
    }

    .footer .footer1 .footer-map iframe {
        width: 100%;
        height: 250px;
    }

    .footer-useful-link {
        top: 140px;
        padding-left: 30px;
        left: 0;
    }

    .footer-useful-link .title {
        padding-left: 0;
        font-size: 20px;
    }

    .footer-useful-link .content {
        grid-template-columns: 150px 150px;
    }

    .footer-useful-link .content .img {
        width: 150px;
    }

    .footer-eclass {
        top: 160px;
        padding-left: 30px;
        left: 0;
        width: 150px;
    }

    .footer-eclass img {
        width: 150px;
    }

    .copyright-footer-line {
        top: 50px;
        padding: 0 8%;
    }

    .controlBtnGtp {
        z-index: 5;
        position: absolute;
        bottom: 15px;
        right: 25px;
        padding: 0px;
        display: none;
        /*display: -ms-flexbox;*/
        /*display: -webkit-flex;*/
    }

    .video-section {
        height: auto;
    }

    .news-list-div {
        /* margin-top: 27vh;  */
    }

    .banner-text-background {
        height: 60px;
    }

    .curr {
        /*background: #FFD933;*/
        background: #e5bc0f;
    }

    .curr_subsub {
        background: #e5bc0f !important;
        padding-left: 30px
    }

    .banner_read_more {
        display: none;
        width: fit-content;
        color: white;
        background: #1CBC3B;
        font-size: 18px;
        padding: 5px 10px;
        margin-top: 5px;
        position: absolute;
        bottom: 40px;
        right: 30px;
        white-space: nowrap;
        z-index: 4;
    }

    .contentNameTag {
        background-color: rgba(255, 255, 255, 0.8);
        position: absolute;
        left: 0;
        right: 0;
        bottom: 20px;
        margin: auto;
        height: 15%;
        /* min-width: 96%;
		max-width: 500px;
		min-height: 20%;
		max-height: 89px; */
    }

    .contentNameTag .name-tag-contents {
        background: #6DC3C1;
        width: 22%;
        height: 100%;
        /* width: 155px;
		height: 89px; */
    }

    .name-tag-contents .name-tag-img {
        padding: 12%;
        padding-top: 7%;
        width: 100%;
        /* width: 90px;
		float: left;
		padding: 21px 15px; */
    }

    .name-tag-contents .name-tag-title {
        float: left;
        width: 55px;
        color: white;
        padding: 14px 0px;
        font-size: 20px;
        font-weight: bold;
        display: none;
    }

    .contentName {
        position: unset;
        /* left: 10px; */
        /* right: 0; */
        /* bottom: 35px; */
        /* margin: auto; */
        /* min-width: 96%;
        max-width: 500px;
        min-height: 20%;
        max-height: 300px; */
        width: fit-content;
        padding-right: 0;
        margin-top: 225px;
        float: right;
        z-index: 10;
        white-space: normal;
        /* overflow: hidden; */
    }

    .content-line {
        display: none;
    }

    .photo_display_area .contentName>.content-name {
        width: 80%;
        line-height: normal;
        margin: auto;
        margin-bottom: 8vw;
    }

    .photo_display_area .contentNameSubPageSec>.content-name {
        width: 220px;
        line-height: normal;
        padding: 20px;
    }

    .content-name {
        /* margin-top: 15px; */
        /* margin-top: 25px; */
        text-align: center;
        /* color: #274F74; */
        /* padding-left: 25%; */
        /* font-size: 18px; */
        height: 100%;
        color: white;
        font-weight: 700;
        /* display: none; */
        font-size: 32px;
    }

    .photo_display_area .contentNameSubPageSec {
        width: 100%;
        font: normal normal normal 80px/94px "FatRoundBody";
        letter-spacing: 0px;
        color: #FFFFFF;
        z-index: 2;
        text-shadow: 0px 0px 30px #000000;
        text-align: center;
        position: absolute;
        bottom: 40%;
    }

    .content-space {
        display: none;
    }

    .link-div-teacher-title {
        position: absolute;
        left: 58%;
        top: 30%;
        color: white;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
    }

    .news-content-text {
        height: 72px;
    }

    .clickedSubMenu {
        background-color: transparent;
    }

    .clickedSubSubMenu {
        background-color: transparent;
    }

    .link-div-intranet-title {
        position: absolute;
        left: 57%;
        top: 30%;
        color: white;
        font-size: 20px;
        font-weight: bold;
        text-align: center;
    }

    #news_list .list_detail {
        height: 90%;
        overflow-y: auto;
    }

    .last-contain-btns1-mobile {
        display: grid;
        grid-template-columns: 33.33% 33.33% 33.33%;
    }

    .last-contain-btns2-mobile {
        display: grid;
        grid-template-columns: 25% 25% 25% 25%;
    }

    .last-contain-btns3-mobile {
        display: grid;
        grid-template-columns: 20% 20% 20% 20% 20%;
    }
}

.btns-items-mobile {
    width: -webkit-fill-available;
    border-radius: 12%;
    margin: 2px;
}

@media screen and (max-width: 880px) {

    /* .subMainMenuBtn{
        left: 48%;
    } */
    .details-section>.left {
        grid-template-columns: 160px 160px 160px;
        height: 160px;
    }

    .details_item {
        width: 160px;
    }

    .detail-block-icon img {
        width: 40px;
    }

    .details-desc {
        font-size: 12px;
        position: relative;
        top: -24px;
    }


    .menu_list {

        font-size: 17px;
    }

    .acad2 {
        line-height: 39px;
        top: 31%;
    }

}


@media screen and (max-height: 800px) {
    .ann-content {
        height: 70%;
    }
}

@media screen and (max-height: 650px) {
    .ann-content {
        height: 60%;
    }
}

@media screen and (max-width: 750px) {

    .colourbar>.color_bar>.word1 {
        font-size: 3vw;
    }

    .m_menu {
        position: relative;
        top: 16%
    }



    .menu_list {

        font-size: 14px;
        line-height: 29px;
    }

    /* a{
        
        padding-top: 5px;
        padding-bottom: 5px;
        padding-left: 14px;
        padding-right: 14px;
    } */
    .acad2 {
        line-height: 35px;
    }

    .school-logo {
        /*width: fit-content;*/
        height: 18vw;
        object-fit: contain;
        top: 4%;
        width: auto;
        /* left: 22px; */
    }

    .menu_btn {
        top: 12vw;
        width: 5vw;
    }

    .icon-section {
        grid-template-columns: 40px max-content 40px;
    }

    .icon-area {
        /* width: 400px !important */
        /* transform: scale(0.9) !important; */
    }

    .last-contain-outranet-content {
        grid-template-rows: 40% auto;
        display: grid;
        height: 320px;
    }

    .apply_area_word {
        position: relative;
        top: 0px;
    }

    .folder {
        height: 320px;
        width: 100%;
    }

    .news-section-mobile {
        padding: 20px 10px 40px 10px;
        display: block;
        height: 920px;
    }

    .last-contain-outranet {
        background: url("../images/new/class_bg.png");
        background-size: 300%;
        background-position-x: 50%;
        height: 320px;
    }

    .last-contain-outranet-img {
        width: 140px;
        bottom: -30px;
    }

    .sa_news_content {
        margin: 10% 2.5%;
        width: 95%;
        /* height: 76%; */
    }

    .news-icon {
        /* width:350px;
		height: 200px;
		border-radius: 10px;
		margin: 0px 2px 2px 0; */
    }

    .topmenu-img-mobile {
        width: 30%;
        margin: auto 0 auto 24px;
        padding: 4px;
    }

    .non-Mobile {
        display: none;
    }

    /* 
	.news-section-mobile {
		padding: 30px;
		display: block;
		height: 755px;
		width: 100%;
		position: relative;
		bottom: 0;
		top: 0;
		margin-top: auto;
		margin-bottom: auto;
	} */
    .news-day {
        font-size: 16px;
    }

    .news-view-label {
        font-size: 16px;
    }

    .news-info {
        font-size: 16px;
        word-break: keep-all;
    }

    .tv {
        grid-template-columns: 40% 40%;
        left: 5px;
    }

    .subPage-content {
        padding-left: 0px;
        padding-right: 0px;
    }

    .word_container {
        height: 70px;
    }

    .wordings {
        font-size: 16px;
        padding: 18px;
        word-break: break-all;
    }

    .news_swiper_group {
        display: flex;
    }

    .apply_area_word {
        line-height: 7;
    }

    .details-section {
        display: block;
    }

    .down-detail-block div {
        height: -webkit-fill-available;
    }

    .footer_schoolname {
        line-height: 1.5em;
        height: 3em;
        width: 50%;
    }

    .copyright-footer-text {
        font-size: 14px;
        margin-top: 8px;
        text-align: center;
        padding: 14px 8%;
        /* border-top: 1px solid #ffffff66; */
        margin-left: 0px;
        margin-right: 0px;
    }

    .mobile-footer-text {
        display: block;
        margin-top: 10px;
    }

    .footer .footer1 {
        /* width: 100%;
        height: 17vh;
        background: #C8DAC6;
        color: black;
        text-align: center;
        position: relative;
        font-size: 13px; */
        width: 100%;
        text-align: left;
        font-size: 14px;
        grid-template-rows: 20% 20% 60%;
        grid-template-columns: auto;
    }

    .background-detail-block-intro {
        font-size: 18px;
        top: -2%;
    }

    .width_100_100,
    .width_50_100,
    .width_66_100,
    .width_33_100,
    .width_50_50,
    .width_33_50,
    .width_25_50,
    .width_33_33 {
        width: 100% !important;
    }
}

@media screen and (max-width: 650px) {
    .big-icon-area {

        top: -130px;
    }

    /* 
	.photo-container-section {
		height: 284px !important;
	} */
    .menu_list {
        font-size: 12px;
        line-height: 14px;
    }

    .icon-section {
        grid-template-columns: 28px max-content 28px;
    }

    .icon-area {
        justify-content: center;
        /* transform: scale(0.8) !important; */

    }

    .details-section .left {
        grid-template-columns: 140px 140px 140px;
        height: 140px;
    }

    .details_item {
        width: 140px;
    }
}

@media screen and (max-width: 680px) {
    .panel p {
        font-size: 15px;
        margin: 3vw 1vw;
    }

    .langArea1 {
        display: flex;
        position: relative;
        width: 53px;
        height: 21px;
        top: 8px;
        left: 25px;
        color: white;
        font: normal normal bold 16px/19px Raleway;
        text-shadow: 0px 3px 6px #00000029;
    }

    .arrowDown {
        position: fixed;
        top: 138px;
        left: 331px;
        width: 17px;
        height: 10px;
        /* transform: matrix(0, -1, 1, 0, 0, 0); */
        /* transform: rotate(5deg); */
    }

    #menu_detail {
        display: none;
        /* position: fixed; */
        /* top: 505px; */
        height: auto;
        width: 100%;
        left: 0px;
        /* bottom: 170px; */

    }

    /* .whiteBG{
        left: 0px;
        height: 33%;
        width: 100%;
    } */
    .abUS {
        display: none;
        top: 209px;
        left: 7px;
        width: 284px;
        height: 19px;
        line-height: 0px;
        font-size: 16px;
    }

    .abUS2 {
        display: none;
        top: 443px;
        left: 7px;
        width: 323px;
        height: 19px;
        line-height: 0px;
        font-size: 16px;
    }

    .acad {
        display: none;
        top: 209px;
        left: 7px;
        width: 284px;
        height: 19px;
        line-height: 0px;
        font-size: 16px;
    }

    .admis {
        display: none;
        top: 209px;
        left: 7px;
        width: 284px;
        height: 19px;

        font-size: 16px;
    }

    .stuDevelop {
        display: none;
        top: 209px;
        left: 7px;
        width: 383px;
        height: 19px;

        font-size: 16px;
    }

    .newsEvent {
        display: none;
        top: 209px;
        left: 7px;
        width: 383px;
        height: 19px;

        font-size: 16px;
    }

    .gal {
        display: none;
        top: 209px;
        left: 7px;
        width: 383px;
        height: 19px;

        font-size: 16px;
    }

    .gal li {
        margin-top: -16px;
    }

    .stuDevelop li {
        margin-top: -20px;
    }

    .admis li {
        margin-top: -32px;
    }

    .newsEvent li {
        margin-top: -20px;
    }

    #menu_close1 {
        display: none;

    }

    #menu_close {
        display: block;
        top: 42px;
        /* left: 27px; */
        width: 28px;
        height: 28px;
    }

    .subMainMenuBtn {
        position: initial !important;
        padding: 8px 1px !important;
    }

    .menu_list .menuslisting {
        position: fixed;
        top: 133px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menuslisting label {
        display: block;
        margin-top: -2px !important;
        margin-bottom: 32px !important;
        font-size: 19px;
    }

    .menu_list #aboutUS {
        position: fixed;
        top: 133px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #academic {
        position: fixed;
        top: 183px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #admissions {
        position: fixed;
        top: 233px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #studentDevelopment {
        position: fixed;
        top: 282px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #NewsAndEvent {
        position: fixed;
        top: 332px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #Gallery {
        position: fixed;
        top: 382px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    #MenuSchoolLogo {
        position: fixed;
        top: 60%;
        left: 28%;
        width: 45%;
        /*height: 333px;*/
        height: auto;
    }

    #menuBG {
        display: none;
    }
}


@media screen and (max-width: 560px) {

    .boardOfDirectorsContentPage h3 {
        font-size: 22px !important;
    }

    .academicContentPage h4 {
        font-size: 22px !important;
    }

    .adminStaffContentPage h3 {
        font-size: 22px !important;
    }

    .janitorContentPage h3 {
        font-size: 22px !important;
    }

    .organizationContentPage h3 {
        font-size: 22px !important;
    }

    /* .langArea1{
        display: block;
        position: relative;
        width: 53px;
        height: 21px;
        top: 28px;
        left: 87%;
        color: white;
        font: normal normal bold 16px/19px Raleway;
        text-shadow: 0px 3px 6px #00000029;
    }
     */
    .arrowDown {
        position: fixed;
        top: 138px;
        left: 331px;
        width: 17px;
        height: 10px;
        /* transform: matrix(0, -1, 1, 0, 0, 0); */
        /* transform: rotate(5deg); */
    }

    #menu_detail {
        display: none;
        /* position: fixed; */
        /* top: 505px; */
        height: auto;
        width: 100%;
        left: 0px;
        /* bottom: 170px; */

    }

    /* .whiteBG{
        left: 0px;
        height: 33%;
        width: 100%;
    } */
    .abUS {
        display: none;
        top: 209px;
        left: 7px;
        width: 284px;
        height: 19px;
        line-height: 0px;
        font-size: 16px;
    }

    .abUS2 {
        display: none;
        top: 443px;
        left: 7px;
        width: 323px;
        height: 19px;
        line-height: 0px;
        font-size: 16px;
    }

    .acad {
        display: none;
        top: 209px;
        left: 7px;
        width: 284px;
        height: 19px;
        line-height: 0px;
        font-size: 16px;
    }

    .admis {
        display: none;
        top: 209px;
        left: 7px;
        width: 284px;
        height: 19px;

        font-size: 16px;
    }

    .stuDevelop {
        display: none;
        top: 209px;
        left: 7px;
        width: 383px;
        height: 19px;

        font-size: 16px;
    }

    .newsEvent {
        display: none;
        top: 209px;
        left: 7px;
        width: 383px;
        height: 19px;

        font-size: 16px;
    }

    .gal {
        display: none;
        top: 209px;
        left: 7px;
        width: 383px;
        height: 19px;

        font-size: 16px;
    }

    .gal li {
        margin-top: -16px;
    }

    .stuDevelop li {
        margin-top: -20px;
    }

    .admis li {
        margin-top: -32px;
    }

    .newsEvent li {
        margin-top: -20px;
    }

    #menu_close1 {
        display: none;

    }

    #menu_close {
        display: block;
        top: 42px;
        /* left: 27px; */
        width: 28px;
        height: 28px;
    }

    .subMainMenuBtn {
        position: initial !important;
        padding: 8px 1px !important;
    }

    .menu_list .menuslisting {
        position: fixed;
        top: 133px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menuslisting label {
        display: block;
        margin-top: 3px;
        margin-bottom: 27px;
    }

    .menu_list #aboutUS {
        position: fixed;
        top: 133px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #academic {
        position: fixed;
        top: 183px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #admissions {
        position: fixed;
        top: 233px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #studentDevelopment {
        position: fixed;
        top: 282px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #NewsAndEvent {
        position: fixed;
        top: 332px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #Gallery {
        position: fixed;
        top: 382px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }


    #menuBG {
        display: none;
    }

    .year_select_item {
        padding: 8px 12px;
    }

    .search-field {
        min-width: 80% !important;
        width: 80% !important;
    }

    .icon-area {
        /* width: 400px !important */
        transform: scale(0.7) !important;
    }

    .last-contain-outranet-content {
        grid-template-rows: 42% 50%;
    }

    .last-contain-outranet-img {
        width: 140px;
        bottom: -20px;
    }

    .login-form {
        bottom: -20px;
    }

    .footer-top {
        text-align: left;
    }

    .footer-top-item {
        padding: 0;
        display: flex;
    }

    .news-icon {
        /* width:350px;
		height: 200px;
		border-radius: 5px;
		margin: 0px 1px 1px 0; */
    }

    /* .year_select {
		width: 150px;
	} */
    .tabContent_title,
    .subpage_title,
    .subpage_title_album {
        font-size: 32px;
    }

    .n_news_upper {
        grid-template-columns: max-content auto;
    }

    .n_news_lower {
        grid-template-columns: auto max-content;
    }

    .outranet-login-input-container {
        width: 80%;
    }

    .outranet-login-button-container {
        width: 80%;
    }

    .topbg {
        display: block;
        width: 100%;
        height: 100%;
        position: absolute;
        transform: translate(0, -10%);
        object-fit: cover;
        object-position: 66%;
    }

    .topmenu-img-mobile {
        width: 40%;
        margin: auto 0 auto 24px;
        padding: 4px;
    }

    .copyright-footer-text {
        padding: 12px 2%;
    }

    .non-Mobile {
        display: none;
    }

    .news-section-mobile {
        padding: 20px 10px 40px 10px;
        display: block;
        height: 720px;
    }

    .folder {
        width: 100%;
        height: 240px;
    }

    .word_container {
        height: 50px;
    }

    .wordings {
        font-size: 14px;
        padding: 10px;
    }

    .news_swiper_group {
        display: flex;
    }

    .apply_area {
        position: absolute;
        /*width: 89%;*/
        height: 20%;
        left: 0px;
        bottom: 0;
        margin: 15px;
    }

    .details-section {
        display: block;
        padding: 40px 30px 40px 30px;
    }

    .details-section .left {
        grid-template-columns: 110px 110px 110px;
        height: 110px;
    }

    .details_item {
        width: 110px;
    }

    .detail-block-icon img {
        width: 30px;
    }

    .details-desc {
        position: relative;
        top: -22px;
    }

    .details-section>.left {
        gap: 15px 15px;
    }

    .detail-block-icon {
        top: 28% !important;
    }

    .apply_area_word {
        line-height: 6;
    }

    .details-desc {
        font-size: 12px;
        font-weight: 700;
    }

    .down-detail-block div {
        height: -webkit-fill-available;
    }

    .tv_background_album_title {
        font-size: 12px;
    }

    .footer_schoolname {
        line-height: 1.5em;
        height: 3em;
        width: 48%;
        font-size: 16px;

    }

    .footer_fol {
        font-size: 16px;
    }

    .footer-top-item label {
        font-size: 12px;
    }

    .copyright-footer-text {
        font-size: 10px;
        margin-top: 8px;
        text-align: center;
        padding: 10px 3%;
        border-top: 0px solid #ffffff66;
        /*margin-left: 50px;*/
        /*margin-right: 50px;*/
    }

    .mobile-footer-text {
        display: block;
        margin-top: 10px;
    }

    .footer-map {
        position: initial;
    }

    .footer .footer1 {
        /* width: 100%;
        height: 17vh;
        background: #C8DAC6;
        color: black;
        text-align: center;
        position: relative;
        font-size: 13px; */
        text-align: left;
        font-size: 14px;
        grid-template-rows: 20% 20% 60%;
        grid-template-columns: auto;
    }

    .background-detail-block-intro {
        font-size: 13.5px;
        top: -2%;
    }
}

@media screen and (max-width: 484px) {
    .accordion {
        font-size: 14px !important;
    }

    .swiper {
        transform: scale(0.8) !important;
    }

    .swiper-button-prev {
        margin: 0px -32px 0 auto !important;
    }

    .swiper-button-next {
        margin: 0 auto 0 -32px !important;
    }

    .subpageBanner {
        height: 265px !important;
        aspect-ratio: initial;
    }

    .photo_display_area .contentNameSubPageSec {
        width: 100%;
        font: normal normal normal 28px/32px "FatRoundBody";
        letter-spacing: 0px;
        color: #FFFFFF;
        z-index: 2;
        text-shadow: 0px 0px 30px #000000;
        text-align: center;
        position: absolute;
        bottom: 90px;
    }
}

@media screen and (max-width: 425px) {
    .news_date {
        font-size: 3vw;
    }
    .big-icon-area>.color_bar {
        position: relative;
        top: -45px;
    }
    .color_blk {
        width: 78px;
        height: 34px;
    }

    .color_blk>.knowmore {
        font: normal normal normal 14px/19px FatRoundBody;
    }

    .panel p {
        margin: 1vw;
        font-size: 14px;
    }

    .FAQBTN>button {
        font-size: 16px !important;
    }

    /* .detailBTN{
        position: fixed;
        top:0;
        bottom:0;
        overflow-y:scroll;
        overflow-x:hidden;
    } */
    /* .langArea1{
        position: relative;
        width: 53px;
        height: 21px;
        top: 28px;
        left: 79%;
        color: white;
        font: normal normal bold 16px/19px Raleway;
        text-shadow: 0px 3px 6px #00000029;
    } */
    .facilityPage h3 {
        font-size: 6vw !important;
    }

    .eventStyle {
        margin-bottom: -17%;
    }

    .arrowDown {
        position: fixed;
        top: 138px;
        left: 331px;
        width: 17px;
        height: 10px;
        /* transform: matrix(0, -1, 1, 0, 0, 0); */
        /* transform: rotate(5deg); */
    }

    #menu_detail {
        display: none;
        /* position: fixed; */
        /* top: 163px; */
        height: 530px;
        width: 428px;
        left: 0px;
        /* bottom: 170px; */

    }

    .abUS {
        display: none;
        top: 209px;
        left: 7px;
        width: 284px;
        height: 19px;
        line-height: 0px;
        font-size: 16px;
    }

    .abUS2 {
        display: none;
        top: 443px;
        left: 7px;
        width: 323px;
        height: 19px;
        line-height: 0px;
        font-size: 16px;
    }

    .acad {
        display: none;
        top: 209px;
        left: 7px;
        width: 284px;
        height: 19px;
        line-height: 0px;
        font-size: 16px;
    }

    .admis {
        display: none;
        top: 231px;
        left: 7px;
        width: 284px;
        height: 19px;
        line-height: 20px;
        font-size: 16px;
    }

    .stuDevelop {
        display: none;
        top: 209px;
        left: 7px;
        width: 383px;
        height: 19px;

        font-size: 16px;
    }

    .newsEvent {
        display: none;
        top: 209px;
        left: 7px;
        width: 383px;
        height: 19px;
        line-height: 20px;
        font-size: 16px;
    }

    .gal {
        display: none;
        top: 209px;
        left: 7px;
        width: 383px;
        height: 19px;

        font-size: 16px;
    }

    .gal li {
        margin-top: -16px;
    }

    .stuDevelop li {
        margin-top: -20px;
    }

    .admis li {
        margin-top: -32px;
    }

    .newsEvent li {
        margin-top: -20px;
    }

    #menu_close1 {
        display: none;

    }

    #menu_close {
        display: block;
        top: 42px;
        /* left: 27px; */
        width: 28px;
        height: 28px;
    }

    .subMainMenuBtn {
        position: initial !important;
        padding: 8px 1px !important;
    }

    .menu_list .menuslisting {
        position: fixed;
        top: 20%;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #aboutUS {
        position: fixed;
        top: 133px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #academic {
        position: fixed;
        top: 183px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #admissions {
        position: fixed;
        top: 233px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #studentDevelopment {
        position: fixed;
        top: 282px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #NewsAndEvent {
        position: fixed;
        top: 332px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #Gallery {
        position: fixed;
        top: 382px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    #MenuSchoolLogo {
        position: fixed;
        top: 55%;
        left: 19%;
        width: 246.6px;
        height: 333px;
    }

    #menuBG {
        display: none;
    }

    .right_content>.color_blk>.joinschool{
       font: 14px / 23px NotoSansTC-Medium;
    }



    /* .whiteBG{
        top: 18% !important;
    } */
}

@media screen and (max-width: 384px) {
    /* .activities {
        height: 400px !important;
    } */

    .big-icon-area>.color_bar {
        top: -145px;
        position: relative;
    }

    .accordion {
        font-size: 12px !important;
    }

    .menubtn-bar {
        /* height: 76px; */
    }

    .swiper_history {
        width: 100% !important;
    }

    .icon-area {
        /* width: 400px !important */
        transform: scale(0.55) !important;
    }

    .school-logo {
        /* width: 70%; */
        /* width: 55%; */
        /* top: 46%;
        bottom: 50%; */
        /* transform: translateY(-60%); */
        /* height: auto; */
        /* margin-left: 36px; */
    }

    .tv_background_album_title {
        font-size: 12px;
    }

    .wordings {
        font-size: 12px;
        padding: 4px;
    }

    /* .year_select {
		width: 120px;
		font-size: 12px;
	} */
    .details-desc {
        font-size: 12px;
        font-weight: 700;
    }

    .subPage-content {
        padding-left: 10px;
        padding-right: 10px;
    }
}

@media screen and (max-width: 375px) {
    .color_bar {
        /* padding: 28px 106px; */
    }

    #MenuSchoolLogo {
        top: 65%;
        left: 27%;
        /*width: 45%;*/
        width: auto;
        height: 199px;
    }
}

@media screen and (width: 414px),
screen and (height: 896) {
    #MenuSchoolLogo {
        position: fixed;
        left: 18% !important;
        width: 65% !important;
        height: auto;
    }

    .whiteBG {

        height: 78vh !important;
        top: 22vh !important;
    }
}

@media screen and (max-width: 280px) {
    #MenuSchoolLogo {
        left: 21%;
        width: 58%;
        /*height: 31%;*/
        height: auto;
        top: 65%;

    }

    /* .langArea1 {
        left: 75%;
    } */
    #menu_detail {
        width: -webkit-fill-available;
    }

    li {
        width: 223px;
    }
}

@media screen and (max-width: 412px) {
    #MenuSchoolLogo {
        /* left: 21%; */
        width: 56%;
        top: 60%;
        position: inherit;
        height: auto;
    }

    /* .whiteBG {
        top: 16.5% !important;
    } */
}

@media screen and (min-width: 1378px) {
    .listContainer li {
        padding-bottom: 0px;
    }

    .admis li a {
        display: inline-block;
    }

    .acad2 li a {

        display: inline-block;
        line-height: 28px;
    }

    /* li{
        font-size: 26px;
        padding-bottom: 29px;
    } */
    .menu_list .menuslisting {

        font-size: 30px;

    }

    .menu_list #aboutUS {

        font-size: 23px;

    }

    .menu_list #academic {
        font-size: 23px;
    }

    .menu_list #admissions {
        font-size: 23px;
    }

    .menu_list #studentDevelopment {
        font-size: 23px;
    }

    .menu_list #NewsAndEvent {
        font-size: 23px;
    }

    .menu_list #Gallery {
        font-size: 23px;
    }
}

@media screen and (max-width: 1378px) {
    .acad2 li a {
        display: inline-block;
        line-height: 27px;
    }

    .menu_list li {
        font-size: 1.7vw;
    }

    .menu_list .menuslisting {

        font-size: 2vw;

    }

    .menu_list #aboutUS {

        font-size: 19px;

    }

    .menu_list #academic {
        font-size: 19px;
    }

    .menu_list #admissions {
        font-size: 19px;
    }

    .menu_list #studentDevelopment {
        font-size: 19px;
    }

    .menu_list #NewsAndEvent {
        font-size: 19px;
    }

    .menu_list #Gallery {
        font-size: 19px;
    }

    #MenuSchoolLogo {
        top: 30%;
    }

}

@media (min-width: 980px) and (max-width: 1250px) {
    .faith-area div {
        height: 34px;
        transform: translateY(10%);
    }

    .faith-area .content {
        width: 579px;
        height: 50px;
        /*transform: translateY(60%);*/
        display: -webkit-box;
        -webkit-box-align: center;
        text-align: center;
    }

    .faith-area {
        align-items: center;
    }

    .faith-area>.arrow {
        transform: translateY(10%);
    }
}

@media screen and (max-width: 1212px) {
    .menu_list {
        font: normal normal bold 20px/10px Raleway;
        line-height: 28px;
    }

    #MenuSchoolLogo {
        top: 31%;
    }
}

/* @media screen and (max-width: 1106px){
    .containerBTN-meetteam img{
        width: 308px !important;
        height: 86px !important;
    }
} */
@media screen and (max-width: 1011px) {

    /* .menu_list li {
        font-size: 16px;
    } */
    .menu_list {
        font-size: 20px;
    }

    li {
        font-size: 18px;
    }

    .menu_list .menuslisting {
        font-size: 18px;
    }

    .menu_list #aboutUS {

        font-size: 18px;
    }

    .menu_list #academic {
        font-size: 18px;
    }

    .menu_list #admissions {
        font-size: 18px;
    }

    .menu_list #studentDevelopment {
        font-size: 18px;
    }

    .menu_list #NewsAndEvent {
        font-size: 18px;
    }

    .menu_list #Gallery {
        font-size: 18px;
    }

    /* #MenuSchoolLogo {
        top: 29%;
    } */
    /* a{
        padding-left: 18px;
        padding-right: 18px;
    } */
}

@media screen and (max-width: 942px) {
    .menu_list {
        font-size: 26px;
    }

    li {
        font-size: 16px;
    }

    .menu_list .menuslisting {

        font-size: 16px;
    }

    .menu_list #aboutUS {

        font-size: 16px;
    }

    .menu_list #academic {
        font-size: 16px;
    }

    .menu_list #admissions {
        font-size: 16px;
    }

    .menu_list #studentDevelopment {
        font-size: 16px;
    }

    .menu_list #NewsAndEvent {
        font-size: 16px;
    }

    .menu_list #Gallery {
        font-size: 16px;
    }

    #MenuSchoolLogo {
        top: 36%;
    }
}

@media screen and (max-width: 820px) {
    .VPContainerBG {
        display: none;
    }

    .subMainMenuBtn {
        position: initial !important;
        padding: 8px 1px !important;
    }

    .admis li a {
        padding-left: 0px;
    }

    .arrowDown {
        position: fixed;
        top: 20%;
        width: 3%;
        left: 93%;
    }

    .menu_list li {
        font-size: 24px;

    }

    .abUS {
        left: 8%;
        top: 30%;

    }

    .abUS2 {
        left: 50%;
        top: 30%;
    }

    .acad {
        left: 9%;
        top: 30%;
    }

    .acad2 {
        left: 47%;
        top: 29%;
    }

    .admis {
        left: 14%;
        top: 32%;
        text-align: left;
        width: 500px;
    }

    .stuDevelop {
        left: 22%;
        top: 30%;
    }

    .newsEvent {
        left: 19%;
        width: 408px;
        top: 30%;
        text-align: center;
    }

    .gal {
        left: 22%;
        top: 30%;
        text-align: center;
    }

    .whiteBG {
        left: 0px;
        height: 78vh;
        width: 100%;
        top: 22vh;
    }

    #menu_detail {
        height: auto;
        /* top: 512px; */
        width: 100%;
        /* display: inline; */
        left: 0px;
        bottom: 0px;
    }

    #menu_close {
        top: 36px;
        right: 44px;
        width: 40px;
    }

    .menu_list .menuslisting {
        position: fixed;
        top: 20%;
        width: 100%;
        left: 0px;
        text-align: -webkit-center;
        font-size: 26px;
    }

    .menu_list #aboutUS {
        position: fixed;
        top: 20%;
        width: 100%;
        left: 0px;
        text-align: center;
        font-size: 26px;
    }

    .menu_list #academic {
        position: fixed;
        top: 26%;
        width: 100%;
        left: 0px;
        text-align: center;
        font-size: 26px;
    }

    .menu_list #admissions {
        position: fixed;
        top: 32%;
        width: 100%;
        left: 0px;
        text-align: center;
        font-size: 26px;
    }

    .menu_list #studentDevelopment {
        position: fixed;
        top: 38%;
        width: 100%;
        left: 0px;
        text-align: center;
        font-size: 26px;
    }

    .menu_list #NewsAndEvent {
        position: fixed;
        top: 44%;
        width: 100%;
        left: 0px;
        text-align: center;
        font-size: 26px;
    }

    .menu_list #Gallery {
        position: fixed;
        top: 50%;
        width: 100%;
        left: 0px;
        text-align: center;
        font-size: 26px;
    }

    #MenuSchoolLogo {
        margin-top: 22%;
        width: 32%;
        left: 34%;
        height: auto;
    }

    .menuslisting label {
        display: block;
        margin-top: -11px;
        margin-bottom: 4vh;
        width: 100%;
    }
}


@media screen and (max-height: 950px) {
    #menu_detail {
        /* top: 620px; */
    }

}

@media screen and (width: 820px),
screen and (height: 1180px) {

    /* .whiteBG{
            top: 21.8%;
    width: 100%;
        } */
    .menuslisting label {
        margin-bottom: 46px;
    }
}

/* @media screen and (max-width: 820px),
 screen and (max-height: 1097px){
    .whiteBG{
        top: 23%;
    }
}
@media screen and (max-width: 820px),
 screen and (max-height: 920px){
    .whiteBG{
        top: 23.5%;
    }
}
@media screen and (max-width: 820px),
 screen and (max-height: 798px){
    .whiteBG{
        top: 24%;
    }
}
@media screen and (max-width: 820px),
 screen and (max-height: 686px){
    .whiteBG{
        top: 24.5%;
    }
}
@media screen and (max-width: 820px), screen and (max-height: 657px){
    .whiteBG{
        top: 25%;
    }
} */
/* @media screen and (max-height: 1027px){
    .whiteBG{
        top: 0%;
    }
} */


@media screen and (width: 768px),
screen and (height: 1024px) {
    /* .whiteBG {
            top: 22.1%;
        } */
}






@media screen and (max-width: 736px) {
    .menu_list li {
        font-size: 22px;
        align-self: center;
    }
}

@media screen and (max-width: 664px) {
    .menu_list li {
        font-size: 4vw;
        text-align: center;
        align-self: center;
    }

}

@media screen and (width: 540px),
screen and (height: 720px) {

    /* .whiteBG{
        top: 23%;
    } */
    #menu_detail {
        top: 384px;
    }

    .abUS {
        left: 8%;
        top: 33.5%;
    }

    .abUS2 {
        left: 48%;
        top: 33.5%;
    }

    .acad {
        left: 6%;
        top: 33.5%;
        line-height: 20px;
    }

    .acad2 {
        left: 44%;
        top: 32.5%;
    }

    .arrowDown {
        position: fixed;
        top: 20.5%;
        width: 28%;
        /* right: 8px; */
        left: 439px;
    }

    .admis {
        top: 250px;
        line-height: 41px;
        width: 542px;
        left: 1%;
    }

    .stuDevelop {
        left: 19%;
        top: 34%;
        line-height: 45px;
    }

    .newsEvent {
        left: 10%;
        width: 462px;
        top: 257px;
    }

    .gal {
        left: 23%;
        top: 257px;
        /* text-align: center; */
    }

    .menu_list .menuslisting {
        font-size: 22px;
    }

    .menu_list #aboutUS {

        font-size: 22px;
    }

    .menu_list #academic {
        font-size: 22px;
    }

    .menu_list #admissions {
        font-size: 22px;
    }

    .menu_list #studentDevelopment {
        font-size: 22px;
    }

    .menu_list #NewsAndEvent {
        font-size: 22px;
    }

    .menu_list #Gallery {
        font-size: 22px;
    }

    #MenuSchoolLogo {
        /* position: fixed; */
        margin-top: 29%;
        width: 38%;
        left: 31%;
        height: auto;
    }
}

@media screen and (max-width: 560px) {

    .activities {
        /* height: 600px !important; */
    }

    #MenuSchoolLogo {
        /* position: fixed; */
        margin-top: 29%;
        width: 38%;
        left: 31%;
        height: auto;
    }
}

@media screen and (max-width: 1051px) {
    #hr4 {
        display: none;
    }

    .boardOfDirectorsContentPage #list2 {
        /*height: 814px !important;*/
    }

    .janitorContentPage #list2 {
        /*height: 282px !important;*/
    }

    .adminStaffContentPage #list2 {
        /*height: 567px !important;*/
    }

    /* .listName{
        font-size: 2vw !important;
    } */
    /* .title{
        font-size: 2vw !important;
    } */
    .navigation {
        margin: 5px;
    }

    /* .containerBTN-meetteam img{
        width: 330px !important;
    } */
    .overlay {
        font-size: 2.5vw;
    }

    #list1 {
        margin-right: 0px !important;

    }

    .listBG {
        width: 70% !important;
        /*height: 898px !important;*/
    }

    .listBG1 {
        width: 70% !important;
    }

    #hr3 {
        display: block !important;
    }

    .listLeft {
        width: 92% !important;
    }
}

/* @media screen and (max-width: 887px){
    .containerBTN-meetteam img {
        width: 274px !important;
    }
} */
@media screen and (max-width: 780px) {
    #vPsLast {
        margin-right: -99px;
    }

    .facilityGallery img {
        width: 100% !important;
    }

    .facilityGallery ul {
        margin: 0;
        padding: 0;
    }
}

@media screen and (max-width: 768px) {
    body {
        background-position: center 77.5%;
        background-size: 100% 452px;
    }

    .pagepath a {
        padding-left: 1px;
        padding-right: 1px;
    }

    .pagepath {
        margin-left: 11%;
    }

    .container {
        width: 95%;
    }

    .containerBTN-meetteam {
        margin-right: 12px !important;
    }

    .overlay {
        font-size: 3vw !important;
    }

    .containerBTN-meetteam img {
        width: 36vw !important;
        height: 95px !important;
    }

    .banner img {
        width: 100%;
    }

    .activities {
        /* height: 760px; */
    }

    /* .subPage-content-title{
        padding-left: 4%;
    } */
    .subMainMenuBtn {
        position: initial !important;
        padding: 8px 1px !important;
    }


    .index-logo>.toplogo>.school-logo {
        width: fit-content;
    }

    .mobile_fb_button {
        background-size: contain;
        top: 36%;
        right: 18%;
        width: 5%;
    }

    .menu_btn {
        background-size: contain;
        top: 39%;
        right: 8%;
        width: 5%;
    }

    .colourbar>.color_bar {
        /* padding: 28px; */
    }

    .latest_info {
        font: normal normal normal 33px/90px FatRoundBody;
    }

    .upper {
        height: 32%;

    }

    .upper>.word {
        font: normal normal normal 33px/58px FatRoundBody;
        padding-top: 45px;
    }

    .mobile_fb_img {
        position: absolute;
        top: 0%;
        width: 100%;
    }

    /* .menubtn-bar .mobile-only>.toplogo>.school-logo {
        height: 92px;
        width: fit-content;
    } */
}

@media (min-width: 1139px) and (max-width: 1560px) {
    .pvBG {
        top: 93%;
    }
}

@media screen and (max-width: 820px) {
    .menu_list li {
        /*padding-left: 28px;*/
        width: 100%;
    }

    .menu_list li a {
        /*padding-left: 28px;*/
        font-size: 19px;
    }

    .menu_list li table {
        /*padding-left: 28px;*/
        width: 100%;
        text-align: center;
    }

    .pvBG {
        top: 81%;
    }

    #vPsLast {
        margin-right: -84px;
    }

    #pvpTitle {
        float: none !important;
        width: 100% !important;
        text-align: center !important;
        font-size: 5vw !important;
        margin-left: 2%;
        margin-bottom: 6%;
    }

    .pvBG {
        display: none !important;
    }

    .pvpCard {
        margin-left: 0px !important;
    }

    #pvpPic {
        margin-right: 0px !important;
    }

    #pvpPic img {
        width: 96% !important;
    }

    .vPs {
        width: 100% !important;
        text-align: center !important;
    }

    .vPs img {
        width: 96% !important;
    }

    #vPsLast {
        margin-right: 0px !important;
    }

    .Vtitle {
        /* transform: translate(-14%, -50%) !important; */
        /*width: 100% !important;*/
        font-size: 4vw !important;
    }

    .Vname {
        /* transform: translate(-14%, -56%) !important; */
        /*width: 100% !important;*/
        font-size: 4vw !important;
    }

    .pTitle {
        transform: translate(6%, -28%) !important;
        width: 100% !important;
        font-size: 4vw !important;
    }

    .pName {
        transform: translate(6%, 36%) !important;
        width: 100% !important;
        font-size: 4vw !important;
    }
}

@media (min-width: 768px) and (max-width: 1138px) {
    .pvBG {
        top: 82% !important;
    }
}

@media (min-width: 632px) and (max-width: 767px) {
    .pvBG {
        top: 84% !important;
    }
}

@media screen and (max-width: 749px) {
    .containerBTN-meetteam img {
        /* width: 255px !important; */
        height: 80px !important;
    }
}

@media screen and (max-width: 639px) {
    .containerBTN-meetteam img {
        width: 36vw !important;
    }
}

@media screen and (max-width: 614px) {
    body {
        background-position: center 2026px;
        background-size: 100% 546px;
    }

    /* .overlay{
        font-size: 20px;
    } */
    /* .containerBTN-meetteam img {
        width: 40vw !important;
    } */
    .listContainer {
        margin-left: 0px !important;
    }

    .navigation {
        display: none;
    }

    hr.hr1 {
        display: none;
    }

    /* .title{
        font-size: 15px !important;
    } */
    /* .listName{
        font-size: 3vw !important;
    } */
    /* .title{
        font-size: 3vw !important;
    } */
    .listBG {
        /* height: 802px !important; */
        width: 90% !important;
    }

    .listBG1 {
        width: 90% !important;
    }

    .listContainer {
        margin-bottom: 263px;
    }
}

@media screen and (max-width: 541px) {
    .containerBTN-meetteam img {
        /* width: 218px !important; */
        height: 67px !important;
    }
}

/* @media screen and (max-width: 536px){
    .containerBTN-meetteam img{
        width: 218px !important;
    }
} */
@media screen and (max-width: 515px) {

    /* .containerBTN-meetteam img{
        width: 40vw !important;
    } */
    .overlay {
        font-size: 16px;
    }

    .navBTN {
        font-size: 16px;
    }

    .navBTN1 {
        font-size: 16px;
    }
}

@media screen and (max-width: 488px) {

    /* .containerBTN-meetteam img{
        width: 191px !important;
    } */
    #MenuSchoolLogo {
        margin-top: 42%;
        width: 50%;
        left: 25%;
        height: auto;
    }

}

@media screen and (max-width: 442px) {
    .containerBTN-meetteam img {
        /* width: 175px !important; */
        height: 52.5px !important;
    }


}

@media screen and (max-width: 425px) {
    body {
        background-position: center 1857px;
        background-size: 100% 355px;
    }

    .containerBTN-meetteam {
        /* margin-right: 14px !important;
        margin-bottom: 11px !important; */
    }

    .overlay {
        font-size: 3vw !important;
    }

    .container {
        width: 111%;
        justify-content: center;
    }

    .pagepath {
        padding-left: 12px;
        width: 100%;
        font-size: 14px;
        padding-top: 24px;
        padding-bottom: 33px;

    }

    hr.hr1 {
        display: none;
    }

    .navigation {
        display: none;
    }

    .latest_news_area>.button_prev {
        width: 20%;
    }

    .latest_news_area>.news_block_mobile {
        width: 80%;
    }

    .latest_news_area>.button_next {
        width: 20%;
    }

    .latest_news_area>.button_prev>.left_arrow {
        width: 100%;
    }

    .latest_news_area>.button_next>.right_arrow {
        width: 100%;
    }

    /* .latest_news>.color_bar>.a>.color_blk {
        margin-top: 15px;
    } */
}

@media screen and (max-width: 425px) {

    /* li {
        text-align: left;
    } */
    .listName {
        font-size: 16px !important;
    }

    .title {
        font-size: 16px !important;
    }

    .title.index_news {
        font-size: 12px !important;
    }

    .listBG {
        width: 90% !important;
        /*height: 921px !important;*/
    }

    .banner img {
        width: 100%;
        height: 98.24px;
    }

    .containerBTN-meetteam img {
        /* width: 175px !important; */
        height: 52.5px !important;
    }

    .overlay {
        font-size: 3.5vw !important;
    }

    /* .detailBTN{
        position: fixed;
        top:0;
        bottom:0;
        overflow-y:scroll;
        overflow-x:hidden;
    } */
    .langArea1 {
        top: 20px;
    }

    .arrowDown {
        position: fixed;
        top: 138px;
        left: 331px;
        width: 17px;
        height: 10px;
        /* transform: matrix(0, -1, 1, 0, 0, 0); */
        /* transform: rotate(5deg); */
    }

    .abUS {
        display: none;
        top: 209px;
        left: 7px;
        width: 284px;
        height: 19px;
        line-height: 0px;
        font-size: 16px;
    }

    .abUS2 {
        display: none;
        top: 443px;
        left: 7px;
        width: 323px;
        height: 19px;
        line-height: 0px;
        font-size: 16px;
    }

    .acad {
        display: none;
        top: 209px;
        left: 7px;
        width: 284px;
        height: 19px;
        line-height: 0px;
        font-size: 16px;
    }

    .admis {
        display: none;
        top: 231px;
        left: 7px;
        width: 284px;
        height: 19px;
        line-height: 20px;
        font-size: 16px;
    }

    .stuDevelop {
        display: none;
        top: 209px;
        left: 7px;
        width: 383px;
        height: 19px;

        font-size: 16px;
    }

    .newsEvent {
        display: none;
        top: 209px;
        left: 7px;
        width: 383px;
        height: 19px;
        line-height: 20px;
        font-size: 16px;
    }

    .gal {
        display: none;
        top: 209px;
        left: 7px;
        width: 383px;
        height: 19px;

        font-size: 16px;
    }

    .gal li {
        margin-top: -16px;
    }

    .stuDevelop li {
        margin-top: -20px;
    }

    .admis li {
        margin-top: -32px;
    }

    .newsEvent li {
        margin-top: -20px;
    }

    #menu_close1 {
        display: none;

    }

    #menu_close {
        display: block;
        top: 42px;
        /* left: 27px; */
        right: 24px;
        width: 28px;
        height: 28px;
    }

    .menu_list .menuslisting {
        position: fixed;
        top: 20%;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menuslisting label {
        display: block;
        margin-top: 10px;
        margin-bottom: 31px;
        text-align: -webkit-center;
        width: 100%;

    }

    .menu_list #aboutUS {
        position: fixed;
        top: 133px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #academic {
        position: fixed;
        top: 183px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #admissions {
        position: fixed;
        top: 233px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #studentDevelopment {
        position: fixed;
        top: 282px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #NewsAndEvent {
        position: fixed;
        top: 332px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }

    .menu_list #Gallery {
        position: fixed;
        top: 382px;
        left: 0px;
        width: 100%;
        height: 19px;
        font: normal normal bold 16px/19px Raleway;
        text-align: center;
        padding-bottom: 25px;
    }




    .colourbar {
        height: 61px;
    }

    .colourbar>.color_bar {
        /* padding: 15px 0 15px 0; */
        justify-content: space-around;
    }

    .colourbar>.color_bar>.word1 {
        font: normal normal normal 14px/25px FatRoundBody;
        padding: 5px 10px 10px 10px;
        height: 28px;
    }

    .colourbar>.color_bar>.color_blk {
        height: 30px;
        width: 67px;
    }

    .colourbar>.color_bar>.color_blk>.knowmore {
        font: normal normal normal 10px/19px FatRoundBody;
    }

    #MenuSchoolLogo {
        position: fixed;
        left: 19%;
        width: 64%;
        height: auto;
    }

    #menuBG {
        display: none;
    }






}

@media screen and (width: 390px),
screen and (height: 844px) {
    .whiteBG {
        height: 78vh;
        top: 22vh;
    }

    .menu_list .menuslisting {
        font-size: 19px;
    }

    .menu_list #aboutUS {

        font-size: 19px;
    }

    .menu_list #academic {
        font-size: 19px;
    }

    .menu_list #admissions {
        font-size: 19px;
    }

    .menu_list #studentDevelopment {
        font-size: 19px;
    }

    .menu_list #NewsAndEvent {
        font-size: 19px;
    }

    .menu_list #Gallery {
        font-size: 19px;
    }

    #MenuSchoolLogo {
        width: 67%;
        left: 16%;
        height: auto;
    }

    .langArea1 {
        /* left: 81%; */
        top: 22px;
    }

    #menu_detail {
        /* top: 446px; */
        object-fit: contain;
    }

    .arrowDown {
        left: 353px;
        top: 174px;
    }

    .menu_list li {
        font-size: 17px;
        font-family: 'Raleway';
        font-weight: normal;
        text-align: center;
    }

    .abUS {
        left: 9%;
        top: 28.5%;
        text-align: center;
    }

    .abUS2 {
        left: 2%;
        top: 56.5%;
        text-align: center;
    }

    .acad {
        left: 8%;
        top: 28.5%;
        line-height: 4px;
        text-align: center;
    }

    .acad2 {
        left: -10%;
        top: 56.5%;
        text-align: center;
    }

    .admis {
        top: 250px;
        line-height: 39px;
        width: 358px;
        left: -1%;
        text-align: center;
    }

    .admis li a {
        padding-left: 10px;
    }

    .stuDevelop {
        left: -3.5%;
        top: 28.5%;
        line-height: 45px;
        text-align: center;
    }

    .newsEvent {
        left: -12%;
        width: 462px;
        top: 250px;
    }

    .gal {
        left: -4%;
        top: 257px;

        text-align: center;
    }
}

@media screen and (width: 393px),
screen and (height: 851px) {
    .whiteBG {
        height: 78vh !important;
        top: 22vh !important;
    }

    /* #MenuSchoolLogo{
            left: 16%;
            width: 68%;
        } */
}

@media screen and (width: 390px) {
    .listContainer {
        text-align: center;
    }

    .container {
        justify-content: left;
    }

    body {
        background-position: center 1800px;
        background-size: 425px 355px;
    }

}

@media screen and (max-width: 389px) {
    .banner img {
        width: 108%;
    }

    .container {
        width: 114%;
    }

    .containerBTN-meetteam img {
        /* width: 367px !important; */
        height: 50.5px !important;
    }

    .overlay {
        font-size: 1vw;
    }

    .listContainer {
        text-align: right;
    }

    body {
        background-position: center 2563px;
    }

}

@media screen and (max-width: 375px),
screen and (height: 667px) {
    #MenuSchoolLogo {

        left: 25%;
        width: 49%;
        margin-top: 159px;
        height: auto;
    }

    .menuslisting label {
        margin-top: 3px !important;
        margin-bottom: 16px !important;
    }

    /* .whiteBG {
        top: 24% !important;
    } */
}

@media screen and (width: 360px),
screen and (height: 740px) {
    #MenuSchoolLogo {

        left: 25%;
        width: 50%;
        margin-top: 54%;
        height: auto;
    }

    .menuslisting label {
        margin-top: 3px !important;
        margin-bottom: 26px !important;
    }

    /* .whiteBG {
        top: 21% !important;
    } */
}

@media screen and (width: 280px),
screen and (height: 653px) {
    #MenuSchoolLogo {
        margin-top: 67%;
    }

    .langArea1 {
        font: normal normal bold 7px/19px Raleway;
    }

    #menu_close {
        width: 17px;
    }
}

@media screen and (max-height: 1700px) and (max-width: 820px) {
    .whiteBG {
        left: 0px;
        height: 78.5vh;
        width: 100%;
        top: 21.5vh;
    }
}

@media screen and (max-height: 1133px) and (max-width: 820px) {
    .whiteBG {

        height: 78vh;

        top: 22vh;
    }
}

@media screen and (max-height: 850px) and (max-width: 820px) {
    .whiteBG {
        height: 77vh;
        top: 23.5vh;
    }
}

@media screen and (max-height: 680px) and (max-width: 820px) {
    .whiteBG {

        height: 75vh;
        top: 24vh;
    }
}

@media screen and (max-height: 566px) and (max-width: 820px) {
    .whiteBG {
        height: 75vh;
        top: 24vh;
    }
}

@media screen and (max-width: 384px) {
    .activities {
        /* height: 400px !important; */
    }
}
/* ===== Mobile homepage overrides v2 ===== */
@media screen and (max-width: 990px) {
    /* 校訓：拉高整個大格，不改成窄字 */
    #news-section .whole_block,
    #news-section .news-section-layout {
        display: flex !important;
        flex-direction: column !important;
    }

    #news-section .right_block {
        min-height: 420px !important;
        height: auto !important;
    }

    #news-section .right_content {
        min-height: 420px !important;
        height: auto !important;
        top: unset !important;
    }

    #news-section .right_content .slogan {
        width: 80% !important;
        max-width: 80% !important;
        font-size: 34px !important;
        line-height: 1.35 !important;
        padding-top: 55px !important;
        padding-bottom: 22px !important;
        white-space: normal !important;
    }

    #news-section .right_content > .color_blk {
        min-height: 260px !important;
        height: auto !important;
        padding-bottom: 70px !important;
    }

    #news-section .right_content > .color_blk > .joinschool {
        font-size: 21px !important;
        line-height: 34px !important;
        white-space: normal !important;
    }

    /* 四小格：上下拉長 */
    #news-section .left_block {
        grid-template-columns: 1fr 1fr !important;
        width: 100% !important;
    }

    #news-section .grid-item {
        min-height: 165px !important;
        /* height: 165px !important; */
    }

    #news-section .grid-item .box_image {
        width: 52px !important;
        height: 52px !important;
        object-fit: contain !important;
    }

    #news-section .grid-item .box_text {
        /* width: 80% !important; */
        /* max-width: 80% !important; */
        font-size: 21px !important;
        line-height: 1.4 !important;
        white-space: normal !important;
    }

    /* Activities：橫向滑動，左右不要被吃掉 */
    #activities .big-icon-area {
        overflow: visible !important;
    }

    #activities .icon-area.activities-area {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 22px !important;
        overflow-x: auto !important;
        overflow-y: visible !important;
        width: 100% !important;
        max-width: 100% !important;
        padding: 60px 42px 35px 42px !important;
        box-sizing: border-box !important;
        transform: none !important;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x mandatory;
        scroll-padding-left: 42px;
        scroll-padding-right: 42px;
    }

    #activities .icon-area.activities-area::before,
    #activities .icon-area.activities-area::after {
        content: "";
        flex: 0 0 1px;
    }

    #activities .sch-activities-div {
        flex: 0 0 72% !important;
        max-width: 72% !important;
        width: 72% !important;
        margin: 0 !important;
        scroll-snap-align: center;
    }

    #activities .sch-activities-icon-area {
        height: 220px !important;
        overflow: hidden !important;
        border-radius: 14px 14px 0 0 !important;
    }

    #activities .sch-activities-icon {
        width: 100% !important;
        height: 220px !important;
        object-fit: cover !important;
        object-position: center top !important;
    }

    #activities .big-icon-area > .color_bar,
    #latest_news .big-icon-area > .color_bar {
        width: 100% !important;
        min-width: 120px !important;
    }

    #activities .knowmore,
    #latest_news .knowmore {
        min-width: 72px !important;
        width: auto !important;
        white-space: nowrap !important;
        writing-mode: horizontal-tb !important;
        text-orientation: mixed !important;
    }

    #activities .color_blk,
    #latest_news .color_blk {
        min-width: 90px !important;
        width: auto !important;
        padding-left: 18px !important;
        padding-right: 18px !important;
    }

    /* Useful link：保留 icon 圓角，避免被裁掉 */
    #useful_link .left_block_link,
    #useful_link .logos_area,
    #useful_link .useful-logo-pager,
    #useful_link .useful-logo-viewport,
    #useful_link .useful-logo-track,
    #useful_link .useful-logo-page,
    #useful_link .logo_item {
        overflow: visible !important;
    }

    #useful_link #logosArea .logo_item img,
    #useful_link .logo_item img,
    #useful_link .link_box_image {
        width: 82px !important;
        height: 82px !important;
        object-fit: contain !important;
        border-radius: 14px !important;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15) !important;
    }

    #useful_link .useful-logo-pager {
        display: flex !important;
        flex-wrap: wrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 18px !important;
    }

    #useful_link .useful-logo-viewport {
        order: 1 !important;
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    #useful_link .useful-logo-arrow {
        order: 2 !important;
        position: static !important;
        transform: none !important;
        margin-top: 18px !important;
    }

    #useful_link .useful-logo-page {
        padding-top: 18px !important;
        row-gap: 30px !important;
    }

    .right_block_facebook {
        margin-top: 42px !important;
    }
}

/* Activities layout: mobile uses same card format, vertical 2 cards */
@media screen and (max-width: 990px) {
    #activities .activities-slider-wrap {
        width: 100% !important;
        max-width: 100% !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    #activities .activities-mobile-slider {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 20px !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 24px 35px 24px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    #activities .sch-activities-div,
    #activities .activities-slide {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    #activities .sch-activities-div:nth-child(n+3) {
        display: none !important;
    }

    #activities .activities-slide-inner {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }
}


/* Activities mobile: percentage-based fixed layout */
@media screen and (max-width: 990px) {
    #activities .activities-slider-wrap,
    #activities .big-icon-area {
        width: 88% !important;
        max-width: 88% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    #activities .activities-mobile-slider {
        display: grid !important;
        grid-template-columns: 100% !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 0 8% 0 !important;
        gap: 8% !important; /* 上下 icon 之間預留空間 */
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    #activities .sch-activities-div,
    #activities .activities-slide {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-sizing: border-box !important;
    }

    #activities .sch-activities-div:nth-child(n+3) {
        display: none !important;
    }

    #activities .activities-slide-inner {
        display: grid !important;
        grid-template-rows: 68% 32% !important; /* 寫死 icon / 文字位置比例 */
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 100 / 86 !important;
        margin: 0 !important;
        /* padding: 0 !important; */
        box-sizing: border-box !important;
        align-items: start !important;
        overflow: visible !important;
    }

    #activities .sch-activities-icon-area {
        grid-row: 1 !important;
        width: 100% !important;
        height: 100% !important;
        margin: 0 !important;
        overflow: hidden !important;
        border-radius: 5% 5% 0 0 !important;
        box-sizing: border-box !important;
    }

    #activities .sch-activities-icon {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
        margin: 0 !important;
        border-radius: 5% 5% 0 0 !important;
    }

    #activities .sch-activities-text-area {
        grid-row: 2 !important;
        align-self: start !important;
        width: 90% !important;
        height: 100% !important;
        min-height: 0 !important;
        margin: -7% 5% 0 5% !important; /* 固定貼上 icon */
        padding: 4% 5% !important;
        box-sizing: border-box !important;
        position: relative !important;
        top: 0 !important;
        z-index: 2 !important;
        border-radius: 6% !important;
        overflow: hidden !important;
    }

    #activities .sch-activities-title-text {
        height: 55% !important;
        min-height: 0 !important;
        font-size: clamp(13px, 3.7vw, 16px) !important;
        line-height: 1.35 !important;
        overflow: hidden !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 2 !important;
        -webkit-box-orient: vertical !important;
    }

    #activities .sch-activities-date {
        height: 25% !important;
        margin-top: 3% !important;
        font-size: clamp(11px, 3.2vw, 14px) !important;
        line-height: 1.2 !important;
        overflow: hidden !important;
    }
}

/* Mobile refinements: news 2 cards, slimmer activities, squarer motto grids */
@media screen and (max-width: 990px) {
    /* News：手機只顯示前 2 個 */
    #latest_news .latest-news-cards-area > .sch-news-div:nth-child(n+3),
    #latest_news .latest-news-cards-area > .sch-news-div:nth-of-type(n+3) {
        display: none !important;
    }

    /* Activities：保留 2 個，但把 card 調瘦一點 */
    #activities .activities-slider-wrap,
    #activities .big-icon-area {
        width: 82% !important;
        max-width: 82% !important;
    }

    #activities .activities-mobile-slider {
        gap: 7% !important;
        padding-bottom: 7% !important;
    }

    #activities .activities-slide-inner {
        aspect-ratio: 100 / 74 !important;
        grid-template-rows: 66% 34% !important;
    }

    #activities .sch-activities-text-area {
        width: 88% !important;
        height: 92% !important;
        margin: -6% 6% 0 6% !important;
        padding: 3.5% 5% !important;
    }

    /* 校訓下面四格：往下拉，比例較接近正方形 */
    #news-section .news-section-links,
    #news-section .whole_block > .left_block {
        margin-top: 8% !important;
    }

    #news-section .grid-item {
        aspect-ratio: 1 / 1 !important;
        min-height: 0 !important;
        height: auto !important;
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    #news-section .grid-item .box_image {
        width: 38% !important;
        height: 38% !important;
        max-width: 58px !important;
        max-height: 58px !important;
        object-fit: contain !important;
    }

    #news-section .grid-item .box_text {
        margin-top: 8% !important;
        font-size: clamp(16px, 5vw, 21px) !important;
        line-height: 1.25 !important;
        text-align: center !important;
    }
}

/* Mobile final fix: activities below title, centered; compact motto area */
@media screen and (max-width: 990px) {
    /* Activities：寫死標題和圖片區不能重疊 */
    #activities .news_top {
        position: relative !important;
        z-index: 3 !important;
        margin-bottom: 8% !important;
        padding-top: 10% !important;
    }

    #activities .activities-slider-wrap,
    #activities .big-icon-area {
        position: relative !important;
        z-index: 1 !important;
        clear: both !important;
        width: 72% !important;
        max-width: 72% !important;
        margin: 0 auto !important;
        padding-top: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    #activities .activities-mobile-slider {
        display: grid !important;
        grid-template-columns: 100% !important;
        justify-items: center !important;
        align-items: start !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 0 8% 0 !important;
        gap: 9% !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    #activities .sch-activities-div,
    #activities .activities-slide {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 100% !important;
        margin: 0 auto !important;
        position: relative !important;
        top: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    #activities .activities-slide-inner {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 100 / 72 !important;
        grid-template-rows: 65% 35% !important;
        margin: 0 auto !important;
        position: relative !important;
        top: 0 !important;
    }

    #activities .sch-activities-icon-area {
        width: 100% !important;
        height: 100% !important;
        position: relative !important;
        top: 0 !important;
        margin: 0 !important;
    }

    #activities .sch-activities-text-area {
        width: 88% !important;
        height: 88% !important;
        margin: -5% auto 0 auto !important;
        position: relative !important;
        top: 0 !important;
    }

    /* 校訓：往下拉，貼近下面四格 */
    #news-section .news-section-motto,
    #news-section .whole_block > .right_block {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        transform: translateY(8%) !important;
    }

    #news-section .news-section-links,
    #news-section .whole_block > .left_block {
        margin-top: 0% !important;
        padding-top: 0 !important;
    }

    /* 四格：不要正方形，改短一點 */
    #news-section .grid-item {
        aspect-ratio: 1 / 0.72 !important;
        min-height: 0 !important;
        height: auto !important;
        padding: 8% 5% !important;
        box-sizing: border-box !important;
    }

    #news-section .grid-item .box_image {
        width: 34% !important;
        height: 34% !important;
        max-width: 50px !important;
        max-height: 50px !important;
    }

    #news-section .grid-item .box_text {
        margin-top: 5% !important;
        font-size: clamp(15px, 4.6vw, 19px) !important;
        line-height: 1.2 !important;
    }
}

/* Mobile fix: activities content must stay below title; news appears earlier */
@media screen and (max-width: 990px) {
    /* Activities：整個 section 用正常上下排列，避免內容浮上去疊到 title */
    #activities.activities,
    #activities.activities.main_page_section {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        position: relative !important;
        overflow: visible !important;
    }

    #activities .news_top,
    #activities .activities_top {
        order: 1 !important;
        position: relative !important;
        display: flex !important;
        width: 100% !important;
        z-index: 5 !important;
        margin: 0 0 10% 0 !important;
        padding-top: 10% !important;
        transform: none !important;
        clear: both !important;
        box-sizing: border-box !important;
    }

    #activities .activities-slider-wrap,
    #activities .big-icon-area {
        order: 2 !important;
        position: relative !important;
        display: block !important;
        float: none !important;
        clear: both !important;
        z-index: 1 !important;
        width: 72% !important;
        max-width: 72% !important;
        margin: 0 auto !important;
        padding-top: 0 !important;
        top: auto !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    #activities .activities-mobile-slider {
        position: relative !important;
        top: auto !important;
        transform: none !important;
        margin-top: 0 !important;
    }

    #activities .sch-activities-div,
    #activities .activities-slide,
    #activities .activities-slide-inner,
    #activities .sch-activities-icon-area {
        position: relative !important;
        top: auto !important;
        transform: none !important;
    }

    /* News：手機版不要等 scroll trigger 那麼低才出現，先顯示出來 */
    #latest_news .sch-news-div {
        opacity: 1 !important;
        transform: translateY(0) !important;
        transition: opacity 0.45s ease, transform 0.45s ease !important;
    }
}

/* Mobile fix: news content below title; wider/shorter announcement bar */
@media screen and (max-width: 990px) {
    /* News：跟 activities 一樣，內容一定在標題下面，不重疊 */
    #latest_news.latest_news,
    #latest_news.latest_news.main_page_section {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        position: relative !important;
        overflow: visible !important;
    }

    #latest_news .news_top {
        order: 1 !important;
        position: relative !important;
        display: flex !important;
        width: 100% !important;
        z-index: 5 !important;
        margin: 0 0 8% 0 !important;
        padding-top: 10% !important;
        transform: none !important;
        clear: both !important;
        box-sizing: border-box !important;
    }

    #latest_news .latest-news-list-wrap,
    #latest_news .big-icon-area {
        order: 2 !important;
        position: relative !important;
        display: block !important;
        float: none !important;
        clear: both !important;
        z-index: 1 !important;
        width: 82% !important;
        max-width: 82% !important;
        margin: 0 auto !important;
        padding-top: 0 !important;
        top: auto !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    #latest_news .latest-news-cards-area,
    #latest_news .icon-area {
        position: relative !important;
        top: auto !important;
        transform: none !important;
        margin-top: 0 !important;
    }

    #latest_news .sch-news-div,
    #latest_news .sch-news-icon-area,
    #latest_news .sch-news-text-area {
        position: relative !important;
        top: auto !important;
        transform: none !important;
    }

    /* Announcement bar：已改由 style.css 用百分比控制，手機版 override 暫時停用
    .announcement_wording_area.main_page_section {
        width: 96% !important;
        max-width: 96% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding: 2% 4% !important;
        min-height: 0 !important;
        height: auto !important;
        display: flex !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    .announcement_wording_area .announcement_wording_image {
        flex: 0 0 12% !important;
        max-width: 12% !important;
        margin: 0 5% 0 0 !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }

    .announcement_wording_area .announcement_wording_text {
        flex: 1 1 83% !important;
        max-width: 83% !important;
        margin: 0 !important;
        padding: 0 !important;
        line-height: 1.4 !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
    }

    .announcement_wording_area .announcement_wording_image .icon,
    .announcement_wording_area img.icon {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }
    */
}

/* Mobile fix: force Activities cards/content centered */
@media screen and (max-width: 990px) {
    #activities .activities-slider-wrap,
    #activities .big-icon-area {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    #activities .activities-mobile-slider {
        display: grid !important;
        grid-template-columns: 72% !important;
        justify-content: center !important;
        justify-items: center !important;
        align-items: start !important;
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    #activities .sch-activities-div,
    #activities .activities-slide,
    #activities .activities-slide-inner {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        justify-self: center !important;
        align-self: start !important;
        box-sizing: border-box !important;
        /* padding-left: 85px; */
    }

    #activities .sch-activities-icon-area,
    #activities .sch-activities-icon {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    #activities .sch-activities-text-area {
        width: 88% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: left !important;
        left: auto !important;
        right: auto !important;
    }
}

/* Mobile fix: reset motto position + force Activities container centered */
@media screen and (max-width: 990px) {
    /* 校訓位置改回去，不再下移 */
    #news-section .news-section-motto,
    #news-section .whole_block > .right_block {
        transform: none !important;
        margin-top: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: initial !important;
    }

    /* Activities：縮小外層容器，讓內容只能留在中間 */
    #activities .activities-slider-wrap,
    #activities .big-icon-area {
        width: 72% !important;
        max-width: 72% !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        float: none !important;
        clear: both !important;
        box-sizing: border-box !important;
        text-align: center !important;
    }

    #activities .activities-mobile-slider {
        display: grid !important;
        grid-template-columns: 100% !important;
        justify-content: center !important;
        justify-items: center !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin: 0 auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    #activities .sch-activities-div,
    #activities .activities-slide,
    #activities .activities-slide-inner {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        left: auto !important;
        right: auto !important;
        justify-self: center !important;
        box-sizing: border-box !important;
    }

    #activities .sch-activities-text-area {
        width: 88% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        left: auto !important;
        right: auto !important;
    }
}

/* Mobile fix: restore motto slide-in animation */
@media screen and (max-width: 990px) {
    /* 初始狀態：校訓從左���畫面外準備進來 */
    #news-section .whole_block > .right_block,
    #news-section .news-section-layout > .right_block,
    #news-section .news-section-motto {
        opacity: 0 !important;
        transform: translateX(-120vw) !important;
        transition: transform 0.9s ease-out, opacity 0.9s ease-out !important;
        will-change: transform, opacity;
    }

    /* 觸發後：滑回原位 */
    #news-section .whole_block.visib > .right_block,
    #news-section .news-section-layout.visib > .right_block,
    #news-section .whole_block.visib > .news-section-motto,
    #news-section .news-section-layout.visib > .news-section-motto {
        opacity: 1 !important;
        transform: translateX(0) !important;
    }

    /* 四格維持自己原本位置，不跟校訓一起被 reset 影響 */
    #news-section .whole_block > .left_block,
    #news-section .news-section-layout > .left_block,
    #news-section .news-section-links {
        transition: transform 0.9s ease-out, opacity 0.9s ease-out !important;
    }
}

/* Mobile fix: restore News card animation */
@media screen and (max-width: 990px) {
    /* 之前為了提早顯示把 news 強制 opacity:1 / transform:none，會蓋掉動畫；這裡改回可動畫狀態 */
    #latest_news .latest-news-cards-area > .sch-news-div,
    #latest_news .icon-area > .sch-news-div {
        opacity: 0 !important;
        transform: translateY(20px) !important;
        transition: opacity 0.9s ease-out, transform 0.9s ease-out !important;
        will-change: opacity, transform;
    }

    /* JS 加上 visible 後才淡入 + 往上回到原位 */
    #latest_news .latest-news-cards-area > .sch-news-div.visible,
    #latest_news .icon-area > .sch-news-div.visible,
    #latest_news .latest-news-cards-area > .sch-news-div.icon-area.visible,
    #latest_news .icon-area .visible {
        opacity: 1 !important;
        transform: translateY(0) !important;
    }

    /* 手機仍然只顯示前兩個 news */
    #latest_news .latest-news-cards-area > .sch-news-div:nth-child(n+3),
    #latest_news .latest-news-cards-area > .sch-news-div:nth-of-type(n+3) {
        display: none !important;
    }
}

/* Mobile menu: adaptive safe area, without changing school logo/header z-index */
@media screen and (max-width: 990px) {
    .m_menu {
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        margin-top: 0 !important;
        box-sizing: border-box !important;
        top: clamp(82px, 18vw, 126px) !important;
    }

    .m_menu:not(.hide) {
        max-height: calc(100vh - clamp(82px, 18vw, 126px)) !important;
        overflow-y: auto !important;
        -webkit-overflow-scrolling: touch;
    }
}

@media screen and (max-width: 480px) {
    .m_menu {
        top: clamp(78px, 20vw, 112px) !important;
    }

    .m_menu:not(.hide) {
        max-height: calc(100vh - clamp(78px, 20vw, 112px)) !important;
    }
}

/* Mobile useful link: lock icon position, text can only grow downward */
@media screen and (max-width: 990px) {
    #useful_link .useful-logo-page {
        align-items: start !important;
        justify-items: center !important;
        row-gap: 9% !important;
        overflow: visible !important;
    }

    #useful_link .logo_item {
        display: grid !important;
        grid-template-rows: 82px auto !important;
        align-items: start !important;
        justify-items: center !important;
        align-self: start !important;
        justify-self: center !important;
        width: 100px !important;
        height: auto !important;
        min-height: 132px !important;
        overflow: visible !important;
        text-align: center !important;
        box-sizing: border-box !important;
    }

    #useful_link #logosArea .logo_item img,
    #useful_link .logo_item img,
    #useful_link .link_box_image {
        grid-row: 1 !important;
        align-self: start !important;
        justify-self: center !important;
        width: 82px !important;
        height: 82px !important;
        min-width: 82px !important;
        min-height: 82px !important;
        max-width: 82px !important;
        max-height: 82px !important;
        margin: 0 auto !important;
        object-fit: contain !important;
    }

    #useful_link .logo_item_text {
        grid-row: 2 !important;
        width: 100% !important;
        margin-top: 8px !important;
        font-size: 12px !important;
        line-height: 1.25 !important;
        text-align: center !important;
        color: #333 !important;
        word-break: break-word !important;
        overflow-wrap: anywhere !important;
        white-space: normal !important;
    }
}

/* Mobile/tablet banner: keep image following viewport below 980px */
@media screen and (max-width: 980px) {
    .home_page_section.photo-container-section,
    .photo-container-section {
        width: 100% !important;
        max-width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        min-height: 0 !important;
        position: relative !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    .home_page_section .sub_sect,
    .photo-container-section .sub_sect,
    #sider1.photo_sider,
    #sider1 .photo-container,
    #sider1 .photo_display_area,
    #sider1 .is-Photo {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        position: relative !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        margin: 0 auto !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }

    #sider1 .photo,
    #sider1 .temporary-black-background {
        width: 100% !important;
        max-width: 100% !important;
        height: 100% !important;
        min-height: 0 !important;
        position: absolute !important;
        left: 0 !important;
        right: 0 !important;
        top: 0 !important;
        bottom: 0 !important;
        margin: auto !important;
        background-position: center center !important;
        background-size: cover !important;
        background-repeat: no-repeat !important;
        box-sizing: border-box !important;
    }

    #sider1 .photo video,
    #sider1 video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}

/* Mobile News: make cards larger, matching Activities sizing */
@media screen and (max-width: 990px) {
    #latest_news .latest-news-list-wrap,
    #latest_news .big-icon-area {
        width: 72% !important;
        max-width: 72% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    #latest_news .latest-news-cards-area,
    #latest_news .icon-area {
        display: grid !important;
        grid-template-columns: 100% !important;
        justify-content: center !important;
        justify-items: center !important;
        align-items: start !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 9% !important;
        margin: 0 auto !important;
        padding: 0 0 8% 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    #latest_news .sch-news-div {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        justify-self: center !important;
        box-sizing: border-box !important;
    }

    #latest_news .sch-news-div > div {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }

    #latest_news .sch-news-icon-area {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 100 / 65 !important;
        overflow: hidden !important;
        border-radius: 5% 5% 0 0 !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    #latest_news .sch-news-icon {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        margin: 0 !important;
    }

    #latest_news .sch-news-text-area {
        width: 88% !important;
        min-height: 70px !important;
        margin: -5% auto 0 auto !important;
        padding: 4% 5% !important;
        background: #fff !important;
        border-radius: 6% !important;
        position: relative !important;
        z-index: 2 !important;
        box-sizing: border-box !important;
    }

    #latest_news .sch-news-title-text {
        height: auto !important;
        min-height: 0 !important;
        font-size: clamp(13px, 3.7vw, 16px) !important;
        line-height: 1.35 !important;
    }

    #latest_news .sch-news-button-area {
        display: flex !important;
        align-items: flex-start !important;
    }

    #latest_news .sch-news-category {
        align-self: flex-start !important;
        height: auto !important;
        line-height: 1.4 !important;
        margin-right: 0 !important;
    }

    #latest_news .sch-news-colorline {
        margin-left: 0 !important;
    }
}

/* School logo: keep original <=750px rules, only cap the size */
@media screen and (max-width: 750px) {
    .school-logo {
        max-width: 60% !important;
        max-height: 60% !important;
    }
}

/* Facebook block responsive fix
   Keep the Facebook Page Plugin at its natural 500px layout, then scale the
   whole widget down on narrow screens instead of letting the iframe content
   get squeezed. */
@media screen and (max-width: 714px) {
    .right_block_facebook {
        width: 70vw !important;
        max-width: 500px !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        overflow: visible !important;
    }

    .right_block_facebook .fb_iframe_widget,
    .right_block_facebook .fb_iframe_widget span,
    .right_block_facebook .fb_iframe_widget iframe {
        width: 500px !important;
        max-width: none !important;
        min-width: 0 !important;
    }

    .right_block_facebook .fb_iframe_widget {
        display: block !important;
        transform: scale(calc((70vw) / 500));
        transform-origin: top left;
    }
}


/* Mobile final patch: fix rounded corners, show full Activities images, remove News title background */
@media screen and (max-width: 990px) {
    /* News：移除 title 白色 background，只保留文字 */
    #latest_news .sch-news-text-area,
    #latest_news .sch-news-title-text,
    #latest_news .news-title-text,
    #latest_news .title,
    #latest_news .title.index_news {
        background: transparent !important;
        background-color: transparent !important;
        box-shadow: none !important;
    }

    /* Activities：外框大小保留，修正圓角由外層控制，避免圖片/文字層各自圓角崩掉 */
    #activities .activities-slide-inner {
        overflow: visible !important;
        border-radius: 14px !important;
    }

    #activities .sch-activities-icon-area {
        overflow: hidden !important;
        border-radius: 14px 14px 0 0 !important;
        background: transparent !important;
    }

    /* Activities 圖片：按比例縮小至高度剛好填滿，置中；不再用 cover 裁走左右/上下內容 */
    #activities .sch-activities-icon {
        width: auto !important;
        height: 100% !important;
        min-width: 0 !important;
        max-width: none !important;
        max-height: 100% !important;
        object-fit: contain !important;
        object-position: center center !important;
        margin-left: auto !important;
        margin-right: auto !important;
        border-radius: 0 !important;
    }

    #activities .sch-activities-text-area {
        border-radius: 14px !important;
    }
}

/* Mobile final patch 2: News bottom rounded corners + lower News title */
@media screen and (max-width: 990px) {
    /* News：下面兩隻角都要圓角 */
    #latest_news .sch-news-text-area {
        border-radius: 0 0 14px 14px !important;
        overflow: hidden !important;
        margin-top: 0 !important;
        padding-top: 6% !important;
    }

    /* News 標題再往下一點 */
    #latest_news .sch-news-title-text,
    #latest_news .news-title-text {
        /* margin-top: 3% !important; */
    }
}

/* Mobile final patch 3: round bottom corners of News image itself */
@media screen and (max-width: 990px) {
    /* News 圖片外框：上下四角都圓，確保圖片底部唔再係直角 */
    #latest_news .sch-news-icon-area,
    #latest_news .sch-news-icon-area a,
    #latest_news .sch-news-icon-area picture {
        overflow: hidden !important;
        border-radius: 14px !important;
        -webkit-mask-image: -webkit-radial-gradient(white, black);
    }

    /* News 圖片本身都加圓角，避免 img 蓋過外框圓角 */
    #latest_news .sch-news-icon,
    #latest_news .sch-news-icon-area img {
        border-radius: 14px !important;
        overflow: hidden !important;
        display: block !important;
    }
}

/* Mobile final patch 4: round top corners of School Activities image */
@media screen and (max-width: 990px) {
    /* School Activities 圖片外框：補返上面兩隻圓角 */
    #activities .sch-activities-icon-area,
    #activities .sch-activities-icon-area a,
    #activities .sch-activities-icon-area picture {
        overflow: hidden !important;
        border-radius: 14px 14px 0 0 !important;
        -webkit-mask-image: -webkit-radial-gradient(white, black);
    }

    /* 圖片本身都補上圓角，避免 img 蓋住外框 */
    #activities .sch-activities-icon,
    #activities .sch-activities-icon-area img {
        border-radius: 14px 14px 0 0 !important;
        overflow: hidden !important;
        display: block !important;
    }
}

/* Mobile final patch 5: keep News 更多 button/color_bar below sch-news-btn-area */
@media screen and (max-width: 990px) {
    /* News card 入面嘅分類/日期 button area 先保持正常 flow，唔好同更多掣撞位 */
    #latest_news .sch-news-btn-area {
        position: relative !important;
        z-index: 2 !important;
        margin-bottom: 14px !important;
        padding-bottom: 0 !important;
        clear: both !important;
    }

    /* 更多 color_bar 往下推，避開上面 sch-news-btn-area */
    #latest_news .big-icon-area > .color_bar,
    #latest_news .color_bar {
        position: relative !important;
        z-index: 1 !important;
        clear: both !important;
        margin-top: 18px !important;
        top: auto !important;
        transform: none !important;
    }

    /* 如果更多掣在 color_blk 入面，亦確保不被拉上去重疊 */
    #latest_news .color_blk,
    #latest_news .knowmore {
        position: relative !important;
        top: auto !important;
        transform: none !important;
    }
}


/* Mobile final patch 6: responsive News/Activities titles, dates, rounded Activities image, fixed more buttons */
@media screen and (max-width: 500px) {
    /* News / Activities title：500px 以下按 viewport 等比例縮細 */
    #latest_news .news_top,
    #latest_news .activities_top,
    #activities .news_top,
    #activities .activities_top {
        transform: scale(calc(100vw / 500)) !important;
        transform-origin: top center !important;
        width: 500px !important;
        max-width: 500px !important;
        align-self: center !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media screen and (max-width: 990px) {
    /* Activities 圖片：上下四角都圓角（包括圖片下面） */
    #activities .sch-activities-icon-area,
    #activities .sch-activities-icon-area a,
    #activities .sch-activities-icon-area picture,
    #activities .sch-activities-icon,
    #activities .sch-activities-icon-area img {
        border-radius: 14px !important;
        overflow: hidden !important;
        -webkit-mask-image: -webkit-radial-gradient(white, black);
    }

    /* Activities 日期：窄屏時不可被吃掉，讓文字區可自然增高 */
    #activities .activities-slide-inner {
        grid-template-rows: auto auto !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        overflow: visible !important;
    }

    #activities .sch-activities-text-area {
        height: auto !important;
        min-height: 82px !important;
        overflow: visible !important;
        padding-bottom: 5% !important;
    }

    #activities .sch-activities-title-text {
        height: auto !important;
        min-height: 0 !important;
    }

    #activities .sch-activities-date {
        display: block !important;
        height: auto !important;
        min-height: 1.35em !important;
        margin-top: 6px !important;
        line-height: 1.35 !important;
        overflow: visible !important;
        white-space: normal !important;
        word-break: keep-all !important;
        overflow-wrap: normal !important;
    }

    /* News / Activities 更多 btn：固定在該區底部，永遠在兩個 post 後面 */
    #latest_news .latest-news-list-wrap,
    #latest_news .big-icon-area,
    #activities .activities-slider-wrap,
    #activities .big-icon-area {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        overflow: visible !important;
        padding-bottom: 0 !important;
    }

    #latest_news .latest-news-cards-area,
    #latest_news .icon-area,
    #activities .activities-mobile-slider,
    #activities .icon-area.activities-area {
        order: 1 !important;
        position: relative !important;
        z-index: 2 !important;
        margin-bottom: 22px !important;
        padding-bottom: 0 !important;
        overflow: visible !important;
    }

    #latest_news .big-icon-area > .color_bar,
    #latest_news .color_bar,
    #activities .big-icon-area > .color_bar,
    #activities .color_bar {
        order: 2 !important;
        position: relative !important;
        display: flex !important;
        z-index: 1 !important;
        clear: both !important;
        align-self: center !important;
        width: auto !important;
        min-width: 120px !important;
        margin: 0 auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    #latest_news .color_blk,
    #latest_news .knowmore,
    #activities .color_blk,
    #activities .knowmore {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
        white-space: nowrap !important;
        z-index: 1 !important;
    }
}


/* Mobile final patch 7: only title text scales, posts and more are separate, Activities image stays horizontal */
@media screen and (max-width: 500px) {
    /* 只縮 title 文字，不縮線條/整個 title container */
    #latest_news .news_top,
    #latest_news .activities_top,
    #activities .news_top,
    #activities .activities_top {
        transform: none !important;
        width: 100% !important;
        max-width: 100% !important;
    }

    #latest_news .news_top .word1,
    #latest_news .news_top .word2,
    #latest_news .news_top .text,
    #latest_news .news_top .title,
    #latest_news .news_top h1,
    #latest_news .news_top h2,
    #latest_news .activities_top .word1,
    #latest_news .activities_top .word2,
    #latest_news .activities_top .text,
    #latest_news .activities_top .title,
    #latest_news .activities_top h1,
    #latest_news .activities_top h2,
    #activities .news_top .word1,
    #activities .news_top .word2,
    #activities .news_top .text,
    #activities .news_top .title,
    #activities .news_top h1,
    #activities .news_top h2,
    #activities .activities_top .word1,
    #activities .activities_top .word2,
    #activities .activities_top .text,
    #activities .activities_top .title,
    #activities .activities_top h1,
    #activities .activities_top h2,
    #latest_news .colourbar > .color_bar > .word1,
    #activities .colourbar > .color_bar > .word1 {
        font-size: clamp(24px, 8vw, 40px) !important;
        line-height: 1.1 !important;
        transform: none !important;
        white-space: nowrap !important;
    }
}

@media screen and (max-width: 990px) {
    /* section 用正常 flow：title -> posts -> more，三者分開 */
    #latest_news.latest_news,
    #latest_news.latest_news.main_page_section,
    #activities.activities,
    #activities.activities.main_page_section {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
    }

    #latest_news .news_top,
    #latest_news .activities_top,
    #activities .news_top,
    #activities .activities_top {
        order: 1 !important;
        flex: 0 0 auto !important;
        position: relative !important;
        z-index: 3 !important;
        margin-bottom: 28px !important;
    }

    #latest_news .latest-news-list-wrap,
    #activities .activities-slider-wrap,
    #latest_news .big-icon-area,
    #activities .big-icon-area {
        order: 2 !important;
        display: flex !important;
        flex-direction: column !important;
        flex: 0 0 auto !important;
        position: relative !important;
        overflow: visible !important;
        height: auto !important;
        min-height: 0 !important;
        z-index: 1 !important;
    }

    #latest_news .latest-news-cards-area,
    #activities .activities-mobile-slider {
        order: 1 !important;
        display: grid !important;
        flex: 0 0 auto !important;
        position: relative !important;
        z-index: 1 !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        margin-bottom: 28px !important;
    }

    /* 防止舊的 .icon-area 規則同時影響 more/color_bar，造成重疊 */
    #latest_news .latest-news-cards-area {
        grid-template-columns: 100% !important;
        gap: 24px !important;
        padding-bottom: 0 !important;
        margin-top: 40px !important;
    }

    #activities .activities-mobile-slider {
        grid-template-columns: 100% !important;
        gap: 24px !important;
        padding-bottom: 0 !important;
        padding-top: 40px !important;
    }

    #latest_news .sch-news-div,
    #activities .sch-activities-div,
    #activities .activities-slide {
        position: relative !important;
        z-index: 1 !important;
        margin-bottom: 0 !important;
    }

    /* 更多一定在 posts 後面，不能 absolute / float / transform 疊上去 */
    #latest_news .big-icon-area > .color_bar,
    #latest_news .latest-news-list-wrap > .color_bar,
    #latest_news .color_bar,
    #activities .big-icon-area > .color_bar,
    #activities .activities-slider-wrap > .color_bar,
    #activities .color_bar {
        order: 2 !important;
        flex: 0 0 auto !important;
        position: relative !important;
        display: flex !important;
        float: none !important;
        clear: both !important;
        align-self: center !important;
        z-index: 0 !important;
        margin: 0 auto 0 auto !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    #latest_news .color_blk,
    #latest_news .knowmore,
    #activities .color_blk,
    #activities .knowmore {
        position: relative !important;
        display: flex !important;
        float: none !important;
        clear: both !important;
        z-index: 0 !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }

    /* Activities：card/圖片框固定為橫向長方形，不要正方形 */
    #activities .activities-slide-inner {
        display: grid !important;
        grid-template-rows: auto auto !important;
        width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
        overflow: visible !important;
    }

    #activities .sch-activities-icon-area {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        min-height: 0 !important;
        border-radius: 14px !important;
        overflow: hidden !important;
        background: transparent !important;
    }

    /* 圖片填滿外框並置中裁切，避免整體位置被 transform 拉偏 */
    #activities .sch-activities-icon,
    #activities .sch-activities-icon-area img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center center !important;
        border-radius: 14px !important;
        background: transparent !important;
    }

    #activities .sch-activities-text-area {
        width: 88% !important;
        height: auto !important;
        min-height: 82px !important;
        margin: 0 auto 0 auto !important;
        overflow: visible !important;
    }
}


/* Mobile final patch 8: restore Activities radius, center More, scale title words, scale Activities white box */
@media screen and (max-width: 500px) {
    /* 最新消息 / 活動花絮：只縮中文字體本身 */
    #latest_news .word1,
    #latest_news .word2,
    #latest_news .news-title-text,
    #latest_news .news_top [class*="word"],
    #latest_news .news_top [class*="title"],
    #latest_news .news_top h1,
    #latest_news .news_top h2,
    #activities .word1,
    #activities .word2,
    #activities .activities_top [class*="word"],
    #activities .activities_top [class*="title"],
    #activities .news_top [class*="word"],
    #activities .news_top [class*="title"],
    #activities .activities_top h1,
    #activities .activities_top h2,
    #activities .news_top h1,
    #activities .news_top h2 {
        font-size: calc(40px * (100vw / 500)) !important;
        line-height: 1.08 !important;
        transform: none !important;
        white-space: nowrap !important;
    }
}

@media screen and (max-width: 990px) {
    /* Activities：四個圓角強制恢復，外框、連結、picture、img 全部一起圓 */
    #activities .activities-slide-inner,
    #activities .sch-activities-icon-area,
    #activities .sch-activities-icon-area a,
    #activities .sch-activities-icon-area picture,
    #activities .sch-activities-icon,
    #activities .sch-activities-icon-area img {
        border-radius: 14px !important;
        overflow: hidden !important;
        -webkit-mask-image: -webkit-radial-gradient(white, black) !important;
        clip-path: inset(0 round 14px) !important;
    }

    /* Activities 圖片框保持橫向長方形，圖片填滿並置中裁切 */
    #activities .sch-activities-icon-area {
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        background: transparent !important;
    }

    #activities .sch-activities-icon,
    #activities .sch-activities-icon-area img {
        width: 100% !important;
        height: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center center !important;
        background: transparent !important;
    }

    /* More / 更多：左右置中，並且一定在 posts 下面 */
    #latest_news .big-icon-area > .color_bar,
    #latest_news .latest-news-list-wrap > .color_bar,
    #latest_news .color_bar,
    #activities .big-icon-area > .color_bar,
    #activities .activities-slider-wrap > .color_bar,
    #activities .color_bar {
        order: 99 !important;
        align-self: center !important;
        justify-self: center !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: fit-content !important;
        min-width: 120px !important;
        max-width: max-content !important;
        margin-left: auto !important;
        margin-right: auto !important;
        margin-top: 24px !important;
        float: none !important;
        clear: both !important;
        position: relative !important;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%) !important;
        top: auto !important;
        bottom: auto !important;
        z-index: 0 !important;
    }

    #latest_news .color_blk,
    #latest_news .knowmore,
    #activities .color_blk,
    #activities .knowmore {
        margin-left: auto !important;
        margin-right: auto !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }

    /* Activities 白色文字框跟文字一起縮，不要仍然太大 */
    #activities .sch-activities-text-area {
        width: 82% !important;
        min-height: 0 !important;
        height: auto !important;
        margin: -4% auto 0 auto !important;
        padding: clamp(8px, 2.6vw, 14px) clamp(10px, 3vw, 16px) !important;
        border-radius: clamp(10px, 3vw, 14px) !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    #activities .sch-activities-title-text {
        font-size: clamp(12px, 3.3vw, 16px) !important;
        line-height: 1.28 !important;
        height: auto !important;
        min-height: 0 !important;
    }

    #activities .sch-activities-date {
        font-size: clamp(10px, 2.8vw, 13px) !important;
        line-height: 1.25 !important;
        height: auto !important;
        min-height: 0 !important;
        margin-top: 4px !important;
    }
}


/* Mobile final patch 9: Activities image fills rounded area */
@media screen and (max-width: 990px) {
    /* 外框：固定比例、置中、負責圓角裁切 */
    #activities .sch-activities-icon-area {
        width: 100% !important;
        aspect-ratio: 16 / 9 !important;
        height: auto !important;
        overflow: hidden !important;
        border-radius: 14px !important;
        position: relative !important;
        display: block !important;
        text-align: initial !important;
    }

    /* 圖片：填滿外框，上下吃滿，左右由外框裁切，保持置中 */
    #activities .sch-activities-icon,
    #activities .sch-activities-icon-area img,
    #activities .ach-activities-icon,
    #activities .ach-activities-icon-area img {
        width: 100% !important;
        height: 100% !important;
        min-width: 100% !important;
        max-width: none !important;
        max-height: none !important;
        object-fit: cover !important;
        object-position: center center !important;
        margin: 0 !important;
        transform: none !important;
        display: block !important;
        border-radius: 14px !important;
    }
}

/* Mobile final patch 10: news_wording scales below 500px */
@media screen and (max-width: 500px) {
    .news_wording {
        font-size: calc(40px * (100vw / 500)) !important;
        line-height: 1.08 !important;
        white-space: nowrap !important;
    }
}

/* Patch: center 更多 / More button under 990px */
@media screen and (max-width: 990px) {
    #latest_news .big-icon-area,
    #latest_news .latest-news-list-wrap,
    #activities .big-icon-area,
    #activities .activities-slider-wrap {
        text-align: center !important;
    }

    #latest_news .big-icon-area > .color_bar,
    #latest_news .latest-news-list-wrap > .color_bar,
    #latest_news .color_bar,
    #activities .big-icon-area > .color_bar,
    #activities .activities-slider-wrap > .color_bar,
    #activities .color_bar {
        width: fit-content !important;
        max-width: max-content !important;
        min-width: 120px !important;
        margin: 100px auto 0 auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        translate: none !important;
        position: relative !important;
        float: none !important;
        clear: both !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    #latest_news .color_blk,
    #latest_news .knowmore,
    #activities .color_blk,
    #activities .knowmore {
        width: fit-content !important;
        margin-left: auto !important;
        margin-right: auto !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        translate: none !important;
        text-align: center !important;
        justify-content: center !important;
        align-items: center !important;
    }
}

/* Patch: keep 更多 / More button centered when menu is below 560px */
@media screen and (max-width: 560px) {
    #latest_news .big-icon-area,
    #latest_news .latest-news-list-wrap,
    #activities .big-icon-area,
    #activities .activities-slider-wrap {
        text-align: center !important;
    }

    #latest_news .big-icon-area > .color_bar,
    #latest_news .latest-news-list-wrap > .color_bar,
    #latest_news .color_bar,
    #activities .big-icon-area > .color_bar,
    #activities .activities-slider-wrap > .color_bar,
    #activities .color_bar {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: fit-content !important;
        max-width: max-content !important;
        min-width: 120px !important;
        margin: 70px auto 0 auto !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        translate: none !important;
        float: none !important;
        clear: both !important;
    }

    #latest_news .color_blk,
    #latest_news .knowmore,
    #activities .color_blk,
    #activities .knowmore {
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: fit-content !important;
        margin-left: auto !important;
        margin-right: auto !important;
        position: relative !important;
        left: auto !important;
        right: auto !important;
        transform: none !important;
        translate: none !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
}

/* Final fix: stop colourbar / 更多 from drifting below 560px */
@media screen and (max-width: 560px) {
    .colourbar {
        width: 100% !important;
        max-width: 100vw !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    .colourbar > .color_bar {
        position: relative !important;
        width: 100% !important;
        max-width: 100vw !important;
        box-sizing: border-box !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 0 !important;
        transform: none !important;
        left: auto !important;
        right: auto !important;
    }

    .colourbar > .color_bar > .word1 {
        position: absolute !important;
        left: 10px !important;
        top: 50% !important;
        transform: translateY(-50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        width: auto !important;
        max-width: calc(50vw - 70px) !important;
        white-space: nowrap !important;
        overflow: hidden !important;
        text-overflow: ellipsis !important;
    }

    .colourbar > .color_bar > .color_blk {
        position: relative !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        bottom: auto !important;
        transform: none !important;
        float: none !important;
        flex: 0 0 auto !important;
        width: auto !important;
        min-width: 67px !important;
        height: auto !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
    }

    .colourbar > .color_bar > .color_blk > .knowmore,
    .colourbar .knowmore {
        display: inline-flex !important;
        justify-content: center !important;
        align-items: center !important;
        width: auto !important;
        margin: 0 auto !important;
        text-align: center !important;
        white-space: nowrap !important;
    }
}

/* Fix mobile/tablet content name vertical position below 980px */
@media screen and (max-width: 980px) {
    #sider1 .photo_display_area .contentName,
    .photo_display_area .contentName {
        position: absolute !important;
        top: 50% !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        padding: 0 !important;
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        z-index: 10 !important;
        box-sizing: border-box !important;
    }

    #sider1 .photo_display_area .contentName > .content-name,
    .photo_display_area .contentName > .content-name {
        width: auto !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: normal !important;
        box-sizing: border-box !important;
    }

    #sider1 .photo_display_area .contentNameSubPageSec,
    .photo_display_area .contentNameSubPageSec {
        top: 50% !important;
        bottom: auto !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, -50%) !important;
        margin: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        align-items: center !important;
        box-sizing: border-box !important;
    }

    #sider1 .photo_display_area .contentNameSubPageSec > .content-name,
    .photo_display_area .contentNameSubPageSec > .content-name {
        width: auto !important;
        max-width: 90% !important;
        margin: 0 auto !important;
        padding: 0 !important;
        line-height: 1.2 !important;
        text-align: center !important;
        white-space: normal !important;
        box-sizing: border-box !important;
    }
}

/* Final fix: Activities mobile layout matches News after 990/980px
   - show only first 2 activity cards
   - stack them vertically under the title
   - use same 72% centered width as latest news
*/
@media screen and (max-width: 990px) {
    #activities.activities,
    #activities.activities.main_page_section {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    #activities .news_top,
    #activities .activities_top {
        order: 1 !important;
        position: relative !important;
        z-index: 3 !important;
        margin-bottom: 28px !important;
    }

    #activities .activities-slider-wrap,
    #activities .big-icon-area {
        order: 2 !important;
        width: 72% !important;
        max-width: 72% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    #activities .activities-mobile-slider,
    #activities .icon-area.activities-area,
    #activities .icon-area {
        order: 1 !important;
        display: grid !important;
        grid-template-columns: 100% !important;
        justify-content: center !important;
        justify-items: center !important;
        align-items: start !important;
        width: 100% !important;
        max-width: 100% !important;
        gap: 24px !important;
        margin: 0 auto 28px auto !important;
        padding: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    #activities .sch-activities-div,
    #activities .activities-slide {
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: block !important;
        position: relative !important;
        justify-self: center !important;
        box-sizing: border-box !important;
    }

    #activities .sch-activities-div:nth-child(n+3),
    #activities .activities-slide:nth-child(n+3) {
        display: none !important;
    }

    #activities .sch-activities-div > div,
    #activities .activities-slide-inner {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: grid !important;
        grid-template-rows: auto auto !important;
        height: auto !important;
        min-height: 0 !important;
        aspect-ratio: auto !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    #activities .sch-activities-icon-area {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 100 / 65 !important;
        overflow: hidden !important;
        border-radius: 14px !important;
        margin: 0 !important;
        box-sizing: border-box !important;
    }

    #activities .sch-activities-icon,
    #activities .sch-activities-icon-area img {
        display: block !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
        margin: 0 !important;
        border-radius: 14px !important;
    }

    #activities .sch-activities-text-area {
        width: 88% !important;
        height: auto !important;
        min-height: 82px !important;
        margin: 0 auto 0 auto !important;
        padding: 4% 5% !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    #activities .big-icon-area > .color_bar,
    #activities .activities-slider-wrap > .color_bar,
    #activities .color_bar {
        order: 2 !important;
        position: relative !important;
        display: flex !important;
        justify-content: center !important;
        align-self: center !important;
        width: auto !important;
        min-width: 120px !important;
        margin: 0 auto !important;
        clear: both !important;
        float: none !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
        transform: none !important;
    }
}

/* Final fix: add a small mobile gap between Latest News title and cards */
@media screen and (max-width: 990px) {
    #latest_news .latest-news-list-wrap,
    #latest_news .big-icon-area {
        margin-top: 18px !important;
    }

    #latest_news .latest-news-cards-area,
    #latest_news .icon-area {
        padding-top: 10px !important;
    }
}

/* Final fix: show full Facebook block at bottom on mobile */
@media screen and (max-width: 990px) {
    #useful_link.useful_link,
    #useful_link .whole_block_useful_link,
    #useful_link .right_block_facebook,
    #facebookPostArea {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    #useful_link .whole_block_useful_link {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 32px !important;
        padding-bottom: 48px !important;
    }

    #useful_link .right_block_facebook,
    #facebookPostArea {
        width: 100% !important;
        max-width: 500px !important;
        margin-left: auto !important;
        margin-right: auto !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
    }

    #useful_link .right_block_facebook .fb_iframe_widget,
    #useful_link .right_block_facebook .fb_iframe_widget span,
    #useful_link .right_block_facebook .fb_iframe_widget iframe,
    #facebookPostArea .fb_iframe_widget,
    #facebookPostArea .fb_iframe_widget span,
    #facebookPostArea .fb_iframe_widget iframe {
        max-height: none !important;
        overflow: visible !important;
    }
}

@media screen and (max-width: 714px) {
    #useful_link .right_block_facebook,
    #facebookPostArea {
        width: 70vw !important;
        max-width: 500px !important;
        min-height: calc(500px * (70vw / 500)) !important;
        overflow: visible !important;
    }

    #useful_link .right_block_facebook .fb_iframe_widget,
    #facebookPostArea .fb_iframe_widget {
        width: 500px !important;
        max-width: none !important;
        transform: scale(calc((70vw) / 500)) !important;
        transform-origin: top left !important;
    }

    #useful_link .right_block_facebook .fb_iframe_widget span,
    #useful_link .right_block_facebook .fb_iframe_widget iframe,
    #facebookPostArea .fb_iframe_widget span,
    #facebookPostArea .fb_iframe_widget iframe {
        width: 500px !important;
        max-width: none !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* Final mobile banner enlarge: taller banner with center crop on left/right */
@media screen and (max-width: 980px) {
    .home_page_section.photo-container-section,
    .photo-container-section {
        aspect-ratio: auto !important;
        height: clamp(360px, 78vw, 520px) !important;
        min-height: 360px !important;
        max-height: 520px !important;
        overflow: hidden !important;
    }

    .home_page_section .sub_sect,
    .photo-container-section .sub_sect,
    #sider1.photo_sider,
    #sider1 .photo-container,
    #sider1 .photo_display_area,
    #sider1 .is-Photo {
        height: 100% !important;
        overflow: hidden !important;
    }

    #sider1 .photo,
    #sider1 .temporary-black-background {
        width: 100% !important;
        height: 100% !important;
        background-size: cover !important;
        background-position: center center !important;
        background-repeat: no-repeat !important;
        overflow: hidden !important;
    }

    #sider1 .photo video,
    #sider1 video {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center center !important;
    }
}

@media screen and (max-width: 480px) {
    .home_page_section.photo-container-section,
    .photo-container-section {
        height: clamp(390px, 92vw, 500px) !important;
        min-height: 390px !important;
    }
}

/* Final mobile motto fix: below 426px, keep motto block full-bleed instead of narrowing */
@media screen and (max-width: 426px) {
    #news-section .whole_block,
    #news-section .news-section-layout {
        width: 100vw !important;
        max-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    #news-section .news-section-motto,
    #news-section .whole_block > .right_block,
    #news-section .news-section-layout > .right_block {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        left: 0 !important;
        right: 0 !important;
        transform: none !important;
        box-sizing: border-box !important;
    }

    #news-section .right_content {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }
}

/* Final mobile join-school fix: below 426px, make only the join-school/motto block full-bleed */
@media screen and (max-width: 426px) {
    #news-section .news-section-motto,
    #news-section .whole_block > .right_block,
    #news-section .news-section-layout > .right_block {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        margin-left: calc(50% - 50vw) !important;
        margin-right: calc(50% - 50vw) !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    #news-section .right_content,
    #news-section .right_content > .color_blk {
        width: 100vw !important;
        max-width: 100vw !important;
        min-width: 100vw !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        box-sizing: border-box !important;
    }

    #news-section .right_content > .color_blk > .joinschool {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 28px !important;
        padding-right: 28px !important;
        box-sizing: border-box !important;
    }
}

/* Final mobile Activities style: keep desktop card layer design while stacking 2 cards vertically */
@media screen and (max-width: 990px) {
    #activities .sch-activities-div > div,
    #activities .activities-slide-inner {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        overflow: visible !important;
        background: transparent !important;
        border-radius: 0 !important;
        clip-path: none !important;
        -webkit-mask-image: none !important;
    }

    #activities .sch-activities-icon-area {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: auto !important;
        overflow: hidden !important;
        margin-top: 0 !important;
        border-radius: 10px !important;
        background: transparent !important;
        clip-path: none !important;
        -webkit-mask-image: none !important;
    }

    #activities .sch-activities-icon,
    #activities .sch-activities-icon-area img {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 3 !important;
        object-fit: cover !important;
        object-position: 50% 50% !important;
        border-radius: 0 !important;
        clip-path: none !important;
        -webkit-mask-image: none !important;
    }

    #activities .sch-activities-text-area {
        position: relative !important;
        top: -28px !important;
        width: 90% !important;
        max-width: 90% !important;
        min-height: 0 !important;
        height: auto !important;
        margin-left: 5% !important;
        margin-right: 5% !important;
        margin-top: 0 !important;
        margin-bottom: -28px !important;
        padding: 10px !important;
        background: #fff !important;
        color: #000 !important;
        border-radius: 19px !important;
        overflow: visible !important;
        box-sizing: border-box !important;
        z-index: 2 !important;
        clip-path: none !important;
        -webkit-mask-image: none !important;
    }

    #activities .sch-activities-title-text {
        height: 50px !important;
        min-height: 0 !important;
        font-size: 16px !important;
        line-height: 1.35 !important;
        overflow: hidden !important;
    }

    #activities .sch-activities-date {
        display: block !important;
        margin-top: 6px !important;
        line-height: 1.35 !important;
    }
}

/* Final mobile homepage gap fix: keep side gutters for News and Activities while scaling */
@media screen and (max-width: 990px) {
    #latest_news.latest_news,
    #latest_news.latest_news.main_page_section,
    #activities.activities,
    #activities.activities.main_page_section {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    #latest_news .news_top,
    #latest_news .activities_top,
    #activities .news_top,
    #activities .activities_top,
    #latest_news .latest-news-list-wrap,
    #latest_news .big-icon-area,
    #activities .activities-slider-wrap,
    #activities .big-icon-area {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}

@media screen and (max-width: 426px) {
    #latest_news.latest_news,
    #latest_news.latest_news.main_page_section,
    #activities.activities,
    #activities.activities.main_page_section {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
    }
}

/* Final mobile homepage gap fix: keep side gutters for Useful Link while scaling */
@media screen and (max-width: 990px) {
    #useful_link.useful_link,
    #useful_link.useful_link.main_page_section {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
        overflow: visible !important;
    }

    #useful_link .whole_block_useful_link,
    #useful_link .left_block,
    #useful_link .logos_area,
    #useful_link .useful-logo-pager,
    #useful_link .useful-logo-viewport,
    #useful_link .useful-logo-track,
    #useful_link .useful-logo-page,
    #useful_link .right_block_facebook,
    #facebookPostArea {
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}

@media screen and (max-width: 426px) {
    #useful_link.useful_link,
    #useful_link.useful_link.main_page_section {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
    }
}

/* Final mobile homepage gap fix: Activities background stays full-width, only content keeps side gap */
@media screen and (max-width: 990px) {
    #activities.activities,
    #activities.activities.main_page_section {
        width: 100% !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        box-sizing: border-box !important;
    }

    #activities .news_top,
    #activities .activities_top,
    #activities .activities-slider-wrap,
    #activities .big-icon-area {
        width: calc(100% - 32px) !important;
        max-width: calc(100% - 32px) !important;
        margin-left: auto !important;
        margin-right: auto !important;
        box-sizing: border-box !important;
    }
}

@media screen and (max-width: 426px) {
    #activities .news_top,
    #activities .activities_top,
    #activities .activities-slider-wrap,
    #activities .big-icon-area {
        width: calc(100% - 24px) !important;
        max-width: calc(100% - 24px) !important;
    }
}
