 /* ========================= ========================= ========================= ========================= ========================= =========================
***
* use base.css to reset the browser style and style basic tag, some class cannot be classify also include in base css, color variable also set in base.css for global use
***
* then use @layer plugin to include all plugin related css
* then use @layer components to include all components such as button, modal, card, accordion, etc
* then use @layer layout to put style the layout. @layer layout also include header footer, mobile menu and body area styling
* then use @layer custom to put style for special styling
* then use @layer pages to put style for specific pages. eg index page has index.css with @layer pages
* then use @layer inline_style for inline_style class
* then use @layer media_query to put style for mobile and responsive design
* last use @layer print to put style for print version

* make sure all style is in last least one @layer{write your style} in order to fullfill the layer rules
* make sure all style is in last least one @layer{write your style} in order to fullfill the layer rules
* make sure all style is in last least one @layer{write your style} in order to fullfill the layer rules
* make sure all style is in last least one @layer{write your style} in order to fullfill the layer rules

* dont use px as font size unit in this project because this project uses aaa function so use rem as font size unit!!!!!!!!!!!!!!!!!!!!!!
* dont use px as font size unit in this project because this project uses aaa function so use rem as font size unit!!!!!!!!!!!!!!!!!!!!!!
* dont use px as font size unit in this project because this project uses aaa function so use rem as font size unit!!!!!!!!!!!!!!!!!!!!!!
***
 ========================= ========================= ========================= ========================= ========================= =========================*/

 @layer layout {
   .dot_bottom_list>li {
     padding-top: 0.5rem;
     padding-bottom: 0.5rem;

   }

   .dot_bottom_list>li:only-child,
   .dot_bottom_list>li:not(:last-child) {
     border-bottom: 1px var(--light_grey_300) dashed;
   }
 }

 @layer layout {
   .mobMenuBtn {
     display: none;
   }

   .mobMenuBtn a {
     background-color: var(--light_grey_600);
     border-radius: 0.5rem;
     width: 2.5rem;
     height: 2.5rem;
     align-items: center;
     justify-content: center;
     display: flex;
   }

   .mobMenuBtn a:before {
     content: '';
     display: block;
     width: 60%;
     height: 60%;

     background-image: url(../images/icon/icon_menu.svg);
     background-position: center center;
     background-repeat: no-repeat;
     background-size: contain;
   }

   .mobMenuArea {
     display: none;
   }

   .mobSearchArea,
   .mobMenuArea {
     display: none;
     top: 0;
     left: 0;
     width: 100%;
     padding: 1.25rem .625rem;
     background-color: #fff;

     height: 100vh;
     position: fixed;
     transition: all 0.3s ease-in-out;
     z-index: 8000;
     transform: translateX(105vw);
     opacity: 0;
   }

   :where(.mobSearchArea, .mobMenuArea).active {
     transform: translateX(0);
     opacity: 1;
   }

   :where(.mobSearchArea, .mobMenuArea) .cross_btn {
     margin-right: 0.5rem;
   }

   :where(.mobSearchArea, .mobMenuArea) .cross_btn a {
     justify-content: flex-end;

   }

   .mobMenuArea .mobileLanguage ul {
     display: -ms-flexbox;
     display: -webkit-flex;
     display: flex;
     height: 100%;
     margin: 0;
     padding: 0;
   }

   .mobMenuArea .mobileLanguage li {
     margin: 0;
     padding: 0;
     list-style-type: none;
   }

   .mobMenuArea .mobileLanguage li a {
     display: block;
     height: 100%;
     padding-left: .625rem;
     padding-right: .625rem;
     padding-bottom: 1rem;
     margin-right: 0.3rem;
   }

   .mobileMenu {
     overflow-y: auto;
   }


   .mobile_menu_list,
   .mobile_menu_list .menu_items {
     list-style: none;
     padding-left: 0;
     margin-bottom: 0;
     margin-top: 0;
   }

   .mobile_menu_list .nav_item {
     margin-bottom: 0;
   }

   .mobile_menu_list .nav_link {
     background-color: var(--light_grey_200);
     border-bottom: 1px solid var(--light_grey_400);
     display: block;
     padding: .625rem .625rem;
   }

   .mobile_menu_list .nav_link_lv1 {
     padding-left: 1.25rem;
     background-color: var(--light_grey_300);
     border-bottom: 1px solid var(--light_grey_400);
   }

   .mobile_menu_list .nav_item_lv1:has(.extmenu) .nav_link_lv1 {
     font-weight: bold;
     color: #000;
   }

   .mobile_menu_list .nav_link_lv2 {
     padding-left: 1.875rem;
     background-color: var(--light_grey_200);
     border-bottom: 1px solid var(--light_grey_400);
   }

   .mobile_menu_list br {
     display: none;
   }

   .mobSearchArea .search_area {
     overflow-y: auto;
   }

   .mobSearchBtn {
     display: none;
   }

   .mobSearchBtn a {
     display: inline-block;
     position: relative;
     width: 2.5rem;
     height: 2.5rem;
   }

   .mobSearchBtn a:before {
     content: '';
     display: block;
     width: 100%;
     height: 100%;
     background-image: url(../images/icon/icon_search.svg);
     background-position: center center;
     background-repeat: no-repeat;
     background-size: auto 100%;
   }

   .mobSearchArea .form-text {
     width: 100%;
     padding: 0.5rem 1rem;
   }

   .mobSearchArea .form-item-search-block-form {
     width: 100%;
   }

   .mobSearchArea .search_wrap {
     padding-top: 1rem;
   }

   .mobSearchArea .search_wrap .form-submit {
     width: 2rem;
     height: 2rem;
     background-image: url(../images/icon/icon_search.svg);
     background-position: center center;
     background-repeat: no-repeat;
     background-size: contain;
   }

   .mobSearchArea .search_form_big_wrap::after {
     width: 0;
     height: 0;
   }


   /**/
   .header_area {

     background-color: rgb(255, 254, 230);
     background-image: url('../images/bkgdtexture.gif');
     background-repeat: repeat;
     border-bottom: 2px solid #cc3333;
   }

   .header1 {
     display: flex;
     justify-content: space-between;
     padding-left: 1rem;
     padding-bottom: 0.5rem;
   }

   .header2 {
     display: flex;
     justify-content: space-between;
   }

   .header2 .region-header-left {
     display: flex;
     height: 100%;
   }

   .lang_tool {
     height: 100%;
   }

   .lang_tool ul {
     display: flex;
     padding-left: 0;

     padding-bottom: 0;
     padding-right: 0.8rem;
     margin-top: 0;
     margin-bottom: 0;
     height: 100%;
   }

   .lang_tool ul::after {
     content: '';
     display: block;
     aspect-ratio: 1 / 1;
     background-size: contain;
     background-repeat: no-repeat;
     background-image: url('../images/mainbar5.gif');
     background-position: left bottom;
   }

   .lang_tool ul li {

     list-style: none;

     display: flex;

     align-items: center;

     height: 100%;
     background-color: #717171;
     margin-bottom: 0;
   }

   .lang_tool ul li:not(:last-child) {
     padding-right: 0.5rem;
   }

   .lang_tool a {
     color: #fff;
     font-family: 'Arial', 'microsoft jhenghei', sans-serif;
     /*text-indent:-9999px;*/
     font-size: 0.8rem;
     font-weight: bold;
     /* padding-bottom: 0.25rem; */
     /* display: block; */
     line-height: 1;
     padding-top: 0.2rem;
     height: auto;
     display: block;
     white-space: nowrap;
     letter-spacing: 0;
   }

   .lang_tool a:hover,
   .lang_tool a:focus {
     color: #F7F7F7;
   }

   /**/
   .aaa_tool {
     display: flex;
     align-items: flex-end;
     margin-bottom: 0;
     margin-top: 0;
   }

   .aaa_tool>li {
     line-height: 1;
     list-style: none;
     margin-bottom: 0;
     margin-right: 0.5rem;
   }

   .aaa_tool>li:nth-child(1) {
     font-size: 0.75rem;
   }

   .aaa_tool>li:nth-child(2) {
     font-size: 1rem;
   }

   .aaa_tool>li:nth-child(3) {
     font-size: 1.25rem;
   }

   .aaa_tool a {
     color: #231f20;
   }

   .aaa_tool a:hover,
   .aaa_tool a:focus {
     color: #872121;
   }

   .aaa_tool a.selected {
     color: #a70b0b;
   }


   .sitemap_btn {
     text-transform: uppercase;
     padding-right: 5px;
     position: relative;
     display: flex;
     align-items: center;
     /* line-height: 0; */
   }

   .search_form_big_wrap::after,
   .sitemap_btn::after {
     content: '';
     display: block;
     background-color: #000;
     height: 1.2rem;
     width: 1px;
     position: absolute;
     right: 0;
     bottom: 0;
   }

   /**/
   .region-header-right {
     height: 100%;
     display: flex;
     align-items: flex-end;
   }

   .header_right .right_tool {
     display: flex;
     height: 100%;
   }

   .header_right .right_tool a {

     height: 100%;
     color: #000;
     font-family: 'Arial', 'microsoft jhenghei', sans-serif;
     font-weight: bold;
     font-size: 14px;
   }

   /**/
   .govhk_logo {
     height: 100%;
     display: flex;
     background-color: #717171;
   }

   .govhk_logo img {
     max-width: 9rem;
     filter: var(--white_filter);
   }

   .govhk_logo a {
     background-color: #b53832;
     display: block;
     padding-left: 0.5rem;
     height: 100%;
   }

   .govhk_logo:after {
     content: '';
     display: block;
     aspect-ratio: 1 / 1;
     background-size: contain;
     background-repeat: no-repeat;
     background-image: url(../images/mainbar5.gif);
     background-position: left bottom;
     filter: var(--brown_400_filter);
   }



   /**/
   .social_tool {
     display: flex;
     justify-content: flex-end;
     padding: .625rem 1rem;
   }

   .social_tool>* {
     display: flex;
   }

   .social_btn {
     font-size: 0;
     display: block;
     width: 2.125rem;
     height: 2.125rem;
     border: 2px solid #b4b4b5;
     border-radius: 0.5rem;
     background-color: var(--social_btn_bg_color);
     position: relative;
     flex-shrink: 0;
     flex-grow: 0;
   }

   .social_btn:not(:last-child) {
     margin-right: 0.35rem;
   }

   .social_btn::before,
   .social_btn::after {
     content: '';
     display: block;
     width: 80%;
     height: 80%;
     background-position: center;
     background-repeat: no-repeat;
     background-size: contain;
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
   }

   .social_btn::before {
     z-index: 10;
   }

   .social_btn::after {
     z-index: 50;
     transition: opacity 0.3s ease-in-out;
     opacity: 0;
   }

   .social_btn.share_fb_btn {
     border: 0;
   }

   .social_btn.share_fb_btn::before {
     background-image: url('../images/icon/share_fb.png');
     width: 100%;
     height: 100%;
   }

   .social_btn.share_fb_btn::after {
     background-image: url('../images/icon/share_fb_over.png');
     width: 100%;
     height: 100%;
   }

   .social_btn.rss {
     --social_btn_bg_color: #d04311;
   }

   .social_btn.rss::before {
     background-image: url('../images/icon/icon_rss.svg');
     filter: var(--white_filter);
   }

   .social_btn.print_page {
     --social_btn_bg_color: #227f0c;
   }

   .social_btn.print_page::before {
     background-image: url('../images/icon/icon_print2.svg');
     filter: var(--white_filter);
   }


   .social_btn.add_bookmark {
     --social_btn_bg_color: #036eb7;
   }

   .social_btn.add_bookmark::before {
     background-image: url('../images/icon/icon_bookmark.svg');
     filter: var(--white_filter);
   }

   .social_btn:hover::after,
   .social_btn:focus::after {

     opacity: 1;
   }

   .social_btn:hover,
   .social_btn:focus {
     background-color: #e51673;
   }

   .social_wrap {
     border-right: 1px solid var(--light_grey_400);
     padding-right: 0.5rem;
     margin-right: 0.5rem;
   }

   .social_wrap:first-child {}

   /**/
   .search_wrap .form-submit {
     margin-left: 0;
     margin-right: 0;
     height: 1.2rem;
     width: 2rem;
     padding: 0;
     cursor: pointer;
     text-indent: -9999px;
     border: none;
     background: url(../images/mainbar8.gif) no-repeat center top;
     overflow: hidden;
     margin-bottom: 0;
     /* line-height: 2em; */
   }

   .search_form_big_wrap {
     display: flex;
     position: relative;
     margin-right: 0.5rem;
     align-items: center;
   }

   /**/
   .nav_menu {
     display: flex;
     justify-content: flex-end;
     padding-left: 0;
     margin-top: 0;
     margin-bottom: 0;
     column-gap: 0.4rem;
   }

   .nav_menu>li {
     --border: 2px solid var(--nav_menu_border_color);
     list-style: none;
     text-align: center;

     text-decoration: none;

     border-top: var(--border);
     border-left: var(--border);
     border-right: var(--border);
     border-top-left-radius: 0.5rem;
     border-top-right-radius: 0.5rem;
     font-size: 1.4rem;
     min-width: 153px;
     margin-bottom: 0;
     display: flex;
     justify-content: center;
     align-items: center;
     overflow: hidden;
   }

   .nav_menu>li:not(:last-child) {}

   .nav_menu>li>a,
   .nav_menu .nav_link_lv0 {
     color: #717171;
     padding-left: 0.2rem;
     padding-right: 0.2rem;
     padding-top: 0.2rem;
     padding-bottom: 0.2rem;
     align-content: center;
     width: 100%;
     height: 100%;
     line-height: 1.125;
     height: 6.0625rem;
     display: block;
   }


   .nav_menu>li>a:hover,
   .nav_menu>li>a:focus,
   .nav_menu .nav_link_lv0:hover,
   .nav_menu .nav_link_lv0:focus,
   .nav_menu>li.active-trail>a,
   .nav_menu>li.active-trail .nav_link_lv0 {
     background-color: var(--main_theme_hover_color);
     color: var(--main_theme_hover_text_color);
   }

   .nav_menu .nav_link_wrap {
     width: 100%;
     text-align: center;
   }

   .nav_menu .special_span {
     display: block;
   }

   .en .my_top_menu .nav_link_lv0,
   .en .my_top_menu .nav_menu>li>a {
     font-size: 1.2rem;
   }

   .chinese .my_top_menu .nav_link_lv0,
   .chinese .my_top_menu .nav_menu>li>a {
     font-size: 1.5rem;
   }

   .my_top_menu .extmenu_lv0 {
     display: none;
   }

   .my_top_menu .menu_plus {
     display: none;
   }

   .my_top_menu .arrow {
     display: none;
   }

   .top_menu_title_style img {
     background-color: var(--main_theme_color);
   }

   .generaltopmenu,
   .normaltopmenu {
     display: flex;
     justify-content: space-between;
     padding-right: 1rem;
     column-gap: 1.5rem;
   }

   .my_top_menu {
     border-bottom: 0.625rem solid var(--top_menu_border_color);
     margin-bottom: 1rem;
   }

   /**/
   .header_big_area,
   .content_area,
   .my_footer .region {
     width: 100%;
     max-width: 1024px;
     margin-left: auto;
     margin-right: auto;
   }

   .content_area {
     --box_shadow: 0px 2px 8px 2px rgba(0, 0, 0, 0.1);

     box-shadow: var(--box_shadow) 0px 2px 8px 2px rgba(0, 0, 0, 0.1);
     -webkit-box-shadow: var(--box_shadow);
     -moz-box-shadow: var(--box_shadow);
     background-color: #fff;
   }

   .my_footer {
     padding-top: 1.5rem;
     padding-bottom: 2.5rem;
     background-color: var(--footer_bg_color);
     color: #000;
   }

   .my_footer a {
     color: #000;
     text-decoration: none;
   }

   .my_footer a:hover,
   .my_footer a:focus {
     text-decoration: underline;
   }

   .my_footer .normalfooter {
     display: flex;
     justify-content: space-between;
   }

   .my_footer .right_side {
     display: flex;
     flex-wrap: wrap;
     align-items: center;
   }

   .my_footer .right_side>*:not(:last-child) {
     padding-right: 0.5rem;
   }

   .footer_item {
     position: relative;
   }

   .footer_item:not(:last-child) {
     padding-right: 0.5rem;
     margin-right: 0.5rem;
   }

   .footer_item::after {
     content: '';
     display: block;
     width: 1px;
     height: 1rem;
     background-color: #000;
     position: absolute;
     right: 0;
     top: 50%;
     transform: translateY(-50%);
   }

   .footer_item:has(+.mobile_show)::after,
   .footer_item:last-child::after {
     width: 0;
     height: 0;
   }

   .mobile_footer_date {
     display: none;
     padding-left: 1rem;
     padding-right: 1rem;
     padding-top: 1rem;
     padding-bottom: 1rem;

   }
 }


 @layer layout {
   .list_style1>li {
     border-bottom: 1px #c0c0c0 dashed;
     padding-bottom: 0.5em;
     padding-top: 0.5em;
   }

   .img_td {
     padding-left: 1em;
     min-width: 100px;
   }

   .icon_pdf {
     width: 48px !important;
     height: 48px !important;
   }

   .icon_xslx {
     width: 37px !important;
     height: 48px !important;
   }

   #toggle-pdf {

     display: inline-block;
   }

   #toggle-excel {
     display: inline-block;
   }
 }

 @layer layout {
   .news_record {
     display: grid;
     grid-template-columns: 35% 1fr;
     column-gap: 1rem;
     margin-bottom: 1rem;
   }
 }

 @layer layout {
   .publicMenu {
     width: 100%;
   }


   .left_menu_inner {
     background-color: #fff;
     border: 1px solid var(--light_grey_200);
     font-size: 1.062rem;
   }

   .left_menu ul {
     margin: 0;
     padding: 0;
     list-style: none;
   }

   .left_menu li {
     list-style: none;
     margin-bottom: 0;
   }

   .left_menu .nav_link {
     display: block;
     color: #000;
     padding: .625rem .625rem;
     text-decoration: none;
     border-bottom: 1px solid var(--light_grey_400);
     font-size: 1.2rem;
   }

   .left_menu a:hover,
   .left_menu a:focus {
     text-decoration: underline;
   }


   .left_menu .menu_lv1 {
     background-color: var(--light_grey_200);
   }

   .left_menu .menu_plus {
     display: none;
   }

   .left_menu .arrow {
     display: none;
   }

   .left_menu .extmenu {
     display: none;
   }

   .left_menu .nav_link_wrap {
     position: relative;
   }

   .left_menu .nav_item.active>.extmenu {
     display: block;
   }

   .left_menu .nav_item.active_section .nav_link_lv0 {
     background-color: var(--left_menu_menu0_active_bg_color);
     color: var(--left_menu_menu0_active_text_color);
   }

   .left_menu .nav_item.active_section.active .nav_link_lv0:after {
     content: '';
     display: block;
     width: 0;
     height: 0;
     border-style: solid;
     border-width: 1.35rem 1.35rem 0 1.35rem;
     border-color: var(--left_menu_menu0_active_bg_color) transparent transparent transparent;
     transform: rotate(0deg);
     position: absolute;
     right: 0.2rem;
   }

   .left_menu .nav_item.active_section .menu_lv1 {
     --shadow: 0px -3px 9px 3px rgba(144, 144, 144, 0.75) inset;
     box-shadow: var(--shadow);
     -webkit-box-shadow: var(--shadow);
     -moz-box-shadow: var(--shadow);
     background-color: var(--left_menu_menu1_active_bg_color);
   }
 }

 @layer layout {
   body:not(.indexVersion) .main_content {
     font-size: 1.4rem;
   }

   .breadcrumb_bigwrap {
     margin-top: 1rem;
     margin-bottom: 1rem;
     margin-left: var(--main_content_pad_left);
     padding-right: 1rem;
   }

   .content_area:has(.left_menu) .breadcrumb_bigwrap {
     margin-left: calc(var(--left_menu_size) + var(--left_menu_column_gap) + var(--main_content_pad_left));
   }

   .breadcrumb_bigwrap ul {
     list-style: none;
     padding-left: 0;
     /*display: flex;
    flex-wrap: wrap;
    column-gap: 0.3rem;*/
   }

   .breadcrumb_bigwrap ul>li {
     display: inline;
     /*display: flex;
    flex-wrap: wrap;
    column-gap: 0.3rem;*/
     margin-bottom: 0;
   }

   .breadcrumb_bigwrap .sign {
     padding-right: 0.3rem;
   }

   .breadcrumb_bigwrap br {
     display: none;
   }

   .main_cont_row {
     padding-left: var(--main_content_pad_left);
     padding-right: var(--main_content_pad_right);
   }

   body:not(.indexVersion) .content_area {
     font-size: 1.125rem;
     padding-bottom: 3rem;
   }

   .main_cont_row:has(.left_menu) {
     display: grid;
     grid-template-columns: var(--left_menu_size) 1fr;
     column-gap: var(--left_menu_column_gap);
   }


 }

 @layer layout {
   .views-table td {
     padding-bottom: 0.75rem;
   }

   .views-table tr {
     border-top: var(--dot_border);
   }

   .views-table-title {

     color: #000;
     padding-top: 0.5rem;
     margin-top: 0;
     margin-bottom: 0;
     padding-bottom: 0.5rem;
     font-weight: 400;

   }

   .views-table-title:not(:first-child) {
     /*border-top: var(--dot_border);*/
   }
 }

 @layer layout {
   .page-posters-booklets .view-content tr:first-child {
     border-top: var(--dot_border);
     margin-top: 1.25rem;
   }

   .page-posters-booklets .view-content tr {
     border-bottom: var(--dot_border);
   }
 }

 @layer layout {
   .page-news .views-exposed-widgets {
     display: flex;
     flex-wrap: wrap;
     gap: 10px 16px;
     align-items: flex-end;
   }

   .page-news .views-exposed-widget {
     flex: 1 1 220px;
     min-width: 200px;
   }

   .page-news .views-exposed-widget.views-submit-button.arrow_btn {
     width: auto !important;
     min-width: 121px;
     height: 48px;
     flex: 0 0 auto;
     white-space: nowrap;
   }

   /* Default (desktop) */
   .public-image-container img {
     display: block;
     max-width: 100%;
   }

   /* Mobile: show as button */
   @media (max-width: 768px) {
     .public-image-container {
       text-align: center;
       margin-top: 1rem;
     }

     .public-image-container img {
       width: auto;
       max-width: 80%;
       cursor: pointer;
       padding: 0.5rem 1rem;
       border-radius: 0.5rem;
       background-color: #f2f2f2;
     }
   }

   @media (max-width:480px) {
     .page-news .views-exposed-widget {
       flex-basis: 100%;
       min-width: 0;
     }

     .page-news .views-exposed-widget.views-submit-button {
       order: 99;
     }
   }
 }

 @layer layout {


   .views-exposed-widgets {
     display: flex;
     flex-wrap: wrap;
     align-items: center;
   }

   .views-exposed-widgets>* {
     margin-bottom: 0.5rem;
   }

   .views-exposed-form label {
     font-weight: bold;
     font-size: 1.25rem;
   }

   select.date-year,
   select.date-month,
   select.date-category {
     display: inline-block;
     width: 5.9365rem;
     font-size: inherit;
   }

   .views-exposed-form select {
     font-size: 1.25rem;
   }



   .views-table1 tr>td:nth-child(2) {
     width: 25%;
     text-align: right;
   }

   .views-table2 td {
     padding-left: 0;
   }

   .views-table3 tr>td:nth-child(2) {
     width: 25%;
     text-align: right;
   }

   .views-table4 tr>td:nth-child(2) {
     width: 35%;
     text-align: right;
   }

   .view-display-id-page .views-row {
     padding-top: 0.3rem;
     border-top: var(--dot_border);
     margin-top: 1.25rem;
     display: grid;
     grid-template-columns: 100px 1fr;
     column-gap: 1.7rem;
     min-height: 9.5rem;
   }

   /* 容器：樣式保持原設計 */
   .arrow_btn,
   .views-submit-button {
     position: relative;
     background-color: var(--btn1_bg_color);
     color: #fff;
     border-radius: 0.25rem;
     padding: 0.5rem 1rem;
     display: flex;
     align-items: center;
     min-width: 121px;
     justify-content: space-between;
     cursor: pointer;
     width: fit-content;
     gap: .5rem;

     height: 48px;
   }

   .arrow_btn .btn_label,
   .views-submit-button .btn_label {
     flex: 1;
     font-size: 1.25rem;
     font-weight: 300;
     text-align: left;
     line-height: 1;
     pointer-events: none;
   }

   .arrow_btn .btn_label+input[type="submit"],
   .views-submit-button .btn_label+input[type="submit"] {
     position: absolute;
     inset: 0;
     width: 100%;
     height: 100%;
     opacity: 0;
     cursor: pointer;
     border: 0;
     background: transparent;
     margin: 0;
     padding: 0;
     z-index: 1;
   }

   /* 箭頭：偽元素放在容器上 */
   .arrow_btn::after,
   .views-submit-button::after {
     content: '';
     display: block;
     width: 0.7rem;
     aspect-ratio: 1 / 1.5;
     background-image: url(../images/icon/icon_prev.svg);
     background-position: center;
     background-repeat: no-repeat;
     background-size: contain;
     filter: var(--white_filter);
     transform: rotate(180deg);
     pointer-events: none;
     /* 不阻擋點擊 */
   }

   /* 可選：hover/焦點可見（無障礙） */
   .arrow_btn:hover,
   .views-submit-button:hover {
     filter: brightness(1.05);
   }

   .arrow_btn:focus-within,
   .views-submit-button:focus-within {
     outline: 2px solid #fff;
     outline-offset: 2px;
   }





   .views-exposed-widget:not(:last-child) {
     padding-right: 1.25rem;
   }

 }

 @layer pages {
   .television_announcements .views-row {
     grid-template-columns: 13.75rem 1fr;
     align-items: center;
   }
 }

 @layer pages {
   .videos_content .views-row {
     grid-template-columns: 13.75rem 1fr;
     align-items: center
   }
 }

 @layer layout {
   .img_grid {
     display: flex;
     flex-wrap: wrap;
   }

   .img_grid>* {
     width: min(100%, 154px);
   }
 }

 @layer layout {

   #toggle-pdf img,
   #toggle-excel img {
     width: 1.5rem;
     height: 1.5rem;
     vertical-align: middle;
     cursor: pointer;
   }

   #pdf-links,
   #excel-links {
     display: none;
     background-color: #e6f7ff;
     padding: 8px;
     border-radius: 4px;
     margin-top: 8px;
     max-width: 300px;
   }

   fieldset {
     border: 0;
     padding: 0;
     margin-left: 0;
     margin-right: 0;
   }

   .ans_group {
     display: grid;
     grid-template-columns: repeat(3, 1fr);
     row-gap: 1rem;
     column-gap: 1rem;
   }

   .form_text {
     width: 88%;
     display: block;
   }

   .form_div {
     margin-bottom: 1rem;
   }

   .form_div input {
     font-size: 1.5rem;
   }

   .form_div label {
     font-weight: bold;
   }

   .form_checkbox {
     width: 1.2rem;
     height: 1.2rem;
   }

   .item_checkbox {
     display: grid;
     grid-template-columns: max-content 1fr;
     column-gap: 0.3rem;
     line-height: 1.2;
     /*display: table-cell;
    width: 14rem;*/
   }


   .district_select {
     width: min(500px, 100%);
     font-size: 1.4rem;
   }


   .arrow_btn:has(.home_search_btn) {
     width: min(16.1875rem, 100%);
   }

   .search_title1 {
     font-weight: bold;
   }

   .searching_row {
     display: flex;
     justify-content: space-between;
     flex-wrap: wrap;
     margin-top: 2.5rem;
     margin-bottom: 1.5rem;
   }

   .print_btn_wrap {
     display: flex;
     align-items: center;
     cursor: pointer;
   }

   .print_btn_wrap::before {
     content: '';
     display: block;
     width: 3rem;
     height: 3rem;
     background-image: url('../images/icon/icon_print.svg');
     background-position: center;
     background-repeat: no-repeat;
     background-size: contain;
     margin-right: 0.5rem;
     filter: brightness(0) saturate(100%) invert(19%) sepia(99%) saturate(1999%) hue-rotate(182deg) brightness(96%) contrast(105%);
     flex-shrink: 0;
     flex-grow: 0;
   }

   .print_btn_wrap input {
     border: 0;
     padding: 0;
     background-color: transparent;
     font-size: 1.25rem;
     font-weight: 600;
     font-family: var(--en_font_family);
     color: var(--blue_500);
     cursor: pointer;
   }
 }

 @layer layout {
   .searching_table {
     font-size: .875rem;
   }

   .searching_table tr th {
     background-color: transparent;
     padding-top: 1.5rem;
     font-weight: 400;
     align-content: flex-end;
   }

   .searching_table th .arrow_wrap {
     min-height: 17px;
   }


   input:where(.asc, .desc) {
     background-repeat: no-repeat;
     background-size: 100% 100%;
     color: transparent;
     cursor: pointer;
     width: 1.125rem;
     height: 1rem;
     border: none;
     vertical-align: middle;
   }

   input.asc {
     background-image: url(../images/btn_filter.png);


   }

   input.desc {
     background-image: url(../images/btn_filter2.png);
   }

   .doctor_btn {
     all: unset;
     color: blue;
     cursor: pointer;
     font: inherit;
   }



   .public .scroll .news_date {
     color: var(--blue_400);
   }

   .service .scroll2 .news_date {
     color: var(--pink_400);
   }



   .searching_table .news_date {
     color: var(--blue_400);
   }

   .searching_table table {
     overflow: visible;
   }

   .searching_table tbody {
     display: grid;

   }

   .searching_table tr {
     display: grid;
     width: 97%;
     margin-left: auto;
     margin-right: auto;
     grid-template-columns: subgrid;
     grid-auto-flow: column;
   }

   .searching_table th:first-child {
     border-left: 0;
     border-right: 0;
   }

   .searching_table th:last-child {

     border-right: 0;
   }

   .searching_table th:not(:first-child):not(:last-child) {
     border-right: 0;
   }

   .searching_table td {
     border: 0;
     padding-top: 0;
   }

   .searching_table tr:nth-child(1) {
     margin-bottom: 1rem;

   }

   .searching_table tr:not(:has(th)) {
     --shadow: -1px -1px 9px 1px rgba(0, 0, 0, 0.15);
     box-shadow: var(--shadow);
     -webkit-box-shadow: var(--shadow);
     -moz-box-shadow: var(--shadow);
     padding-top: 1.75rem;

     min-height: 240px;
     margin-bottom: 1rem;
   }

   .page-news .views-exposed-widget.views-submit-button {
     flex: 0 0 auto;
   }

   .page-news .views-exposed-widget.views-submit-button.arrow_btn {
     white-space: nowrap;
   }

   .programme_finding_a_pcd tbody {
     grid-template-columns: 20fr 44fr 12fr 12fr 12fr;
   }

   .programme_finding_a_pcd tr {
     grid-column: span 5;
   }

   .copayment_fee_for_the_colonoscopy_service_search tbody {
     grid-template-columns: 10fr 25fr 14fr 15fr 12fr 12fr 12fr;
   }

   .copayment_fee_for_the_colonoscopy_service_search tr {
     grid-column: span 7;
   }
 }

 @layer layout {
   .return_table {
     color: var(--red_400);
     font-size: 0.7rem;

     margin-bottom: 0.3em;
     column-gap: 1rem;
     display: grid;
     grid-template-columns: max-content 1fr;
   }

   .return_table>* {
     display: grid;
     grid-template-columns: subgrid;
     grid-column: span 2;
   }

 }

 @layer layout {
   .videoEmbed {
     margin-bottom: 1.3rem;
   }
 }

 @layer layout {

   #sp_select {
     width: min(250px, 100%);
   }
 }

 @layer greyscale {
   .greyscale :where(.brandhk_logo, .header2, .social_tool, .my_top_menu, .main_cont_row, .main_slider_row, .main_content, .second_row, .theme_box_section, .footer_big_area, .mobileMenu, .mobileLanguage) {
     -webkit-filter: var(--greyscale_filter);
     -moz-filter: var(--greyscale_filter);

     -ms-filter: var(--greyscale_filter2);
     -o-filter: var(--greyscale_filter2);
     filter: var(--greyscale_filter2);
     filter: var(--greyscale_filter3);
   }
 }

 @layer layout {
   /*put your own style here please*/

 }