/* 文本省略-2行 */
.text-ellipsis-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.text-ellipsis-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

svg {
  width: 1em;
  height: 1em;
  font-size: inherit;
}

svg image {
  width: 100%;
  height: 100%;
}

/* 按钮动效 */
.transform-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 120px;
  height: 42px;
  border: 2px solid #0F37A5;
  border-radius: 0.06rem;
  background-color: transparent;
  color: #0F37A5;
  font-weight: bold;
  cursor: pointer;
  transition: 0.4s;
}

@media (max-width: 768px) {
  .transform-btn {
    width: 100px;
    height: 32px;
  }
}

.transform-btn svg {
  fill: currentColor;
}

.transform-btn:hover {
  background-color: #0F37A5;
  color: white;
}

.transform-btn .span-mother {
  display: flex;
  align-items: center;
  overflow: hidden;
}

.transform-btn:hover .span-mother {
  position: absolute;
}

.transform-btn:hover .span-mother span {
  transform: translateY(1.3em);
}

.transform-btn .span-mother span:nth-child(1) {
  transition: 0.2s;
}

.transform-btn .span-mother span:nth-child(2) {
  transition: 0.4s;
}

.transform-btn .span-mother span:nth-child(3) {
  transition: 0.4s;
}

.transform-btn .span-mother span:nth-child(4) {
  transition: 0.5s;
}

.transform-btn .span-mother span:nth-child(5) {
  transition: 0.6s;
}

.transform-btn .span-mother span:nth-child(6) {
  transition: 0.7s;
}

.transform-btn .span-mother2 {
  display: flex;
  position: absolute;
  align-items: center;
  overflow: hidden;
}

.transform-btn .span-mother2 span {
  transform: translateY(-1.3em);
}

.transform-btn:hover .span-mother2 span {
  transform: translateY(0);
}

button .span-mother2 span {
  transition: 0.2s;
}

button .span-mother2 span:nth-child(2) {
  transition: 0.4s;
}

button .span-mother2 span:nth-child(3) {
  transition: 0.4s;
}

button .span-mother2 span:nth-child(4) {
  transition: 0.5s;
}

button .span-mother2 span:nth-child(5) {
  transition: 0.6s;
}

button .span-mother2 span:nth-child(6) {
  transition: 0.7s;
}


.container {
  min-width: 100%;
  padding: 0 2.6rem;
}

@media (max-width: 1400px) {
  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 5vw;
  }
}

.navbar-nav {
    white-space: nowrap;
}

/* 导航栏 */
.navbar,
.mobile-nav {
  --navbar-bg-color: rgba(1, 11, 39, .9);
  --navbar-collapse-bg-color: rgba(17, 34, 82, 0.9);
  --navbar-nav-link-color: #ccd1dd;
  display: flex;
  align-items: center;
  padding: 0;
  background-color: var(--navbar-bg-color);
}

.navbar-collapse {
  justify-content: space-between;
}

.mobile-nav {
  display: none;
  min-height: 60px;
  max-height: 60px;
}

.mobile-nav img {
  height: 30px;
}

.mobile-nav .container {
  justify-content: space-between;
  height: 60px;
}

.navbar-brand {
  margin-right: 0.5rem;
  padding: 0;
}

.burger {
  padding: 3em 1.5em;
  font-size: var(--font-size);
  cursor: pointer;
  /* touch area size */
}

.burger.showHitArea {
  border: 1px solid olive;
}

.burger>div {
  width: 4em;
  height: 0.5em;
  border-radius: var(--borderRadius);
  background: var(--color1);
}

.burger>div::before,
.burger>div::after {
  display: block;
  position: absolute;
  width: 4em;
  height: 0.5em;
  border-radius: var(--borderRadius);
  background: var(--color1);
  content: "";
  transition: font-size 0s;
}

.burger>div::before {
  margin-top: -1.5em;
}

.burger>div::after {
  margin-top: 1.5em;
}

.burger2>div {
  transition: background 0.4s, font-size 0s;
}

.burger2>div::before,
.burger2>div::after {
  transform-origin: center center;
  transition: font-size 0s;
}

