body {
  position: relative;
}

.main {
  min-height: calc(60vh);
}

.nav-pills .nav-link {
  border-radius: initial;
}
.spe-main{
  background-color: #f6f8fe;
}
.btn {
  border-radius: initial;
}

.page-item:first-child .page-link {
  border-radius: initial;
}

.page-item:last-child .page-link {
  border-radius: initial;
}

.special-title {
  font-size: 20px;
  font-weight: 700;
  width: 100%;
  color: #000000;
  margin: 0;
  transition: all 0.3s ease-in-out;
}

.special-intro {
  font-size: 14px;
  color: #202327;
  line-height: 22px;
  word-break: break-word;
  height: 68px;
  margin-top: 30px;
}

.line-clamp-1 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 1;
  line-clamp: 1;
  overflow: hidden;

  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-overflow: ellipsis;
}

.line-clamp-2 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;

  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-overflow: ellipsis;
}

.line-clamp-3 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  overflow: hidden;

  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-overflow: ellipsis;
}

.line-clamp-4 {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  line-clamp: 4;
  overflow: hidden;

  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  text-overflow: ellipsis;
}

.col-ctx {
  overflow-wrap: break-word;
}

.col-ctx img {
  max-width: 100% !important;
  max-height: 100% !important;
}

.custom-container {
  display: flex;
  margin-right: auto;
  margin-left: auto;
}

.top-title {
  letter-spacing: 12px;
}

.special-box {
  padding: 30px;
  border-bottom: 1px solid #f6f8fe;
}
.special-box:hover .special-title{
  color:#5856d7;
}

.banner-center {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  position: absolute;
  z-index: -1;
}

.navbar-nav {
  column-gap: 60px;
}

.login-btn {
  color: #fff;
  background: #3e43f4;
  box-shadow: 0 2px 0 rgba(5, 55, 255, 0.06);
  font-size: 14px;
  height: 40px;
  padding: 0px 15px;
  border-radius: 10px;
  line-height: 40px;
  margin: auto 0;
  width: 93px;
  margin-left: -10px;
}

.home-title-container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
   text-align: center;
  padding: 80px 0;
  color: #fff;

}

.main-title {
  font-weight: bold;
  margin: 0;
  font-size: 64px;
  text-shadow: 0px 4px 4px rgba(0,0,0,0.16);
}

.main-subtitle {
  margin: 20px 0 50px;
  font-size: 20px;
    text-shadow: 0px 4px 4px rgba(0,0,0,0.16);
}

.banner-img-container {
  position: relative;
}

.main-image-1 {
  height: 497px;
  margin-top: 50px;
}

.features-section {
  padding: 80px 0;
  background-color: #f6f8fe;
  text-align: center;
}

.section-title {
  font-size: 36px;
  margin: 0;
  color: #202327;
}

.section-subtitle {
  margin: 10px 0 60px;
  font-size: 30px;
  color: #616a76;
}

.features-grid {
  display: flex;
  justify-content: flex-start;
  gap: 20px;
}

.feature-card {
  width: 280px;
  height: 386px;
  text-align: center;
  padding: 60px 30px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.feature-img {
  height: 100px;
  aspect-ratio: 3/2;
}

.feature-title {
  font-size: 24px;
  margin: 50px 0 30px;
}

.features-grid .feature-description p,
.features-grid .feature-description span {
  font-size: 16px !important;
  color: #7b7b7b !important; 
  text-wrap: wrap !important;
  word-break: break-word !important;
  
  line-height: 1.2 !important;
  text-align: start !important;
}

.boxes-section {
  padding: 80px 0 100px;
  background-color: #fff;
  text-align: center;
}

.boxes-title {
  font-size: 36px;
  margin: 0 0 80px;
  color: #202327;
}

.boxes-container {
  padding: 0;
  gap: 60px;
  align-items: center;
}

.box-card {
  display: flex;
  text-align: left;
  justify-content: space-between;
  padding: 60px;
  height: 369px;
  border-radius: 50px 50px 50px 50px;
}

.box-text {
  flex: 1;
  padding: 0 20px;
  text-align: start;
}

.box-title {
  font-size: 36px;
  padding: 0;
  margin: 0 0 40px;
  font-weight: 700;
}

.box-description {
  font-size: 24px;
  line-height: 2;
  color: #202327;
  width: 434px;
  padding: 0;
  margin: 0;
  font-weight: 400;
  text-wrap: wrap;
  word-break: break-word;
}

.box-image-content {
  height: 250px;
  aspect-ratio: 3/2;
}

.py-60 {
  padding: 60px 0;
}

.spe-img {
  width: 240px;
  aspect-ratio: 3/2;
  margin-right: 20px;
}

.newsCenter_titleContainer {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80%;
}

.newsCenter_mainTitle {
  color: rgba(255, 255, 255, 1);
  font-size: 25px;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.16);
  margin-bottom: 0;
}

