/* variables and mixins */
/* Approximate Keystone red */
/* Footer bg */
/* Placeholder for gradient hero */
/* Off-white areas */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family:
    -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, "Microsoft YaHei", sans-serif;
  color: #333;
  line-height: 1.6;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s;
}
ul,
ol {
  list-style: none;
}
/* Common Section Styles */
.section {
  padding-top: 80px;
  padding-bottom: 80px;
}
.title-wrap {
  margin-bottom: 30px;
}
.title-wrap .en-title {
  display: block;
  font-size: 18px;
  color: #a1a1a1;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
  line-height: 1.3;
}
.title-wrap .title-line {
  width: 40px;
  height: 3px;
  background-color: #a92433;
  margin: 10px 0 15px;
}
.title-wrap .cn-title {
  font-size: 32px;
  color: #111;
  font-weight: bold;
}
.more-link {
  display: inline-flex;
  align-items: center;
  font-size: 14px;
  color: #333;
  text-decoration: none;
}
.more-link::after {
  content: "";
  margin-left: 10px;
  width: 24px;
  height: 24px;
  background: url("../images/common/arrow-right.png") center / contain no-repeat;
  transition: transform 0.3s;
}
.more-link:hover::after {
  transform: translateX(5px);
}
.icon-arrow-right {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border: 1px solid #a92433;
  border-radius: 50%;
  color: #a92433;
  font-style: normal;
}
.icon-arrow-right::before {
  content: "→";
}
/* Common Tab Button */
.tab-btn {
  height: 45px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 22px;
  font-size: 15px;
  color: #333;
  cursor: pointer;
  transition: all 0.3s;
  text-decoration: none;
  background: transparent;
}
.tab-btn.active {
  background-color: #a92433;
  color: #fff;
  border-color: #a92433;
}
.tab-btn:hover:not(.active) {
  border-color: #a92433;
  color: #a92433;
}
/* Responsive - Tablet */
@media (max-width: 1280px) {
  .tab-btn {
    height: 42px;
    padding: 0 20px;
    font-size: 14px;
  }
}
/* Responsive - Mobile */
@media (max-width: 768px) {
  .tab-btn {
    height: 40px;
    padding: 0 18px;
    font-size: 14px;
  }
}
/* Inner Hero Section */
.inner-hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  background-color: #333;
  overflow: hidden;
}
.inner-hero .inner-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.inner-hero .inner-hero-content {
  position: relative;
  z-index: 1;
  padding-left: 20px;
  border-left: 4px solid #a92433;
}
.inner-hero .inner-hero-content .cn-title {
  color: #fff;
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 10px;
  letter-spacing: 2px;
  line-height: 1;
}
@media (max-width: 768px) {
  .inner-hero .inner-hero-content .cn-title {
    font-size: 26px;
  }
}
.inner-hero .inner-hero-content .en-title {
  color: rgba(255, 255, 255, 0.8);
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
}
/* Breadcrumbs */
.breadcrumbs {
  padding-top: 20px;
  padding-bottom: 20px;
  font-size: 14px;
  color: #666;
  border-bottom: 1px solid #dcdcdc;
}
.breadcrumbs ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
}
.breadcrumbs li {
  display: inline-flex;
  align-items: center;
}
.breadcrumbs li::after {
  content: ">";
  margin: 0 8px;
  color: #999;
}
.breadcrumbs li:last-child::after {
  display: none;
}
.breadcrumbs a {
  color: #333;
  text-decoration: none;
}
.breadcrumbs a:hover {
  color: #a92433;
}
.breadcrumbs [aria-current="page"],
.breadcrumbs .current {
  color: #a92433;
}
/* Container */
.ks-container {
  width: 100%;
  max-width: 1750px;
  padding-right: 90px;
  padding-left: 90px;
  margin-right: auto;
  margin-left: auto;
}
/* Header */
.ks-header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 30px 0;
  transition:
    background-color 0.3s ease,
    box-shadow 0.3s ease;
  /* Full-width mega menu */
  /* Inner page theme override and scrolled state */
}
.ks-header .ks-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ks-header .menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 101;
  background: none;
  border: none;
  padding: 0;
}
.ks-header .menu-toggle span {
  display: block;
  width: 100%;
  height: 3px;
  background-color: #fff;
  border-radius: 3px;
  transition: all 0.3s;
}
.ks-header .menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.ks-header .menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.ks-header .menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.ks-header .logo a {
  display: flex;
  align-items: center;
}
.ks-header .logo img {
  height: 24px;
  width: auto;
}
.ks-header .logo .logo-color {
  display: none;
}
.ks-header .logo .logo-white {
  display: block;
}
.ks-header .nav .nav-root {
  display: flex;
  gap: 40px;
}
.ks-header .nav .nav-root .nav-item {
  width: 100px;
  text-align: center;
  list-style: none;
}
.ks-header .nav .nav-root .nav-item .nav-item-head {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.ks-header .nav .nav-root .nav-item .nav-item-head .nav-top-link {
  color: #fff;
  font-size: 16px;
}
.ks-header .nav .nav-root .nav-item .nav-item-head .nav-top-link:hover {
  color: #a92433;
}
.ks-header .nav .nav-root .nav-item .nav-mobile-row {
  display: none;
}
.ks-header .nav .nav-root .nav-item .nav-submenu {
  display: none;
}
.ks-header .nav-dropdown {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  padding-top: 0;
  margin-top: -1px;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition:
    opacity 0.22s ease,
    visibility 0.22s ease,
    transform 0.22s ease;
  z-index: 99;
  box-shadow: inset 0px 10px 10px rgba(0, 0, 0, 0.15);
  background-color: rgba(255, 255, 255, 0.9);
}
@media (min-width: 769px) {
  .ks-header:hover {
    background-color: #fff;
  }
  .ks-header:hover .logo .logo-white {
    display: none;
  }
  .ks-header:hover .logo .logo-color {
    display: block;
  }
  .ks-header:hover .nav .nav-root .nav-item .nav-item-head .nav-top-link {
    color: #333;
  }
  .ks-header:hover .nav .nav-root .nav-item .nav-item-head .nav-top-link:hover {
    color: #a92433;
  }
  .ks-header:hover .nav-dropdown {
    pointer-events: auto;
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
}
.ks-header .nav-dropdown-inner {
  position: relative;
  z-index: 1;
  padding-top: 30px;
  padding-bottom: 30px;
  display: flex;
  justify-content: flex-end;
}
.ks-header .nav-dropdown-cols {
  display: flex;
  justify-content: flex-end;
  align-items: flex-start;
  gap: 40px;
}
.ks-header .nav-dropdown-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex: 0 0 auto;
  min-width: 0;
  width: 100px;
}
.ks-header .nav-dropdown-col a {
  color: #222;
  font-size: 15px;
  line-height: 1.35;
  white-space: nowrap;
}
.ks-header .nav-dropdown-col a:hover {
  color: #a92433;
}
.ks-header .nav-dropdown-col--empty {
  min-height: 1px;
  /* reserve width similar to top-level label for column alignment */
  width: 4em;
  flex-shrink: 0;
}
.page-inner .ks-header,
.ks-header.is-scrolled {
  background: #fff;
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15);
}
.page-inner .ks-header {
  position: sticky;
}
.ks-header.is-scrolled {
  position: fixed;
  animation: slideDown 0.3s ease-out;
}
@keyframes slideDown {
  from {
    transform: translateY(-100%);
  }
  to {
    transform: translateY(0);
  }
}
.page-inner .ks-header,
.ks-header.is-scrolled {
  box-shadow: 0px 10px 10px rgba(0, 0, 0, 0.15);
}
.page-inner .ks-header .logo,
.ks-header.is-scrolled .logo {
  display: flex;
  align-items: center;
}
.page-inner .ks-header .logo .logo-white,
.ks-header.is-scrolled .logo .logo-white {
  display: none;
}
.page-inner .ks-header .logo .logo-color,
.ks-header.is-scrolled .logo .logo-color {
  display: block;
}
.page-inner .ks-header .nav .nav-root .nav-item .nav-item-head .nav-top-link,
.ks-header.is-scrolled .nav .nav-root .nav-item .nav-item-head .nav-top-link {
  color: #333;
}
.page-inner
  .ks-header
  .nav
  .nav-root
  .nav-item
  .nav-item-head
  .nav-top-link:hover,