.burger2.toggled>div::before {
  animation: burg2top 0.4s linear forwards;
}

.burger2.toggled>div {
  background: transparent;
}

.burger2.toggled>div::after {
  animation: burg2bottom 0.4s linear forwards;
}

.burger2.unToggled>div::before {
  animation: burg2topReset 0.4s linear forwards;
}

.burger2.unToggled>div {
  background: var(--color1);
}

.burger2.unToggled>div::after {
  animation: burg2bottomReset 0.4s linear forwards;
}

/* Burger2 keyframe animations */
@keyframes burg2top {
  0% {}

  20% {
    margin-top: 0em;
    transform: rotate(0deg);
  }

  60% {
    margin-top: 0em;
    transform: rotate(55deg);
  }

  100% {
    margin-top: 0em;
    transform: rotate(45deg);
  }
}

@keyframes burg2bottom {
  0% {}

  20% {
    margin-top: 0em;
    transform: rotate(0deg);
  }

  60% {
    margin-top: 0em;
    transform: rotate(-55deg);
  }

  100% {
    margin-top: 0em;
    transform: rotate(-45deg);
  }
}

@keyframes burg2topReset {
  0% {
    margin-top: 0em;
    transform: rotate(45deg);
  }

  20% {
    transform: rotate(0deg);
  }

  60% {
    margin-top: 1.7em;
    transform: rotate(0deg);
  }

  100% {
    margin-top: 1.5em;
    transform: rotate(0deg);
  }
}

@keyframes burg2bottomReset {
  0% {
    margin-top: 0em;
    transform: rotate(-45deg);
  }

  20% {
    transform: rotate(0deg);
  }

  60% {
    margin-top: -1.7em;
    transform: rotate(0deg);
  }

  100% {
    margin-top: -1.5em;
    transform: rotate(0deg);
  }
}

.nav-link {
  position: relative;
  padding: 0 0.24rem !important;
  color: var(--navbar-nav-link-color);
  font-size: 0.16rem;
  line-height: 0.8rem;
  transition: color .4s;
}

.nav-link::before {
  position: absolute;
  top: 0;
  left: 50%;
  width: 0.1rem;
  height: 0.02rem;
  transform: translateX(-50%);
  background-color: transparent;
  content: '';
  opacity: 0;
  transition: .4s;
}

.nav-link:hover {
  color: #fff;
  font-weight: 700;
  font-weight: bold;
}

.nav-link:hover::before {
    width: 100%;
    background-color: #fff;
    opacity: 1;
  }

.nav-link:focus {
  color: #fff;
  font-weight: bold;
}

.nav-item.active .nav-link {
    color: #fff;
    font-weight: bold;
  }

:is(.nav-item.active .nav-link)::before {
      width: 100%;
      background-color: #fff;
      opacity: 1;
    }


.nav-item:hover .dropdown-menu {
  display: -ms-grid !important;
  display: grid !important;
}

.dropdown-menu {
  grid-auto-rows: auto;
  grid-auto-flow: column;
  padding: 0.2rem 0.34rem;
  border-radius: 0;
  background: rgba(1, 11, 39, .9);
  -ms-grid-rows: auto 8px auto 8px auto 8px auto;
  grid-template-rows: repeat(4, auto);
  width: fit-content;
  min-width: fit-content;
  gap: 8px;
}

.dropdown-menu li {
  width: 1.5rem;
}

.dropdown-menu .dropdown-item {
  padding: 0.1rem 0;
  overflow: hidden;
  color: rgba(255, 255, 255, .6);
  font-size: 0.16rem;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: .4s ease;
}

.dropdown-menu .dropdown-item:hover {
  background-color: transparent;
  color: #fff;
}

.nav-item:hover .dropdown-menu {
  display: block;
}


.contact-info {
  font-size: 0.26rem;
}

.contact-phone {
    display: flex;
    align-items: center;
    margin-left: 0.1rem;
    gap: 0.1rem;
}

.contact-info span {
  color: #fff;
  font-size: 0.18rem;
}

