@charset "utf-8";
.editor {overflow: hidden;}
.editor img {display: inline-block;max-width: 100%!important;height: auto!important;}
.editor iframe {max-width: 100%;}
.editor table {max-width: 100%!important;}
.editor ul {padding-left: 1.5rem}
.editor .list-unstyled {padding-left: 0}

.fa-wechat:before, .fa-weixin:before {
    content: "\f1d7";
}

@font-face {
  font-family: "Roboto";
  src: url("./fonts/Roboto-Light.ttf");
  font-weight: 300;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("./fonts/Roboto-Regular.ttf");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("./fonts/Roboto-Bold.ttf");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Roboto";
  src: url("./fonts/Roboto-Black.ttf");
  font-weight: 900;
  font-style: normal;
}

:root {
  --color0: #000000;
  --color1: #111111;
  --color2: #222222;
  --color3: #333333;
  --color4: #444444;
  --color5: #555555;
  --color6: #666666;
  --color7: #777777;
  --color8: #888888;
  --color9: #999999;
  --colora: #aaaaaa;
  --colorb: #bbbbbb;
  --colorc: #cccccc;
  --colord: #dddddd;
  --colore: #eeeeee;
  --colorf: #ffffff;
  --color1a: #1a202c;
  --color2b: #2b6cb0;
  --color2d: #2d3748;
  --color4a: #4a5568;
  --color4f: #4fab4c;
  --color6e: #2fa2d1;
}

:root {
  /* --font-family: "Roboto", sans-serif; */
  --font-family: "Microsoft JhengHei", "Roboto", Arial, sans-serif;
  --font-family-mj: "Microsoft JhengHei", sans-serif;
  --font-size: 16px;
  --font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--color3);
  font-weight: 700;
}

a {
  text-decoration: none;
}

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

body {
  background-color: var(--colorf);
  color: var(--color3);
  font-family: var(--font-family);
  font-size: var(--font-size);
  font-weight: var(--font-weight);
}

a {
  color: var(--color4f);
}

a:hover {
  color: var(--color5);
}

p {
  font-family: "Microsoft JhengHei", "微软正黑体", sans-serif !important;
  font-size: 16px;
}

button:focus {
  box-shadow: none !important;
}

@media (max-width: 1023.99px) {
  .container {
    max-width: 100% !important;
    /* padding: 0; */
  }
}

.h-20 {
  height: 20px;
}

/* index */
.header {
  background: var(--colorf);
  padding: 0 12px;
}

@media (min-width: 1024px) {
  .header {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 1) 28%,
        rgba(0, 127, 101, 1) 100%);
    padding: 0 24px;
  }
}

.header-box {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: block;
  padding: 15px 0;
  margin: 0;
}

.logo img {
  width: 240px;
  height: auto;
  object-fit: cover;
}

@media (min-width: 576px) {
  .logo img {
    width: 270px;
  }
}

@media (min-width: 1200px) {
  .logo img {
    width: 300px;
  }
}

.header--right {
  display: flex;
  flex-direction: row;
  align-items: center;
}

.header--icon,
.header--search {
  display: none;
  cursor: pointer;
}

@media (min-width: 1024px) {
  .header--icon {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0 12px;
    padding: 0;
  }

  .header--icon li {
    margin: 0 2px;
  }

  .header--icon li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 32px;
    height: 32px;
    padding: 8px;
    border-radius: 4px;
    background-color: #edf2f7;
  }

  .header--search {
    display: flex;
    flex-direction: row;
    align-items: center;
    margin: 0;
    padding: 0;
  }

  .header--search span {
    font-family: "Microsoft JhengHei", "微软正黑体", sans-serif;
    font-size: 17px;
    color: var(--colorf);
    display: inline-block;
    margin-right: 5px;
  }

  .header--search i.fa {
    color: var(--colorf);
  }
}

/* popup--search */
.popup-search {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 1);
  z-index: 9999;
}

.pp-close {
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.pp-close i.fa {
  color: var(--colorf);
}

.search--box {
  border: 1px solid rgba(255, 255, 255, 0.2);
  width: 100%;
  height: auto;
  border-radius: 4px;
  padding: 10px;
  box-shadow: 4px 4px 0px rgba(255, 255, 255, 1);
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.search--box input {
  width: calc(100% - 40px);
  background-color: rgba(0, 0, 0, 0);
  border: none;
  color: var(--colorf);
}

.search--box input::placeholder {
  font-size: 20px;
  color: var(--color6);
}

.search--box input:focus {
  box-shadow: none;
}

.submit {
  width: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0);
  border: none;
  cursor: pointer;
  position: relative;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.submit i.fa {
  color: var(--colorf);
  transition: opacity 0.2s ease;
}

.submit.is-loading {
  opacity: 0.7;
  cursor: default;
  pointer-events: none;
}

.submit.is-loading i.fa {
  opacity: 0;
}

.submit.is-loading::after {
  content: "";
  width: 18px;
  height: 18px;
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-top-color: rgba(255, 255, 255, 1);
  border-radius: 50%;
  animation: submit-spin 0.8s linear infinite;
}

@keyframes submit-spin {
  to {
    transform: rotate(360deg);
  }
}

/* navbar */
.web--navbar {
  display: none;
  flex-direction: row;
  align-items: center;
}

.mobile--navbar {
  display: block;
}

@media (min-width: 1024px) {
  .web--navbar {
    display: flex;
  }

  .mobile--navbar {
    display: none;
  }
}

/* web navbar dropdown styles */
.web--navbar .navbar-nav {
  display: flex;
  align-items: center;
}

.web--navbar .nav-item {
  position: relative;
}

.web--navbar .nav-link {
  color: var(--color4a);
  font-weight: 400;
  font-size: 16px;
  padding: 10px 4px;
  transition: all 0.3s ease;
  border-radius: 4px;
  display: flex;
  align-items: center;
}

@media (min-width: 1200px) {
  .web--navbar .nav-link {
    font-size: 17px;
    padding: 10px;
  }
}

.web--navbar .nav-link:hover,
.web--navbar .nav-link.active {
  color: var(--color1a);
}

.web--navbar .nav-item.dropdown>.nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Dropdown menu styles */
.web--navbar .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color1a);
  border-radius: 0;
  padding: 0;
  min-width: 200px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
}

