/* 语言切换器样式 */
.header-menu .header-nav-menu {
  display: flex;
  align-items: center;
  gap: 25px;
}

.header-menu .header-nav-menu .nav-menu-1 {
  display: flex;
  align-items: center;
  gap: 25px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-menu .header-nav-menu .lang-switcher {
  width: 168px;
}

.header-menu .header-nav-menu .lang-switcher .switcher-track {
  position: relative;
  display: flex;
  border-radius: 18px;
  background: #edf1f5;
}

.header-menu .header-nav-menu .lang-switcher .switcher-track .switcher-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 88px;
  height: 37px;
  border-radius: 17px;
  background: #ffffff;
  transition: all 0.3s ease;
  z-index: 1;
}

.header-menu .header-nav-menu .lang-switcher .switcher-track .switcher-option {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 88px;
  height: 37px;
  border-radius: 17px;
  border: none;
  background: transparent;
  outline: none;
  z-index: 2;
  cursor: pointer;
  margin-left: -8px;
}

.header-menu .header-nav-menu .lang-switcher .switcher-track .switcher-option:first-of-type {
  margin-left: 0;
}

.header-menu .header-nav-menu .lang-switcher .switcher-track .switcher-option.active {
  border: 1px solid #d5dfe9;
}

.header-menu .header-nav-menu .lang-switcher .switcher-track .switcher-option:hover:not(.active) .text {
  color: #303c42;
}

.header-menu .header-nav-menu .lang-switcher .switcher-track .switcher-option .text {
  font-size: 18px;
  font-weight: 500;
  color: #303c42;
}

/* 中文状态 - 滑块在左边 */
.header-menu .header-nav-menu .lang-switcher .switcher-track[data-active="zh-cn"] .switcher-slider {
  left: 0;
}

/* 英文状态 - 滑块在右边 */
.header-menu .header-nav-menu .lang-switcher .switcher-track[data-active="en"] .switcher-slider {
  left: calc(50% - 3px);
}

/* Banner样式 */
.wh_search_input.wh_main_page_search {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: url(../images/homepage-banner.png) center no-repeat;
  background-size: cover;
  min-height: 26vw;
  padding: 4.8vw 49vw 4.8vw 14vw;
}

.wh_search_input.wh_main_page_search #ug-editor-name {
  font-size: 40px !important;
  font-weight: 500 !important;
  font-family: 'Manrope','SourceHanSansCN';
  color: #101f3a !important;
  line-height: 73px !important;
  margin: 0 !important;
  margin-bottom: 12px !important;
  text-align: left !important;
}

.wh_search_input.wh_main_page_search #date {
  display: none;
}

.wh_search_input.wh_main_page_search form#searchForm {
  margin: 0;
  width: 31vw;
}

.wh_search_input.wh_main_page_search form#searchForm div {
  width: 100%;
  height: 56px;
  background-color: #fff;
  border: 1px solid #d5dfe9;
  border-radius: 33px;
 /* margin: 30px 0 0 !important; */
  display: flex;
  align-items: center;
  overflow: hidden;
  justify-content: space-between;
  padding-right: 2px;
}

.wh_search_input.wh_main_page_search form#searchForm div input.wh_search_textfield {
  width: 100%;
  padding-left: 9%;
  border: none;
  line-height: 50px;
  font-size: 18px;
  outline: none;
  background-size: 24px;
  background-position-x: 0.7vw;
}

.wh_search_input.wh_main_page_search form#searchForm div button.wh_search_button {
  width: 6%;
  line-height: 56px;
  font-size: 18px;
  color: #fff;
  background-color: #fff;
  border-radius: 10px;
  border: none;
  cursor: pointer;
  height: initial;
  padding: 0;
  outline: none;
  position: absolute;
  left: 0;
  text-align: right;
}

.wh_search_input.wh_main_page_search form#searchForm div button.wh_search_button span.search_input_text {
  display: none;
}

.wh_search_input.wh_main_page_search form#searchForm div button.wh_search_button::after {
  font-family: "oXygen WebHelp", serif;
  content: "f";
  display: inline-block;
  margin-top: 9px;
  font-size: 27px;
  color: #303c42;
}