@media (max-width: 1200px) {
  .nav-link {
    padding: 0 0.1rem !important;
  }
}

@media (max-width: 991.98px) {
  .navbar {
    display: none;
  }

  .mobile-nav {
    display: block;
  }

  .nav-link {
    font-size: 0.2rem;
  }

    .nav-link::before {
      display: none;
    }
}

.nav-scroller .nav {
  color: rgba(255, 255, 255, .75);
}

.nav-scroller .nav-link {
  padding-top: .75rem;
  padding-bottom: .75rem;
  color: #6c757d;
  font-size: .875rem;
}

.nav-scroller .nav-link:hover {
  color: #007bff;
}

.nav-scroller .active {
  color: #343a40;
  font-weight: 500;
}

.bg-purple {
  background-color: #6f42c1;
}

/* 面包屑导航 */

.breadcrumb {
  --bs-breadcrumb-item-padding-x: 0.08rem;
  margin-bottom: 0;
  padding: 16px 0;
}

.breadcrumb-container {
  margin-bottom: 20px;
  padding: 0;
}

.breadcrumb-container .container>.row {
  border-bottom: 1px dashed #e3e9ee;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
  color: #999;
}

.breadcrumb-item a {
  color: #999;
}

.breadcrumb-item.active {
  color: #666;
}

.breadcrumb-item svg {
  margin-right: 4px;
}

.mobile-menu-collapse {
  z-index: 3;
  position: fixed;
  top: 60px;
  right: 0;
  left: 0;
  width: 100%;
  height: 0;
  overflow: hidden;
  background: rgba(1, 11, 39, .9);
  transition: .4s ease;
}

.mobile-menu-collapse.open {
  height: calc(100vh - 60px);
}

.mobile-menu-collapse .box {
  box-sizing: border-box;
  height: 100%;
  margin: 0 20px;
  padding: 20px 0;
}

.mobile-menu-collapse .box_scroll {
  height: 100%;
  overflow-y: auto;
}

.mobile-menu-collapse .item p {
  display: flex;
  position: relative;
  align-items: center;
  justify-content: space-between;
}

.mobile-menu-collapse .item p a {
  display: block;
  flex: 1 1;
  font-size: 16px;
  line-height: 50px;
  text-decoration: none;
}

.mobile-menu-collapse .item ul {
  display: none;
  padding: 8px 12px;
  list-style: none;
}

.mobile-menu-collapse .item ul a {
  display: block;
  font-size: 14px;
  line-height: 36px;
  opacity: .8;
}

.mobile-menu-collapse .item>p i {
  display: block;
  position: relative;
  width: 22px;
  height: 1px;
  background: #999;
}

.mobile-menu-collapse .item>p span {
  display: flex;
  z-index: 2;
  position: absolute;
  right: 0;
  align-items: center;
  width: 22px;
  height: 50px;
  font-size: 0.5rem;
}

.mobile-menu-collapse .item>p i::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: rotate(90deg);
  background: #999;
  content: '';
  transition: 0.4s;
}

/* 搜索热词 */
.search-container {
  display: flex;
  align-items: center;
  background-color: #edf1f3;
  font-size: 0.2rem;
}

.search-container .container {
  padding-top: 0.22rem;
  padding-bottom: 0.22rem;
}

.search-hot-keywords-bar {
  flex-wrap: wrap;
}

.search-container .input-group {
  width: 3.2rem;
  height: 0.42rem;
}

.search-container .input-group .btn {
  width: 50px;
}



.hot-keywords-label {
  display: inline-flex;
  align-items: center;
  margin-right: 0.3rem;
  color: #333;
  font-weight: bold;
  font-size: 0.18rem;
}

.hot-keywords-label img {
  margin-bottom: 2px;
}

.keyword-link {
  margin-right: 0.2rem;
  padding: 0.02rem 0.05rem;
  color: #555;
  font-size: 0.16rem;
  text-decoration: none;
  transition: color 0.2s ease-in-out;
}

.keyword-link:hover {
  color: #007bff;
}