.web--navbar .nav-item:hover>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.web--navbar .dropdown-item {
  padding: 12px 16px;
  transition: all 0.2s ease;
  cursor: pointer;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.web--navbar .dropdown-item:hover {
  background-color: var(--color2d);
  color: var(--color4f);
}

.web--navbar .dropdown-item a {
  color: var(--colorf);
  font-family: "Microsoft JhengHei", "微软正黑体", sans-serif;
  font-size: 12px;
  text-decoration: none;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

/* Second level dropdown */
.web--navbar .dropdown-item.dropdown {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.web--navbar .dropdown-item.dropdown>.dropdown-menu {
  left: 100%;
  top: 0;
  margin-top: 0;
}

.web--navbar .dropdown-item.dropdown:hover>.dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* 確保二級下拉菜單的圖標樣式 */
.web--navbar .dropdown-item.dropdown>a .fa-chevron-down {
  font-size: 10px;
  margin-left: 8px;
  transform: rotate(-90deg);
  transition: transform 0.3s ease;
}

/* .web--navbar .dropdown-item.dropdown:hover > a .fa-chevron-down {
    transform: rotate(-90deg);
} */

.web--navbar .dropdown-toggle::after {
  display: none;
}

/* Icons */
.web--navbar .fa-chevron-down,
.web--navbar .fa-download {
  font-size: 10px;
  margin-left: 8px;
}

/* Mobile navbar styles */
.mobile--navbar .navbar-nav {
  width: 100%;
}

.mobile--navbar .navbar-nav .nav-item {
  position: relative;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.mobile--navbar .navbar-nav .nav-item:last-child {
  border-bottom: none;
}

.mobile--navbar .navbar-nav .nav-link {
  font-size: 14px;
  color: var(--colorf);
  padding: 15px 16px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-weight: 400;
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 0;
}

.mobile--navbar .navbar-nav .nav-link:hover,
.mobile--navbar .navbar-nav .nav-link.active {
  color: var(--color2b);
}

/* 下拉箭头样式 - 默认隐藏 */
.mobile--navbar .navbar-nav .dropdown-toggle {
  position: relative;
  padding-right: 16px !important;
  /* 默认不需要额外空间 */
}

/* 默认隐藏所有箭头 */
.mobile--navbar .navbar-nav .dropdown-toggle::after {
  display: none;
}

/* 只有一级下拉菜单项目才显示箭头 */
.mobile--navbar .navbar-nav .nav-item.dropdown>.dropdown-toggle {
  padding-right: 50px !important;
}

.mobile--navbar .navbar-nav .nav-item.dropdown>.dropdown-toggle::after {
  content: "\f078";
  font-family: "FontAwesome";
  font-size: 12px;
  color: var(--colorf);
  transition: transform 0.3s ease, color 0.3s ease;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
}

.mobile--navbar .navbar-nav .nav-item.dropdown>.dropdown-toggle::after:hover {
  background-color: rgba(79, 171, 76, 0.1);
}

.mobile--navbar .navbar-nav .nav-item.dropdown.active>.dropdown-toggle::after {
  transform: translateY(-50%) rotate(180deg);
  color: var(--colorf);
}

/* 下拉菜单容器 */
.mobile--navbar .navbar-nav .dropdown-menu {
  background-color: var(--color0);
  border: none;
  border-radius: 0;
  margin: 0;
  position: static;
  display: none;
  width: 100%;
  padding: 0;
}

.mobile--navbar .navbar-nav .dropdown-menu.show {
  display: block;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    max-height: 0;
  }

  to {
    opacity: 1;
    max-height: 300px;
  }
}

.mobile--navbar .navbar-nav .dropdown-item {
  padding: 12px 16px 12px 32px;
  cursor: pointer;
  width: 100%;
  color: var(--colorf);
  background-color: rgba(79, 171, 76, 0.02);
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.2s ease;
  font-size: 14px;
}

.mobile--navbar .navbar-nav .dropdown-item:last-child {
  border-bottom: none;
}

.mobile--navbar .navbar-nav .dropdown-item:hover {
  color: var(--color2b);
  padding-left: 36px;
}

.mobile--navbar .navbar-nav .dropdown-item a {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
}

/* 移动端二级下拉菜单项目样式 */
.mobile--navbar .navbar-nav .dropdown-item.dropdown {
  display: block;
  /* 改为block确保子菜单在下方显示 */
  width: 100%;
  position: relative;
  /* padding: 12px 50px 12px 32px; */
  /* 只有有子菜单的项目才有右侧空间 */
  background-color: rgba(79, 171, 76, 0.02);
  cursor: pointer;
}

/* 二级下拉菜单的链接部分 */
.mobile--navbar .navbar-nav .dropdown-item.dropdown>a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  color: inherit;
  text-decoration: none;
}

/* 普通的二级菜单项目（没有子菜单） */
.mobile--navbar .navbar-nav .dropdown-item:not(.dropdown) {
  padding: 12px 16px 12px 32px;
  /* 没有额外右侧空间 */
  cursor: pointer;
}

/* 默认隐藏所有箭头 */
.mobile--navbar .navbar-nav .dropdown-toggle::after {
  display: none;
}

/* 只有二级下拉菜单项目才显示箭头 */
.mobile--navbar .navbar-nav .dropdown-item.dropdown::after {
  content: "\f078";
  font-family: "FontAwesome";
  font-size: 10px;
  color: var(--colorf) !important;
  transition: transform 0.3s ease, color 0.3s ease, background-color 0.3s ease;
  position: absolute;
  right: 10px;
  top: 20px;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
}

/* 箭头点击热区增强 */
.mobile--navbar .navbar-nav .dropdown-item.dropdown::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 45px;
  height: 100%;
  z-index: 5;
  cursor: pointer;
}

.mobile--navbar .navbar-nav .dropdown-item.dropdown::after:hover {
  color: var(--color4f);
}

.mobile--navbar .navbar-nav .dropdown-item.dropdown.active::after {
  transform: translateY(-50%) rotate(180deg);
  color: var(--color4f);
}

.mobile--navbar .navbar-nav .dropdown-item.dropdown>.dropdown-menu {
  position: static;
  display: none;
  width: 100%;
  margin: 0;
  padding: 0;
  float: none;
  clear: both;
}

.mobile--navbar .navbar-nav .dropdown-item.dropdown>.dropdown-menu.show {
  display: block;
  margin-top: 10px;
  animation: slideDownSubmenu 0.3s ease;
}

@keyframes slideDownSubmenu {
  from {
    opacity: 0;
    max-height: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    max-height: 200px;
    transform: translateY(0);
  }
}

/* 移動端三級菜單項目樣式 */
.mobile--navbar .navbar-nav .dropdown-item.dropdown .dropdown-item {
  padding: 12px 16px 12px 12px;
  font-size: 13px;
  color: var(--colorf);
  transition: all 0.2s ease;
}

.mobile--navbar .navbar-nav .dropdown-item.dropdown .dropdown-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.mobile--navbar .navbar-nav .dropdown-item.dropdown .dropdown-item:hover {
  padding-left: 20px;
  color: var(--color2b);
  transform: translateX(2px);
}

.mobile--navbar .navbar-nav .dropdown-item.dropdown .dropdown-item a {
  color: inherit;
  text-decoration: none;
  display: block;
  width: 100%;
}

/* offcanvas 整體樣式優化 */
.mobile--navbar .offcanvas {
  border: none;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
}

.mobile--navbar .offcanvas-header {
  border-bottom: 1px solid var(--colore);
  padding: 20px;
}

.mobile--navbar .offcanvas-body {
  padding: 0;
}

/* 確保默認狀態下所有下拉菜單都是收起的 */
.mobile--navbar .dropdown-menu {
  display: none !important;
}

.mobile--navbar .dropdown-menu.show {
  display: block !important;
}

/* 新增：箭头区域点击提示 - 只针对有下拉菜单的项目 */
.mobile--navbar .navbar-nav .nav-item.dropdown>.dropdown-toggle {
  cursor: default;
}

.mobile--navbar .navbar-nav .nav-item.dropdown>.dropdown-toggle::before {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 50px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* 普通的导航项目（没有下拉菜单）保持默认样式 */
.mobile--navbar .navbar-nav .nav-link:not(.dropdown-toggle),
.mobile--navbar .navbar-nav .dropdown-item:not(.dropdown) {
  cursor: pointer;
}

.offcanvas {
  width: 320px !important;
  background-color: var(--color0);
}

.offcanvas-header {
  display: flex;
  justify-content: flex-end;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.btn-close {
  color: var(--colorf);
  background: transparent url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414-1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3e%3c/svg%3e") center/1em auto no-repeat;
  opacity: 0.8;
}

.navbar-toggler {
  border: none;
  padding-right: 0;
}

.navbar-toggler span {
  width: 24px;
  height: 24px;
}

/* banner */
.banner {
  min-height: 150px;
  height: 100%;
  overflow: hidden;
}

@media (min-width: 992px) {
  .banner {
    min-height: 400px;
    height: calc(100vh - 80px - 300px);
  }
}

.banner .swiper-wrapper { 
  height: 100%;
}

.banner .swiper-button-prev,
.banner .swiper-button-next {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(0, 0, 0, 0.3);
  bottom: 30px;
  top: auto;
  left: 50px;
  right: auto;
  transition: all 0.3s ease-in-out;
}

.banner .swiper-button-prev {
  bottom: 90px;
}

@media (max-width: 767.99px) {

  .banner .swiper-button-prev,
  .banner .swiper-button-next {
    bottom: 30px;
    width: 36px;
    height: 36px;
  }

  .banner .swiper-button-next {
    left: 100px;
  }
}

.banner .swiper-button-prev:hover,
.banner .swiper-button-next:hover {
  background-color: rgba(255, 255, 255, 1);
}

.banner .swiper-button-prev::after,
.banner .swiper-button-next::after {
  color: var(--colorf);
  font-size: 14px;
  transition: all 0.3s ease-in-out;
}

.banner .swiper-button-prev:hover::after,
.banner .swiper-button-next:hover::after {
  color: #fe506c;
}

.banner .swiper-slide {
  min-height: 100%;
  height: 100%;
  background-color: #fafafa;
}

.banner .swiper-slide a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.banner .swiper-slide a::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(10px);
  background-size: cover;
  background-position: center;
  object-fit: cover;
  object-position: center;
  z-index: -1;
}

.banner .swiper-slide a.bj-banner1::before {
  background: url(../images/banner1.png) center / cover no-repeat;
}

.banner .swiper-slide a.bj-banner2::before {
  background: url(../images/banner2.png) center / cover no-repeat;
}

.banner .swiper-slide a.bj-banner3::before {
  background: url(../images/banner3.png) center / cover no-repeat;
}

.banner .swiper-slide a.bj-banner4::before {
  background: url(../images/banner4.png) center / cover no-repeat;
}

.banner .swiper-slide a.bj-banner5::before {
  background: url(../images/banner5.png) center / cover no-repeat;
}

.banner .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  /* object-position: center;
  min-height: 100%; */
}

@media (min-width: 992px) {
  .banner .swiper-slide{
    min-height: 400px;
  }

  .banner .swiper-slide img {
    object-fit: contain;
  }
}

.region {
  padding: 40px 0;
}

.title--style {
  font-size: 28px;
  color: var(--color4f);
  font-weight: 700;
}

.width--info {
  width: 100%;
  margin: 0 auto;
  padding: 0 12px;
}

@media (min-width: 768px) {
  .width--info {
    width: 600px;
  }
}

@media (min-width: 1024px) {
  .width--info {
    width: 800px;
  }
}

.widget-wrap {
  margin-top: 24px;
}

.iframe-warp iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
}

