:root {
  --site-ink: #152235;
  --site-muted: #667085;
  --site-brand: #16b89a;
  --site-surface: #ffffff;
  --site-line: #e5e9ef;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  min-width: 320px;
  color: var(--site-ink);
  background: var(--site-surface);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans TC", Arial, sans-serif;
}

img { max-width: 100%; height: auto; }

/* The captured pages contain AOS initial states but no longer bootstrap AOS. */
[data-aos] { opacity: 1 !important; transform: none !important; }

header {
  position: relative;
  z-index: 50;
  width: 100%;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid var(--site-line);
}

header .wrap {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(1200px, calc(100% - 40px));
  min-height: 76px;
  margin: 0 auto;
}

header .logo {
  display: block !important;
  width: auto !important;
  height: auto !important;
  margin: 0 !important;
  overflow: visible !important;
  background: none !important;
  text-indent: 0 !important;
}
header .logo h1, header .logo .site-logo { display: block !important; width: auto !important; height: auto !important; margin: 0; font-size: 21px !important; line-height: 1; text-indent: 0 !important; white-space: nowrap; }
header .logo a {
  display: block !important;
  width: auto !important;
  height: auto !important;
  float: none !important;
  overflow: visible !important;
  color: var(--site-brand);
  background: none !important;
  text-decoration: none;
  text-indent: 0 !important;
  font-weight: 750;
}
header .logo img { display: block; width: 144px !important; height: auto !important; max-width: none; }

.nav_links {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-left: auto;
}