.newsCenter_subtitle {
  font-size: 48px;
  color: #fff;
  margin: 0;
  padding: 0;
  text-align: center;
  text-shadow: 0px 4px 4px rgba(0,0,0,0.16);
}

.special-item {
  padding: 0 30px;
}

.cate-container {
  padding: 0;
  padding-top: 30px;
  /* margin-bottom: -30px; */
}

.category-name {
  font-weight: 800;
  font-size: 18px;
  color: #000000;
  margin-right: 20px;
  /* width: fit-content; */
  white-space: nowrap;
  line-height: 26px;
}

.cate-list {
  gap: 50px;
  row-gap: 20px;
  font-weight: 400;
  font-size: 16px;
  color: #A9AAAC;
  flex: 1;
}

.cate-list a:hover,
.cate-list a.active {
  color: #3e43f4;
  position: relative;
}

.cate-list a.active::after {
  position: absolute;
  content: '';
  display: block;
  width: 100%;
  height: 2px;
  background-color: #3e43f4;
}

.p60-30 {
  padding: 60px 30px 30px;
}

.gap80 {
  gap: 80px;
}

.list-title {
  font-size: 18px;
  color: #fff;
  margin-bottom: 15px;
  display: inline-block;
}

.list-subname {
  font-size: 14px;
  color: #abacad;
  margin-bottom: 10px;
  display: inline-block;
}

.bt-logo {
  width: 160px;
  height: 160px;
  border-radius: 20px;
}

.download-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 180px;
  height: 60px;
  background: #fff;
  border-radius: 30px;
  font-size: 24px;
  padding: 0 15px;
  color: #3e43f4;
}

.download-btn:hover {
  cursor: pointer;
  color: #5856d7;
}

.bt-name {
  padding: 0;
  margin: 20px 0 0;
  font-size: 14px;
  color: #abacad;
  text-align: center;
}

.banner {
  height: 300px;
}

.img-none {
  width: 80px;
  height: 80px;
}

.dropdown-menus {
  border-radius: 0 !important;
  transform: none !important;
  top:70% !important;
}

.bottom-text {
  min-height: 40px;
  gap: 20px;
}
.logo-a{
    height: 80px;
  }
.sm-logo{
  gap:70px;
  flex:1;
}