.more--wrap {
  margin: 20px 0;
  text-align: center;
  font-size: 19px;
  color: var(--color4f);
}

.news-card {
  border: none;
  border-radius: 0;
  height: 100%;
}

.card-img {
  /* max-height: 150px; */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0 !important;
}

.card-img img {
  /* width: 100%;
  height: 100%;*/
  object-fit: cover; 
  aspect-ratio: 4 / 3;
}

.height-card-img {
  /* height: 170px; */
  /* overflow: hidden; */
  
}

.card-content {
  background-color: var(--color6e);
  padding: 30px;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-content > * {
  margin: 5px 0;
}

.card-title {
  padding-bottom: 0;
  border-bottom: none;
}

.card-title a {
  font-family: var(--font-family-mj);
  font-size: 18px;
  font-weight: bold;
  color: var(--colorf);
  line-height: 1.5;
  min-height: 3em;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  /* -webkit-line-clamp: 2; */
  /* line-clamp: 2; */
  -webkit-box-orient: vertical;
}

/* @media (min-width: 768px) {
  .card-title a {
    height: 110px;
  }
} */

.card-text {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  font-weight: 400;
  margin-top: auto;
}

.card-text span {
  display: inline-block;
  font-size: 10px;
  color: var(--colorf);
  text-transform: uppercase;
  margin-right: 0;
}

.card-text span:first-child {
  margin-right: 3px;
}

.card-divider {
  margin-top: 10px;
  margin-bottom: 10px;
  font-size: 0;
  line-height: 0;
}

.card-divider-separator {
  display: inline-block;
  width: 100%;
  border-top: 1px solid rgba(238, 238, 238, 0.35);
}

.flex--row {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

#common-home .current-swiper {
  padding: 50px 0;
}

.current-swiper .swiper-slide img{
  transform: scale(1);
  border-radius: 10px;
  transition: all .5s ease-in-out;

}

.current-swiper .swiper-slide .slide-img {
  border-radius: 10px;
  /* overflow: hidden;
  max-height: 240px;
  min-height: 180px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center; */
}

/* .current-swiper .swiper-slide .slide-img img {
  width: 100%;
  max-height: 240px;
  min-height: 180px;
  height: 100%;
  object-fit: cover;
} */

.current-swiper .swiper-slide-active,
.current-swiper .swiper-slide-active img{
  transform: scale(1.15);
  z-index: 9;
  position: relative;
}

.current-swiper .swiper-slide-active .slide-img {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


.footer {
  overflow: hidden;
}

.footer img {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center;
}

.text--font,
.breadcrumb-item {
  font-family: "Microsoft JhengHei", "Arial", "Helvetica", "sans-serif";
}

.breadcrumb--box {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.bre--item {
  padding: 6px 12px;
  width: 100%;
}

@media (min-width: 768px) {
  .bre--item {
    width: 50%;
  }
}

.g-brea a {
  padding-left: 10px;
  font-family: "Microsoft JhengHei", "Arial", "Helvetica", "sans-serif";
  color: var(--color6);
}

.about-top-bj-color {
  background-color: #007f65;
}

.text1-style p {
  color: var(--colorf);
}

@media (min-width: 992px) {
  .text1-style p {
    font-size: 17px;
    line-height: 30px;
    margin-bottom: 24px;
  }
}

.a-top-img {
  height: 50px;
  width: 100%;
}

@media (min-width: 768px) {
  .a-top-img {
    height: 30px;
  }
}

.title--img img {
  width: auto;
  height: 76px;
}

.add--img {
  display: flex;
  align-items: flex-end;
  height: auto;
  overflow: hidden;
}

@media (min-width: 768px) {
  .add--img {
    min-height: 300px;
    height: 340px;
  }
}

.add--img img {
  position: relative;
  width: auto;
  height: auto;
  object-fit: contain;
  padding-top: 30px;
  /* z-index: -1; */
  transition: all 0.3s ease-in-out;
}

.add--img:hover img {
  transform: rotate(2deg) translateY(-10px);
}

.text2-style p {
  color: #007f65;
  font-size: 17px;
}

.hero {
  background-color: #edf2f7;
  padding: 40px 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (min-width: 768px) {
  .hero {
    padding: 80px 24px;
  }
}

.item-card {
  height: 100%;
  border-radius: 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
}

.card-img-top {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 260px;
  min-height: 260px;
  overflow: hidden;
  border-radius: 0;
}

.card-img-top img {
  object-fit: cover;
  width: 100%;
  /* height: 100%; */
}

.item-card-body {
  padding: 30px;
}

.tab--title {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 10px;
}

.tab--title a {
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  color: var(--color2b);
}

.tab--title a::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 10px;
  background-color: var(--color4);
  margin: 0 6px;
}

.tab--title a:first-child:before {
  display: none;
}

.item-card-body h2 {
  cursor: pointer;
}

@media (min-width: 768px) {
  .item-card-body h2 {
    font-size: 28px;
  }
}

.item-card-body h2:hover {
  color: var(--color2b);
}

.date {
  margin: 10px 0;
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--color3);
}

.date a {
  display: inline-flex;
  align-items: center;
  color: var(--color3);
  padding: 0 4px;
}

.date a::after {
  content: "";
  display: block;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: var(--color3);
  margin: 0 4px;
}

.item-card-body p {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  /* -webkit-line-clamp: 3; */
  /* line-clamp: 3; */
  -webkit-box-orient: vertical;
}

.read-more {
  color: var(--color2);
  font-size: 16px;
  letter-spacing: 1px;
  text-transform: uppercase;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  transition: all 0.3s ease-in-out;
  display: flex;
  align-items: center;
}

.read-more .fa {
  margin-left: 6px;
  transform: translateY(-2px);
}

.read-more:hover {
  color: var(--color2b);
}

.width_box {
  background-color: var(--colorf);
  padding: 30px;
  box-shadow: 10px 0 20px rgba(0, 0, 0, 0.05);
}

.link_al {
  color: var(--color2b);
  font-size: 13px;
}

.gallery-img {
  display: flex;
  justify-content: center;
  align-items: center;
}

.gallery-img img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.prev-next-links {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.p_n_link {
  display: flex;
  flex-direction: column;
}

.p_n_link .prev-title,
.p_n_link .next-title {
  color: var(--color2);
}

.p_n_link.prev-link {
  text-align: left;
  padding-right: 20px;
}

.p_n_link.next-link {
  text-align: right;
  padding-left: 20px;
}

.p_n_link .title {
  color: var(--color2);
}

.entry-related-title h3 {
  font-weight: 700;
}

.news--tab {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-around;
  margin-top: 30px;
}

.tab-news-item {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  background-color: var(--color2b);
  color: var(--colorf);
  max-width: 200px;
  width: 200px;
  padding: 10px 20px;
  margin: 5px;
  transition: all 0.3s ease-in-out;
}

.tab-news-item:hover {
  background-color: #215387;
  color: var(--colorf);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.news-contar-list {
  margin-top: 30px;
}

.news-contar-list li {
  display: flex;
  flex-direction: column;
  margin-bottom: 23px;
  width: 100%;
  font-family: var(--font-family-mj);
  font-size: 17px;
  color: var(--color7);
}

@media (min-width: 768px) {
  .news-contar-list li {
    width: 400px;
    max-width: 400px;
  }
}

.news-contar-list li a {
  color: var(--color2b);
}

.news-contar-list li a:hover {
  color: #215387;
}

.news-contar-list li span {
  font-size: 13px;
  display: block;
  margin-top: 5px;
}

.donate-box {
  margin-top: 30px;
}

.donate-form {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
}

.donate-form .txt {
  font-family: var(--font-family-mj);
  font-size: 15px;
  color: var(--color2b);
  display: inline-block;
  margin-right: 15px;
}

.btn-primary {
  /* background-color: var(--color2b);
  border-color: var(--color2b); */
  border-radius: 4px;
  padding: 8px 20px;
  transition: all 0.3s ease-in-out;
}

.btn-primary:hover {
  background-color: var(--color4f);
  border-color: var(--color4f);
}

.h2--tit {
  font-size: 26px;
  color: var(--colorf);
}

@media (min-width: 768px) {
  .h2--tit {
    font-size: 2.5rem;
  }
}

.contact--con {
  margin-top: 30px;
}

.contact--con li {
  margin-bottom: 20px;
  font-family: var(--font-family-mj);
  font-size: 17px;
  color: var(--colorf);
}

.contact--con li .fa {
  color: #88BD43;
  font-size: 24px;
  margin-right: 10px;
}

.contact--con li a {
  color: var(--colorf);
}

.contact-share {
  display: flex;
  flex-direction: row;
  align-items: center;
  margin-top: 30px;
}

.contact-share a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background-color: var(--colorf);
  border-radius: 50%;
  margin-right: 10px;
}

.contact-share .fa {
  font-size: 20px;
}

.contact-map {
  margin: 20px 0;
  overflow: hidden;
}

.contact-map iframe {
  width: 100%;
  /* height: 300px; */
}

.cft-img img {
  min-height: 100px;
  height: 100px;
  object-fit: cover;
}

@media (min-width: 576px) {
  .cft-img img {
    height: 150px;
  }
}

.contact-form {
  padding: 30px 0;
}

.con-form-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
}

.con-form-top h6 {
  font-weight: bold;
  font-family: var(--font-family-mj);
  color: #24B5B6;
  font-size: 20px;
  margin-top: 16px;
}

.form-select,
.form-control {
  border: 1px solid var(--colore);
  font-family: var(--font-family-mj);
}

.form-select {
  font-size: 16px;
}

.form-control {
  padding: 8px 16px;
}

.server-con-list {
  margin-top: 20px;
}

.server-item {
  margin-bottom: 30px;
}

.server-item-top {
  margin-bottom: 15px;
}

.server-item-top-img {
  width: 100%;
  min-height: 140px;
  height: 240px;
}

.server-item-top-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center left;
}

.server-item-more {
  margin-top: 30px;
  display: flex;
  justify-content: flex-end;
}

.server-img {
  display: inline-block;
}

.server-img img {
  width: auto;
  height: 40px;
  object-fit: cover;
}



/* 分頁 css */
.page-item {
  margin-right: 10px;
}

.page-link {
  border-radius: 5px !important;
  width: 44px;
  height: 44px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--color2b);
  background-color: rgba(0, 0, 0, 0) !important;
  border: none;
}