/* What's New横幅样式 */
.whats-new-banner {
  z-index: 2;
  position: relative;
  margin-top: -36.5px !important;
  margin: auto 14vw;
  height: 73px;
  line-height: 73px;
  border-radius: 13px;
  box-shadow: 0px 3px 18px 1px rgba(75, 98, 161, 0.05);
  background: #ffffff;
  z-index: 100;
}

.whats-new-banner .banner-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 30px;
  gap: 23px;
}

.whats-new-banner .megaphone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: rgba(237, 241, 245, 0.5);
}

.whats-new-banner .megaphone-icon img {
  width: 80%;
}

.whats-new-banner .banner-label {
  font-family: 'Manrope','SourceHanSansCN';
  font-size: 20px;
  font-weight: 800;
  color: #101f3a;
}

.whats-new-banner .banner-separator {
  color: rgba(48, 60, 66, 0.5);
}

.whats-new-banner .banner-link {
  font-family: 'Open Sans','SourceHanSansCN', sans-serif;
  font-size: 20px;
  text-decoration-line: underline;
  color: #000000;
}

.whats-new-banner .banner-link:hover {
  color: #006ee1;
}

/* 正文内容 */
.wh_main_page .container-fluid {
  padding: 0;
  max-width: 100%;
}

.wh_main_page_toc {
  margin: 0;
  width: 100%;
  max-width: 100%;
  border: none;
}

/* Documentations部分、Featured Services部分和Effortless Management Features部分 */
.documentations-section,
.featured-services-section,
.effortless-section {
  padding: 3vw 14vw;
}

.featured-services-section {
  background: #f7f9fa;
}

.documentations-section .section-title,
.featured-services-section .section-title,
.effortless-section .section-title {
  margin-bottom: 12px;
  line-height: normal;
  text-align: center;
  font-size: 40px;
  font-weight: 500;
  font-family: 'Manrope','SourceHanSansCN';
}

.documentations-section .section-subtitle,
.featured-services-section .section-subtitle,
.effortless-section .section-subtitle {
  margin-bottom: 3vw;
  text-align: center;
  font-family: 'Open Sans','SourceHanSansCN';
  color: #303c42;
}

/* Featured Services Tab导航 */
.featured-services-section .service-tabs {
  display: flex;
  justify-content: center;
  gap: 40px;
  border-bottom: 1px solid #dbdedf;
  width: 70%;
  margin: 0 auto 3vw;
}

.featured-services-section .service-tabs .tab-button {
  position: relative;
  padding: 16px 0;
  font-size: 18px;
  font-weight: 500;
  font-family: 'Manrope','SourceHanSansCN';
  color: #303c42;
  background: none;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.featured-services-section .service-tabs .tab-button::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 2px;
  background: transparent;
  transition: all 0.3s ease;
}

.featured-services-section .service-tabs .tab-button:hover {
  color: #006ee1;
}

.featured-services-section .service-tabs .tab-button.active {
  color: #006ee1;
}

.featured-services-section .service-tabs .tab-button.active::after {
  background: #006ee1;
}

/* Tab内容容器 */
.featured-services-section .tab-content-container {
  position: relative;
}

.featured-services-section .tab-content {
  display: none;
}

.featured-services-section .tab-content.active {
  display: block;
}

.documentations-section .cards-container,
.featured-services-section .cards-container,
.effortless-section .cards-container {
  gap: 40px;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.documentations-section .cards-container .card,
.featured-services-section .cards-container .card,
.effortless-section .cards-container .card {
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 33px 33px;
  border: 1px solid #d5dfe9;
  border-radius: 20px;
}

.effortless-section .cards-container .card {
    justify-content: center;
    border:none;
    box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease;
}

.documentations-section .cards-container .card:hover,
.featured-services-section .cards-container .card:hover {
  border: 1px solid #006ee1;
}

.effortless-section .cards-container .card:hover {
   box-shadow: 0 4px 16px 0 rgba(0, 0, 0, 0.12); 
}

.documentations-section .cards-container .card:hover .card-icon,
.featured-services-section .cards-container .card:hover .card-icon,
.effortless-section .cards-container .card:hover .card-icon {
  background: #006ee1;
}

.documentations-section .cards-container .card:hover .card-icon svg path,
.featured-services-section .cards-container .card:hover .card-icon svg path,
.effortless-section .cards-container .card:hover .card-icon svg path {
  fill: #ffffff;
}

.documentations-section .cards-container .card .card-icon,
.featured-services-section .cards-container .card .card-icon,
.effortless-section .cards-container .card .card-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  width: 53px;
  height: 53px;
  border-radius: 50%;
  background: rgba(237, 241, 245, 0.5);
}