@media (max-width: 768px) {
  .dropdown-menus{
    position: relative !important;
    border: none !important;
  }
  .sm-logo {
    justify-content: space-between;
    width: 100%;
  }

  .navbar-toggler {
    border: none;
    padding: 0;
  }
  .nav-link{
    line-height: 40px !important;
  }
  .special-intro{
    display: none !important;
  }

  .navbar-toggler svg {
    width: 16px;
    height: 16px;
  }

  .main {
    padding-left: 20px !important;
    padding-right: 20px !important;
  }

  .special-box {
    padding: 20px 0 10px 0;
    border-bottom: none;
  }

  .col-name {
    margin-bottom: 10px;
  }

  .download-btn {
    width: 116px;
    height: 40px;
    font-size: 14px;
  }

  .main-title {
    font-size: 32px;
  }

  .main-subtitle {
    margin: 20px 50px 30px;
    font-size: 14px;
  }

  .features-section {
    padding: 40px 0;
  }

  .section-title {
    font-size: 26px;
    margin-left: 7vh;
    margin-right: 7vh;
  }

  .section-subtitle {
    font-size: 20px;
    margin: 12px 4vh 30px;
  }

  .feature-card {
    width: 100%;
    height: 275px;
    padding: 30px 15px;
    margin: 0;
  }

  .feature-img {
    height: 80px;
  }

  .features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 0 14px !important;
  }

  .box-description {
    width: 100%;
  }

  .box-card {
    flex-direction: column;
    padding: 30px;
    height: 400px;
    border-radius: 16px;
  }

  .box-title {
    font-size: 20px;
    margin-bottom: 20px;
  }

  .box-description {
    font-size: 14px;
  }

  .box-image {
    display: flex;
    justify-content: flex-end;
    max-width: 100%;
  }

  .box-image-content {
    height: 160px;
  }

  .bottom-text {
    min-height: 60px;
    padding: 12px;
    gap: 0;
  }

  .bt-logo {
    width: 100px;
    height: 100px;
  }

  .home-title-container {
    padding: 50px 25px;
  }

  .feature-title {
    margin: 30px 0 20px;
    font-size: 16px;
  }
  .feature-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 6;
    line-clamp: 6;
    overflow: hidden;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    text-overflow: ellipsis;
  }
  .features-grid .feature-description p,
  .features-grid .feature-description span{
    font-size: 12px !important;
    line-height: 1.2 !important;
    text-align: start !important;
    color:#7b7b7b !important;
  }

  .navbar-shrink {
    min-height: 60px !important;
    padding: 10px 14px !important;
  }
  .spe-img-box{
    width: 100%;
  }
  .box-text{
    padding: 0;
  }
  .font16px {
    font-size: 16px !important;
    line-height: 19px !important;
  }

  .font30px {
    font-size: 30px !important;
      line-height: 36px !important;
  }
  .special-item {
    gap: 20px !important;
  }

  .sCates-card {
    width: 99% !important;
  }

  .pd12px {
    padding: 0px 12px !important;
  }

  .sCates-card {
    width: 100% !important;
  }

  .category-list {
    margin: 24px !important;
  }
  .category-item{
    width: 100% !important;
  }

  #Content-title-id {
    padding-left: 0px !important;
    padding-right: 0px !important;
    margin-top: 0px !important;
    width: 100% !important;
    /* min-height: 106vh !important; */
    border-left: none !important;
    /* display: none; */
  }

  .StickyTop {
    top: 70px !important;
  }

  .content-card {
    width: 100% !important;
    
  }

  .hotTitle {
    margin-top: 30px !important;
  }
  .hotCate{
    margin-top: 40px !important;
  }

  .stickyPosition {
    display: block;
    position: fixed !important;
    background-color: #fff;
    top: 0px !important;
    height: 100vh;
    width: 90% !important;
    z-index: 100000;
    left: -100%;
    overflow: auto;
    box-shadow: 2px 0 8px rgba(0, 0, 0, 0.15);
  }

  .stickyPosition.show {
    left: 0;
    animation: slideInLeft 0.3s ease-out;
  }
  .stickyPosition.hide {
    left: -100%;
    animation: slideOutLeft 0.3s ease-out;
  }

  @keyframes slideInLeft {
    0% {
      left: -100%;
      opacity: 0;
    }
    100% {
      left: 0;
      opacity: 1;
    }
  }

  @keyframes slideOutLeft {
    0% {
      left: 0;
      opacity: 1;
    }
    100% {
      left: -100%;
      opacity: 0;
    }
  }

  /* 抽屉头部样式 */
  .drawer-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px 20px !important;
    border-bottom: none !important;
  }

  .drawer-header h5 {
    color: white;
    font-weight: 600 !important;
  }

  .close-drawer {
    color: white !important;
    font-size: 28px !important;
    font-weight: 300 !important;
    line-height: 1 !important;
    opacity: 0.8;
    transition: opacity 0.2s ease;
  }

  .close-drawer:hover {
    opacity: 1;
    transform: scale(1.1);
  }

  #leftBorderContent {  
    margin: 0 !important;
    position: fixed !important;
    background-color: #fff;
    top: 100px !important;
    height: auto !important;
    width: calc(100% - 20px) !important;
    z-index: 100000;
    left: 10px;
    overflow: auto;
    padding: 34px 24px 34px 14px;
    border-radius: 4px;
    box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08),0 3px 6px -4px rgba(0, 0, 0, 0.12),0 9px 28px 8px rgba(0, 0, 0, 0.05);
    animation: bounceIn 0.3s ease-out;
  }
  

  @keyframes bounceIn {
    0% {
      opacity: 0;
      transform: scale(0.3);
    }

    50% {
      opacity: 1;
      transform: scale(1.05);
    }

    70% {
      transform: scale(0.9);
    }

    100% {
      opacity: 1;
      transform: scale(1);
    }
  }

  .toAllMenu {
    display: flex;
    align-items: center;
  }

  .toPageMenu {
    display: none;
    align-items: center;
  }

  .toAllMenuPage {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #efefef;
    padding: 5px 15px 15px 15px;
    position: sticky;
    top: 60px;
    height: 48px;
    background-color: #fff;
  }

  .toAllMenuPage{
    display: flex !important;
  }
  .content-box{
    border-left: none !important;
    margin: 0 14px !important;
    padding: 40px 0 !important;
    height: auto !important;
  }
  .margin6{
    margin: 0 -6px !important;
  }
  .hotCard{
    width: 100% !important;
  }
  .content-top-title{
    font-size: 18px !important;
    font-weight: bold !important;
    margin: 60px 0 30px;
  }
  .Content-cate-title{
    width: 100% !important;
  }
}


