
/*
CSS content (Not sorted yet)
-------------------------------------------------
1-  resets  
2-  header  
3-  font awesome icon colors  
4-  styles page
5-  begins
6-  footer  
7-  section divider  
8-  products  
9-  back to top button  
10- parallax  
11- slider button code
12- medium menu/medium menu(category) > sub menu
13- pagination
14- fa animation
15- 產品服務
promise
Story Unit
knsh / SDGs section (knsh-accordion)
SDGs section
mgt section
mgtf Section
mgtc / Scoped Styles
fancybox
service check
Floating (csc-form)
com-Vision
healthy
Tags bar style
edu blog
edublog (scoped)
news
tw-knsh base
kcis base
hr base (Environment & Welfare)
hr benefits
use
---------------------------------------------- */
.KNSHbanner{
z-index: 5; max-width: inherit; max-height: inherit; white-space: nowrap;color: #fff;font-size:60px;font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, 
             "Noto Sans", "Liberation Sans", "Noto Sans TC", "PingFang TC", 
             "Microsoft JhengHei", sans-serif, 
             "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";}
@media (max-width: 1024px) {
.KNSHbanner{
z-index: 5; max-width: inherit; max-height: inherit; white-space: nowrap;color: #fff;font-size:90px;font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, 
             "Noto Sans", "Liberation Sans", "Noto Sans TC", "PingFang TC", 
             "Microsoft JhengHei", sans-serif, 
             "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";}}
@media (max-width: 767px) {
.KNSHbanner{
z-index: 5; max-width: inherit; max-height: inherit; white-space: nowrap;color: #fff;font-size:120px;font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, 
             "Noto Sans", "Liberation Sans", "Noto Sans TC", "PingFang TC", 
             "Microsoft JhengHei", sans-serif, 
             "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";}}