.search-input-group .form-control {
  min-width: 2rem;
  border-right: none;
  font-size: 0.14rem;
}

.search-input-group .form-control:focus {
  border-color: #ced4da;
  box-shadow: none;
}

.search-input-group .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: none;
  border-color: #ced4da;
  outline: none;
  background-color: #fff;
  color: #007bff;
}

.search-input-group .btn:active {
  border-color: #ced4da;
  outline: none;
}

@media (max-width: 991.98px) {

  .search-hot-keywords-bar {
    flex-direction: column;
    align-items: flex-start;
  }

  .hot-keywords {
    flex-wrap: wrap;
    margin-bottom: 10px;
  }

  .keyword-link {
    margin-bottom: 5px;
  }

  .search-input-group {
    width: 100%;
    margin-left: 0 !important;
  }
}

@media (max-width: 767.98px) {

  .hot-keywords-label {
    margin-bottom: 5px;
  }

  .hot-keywords a.keyword-link {
    font-size: 13px;
  }
  .search-input-group .input-group {
      width: 100%;
      height: 42px;
      
  }
  .search-input-group .form-control {
    font-size: 13px;
  }
}

@media (max-width: 575.98px) {

  .search-hot-keywords-bar {
    padding: 10px 15px;
  }

  .hot-keywords {
    justify-content: flex-start;
  }

  .hot-keywords-label {
    width: 100%;
    margin-bottom: 8px;
    font-size: 18px;
  }

  .keyword-link {
    margin-right: 8px;
    margin-left: 0 !important;
  }
}

/* 通用底部样式 */

footer {
  color: #333;
}

.main-footer {
  padding: 0.5rem 0;
  background-color: #eff0f2;
}

@media (max-width: 767.98px) {
  .main-footer .footer-nav-links {
    display: none;
  }
}

.footer-nav-links h5 {
  margin-bottom: 16px;
  color: #333;
  font-weight: bold;
  font-size: 16px;
}

.footer-nav-links .list-unstyled li a {
  color: #555;
  font-size: 14px;
  line-height: 1.8;
  text-decoration: none;
}

.footer-nav-links .list-unstyled li a:hover {
  color: #007bff;
  text-decoration: underline;
}

.footer-contact-info li {
  margin-bottom: 6px;
}

.footer-contact-info .fw-bold {
  margin-bottom: 0.2rem;
  color: #333;
  font-size: 14px;
}

.footer-contact-info .contact-details li small {
  display: block;
  color: #555;
  font-size: 14px;
  line-height: 1.8;
}

.qr-code-section img {
  display: inline-flex;
  width: 1rem;
  height: 1rem;
  margin-bottom: 10px!important;
  border: 1px solid #eee;
}

.qr-code-section p small {
  color: #555;
  font-size: 14px;
}

.footer-bottom {
  padding: 0.16rem 0;
  background-color: rgb(14, 56, 168);
  color: #fff;
}

.footer-bottom small {
  font-size: 14px;
}

@media (max-width: 991.98px) {
  .footer-nav-links h5 {
    margin-top: 16px;
  }

  .footer-contact-info {
    text-align: center;
  }

  .footer-contact-info .contact-details {
    display: inline-block;
    text-align: left;
  }

  .qr-code-section {
    margin-top: 0;
  }
  .qr-code-section img {
      width: 100px;
      height: 100px;
  }
}

@media (max-width: 767.98px) {

  .footer-nav-links .col-lg,
  .footer-nav-links .col-md-3 {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
  }

  .footer-nav-links .col-lg:last-child,
  .footer-nav-links .col-md-3:last-child {
    margin-bottom: 0;
  }

  .footer-contact-info .row>div {
    text-align: center;
  }

  .footer-contact-info .contact-details {
    margin-bottom: 0.2rem;
  }
}

/* 分液器样式 */
.pagination {
  --bs-pagination-padding-x: 0.12rem;
  --bs-pagination-padding-y: 0.06rem;
  --bs-pagination-font-size: 0.16rem;
  --bs-pagination-focus-box-shadow: 0 0 0 0.04rem rgba(13, 110, 253, 0.25);
  padding: 0.3rem 0 0.3rem;
}