@media (min-width: 992px) and (max-width: 1199px) {
  .custom-container {
    min-width: 960px;
  }
}

@media (min-width: 1200px) {
  .custom-container {
    min-width: 1200px;
  }
}

@media (min-width: 1200px) {
  .container {
    width: 1200px !important;
  }

  .nav-item-pr {
    padding-right: 50px;
  }

  .special-cate-item {
    width: 38.25rem;
    height: 17.625rem;
    margin-bottom: 26px;
  }
}

@media (min-width: 768px) {
  .logo {
    width: 300px;
    height: 50px;
  }
  .font30px {
    line-height: 58px !important;
  }
  .font16px{
    line-height: 30px !important;
  }

  /* main {
    margin-top: 80px;
  } */

  .foot-container {
    padding: 40px 0;
  }
}

@media (max-width: 1200px) {
  .special-cate-item {
    margin-bottom: 20px;
  }

  .navbar-nav {
    gap: 30px;
  }
}

@media (max-width: 992px) {
  .navbar-nav {
    gap: 15px;
  }
  .logo-a{
    margin-right: 15px;
  }


  .main-image-1 {
    width: 80%;
    height: auto;
    margin-top: 50px;
  }

  .foot-container {
    padding: 40px 30px 15px;
  }

  .searchBox{
    width: 100% !important;
  }
}