.page-link:hover {
  border: 2px solid var(--color2b) !important;
  color: var(--color2b) !important;
}

.page-item.active .page-link {
  background-color: var(--color2b) !important;
  border: 2px solid var(--color2b) !important;
  color: var(--colorf) !important;
}

/* ↓↓↓↓↓↓↓↓ */
.delighter .li {
  opacity: 0;
  transform: translatey(15%);
  transition: all 0.7s ease-out;
}

.delighter.started .li {
  opacity: 1;
  transform: none;
}

.delighter.started .li:nth-child(1) {
  transition: all 0.7s ease-out 0.1s;
}

.delighter.started .li:nth-child(2) {
  transition: all 0.7s ease-out 0.3s;
}

.delighter.started .li:nth-child(3) {
  transition: all 0.7s ease-out 0.5s;
}

.delighter.started .li:nth-child(4) {
  transition: all 0.7s ease-out 0.7s;
}

.delighter.started .li:nth-child(5) {
  transition: all 0.7s ease-out 0.9s;
}

.delighter.started .li:nth-child(6) {
  transition: all 0.7s ease-out 1.1s;
}

.delighter .li-left {
  opacity: 0;
  transform: translatex(-15%);
  transition: all 0.7s ease-out;
}

.delighter.started .li-left:nth-child(1) {
  transition: all 0.7s ease-out 0.1s;
}