@media (max-width: 767.98px) {
  .pagination {
    --bs-pagination-padding-x: 12px;
    --bs-pagination-padding-y: 6px;
    --bs-pagination-font-size: 16px;
    --bs-pagination-focus-box-shadow: 0 0 0 4px rgba(13, 110, 253, 0.25);
    padding: 20px 0 20px;
  }
}

.pagination .page-item .page-link {
  margin: 0 0.08rem 0 0;
  border-radius: 0.06rem;
  color: #003366;
}

.pagination .page-item.active .page-link {
  border-color: #003366;
  background-color: #0051d9;
  color: #fff;
}

.pagination .page-item.disabled {
  cursor: not-allowed;
}

.pagination .page-item.disabled .page-link {
  color: #6c757d;
}

.pagination .page-item .page-link:hover {
  background-color: #e9ecef;
}

.mobile-navbar-nav {
  padding: 20px;
  list-style: none;
}

.mobile-navbar-nav .nav-item .nav-link {
  display: block;
  padding: 10px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  color: #ccd1dd;
  font-size: 18px;
  text-decoration: none;
}

.mobile-navbar-nav .nav-item.active .nav-link,
.mobile-navbar-nav .nav-item .nav-link:hover {
  background-color: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* 移动端二级菜单 */
.mobile-navbar-nav .nav-item .mobile-dropdown-menu {
  /* 二级菜单缩进 */
  max-height: 0;
  padding-left: 20px;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.1);
  list-style: none;
  transition: max-height 0.4s ease-in-out;
  /* 轻微背景色区分 */
}

.mobile-navbar-nav .nav-item.open-submenu .mobile-dropdown-menu {
  max-height: 500px;
  /* 或者一个足够大的值，确保所有子项可见 */
}

.mobile-navbar-nav .nav-item .mobile-dropdown-menu .dropdown-item {
  display: block;
  padding: 8px 15px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  color: #ccd1dd;
  font-size: 16px;
  text-decoration: none;
}

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

.mobile-navbar-nav .nav-item .mobile-dropdown-menu .dropdown-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

@media (max-width: 991.98px) {
  .navbar {
    display: none;
  }

  .mobile-nav {
    display: flex;
    align-items: center;
  }
}

.common-banner {
  position: relative;
  width: 100%;
  height: 5.2rem;
  overflow: hidden;
}

.common-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (max-width: 768px) {

  .hot-keywords {
    justify-content: flex-start;
  }

  .hot-keywords-label {
    width: 100%;
    margin-bottom: 8px;
  }

  .keyword-link {
    margin-right: 8px;
    margin-left: 0 !important;
  }

  .search-container {
    height: auto;
  }

  .search-hot-keywords-bar {
    padding: 10px 15px;
  }
}

.common-banner .container {
  z-index: 1;
  /*position: relative;*/
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
}

.common-banner .common-banner-tabs {
  display: flex;
  position: absolute;
  bottom: 0;
  left: 2.6rem;
  align-items: center;
  justify-content: center;
  height: 0.5rem;
}

.common-banner .common-banner-tab-item {
  height: 100%;
  transition: all 0.4s ease;
}

.common-banner .common-banner-tab-item:hover {
  background-color: #db8c0f;
}

.common-banner .common-banner-tab-item.active {
  background-color: #db8c0f;
}

.common-banner .common-banner-tab-item a {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  padding: 0 0.25rem;
  color: #fff;
  font-size: 0.16rem;
}

@media (max-width: 768px) {
  .common-banner {
      height: auto;
      max-height: 500px;
  }
  .common-banner .common-banner-tabs {
    left: 5vw;
    height: 38px;
  }

  .common-banner .common-banner-tab-item a {
    height: 38px;
    padding: 2px 10px;
  }
}

.empty-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 0.1rem 0;
}

.empty-box img {
  display: inline-block;
  width: 2rem;
  margin-bottom: 0.2rem;
}

.empty-box p {
  color: #999;
  font-size: 0.18rem;
}