.ks-header.is-scrolled
  .nav
  .nav-root
  .nav-item
  .nav-item-head
  .nav-top-link:hover {
  color: #a92433;
}
.page-inner .ks-header .menu-toggle:not(.active) span,
.ks-header.is-scrolled .menu-toggle:not(.active) span {
  background-color: #333;
}
/* Footer */
.ks-footer {
  background: #343434;
  color: #fff;
  padding-top: 30px;
}
.ks-footer .footer-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 20px;
}
.ks-footer .footer-top .logo-box {
  display: flex;
  align-items: center;
}
.ks-footer .footer-top .logo-box .logo img {
  max-height: 60px;
  width: auto;
}
.ks-footer .footer-top .logo-box .qrcode {
  display: none;
}
.ks-footer .footer-top .links-box {
  display: flex;
  gap: 60px;
}
.ks-footer .footer-top .links-box .link-col {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ks-footer .footer-top .links-box .link-col h4 {
  font-size: 16px;
  margin-bottom: 20px;
  font-weight: 500;
}
.ks-footer .footer-top .links-box .link-col h4 a {
  font-size: 16px;
}
.ks-footer .footer-top .links-box .link-col a {
  font-size: 14px;
  margin-bottom: 12px;
}
.ks-footer .footer-top .links-box .link-col a:hover {
  text-decoration: underline;
}
.ks-footer .footer-bottom {
  border-top: 1px solid #7d7d7d;
  padding: 20px 0;
  text-align: center;
  color: #fff;
  font-size: 14px;
  margin: 0 20px;
}
/* Responsive - Tablet */
@media (max-width: 1280px) {
  .section {
    padding-top: 60px;
    padding-bottom: 60px;
  }
  .ks-container {
    padding-left: 60px;
    padding-right: 60px;
  }
  .title-wrap .en-title {
    font-size: 16px;
  }
  .title-wrap .cn-title {
    font-size: 28px;
  }
  .ks-header .nav .nav-root {
    gap: 20px;
  }
  .ks-header .nav-dropdown-cols {
    gap: 20px;
  }
  .ks-footer .footer-top .logo-box .logo img {
    max-height: 60px;
  }
  .ks-footer .links-box {
    gap: 40px;
  }
}
/* Responsive - Mobile */
@media (max-width: 768px) {
  .section {
    padding-top: 30px;
    padding-bottom: 30px;
  }
  .ks-container {
    padding-left: 20px;
    padding-right: 20px;
  }
  .title-wrap {
    margin-bottom: 20px;
  }
  .title-wrap .en-title {
    font-size: 14px;
    letter-spacing: 1px;
  }
  .title-wrap .title-line {
    width: 30px;
    height: 2px;
    margin: 8px 0 12px;
  }
  .title-wrap .cn-title {
    font-size: 22px;
  }
  .more-link {
    font-size: 13px;
  }
  .ks-header .nav-dropdown {
    display: none;
  }
  .ks-header .menu-toggle {
    display: flex;
  }
  .ks-header .logo img {
    height: 20px;
  }
  .ks-header .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(43, 53, 83, 0.98);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 100;
  }
  .ks-header .nav.active {
    opacity: 1;
    visibility: visible;
  }
  .ks-header .nav .nav-root {
    flex-direction: column;
    align-items: center;
    gap: 24px;
    width: 100%;
    max-width: 320px;
    padding: 0 20px;
    box-sizing: border-box;
  }
  .ks-header .nav .nav-root .nav-item {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  .ks-header .nav .nav-root .nav-item .nav-item-head {
    width: 100%;
  }
  .ks-header .nav .nav-root .nav-item .nav-item-head .nav-top-link {
    display: none;
  }
  .ks-header .nav .nav-root .nav-item .nav-mobile-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    margin: 0;
    padding: 14px 16px;
    border: none;
    background: transparent;
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    font-family: inherit;
    line-height: 1.3;
    text-align: center;
    box-sizing: border-box;
  }
  .ks-header .nav .nav-root .nav-item .nav-mobile-row .nav-mobile-row-label {
    pointer-events: none;
  }
  .ks-header .nav .nav-root .nav-item .nav-mobile-row::after {
    content: "";
    display: block;
    flex-shrink: 0;
    width: 8px;
    height: 8px;
    border-right: 2px solid rgba(255, 255, 255, 0.85);
    border-bottom: 2px solid rgba(255, 255, 255, 0.85);
    transform: rotate(45deg);
    margin-top: -4px;
    transition: transform 0.2s ease;
  }
  .ks-header .nav .nav-root .nav-item.is-submenu-open .nav-mobile-row::after {
    transform: rotate(225deg);
    margin-top: 2px;
  }
  .ks-header .nav .nav-root .nav-item .nav-submenu {
    display: none;
    list-style: none;
    margin: 12px 0 0;
    padding: 0;
    gap: 14px;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }
  .ks-header .nav .nav-root .nav-item .nav-submenu li {
    width: 100%;
    text-align: center;
  }
  .ks-header .nav .nav-root .nav-item .nav-submenu a {
    display: inline-block;
    font-size: 15px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.82);
  }
  .ks-header .nav .nav-root .nav-item .nav-submenu a:hover {
    color: #a92433;
  }
  .ks-header .nav .nav-root .nav-item.is-submenu-open .nav-submenu {
    display: flex;
  }
  .ks-footer .footer-top {
    gap: 0;
  }
  .ks-footer .footer-top .logo-box {
    flex: 1.4;
    justify-content: center;
    border-right: 1px solid #7d7d7d;
    display: flex;
    flex-direction: column;
  }
  .ks-footer .footer-top .logo-box .logo img {
    max-height: 40px;
  }
  .ks-footer .footer-top .logo-box .qrcode {
    display: block;
    margin-top: 8px;
    text-align: center;
  }
  .ks-footer .footer-top .logo-box .qrcode span {
    display: block;
    font-size: 12px;
  }
  .ks-footer .footer-top .logo-box .qrcode img {
    max-width: 80px;
  }
  .ks-footer .footer-top .links-box {
    flex: 1;
    flex-wrap: wrap;
    gap: 10px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .ks-footer .footer-top .links-box .link-col {
    align-items: flex-start;
  }
  .ks-footer .footer-top .links-box .link-col h4 {
    font-size: 14px;
    margin-bottom: 0;
  }
  .ks-footer .footer-top .links-box .link-col h4 a {
    font-size: 14px;
    display: inline;
  }
  .ks-footer .footer-top .links-box .link-col a {
    font-size: 12px;
    margin-bottom: 8px;
    display: none;
  }
  .ks-footer .footer-bottom {
    padding: 15px 0;
    font-size: 12px;
  }
}
/* Back to Top */
.back-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 44px;
  height: 44px;
  background-color: #b3b3b3;
  color: #fff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 90;
}
.back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background-color: #9a9a9a;
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}
.back-to-top svg {
  width: 20px;
  height: 20px;
}
@media (max-width: 768px) {
  .back-to-top {
    bottom: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
  }
  .back-to-top svg {
    width: 18px;
    height: 18px;
  }
}