@media (max-width: 768px) {
  .foot-container {
    padding-left: 16px;
    padding-right: 16px;
  }
  .logo-a{
    height: auto;
  }
  .navbar-collapse {
    background: #fff;
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    
    /* 隐藏滚动条 - 完整方案 */
    -ms-overflow-style: none; /* IE 和 Edge */
    scrollbar-width: none; /* Firefox */
    
    /* Webkit浏览器隐藏滚动条 */
    &::-webkit-scrollbar {
      display: none; /* Chrome, Safari, Opera */
      width: 0;
      height: 0;
    }
    
    display: flex;
    flex-direction: column;
  }

  .navbar-collapse::-webkit-scrollbar {
    display: none;
    /* Chrome, Safari 和 Opera */
  }

  /* 防止背景滚动 */
  body.navbar-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
    height: 100%;
    height: -webkit-fill-available; /* iOS Safari */
    overscroll-behavior: none; /* 防止滚动传播 */
  }
  
  /* 针对iOS的特殊处理 */
  @supports (-webkit-touch-callout: none) {
    body.navbar-open {
      position: fixed;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
    }
    
    .navbar-collapse {
      -webkit-overflow-scrolling: touch; /* 启用平滑滚动 */
      overscroll-behavior: contain; /* 防止滚动传播 */
    }
  }

  .nav-menu {
    font-weight: 600;
    font-size: 16px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.88);
  }

  .login-btn {
    display: none !important;
  }

  .logo {
    width: 150px;
    height: 24px;
    
  }

  .main-image-1 {
    width: 320px;
    height: auto;
    margin-top: 50px;
  }

  .banner {
    height: 150px !important;
  }

  .dropdown-container {
    border: 1px solid #d9d9d9;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    border-radius: 4px;
  }

  .bottom-dropdown {
    width: 100%;
  }

  .bottom-dropdown:not(:last-child) {
    border-bottom: 1px solid #d9d9d9 !important;
  }

  .navbar-nav {
    padding: 24px;
    flex:1;
    width: 100%;
    overflow: auto;
  }

  .nav-item {
    margin: 4px;
    padding-left: 24px;
    line-height: 40px;
    color: rgba(0, 0, 0, 0.88);
  }

  .bottom-dropdown-menu {
    position: relative !important;
    transform: none !important;
    border-radius: 0 !important;
    border: none !important;
    padding: 16px;
  }

  .bottom-dropdown-menu .dropdown-item {
    padding: 0;
  }

  .bottom-dropdown-menu li {
    padding-bottom: 14px;
    font-size: 14px;
  }

  .bottom-dropdown-btn {
    width: 100%;
    text-align: left;
    padding: 12px 16px;
    color: #fff !important;
    border: none !important;
    padding-right: 40px;
    height: 46px;
  }

  .bottom-dropdown-btn::after {
    display: none;
  }

  .dropdown-icon {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    transform-origin: center center;
    /* 设置旋转中心点 */
    transition: transform 0.3s ease;
    /* 添加平滑过渡 */
  }

  .bottom-dropdown-btn.show .dropdown-icon {
    transform: translateY(-50%) rotate(90deg);
    /* 保持垂直居中并旋转 */
  }

  .boxes-title {
    font-size: 26px;
    margin: 0 7vh 30px;
  }

  .offcanvas-header {
    display: flex;
    align-items: center;
    padding: 16px 24px;
    font-size: 16px;
    line-height: 1.5;
    border-bottom: 1px solid rgba(5, 5, 5, 0.06);
    width: 100%;
  }

  .offcanvas-header svg {
    color: #8c8c8c;
    width: 16px;
    height: 16px;
  }

  .cate-list {
    gap: 20px;
  }

  .special-item {
    padding: 0;
    background-color: initial;
  }

  .spe-img {
    width: 100%;
    margin-right: 0;
    border-radius: 10px;
  }

  .special-title {
    margin-top: 10px;
  }

  .py-60 {
    padding: 0 0 20px 0;
  }

  /* main {
    margin-top: 60px;
  } */

  .newsCenter_subtitle {
    font-size: 30px;
  }

  .newsCenter_mainTitle {
    font-size: 16px;
  }

  .time-view {
    position: absolute;
    height: 40px;
    padding: 0 20px;
    background: rgba(0, 0, 0, 0.6); /* 使用rgba替代opacity，只影响背景透明度 */
    box-shadow: 0 0 4px 1px rgba(0, 0, 0, .16);
    bottom: 0;
    left: 0;
    right: 0;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
  }
  .nomore{
    font-size: 14px;
    margin-top: 40px;
    margin-bottom: 10px;
    color: #616a76;
    text-align: center;
  }
  .spe-main{
    background-color: #fff;
  }
  .boxes-section{
    padding: 40px 0;
  }
  .boxes-container{
    gap:20px;
    padding: 0 14px;
  }
}