.nav_links_group,
.dropdownmenu,
header .social_icons,
footer .social_icons {
  display: flex;
  align-items: center;
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav_links_group a,
.dropdownmenu_btn {
  display: inline-flex;
  align-items: center;
  color: #344054;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
}

.nav_links_group a:hover { color: var(--site-brand); }

.dropdownmenu { position: relative; }
.dropdownmenu_btn {
  gap: 8px;
  padding: 10px 16px;
  color: #fff;
  background: var(--site-brand);
  border-radius: 6px;
}
.dropdownmenu_btn .arrow-icon { width: 12px; }
.dropdownmenu .submenu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  min-width: 160px;
  margin: 0;
  padding: 8px;
  list-style: none;
  background: #fff;
  border: 1px solid var(--site-line);
  border-radius: 8px;
  box-shadow: 0 12px 28px rgba(16, 24, 40, 0.14);
}
.dropdownmenu .submenu li { list-style: none; }
.dropdownmenu .submenu a { display: block; padding: 9px 12px; color: #344054; text-decoration: none; border-radius: 5px; }
.dropdownmenu .submenu a:hover { color: var(--site-brand); background: #f0fbf8; }

header .social_icons { gap: 10px; }
header .social_icons img { display: block; width: 20px; height: 20px; }

.hamburger {
  display: none;
  width: 42px;
  height: 38px;
  margin-left: auto;
  padding: 9px;
  cursor: pointer;
}
.hamburger span { display: block; height: 2px; margin: 4px 0; background: #344054; transition: transform 0.2s ease, opacity 0.2s ease; }
.hamburger.is-open .hamburger_btn1 { transform: translateY(6px) rotate(45deg); }
.hamburger.is-open .hamburger_btn2 { opacity: 0; }
.hamburger.is-open .hamburger_btn3 { transform: translateY(-6px) rotate(-45deg); }

.page_nav .material-icons {
  font-family: inherit !important;
  font-style: normal;
  font-weight: 600;
}

.footer {
  margin-top: 80px;
  padding: 56px 0 24px;
  color: #d9e3ef;
  background: #152235;
}
.footer .wrap { width: min(1200px, calc(100% - 40px)); margin: 0 auto; }
.footer .item_group { display: grid; grid-template-columns: 1fr 1.3fr 1.1fr 1.3fr; gap: 32px; }
.footer h3 { margin: 0 0 16px; color: #fff; font-size: 16px; }
.footer ul { margin: 0; padding: 0; list-style: none; }
.footer li { margin: 0 0 10px; }
.footer a { color: #d9e3ef; text-decoration: none; }
.footer a:hover { color: #7de5d0; }
.footer .link_group { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.footer .social_icons { gap: 12px; margin-top: 18px; }
.footer .social_icons img { display: block; width: 22px; height: 22px; }
.footer .copyright { margin-top: 40px; padding-top: 22px; color: #9eafc3; font-size: 13px; border-top: 1px solid rgba(217, 227, 239, 0.2); }

#gotop {
  position: fixed;
  right: 24px;
  bottom: 24px;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background: var(--site-brand);
  border-radius: 50%;
  box-shadow: 0 6px 16px rgba(22, 184, 154, 0.3);
}
#gotop img { width: 16px; }

/* Static replacement for the removed Swiper runtime. */
.banner { overflow: hidden; }
.banner .swiper {
  width: min(850px, calc(100% - 120px));
  margin: 0 auto;
  padding: 54px 0 24px;
  overflow: hidden;
}
.banner .swiper-wrapper {
  display: flex;
  width: 100%;
  margin: 0 !important;
  transition: transform 0.55s ease;
  will-change: transform;
}
.banner .swiper-slide {
  flex: 0 0 100% !important;
  width: 100% !important;
  opacity: 0;
  transform: none !important;
}
.banner .swiper-slide.swiper-slide-active {
  opacity: 1;
  transform: none !important;
}
.banner .swiper-slide img {
  width: 100% !important;
  height: auto !important;
  aspect-ratio: auto;
  object-fit: contain;
}
.banner .swiper-pagination {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin: 28px 0 0 !important;
}
.banner .swiper-pagination-bullet {
  display: block;
  width: 10px;
  height: 10px;
  margin: 0 !important;
  padding: 0;
  cursor: pointer;
  background: #c7cacd;
  border: 0;
  border-radius: 50%;
}
.banner .swiper-pagination-bullet-active { background: #00b998; }
.banner .swiper-button-prev,
.banner .swiper-button-next {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  margin-top: -21px;
  color: #169f89;
  font-family: Arial, sans-serif;
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
}
.banner .swiper-button-prev { left: 18px; }
.banner .swiper-button-next { right: 18px; }
.banner .swiper-button-prev::after { content: "\2039"; }
.banner .swiper-button-next::after { content: "\203A"; }

@media (max-width: 767px) {
  .banner .swiper { width: calc(100% - 32px); padding: 32px 0 20px; }
  .banner .swiper-button-prev,
  .banner .swiper-button-next { display: none !important; }
}

@media (max-width: 900px) {
  header .wrap { min-height: 64px; width: min(100% - 28px, 1200px); }
  header .hamburger { display: block !important; }
  .nav_links { display: none; }
  .nav_links.is-open {
    display: flex;
    position: absolute;
    top: 64px;
    right: 14px;
    left: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 20px;
    background: #fff;
    border: 1px solid var(--site-line);
    border-radius: 8px;
    box-shadow: 0 12px 28px rgba(16, 24, 40, 0.12);
  }
  .nav_links_group { flex-direction: column; align-items: stretch; gap: 14px; }
  .nav_links_group a { padding: 4px 0; }
  .dropdownmenu { align-self: flex-start; }
  .footer { margin-top: 48px; }
  .footer .item_group { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* `swiper` is a legacy custom element. Make it a real block so its width
   constraint applies after the original Swiper runtime has been removed. */
.banner > swiper.swiper {
  display: block !important;
  width: 850px !important;
  max-width: calc(100% - 120px) !important;
  margin-right: auto !important;
  margin-left: auto !important;
  box-sizing: border-box;
}
.banner > swiper.swiper .swiper-slide,
.banner > swiper.swiper .swiper-slide a,
.banner > swiper.swiper .swiper-slide img {
  display: block;
  box-sizing: border-box;
}
.banner > swiper.swiper .swiper-slide img {
  max-width: 100%;
  height: auto !important;
}

@media (max-width: 767px) {
  .banner > swiper.swiper {
    width: calc(100% - 32px) !important;
    max-width: none !important;
  }
}

/* Homepage news feed. */
.news-section {
  padding: 96px 24px 84px;
  background: #f6faf9;
}
.news {
  width: min(100%, 1000px);
  margin: 0 auto;
}
.news-title {
  margin: 0;
  color: #1f2b2c;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.news-desc {
  max-width: 680px;
  margin: 16px auto 42px;
  color: #657272;
  font-size: 16px;
  line-height: 1.8;
  text-align: center;
}
.news-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #dfe9e6;
}
.news-item {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  min-height: 68px;
  border-bottom: 1px solid #dfe9e6;
}
.news-link {
  overflow: hidden;
  color: #263334;
  font-size: 17px;
  font-weight: 600;
  line-height: 1.5;
  text-decoration: none;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.news-link:hover,
.news-link:focus-visible {
  color: var(--site-brand);
}
.news-time {
  color: #899493;
  font-size: 14px;
  white-space: nowrap;
}
.news-empty {
  padding: 24px 0;
  color: #899493;
  font-size: 15px;
  text-align: center;
}
.news-more {
  margin-top: 34px;
  text-align: center;
}
.news-more a {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 22px;
  border: 1px solid var(--site-brand);
  border-radius: 6px;
  color: var(--site-brand);
  font-weight: 600;
  text-decoration: none;
}
.news-more a:hover,
.news-more a:focus-visible {
  background: var(--site-brand);
  color: #fff;
}

/* Static help content for the FAQ page. */
.support-static {
  padding: 76px 24px 96px;
  background: #f7faf9;
}
.support-static__inner {
  width: min(100%, 900px);
  margin: 0 auto;
}
.support-static .page_title {
  width: auto;
  margin: 0;
  text-align: center;
}
.support-static .page_title h1 {
  margin: 0;
}
.support-static__intro {
  max-width: 680px;
  margin: 14px auto 38px;
  color: #657272;
  font-size: 16px;
  line-height: 1.8;
}
.support-static__list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid #dfe9e6;
}
.support-static__item {
  padding: 24px 0;
  border-bottom: 1px solid #dfe9e6;
}
.support-static__item h2 {
  margin: 0 0 10px;
  color: #253334;
  font-size: 20px;
  line-height: 1.45;
}
.support-static__item p {
  max-width: 760px;
  margin: 0;
  color: #657272;
  font-size: 16px;
  line-height: 1.8;
}
.support-static__item a { color: var(--site-brand); }

@media (max-width: 560px) {
  header .logo h1, header .logo .site-logo { font-size: 18px; }
  .footer .item_group { grid-template-columns: 1fr; }
  .footer .link_group { grid-template-columns: 1fr; gap: 0; }
  #gotop { right: 16px; bottom: 16px; }
  .news-section { padding: 68px 20px 60px; }
  .news-title { font-size: 26px; }
  .news-desc { margin-bottom: 28px; font-size: 15px; }
  .news-item { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .news-link { white-space: normal; }
  .support-static { padding: 58px 20px 68px; }
  .support-static__item h2 { font-size: 18px; }
}