.delighter.started .li-left:nth-child(2) {
  transition: all 0.7s ease-out 0.3s;
}

.delighter.started .li-left:nth-child(3) {
  transition: all 0.7s ease-out 0.5s;
}

.delighter.started .li-left:nth-child(4) {
  transition: all 0.7s ease-out 0.7s;
}

.delighter.started .li-left:nth-child(5) {
  transition: all 0.7s ease-out 0.9s;
}

.animate.up {
  transform: translatey(15%);
  opacity: 0;
  transition: all 0.75s ease-out;
}

.animate.left {
  transform: translatex(-15%);
  opacity: 0;
  transition: all 0.75s ease-out;
}

.animate.left-1 {
  transition: all 1.5s ease-out !important;
}

.delighter.started .li-left,
.animate.up.started,
.animate.left.started {
  transform: none;
  opacity: 1;
}

.animate.right {
  transform: translatex(15%);
  opacity: 0;
  transition: all 0.75s ease-out;
}

.animate.right-1 {
  transition: all 1.5s ease-out !important;
}

.animate.right.started {
  transform: none;
  opacity: 1;
}

.animate.pulse,
.animate.pulse1 {
  transform: scale(0);
  opacity: 0;
  transition: all 0.3s ease-out;
}

.animate.pulse1 {
  transition: all 0.75s ease-out;
}