/*-------------Resets----------------*/
.bg-default {
  background-color: #fafafa; }

.custom-vr {
  display: inline-block;
  width: 3px; /* 線條 */
  height: 32px; /* 線條 */
  background-color: #fff;
  vertical-align: middle;
}

.alerts span {
  margin-left: 10px; }

.lists .fa {
  margin-right: 7px; }

.lists ul {
  padding: 0; }

.lists ul li {
  margin-top: 10px; }

.text-white {
  color: #ffffff; }

.text-primary {
    color: #2aacc8 !important;
}
.text-grey {
    color: #C0C0C0 !important;
}
.rounded {
  border-radius: .55rem !important;
}

h2, h1 {
  line-height: 1.2; }

textarea {
  resize: vertical; }

label {
  font-weight: 400; }

.section-top-25 {
  margin-top: 25px; }

.section-top-40, .home2-section-top-40 {
  margin-top: 40px; }

.section-top-10 {
  margin-top: 10px; }

.section-top-align {
  margin-top: 20px; }

.section-top-50, .m-t-50 {
  margin-top: 50px; }

.m-t-70 {
  margin-top: 70px; }

.btn-check:focus + .btn, .btn:focus {
  outline: 0;
  box-shadow: 0 0 0 .25rem rgba(255, 255, 255,0);/*107, 204, 197 / 1, 64, 153*/
}
input.form-control:focus, textarea.form-control:focus, select.form-control:focus {
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.14902), 0 0 8px rgba(255, 255, 255, 0.631373);
  border-color: rgba(255, 255, 255, 0.51); }/*rgba(255, 255, 255, 0.51); /107, 204, 197 / 1, 64, 153*/

.input_success .form-control:focus {
  box-shadow: #86cb35; }

.input_success .form-control {
  border-color: #86cb35; }

.input_warning .form-control:focus {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(234, 169, 50, 0.6); }

.input_warning .form-control {
  border-color: #EAA932; }

.input_info .form-control:focus {
  box-shadow: #77cae3; }

.input_info .form-control {
  border-color: #77cae3; }

.input_danger .form-control:focus {
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(255, 102, 102, 0.6); }

.input_danger .form-control {
  border-color: #ff6666; }

h5 {
  line-height: 25px; }

/*--------Image zoom effect-------*/
.thumb_zoom {
  display: inline-block;
  overflow: hidden; }

.zoom img {
  transition: all 300ms ease; }

.zoom img:hover {
  transform: scale(1.2, 1.2); }

/*----------------Header--------------*/
.navbar-default .navbar-brand {
  padding-left: 0; }

.tp-header, header {
  font-size: 20px; }

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99999; /* Bootstrap navbar 確保在最上層 */
  background-color: white;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 避免遮住內容 */
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, 
             "Noto Sans", "Liberation Sans", "Noto Sans TC", "PingFang TC", 
             "Microsoft JhengHei", sans-serif, 
             "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  padding-top: 80px; /* 70~100px */
  font-size: 16px;
  overflow-x: hidden;
}
.on{display: block;}
.off{display: none;}

header {
  box-shadow: 0 0 1px #dedcde; }

.nav-tabs {
  padding-left: 21%; }

.register {
  padding-left: 10px;
  cursor: pointer; }
.english {
  padding-left: 0px;
  cursor: pointer; }
.english span, .english span {
  font-size: 14px;
  font-weight: 600; }
.english-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}
.english-link:hover {
  color: #005BAC;
}
@media (min-width: 992px) {
  .english {
  padding-left: 10px;
  cursor: pointer;}}

.tp-header .signin {
  padding-right: 10px;
  border-right: 1px solid #bbb;
  cursor: pointer; }

.signin span, .register span {
  font-size: 14px;
  font-weight: 600; }

@media (max-width: 767px) {
  .navbar-nav .open .dropdown-menu {
    background-color: #f5f5f5; }
  .tp-header .signin {
    border: none; } }

@media (min-width: 768px) {
  .dropdown-submenu > a:hover:after, .dropdown-submenu > a:focus:after {
    border-left-color: #ffffff; } }

.modal-body {
  padding: 20px 25px; }

.tp-header {
  padding: 10px 0 10px 0;
  background-color: #3e4955;
  color: #ddd;
  outline: none; }

.tp-header i, .tp-header a {
  padding: 0 8px;
  color: #ddd; }

.tp-header i:hover, .tp-header a:hover {
  color: #fff; }

.tp-header .fa-facebook:hover {
  padding: 0 7px 0 6px; }

.tp-header i:hover {
  zoom: 115%;
  padding: 0 6px; }

@media (min-width: 320px) and (max-width: 768px) {
  .tp-header i, .tp-header a {
    padding: 0 5px;
    color: #ddd; }
  .tp-header i:hover {
    zoom: 101%;
    padding: 0 4px; } }

.tp-header a {
  padding: 0 4px; }

.tp-header a:focus {
  outline: none; }

@media (max-width: 767px) {
  .tp-header .text-right i {
    float: right; }
  .signin {
    border: none; } }

.navbar-default .navbar-nav > li > a, .navbar-default .navbar-nav > li > a:focus {
  color: #333; }

.navbar-default .navbar-nav > li > a:hover {
  color: #86cb35; }

.mega-dropdown-menu > li > ul > li > a:hover {
  padding-left: 30px; }

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translate3d(0, 40%, 0); }
  40% {
    opacity: 1;
    transform: none; } }

header .fadeInUp {
  animation-name: fadeInUp; }

.dropdown-submenu:hover > .dropdown-menu {
  display: block; }

.page_indicator {
  background-color: #faf9f9;
  padding: 5px 0; }

.page_indicator a {
  color: #696f6f; }

.page_indicator a:hover {
  color: #0075c2; }

.menu_icon i {
  position: relative;
  top: 2px;
  display: none; }

.mega-dropdown-menu > li ul > li > a:hover i {
  display: inline-block; }

/*------------------Font Awesome Icon colors---------------*/
.flickericon {
  color: #ff0084; }

.googleicon {
  color: #dd4b39; }

.fbicon {
  color: #3b5998; }

.twittericon {
  color: #00aced; }

/*-----------------styles page----------------*/
#select1, #secelct_2 {
  width: 100%; }

.alert {
  padding: 10px 15px; }

.form-section .panel-info > .panel-heading {
  color: #ffffff; }

.color-dimensions {
  height: 60px; }

@media (max-width: 768px) {
  .headings_hind {
    margin-top: 40px; } }

.accordian_alignment .panel-title {
  color: #eaa932; }

.accordian_alignment .panel-default .panel-heading {
  background-color: #ffffff; }

@media (min-width: 767px) {
  .pull-right-buttons-sm-to-lg {
    float: right; } }

.alerts .fa-stack {
  margin-right: 10px; }

.radio-alignment {
  padding: 0 15px 0 10px; }

.lists ul {
  list-style-type: none; }

.table2 tr th {
  width: 30%; }

.accordian_alignment .panel-title .fa {
  padding-top: 7px; }

.accordian_alignment .panel-heading {
  height: 53px; }

.accordian_alignment .panel-group .panel {
  margin-bottom: 24px; }

.alert {
  border-radius: 0; }

.accordian_alignment .panel-title {
  margin-top: 5px; }

.alerts .close {
  padding-top: 7px; }

.select2-container .select2-selection--single {
  height: 36px; }

.select2-container .select2-selection--single .select2-selection__rendered {
  padding-top: 4px; }

.select2-container--default .select2-selection--single .select2-selection__arrow {
  top: 5px; }

.hoveicon_plus a {
  top: 40%; }

/*--------------Contact us-----------------*/
@media (min-width: 768px) {
  .contact_map_gap {
    padding-right: 15px; } }

.contact_mobile_number a {
  color: #696f6f; }

.contact_mobile_number a:focus, .contact_mobile_number a:active, .contact_mobile_number a:hover {
  color: #86cb35; }

/*--------------services-----------------*/
.services_icon {
  width: 50px; }

.services_countup {
  background-image: url("../images/new_slider4.png");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

.subscribe_section {
  background-image: url("../images/subscribe.png");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

.countup_options {
  font-size: 80px; }

/*-----------Pricing table section---------*/
.pricing_box {
  padding: 15px; }

.pricing_price {
  border-bottom-right-radius: 120px; }

.pricing_price h2 {
  font-size: 65px; }

.price {
  margin-left: 35px; }

.pricing_basic {
  background-color: #ef4242; }

.pricing_intermediate {
  background-color: #da9002; }

.pricing_advanced {
  background-color: #0569ab; }

.pricing_chairman {
  background-color: #6fbd11; }

.pricing_border_success {
  border: 1px solid #86cb35; }

.pricing_border_danger {
  border: 1px solid #ff6666; }

.pricing_border_warning {
  border: 1px solid #eaa932; }

.pricing_border_primary {
  border: 1px solid #0075c2; }

.pricing_box a {
  color: #696f6f;
  border: transparent; }

/*----------Subscribe section---------*/
.input_transparent .form-control {
  background-color: transparent;
  height: 60px;
  color: #fff; }

.input_transparent .input-group-addon {
  background-color: transparent; }

.input_transparent a:hover {
  color: #f89a14; }

.subscribe_btn {
  background-color: transparent;
  border: 0;
  outline: none; }

a .fa-circle {
  font-size: 36px; }

a .fa-circle:hover, a .fa-link:hover, .pointer_cursor:hover {
  cursor: pointer; }

a .fa-link {
  padding: 9px 0 0 9px; }

.fa-link:hover {
  transform: rotate(10deg); }

.services_carousel .owl-carousel .owl-item img {
  width: 40%;
  margin: auto; }

.services-carousel-top {
  margin-top: 120px; }

@media (max-width: 991px) {
  .services-carousel-top {
    margin-top: 30px; } }

.services_carousel h5 {
  margin-bottom: 0; }

/*-------------Blog page--------------*/
.blog_reply {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, 
             "Noto Sans", "Liberation Sans", "Noto Sans TC", "PingFang TC", 
             "Microsoft JhengHei", sans-serif, 
             "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; }

.blog_comment {
  padding: 30px; }

.blog_margin {
  margin-left: 20px;
  Color: #EAA932; }

.blog_margin_sd {
  margin-left: 20px; }

.icon_hov:hover {
  color: #77cae3;
  cursor: pointer; }

.hvr-icon-forward {
  transition-duration: 0.5s; }

.social_icon {
  cursor: pointer; }

.icon1 {
  padding: 0 3%; }

.like-i-hov:hover {
  color: #77cae3; }

.blog-liked {
  color: #77cae3; }

.newsticker .new_image {
  float: right; }

.latestnews_lihov:hover {
  background-color: #f8f8f5; }

.blog_news_top {
  margin-top: 50px; }

/*-------------Blog single post------------------*/
.hr_blog {
  margin-top: -8px; }

.share_icon_padding {
  padding-left: 20px; }

.banner1 {
  width: 100%; }

.admin {
  padding: 1px 5px 4px 5px;
  border-radius: 3px;
  color: #FFF; }

.morebtn_hovr a:hover {
  text-decoration: none; }

.blog_banner {
  position: relative;
  background-image: url("../images/blog_background.png");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 30px 0; }

.blog_banner1 {
  background: url("../images/banner2.png");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

.blog_banner2 {
  background: url("../images/Business-banner.png");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

/*----------- header model Two-----------------*/
.mega-dropdown-menu > li ul > li > a:hover,
.mega-dropdown-menu > li ul > li > a:focus {
  text-decoration: none;
  zoom: 101%;
  padding-top: 6px;
  color: #86cb35; }

.services_menu li a:hover, .services_menu li a:focus,
nav .open > a .nav .open > a:hover, .nav .open > a:focus, .nav .open > a, .nav .open > a:hover {
  text-decoration: none;
  color: #ffffff;
  background-color: #2D3047; }

.home_header header {
  position: relative;
  z-index: 50; }

.navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover {
  background-color: #fff;
  color: #86cb35; }

/*---------------header two end---------------------*/
.menu_carousel {
  padding-left: 0; }

.mega-dropdown {
  position: static !important; }

.mega-dropdown-menu {
  padding: 20px 0;
  width: 100%; }

.mega-dropdown-menu > li > ul {
  padding: 0;
  margin: 0; }

.mega-dropdown-menu > li > ul > li {
  list-style: none; }

.mega-dropdown-menu > li > ul > li > a {
  display: block;
  padding: 6px 20px; }

.dropdown ul li a {
  color: #696f6f; }

.mega-dropdown-menu .dropdown-header {
  color: #6fbd11;
  font-size: 18px; }

.mega-dropdown-menu form {
  margin: 3px 20px; }

.mega-dropdown-menu .form-group {
  margin-bottom: 3px; }

header, .navbar {
  background-color: #ffffff;
  border: none; }

.navbar-collapse {
  border-top: 0; }

.navbar-default .navbar-nav > .open > a:focus {
  color: #86cb35;
  background-color: #ffffff; }

.navbar-default .navbar-nav > .open > a {
  background-color: #ffffff; }

.navbar-nav > li > a {
  padding-bottom: 25px;
  padding-top: 30px; }

.navbar {
  margin: 0; }

.navbar-brand a {
  padding-top: 10px; }

.navbar-toggle {
  margin: 12px 0 8px 0; }

.navbar-light .navbar-toggler {
  color: rgba(0,91,172,1);/*rgba(0,0,0,.55)*/
  border-color: rgba(0,0,0,.1);
}
.navbar-toggler:focus {
  text-decoration: none;
  outline: 0;
  box-shadow: 0 0 0 .15rem;
}

@media (max-width: 767px) {
  .navbar-brand {
    padding-top: 0;
    padding-left: 0; }
  .navbar-header {
    padding-bottom: 5px; } }

/* li click */
@media (max-width: 991.98px) {
  /* 多層選單顯示定位 */
  .dropdown-submenu {
    position: relative;
  }

  .dropdown-submenu > .dropdown-menu {
    display: none;
    top: 0;
    left: 100%;
    position: relative; 
  }

  .dropdown-submenu.open > .dropdown-menu {
    display: block;
  }

  .dropdown-menu {
    position: relative !important;
  }

  /* 第1層 hover */
  .nav-item.dropdown.show {
    width: 100%; /* 確保 li full */
  }

  .nav-item.dropdown.show > .nav-link {
    position: relative;
    width: 100%;
    display: block; /* 確保 inline 能 width */
  }

  .nav-item.dropdown.show > .nav-link.hvr-underline-from-center::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 3px;
    bottom: 0;
    left: 0;
    background-color: #104b9f;
    transform: scaleX(1);
    transform-origin: center;
    transition: transform 0.3s ease;
  }
}

@media (max-width: 991px) {
  .navbar-nav > li > a {
    padding-top: 20px;
    padding-bottom: 15px; }
  .blog_news_top {
    margin-top: 0; } }

/*-------------multi level menu-----------------*/
.dropdown-submenu {
  position: relative; }

.dropdown-submenu > .dropdown-menu {
  top: 5px;
  left: 100%;
  margin-top: -6px;
  margin-left: -1px;
  border-radius: 0 6px 6px 6px; }

.dropdown-submenu > a:after {
  display: block;
  content: " ";
  float: right;
  width: 0;
  height: 0;
  border-color: transparent;
  border-style: solid;
  border-width: 5px 0 5px 5px;
  border-left-color: #555;
  margin-top: 5px;
  margin-right: -10px; }

.dropdown-submenu:hover > a:after, .dropdown-submenu:active > a:after {
  border-left-color: #fff; }

.dropdown-submenu.pull-left > .dropdown-menu {
  left: -100%;
  margin-left: 10px;
  border-radius: 6px 0 6px 6px; }

.services_menu li a {
  padding: 12px 20px; }

.services_menu, .services_menu ul {
  padding: 0; }

@media (min-width: 768px) {
  .dropdown-submenu .dropdown-menu {
    right: inherit; }
  .services_menu {
    right: -50px !important; }
  .pages {
    background-image: url("../images/dropdownbackground.png");
    background-repeat: no-repeat;
    background-size: 100% 100%; } }

@media (max-width: 767px) {
  .navbar-nav .open .dropdown-menu .dropdown-header {
    padding: 7px 15px 5px 0; } }

.hvr-underline-from-center {
  display: inline-block;
  vertical-align: middle;
  transform: translateZ(0);
  box-shadow: 0 0 1px transparent;
  backface-visibility: hidden;
  position: relative;
  overflow: hidden; }

.hvr-underline-from-center:before {
  content: "";
  position: absolute;
  z-index: -1;
  left: 50%;
  right: 50%;
  bottom: 0;
  background: #104b9f;/*#86cb35*/
  height: 3px;
  transition-property: left, right;
  transition-duration: 0.2s;
  transition-timing-function: ease-out; }

.hvr-underline-from-center:hover:before, .hvr-underline-from-center:focus:before, .hvr-underline-from-center:active:before {
  left: 0;
  right: 0; }

/*------------------footer------------------*/
.shape {
  background-image: url("../images/shape.png");
  height: 95px;
  background-size: 100% 100%; }

@media screen and (max-width: 767px) {
  .shape {
    height: 50px; } }

footer {
  background-color: #000010; }

footer a, .footer_text_color, .footer_text_color a {
  color: #a2a9af; }

footer a:focus, .footer_text_color a:hover {
  color: #fff; }

.copy-rights {
  background-color: #104b9f; }

@media (max-width: 767px) {
  .copy-rights p {
    text-align: center; } }

.footer_icon_red {
  color: #d3583a; }

.section-bottom-15 {
  margin-bottom: 15px; }

footer a:hover, .jyostna:hover, .footer_contact:hover .div_hover2, .footer_contact:hover .div_hover1 {
  text-decoration: none;
  color: #ffffff;
  cursor: pointer; }

footer span {
  margin-right: 10px; }

.foot_icon i:hover {
  background-color: #ff6666; }

.footer_one .footer_button:hover {
  color: #ffffff !important;
  border-color: #ffffff !important; }

footer hr {
  border-color: #3d4146;
  margin-bottom: 20px; }

.footer_social_icons {
  height: 55px;
  width: 55px;
  text-align: center;
  padding-top: 17px;
  background-color: #555;
  color: #fff;
  margin-right: 4px;
  font-size: 22px;
  border-radius: 4px;
  transition: 300ms; }

li.shots--shot img {
  width: 70px;
  height: 70px; }

.shots {
  clear: both;
  padding-left: 0; }

li.shots--shot {
  display: inline-block;
  float: left;
  margin-right: 15px;
  margin-bottom: 15px;
  margin-top: 7px; }

.tweet ul {
  margin-top: -6px;
  list-style: none;
  padding: 0; }

.tweet {
  color: #a2a9af;
  margin-top: 7px; }

/*-------------Insights-----------------*/
.plyr__volume--display {
  color: #86cb35; }

.blog_section_padding {
  padding: 30px;
  border-bottom: 10px solid #f7f7f7; }

.index_blog_social_icons span {
  margin-left: 5px; }

.insights_background {
  background-image: url("../images/blog_background.png");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  padding: 30px 0; }

.section-top-15 {
  margin-top: 15px; }

.section-top-30 {
  margin-top: 30px; }

.section-top-5 {
  margin-top: 5px; }

#chart5 .nv-group, #chart5 .nv-group.nv-series-2 {
  fill-opacity: 0.8 !important; }

.nvd3 text {
  font: 100 13px Hind,sans-serif;
  color: #696f6f; }

#chart5 {
  height: 380px; }

a:hover, a:focus {
  text-decoration: none;
  cursor: pointer; }

.insight_bpoimg {
  margin: auto; }

@media (max-width: 767px) {
  .newsticker .insight_newsticker_image {
    height: 80px; } }

/*----------------Investors----------------*/
.invest_section_padding {
  padding: 30px 0; }

.investor_background {
  background-image: url("../images/wood.jpg");
  background-size: 100% 100%;
  background-repeat: no-repeat;
  position: relative;
  padding: 30px 0; }

.invest_section_padding .nav > li > a {
  color: #fff; }

.invest_section_padding .nav > li > a:active, .invest_section_padding .nav > li > a:focus {
  background-color: #f5f5f5;
  color: #0075c2; }

.nav-pills > li.active > a, .nav-pills > li.focus > a, .nav-pills > li.active > a:hover {
  background-color: #86cb35 !important; }

.nav-pills a {
  color: #86cb35; }

.flotChart3 {
  height: 270px; }

.flotChart4 {
  height: 215px; }

@media (min-width: 768px) and (max-width: 991px) {
  .nav > li > a {
    padding: 10px 9px; }
  .navbar-brand {
    height: 65px; }
    .navbar-brand .mega-dropdown-menu > li > ul > li > a {
      padding-right: 2px !important; } }

/*---------------media---------------------*/
.media-swiper .swiper_pagination .swiper-pagination-bullet {
  height: 15px;
  width: 15px;
  background: none;
  border: 2px solid #fff; }

.media_banner4 {
  background: url("../images/index_3banner_countup.png");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

.media_icons {
  padding: 27px 0; }

.media_icons a:hover, .media_icons a:focus, .media_icons a:active {
  color: #FFFFFF; }

/*--------------Home----------------*/
.next_prev_btn {
  padding: 7px 12px;
  font-size: 25px;
  color: #ccc;
  margin-right: 5px; }

.home_services_bg {
  background-color: #eee;
  border: none;
  border-bottom: 10px solid #eee; }

.home_services_margin {
  margin-bottom: 20px; }

.case_study {
  padding: 15px;
  border: 1px solid #f5f5f5;
  border-bottom: 4px solid #ccc; }

.case_image {
  position: relative;
  z-index: 99; }

.case-item .btn-empty {
  position: relative; }

.case_study p {
  padding: 15px; }

.case_study .btn {
  margin-top: 25px;
  margin-bottom: 25px; }

.case_study:hover {
  background-color: #f5f5f5;
  border-color: #77cae3;
  border-width: 1px 1px 4px 1px;
  transition: border ease 1s; }

.carousel-control {
  bottom: 10px; }

.bg-white {
  background-color: #fff; }

.img_auto {
  margin: auto;
  height: 100px; }

.icon_case_detailed {
  margin: auto;
  height: 120px; }

.radius_5 {
  border-radius: 5px; }

.panel-info > .panel-heading {
  color: #fff; }

.home_map {
  height: 325px; }

.home_owl_carousel .owl-carousel .owl-item img {
  width: auto; }

@media (min-width: 992px) and (max-width: 1321px) {
  .full-screen {
    height: 80vh; } }

@media (min-width: 1322px) {
  .full-screen {
    height: 86vh; } }

.case_detailed #chart {
  background-color: #fafafa; }

@media (min-width: 425px) and (max-width: 991px) {
  .carousel-inner figcaption div {
    margin-top: 15%; } }

/*-------------home 2-----------------*/
.swiper_pagination_align > .swiper-container-horizontal > .swiper-pagination-bullets {
  top: 0; }

.swiper_dots {
  top: 0;
  right: 12px;
  left: auto !important;
  width: auto !important; }

.swiper-pagination-bullet-active {
  background-color: #6ba32a; }

.slider1 {
  background: url("../images/wood2.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

.slider2 {
  background: url("../images/revolution2.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

.slider3 {
  background: url("../images/corporate7.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

.home2_slide_2_background {
  background: url("../images/1231.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

.home2_slide_2_background1 {
  background: url("../images/126.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

/*----------------home 3------------------------*/
.profile1:hover .profile_data {
  top: 0; }

.profile1 {
  margin-top: 15px; }

.home3_countup_section {
  background-image: url("../images/stats.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%;
  padding: 20px 0; }

.home3_countup_section h4 {
  margin-top: -20px; }

.statics_options {
  font-size: 65px; }

figcaption h6 {
  margin-bottom: 5px; }

.link_transition a {
  transition: 200ms;
  text-decoration: none;
  color: #8e8e8e; }

.link_transition a:hover {
  padding-left: 15px;
  color: #86cb35;
  cursor: pointer; }

.social_icons i {
  color: #8e8e8e; }

.carousel-indicators {
  display: none; }

[class*=' imghvr-'] figcaption, [class^=imghvr-] figcaption {
  background-color: rgba(51, 51, 51, 0.55); }

[class^=imghvr-] a {
  position: relative; }

.hoveicon_plus a {
  top: 40%;
  position: absolute; }

.facebook_icon i {
  color: #3b5998; }

.twitter_icon i {
  color: #00aced; }

.pinterest_icon i {
  color: #cb2027; }

.instagram_icon i {
  color: #007bb6; }

.flickr_icon i {
  color: #ff0084; }

.youtube_icon i {
  color: #bb0000; }

.google_plus_icon i {
  color: #dd4b39; }

.m-t-70 {
  margin-top: 70px; }

.m-t-50 {
  margin-top: 50px; }

.meetour_back {
  border-top-left-radius: 100px;
  border-bottom-right-radius: 100px;
  background-color: #f0f0f0; }

.meet_img_pad {
  padding-top: 80px; }

/*----------------About us-------------------*/
.meetourteam {
  background-image: url("../images/about_meet_bg.png");
  background-size: 100% 100%; }

.circle_section {
  background-image: url("../images/circle_bg.png");
  background-size: 100% 100%; }

.meetourteam img {
  height: 150px; }

@media (max-width: 767px) and (min-width: 425px) {
  .svg-container {
    width: 45%; } }

.background1 {
  background: url("../images/aboutrsbanner1.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

.background2 {
  background: url("../images/aboutusbanner1.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

.background3 {
  background: url("../images/aboutbannernew.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

@media (max-width: 767px) {
  .profile {
    margin: 0; }
  .about_col_space {
    padding: 0 !important; } }

.profile:hover {
  border: 1px solid #86cb35;
  transition: border ease 1.5s; }

.about_col_space {
  padding: 0 15px; }

.profile_data {
  transition: top 0.5s;
  top: -15px; }

.profile:hover .profile_data {
  top: -15px; }

.profile {
  margin-top: 15px;
  border: 1px solid #f5f5f5; }

.owl-dots {
  text-align: right !important; }

.about_carousel .item img, .home_products img {
  width: 120px !important;
  margin: auto; }

@media (min-width: 426px) and (max-width: 767px) {
  .about_col_space img {
    width: 72px; } }

/*-----------careers-------------------*/
@media (max-width: 768px) {
  .fileinput-filename {
    display: none; } }

.careers h4 a:hover {
  color: #fff; }

.career_brands {
  width: 100px; }

.careers_border_top {
  border-top: 1px solid #ccc;
  padding-left: 15px;
  padding-right: 15px; }

.careers_border_bottom {
  border-bottom: 1px solid #ccc;
  padding-left: 15px;
  padding-right: 15px; }

.careers_border_top:hover {
  background-color: rgba(134, 203, 53, 0.38); }

.career_link_border {
  height: 150px;
  border: 1px solid #ccc;
  transition: 300ms;
  background-color: rgba(134, 203, 53, 0.08); }

.career_link_border:hover {
  background-color: rgba(134, 203, 53, 0.38); }

.career_link_border a {
  color: #fff; }

.careers_right_links {
  padding: 0 15px 0 15px; }

.careers_we_can_do {
  padding: 30px 15px; }

.careers_bg {
  background-image: url("../images/footerback.png");
  background-size: 100% 100%; }

.select2-container {
  width: 100% !important; }

.careers_border_top a, .careers_border_top a:focus, .careers_border_top a:active {
  color: #fff; }

.careers_border_top p {
  color: #cfc2c2; }

.career_banner1 {
  background: url("../images/career_banner2.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

.career_banner3 {
  background: url("../images/aboutrsbanner1.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

.career_banner2 {
  background: url("../images/career_banner3.jpg");
  background-repeat: no-repeat;
  background-size: 100% 100%; }

/*------------service detailed------------------*/
.service_detailed_contact .fa, .fa-hand-o-right {
  padding-right: 15px; }

.service_detailed_contact input {
  height: 45px; }

.service_detailed_contact h4 {
  margin-top: 30px; }

@media (max-width: 767px) {
  .service_form .section-top-40 {
    margin-top: 18px; } }

.case_keypoints {
  padding: 15px; }

.section-bottom-pad-40 {
  padding-bottom: 40px; }

/*-----------case studies----------------*/
.case_study {
  padding: 15px; }

#filters .nav-pills a:hover {
  background-color: transparent; }

#filters .nav-pills a.active {
  background-color: #86CB35;
  color: #ffffff; }

#filters .nav-pills a {
  color: #86CB35; }

/*---------------contact form---------------*/
.contact_page .fa-circle {
  font-size: 70px; }

.contact_page .fa-home, .contact_page .fa-phone, .contact_page .fa-envelope {
  padding: 15px 0 0 17px; }

.contact_page .map {
  height: 370px; }

.contact_map {
  margin: 0; }

.contact_map h4 {
  margin-top: 0; }

.socialicons_background {
  padding: 18px;
  margin-top: -5px;
  border-bottom: 4px solid #f1f1f1; }

/*---------------Gallery-------------------*/
.isotope_image_alignment figure img {
  height: 230px;
  width: 100%; }

.hover-icons1 {
  margin-top: 70px; }

.iconalign {
  padding-left: 14px; }

.gallery_img_shadow {
  box-shadow: 10px 18px 24px rgba(0, 0, 0, 0.3); }

/*---------------Portfolio---------------*/
.bgcolor {
  background-color: #f6f8f8; }

h5 a {
  color: #333; }

.bgcolor1 {
  background-color: #fff; }

.shadow-section {
  box-shadow: 8px 10px 15px rgba(0, 0, 0, 0.3); }

.section-padding-align {
  padding: 20px; }

.div1_hover:hover {
  background-color: #86cb35;
  transition: background ease 1s; }

.align {
  margin: 0; }

.div1_hover:hover img {
  background-color: #99c7e8;
  transform: scale(1.04);
  transition: transform ease-in 200ms; }

.gallery_img_shadow:hover {
  box-shadow: 5px 6px 8px rgba(0, 0, 0, 0.1); }

.div1_hover {
  border: 1px solid #86cb35; }

.btn-empty {
  background-color: #fff;
  color: #6ba32a;
  border: 1px solid #6ba32a; }

.btn-empty:before {
  background: #6ba32a; }

.newsroom_data_alighn {
  padding: 5px 10px; }

.img_hover_opacity img:hover {
  opacity: 0.5; }

h4 a, h4 a:hover, h4 a:focus {
  color: #111; }

/*---------------News Room-------------------*/
.newsroom_banner {
  background-image: url(../images/newroombanner.png);
  background-size: 100% 100%;
  background-repeat: no-repeat; }

#chart6 .nv-group, #chart6 .nv-group.nv-series-2, #chart7 .nv-group, #chart7 .nv-group.nv-series-2 {
  fill-opacity: 0.8 !important; }

#chart6, #chart7 {
  height: 350px; }

.parent_padding .child {
  padding: 20px; }

@media (min-width: 992px) and (max-width: 1199px) {
  .address_section_padding {
    padding-left: 30px; } }

.profit_formula {
  border: 1px solid black;
  padding-top: 15px; }

.news_address {
  padding: 0 15px 30px; }

.plyr--audio .plyr__controls button.tab-focus:focus, .plyr--audio .plyr__controls button:hover, .plyr__play-large {
  background-color: #86cb35; }

/*---------------404-PAGE-----------------*/
.body_back {
  background-image: url("../images/newback.jpg");
  background-repeat: no-repeat;
  height: auto;
  width: 100%; }

.error_page_content {
  padding-bottom: 150px; }

.rotated {
  margin: auto; }

.rotate {
  transition: transform 5s;
  transform: rotate(180deg) scale(0.5); }

@media (max-width: 1024px) {
  .content-section h2 {
    font-size: 20px; }
  .content-section h5 {
    font-size: 16px; } }

.heading3:after {
  border-top: 3px solid #303030;
  display: block;
  width: 40px;
  content: ""; }

.heading3.underline3:after {
  margin: 20px auto; }

/*--------------Sign In-------------*/
.modal-header {
  padding: 0; }

.modal-header h4, .close {
  color: white !important;
  text-align: center;
  font-size: 30px; }

.modal-body {
  padding: 20px 25px; }

.checkbox label {
  padding-left: 0; }

.icheckbox_minimal-blue {
  margin-right: 5px; }

/*---heading underline-----*/
.heading:after, .heading1:after {
  border-top: 2px solid #303030;
  display: block;
  width: 40px;
  content: ""; }

.megamenu_underline:after {
  border-top: 2px solid #303030;
  display: block;
  width: 40px;
  content: "";
  margin: -5px auto 0; }

.heading.underline:after, .heading2.underline2:after {
  margin: 15px auto 0; }

.heading1.underline1:after {
  margin: 15px auto; }

.heading1.underlineh5:after {
  margin: 5px auto; }

.heading {
  text-align: center; }

.heading2:after, .heading2:after {
  border-top: 2px solid #FFFFFF;
  display: block;
  width: 40px;
  content: ""; }

.heading_left:after {
  border-top: 2px solid #303030;
  display: block;
  width: 40px;
  content: "";
  margin-top: 6px; }

/*-------------Section divider------------*/
.seperator {
  margin: 30px auto;
  overflow: hidden;
  text-align: center;
  line-height: 1.2em; }

.seperator::after, .seperator::before {
  border-bottom: 1px solid #eee;
  content: "";
  display: inline-block;
  height: 0.65em;
  margin: 0 -4px 0 -100%;
  vertical-align: top;
  width: 50%; }

.seperator i {
  margin: 0 20px 0 24px;
  display: inline-block; }

.seperator::after {
  margin: 0 -100% 0 0; }

/*--------Portfolio single post----------*/
.image_alignment:hover img, .industry-img:hover {
  transform: scale(1.02);
  transition: transform ease-in 200ms; }

.industry-img, .gallery_img_shadow img {
  transition: transform ease-in 200ms; }

/*-----------Products-------------------*/
.second_section {
  display: none; }

/*------margin Adjust---*/
.margin_adjust {
  margin-top: 30vh; }

/*-----------Back to top-------------------*/
.return-top-btn {
  position: fixed;
  display: block;
  right: 30px;
  bottom: 80px;
  width: 60px;
  height: 60px;
  background-color: #fff;/*#104b9f*/
  color: #000!important;
  border-radius: 50%;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 0.9rem;
  z-index: 9999;
  border: 2px solid #e5e5e5;
  transition: all .3s ease;  
  box-shadow: 1px 1px 1.6rem rgba(34, 34, 34, .08);
}
.return-top-btn:hover {
  background-color: #104b9f;
  color: #fff !important;/*#ffc107*/
  border-color: #fff;/*#ffc107*/
  text-decoration: none!important;
}
.return-top-btn:link,
.return-top-btn:visited,
.return-top-btn:hover,
.return-top-btn:active {
  text-decoration: none !important;
}
.return-top-btn span::before {
  content: "";
  display: block;
  margin: 0 auto;
  width: 16px;
  height: 16px;
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7L7 1L13 7' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-size: 100% 100%;
	background-repeat: no-repeat;
}
.return-top-btn:hover span:before {
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 14 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 7L7 1L13 7' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")
    }

.return-top-btn span {
  text-decoration: none;
  display: inline-block;
}

/*--------------parallax-------------*/
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover; }

/*-----------------Slider button code--------*/
.slider_btn {
  color: #fff !important;
  padding: 12px 25px 10px 25px;
  
  display: inline-block;
  vertical-align: middle;
  background:rgba(0, 0, 0, 0.35) ;/*transparent*/
  transition-duration: 0.3s; }

.slider_btn_res {
  border: 1px solid #ffffff; }

.slider_btn:before {
  content: "";
  position: absolute;
  z-index: -1;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.8);/*86cb35*/
	border: 1px solid #ffffff;
  transform: scaleX(0);
  transform-origin: 50%;
  transition-duration: 0.3s;
  transition-timing-function: ease-out; }

.slider_btn:hover, .slider_btn:focus, .slider_btn:active {
  color: #fff; }

.slider_btn:hover:before, .slider_btn:focus:before, .slider_btn:active:before {
  transform: scaleX(1); }

/*---------------Custom Css End------------------------------*/

/* ---------- 全域樣式 ---------- */
.navbar {
  background-color: #ffffff;
  /*border-bottom: 1px solid #ddd;*/
}

.navbar-brand img {
  max-height: 60px;
}

/* ---------- 主選單樣式 ---------- */
.navbar-nav .nav-link {
  color: #333;
  font-weight: 500;
  padding: 0.75rem 1rem;
  transition: color 0.3s;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: #003f80!important;
  background-color: transparent;
}
.navbar-light .navbar-nav .nav-link {
  color: #1F1F1F;
	font-weight: bold;
}
@media (min-width: 1200px) {
  .navbar-expand-lg .navbar-nav .nav-link {
  padding-right: .8rem!important;
    padding-left: .8rem!important;
}
	}
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: .3rem;
    padding-left: .3rem;
  }
}
/* ---------- 下拉選單 ---------- */
.dropdown-menu {
  background-color: #f5f5f5;
  border: none;
  border-radius: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
  min-width: 200px;
  font-size: 1rem;
  z-index: 1050;
}

.dropdown-item {
  color: #444;
  padding: 0.5rem 1rem;
  transition: color 0.3s;
  background-color: transparent;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background-color: #eaeaea;
  color: #005BAC;
}
.dropdown-item.active, .dropdown-item:active {
  background-color: #eaeaea;
  color: #005BAC;
}

/* ---------- 子選單設定 ---------- */
.dropdown-submenu {
  position: relative;
}

.dropdown-submenu > .dropdown-menu {
  top: 0;
  left: 100%;
  margin-top: -1px;
  display: none;
  position: absolute;
  z-index: 1050;
}

/* ---------- PC hover  ---------- */
@media (min-width: 992px) {
  .navbar-nav .dropdown:hover > .dropdown-menu {
    display: block;
  }

  .dropdown-submenu:hover > .dropdown-menu {
    display: block;
  }

  .navbar-nav > .dropdown > .dropdown-menu {
    left: 50% !important;
    transform: translateX(-50%);
    right: auto;
  }

  .dropdown-submenu > .dropdown-menu {
    left: 100%;
    top: 0;
    margin-top: 0;
    transform: none;
  }
}

/* ---------- 箭頭設定 ---------- */
/* 預設移除箭頭 */
.dropdown-submenu > a::after {
  content: none !important;
}

/* 有 .with-arrow 類別才顯示箭頭 ▸ */
.dropdown-submenu.with-arrow > a::after {
  content: " \25B8"; /* ▸ */
  float: right;
  font-size: 0.75rem;
  color: #999;
}

/* 箭頭旋轉動畫（配合 JS 控制 .open） */
.toggle-arrow {
  transition: transform 0.3s ease;
  margin-left: 6px;
}

/* 展開時箭頭向下 */
.with-arrow.open > a .toggle-arrow {
  transform: rotate(90deg);
}

/* ---------- RWD設定 ---------- */
@media (max-width: 991.98px) {
  .navbar-nav .nav-link:focus,
  .navbar-nav .nav-link:hover {
    width: 100%;
  }

  .dropdown-menu {
    display: none;
    width: 100%;
    padding: .5rem 0;
    margin: 0;
    font-size: 1rem;
    color: #212529;
    text-align: left;
    background-color: #fff;
    border: none;
    border-radius: 0;
    box-shadow: none;
    position: relative;
  }

  .dropdown-submenu > .dropdown-menu {
    position: relative !important;
    top: 0 !important;
    left: 0 !important;
    display: none;
    width: 100%;
    margin: 0;
    padding-left: 1rem;
    background-color: #fff;
    border: none;
  }

  .dropdown-submenu .dropdown-submenu > .dropdown-menu {
    padding-left: 2rem;
  }

  /* 展開後的 submenu 顯示 */
  .dropdown-submenu > .dropdown-menu.show {
    display: block;
  }
}

@media (max-width: 991.98px) {
  #myMegamenu {
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 0.5rem; /* 防止滾動條擋住內容 */
    overscroll-behavior: contain;
  }

  .navbar-nav {
    flex-direction: column; /* 垂直排 */
    max-height: 80vh;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .dropdown-menu {
    position: static !important; /* 避免子選單出現難滾動 */
    float: none;
  }

  .dropdown-submenu > .dropdown-menu {
    margin-left: 1rem; /* 提示階層不浮出 */
  }
	 /* 避免bs5預設遮住滾動 */
  .navbar-collapse.collapse.show {
    display: block !important;
  }
/* english固定顯示 */
	/*.navbar-search .english-link {
    display: flex;
    align-items: center;
    font-size: 1rem;
    white-space: nowrap;
  }

  .navbar-search .english-link i {
    margin-right: 0.25rem;
  }*/
}

/* section-title */
.section-title {
  position: relative;
  display: inline-block;
}
.section-con {
    text-align: center; }
.section-underline {
  height: 6px;
  width: 48px;
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 16px; 
}

.section-underline::before,
.section-underline::after {
  content: '';
  display: block;
  height: 4px;
  border-radius: 2px;
}

.section-underline::before {
  width: 24px;
  background-color: #005BAC; /* 企業藍 */
}

.section-underline::after {
  width: 16px;
  background-color: #24B5B1; /* 青綠色 */
}

.section-description {
  font-size: 1rem;
  color: #555;
}

/*動態*/
.section-title, .section-description {
  /*opacity: 0;*/
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.section-title.appear,
.section-description.appear {
  opacity: 1;
  transform: translateY(0);
}


/*形象輪撥*/
/* 主標題樣式 */
.slider-welcome-title {
  position: absolute;
	margin-bottom: 34px;
  /*bottom: 180px;
  left: 40px;*/
  font-size: 52px;
  font-weight: bold;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, 
             "Noto Sans", "Liberation Sans", "Noto Sans TC", "PingFang TC", 
             "Microsoft JhengHei", sans-serif, 
             "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  z-index: 10;
  text-align: left;
}

/* 副標題樣式 */
.slider-welcome-subtitle {
  position: absolute;
	margin-bottom: 30px;
  /*bottom: 150px;
  left: 40px;*/
  font-size: 36px;
  font-weight: normal;
  color: #fff;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, 
             "Noto Sans", "Liberation Sans", "Noto Sans TC", "PingFang TC", 
             "Microsoft JhengHei", sans-serif, 
             "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  z-index: 10;
  text-align: left;
}
/* 主副標題區塊 */
.slider-welcome-link {
  display: block;
  text-decoration: none;
  color: #fff;
  margin-bottom: 0px;
}

/* 按鈕 */
.slider-welcome-buttons {
  position: absolute;
	margin-bottom: 0px;
  /*bottom: 90px;
  left: 40px;*/
  z-index: 10;
  display: flex;
  gap: 20px;
}

/* btn*/
.slider_btn_res {
  display: inline-block;
  padding: 12px 28px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  background-color: rgba(0, 0, 0, 0.5);
  border: 2px solid #fff;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* Hover */
.slider_btn_res:hover {
  background-color: #fff;
  color: #000;
}

/* 整個區塊外層 */
.slider-welcome-wrapper {
  position: absolute;
	height: auto;
  bottom: 50px;
  left: 40px;
  z-index: 9;
  padding: 64px 40px 44px 40px;
  background-color: rgba(0, 0, 0, 0.4);
	border-radius: 10px;
}
/* 提高文字層級用 */
.slider-welcome-title,
.slider-welcome-subtitle,
.slider-welcome-buttons {
  z-index: 10;
  position: relative;
}
/* RWD 設定 */
@media (max-width: 1200px) {
  .slider-welcome-title {
    font-size: 38px;
	margin-bottom: 30px;
  }

  .slider-welcome-subtitle {
    font-size: 24px;
	margin-bottom: 20px;
  }
	.slider-welcome-wrapper {
    position: absolute;
	height: auto;
  bottom: 30px;
  left: 20px;
  z-index: 9;
  padding: 80px 50px 50px 50px;
  background-color: rgba(0, 0, 0, 0.4);
	border-radius: 10px;
  }
}
@media (max-width: 992px) {
  .slider-welcome-title {
    font-size: 34px;
	margin-bottom: 30px;
  }

  .slider-welcome-subtitle {
    font-size: 20px;
	margin-bottom: 20px;
  }
	.slider-welcome-wrapper {
    position: absolute;
	height: auto;
  bottom: 30px;
  left: 20px;
  z-index: 9;
  padding: 100px 50px 60px 50px;
  background-color: rgba(0, 0, 0, 0.4);
	border-radius: 10px;
  }
}
@media (max-width: 768px) {
  .slider-welcome-title {
    font-size: 34px;
	margin-bottom: 30px;
  }

  .slider-welcome-subtitle {
    font-size: 20px;
	margin-bottom: 20px;
  }
	.slider-welcome-wrapper {
    position: absolute;
	height: auto;
  bottom: 30px;
  left: 20px;
  z-index: 9;
  padding: 100px 50px 60px 50px;
  background-color: rgba(0, 0, 0, 0.4);
	border-radius: 10px;
  }

/*  .slider-welcome-buttons {
    flex-direction: column;
    gap: 10px;
    bottom: 20px;
  }

  .slider_btn_res {
    font-size: 16px;
    padding: 10px 24px;
  }*/
}
/* 僅顯示主副標連結區塊 */
@media (max-width: 600px) {
  .slider-welcome-buttons {
    display: none;
  }

  .slider-welcome-link {
    display: block;	
  }

  .slider-welcome-wrapper {
    position: absolute;
	height: auto;
  bottom: 30px;
  left: 20px;
  z-index: 9;
  padding: 100px 50px 60px 50px;
  background-color: rgba(0, 0, 0, 0.4);
	border-radius: 10px;
  }

  .slider-welcome-title {
    font-size: 28px;
	  margin-bottom: 26px;
  }

  .slider-welcome-subtitle {
    font-size: 18px;
	margin-bottom: 0px;
  }
}

@keyframes zoomIn {
  0% { transform: scale(0.8); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}
@keyframes fadeUp {
  0% { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
@keyframes slideLeft {
  0% { transform: translateX(-50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
@keyframes slideRight {
  0% { transform: translateX(50px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}

.animate-zoom-in {
  animation: zoomIn 1s ease-out forwards;
  animation-delay: 0.2s;
}
.animate-fade-up {
  animation: fadeUp 1s ease-out forwards;
  animation-delay: 0.5s;
}
.animate-slide-left {
  animation: slideLeft 1s ease-out forwards;
  animation-delay: 0.8s;
}
.animate-slide-right {
  animation: slideRight 1s ease-out forwards;
  animation-delay: 1s;
}
/*形象輪撥 end*/

/*範疇類別*/
/* 滿版背景設定 */
/* 圖示區塊外容器 */
.product-icons-full {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  background-color: #fff;
  padding: 3rem 2rem;
  overflow: hidden;
}
@media (min-width: 1590px) and (max-width: 1699.99px) {
  .product-icons-full {
    padding-left: 0px;
    padding-right: 0px;
  }
}
@media (min-width: 1700px) and (max-width: 1899.99px) {
  .product-icons-full {
    padding-left: 70px;
    padding-right: 70px;
  }
}
@media (min-width: 1900px) {
  .product-icons-full {
    padding-left: 170px;
    padding-right: 170px;
  }
}
@media (min-width: 2000px) {
  .product-icons-full {
    padding-left: 20%;
    padding-right: 20%;
  }
}
@media (max-width: 600px) {
  .product-icons-full {
    padding-left: 6px;
    padding-right: 6px;
  }
}
@media (max-width: 420px) {
  .product-icons-full {
    padding-left: 14px;
    padding-right: 14px;
  }
}
/* 圖示連結 */
.icon-item {
  display: inline-block;
  color: #005BAC;
  text-decoration: none;
  transition: all 0.3s ease;
}

/* 圓形背景 */
.icon-circle {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  background-color: #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.5rem auto 0.75rem;
  transition: box-shadow 0.3s ease;
}

/* ICON圖片 */
.icon-svg {
  width: 84px;
  height: 84px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* 標籤文字 */
.icon-label {
  font-size: 1.25rem;
  font-weight: 700;
  transition: color 0.3s ease;
}

/* hover 效果 */
.icon-item:hover .icon-label {
  color: #24B5B1;
}
.icon-item:hover .icon-svg {
  animation: svgFlip 2s linear infinite;
}
.icon-circle.bg-blue:hover {
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px #005BAC;
}
.icon-circle.bg-cyan:hover {
  box-shadow: 0 0 0 4px #fff, 0 0 0 6px #24B5B1;
}

/* 背景色 */
.bg-blue { background-color: #005BAC; }
.bg-cyan { background-color: #24B5B1; }

/* 動畫 */
@keyframes svgFlip {
  0%, 100% { transform: rotateY(0); }
  50% { transform: rotateY(180deg); }
}

/* RWD */
@media (max-width: 420px) {
  .icon-circle { width: 96px; height: 96px; }
  .icon-svg { width: 60px; height: 60px; }
  .icon-label { font-size: 1rem; }
}
@media (min-width: 1400px) {
  .icon-circle { width: 160px; height: 160px; }
  .icon-svg { width: 104px; height: 104px; }
  .icon-label { font-size: 1.5rem; }
}
/*範疇類別end*/

/*info*/
/* info-section 背景樣式 */
.bg-info-lines {
  background: url('../images/bg-lines.png') repeat center / cover;
  /*background-color: #eeeeee;*/
}

/* 確保區塊滿版 */
.info-section {
  width: 100vw;
  margin-left: calc(-1 * ((100vw - 100%) / 2));
  padding-left: 0;
  padding-right: 0;
}

/* 集團情報區樣式 */
.info-section-group .section-title {
  border-bottom: 3px solid #000;
  padding-bottom: 0.5rem;
  display: inline-block;
  width: 100%;
}

.info-section-group .info-link {
  color: inherit;
  text-decoration: none;
  font-weight: bold;
}

.info-section-group .info-link:hover {
  text-decoration: underline;
}

.info-section-group .info-block {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
}

.info-section-group .info-block .badge {
  margin-bottom: 0.25rem;
  flex-shrink: 0;
}

.info-section-group .info-block a,
.info-section-group .info-block strong {
  flex: 1 1 auto;
  min-width: 0;
}

/* 快速連結按鈕 */
.info-section-group .quick-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  height: 60px;
  font-weight: 700;
  font-size: 1.5rem;       
  color: #fff !important; 
  text-decoration: none;
  text-align: center;
  line-height: 1.3;
  border-radius: 0.25rem;
  overflow: hidden;
  z-index: 0;              /* 確保文字在遮罩上層 */
}
@media (min-width: 991px) and (max-width: 1199.98px) {
  .info-section-group .quick-btn {
  font-size: 1.3rem; 
}
}
/* 遮罩初始狀態：由下往上展開 */
.info-section-group .quick-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  transform: scaleY(0);              /* 初始遮罩為 0 高度 */
  transform-origin: bottom;          /* 從底部展開 */
  transition: transform 0.4s ease-out;
  z-index: -1;
  border-radius: 0.25rem;
}

/* Hover 時遮罩往上展開 */
.info-section-group .quick-btn:hover::after {
  transform: scaleY(1);              /* 展開至原始尺寸 */
}

/* shake keyframes */
@keyframes shake {
  0% { transform: translateX(0); }
  20% { transform: translateX(-4px); }
  40% { transform: translateX(4px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); }
  100% { transform: translateX(0); }
}

/* scaleText keyframes */
@keyframes scaleText {
  0% { transform: scale(1); }
  50% { transform: scale(1.12); } /* 依需要調整放大倍率 */
  100% { transform: scale(1); }
}

/* 只讓第一個按鈕啟動放大效果 */
.info-section-group .quick-btn:first-child:hover {
  animation: scaleText 0.6s ease-in-out;
}
/* 預設文字樣式 */
.quick-btn-text {
  display: inline-block;
  transition: transform 0.3s ease;
}

/* 放大文字 */
.info-section-group .quick-btn:first-child:hover .quick-btn-text {
  transform: scale(1.15);
}
/* 廣告圖片邊框樣式 */
.ad-image {
  border: 2px solid #dfdfdf;
  border-radius: 0.25rem;
}
/*info end*/

/*begins*/
.main a.btn-more {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem; /* 稍微減小間距 */
  font-size: 1rem; 
  text-decoration: none;
}

.main a.btn-more:hover {
  text-decoration: none;
}

/* 文字縮小並設定基準大小 */
.main a.btn-more span {
  font-size: 1rem;  
  color: #fff;
  font-weight: 600; 
  text-decoration: none;
}
.main a.btn-more:hover span {
  color: #ffd700; /* 黃色 */
  text-decoration: none;
}

.main a.btn-more i {
  width: 2rem;
  height: 2rem;
  border: 1px solid #fff;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease; 
}

.main a.btn-more i {
  width: 2.4rem;
  height: 2.4rem;
  border: 1px solid #fff;
  border-radius: 50%;
  flex-shrink: 0;
  position: relative;
  transition: transform 0.3s ease;
  will-change: transform;
}

.main a.btn-more:hover i {
  animation: moveRightLeft 0.6s ease-in-out infinite;
}

@keyframes moveRightLeft {
  0% { transform: translateX(0); }
  50% { transform: translateX(6px); }
  100% { transform: translateX(0); }
}
.main a.btn-more i:after {
  content: "";
  position: absolute;
  top: 0;
  right: 1.2rem;
  bottom: 0;
  margin: auto;
  width: 1.8rem; 
  height: 0.8rem; 
  background: url("data:image/svg+xml,%3Csvg viewBox='0 0 41 18' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 8.5C0.723858 8.5 0.5 8.72386 0.5 9C0.5 9.27614 0.723858 9.5 1 9.5L1 8.5ZM1 9.5L40 9.5V8.5L1 8.5L1 9.5Z' fill='%23fff'/%3E%3Cpath d='M32 1L40 9L32 17' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A") no-repeat center center;
  background-size: 100%;
  animation: link 1s ease-out infinite;
}
@media (max-width: 768px) {
  .main a.btn-more span {
    font-size: 1.1rem;	  
  }

  .main a.btn-more i {
    width: 2rem;
    height: 2rem;
  }

  .main a.btn-more i:after {
    width: 1.8rem;
    height: 0.8rem;
    right: 0.8rem;
  }
	.main-begins .begins-item .text-1 {
    font-size: 1rem;
    line-height: 1.4;
		font-weight:600!important; 
  }
}
.main-begins {
    /*background-color: #f7f7f7*/
}

.main-begins .section-inner {
    position: relative
}

.main-begins .begins-list {
    display: flex;
    padding-left: 70%;
    width: 100%;
    gap: 1.4%;
    opacity: 0
}

.main-begins .begins-item {
    position: relative;
    display: flex;
    width: 16%;/*js*/
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    height: 26rem !important;
    text-align: center;
    color: #fff;
    border-radius: 2rem;
    overflow: hidden
}

.main-begins .begins-item.over {
    width: 68%;/*js*/
}

.main-begins .begins-item .thumb-wrap {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%
}

.main-begins .begins-item .thumb-wrap:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(34, 34, 34, .4)
}

.main-begins .begins-item .thumb {
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: 50% 50%;
    background-size: cover
}

.main-begins .begins-item .info {
    position: relative;
    padding: 0 1.2rem
}

.main-begins .begins-item .title {
    width: 100%;
    font-size: 1.4rem;
    font-weight: 600;/*600*/
    transition: font .3s ease-out;
		line-height: 1.4; 
}
@media (min-width: 1200px) {
  .main-begins .begins-item .title {
    font-size: 1.6rem;
}
}
.main-begins .begins-item .text-1 {
    margin-top: 2rem;
    width: 100%;
    white-space: pre-line;
	font-size: 1.2rem; 
  line-height: 1.4;  
  font-weight: 600; 
	text-align: left;
}

.main-begins .begins-item .text-1,
.main-begins .begins-item .btn-wrap {
    display: none
}

.main-begins .begins-item .btn-wrap {
    margin-top: 5rem
}

.main-begins .scr-eff-active .over .text-1,
.main-begins .scr-eff-active .over .btn-wrap {
    display: block
}

.main-begins .scr-eff-active .over .title {
    font-size: 2.4rem;
	/*font-weight: normal;*/
}


@media screen and (max-width: 992px) {

}

@media screen and (max-width: 766px) {

    .main-begins .begins-list {
        flex-direction: column;
        gap: .8rem
    }

    .main-begins .begins-item {
        padding: 2rem;
        width: 100% !important;
        height: auto !important;
        border-radius: 1.5rem
    }

    .main-begins .begins-item .title {
        font-size: 1.8rem;
        transition: none
    }

    .main-begins .begins-item.over {
        padding: 4rem 0;
        width: 100%
    }

    .main-begins .begins-item.over .title {
        font-size: 2rem
    }

}


@media screen and (max-width: 766px) {
   
.beginscont-video {
    display: block;
    width: 100%;
    padding: 0;
    text-align: center;
}

.beginscont-video video {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    -o-object-fit: contain;
    object-fit: contain;

}
}
/*begins*/

.text-primary-kk {
  color: #005BAC;
}

/*footer*/
.footer-section {
  background-color: #eeeeee;
 padding: 2rem 22rem;
}
.footer-icons {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}

.icon-group {
  display: inline-flex;
  align-items: center;
}

/* iconBounce keyframes */
@keyframes iconBounce {
  0%, 100% {
    transform: translateY(0);
  }
  30% {
    transform: translateY(-8px);
  }
  60% {
    transform: translateY(4px);
  }
}

.footer-icon {
  max-width: 40px;
  height: 40px;
  margin: 0 4px;
  transition: transform 0.3s ease;
}
/* hover觸發 */
.footer-icon:hover {
  animation: iconBounce 0.6s ease;
}

/* 運動企業 ICON */
.footer-icon-sports {
  max-width: none;
  width: auto;
  height: 46px; /* 獨立設定 */
}

/* 人才標章 ICON */
.footer-icon-talent {
	max-width: 46px;
  height: 46px;
}

/* ICON組間間隔 */
.icon-group + .icon-group {
  margin-left: 16px;
}

/* RWD: ICON center */
@media (max-width: 991.98px) {
  .footer-icons {
    flex-direction: column;
    gap: 1rem;
  }

  .icon-group {
    justify-content: center;
  }

  .icon-group + .icon-group {
    margin-left: 0;
  }
}
.footer-primary-line {
  color: #104b9f;
  font-weight: 500;
}
.footer-text-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem; 
}

.footer-text {
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: left;
  color: #333;
  max-width: 900px;
  width: 100%;
}
.footer-info {
  color: #104b9f;
}
/* 預設 ≥ 1400px */
.footer-section {
  padding: 2rem 22rem;
}

/* < 1400px */
@media (max-width: 1400px) {
  .footer-section {
    padding: 2rem 16rem;
  }
}

/* < 1200px */
@media (max-width: 1200px) {
  .footer-section {
    padding: 2rem 14rem;
  }
}

/* < 1100px */
@media (max-width: 1100px) {
  .footer-section {
    padding: 2rem 8rem;
  }
}

/* < 968px */
@media (max-width: 968px) {
  .footer-section {
    padding: 2rem 6rem;
  }
}

/* < 768px */
@media (max-width: 768px) {
  .footer-section {
    padding: 2rem 3rem;
  }
}

/* < 420px */
@media (max-width: 420px) {
  .footer-section {
    padding: 2rem 3rem;
  }
}
/*footer end*/

.copy-rights a {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.copy-rights a:hover {
  color: #ffc107; 
  text-decoration: underline;
  text-decoration-color: #ffc107;
}

/*搜尋 Modal*/
.btn {
  padding: .375rem .55rem;
	/*border-radius: 16rem;*/
}
.btn-group-sm > .btn, .btn-sm {
  /*padding: .375rem .55rem;*/
  /*font-size: 1rem;*/
  border-radius: 12rem;
  border-bottom-style: solid;
	border-width: 2px;
}
.search-btn {
  background-color: #1e56a5;
  border: none;
  color: #fff;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  border-radius: 999px;
  transition: background-color 0.3s ease;
}

.search-btn:hover {
  background-color: #4dbcc1;
}

.modal {
  z-index: 99999;
	}
.modal-header {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1rem;
  border-bottom: 1px solid #dee2e6;
  border-top-left-radius: 9px;
  border-top-right-radius: 9px;
}

.custom-search-modal-body {
  padding-top: 4rem;
  padding-bottom: 2rem;
  overflow-y: auto;
}

/*搜尋欄樣式*/
.btn-teal {
  background-color: #24B5B1;
  color: white;
  border: none;
}

.btn-teal:hover {
  background-color: #ffc107;
	color: #212529;
}

 .btn-clear-input {
    padding-top: 0.375rem;
    padding-bottom: 0.375rem;
    height: 100%; 
    line-height: 1.5;
  }

.btn-clear-input:hover {
  color: #24B5B1;
  text-decoration: none;/*underline*/
}

/*搜尋結果*/
.search-title-link {
  color: #ffffff;
  text-decoration: none;
  transition: all 0.2s;
}

.search-title-link:hover {
  color: #ffc107;
  text-decoration: underline;
}
.search-title-link {
    font-size: 1.25rem;
  }
  .search-description {
    font-size: 1rem;
  }


/* 預載外層 */
.preloader {
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 100000;
  background: #ffffff;
  backface-visibility: hidden;
	display: flex;
  align-items: center;
  justify-content: center;
}

/* 預載內部（置中區塊） */
.preloader-inner {
  width: 223px;/*50 133px*/
  height: 108px;/*50 78px*/
  position: absolute;
  left: 46%;/*46%*/
  top: 50%;
  margin: -25px 0 0 -25px;
  background-position: center;
}
@media (max-width: 1024px) {
.preloader-inner {
  left: 40%;/*40%*/
  top: 50%;
}}
@media (max-width: 768px) {
.preloader-inner {
  left: 36%;/*40%*/
  top: 50%;
}}
@media (max-width: 420px) {
.preloader-inner {
  width: 223px;/*50 133px*/
  height: 108px;/*50 78px*/
  position: absolute;
  left: 26%;/*40%*/
  top: 50%;
  margin: -25px 0 0 -25px;
  background-position: center;
}}
/*SweetAlert2*/
.swal2-container {
  z-index: 99999 !important;
}
.swal2-custom {
  font-size: 0.95rem;
  padding: 1.5rem;
}
.modal-backdrop,
.offcanvas-backdrop {
  z-index: 999 !important;
}
/*單元*/
/* main Banner */
.main-hero {
  position: relative;
  overflow: hidden;
  width: 100%;
}

/* 比例等比縮放 */
.main-hero-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  aspect-ratio: 1920 / 350; /* 自動高度比例 */
}

/* overlay */
.main-hero-overlay {
  position: absolute;
  inset: 0; /* top: 0; right: 0; bottom: 0; left: 0; 簡寫 */
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

@media (max-width: 420px) {
  .main-hero-img {
    height: 100px;
    object-fit: cover;
    max-height: none;
  }}


/* 按鈕區 */
.main-buttons .btn {
  white-space: nowrap;
}


/* main-title */
.main-title {
  position: relative;
  display: inline-block;
}
.main-con {
    text-align: left; }

.main-underline {
  height: 6px;
  width: 48px;
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-top: 16px; 
 /*margin-left: 6px;*/ 
}

.main-underline::before,
.main-underline::after {
  content: '';
  display: block;
  height: 4px;
  border-radius: 2px;
}

.main-underline::before {
  width: 24px;
  background-color: #005BAC; /* 企業藍 */
}

.main-underline::after {
  width: 16px;
  background-color: #24B5B1; /* 青綠色 */
}

.main-description {
  font-size: 1rem;
  color: #555;
}

/*animation*/
.main-title, .main-description {
  /*opacity: 0;*/
  transform: translateY(20px);
  transition: all 0.6s ease;
}

.main-title.appear,
.main-description.appear {
  opacity: 1;
  transform: translateY(0);
}

/*產品服務*/
.products-card {
  border: 1px solid #C3C3C3;
  background-color: #fff;
  border-radius: 0.5rem;
  overflow: hidden;
  /*margin-top: 3rem;*/
  margin-bottom: 2rem;
}

/* shadow */
.products-shadow {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
}

/* footer bar */
.products-footer-bar {
  height: 7px;
  background-color: #e6e6e6;
}

/* products section */
.products-image-wrap {
  overflow: hidden;
  border-radius: 0.25rem;
  position: relative;
}

.products-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
/* hover scale image */
.products-image-wrap:hover .products-image {
  transform: scale(1.05);
}

.products-image-wrap a {
  display: block;
  position: relative;
  text-decoration: none;
}

.products-image-wrap a:hover {
  text-decoration: none;
}

/* hover overlay */
.products-overlay {
  background: rgba(0, 0, 0, 0.5); 
  font-size: 1.25rem;
  text-align: center;
  color: #fff;
  padding: 1rem;
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

/* hover .products-image-wrap，overlay block */
.products-image-wrap:hover .products-overlay {
  opacity: 1;
  transform: translateY(0);
}

/* 標題 */
.products-title {
  font-weight: bold;
  color: #1e56a5;
  margin-bottom: 0.5rem;
}

.products-link {
  color: #005BAC;
  text-decoration: none;
  transition: color 0.3s ease;
}

/* 非連結維持 */
.products-link {
  color: inherit;
}

/* a有href才連結樣式同hover */
a.products-link[href] {
  color: #005BAC;
  text-decoration: none;
  transition: color .3s ease;
}
a.products-link[href]:hover,
a.products-link[href]:focus-visible {
  color: #24B5B1;
  text-decoration: none;
}

/* divider */
.products-divider {
  border: none;
  border-top: 1px solid #6c757d;/*#cccccc*/
  width: 100%;
  margin: 0.5rem 0 0.75rem;
}

/* directions */
.products-desc {
  font-size: 1.25rem;
  color: #6c757d; /* Bootstrap text-muted */
  line-height: 1.5;
  margin-bottom: 0;
}

/* CTA btn */
.products-btn {
  background-color: #33b2b8;
  border: none;
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: 1.15rem;
  border-radius: 999px;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.products-btn:hover {
  background-color: #1e56a5;
}

.products-content {
  padding-right: 1rem;
}

/* Story Unit */
.story-card{
  border-bottom: 4px solid #d9d9d8;
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease;
  /* 調整按鈕位置 */
  --story-read-top: 76%;
}
.story-card:hover{
  border-color:#014099; 
  box-shadow:0 6px 18px rgba(0,0,0,.08);
}

/* 固定圖高寬比例：3:2，避免長短腳 */
.story-media{
  position: relative;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  background:#f3f3f3;
}
.story-media img{
  width:100%;
  height:100%;
  object-fit:cover;/* 超出裁切、保持對齊 */
  transform:scale(1); /* 初始比例 */
  transition:transform .6s ease;
}
.story-card:hover .story-media img{
  transform:scale(1.06);/* 固定視窗內放大 */
}

/* 覆蓋（只放置按鈕，不做遮罩） */
.story-overlay{
  position:absolute;
  inset:0;
  pointer-events:none;/* 整張卡可點擊 */
}

/* 閱讀更多 */
.story-read{
  position:absolute;
  left:50%;
  top:var(--story-read-top);/* 76%≈圖片下 1/3 的位置 */
  transform:translate(-50%,-50%) scale(.98);
  opacity:0;
  transition:opacity .25s ease, transform .25s ease;
  pointer-events:auto;/* 按鈕可點 */
  display:inline-flex;
  align-items:center;
  gap:.5rem;
	
  background-color:#014099;
  color:#fff;
  font-size:1.15rem;
  font-weight:600;
  padding:16px 16px;
  border-radius:999px;
  box-shadow:0 6px 16px rgba(1,64,153,.18);
  text-decoration:none;
}
.story-card:hover .story-read{
  opacity:1;
  transform:translate(-50%,-50%) scale(1);
}
@media (min-width: 992px) and (max-width: 1199.98px){
  /* 閱讀更多 */
  .story-read{
    position: absolute;
    left: 50%;
    top: var(--story-read-top);          /* 例：76% */
    transform: translate(-50%,-50%) scale(.98);
    opacity: 0;
    transition: opacity .25s ease, transform .25s ease;
    pointer-events: auto;                /* 按鈕可點 */
    display: inline-flex;
    align-items: center;
    gap: .2rem;

    background-color: #014099;
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 16px 16px;
    border-radius: 999px;
    box-shadow: 0 6px 16px rgba(1,64,153,.18);
    text-decoration: none;
  }
}
/* 按鈕往上，避免靠底部 */
@media (max-width: 576px){
  .story-card{ --story-read-top: 76%; }
}

/* 日期（灰→黑） */
.story-date{
  color:#777473; font-size:1.25rem;
  transition:color .25s ease;
	font-weight: 600;
}
.story-card:hover .story-date{ color:#000; }

/* 標題、需求三行略 */
.story-title{ 
	margin: 0;
    margin-bottom: 0px;
  margin-bottom: 0px;
  padding: 6px 0px 6px 0px;
  font-weight: bold;
  font-size: 1.35rem;
  line-height:1.5; }
.story-title a{
  color:#014099; text-decoration:none;
}
.story-title a:hover{ color:#014099; text-decoration:none; }

/* 多行設定 */
.story-title a{
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}

/* 聚焦鍵盤使用保留 */
.story-card a:focus-visible{ outline: none;/*outline:2px solid #005bac; outline-offset:2px;*/ }

/* promise 設定 ===== */
.promise{
  --promise-blue: #005BAC;           /* 標題藍 */
  --promise-bg-blue: #005BAC;        /* 主藍底 */
  --promise-bottom-bar: #005BAC;     /* 最底藍條 */
  --promise-text: #15364a;
  --promise-muted: #6c7b88;
}

/* white full */
.promise-top{
  position: relative;
  z-index: 1;
  background:#fff;
  padding: 30px 0 40px;
}
.promise-title{
  color: var(--promise-blue);
  font-weight: 800;
  margin-bottom: 12px;
}
.promise-lead{
  color: var(--promise-muted);
  line-height: 1.5;
  margin: 0;
  font-size: 1.25rem;
}

/* 右側留白，避免被人物圖壓到 */
@media (min-width: 992px){
  .promise-top-container{ padding-right: 280px;}
}

/* blue full */
.promise-bottom{
  position: relative;
  z-index: 2;
  background: var(--promise-bg-blue);
  color:#fff;
  padding: 72px 0 0; /* 底部 0，人物圖直接貼底 */
  overflow: visible;
}

/* intro and signature */
.promise-quote{
  position: relative;
  padding-left: 32px;
  margin-bottom: 36px;
	font-weight: 600;
}
.promise-quote-mark{
  position: absolute;
  left: 0; top: -8px;
  font-size: 36px; line-height: 1; opacity:.8;
}
.promise-quote p{
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.6;
  letter-spacing: 0;
}
.promise-author{ margin-top: 20px; }
.promise-author-role{ font-size: 1.15rem; opacity:.9; }
.promise-author-name{ font-size: 1.45rem; font-weight:700; }

/* chairman：float out of the white area attach to the bottom */
.promise-chairman-wrap{
  position: absolute;
  right: 0;
  bottom: 0;           /* attach to the bottom */
  z-index: 3;          /* 高於底與內容 */
}
.promise-chairman-img{
  display: block;
  width: auto;
  max-height: 420px;
  object-fit: contain;
  transform: translateY(56px); /* float to the upper white area */
}

/* bg full */
.promise-bottom-bar{
  background: var(--promise-bottom-bar);
  height: 56px;
  width: 100vw;
  margin-left: calc(50% - 50vw);/* full */
  position: relative;
  z-index: 1;                   /* 在chairman下、在page上 */
}

.promise-top-vimeo {
  padding: 0; /* remove make the video stick */
}
.promise-top-vimeo .ratio {
  /*width: 100vw;*/ /* full */
  /*margin-left: calc(50% - 50vw);*/ /* 破 container 限制center full */
}
/* RWD：手機／平板 cancel pop-up blue bg */
@media (max-width: 991.98px){
  .promise-top-container{ padding-right: 0; }
  .promise-chairman-wrap{
    position: static;
    text-align: center;
    margin-top: -140px;
  }
  .promise-chairman-img{
  transform: none;
    max-height: 360px;
  object-fit: contain;
  transform: translateY(56px); /* float to the upper white area */
	  margin-left: 180px;
}
  .promise-author{ text-align: left; }

}


@media (max-width: 767.98px){
	.promise-chairman-wrap{
    position: static;
    text-align: center;
    margin-top: -140px;
  }
  .promise-chairman-img{
  transform: none;
    max-height: 320px;
  object-fit: contain;
  transform: translateY(56px); /* float to the upper white area */
	  margin-left: 60px;
}
}

@media (max-width: 575.98px){
  .promise-top{ padding: 18px 0 28px; }
  .promise-title{ line-height: 1.4;}
  .promise-lead{ font-size: 1.25rem; }
  .promise-quote p{ font-size: 1.05rem; line-height: 1.9; }
	.promise-chairman-wrap{
    position: static;
    text-align: center;
    margin-top: -140px;
  }
  .promise-chairman-img{
  transform: none;
    max-height: 320px;
  object-fit: contain;
  transform: translateY(56px); /* float to the upper white area */
	  margin-left: 40px;
}
	.promise-quote p{
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.5;
  letter-spacing: 0;
}
.promise-author-role{ font-size: 1.05rem; opacity:.9; }
.promise-author-name{ font-size: 1.35rem; font-weight:700; }
}
@media (max-width: 375px){
  .promise-top{ padding: 18px 0 28px; }
  .promise-chairman-img{
  transform: none;
    max-height: 320px;
  object-fit: contain;
  transform: translateY(56px); /* float to the upper white area */
	  margin-left: 20px;
}
	}
@media (max-width: 320px){
  .promise-chairman-img{
  transform: none;
    max-height: 320px;
  object-fit: contain;
  transform: translateY(56px); /* float to the upper white area */
	  margin-left: -28px;
}
	}
	
/*  knsh / SDGs section */
.knsh-section{ background:#005BAC;/*#005BAC*/ } 
.knsh-section .container{ color:#fff; }

/* wheel */
.knsh-wheel{
  display:flex; justify-content:center; align-items:center;
}
.knsh-wheel-img{
  width:100%; max-width:580px; height:auto; display:block;
  border-radius:50%; box-shadow:0 8px 14px rgba(0,0,0,.15);
  background:#0e5781;
}

/* accordion */
.knsh-accordion{ width:100%; }
.knsh-item + .knsh-item{ margin-top:.75rem; }

.knsh-trigger{
  width:100%;
  display:flex; align-items:center; gap:.5rem;
  background:rgba(255,255,255,.0);/*.08*/
  color:#fff;
  border-top:2px solid rgba(255,255,255,.0);/*.2*/
	border-bottom: 2px solid rgba(255,255,255,.2);;
		border-left: 2px solid rgba(255,255,255,.0);;
	border-right: 2px solid rgba(255,255,255,.0);;
  /*border-radius:.5rem;*/
  padding:.9rem 1rem;
  line-height:1.2;
  cursor:pointer;
  transition:background .2s ease,border-color .2s ease;
}
.knsh-trigger:hover{ background:rgba(255,255,255,.0);/*.12*/ }

.knsh-sign{
  width:24px; height:24px; flex:0 0 24px;
  border-radius:4px;
  /*background:#33b2b8;*/
  position:relative;
	transition: transform 0.3s ease; /* 整體旋轉動畫 */
}
.knsh-sign::before,
.knsh-sign::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 16px;
  height: 3px;
  background: #33b2b8;
  border-radius: 2px;
  transform: translate(-50%, -50%);
  transition: transform 0.3s ease; /* 單線動畫 */
}
.knsh-sign::after{ transform: translate(-50%, -50%) rotate(90deg);  } /* ＋縱線 */

/* aria-expanded=true → 顯示「－」 */
/* 展開：＋rotate消失成- */
.knsh-trigger[aria-expanded="true"] .knsh-sign::after {
  transform: translate(-50%, -50%) rotate(0deg);
  opacity: 0; /* 讓縱線淡出 */
}

.knsh-title{ font-weight:700; font-size:1.35rem;margin-top: 8px; }

/* content */
.font-medium {
  font-weight: 800;
  font-size: 1.15em;
	padding-left:0.2rem;
}
.knsh-panel{ margin-top:.5rem; padding:1rem; }

/* list */
.knsh-list{ margin:0; padding-left:1.2rem;
  font-weight: 800;
  font-size: 1.15em;}
.knsh-list li{ margin:.25rem 0 .25rem .35rem; }
.knsh-list li::marker{
  color:#33b2b8;
  font-size:1.35em; 
  line-height:1;
}

/* 右側兩欄／三欄佈局 */
.knsh-two-col{ columns:2; column-gap:1.25rem; padding-left:1.6rem; }
.knsh-grid{
  display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:.5rem 1rem;
  list-style:disc inside;
}

/* RWD SVG */
.knsh-sdgs-grid{
  display: grid;
  grid-template-columns: repeat(3, minmax(90px, 1fr));
  gap: 12px;
  /* 防 iOS/SVG 超出 */
  min-width: 0;
  justify-items: center; 
  align-items: center;
}

.knsh-sdgs{
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
  min-width: 0; /* grid 子項可縮小，避免超出 */
}

/* figure > figcaption */
.knsh-sdgs figcaption{
  margin-top: .35rem;
  font-size: .95rem;
  opacity: .9;
}

/* md */
@media (max-width: 991.98px){
  .knsh-grid{ grid-template-columns: repeat(2, minmax(0,1fr)); }
  .knsh-sdgs-grid{ grid-template-columns: repeat(3, minmax(80px,1fr)); }
}

/* sm ：兩欄 */
@media (max-width: 575.98px){
  .knsh-sdgs-grid{ 
    grid-template-columns: repeat(2, minmax(70px,1fr)); 
  }
}

/* <=420：兩欄 */
@media (max-width: 419.98px){
  .knsh-sdgs-grid{ 
    grid-template-columns: repeat(2, minmax(0, 1fr)); 
    gap: 10px;
  }
  .knsh-sdgs{ max-width: 140px; }
}

/* <=375：單欄 */
@media (max-width: 374.98px){
  .knsh-sdgs-grid{ 
    grid-template-columns: 1fr; 
    gap: 10px;
  }
  .knsh-sdgs{
    max-width: 220px;      
    margin-left: auto;
    margin-right: auto;
  }
}


/*  SDGs section */
/* basic colors */ 
:root{
  --sdgs-blue: #005BAC;   
  --sdgs-text:  #ffffff;  /* title #eec39a */
  --sdgs-white: #ffffff;
  --sdgs-btn-bg: #33b2b8; /* btn */
  --sdgs-btn-bg-h: #fff;  /* btn hover */
}

.sdgs-hero{ overflow: hidden; }

/* row 等高 */
.sdgs-hero .row.g-0 { align-items: stretch; }

/* left area */
.sdgs-left{
  background: var(--sdgs-blue);
  padding: 40px 42px;
  display: flex;
  flex-direction: column;
  min-height: 0; /* 等高由右側決定，不用 60vh/100vh */
}
.sdgs-left-top { text-align: left; margin-left: 0; margin-right: auto; }
.sdgs-heading{ color: var(--sdgs-text); font-weight: 700; }
.sdgs-lead{ color: var(--sdgs-white); opacity: .9; font-size: 1.25rem; }
.sdgs-sub{  color: var(--sdgs-white); opacity: .9; font-size: 1.15rem; }

/* CTA btn */
.sdgs-btn {
  background: var(--sdgs-btn-bg);
  border: none;
  padding: 0.75rem 1.25rem;
  font-size: 1.15rem;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: .5rem;
  transition: background-color 0.3s ease;
  color:#fff;
  font-weight: 600;
}
.sdgs-btn:hover { background: var(--sdgs-btn-bg-h); color: #000; }

/* right area */
.sdgs-right{ 
  position: relative;
  display: flex;
  overflow: hidden; /* 防止超出白邊 */
}

/* owl-carousel（950×535 ≈ 1.776） */
.knsh-sdgs-owl{ 
  --sdgs-aspect: 950/535;   /* 依圖片原始比例 */
  --sdgs-interval: 4s;      /* 純 CSS 輪播用 */
  position: relative;
  width: 100%;
  aspect-ratio: var(--sdgs-aspect);
  overflow: hidden;
  flex: 1 1 auto;
  max-height: 100vh;        /* 避免pc超高 */
  line-height: 0;           /* ⬅︎ 避免行內基線產生縫隙 */
}

/* RWD高度限制（一般手機） */
@media (max-width: 767.98px){
  .knsh-sdgs-owl{ max-height: 70vh; }
}

/* full */
.knsh-sdgs-owl .item,
.knsh-sdgs-owl .item img { width: 100%; height: 100%; }
.knsh-sdgs-owl .item { margin: 0; position: relative; overflow: hidden; }

/* 前圖：等比縮放，模糊背景填滿（預設 contain） */
.knsh-sdgs-owl .item img{
  display: block;                 /* ⬅︎ 避免圖片 baseline 空白 */
  position: relative;
  z-index: 1;
  object-fit: contain !important;
  object-position: center;
  background: transparent;
}

/* 毛玻璃鋪底（以 HTML 的 --bg 帶原圖） */
.knsh-sdgs-owl .item::before{
  content:"";
  position:absolute; inset:0;
  background-image: var(--bg);
  background-size: cover; background-position: center;
  filter: blur(18px) brightness(0.55);
  transform: scale(1.08);
  transform-origin: center;
  will-change: transform;
  z-index:0; opacity:1;
}

/* 高密度螢幕微調模糊 */
@media (min-resolution: 2dppx){
  .knsh-sdgs-owl .item::before{ filter: blur(14px) brightness(0.56); }
}

/* 純 CSS 疊放輪播（未啟動 Owl 時，固定 4 張） */
.knsh-sdgs-owl .item{ opacity:0; animation: sdgsFade4 calc(var(--sdgs-interval)*4) linear infinite; }
.knsh-sdgs-owl .item:nth-child(1){ animation-delay:0s; }
.knsh-sdgs-owl .item:nth-child(2){ animation-delay: calc(var(--sdgs-interval)*1); }
.knsh-sdgs-owl .item:nth-child(3){ animation-delay: calc(var(--sdgs-interval)*2); }
.knsh-sdgs-owl .item:nth-child(4){ animation-delay: calc(var(--sdgs-interval)*3); }

@keyframes sdgsFade4{
  0%{opacity:0;} 5%{opacity:1;} 20%{opacity:1;} 25%{opacity:0;} 100%{opacity:0;}
}

/* 無動態偏好：停第一張 */
@media (prefers-reduced-motion: reduce){
  .sdgs-right .knsh-sdgs-owl .item{ animation:none !important; }
  .sdgs-right .knsh-sdgs-owl .item:not(:first-child){ display:none; }
}

/* RWD center、pc right（btn） */
.sdgs-left-bottom{ display:flex; justify-content:center; }
@media (min-width: 992px){ .sdgs-left-bottom{ justify-content:flex-end; } }

@media (max-width: 575.98px){
  .sdgs-left{ padding: 28px 20px; }
  .sdgs-left-bottom{ margin-top: 20px; }
}

/* Owl 啟動後關閉純 CSS 播放 */
.knsh-sdgs-owl.owl-loaded .item{ position:relative !important; opacity:1 !important; animation:none !important; }

/* full */
.knsh-sdgs-owl,
.knsh-sdgs-owl .owl-stage-outer,
.knsh-sdgs-owl .owl-stage,
.knsh-sdgs-owl .owl-item,
.knsh-sdgs-owl .item{ width:100%; height:100%; }

/* Owl 模式下維持等比（contain） */
.knsh-sdgs-owl.owl-carousel .item img{
  width:100%; height:100%;
  display:block;
  object-fit:contain !important;
  object-position:center;
  position:relative; z-index:1;
}

/* Owl 模式毛玻璃 */
.knsh-sdgs-owl.owl-carousel .item::before{
  content:""; position:absolute; inset:0;
  background-image: var(--bg, none);
  background-size: cover; background-position:center;
  filter: blur(18px) brightness(.96);
  transform: scale(1.08);
  z-index:0;
}

/* 指標 */
.knsh-sdgs-owl{ cursor:grab; }
.knsh-sdgs-owl .owl-grab{ cursor:grabbing; }

/* dots 疊在圖內底部，不撐高外框 */
.knsh-sdgs-owl .owl-dots{
  position:absolute; left:0; right:0; bottom:10px;
  display:flex; justify-content:center; gap:8px;
  z-index:2; pointer-events:auto; margin:0 !important;
}
.knsh-sdgs-owl .owl-dot{
  width:10px; height:10px; border-radius:50%;
  background: rgba(255,255,255,.55);
  transition: transform .2s, background-color .2s;
}
.knsh-sdgs-owl .owl-dot.active{ background:#33b2b8; transform:scale(1.15); }

/* 未初始化時隱藏導覽避免閃爍 */
.knsh-sdgs-owl:not(.owl-loaded) .owl-nav,
.knsh-sdgs-owl:not(.owl-loaded) .owl-dots{ display:none !important; }

/* 991–1570px：前景 contain + 毛玻璃鋪底 */
@media (min-width: 991px) and (max-width: 1570px){
  .knsh-sdgs-owl .item img,
  .knsh-sdgs-owl.owl-carousel .item img{
    object-fit:contain !important; object-position:center; background:transparent;
  }
  .knsh-sdgs-owl .item::before,
  .knsh-sdgs-owl.owl-carousel .item::before{
    content:""; position:absolute; inset:0;
    background-image: var(--bg, none);
    background-size:cover; background-position:center;
    filter: blur(20px) brightness(.95);
    transform: scale(1.08);
    z-index:0; opacity:1;
  }
  .knsh-sdgs-owl .item{ position:relative; overflow:hidden; }
  .knsh-sdgs-owl .item img{ position:relative; z-index:1; }
  .knsh-sdgs-owl .owl-dots{ bottom:10px; }
}

/* （≤640px）：解決空白 */
@media (max-width: 640px){
  .sdgs-right{ overflow:hidden; }

  /* 解除固定比例，讓內容高度決定外框 */
  .knsh-sdgs-owl{
    aspect-ratio:auto;
    height:auto !important; max-height:none; 
    display:block; padding:0 !important; margin:0 !important;
  }

  /* Owl 會加一個 .owl-height（或寫死 stage 高度），全部改成 auto */
  .knsh-sdgs-owl.owl-height,
  .knsh-sdgs-owl .owl-stage-outer,
  .knsh-sdgs-owl .owl-stage,
  .knsh-sdgs-owl .owl-item,
  .knsh-sdgs-owl .item{
    height:auto !important;
    min-height:0 !important;
  }

  /* 圖片等比縮放貼齊上 */
  .knsh-sdgs-owl .item img{
    width:100%;
    height:auto !important;                 /* 等比 */
    object-fit:contain !important;          /* 完整顯示 */
    object-position: top center !important; /* 貼齊上 */
    display:block;
  }

  /* 避免多圖層導致高度誤差 */
  .knsh-sdgs-owl .item::before{ display:none !important; }

  /* 清掉可能撐高外框的間距 */
  .knsh-sdgs-owl,
  .knsh-sdgs-owl .owl-stage-outer,
  .knsh-sdgs-owl .owl-stage,
  .knsh-sdgs-owl .owl-item,
  .knsh-sdgs-owl .item,
  .knsh-sdgs-owl img{
    margin:0 !important; padding:0 !important; border:0 !important;
  }

  /* dots 疊在圖內底部（不增加高度） */
  .knsh-sdgs-owl .owl-dots{ bottom:6px; margin:0 !important; }
}

/* (≤768px) ：與上面 ≤640px 保持一致（保險設定）*/
@media (max-width: 768px){
  .knsh-sdgs-owl{ aspect-ratio:auto; height:auto; max-height:none; display:block; }
  .knsh-sdgs-owl .item,
  .knsh-sdgs-owl .item img{
    position:relative; width:100%;
    height:auto !important; object-fit:contain !important; object-position: top center !important;
  }
  .knsh-sdgs-owl .item::before{ display:none !important; }
}

/* mgt section */
.mgt-stats-section{
  /*background: linear-gradient(180deg,#f8fbff 0%,#f2f6fb 100%);*/
  /*background: url(../images/counter-leaf.svg) no-repeat 50% 15%/1440px;*/
  padding: 26px 0 180px; /* 預留底部三層背景高度 */
}

/* 卡片 */
.mgt-stats-card{
  text-align:center;
  padding: 24px 8px 12px;
  background: transparent; /* 無邊框、浮在背景上 */
  user-select: none;
}

.mgt-num{
  font-size: clamp(40px,5vw,64px);
  line-height: 1;
  color: #005BAC;            /* 藍色數字#1697e6 */
  font-weight: 800;
  letter-spacing: 1px;
}

.mgt-line{
  width: 64px;
  height: 2px;
  background: #111;
  opacity: .8;
  margin: 14px auto;
}

.mgt-unit{
  color: #005BAC;            /* 藍色單位#1697e6 #24B5B1 */
  font-weight: 700;
  	font-size: 1.35rem;
  margin-bottom: 10px;
}

.mgt-desc{
  color: #24B5B1;            /* 灰色說明#6c757d*/
  font-size: 1.25rem;
	font-weight: 700;
  margin: 0;
}

/* 次行小字（說明） */
.mgt-subdesc{
  margin-top: 6px;
  font-size: 16px;
  color: #8c98a4;
}

/* 讓單位可自動換行，避免超出 */
.mgt-unit{
  white-space: normal; /* 取代預設 nowrap 的情況 */
  line-height: 1.25;
}

/* Owl */
.mgt-stats-owl .owl-stage{
  display:flex;
}
.mgt-stats-owl .owl-item{
  display:flex;
}
.mgt-stats-owl .mgt-stats-card{
  width: 100%;
}
.mgt-stats-owl .owl-dots{
  margin-top: 8px;
}
.mgt-stats-owl .owl-nav{
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 12px;
  pointer-events: none; /* 按鈕外空白不擋滑動 */
}
.mgt-stats-owl .owl-nav button{
  pointer-events: auto; /* 按鈕可點 */
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.9) !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.12);
}
.mgt-stats-owl .owl-nav button span{
  font-size: 0; /* 使用 SVG，不顯示內文字 */
}

/* 3 層底部背景容器 */
.mgt-ground{
  position:absolute;
  left:0; right:0; bottom:0;
  height: 160px;
  overflow: hidden;
}

/* 單層背景基底 */
.mgt-layer{
  position:absolute;
  left:0; right:0;
  height: 160px;
  background-repeat: repeat-x;
  background-position: center bottom;
  background-size: cover;
}


/* 上層：靜止 >使用 SVG 漸層+形狀測試用） */
/*.mgt-layer-top{
  bottom: 0;
  z-index: 1;
  background-image:
    radial-gradient(ellipse at 10% 60%, rgba(22,151,230,.08) 0 40%, transparent 41%),
    radial-gradient(ellipse at 90% 70%, rgba(22,151,230,.08) 0 40%, transparent 41%),
    linear-gradient(180deg, transparent 0 20px, #d8edf6 21px 22px, transparent 23px),
    linear-gradient(0deg, rgba(255,255,255,.0), rgba(255,255,255,.0));
}*/

/* 中層：左右 */
.mgt-layer-mid{
  bottom: 0;
  z-index: 2;
  opacity: .65;
  background-image:
    linear-gradient(90deg, rgba(54,179,126,.15) 0 25%, rgba(0,0,0,0) 25% 50%, rgba(54,179,126,.15) 50% 75%, rgba(0,0,0,0) 75% 100%);
  background-size: 0px 160px;
  animation: mgt-move-x 18s linear infinite;
}

/* 底層：上下（模擬低處草木/雲層） */
.mgt-layer-bottom{
  bottom: -10px;
  z-index: 3;
  opacity: 1;/*.85*/
  /*background-image:
    radial-gradient(ellipse at 20% 100%, #b8e6b8 0 40px, transparent 41px),
    radial-gradient(ellipse at 60% 100%, #a6dbff 0 50px, transparent 51px),
    radial-gradient(ellipse at 85% 100%, #c3f1c3 0 40px, transparent 41px);*/
  background-size: 0px 160px;
  background-repeat: repeat-x;
  animation: mgt-move-y 4s ease-in-out infinite;
}

/* 動畫 */
@keyframes mgt-move-x{
  0%   { background-position: 0 100%; }
  100% { background-position: 480px 100%; }
}
@keyframes mgt-move-y{
  0%,100% { transform: translateY(0); }
  50%     { transform: translateY(-8px); }
}

/* bg Interaction */
/*.mgt-layer-top { background: url(../images/counter-leaf.svg) no-repeat 50% 15%/1440px; background-size: cover; }*/
.mgt-layer-mid { background: url(../images/counter-city.svg) repeat-x 0 0/1440px; background-size: auto 230px;/*height: 152px;*/ }
.mgt-layer-bottom { background: url(../images/counter-people.svg) no-repeat 50% 0/1440px; background-size: auto 160px;/*height: 39px;*/ }

@media (max-width: 1280px){
.mgt-layer-bottom { background: url(../images/counter-people2.svg) no-repeat 100% 0/500px; background-size: auto 160px;/*height: 39px;*/ }
}
@media (max-width: 1024px){
.mgt-layer-bottom { background: url(../images/counter-people2.svg) no-repeat 100% 0/500px; background-size: auto 160px;/*height: 39px;*/ }
}
@media (max-width: 767.98px){
.mgt-layer-bottom { background: url(../images/counter-people2.svg) no-repeat -30% 0/500px; background-size: auto 150px;/*height: 39px;*/ }
}
@media (max-width: 600px){
.mgt-layer-bottom { background: url(../images/counter-people2.svg) no-repeat 0% 0/500px; background-size: auto 140px;/*height: 39px;*/ }
}

/* RWD：底部高度稍低 */
@media (max-width: 575.98px){
  .mgt-stats-section{ padding-bottom: 150px; }
  .mgt-ground, .mgt-layer,  .mgt-layer-mid, .mgt-layer-bottom{ height:140px; }/*mgt-layer-top*/
}

/* 置中導覽箭頭（保留定位） */
.mgt-stats-owl .owl-nav{
  position: absolute;
  top: 50%;
  left: 0; right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 8px;
  pointer-events: none;
}

/* 箭頭：透明背景、無陰影 */
.mgt-stats-owl .owl-nav button{
  pointer-events: auto;
  width: 44px; height: 44px;
  padding: 0;
  background: transparent !important;
  box-shadow: none !important;
  border: 0;
  border-radius: 0;
}

/* 箭頭大小／顏色 */
.mgt-stats-owl .owl-nav .mgt-nav-ico{
  display:flex; align-items:center; justify-content:center;
  width:100%; height:100%;
}
.mgt-stats-owl .owl-nav i.fa-angle-left,
.mgt-stats-owl .owl-nav i.fa-angle-right{
  font-size: 36px;
  color: #9aa2a6;
  line-height: 44px;
}

/* Hover/Focus 不加背景 */
.mgt-stats-owl .owl-nav button:hover i,
.mgt-stats-owl .owl-nav button:focus i{ color:#6c757d; }
.mgt-stats-owl .owl-nav button:focus{ outline:2px solid #cfe8ff; }

/* 強制隱藏 */
.mgt-stats-owl .mgt-leaf{ display:none !important; }

/* 移除箭頭點擊/聚焦的框線+暈光 */
.mgt-stats-owl .owl-nav button{
  outline: none !important;
  box-shadow: none !important;
  -webkit-tap-highlight-color: transparent; /* iOS/Android 點擊暈光 */
}
.mgt-stats-owl .owl-nav button:focus,
.mgt-stats-owl .owl-nav button:focus-visible,
.mgt-stats-owl .owl-nav button:active{
  outline: none !important;
  box-shadow: none !important;
}
/* Firefox 焦點框 */
.mgt-stats-owl .owl-nav button::-moz-focus-inner{
  border: 0;
}

/* if「:focus i」改色，記得改成只在 hover 時改色 */
.mgt-stats-owl .owl-nav button:hover i{ color:#6c757d; }


/* mgtf Section */
.mgtf-section { background:#fff; }
.mgtf-item    { background:#f7f7f7; }
.mgtf-item + .mgtf-item { border-top:1px solid #ddd; }

/* Image figure：滿版裁切＋hover 放大 */
.mgtf-figure { overflow:hidden; }
.mgtf-figure img{
  transform: scale(1);
  transition: transform .6s ease;
  will-change: transform;
}
.mgtf-figure:hover img{ transform: scale(1.06); }

/* Content */
.mgtf-content{
  position: relative;
  min-height: 100%;
  padding: 2rem 1.25rem 2rem;/* 預留右下角按鈕空間 */
}
@media (min-width: 992px){
  .mgtf-content{ padding: 2.25rem 2rem 3.25rem; }
}

.mgtf-title{
  font-size: clamp(1.5rem, 2.2vw, 2.25rem);
  margin-bottom: .75rem;
  line-height: 1.2;
  font-weight: 800;
}
/* 標題尾端 */
.mgtf-title .mgtf-title-tail{
  font-size: 0.9em;  
  color: #6c757d;          
  font-weight: 700;        
  margin-left: .15em;      
  white-space: nowrap;     
}
.mgtf-accent{ color:#005BAC; }/* 標題強調色 */
.mgtf-text{
  color:#6c7b88;
  font-size: 1.25rem;
	line-height: 1.5;
  max-width: 52ch;
}

/* 了解更多（固定右下角） */
.mgtf-more{
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  font-weight: 700;
  text-decoration: none;
  color:#949aa1;
  border-bottom: 3px solid #cfd3d7;
  padding-bottom: .15rem;
  transition: color .25s ease, border-color .25s ease;
}
.mgtf-more:hover{
  color:#6c757d;
  border-color:#aeb4ba;
}

/* 改CTA btn */
.mgtf-btn {
  background-color: #33b2b8;
  border: none;
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: 1.15rem;
  border-radius: 999px;
  transition: background-color 0.3s ease;
  font-weight: 600;
}

.mgtf-btn:hover {
  background-color: #1e56a5;
}

/* 每一組間距感 */
@media (max-width: 991.98px){
  .mgtf-item { margin-bottom: .5rem; }
}
/* 右下角「了解更多」空間 */
.mgtf-content{
  padding-bottom: 3rem;
}
@media (min-width: 992px){
  .mgtf-content{ padding: 3rem 3rem 3rem; }
}

.mgtf-title{
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);   /* 標題上限 2.25rem */
}
.mgtf-more{
  font-size: clamp(1rem, 1.7vw, 1.7rem); /* 原本 1.35/2.0/2.0 → 略縮小 */
  font-weight: 800;
  letter-spacing: 0.02em;
  color:#8f97a0;
  border-bottom: 3px solid #cfd3d7;
  line-height: 1.1;
}
.mgtf-more:hover{ color:#6c757d; border-color:#aeb4ba; }

/* mgtc / Scoped Styles */
.mgtc-section * { box-sizing: border-box; }

/* 顏色 */
:root {
  --mgtc-gray: #6c757d;
  --mgtc-blue: #005BAC;
  --mgtc-teal: #33b2b8;
  --mgtc-body: #6c7b88;
}

/* 頂部 ICON NAV */
.mgtc-navbtn{
  width:100%; background:transparent; border:none;
  color:var(--mgtc-gray);
  display:flex; flex-direction:column; align-items:center; gap:.35rem;
  padding:.75rem .5rem; border-bottom:3px solid transparent;
  transition:color .2s ease,border-color .2s ease,transform .2s ease;
}
.mgtc-navbtn:focus{ outline:2px solid rgba(0,0,0,.1); outline-offset:2px; }
.mgtc-navbtn:hover,.mgtc-navbtn.active{
  color:var(--mgtc-blue); border-bottom-color:var(--mgtc-blue);
}
.mgtc-navbtn svg{ width:42px; height:42px; fill:currentColor; }
.mgtc-navlabel{ font-size:.95rem; color:currentColor; }

/* 分隔線 */
.mgtc-divider{ height:1px; background:#e9ecef; }

/* 標題/文字 */
.mgtc-title{ color:var(--mgtc-blue); font-weight:700; }
.mgtc-subtitle{ color:var(--mgtc-gray); }
.mgtc-body p{ color:var(--mgtc-body); line-height:1.8; }
.mgtc-hi{ font-weight:600; }
.mgtc-hi-blue{ color:var(--mgtc-blue); }
.mgtc-hi-teal{ color:var(--mgtc-teal); }

/* 卡片 */
.mgtc-stat{
  --mgtc-stat-accent: #005BAC;   /* 數字主色 */
  --mgtc-stat-icon:   #005BAC;   /* ICON 基色（會加淡度） */
  --mgtc-stat-text:   #2b2f33;   /* 標籤文字 */
  --mgtc-stat-muted:  #6c7b88;   /* 次要字 */

  border:1px solid #e8edf3;
  border-radius:12px;
  background:#fff;
  transition:transform .2s ease, box-shadow .2s ease;

  /* 卡片內容：左 icon + 右內容 */
  display:flex;
  align-items:flex-start;
  gap:14px;
  padding:16px; /* ← 統一卡片內距，避免 6px 覆蓋 */
}

.mgtc-stat:hover{
  transform:translateY(-2px);
  box-shadow:0 6px 20px rgba(0,0,0,.06);
}

/* Icon */
.mgtc-stat-icon{
  flex:0 0 48px;
  width:48px;height:48px;
  color: var(--mgtc-stat-icon);
  opacity:.22;
}
.mgtc-stat-icon svg{ width:100%; height:100%; display:block; }

/* 右側內容 */
.mgtc-stat-body{ line-height:1.25; }
.mgtc-stat-label{
  font-size:.98rem;
  font-weight:600;
  color: var(--mgtc-stat-text);
  margin-bottom:.25rem;
}

/* 數字 + 單位 */
.mgtc-stat-value{ display:flex; align-items:flex-end; gap:.35rem; }
.mgtc-stat-number{
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight:700;
  line-height:1;
  color: var(--mgtc-stat-accent);
  letter-spacing:.5px;
}
.mgtc-stat-unit{
  font-size:.95rem;
  color: var(--mgtc-stat-accent);
  opacity:.85;
  transform: translateY(-2px);
}

/* 數據背景情境 */
.mgtc-stat--on-dark .mgtc-stat-label{ color:#e9ecef; }
.mgtc-stat--on-dark .mgtc-stat-icon{ opacity:.35; }

/* 小尺寸 icon 微縮 */
@media (max-width: 575.98px){
  .mgtc-stat-icon{ width:40px;height:40px; flex-basis:40px; }
}

/* 清單 */
.mgtc-list-title{ color:#111; font-weight:700; margin-bottom:.5rem; }
.mgtc-ul{ list-style:none; padding-left:0; margin:0; }
.mgtc-ul li{
  position:relative; padding-left:1.25rem; margin:.35rem 0; color:var(--mgtc-body);
}
.mgtc-ul li::before{
  content:""; position:absolute; left:0; top:.65em; width:.5rem; height:.5rem;
  border-radius:50%; background:var(--mgtc-teal);
}
.mgtc-ol{ counter-reset:mgtc; list-style:none; padding-left:0; margin:0; }
.mgtc-ol li{
  counter-increment:mgtc; position:relative; padding-left:2rem; margin:.4rem 0;
  color:var(--mgtc-body);
}
.mgtc-ol li::before{
  content:counter(mgtc) "."; position:absolute; left:0; top:0;
  color:#fff; background:var(--mgtc-blue); border-radius:999px;
  width:1.5rem; height:1.5rem; display:inline-flex; align-items:center; justify-content:center;
  font-size:.85rem; line-height:1;
}

/* 圖片 */
.mgtc-gallery .mgtc-gitem{ display:block; border-radius:12px; overflow:hidden; position:relative; }
.mgtc-gallery img{ display:block; width:100%; height:100%; object-fit:cover; transition:transform .3s ease, filter .3s ease; }
.mgtc-gallery .mgtc-gitem::after{
  content:""; position:absolute; inset:0; background:linear-gradient(to bottom, rgba(0,0,0,0), rgba(0,0,0,.15));
  opacity:0; transition:opacity .3s ease;
}
.mgtc-gallery .mgtc-gitem:hover img{ transform:scale(1.04); filter:saturate(1.05); }
.mgtc-gallery .mgtc-gitem:hover::after{ opacity:1; }

/* Vimeo */
.mgtc-video{ border-radius:12px; overflow:hidden; }

/* 表格 */
.mgtc-table thead th{
  background:var(--mgtc-teal); color:#fff; font-weight:700; border:0;
}
.mgtc-table .table{ --bs-table-striped-bg: rgba(0,0,0,.02); }
.mgtc-table td, .mgtc-table th{ vertical-align:top; }

/* RWD：< 768px 轉直列清單 */
@media (max-width: 767.98px){
  /* 視覺隱藏 thead（保留） */
  .mgtc-table thead {
    border:0 !important;
    clip: rect(0 0 0 0);
    height: 1px; width: 1px;
    margin: -1px; overflow: hidden;
    padding: 0; position: absolute;
    white-space: nowrap;
  }

  /* 每筆資料卡片 */
  .mgtc-table tbody tr{
    display:block;
    width:100%;
    background:#fff;
    border:1px solid #e9eef5;
    border-radius:.5rem;
    overflow:hidden;
    margin-bottom:1rem;
  }

  /* 表格直列呈現，標頭在上、資料在下 */
  .mgtc-table tbody td{
    display:block;
    width:100%;
    border:0 !important;
    border-top:1px solid #f0f3f7 !important;
    padding: .75rem 1rem;
  }
  .mgtc-table tbody td:first-child{ border-top:0 !important; }

  /* 產生「：」標頭，置於上方一行 */
  .mgtc-table tbody td::before{
    content: attr(data-label) "：";
    display:block;
    font-weight:700;
    color:#6c757d;
    margin-bottom:.25rem;
  }

  /* 表格行距 */
  .mgtc-table .table{
    --bs-table-striped-bg: transparent; /* 手機時不需要 */
  }
}


/* 內嵌的 ICON + 文字 */
.mgtc-ictext{ display:inline-flex; align-items:center; gap:.4rem; color:var(--mgtc-blue); font-weight:600; }
.mgtc-ictext svg{ width:18px; height:18px; fill:currentColor; }

/* Modal 圖片 */
.mgtc-modal .modal-content{ border-radius:14px; }
.object-fit-contain{ object-fit:contain; }

/* 分頁切換 */
.mgtc-panes { position: relative; }
.mgtc-pane { display: none; }
.mgtc-pane.is-active { display: block; animation: mgtcFade .24s ease; }
@keyframes mgtcFade { from {opacity:.0; transform: translateY(4px);} to {opacity:1; transform:none;} }



/* 改CTA btn */
.svc-btn {
  background-color: #fff;
  color: #1e56a5!important;/*#33b2b8*/
  padding: 0.75rem 1.25rem;
  font-size: 1.35rem;
  border-radius: 999px;
  transition: background-color 0.3s ease;
  font-weight: 600;
  border: 2px solid #1e56a5;/*#33b2b8*/
	margin-top: 0.75rem;
}

.svc-btn:hover {
  background-color: #33b2b8;/*#1e56a5*/
	color: #fff!important;
	border: 2px solid #33b2b8;/*#1e56a5*/
}

/* fancybox */
.fancybox-container {
  -webkit-backface-visibility: hidden;
  height: 100%;
  left: 0;
  outline: none;
  position: fixed;
  -webkit-tap-highlight-color: transparent;
  top: 0;
  -ms-touch-action: manipulation;
  touch-action: manipulation;
  transform: translateZ(0);
  width: 100%;
  z-index: 99999!important;
}
.fancybox-caption {
  color: #eee;
  font-size: 1.15rem!important;
  font-weight: 400;
  line-height: 1.5;
  pointer-events: none;
  text-align: center;
}

/* service check */
 :root{
    --knsh-blue:#0B4EA2;         /* 主藍色 */
    --knsh-blue-weak:#eaf2ff;    /* 被選時淡藍底 */
  }

/*切換（A/B/C）*/
  /* radio切換鈕：框＋圓點 */
  .knsh-toggle{
    border:1.5px solid var(--knsh-blue) !important;
    color:var(--knsh-blue) !important;
    background:#fff !important;
    border-radius:.25rem;
    padding:.35rem .8rem;
    position:relative;
	font-weight: 800;
	  line-height:1.8;
  }
  /* 圓點 */
  .knsh-toggle::before{
    content:"";
    display:inline-block;
    width:16px;height:16px;
    margin-right:.5rem;
    vertical-align:-3px;
    border:2px solid #b7c7e6;
    border-radius:50%;
    background:#fff;
  }
  /* 被選取狀態（btn-check:checked + label） */
  .btn-check:checked + .knsh-toggle{
    background:var(--knsh-blue-weak) !important;
    box-shadow: inset 0 0 0 1px var(--knsh-blue);
  }
  .btn-check:checked + .knsh-toggle::before{
    border-color:var(--knsh-blue);
    background:
      radial-gradient(var(--knsh-blue) 0 55%, transparent 56% 100%);
  }

.lic-search :is(input.form-control, textarea.form-control, select.form-select) { border: 1.5px solid #0B4EA2; border-radius: 0; box-shadow: none; outline: 0; } 
/* focus .lic-search 輸入元件 */ 
.lic-search :is(input.form-control, textarea.form-control, select.form-select):focus{ border: 1.5px solid #0B4EA2; border-radius: 0; box-shadow: none; outline: 0;/*瀏覽器預設去除*/ }


.alert p a {
	color: #104b9f!important;
	text-decoration: none;
}
.alert p a:hover,
.alert p a:focus {
	color: #000 !important;
	border-bottom: solid #000 1px !important;
	text-decoration: none;
}
.alert {
    position: relative;
    padding: 1.25rem 1.25rem .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: .6rem;
}
.alert a {
	color: #104b9f!important;
	text-decoration: none;
}
.alert a:hover,
.alert a:focus {
	color: #000 !important;
	border-bottom: solid #000 1px !important;
	text-decoration: none;
}
/*alert*/
.alert-tip{background:#eeeeee;border-color:#fff;color:#666;font-size:1em;margin-top:20px;}

.svc-list {
    color: #747474;
    margin-left: 8px;
    font-size: 15px;
}

  /* 查詢 btn */
  .knsh-btn{
  background-color: #33b2b8;
  border: none;
  color: #fff;
  padding: 0rem 1.25rem;/*0.75rem 1.25rem*/
  font-size: 1.15rem;
  border-radius: 999px;
  transition: background-color 0.3s ease;
  font-weight: 600;
  }
  .knsh-btn:hover{ background-color: #1e56a5; }

/* 同BS5欄位高度（上下 padding 與 1px 邊框計算值） */
:root { --ctl-h: calc(1.5em + 0.75rem + 2px); }

/* 指定 select 高度（避免影響） */
.lic-search .form-select { height: var(--ctl-h); }
/* height同 .form-select */
.btn-same-h{
    height: var(--ctl-h);
  padding: .375rem 1.25rem;   /* 同.form-select 上下 padding */
  line-height: 1.5;
  display: inline-flex;
  align-items: center;
  }

/*version*/
.cart {
    width: 22px;
    margin: 2px 5px;
}
.yourclass {
    width: 20px;
    margin: 2px 5px;
}
.font-size{
  font-size: 18px;
	}
.first-width {
  width: 20%;
  text-align: left;
}

/* Floating (csc-form) */
.csc-form{
  --csc-blue:#0B4EA2;                 /* 主色 */
  --csc-border:#6c757d;               /* 邊框色#cfd4da */
  --csc-label:#6c757d;                /* 標籤色 */
  --csc-bg:#fff;
  --csc-radius:.5rem;
  --csc-focus-shadow: rgba(11,78,162,.15);
  --csc-notch-offset:-.65rem;         /* 位移 */
  --csc-label-scale:.85;              /* 縮放 */
}

/* 容器內元素 */
.csc-form .notched{ position:relative; }

/* 欄位外觀（input / select / textarea） */
.csc-form .notched > .form-control,
.csc-form .notched > .form-select,
.csc-form .notched > textarea.form-control{
  border:1.5px solid var(--csc-border);
  border-radius:var(--csc-radius);
  background:var(--csc-bg);
  box-shadow:none;
  outline:0;
  padding-top:1.25rem;/* 預留浮動標籤空間 */
}

/* input/textarea 需 placeholder=" " 才能偵測「有值」 */
.csc-form .notched > .form-control::placeholder,
.csc-form .notched > textarea.form-control::placeholder{ color:transparent; }

/* 浮動標籤 */
.csc-form .notched > label{
  position:absolute; left:.75rem; top:.6rem;
  padding:0 .35rem; background:var(--csc-bg);
  color:var(--csc-label);
  pointer-events:none;
  transform-origin:left top;
  transition:all .18s ease;
}

/* 聚焦變色 */
.csc-form .notched:focus-within > .form-control,
.csc-form .notched:focus-within > .form-select,
.csc-form .notched:focus-within > textarea.form-control{
  border-color:var(--csc-blue);
  box-shadow:0 0 0 .15rem var(--csc-focus-shadow);
}
.csc-form .notched:focus-within > label{ color:var(--csc-blue); }

/* 有值或聚焦時，標籤上縮（select 同規則） */
.csc-form .notched > input.form-control:not(:placeholder-shown) + label,
.csc-form .notched > textarea.form-control:not(:placeholder-shown) + label,
.csc-form .notched > select.form-select:valid + label,
.csc-form .notched:focus-within > label{
  top:var(--csc-notch-offset);
  transform:scale(var(--csc-label-scale));
}

/* select 與 disabled 預設浮起文字不互擋 */
.csc-form .notched > select.form-select + label,
.csc-form .notched > :is(.form-control, .form-select, textarea.form-control):disabled + label{
  top:var(--csc-notch-offset);
  transform:scale(var(--csc-label-scale));
}

/* 下拉箭頭 */
/* 移除原箭頭預留空間 */
.csc-form .notched > select.form-select{
  appearance:none; -webkit-appearance:none; -moz-appearance:none;
  background-image:none !important;
  padding-right:2.25rem;
}
/* 箭頭欄位外層.has-caret */
.csc-form .notched.has-caret::after{
  content:"";
  position:absolute; right:.75rem; top:50%;
  transform:translateY(-50%);
  width:12px; height:8px; pointer-events:none;
  background-color:var(--csc-label);
  transition:background-color .2s ease, transform .2s ease;
  -webkit-mask:url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 14">\
<path d="M2 2l10 10L22 2" stroke="black" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat 50% 50%;
  mask:url('data:image/svg+xml;utf8,\
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 14">\
<path d="M2 2l10 10L22 2" stroke="black" stroke-width="3" fill="none" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat 50% 50%;
}
.csc-form .notched.has-caret:focus-within::after{
  background-color:var(--csc-blue);
  transform:translateY(-50%) rotate(180deg);
}

/* 尺寸設定 */
.csc-form .notched.notched--sm > .form-control,
.csc-form .notched.notched--sm > .form-select,
.csc-form .notched.notched--sm > textarea.form-control{ padding-top:1rem; }
.csc-form .notched.notched--sm > label{ top:.5rem; font-size:.9rem; }

.csc-form .notched.notched--lg > .form-control,
.csc-form .notched.notched--lg > .form-select,
.csc-form .notched.notched--lg > textarea.form-control{ padding-top:1.5rem; }
.csc-form .notched.notched--lg > label{ top:.8rem; font-size:1.05rem; }

/* 狀態 */
.csc-form .notched > .form-control:disabled,
.csc-form .notched > .form-select:disabled,
.csc-form .notched > textarea.form-control:disabled{
  background:#f8f9fa; color:#999;
}
.csc-form .notched > .form-control:disabled + label,
.csc-form .notched > .form-select:disabled + label,
.csc-form .notched > textarea.form-control:disabled + label{
  color:#adb5bd;
}
.csc-form .notched.has-caret:has(> .form-select:disabled)::after{ background-color:#adb5bd; }

/* bs驗證相容 */
.csc-form .notched > .form-control.is-invalid,
.csc-form .notched > .form-select.is-invalid,
.csc-form .notched > textarea.form-control.is-invalid{
  border-color:#dc3545; box-shadow:none;
}
.csc-form .notched > .form-control.is-valid,
.csc-form .notched > .form-select.is-valid,
.csc-form .notched > textarea.form-control.is-valid{
  border-color:#198754; box-shadow:none;
}
.csc-form .notched:has(> .is-invalid) > label{ color:#dc3545; }
.csc-form .notched:has(> .is-valid)   > label{ color:#198754; }
.csc-form .notched.has-caret:has(> .is-invalid)::after{ background-color:#dc3545; }
.csc-form .notched.has-caret:has(> .is-valid)::after{   background-color:#198754; }

/* select 無效時：文字紅色 */
.csc-form .notched > .form-select.is-invalid,
.csc-form .notched > .form-select:invalid{
  color:#dc3545;
  border-color:#dc3545;
  box-shadow:0 0 0 .15rem rgba(220,53,69,.15);
}

/* 無效時標籤+箭頭紅色 */
.csc-form .notched:has(> .form-select.is-invalid) > label,
.csc-form .notched:has(> .form-select:invalid) > label{
  color:#dc3545;
}
.csc-form .notched.has-caret:has(> .form-select.is-invalid)::after,
.csc-form .notched.has-caret:has(> .form-select:invalid)::after{
  background-color:#dc3545;
}

/* invalid-feedback：display:none */
.csc-form .notched > .invalid-feedback{
  display:none;
  margin-top:.25rem;
  font-size:.875rem;
}

/* .was-validated 且 select 未通過驗證 → 顯示說明 */
.csc-form.was-validated .notched > .form-select:invalid ~ .invalid-feedback{
  display:block;
}

/* .is-invalid 顯示說明（不等提交） */
.csc-form .notched > .form-select.is-invalid ~ .invalid-feedback{
  display:block;
}
/* 送出/取消 btn */
.csc-btn{
  background-color:#33b2b8;
  border:none;
  color:#fff;
  padding: 0.45rem 1.25rem;       
  font-size:1.15rem;
  border-radius:999px;
  font-weight:600;
  transition:background-color .3s ease, box-shadow .2s ease;
  line-height:2.5rem;              
}
.csc-btn:hover{ color:#fff;background-color:#1e56a5; }
.csc-btn:focus-visible{
  outline:0;
  /*box-shadow:0 0 0 .15rem rgba(30,86,165,.35);*/
}
.csc-btn:disabled{ opacity:.65; }
.form-text {
  margin-top: .25rem;
  font-size: 1em;
  color: #6c757d;
}

/* Tags bar style */
:root{
  --tag-blue:#0B4EA2;
  --tag-chip-border:#e6e9ef;
  --tag-chip-text:#212529;
  --tag-chip-hover-shadow:rgba(11,78,162,.18);
}

/* com-Vision */
.text-blue {
  color: #014099 !important;
}
.vision-figcap { font-size: 1.1rem;color: #212529;
  font-style: italic; }
.full {
	width: 100%;
	float: left;
	margin: 0;
	padding: 0;
}
.vision-con {
	background: #f6f6f6;
	margin-top: 0px;
	line-height: 1.5;
	padding: 1.25rem 1.25rem .75rem 1.25rem;
    border: 1px solid transparent;
    border-radius: .6rem;
}
.vision-con p {
	font-size: 1.15rem;
  line-height: 1.5;
	line-height: normal;
	color: #000;
}
.img-raised {
    -webkit-box-shadow: 0 4px 15px 0 rgba(0,0,0,.3);
    box-shadow: 0 10px 15px 0 rgba(0,0,0,.3);
}

/* healthy */
.healthy-about {
  /* background: #f5f5f5; */
}

/* 標題 */
.healthy-about h2 {
  font-size: 24px;
  color: #000;
  line-height: normal;
  text-transform: none;
  margin-bottom: 20px;
  font-weight: 600; 
}

.healthy-box {
  /* padding: 50px; */
}

/* 內文段落 */
.healthy-box p {
  margin: 0;
  font-size: 18px;
  line-height: 24px;
}

/* 清單 */
.healthy-box ul {
  /* margin-top: 15px; */
}

.healthy-box ul li {
  float: left;
  width: 100%;
  margin: 5px 0;
  font-size: 20px;
  font-weight: 500;
  color: #014099;
}

.healthy-box ul li i {
  margin-right: 10px;
}

/* Healthy Counter (module: healthy) */
.healthy-counter-icon i{
  font-size: 4.75rem;           
  color: #014099;
  line-height: 1;
}
.healthy-counter-count{
  margin: 0;
  width: 100%;
  padding: 0;
  font-size: 2.5rem;            
  color: #000;
  font-weight: 700;
  line-height: 1.1;
}
.healthy-counter-heading{
  color: #000;
  margin-top: .5rem;
  margin-bottom: 0;
  font-weight: 600;
  font-size: 1.25rem;
}

/* md */
@media (min-width: 768px){
  .healthy-counter .healthy-counter-count,
  .healthy-counter .healthy-counter-heading{
    text-align: right;
  }
}

/* transition：減少動畫時直接顯示目標值 */
@media (prefers-reduced-motion: reduce){
  .healthy-counter-count{
    transition: none !important;
  }
}

.healthy-subdesc {
  margin-top: 6px;
  font-size: 16px;
  color: #8c98a4;
}

.view_cont h4 {
	font-weight: normal;
	margin: 0;
	font-size: 18px;
	margin-bottom: 20px;
  overflow: hidden;
  text-overflow: ellipsis;
	display: block;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  white-space: normal;
	text-align: center;
	color: #000;
}
.view_cont h4:hover,
.view_cont h4:focus  {
	color: #014099!important;
	text-decoration: underline!important;
}
.view_cont h4 a {
	color: #000;	
}
.view_cont h4 a:hover,
.view_cont h4 a:focus {
	color: #014099!important;
	text-decoration: underline!important;
}
.view_cont {
  margin-top: 20px;
}
/* 活動花絮聚焦框線 */
.view_photo a {
  -webkit-tap-highlight-color: transparent; /* 移除 iOS/Android */
  outline: none;
  box-shadow: none;
  text-decoration: none;
}

/* focus（非鍵盤）不顯示 */
.view_photo a:focus:not(:focus-visible) {
  outline: none;
  box-shadow: none;
}

/* 保留鍵盤 */
.view_photo a:focus-visible {
  outline: 2px solid rgba(13,110,253,.6); 
  outline-offset: 2px;
}

.modal h3 {
    font-size: 20px;
    color: #000;
    line-height: 21px;
    font-weight: 600;
    text-transform: none;
    margin: 0px 0px 0px 0px;
}

.padding_layout1 {
  padding: 20px 0px 20px 0px;
  background-color: #ffffff;
  position: relative;
}
.padding_layout2 {
	padding-top: 0px;
	padding-bottom: 20px;
	margin-bottom: 20px;
}
.light_silver {
  background: #f8f8f8;
}
.gross_layout {
	position: relative;
}

.gross_layout::after {
	position: absolute;
	background: url(../images/it_service/dark_bg_img.png);
	width: 35%;
	height: 100%;
	right: 0;
	content: "";
	top: 0;
	background-size: cover;
	background-position: right;
}

.gross_layout::before {
	position: absolute;
	background: rgba(10, 139, 199, 0.8);
	width: 35%;
	height: 100%;
	right: 0;
	content: "";
	top: 0;
	background-size: cover;
	background-position: right;
	z-index: 1;
}

.gross_layout.right_gross_layout::after {
	position: absolute;
	background: url(../images/it_service/dark_bg_img2.png);
	width: 35%;
	height: 100%;
	left: 0;
	content: "";
	top: 0;
	background-size: cover;
	background-position: right;
}

.gross_layout.right_gross_layout::before {
	position: absolute;
	background: rgba(10, 139, 199, 0.8);
	width: 35%;
	height: 100%;
	left: 0;
	content: "";
	top: 0;
	background-size: cover;
	background-position: right;
	z-index: 1;
}

/* tag */
.tag-toggle{
  background:#fff;
  color:var(--tag-blue);
  border:1.5px solid var(--tag-blue);
  font-weight:600;
  padding: .5rem 1rem;/*padding:.35rem .9rem .35rem .55rem;*/
  display:inline-flex;
  align-items:center;
  gap:.45rem;
}
.tag-toggle:hover{ background:#0B4EA2; color:#fff; }
.tag-toggle:hover i{ color:#fff; }

/* 左側小圓tag */
/*.tag-toggle-icon{
  display:inline-flex;
  width:28px; height:28px;
  border-radius:999px;
  background:var(--tag-blue);
  color:#fff;
  align-items:center; justify-content:center;
  font-size:.95rem;
  line-height:1;
}*/

/* chips */
.tag-chip{
  display:inline-block;
  padding:.5rem 1rem;
  border:1px solid var(--tag-chip-border);
  border-radius:1.25rem;
  background:#fff;
  color:var(--tag-chip-text);
  text-decoration:none;
  transition:.15s ease;
}
.tag-chip:hover,
.tag-chip:focus{
  border-color:var(--tag-blue);
  color:#fff;
  background:var(--tag-blue);
  /*box-shadow:0 0 0 .15rem var(--tag-chip-hover-shadow);*/
  outline:0;
}

/* 選取狀態 */
.tag-chip.active{
  border-color:var(--tag-blue);
  color:#fff;
  background:var(--tag-blue);
  box-shadow:none;
}

  /* tab btn */
  .grid-btn{
  background-color: #33b2b8;
  border: none;
  color: #fff;
  padding: 0rem 1.25rem;/*0.75rem 1.25rem*/
  font-size: 1.15rem;
  border-radius: 999px;
  transition: background-color 0.3s ease;
  font-weight: 600;
  }
  .grid-btn:hover{ background-color: #252525; }
  .list-btn{
  background-color: #bd2130;
  border: none;
  color: #fff;
  padding: 0rem 1.25rem;/*0.75rem 1.25rem*/
  font-size: 1.15rem;
  border-radius: 999px;
  transition: background-color 0.3s ease;
  font-weight: 600;
  }
  .list-btn:hover{ background-color: #252525; }


/* edu blog */
.edu-image-wrap {
  overflow: hidden;
  border-radius: 0.25rem;
  position: relative;
}
.edu_img{opacity: 1;
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;}
/* hover scale image */
.edu_img:hover {
  transform: scale(1.05);
}
.edu_blog .middle {
  transition: .5s ease;
  opacity: 0;
  position: absolute;
  bottom: 0%;
  left: 50%;
	width: auto;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
	z-index: 998;
}
.edu_blog .text {
  background-color: #014099;
  color: #fff;
  font-size: 1.15rem;
	font-weight: 600;
  padding: 16px 16px;
}
.edu_blog:hover .image {
  opacity: 0.3;
}

.edu_blog:hover .middle {
  opacity: 1;
}

.edu_cont .edu_head{
	    margin: 0;
    margin-bottom: 0px;
    padding: 15px 0px 15px 0px;
	font-weight: bold;
    font-size: 1.35rem;
  overflow: hidden;
  text-overflow: ellipsis;
	display: block;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  white-space: normal;
	height: 40px;/* IE&Firefox*/
}
.edu_cont .edu_head {
	color: #014099;	
	text-decoration: none!important;
}
.edu_cont .edu_head a {
	color: #014099;	
	text-decoration: none!important;
}

.edu_cont .edu_head a:hover,
.edu_cont .edu_head a:focus {
	color: #014099!important;
	text-decoration: none!important;
}

.edu_blog:hover .edu_head{
    color: #014099!important;
	text-decoration: none;
}
.edu_blog:hover .edu_cont_p {
	color: #212529;
}
/*.edu_cont  p{
	    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    white-space: normal;
	}*/
.edu_cont_p {
                    overflow: hidden;
                    text-overflow: ellipsis;
                    display: -webkit-box;
                    -webkit-line-clamp: 2;
                    -webkit-box-orient: vertical;
                    white-space: normal;
                    color: #707070;
                    font-size: 16px;
	height: 52px;/* IE&Firefox */
                }
.edu_cont_p a {
	color: #707070;	
	text-decoration: none!important;
}
.edu_cont_p a:hover,
.edu_cont_p a:focus {
	color: #212529!important;
	text-decoration: none!important;
}

.edu_blog .edu_cont{
    border-bottom: solid #d9d9d8 4px;
	padding: 16px 10px 5px 10px;
	    margin: 0px 0 0px 0;
}
.edu_blog .full{
    border: 1px solid #d9d9d8;
}
.edu_blog:hover .full{
    border: 1px solid #014099!important;
}
.edu_blog a {
	text-decoration: none!important;
}
.edu_blog:hover .edu_cont{
    border-bottom: solid #014099 4px;
	transition: all 0.3s ease 0s;
}
.edu_blog:hover .edu_cont p{
    color: #212529;
	text-decoration: none;
}
/* edublog (scoped) */
.edublog { --edublog-primary:#005BAC; --edublog-text:#2b2b2b; }

.edublog .edublog-header h1{
  font-weight: 800;
  line-height: 1.25;
  color: var(--edublog-text);
  margin-bottom:.5rem;
  font-size: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
}
.edublog .edublog-titlebar{
  height: 4px;
  background: var(--edublog-primary);
  border-radius: 3px;
  margin-bottom: .75rem;
}

.edublog .edublog-meta{
  font-size: 1.15rem;
  color:#212529;
}
.edublog .edublog-meta li{
  display:inline-flex; align-items:center;
  margin-right: 1.25rem;
}
.edublog .edublog-meta i{ color: var(--edublog-primary); }

.edublog .edublog-cover{
  border-radius: .5rem;
  -webkit-box-shadow: 0 4px 15px 0 rgba(0,0,0,.3);
    box-shadow: 0 10px 15px 0 rgba(0,0,0,.3);
  overflow: hidden;
}
.edublog .edublog-cover img{ display:block; width:100%; height:auto; }

.edublog .edublog-body p{
  color:#212529;
  line-height: 1.9;
  margin-bottom: .9rem;
  /*text-align: justify;*/
	font-size:1.125rem;
}

/* 推薦閱讀 */
.edublog .edublog-reco .list_head{
  font-size:1.15rem;
  margin-bottom:1.5rem;
	overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  white-space: normal;
}
.edublog .edublog-reco .list_head a {
	color: #212529;	
	text-decoration: none;
}
.edublog .edublog-reco .list_head a:hover,
.edublog .edublog-reco .list_heads a:focus {
	color: #014099;
	text-decoration: underline;
}

/* 圖片固定，讓文字有空間環繞 */
.edublog .edublog-float { width: 100%; }
@media (min-width: 768px){
  .edublog .edublog-float { width: 42%; }  /* 想更大就調整這個百分比 */
}

/* 清除浮動，避免區塊被圖片覆蓋 */
.edublog .edublog-body::after{
  content:""; display:block; clear:both;
}
/* edublog nav */
.edublog-divider-dotted {
  border: 0;
  border-top: 1px dashed #014099!important;
  margin: 0 0 1rem;
}
.edublog-divider-solid{
  border: 0;
  border-top: 1px solid #e6e9ef;  /* 下方實線 */
  margin: 0.5rem 0 1.25rem;
}
/*  下方Prev / Next */
.edublog-link{
  display:flex;/* 圖示文字同列 */
  align-items:center;
  gap:.5rem;
  margin:0 0 .25rem;
  font-size:18px;
  font-weight:normal;
  min-width:0; /* 允許內部縮放 */
}

/* 右側外層 .text-end，讓 h5 內容靠右 */
.text-end .edublog-link{
  justify-content:flex-end;
}

/* 左右箭頭不擠壓 */
.edublog-link > i{
  flex:0 0 auto;
  color:#014099;
}

/* 連結可用寬度，內用 flex 對齊；覆蓋原本 d-inline-flex */
.edublog-link > a{
  display:flex !important;
  align-items:center;
  flex:1 1 auto;
  min-width:0;
  color:#212529;
  text-decoration:none;
}

/* 連結略號 */
.edublog-link > a > span{
  flex:1 1 auto;
  min-width:0;
  overflow:hidden;
  white-space:nowrap;
  text-overflow:ellipsis;
}

/* hover/焦點 */
.edublog-link > a:hover,
.edublog-link > a:focus{
  color:#014099;
  text-decoration:underline;
}
.edublog-prevnext i{ font-size: 1.15rem; }

/* share btn */
  .fb-btn{
  background-color: #005BAC;
  border: none;
  color: #fff!important;
  padding: 0.45rem 1.25rem;
  font-size: 1.15rem;
  border-radius: 999px;
  transition: background-color 0.3s ease;
  font-weight: 600;
  }
  .fb-btn:hover{ background-color: #252525; }
  .line-btn{
  background-color: #28a745;
  border: none;
  color: #fff!important;
  padding: 0.45rem 1.25rem;
  font-size: 1.15rem;
  border-radius: 999px;
  transition: background-color 0.3s ease;
  font-weight: 600;
  }
  .line-btn:hover{ background-color: #252525; }

/* 回上/回列表 btn */
.edublog-btn{
  background-color:#33b2b8;
  border:none;
  color:#fff;
  padding: 0.45rem 1.25rem;       
  font-size:1.15rem;
  border-radius:999px;
  font-weight:600;
  transition:background-color .3s ease, box-shadow .2s ease;
  line-height:2.5rem;              
}
.edublog-btn:hover{ color:#fff;background-color:#1e56a5; }
.edublog-btn:focus-visible{
  outline:0;
  /*box-shadow:0 0 0 .15rem rgba(30,86,165,.35);*/
}
.edublog-btn:disabled{ opacity:.65; }

 /* tab btn */
  .grid-btn{
  background-color: #33b2b8;
  border: none;
  color: #fff;
  padding: 0rem 1.25rem;/*0.75rem 1.25rem*/
  font-size: 1.15rem;
  border-radius: 999px;
  transition: background-color 0.3s ease;
  font-weight: 600;
  }
  .grid-btn:hover{ background-color: #252525; }
  .list-btn{
  background-color: #bd2130;
  border: none;
  color: #fff;
  padding: 0rem 1.25rem;/*0.75rem 1.25rem*/
  font-size: 1.15rem;
  border-radius: 999px;
  transition: background-color 0.3s ease;
  font-weight: 600;
  }
  .list-btn:hover{ background-color: #252525; }

/*news*/
.newsTable{
	    text-align: center;
	margin-bottom: 20px;
	}
	.newsTable .newsTable-header{
	    padding: 15px 0;
	    background: #6c6c6c;
	    position: relative;
	    transition: all 0.3s ease 0s;
	}
	.newsTable:hover .newsTable-header{
	    background: #014099;
	}
.newsTable:hover .news-content{
    border: 1px solid #014099!important;
}

.newsTable a{
  display: block;
  text-decoration: none;
}

/* 預設/已訪問 */
.newsTable a:link .news-content,
.newsTable a:visited .news-content{
  font-size: 18px;
  font-weight: 400;
  color: #777473;
  text-decoration: none;
}

/* hover/焦點 */
.newsTable a:hover .news-content,
.newsTable a:focus .news-content,
.newsTable a:active .news-content{
  color: #000;
  text-decoration: none;
}

.newsTable:hover .news-content ul li{
    color: #000;
}
	.newsTable .newsTable-header:before,
	.newsTable .newsTable-header:after{
	    content: "";
	    width: 16px;
	    height: 16px;
	    border-radius: 50%;
	    border: 1px solid #d9d9d8;
	    position: absolute;
	    bottom: 12px;
	}
	.newsTable .newsTable-header:before{
	    left: 40px;
	}
	.newsTable .newsTable-header:after{
	    right: 40px;
	}
	.newsTable .heading{
	    font-size: 20px;
	    color: #ffbf00;
		font-weight: normal;
	    text-transform: uppercase;
	    letter-spacing: 2px;
	    margin-top: 0;
	}
	.newsTable .year-value{
	    display: inline-block;
	    position: relative;
	    font-size: 24px;
	    font-weight: bold;
	    color: #fff;
	    transition: all 0.3s ease 0s;
	}
	.newsTable:hover .year-value{
	    color: #fff;
	}
	.newsTable .currency{
	    font-size: 30px;
	    font-weight: bold;
	    position: absolute;
	    top: 6px;
	    left: -19px;
	}
	.newsTable .month{
	    font-size: 16px;
	    color: #fff;
	    position: absolute;
	    bottom: 15px;
	    right: -30px;
	    text-transform: uppercase;
	}
	.newsTable .news-content{
	    padding-top: 30px;
	    background: #fff;
	    position: relative;
		background-clip: border-box;
    border: 1px solid rgba(0,0,0,.125);
    border-radius: 0rem;
	}
	.newsTable .news-content:before,
	.newsTable .news-content:after{
	    content: "";
	    width: 16px;
	    height: 16px;
	    border-radius: 50%;
	    border: 1px solid #7c7c7c;
	    position: absolute;
	    top: 12px;
	}
	.newsTable .news-content:before{
	    left: 40px;
	}
	.newsTable .news-content:after{
	    right: 40px;
	}
	.newsTable .news-content ul{
	    padding: 0 20px;
	    list-style: none;
		margin: 15px 10px 20px 10px;
	}
	.newsTable .news-content ul:before,
	.newsTable .news-content ul:after{
	    content: "";
	    width: 8px;
	    height: 46px;
	    border-radius: 3px;
	    background: linear-gradient(to bottom,#818282 50%,#727373 50%);
	    position: absolute;
	    top: -22px;
	    z-index: 1;
	    box-shadow: 0 0 5px #707070;
	    transition: all 0.3s ease 0s;
	}
	.newsTable:hover .news-content ul:before,
	.newsTable:hover .news-content ul:after{
	    background: linear-gradient(to bottom, #4070b3 50%, #014099 50%);
	}
	.newsTable .news-content ul:before{
	    left: 44px;
	}
	.newsTable .news-content ul:after{
	    right: 44px;
	}
	.newsTable .news-content ul li{
	    font-size: 18px;
	    font-weight: normal;
	    color: #777473;	    
	    border-bottom: 1px solid #d9d9d8;
		text-align: left;
		overflow: hidden;
  text-overflow: ellipsis;
	display: block;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  white-space: normal;
		height: 132px;/* IE&Firefox */
	}
	.newsTable .news-content ul li:last-child{
	    border-bottom: none;
	}
	.newsTable .read{
	    display: inline-block;
	    font-size: 16px;
	    color: #fff;
	    text-transform: uppercase;
	    background: #d9d9d8;
	    padding: 8px 25px;
	    margin: 30px 0;
	    transition: all 0.3s ease 0s;
	}
	.newsTable .read:hover{
	    text-decoration: none;
	}
	.newsTable:hover .read{
	    background: #09b1c5;
	}
.news-list span{
		overflow: hidden;
  text-overflow: ellipsis;
	display: block;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  white-space: normal;
	height: 24px;/* IE&Firefox */
	}
.Edu-list span{
		overflow: hidden;
  text-overflow: ellipsis;
	display: block;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  white-space: normal;
	height: 24px;/* IE&Firefox */
	}
	@media screen and (max-width: 990px){
	    .newsTable{ margin-bottom: 25px; }
	}

/* --- Modal 左右箭頭 --- */
.edunews-modal .modal-body{ position:relative; }
.news-nav-btn{
  position:absolute; top:50%; transform:translateY(-50%);
  width:48px; height:48px; border:0; border-radius:50%;
  background:#fff; color:#014099; box-shadow:0 4px 14px rgba(0,0,0,.15);
  display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.news-nav-btn i{ font-size:20px; }
.news-prev{ left:-60px; } /* 更貼邊調整 */
.news-next{ right:-60px; }
@media (max-width: 640px){/*576*/
  .news-prev{ left:6px;display:none;}
  .news-next{ right:6px;display:none; }
}
.news-nav-btn:hover{ transform:translateY(-50%) scale(1.06);color:#fff;background-color:#014099; }/*#252525*/
.news-nav-btn:focus{ outline:none; /*box-shadow:0 0 0 .25rem rgba(13,110,253,.25);*/ }

/* 內文段落 */
.edunews-content p{ margin-bottom:1rem; line-height:1.8;font-size: 1.125rem; }

/* 整卡可點無底線 */
.newsTable a{ display:block; text-decoration:none; }
/* 讓內容可垂直捲動，同時保留橫向 swipe 偵測 */
.edunews-modal .modal-body { touch-action: pan-y; }

.news-cover img{
  border-radius: .5rem;
  -webkit-box-shadow: 0 4px 15px 0 rgba(0,0,0,.3);
    box-shadow: 0 10px 15px 0 rgba(0,0,0,.3);
  overflow: hidden;
display:block; width:100%; height:auto; }

/* tw-knsh base */
.tw-knsh .tw-knsh-hero{ max-width: 920px; }

/* 文字列表 */
.tw-knsh .tw-knsh-list{
  padding-left:1rem;
  margin-bottom:1rem;
}
.tw-knsh .tw-knsh-list li{
  margin:.25rem 0;
}

/* tw-knsh：Accordion */
.tw-knsh-accordion{ 
  margin:15px 0 0 0;
  padding:0;
}

/* item */
.tw-knsh-accordion .accordion-item{
  border:none;
  border-radius:0;
  margin:0 0 10px 0;
  box-shadow:none;
  background:transparent;
  width:100%;
}

/* header用 button 取代 */
.tw-knsh-accordion .tw-knsh-btn{
  border:1px solid #e4e4e4;
  background:#eee;/* 未展開灰 */
  border-radius:0;
  min-height:50px;
  padding:17px 25px 15px;
  font-weight:500;
  color:#000;/* 未展開文字黑 */
  width:100%;
  box-shadow:none;
  display:flex;
  align-items:center;
	font-size: 1.25rem;
}

/* caret */
.tw-knsh-accordion .tw-knsh-btn > i:first-child{
  font-size:20px;
  color:#014099;/* 未展開時藍icon */
  margin:0 10px 0 0;
}
.tw-knsh-accordion .tw-knsh-caret{
  margin-left:auto;
  color:#000;/* 未展開時黑色箭頭 */
  transition:transform .5s ease;
  font-size:1.1rem;
}

/* 展開 */
.tw-knsh-accordion .tw-knsh-btn:not(.collapsed){
  background:#014099;
  border-color:#014099;
  color:#fff;
	font-size: 1.25rem;
}
.tw-knsh-accordion .tw-knsh-btn:not(.collapsed) > i:first-child,
.tw-knsh-accordion .tw-knsh-btn:not(.collapsed) .tw-knsh-caret{
  color:#fff !important;
}
.tw-knsh-accordion .tw-knsh-btn:not(.collapsed) .tw-knsh-caret{
  transform:rotate(180deg);
}

/* 移除 BS 預設 chevron */
.tw-knsh-accordion .accordion-button::after{ display:none; }

/* 內文（panel-body） */
.tw-knsh-accordion .accordion-body{
  border:none;
  padding:0 25px;
  margin:15px 0 0 0;
  box-shadow:none;
  height:auto;
  background:#fff;
	font-size: 1.15rem;
}
.tw-knsh-accordion .accordion-body p{
  margin-bottom:0;  
  line-height:24px;
}

/* 使用時在 accordion 外層加上 .tw-knsh-without-border 和 .tw-knsh-accordion */
.tw-knsh-without-border.tw-knsh-accordion .tw-knsh-btn{
  border:none;
  background:#fff;
  padding:15px 0 12px;
}
.tw-knsh-without-border.tw-knsh-accordion .tw-knsh-btn:not(.collapsed){
  background:#fff;
  color:#000 !important;
}
.tw-knsh-without-border.tw-knsh-accordion .tw-knsh-btn > i:first-child,
.tw-knsh-without-border.tw-knsh-accordion .tw-knsh-btn:not(.collapsed) > i:first-child,
.tw-knsh-without-border.tw-knsh-accordion .tw-knsh-caret{
  color:#000 !important;
}

/* RWD */
@media (min-width: 992px){
  .tw-knsh .tw-knsh-hero{ margin-top:.25rem; }
}

/* kcis base */
.kcis .kcis-more-btn{
  background-color: #fff;
  color: #1e56a5 !important;
  padding: 0.75rem 1.25rem;
  font-size: 1.15rem;
  border-radius: 999px;
  transition: background-color 0.3s ease;
  font-weight: 600;
  border: 2px solid #1e56a5;
  margin-top: 0.75rem;
	
}
.kcis .kcis-more-btn:hover{ background-color: #33b2b8;
  color: #fff !important;
  border: 2px solid #33b2b8; }

/* 引言 */
.kcis .kcis-quote{ margin-bottom:1rem;font-size: 1.1rem; }
.kcis-quote{
  text-align: right; 
  color: #212529;
  font-style: italic; 
  margin: .25rem 0 1rem; 
}
@media (min-width: 768px){
  .kcis-quote{ margin-right: .5rem; } /* 桌機稍微內縮，貼近設計圖 */
}
/* 圖片與說明 */
.kcis .kcis-hero img{ max-width:100%; height:auto; }
.kcis .kcis-caption{
  display:block;
  color:#014099;
  margin-top:.75rem;
  font-weight:600;
  text-align:center;
	font-size:1.15rem;
}

/* 右側聯絡區塊 */
.kcis .kcis-contact{
  position:relative;
  background:#f8f9fa;
  border:0px solid #dfe3ea;
  border-radius:.5rem;
  padding:1.25rem;
}
.kcis .kcis-contact::before{
  content:"";
  position:absolute;
  top:0; left:0; right:0;
  height:4px;
  background:#014099;
  border-radius:.5rem .5rem 0 0;
}

/* 校區項目 */
.kcis .kcis-campus + .kcis-campus{
  border-top:1px solid #e5e7eb;
  margin-top:.75rem; padding-top:.75rem;
}
.kcis .kcis-campus-title{
  font-size:1.125rem;
  margin-bottom:.25rem;
	color:#014099;
	text-decoration:none; font-weight:700;
}
.kcis .kcis-campus-title a{
  color:#014099; text-decoration:none; font-weight:700;
}
.kcis .kcis-campus-title a:hover{ text-decoration:underline; }
.kcis .kcis-campus p{
  margin:0;
  color:#212529;
  line-height:1.6;
  font-size:1rem;
}
.kcis .kcis-campus p a{
  color:#212529; text-decoration:none;
}
.kcis .kcis-campus p a:hover{ text-decoration:underline; }

/* RWD */
@media (max-width: 991.98px){
  .kcis .kcis-more-btn{ margin-bottom:.5rem; }
}

/* 四大理念區塊 */
/* kcis list */
.kcis-idea-list li{
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
	font-size:1.15rem;
	line-height: 1.8;	
}

/* 小標題 */
.kcis-idea-key{
  font-weight: 700;
  color: #014099;
  display: inline-block;
  position: relative;
  line-height: 1.6;/* 供 ::before 垂直置中 */
	font-size:1.25rem;
}

/* 自訂點與標題同一行、垂直置中 */
.kcis-idea-key::before{
  --dot-size: 6px;
  content: "";
  position: absolute;
  left: -1.2rem; 
  top: 50%;
  transform: translateY(-50%); /* 垂直置中到標題行 */
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background: #014099;
}

/* 最後一項去掉下間距 */
.kcis-idea-list li:last-child{ margin-bottom: 0; }


/* caption 文字（沿用） */
.kcis .kcis-caption{
  display:block;
  color:#014099;
  margin-top:.75rem;
  font-weight:600;
  text-align:center;
}

/* hr base (Environment & Welfare) */
.hr-section-1 { padding-bottom: 0.5rem; }

.hr-video {
  border: 10px solid #fff;
  background: #fff;
  border-radius: 16px;
  padding: 0px;
  -moz-box-shadow: 0px 4px 10px #B4B4B4;
  -webkit-box-shadow: 0px 4px 10px #B4B4B4;
  box-shadow: 0px 4px 10px #B4B4B4;
}
.hr-copy { line-height: 1.9; font-size: 1.05rem; }
.hr-lead { color:#014099; }
/* 輪撥牆 */
.hr-section-guard{
  position: relative;
  max-width: 100%;
  overflow-x: clip;/* 不產生捲軸 */
  overscroll-behavior-x: contain;/* 防止橫向滾動 */
}
@supports not (overflow: clip) {
  .hr-section-guard{ overflow-x: hidden; } /* 舊版 Safari fallback */
}
@supports (-webkit-touch-callout: none) {
  .hr-section-guard { overflow-x: hidden; }
}

/* 避免第一/最後一張因 snap=centers 超出，改放內距 */
.hr-gallery-track{
  padding-inline: .5rem;/* 讓左右邊緣有空隙防撐出頁面 */
}

/* 滿版輪撥牆 */
.hr-gallery-wrap { position: relative; 
}

/* 隱藏內部水平卷軸 */
/* X捲動條 */
.hr-gallery{
  position: relative;
  overflow: hidden;/* 讓內層捲動條X */
}

/* 水平捲動，捲動條往下隱藏 */
.hr-gallery-track{
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  cursor: grab;
  --hr-sb: 20px;/* 捲動條高度（Windows 約 17px），抓 20 保險 */
  padding-bottom: var(--hr-sb);
  margin-bottom: calc(var(--hr-sb) * -1);
}

/* 觸控手勢 */
.hr-gallery-track,
.hr-gallery-track *{
  touch-action: pan-x pinch-zoom;
}
.hr-gallery-track:active{ cursor: grabbing; }

/* 拖曳避免誤點連結 */
.hr-gallery-track.is-dragging .hr-gallery-item{ pointer-events: none; }

.hr-gallery-item{
  flex: 0 0 auto;
  width: clamp(240px, 33vw, 600px);
  scroll-snap-align: center;
  text-decoration: none;
}
.hr-media{ aspect-ratio: 3 / 2; overflow: hidden; border-radius: .0rem!important;/*.5rem*/ }
.hr-media img{
  width:100%; height:100%; object-fit:cover;
  user-select:none; -webkit-user-drag:none; pointer-events:none;
}

/* 隱藏不同引擎的捲動條(不影響捲動) */
.hr-hide-scrollbar{ scrollbar-width: none; }
.hr-hide-scrollbar::-webkit-scrollbar{ display: none; height: 0; }

.hr-gallery-track{ --hr-gap: 0rem;/*1rem*/ gap: var(--hr-gap); }

/* <768px）1 */
.hr-gallery-item{
  flex: 0 0 auto;
  width: calc(100% - 0 * var(--hr-gap));  /* 1 款寬 */
  scroll-snap-align: center;
}

/* (≥768px)3 */
@media (min-width: 768px){
  .hr-gallery-item{
    /* (100% - 2 個間距) / 3 */
    width: calc((100% - 2 * var(--hr-gap)) / 3);
  }
}

/* (≥992px)4 */
@media (min-width: 992px){
  .hr-gallery-item{
    /* (100% - 3 個間距) / 4 */
    width: calc((100% - 3 * var(--hr-gap)) / 4);
  }
}

/* 保持比例視覺 */
.hr-media{ aspect-ratio: 3 / 2; overflow: hidden; border-radius: .5rem; }
.hr-media img{ width:100%; height:100%; object-fit:cover; }

/* hr benefits */
.hr-benefits-row{ position:relative; border:0; border-radius: .5rem; overflow:hidden; }
.hr-card{
  padding: 2.25rem 2rem;
  background:#fff;
  height:100%;
  transition: box-shadow .2s ease, transform .2s ease;
}
.hr-card:hover{ /*box-shadow:0 10px 14px rgba(0,0,0,.06); transform: translateY(-2px);*/ }

/* 中間兩條分隔線（僅pc ≥992px 顯示） */
@media (min-width: 992px){
  .hr-benefits-row > div{ position:relative; }
  .hr-benefits-row > div:not(:first-child)::before{
    content:"";
    position:absolute;
    left:0;
    top:8%;
    bottom:8%;
    width:1px;
    background:#e9ecef;
  }
}

/* RWD：小於 lg 底線分隔 */
@media (max-width: 991.98px){
  .hr-card{ border-bottom: 1px solid #eef0f2; }
  .hr-benefits-row > div:last-child .hr-card{ border-bottom: 0; }
}

/* icon / 標題 / hr-list */
.hr-icon{
  width: 96px; height: 96px; object-fit: contain;
  display:block; margin: 0 auto 1rem auto;
}
.hr-card-title{
  font-size: 1.65rem; font-weight: 800; color:#222; margin: .25rem 0 1rem;
}
.hr-card-lead{
  font-size: 1.15rem; color:#333; line-height: 1.6; margin: 0 auto 1rem;
  max-width: 36rem; text-align:left; font-weight: 600;
}

/* hr-list */
.hr-list{
  list-style: none;
  padding-left: 0;
  margin: 0;
  max-width: 36rem;
}

.hr-list li{
  display: grid;
  grid-template-columns: 1.1rem 1fr; 
  column-gap: .4rem;
  align-items: start;
  margin: .45rem 0;
  color:#333;/*#676767*/
  font-size: 1.15rem;
  line-height: 1.8;
  font-weight: 500;
}

.hr-list li::before{
  content: "›";
  grid-column: 1;
  grid-row: 1;
  display: flex; /* 垂直置中 */
  align-items: center;/* 第一行中垂直置中 */
  height: 1.4em;/* = li 的 line-height，鎖定第一行高度 */
  line-height: 1;/* 避免字距影響 */
  font-weight: 700;
  font-size: 1.25rem;
  color:#676767;
  /* 讓箭頭位置更穩： */
  transform: translateY(0);/* 不依總高度置中 */
}

.hr-list li > *{ grid-column: 2; }
.hr-list li > .hr-li { grid-column: 2; }

.hr-more-btn{
  background-color: #33b2b8;
  color: #fff;
  padding: 0.75rem 1.25rem;
  font-size: 1.15rem;
  border-radius: 999px;
  transition: background-color 0.3s ease;
  font-weight: 600;
  border: none;
  margin-top: 0.75rem;
	
}
.hr-more-btn:hover{ background-color: #1e56a5;
  color: #fff !important;
  /*border: 2px solid #33b2b8;*/ }

/* use */
.use-section{
font-size: 1.15rem;
}
.use-section .use-list{
  margin: 0 0 1.25rem 0;
  padding-left: 1.2rem;/* 讓列表較好讀 */
  list-style: disc;
}
.use-section .use-list li{
  font-size: 1.05rem;
  line-height: 1.6;
  margin: .25rem 0;
}
.use-section .use-list a{
  color: #0d6efd;
  text-decoration: none;
}
.use-section .use-list a:hover,
.use-section .use-list a:focus{
  text-decoration: underline;
}
/* 外層中文數字編號：一、二、三、 */
.use-section .use-cn{
  counter-reset: cn;
  padding-left: 0;/* 由自訂 counter 呈現，不預設縮排 */
  margin: 0;
}
.use-section .use-cn > li{
  list-style: none;
  position: relative;
  padding-left: 2em;/* 為「一、」預留空間 */
  margin-bottom: .75rem;
  line-height: 1.6;
}
.use-section .use-cn > li::before{
  counter-increment: cn;
  content: counter(cn, cjk-ideographic) "、";  /* 一、二、三、 */
  position: absolute;
  left: 0;
  top: 0;
}

/* 次層阿拉伯數字 1–n */
.use-section .use-decimal{
  list-style: decimal;
  padding-left: 1.5em;
  margin-top: .5rem;
}
.use-section .use-decimal > li{
  margin-bottom: .35rem;
}

.use-section .use-ol{
  padding-left: 1.25rem;/* 讓 1.2.3. 對齊 */
  margin-bottom: 1rem;
}
.use-section .use-ol > li{
  line-height: 1.8;
  margin: .2rem 0;
}
.use-section a{ word-break: break-all; }


/* medium menu */
.swiper-bg {
	background-color: #e5e5e5;
	}
.swiper-container {
/*margin-top: 10px;
	margin-bottom: 10px;*/
	}
.snbSwiper {
  padding: 0 3px;
  height: 60px;
  width: 100%;
  overflow: hidden;
}

.swiper-wrapper {
  display: flex;
  align-items: center;
	/*background-color: #e5e5e5;*/
}

.swiper-slide {
  width: auto !important;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  /*justify-content: center;*/
  position: relative;
}

.swiper-slide a {
  display: block;
  text-align: center;
}

.swiper-slide .text {
  display: inline-block;
  height: 60px;
  padding: 20px 20px 20px 20px;
  white-space: nowrap;
  font-size: 1.25rem;
  line-height: 1;
  color: #333333;
  position: relative;	
}

.on .text {
  color: #fff;
  font-weight: bold; 
	background: #005BAC;
	/*border: 2px solid #005BAC;*/	
}
.swiper-slide .text:hover {
  background-color: #005BAC; 
  color: #fff;
	font-weight: bold;
}
.on .text::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  /*background: #000;*/	
}

.swiper-btn-prev,
.swiper-btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #e5e5e5;
  border: none;
  color: #000;/*#e5e5e5*/
  font-size: 20px;
  width: 40px;
  height: 40px;
  z-index: 10;
  cursor: pointer;
	border-radius: 50rem;
	display: none;/*none.block*/
}

.swiper-btn-prev { left: 0; }
.swiper-btn-next { right: 0; }

/* medium menu(category) > sub menu */
.category-bg {
	/*background-color: #fff;*/
	}
.categorySwiper {
  background-color: #fff;
  padding: 0 12px;
  /*height: 50px;*/
  width: 100%;
  overflow-x: auto; 
	/*border-bottom: 2px solid #e5e5e5;*/
}

.categorySwiper .swiper-wrapper {
  display: flex;
  align-items: center;
  height: 100%;
}

.categorySwiper .swiper-slide {
  width: auto !important;
  padding: 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  max-width: 100%; /* 防止內容超出 */
}

.categorySwiper .swiper-slide a {
  font-size: 1.25rem;
  color: #333;
  font-weight: normal;
  text-decoration: none;
  padding: 8px 0;
  position: relative;
  display: inline-block;/* or block */
  white-space: nowrap;   /* 避免文字換行 */
  overflow: hidden;       /* 防文字溢出 */
  text-overflow: ellipsis;/* 超出時省略號 */
  max-width: 100%;        /* 避免超出畫面 */
}


/* active 底線效果 */
.categorySwiper .swiper-slide.active a::after {
  transform: scaleX(1);
}

/* active */
.categorySwiper .swiper-slide.active a, .categorySwiper .swiper-slide.active a:hover {
  color: #005BAC;
  font-weight: bold;
}

.categorySwiper .swiper-slide a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #005BAC;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.categorySwiper .swiper-slide a:hover::after {
  transform: scaleX(1);
}
.categorySwiper .swiper-slide a:hover {
  color: #005BAC;
  font-weight: normal;
}

/*pagination*/
.pagination {
  --bs-pagination-border-radius: 50%;/*0.25rem*/
  --bs-pagination-active-transition: all 0.2s linear;
  --bs-pagination-active-font-weight: 600;
  --bs-pagination-bg: transparent;
  --bs-pagination-border-width: 0;
  --bs-pagination-focus-box-shadow: none;
  margin-top: 2rem;
  margin-bottom: 2rem;

  /* 讓頁碼可折行 */
  display: flex; 
  flex-wrap: wrap;/* 允許換行 */
  justify-content: center;/* 置中 */
  gap: .5rem .5rem;/* 用 gap 控制間距，避免 margin 撐寬 */
  max-width: 100%;/* 防止超出容器 */
}

/* 移除background/border */
.page-link {
  background-color: var(--bs-pagination-bg);
  border: var(--bs-pagination-border-width);
  border-radius: var(--bs-pagination-border-radius);
  outline: none;
  box-shadow: none;
}

/* 移除 focus 外框 */
.page-link:focus {
  box-shadow: var(--bs-pagination-focus-box-shadow);
  text-decoration: none;
  background-color: #005BAC;
  color: #fff;
}

/* active  */
.page-link.active,
.active > .page-link {
  font-weight: var(--bs-pagination-active-font-weight);
  transition: var(--bs-pagination-active-transition);
  background-color: #1e56a5; /* 自訂主色 */
  color: #fff;
  border-radius: var(--bs-pagination-border-radius);
}

/* Page spacing（避免雙重間距） */
.page-item:not(:first-child) .page-link {
  margin-left: 0;
  margin-right: 0;
}
.page-item.active .page-link {
  z-index: 3;
  color: #fff;
  background-color: #005BAC;
  border-color: #005BAC;
}
/* first/last圓角 */
.page-item:first-child .page-link {
  border-top-left-radius: var(--bs-pagination-border-radius);
  border-bottom-left-radius: var(--bs-pagination-border-radius);
}
.page-item:last-child .page-link {
  border-top-right-radius: var(--bs-pagination-border-radius);
  border-bottom-right-radius: var(--bs-pagination-border-radius);
}

/* pagination circle */
/* 固定寬高做圓，兩位數不變橢圓 */
.pagination-circle{
  --page-size: 2.25rem;/* 預設直徑 */
}
.pagination-circle .page-link{
  width: var(--page-size);
  height: var(--page-size);
  padding: 0;/* 不用 padding 撐寬 */
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;/* 避免字高撐開 */
  white-space: nowrap;/* 兩位數不換行 */
}

/* 縮小圓鈕，避免一整排撐爆 */
@media (max-width: 575.98px){
  .pagination-circle{ --page-size: 2rem; }
}
@media (max-width: 375px){
  .pagination-circle{ --page-size: 1.8rem; }
}

/* sm / lg（可選） */
.pagination-circle.pagination-sm{ --page-size: 1.9rem; }
.pagination-circle.pagination-lg{ --page-size: 2.6rem; }



/*fa animation*/
.fa-rotate {
      animation: fa-spin 2s infinite linear;
    }

    @keyframes fa-spin {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }
.fa-shake {
  animation: fa-shake 3s infinite ease-in-out;
}

@keyframes fa-shake {
  0%   { transform: translateX(0); }
  25%  { transform: translateX(-4px); }
  50%  { transform: translateX(4px); }
  75%  { transform: translateX(-4px); }
  100% { transform: translateX(0); }
}
.fa-bounce {
  animation: fa-bounce 5s infinite ease-in-out;
}

@keyframes fa-bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px); /* ↑ 上跳幅度，可自行調整 */
  }
}