.documentations-section .cards-container .card .card-icon svg,
.featured-services-section .cards-container .card .card-icon svg,
.effortless-section .cards-container .card .card-icon svg {
  width: 100%;
  height: 100%;
}

.documentations-section .cards-container .card .card-title,
.featured-services-section .cards-container .card .card-title,
.effortless-section .cards-container .card .card-title {
  margin-bottom: 16px;
  font-size: 22px;
  font-weight: 500;
  font-family: 'Manrope','SourceHanSansCN';
}

.documentations-section .cards-container .card .card-description,
.featured-services-section .cards-container .card .card-description,
.effortless-section .cards-container .card .card-description {
  margin-bottom: 33px;
  font-family: 'Open Sans','SourceHanSansCN';
  color: #303c42;
}

.effortless-section .cards-container .card .card-description {
  margin-bottom: 0;
}


.documentations-section .cards-container .card .card-arrow,
.featured-services-section .cards-container .card .card-arrow,
.effortless-section .cards-container .card .card-arrow {
  position: absolute;
  bottom: 24px;
  right: 24px;
  color: #707c87;
  font-size: 20px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.documentations-section .cards-container .card:hover .card-arrow,
.featured-services-section .cards-container .card:hover .card-arrow,
.effortless-section .cards-container .card:hover .card-arrow {
  color: #006ee1;
  transform: translateX(4px);
}

.documentations-section .cards-container .card .learn-more-link,
.featured-services-section .cards-container .card .learn-more-link,
.effortless-section .cards-container .card .learn-more-link {
  display: inline-flex;
  overflow: hidden;
  position: relative;
  align-items: center;
  gap: 8px;
  margin-top: auto;
  color: #101f3a;
  text-decoration: none;
  font-size: 16px;
  font-family: 'Manrope','SourceHanSansCN';
}

.effortless-section .cards-container .card .learn-more-link{
  margin-top:10px;
}

.documentations-section .cards-container .card .learn-more-link .link-text,
.featured-services-section .cards-container .card .learn-more-link .link-text,
.effortless-section .cards-container .card .learn-more-link .link-text {
  display: inline-block;
  max-width: 0;
  overflow: hidden;
  white-space: nowrap;
  transition: max-width 0.4s ease;
  font-size: 16px;
  color: #006ee1;
}

.documentations-section .cards-container .card .learn-more-link .link-arrow,
.featured-services-section .cards-container .card .learn-more-link .link-arrow,
.effortless-section .cards-container .card .learn-more-link .link-arrow {
  display: inline-block;
  transition: transform 0.3s ease;
}

.documentations-section .cards-container .card:hover .learn-more-link,
.featured-services-section .cards-container .card:hover .learn-more-link,
.effortless-section .cards-container .card:hover .learn-more-link {
  color: #006ee1;
}

.documentations-section .cards-container .card:hover .learn-more-link .link-text,
.featured-services-section .cards-container .card:hover .learn-more-link .link-text,
.effortless-section .cards-container .card:hover .learn-more-link .link-text {
  max-width: 100px;
  margin-right: 4px;
}

.documentations-section .cards-container .card:hover .learn-more-link .link-arrow,
.featured-services-section .cards-container .card:hover .learn-more-link .link-arrow,
.effortless-section .cards-container .card:hover .learn-more-link .link-arrow {
  transform: translateX(4px);
}

/* See More Features按钮 */
.effortless-section .see-more-container {
  display: flex;
  justify-content: center;
  margin-top: 3vw;
}

.effortless-section .see-more-button {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 32px;
  font-size: 18px;
  font-family: 'Manrope','SourceHanSansCN';
  color: #ffffff;
  background: #006ee1;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline: none;
}

.effortless-section .see-more-button .button-arrow {
  transition: transform 0.3s ease;
}

.effortless-section .see-more-button.collapsed .button-arrow {
  transform: rotate(180deg);
}

/* More Resources */
.document-site {
  margin: 2vw 14vw 5vw;
}

.document-site h2 {
  font-size: 40px;
  line-height: 1.33;
  margin-bottom: 3vw;
  text-align: center;
  font-family: 'Manrope','SourceHanSansCN';
}

.document-site .box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.document-site .box .item {
  padding: 20px 22px;
  text-align: center;
}
.document-site .box .document-vertical {
  width: 1px;
  height: 158px;
  background: #dcdcdc;
}

.document-site a:hover {
  text-decoration: none;
}
.document-site a:hover .title {
  color: #006ee1;
}

.document-site .item:last-child {
  border: none;
}

.document-site .box .item .img {
  width: 80px;
}

.document-site .item .title {
  font-family: 'Manrope','SourceHanSansCN';
  font-weight: 500;
  font-size: 20px;
  color: #101f3a;
  line-height: 40px;
}

.document-site .item .content {
  font-family: 'Open Sans','SourceHanSansCN';
  font-weight: 400;
  font-size: 16px;
  color: #303c42;
  line-height: 30px;
}

.document-site .item:nth-child(1) .img img {
  width: 51px;
}
.document-site .item:nth-child(2) .img img {
  width: 69px;
}
.document-site .item:nth-child(3) .img img {
  width: 78px;
}

/* 移动端适配 */
@media only screen and (max-width: 767px) {
  .header-menu .header-nav-menu {
    gap: 8px;
  }

  .header-menu .header-nav-menu .lang-switcher {
    width: 70px;
  }

  .header-menu .header-nav-menu .lang-switcher .switcher-track {
    width: 100%;
    justify-content: center;
    padding: 2px;
    background: transparent;
  }

  .header-menu .header-nav-menu .lang-switcher .switcher-track .switcher-slider {
    display: none;
  }

  .header-menu .header-nav-menu .lang-switcher .switcher-track .switcher-option {
    width: auto;
    margin-left: 0;
    padding: 5px 10px;
    display: none;
  }

  .header-menu .header-nav-menu .lang-switcher .switcher-track .switcher-option.active {
    display: flex;
    background: #edf1f5;
    border-radius: 17px;
  }

  .header-menu .header-nav-menu .lang-switcher .switcher-track .switcher-option .text {
    font-size: 11px;
  }

  /* Banner移动端样式 */
  .wh_search_input.wh_main_page_search {
    min-height: auto;
    padding: 40px 20px;
  }

  .wh_search_input.wh_main_page_search #ug-editor-name {
    font-size: 28px !important;
    line-height: 40px !important;
    margin-bottom: 20px !important;
  }

  .wh_search_input.wh_main_page_search form#searchForm {
    width: 100%;
  }

  .wh_search_input.wh_main_page_search form#searchForm div {
    height: 48px;
    margin: 20px 0 0 !important;
  }

  .wh_search_input.wh_main_page_search form#searchForm div input.wh_search_textfield {
    padding-left: 50px;
    font-size: 14px;
    line-height: 46px;
  }

  .wh_search_input.wh_main_page_search form#searchForm div button.wh_search_button {
    width: 40px;
    line-height: 48px;
  }

  .wh_search_input.wh_main_page_search form#searchForm div button.wh_search_button::after {
    font-size: 24px;
    margin-top: 6px;
  }

  /* What's New横幅移动端样式 */
  .whats-new-banner {
    margin-top: -25px !important;
    margin: auto 20px;
    padding: 12px 16px;
    height: auto;
    line-height: normal;
  }

  .whats-new-banner .banner-content {
    padding-left: 0;
    gap: 8px;
    font-size: 12px;
  }

  .whats-new-banner .megaphone-icon {
    width: 36px;
    height: 36px;
  }

  .whats-new-banner .banner-label {
    font-size: 12px;
  }

  .whats-new-banner .banner-separator {
    font-size: 12px;
  }

  .whats-new-banner .banner-link {
    font-size: 12px;
  }

  /* Preparation、Featured Services和Effortless移动端样式 */
  .documentations-section,
  .featured-services-section,
  .effortless-section {
    margin: 0;
    padding: 50px 25px;
  }

  .documentations-section .section-title,
  .featured-services-section .section-title,
  .effortless-section .section-title {
    font-size: 28px;
    margin-bottom: 8px;
  }

  .documentations-section .section-subtitle,
  .featured-services-section .section-subtitle,
  .effortless-section .section-subtitle {
    font-size: 14px;
    margin-bottom: 24px;
  }

  /* Featured Services Tab导航移动端 */
  .featured-services-section .service-tabs {
    width: 100%;
    margin-bottom: 24px;
    gap: 0;
    border-bottom: none;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none; /* IE and Edge */
  }

  .featured-services-section .service-tabs::-webkit-scrollbar {
    display: none; /* Chrome, Safari and Opera */
  }

  .featured-services-section .service-tabs .tab-button {
    flex-shrink: 0;
    padding: 12px 16px;
    font-size: 14px;
    white-space: nowrap;
    border-bottom: 2px solid transparent;
  }

  .featured-services-section .service-tabs .tab-button::after {
    display: none;
  }

  .featured-services-section .service-tabs .tab-button.active {
    background: transparent;
    border-bottom-color: #006ee1;
  }

  .documentations-section .cards-container,
  .featured-services-section .cards-container,
  .effortless-section .cards-container {
    flex-direction: column;
    gap: 20px;
  }

  .documentations-section .cards-container .card,
  .featured-services-section .cards-container .card,
  .effortless-section .cards-container .card {
    padding: 24px 20px 30px;
  }

  .documentations-section .cards-container .card .card-icon,
  .featured-services-section .cards-container .card .card-icon,
  .effortless-section .cards-container .card .card-icon {
    width: 45px;
    height: 45px;
    margin-bottom: 16px;
  }

  .documentations-section .cards-container .card .card-title,
  .featured-services-section .cards-container .card .card-title,
  .effortless-section .cards-container .card .card-title {
    font-size: 18px;
    margin-bottom: 12px;
  }

  .documentations-section .cards-container .card .card-description,
  .featured-services-section .cards-container .card .card-description,
  .effortless-section .cards-container .card .card-description {
    font-size: 14px;
    margin-bottom: 16px;
  }

  .documentations-section .cards-container .card .learn-more-link,
  .featured-services-section .cards-container .card .learn-more-link,
  .effortless-section .cards-container .card .learn-more-link {
    font-size: 14px;
  }

  .documentations-section .cards-container .card .learn-more-link .link-text,
  .featured-services-section .cards-container .card .learn-more-link .link-text,
  .effortless-section .cards-container .card .learn-more-link .link-text {
    max-width: 100px;
    margin-right: 4px;
  }

  /* See More Features按钮移动端样式 */
  .effortless-section .see-more-container {
    margin-top: 24px;
  }

  .effortless-section .see-more-button {
    padding: 12px 24px;
    font-size: 16px;
  }

  /* More Resources 移动端样式 */
  .document-site {
    margin: 0;
    padding: 50px 25px;
  }

  .document-site h2 {
    font-size: 28px;
    margin-bottom: 24px;
  }

  .document-site .box {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .document-site .box .item {
    padding: 24px 20px;
    border-radius: 16px;
    border: 1px solid #d5dfe9;
  }

  .document-site .box .item .img {
    width: 60px;
  }

  .document-site .box .item:nth-child(1) .img img {
    width: 38px;
  }

  .document-site .box .item:nth-child(2) .img img {
    width: 52px;
  }

  .document-site .box .item:nth-child(3) .img img {
    width: 59px;
  }

  .document-site .box .item .title {
    font-size: 18px;
    line-height: 32px;
  }

  .document-site .box .item .content {
    font-size: 14px;
    line-height: 24px;
  }

  .document-site .box .document-vertical {
    display: none;
  }
}