.animate.pulse.started,
.animate.pulse1.started {
  transform: none;
  opacity: 1;
}

/* back to top */
#back-to-top {
  position: fixed;
  right: 8px;
  bottom: 8px;
  display: none;
  z-index: 999;
}

@media (max-width: 576px) {
  #back-to-top {
    bottom: 66px;
  }
}

#back-to-top.show {
  display: block;
}

.back-to-top {
  width: 35px;
  height: 35px;
  background-color: var(--colorf);
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

@media (min-width: 768px) {
  .back-to-top {
    width: 40px;
    height: 40px;
  }
}

.back-to-top i.fa {
  color: var(--colorz);
}

.current-swiper .swiper-button-next,
.current-swiper .swiper-button-prev{
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--colore);
  transition: all 0.3s ease-in-out;
}

.current-swiper .swiper-button-prev {
  left: 40px;
}

.current-swiper .swiper-button-next {
  right: 40px;
}

.current-swiper .swiper-button-next::after,
.current-swiper .swiper-button-prev::after {
  font-size: 14px;
  color: #333;
  transition: all 0.3s ease-in-out;
}

.current-swiper .swiper-button-next:hover,
.current-swiper .swiper-button-prev:hover {
  background-color: var(--color1a);
}

.current-swiper .swiper-button-next:hover::after,
.current-swiper .swiper-button-prev:hover::after {
  color: var(--colorf);
}

.notice-wrap {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.05);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  z-index: 999;
}

.notice-box {
  min-width: 200px;
  max-width: 500px;
  background-color: var(--colorf);
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  transition: all 0.3s ease-in-out;
}

@media (max-width: 575.99px) {
  .notice-box {
    width: 100%;
  }
}

.notice-close {
  position: absolute;
  top: 0;
  right: 7px;
  cursor: pointer;
  font-size: 20px;
}

.notice-info {
  padding: 40px 30px;
  text-align: center;
}

.notice-icon {
  margin-bottom: 24px;
}

.notice-icon .fa {
  font-size: 40px;
  color: var(--color4f);
}

.notice-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.notice-text {
  font-size: 17px;
  color: var(--color3);
}

.donate-description{
  font-size: 18px;
}
.donate-info-title{
  font-size: 20px;
  font-weight: 700;
  color: #4FAB4C;
}
.type-box:not(:last-child) {
  margin-right: 20px;
}
.type-box {
  width: 180px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px dashed #CBD5E0;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  color: #4A5568;
  background-color: #fff;
}

.donate-card{
  color: #333333;
}
.coming-soon-card {
  max-width: 800px;
  margin: 0 auto;
}
.coming-soon-body {
  padding: 1.5rem 0 0.5rem;
}
.coming-soon-icon {
  font-size: 3rem;
  color: #4FAB4C;
  line-height: 1;
  margin-bottom: 1rem;
}
.coming-soon-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  color: #333333;
  margin-bottom: 0.5rem;
}
.coming-soon-label {
  font-size: clamp(1.125rem, 3vw, 1.375rem);
  font-weight: 700;
  color: #4FAB4C;
  margin-bottom: 1rem;
}
.coming-soon-lead,
.coming-soon-answer {
  max-width: 40rem;
  margin: 0 auto 1rem;
  color: #4A5568;
  line-height: 1.7;
}
.coming-soon-actions {
  margin-top: 1.5rem;
}
.coming-soon-actions .btn {
  min-width: 160px;
}
.coming-soon-card .btn-outline-secondary {
  color: #4FAB4C;
  border-color: #4FAB4C;
}
.coming-soon-card .btn-outline-secondary:hover {
  color: #fff;
  background-color: #4FAB4C;
  border-color: #4FAB4C;
}
@media (min-width: 768px) {
  .coming-soon-body {
    padding: 2.5rem 0 1rem;
  }
  .coming-soon-icon {
    font-size: 3.5rem;
  }
}
.type-box.active {
  border: 1px solid #4FAB4C;
  color: #4FAB4C;
  background-color: #4FAB4C08;
}
.type-box:hover:not(.active) {
  border-color: #A0AEC0;
  background-color: #F7FAFC;
}
.amount-label .btn-outline-primary { border-width: 2px; font-weight: 600; color: #4A5568; border-color: #E2E8F0; }
.amount-label .btn-outline-primary:hover, .amount-label .btn-outline-primary.active { 
  background-color: #4FAB4C; border-color: #4FAB4C; color: white; 
}
.payment-option .btn-outline-secondary { border-width: 2px; color: #4A5568; border-color: #E2E8F0; }
.payment-option .btn-outline-secondary.active { 
  border-color: #4FAB4C; color: #4FAB4C; background-color: #F0F9FF;
}
.donate-card .form-control, .donate-card .form-select { border: 1px solid #E2E8F0; padding: 0.75rem; border-radius: 0rem; }
.donate-card .form-control:focus { border-color: #4FAB4C; box-shadow: 0 0 0 0.25rem rgba(110, 193, 228, 0.15); }
.donate-card .btn-primary { background-color: #4FAB4C; border-color: #4FAB4C; font-weight: 600; }
.donate-card .btn-primary:hover { background-color: #5AA9CC; border-color: #5AA9CC; }

.dot-line {
  border-top: 1px dashed #E2E8F0;
  margin: 40px 0;
}
.payment-method-box{
  background-color: #fafafa;
  border: 1px solid rgba(0, 0, 0, 0.1);
}
.amount-box {
  padding: 20px 0;
}
.amount-item {
  cursor: pointer;
  user-select: none;
}
.custom-amount-underline {
  border: none;
  border-bottom: 1px solid #333;
  background: transparent;
  width: 150px;
  outline: none;
  padding: 0 5px;
}
.amount-item span {
  font-size: 18px;
  color: #333;
}
.btn-upload {
  background-color: #f8f9fa;
  border: 1px dashed #cccccc;
  border-radius: 10px;
  padding: 8px 20px;
  color: #333;
  font-size: 16px;
  transition: all 0.3s ease;
}
.btn-upload:hover {
  background-color: #f0f0f0;
  border-color: #999;
}
.btn-clear {
  background-color: #e60012;
  color: #fff;
  border-radius: 10px;
  padding: 8px 25px;
  font-size: 16px;
  border: none;
  transition: all 0.3s ease;
}
.btn-clear:hover {
  background-color: #cc0010;
  color: #fff;
}
.receipt-address label {
  display: block;
  margin-bottom: 10px;
}
.receipt-address textarea {
  border: 1px solid #E2E8F0;
  border-radius: 0;
  padding: 15px;
  resize: none;
}
.receipt-footer-note {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
}
.upload-label {
  font-size: 18px;
  color: #333;
}
.file-box {
  background-color: #f8f9fa;
  border: 1px dashed #cccccc;
  border-radius: 10px;
  padding: 5px 15px;
  transition: all 0.3s ease;
}
.file-box:hover {
  background-color: #f0f0f0;
  border-color: #999;
}
.file-box img {
  width: 20px;
  margin-right: 10px;
}
.file-box .bttn {
  background: transparent;
  padding: 0;
  font-size: 16px;
  color: #333;
}
.paymenmt-box {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 16px;
  border: 1px dashed #cccccc;
  padding: 0 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  background-color: #fff;
}
.paymenmt-box.active {
  border: 1px dashed #4FAB4C;;
}
.paymenmt-box.active span {
  color: #4FAB4C;
}
.payment-radio {
  width: 18px;
  height: 18px;
  border: 2px solid #cccccc;
  border-radius: 50%;
  position: relative;
  flex-shrink: 0;
}
.payment-radio.active,
.paymenmt-box.active .payment-radio {
  border-color: #4FAB4C;
}
.payment-radio.active::after,
.paymenmt-box.active .payment-radio::after {
  content: "";
  width: 10px;
  height: 10px;
  background-color: #4FAB4C;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.paymenmt-box img, .paymenmt-box svg {
  width: 40px;
  height: auto;
}
.paymenmt-box span {
  font-size: 16px;
  color: #333;
}
@media (min-width: 768px) {
  .paymenmt-box{
    width: 200px;
  }
}
.file-tit{
  font-size: 20px;
  font-weight: 700;
  color: #333;
}
.confirm-btn{
  background: #4FAB4C;
  border-color: #4FAB4C;
}
.btn-primary{
    --bs-btn-bg: #4FAB4C;
    --bs-btn-border-color: #5ba659de;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #5ba659de;
    --bs-btn-hover-border-color: #5ba659de;
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #5ba659de;
    --bs-btn-active-border-color: #5ba659de;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #4FAB4C;
    --bs-btn-disabled-border-color: #4FAB4C;
}
.donate-card .form-control.is-invalid, .donate-card .was-validated .form-control:invalid {
  border-color: #dc3545;
  padding-right: calc(1.5em + .75rem);
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right calc(.375em + .1875rem) center;
  background-size: calc(.75em + .375rem) calc(.75em + .375rem);
}

[v-cloak] {
  display: none !important;
}
.success-items {
  max-width: 800px;
  margin-left:auto;
  margin-right:auto;
  text-align: center;
}
.success-items h1{
  font-size:1.725rem;
}
.success-items .icon-wrapper {
  font-size: 4rem;
  text-align: center;
  color:#4cb64c;
}
.success-items a {
  color: #192c56;
}


.donate-card .form-control.is-invalid:focus, .donate-card .was-validated .form-control:invalid:focus {
  box-shadow: rgba(220, 53, 69, 0.25) 0px 0px 0px 0.25rem;
  border-color: rgb(220, 53, 69);
}
.news-card{
  background-color: var(--color6e);
}
#common-home .card-img.fix-aspect-ratio img{
  aspect-ratio: auto;
}