body {
  font-family: PingFangSC-Regular, Roboto, Helvetica Neue, Helvetica, Tahoma,
    Arial, PingFang SC-Light, Microsoft YaHei;
  margin: 0;

}

input {
  background-color: transparent;
  border: 0;
}

button {
  margin: 0;
  padding: 0;
  border: 1px solid transparent;
  outline: none;
  background-color: transparent;
}

h3 {
  margin: 0;
}

button:active {
  opacity: 0.6;
}

/* 确保链接样式正常 */
a {
  text-decoration: none;
  color: inherit;
}

a:hover {
  text-decoration: underline;
}

/* 按钮样式重置 */
button {
  border: none;
  background: none;
  cursor: pointer;
  padding: 0;
}

.flex-col {
  display: flex;
  flex-direction: column;
}

.flex-row {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.justify-start {
  display: flex;
  justify-content: flex-start;
}

.justify-center {
  display: flex;
  justify-content: center;
}

.justify-end {
  display: flex;
  justify-content: flex-end;
}

.justify-evenly {
  display: flex;
  justify-content: space-evenly;
}

.justify-around {
  display: flex;
  justify-content: space-around;
}

.justify-between {
  display: flex;
  justify-content: space-between;
}

.align-start {
  display: flex;
  align-items: flex-start;
}

.align-center {
  display: flex;
  align-items: center;
}

.align-end {
  display: flex;
  align-items: flex-end;
}

/* 2行文字截断通用样式 */
.text-truncate-2-lines {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
}

/* 新闻标题和描述的2行截断样式 */
.news-featured-title,
.news-featured-desc,
.news-item-title,
.news-item-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.4;
  word-break: break-word;
}

.input-text {
  padding: 0 10px;
}

.cursor-pointer {
  cursor: pointer;
}

.select-box {
  padding: 0 10px;
}


/*global*/
html,
body {
  height: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: 'liga';
  -webkit-text-size-adjust: 100%;
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Roboto, Ubuntu, Helvetica Neue, Helvetica, Arial, PingFang SC, Hiragino Sans GB, Microsoft YaHei UI, Microsoft YaHei, Source Han Sans CN, sans-serif;
  font-weight: 400;
  background: #fff;
  font-size: 14px;
  color: #616161;
}

body {
  background-color: #fff;
}

a {
  color: #333;
}

a:hover {
  color: #18bc9d;
  text-decoration: none;
}

.cl-header {
  background-color: #fff;
  /*height: 80px;*/
  /*line-height: 80px;*/
  box-shadow: 0 5px 15px rgba(153, 153, 153, 0.1)
}

.header-content {
  position: relative;
}

.cl-logo {
  position: absolute;
  left: 0;
  top: 0;
  height: 80px;
  width: 300px;
  overflow: hidden;
}

.cl-logo img {
  max-width: 100%;
  max-height: 100%;
}

@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav .nav-link {
    padding-right: 1rem;
    padding-left: 1rem;
  }
}

.navbar-toggler:not(:disabled):not(.disabled):focus {
  outline: none;
}

.navbar {
  padding: 0;
}

.navbar-light .navbar-nav .nav-link {
  font-size: 1.14rem;
}

.navbar-light .navbar-nav .active>.nav-link {
  color: #18bc9d;
  font-weight: bold;
}

.nav .nav-item a.active {
  color: #18bc9d;
  font-weight: bold;
}

.navbar .navbar-brand img {
  max-width: 100%;
  max-height: 100%;
}

#category .dropdown-menu li {
  padding: 5px 10px;
}

#category .dropdown-menu li.active {
  background: #eee;
}

.recommend-index {
  margin-bottom: 20px;
}

/*left*/
.cl-left {
  margin: 20px 0;
  padding: 0;
}

.recommend-top {
  margin-bottom: 20px;
}

.recommend-bottom {
  display: flex;
  justify-content: space-between;
}

.recommend-item {
  width: 49%;
  /*height: 170px;*/
  overflow: hidden;
}

.cl-artical-content,
.recommend-panel,
.comment {
  background-color: #fff;
  padding: 0 20px 20px 20px;
}

.cl-artical-content .donate-img img {
  width: 200px;
}

.cl-artical-content .donate-img p {
  margin-top: 10px;
}

/*card*/
.cl-card {
  background-color: #fff;
  padding: 1rem;
  margin: 0 0 20px 0;
}

.cl-card .cl-card-image {
  overflow: hidden;
}

.cl-card .cl-card-image img {
  width: 100%;
  max-width: 100%;
}

.cl-card .cl-card-more a {
  color: #18bc9d;
}

.cl-card-main-title a:hover,
.cl-card .cl-card-more a:hover {
  text-decoration: underline;
}

.cl-card-main-title {
  height: 2rem;
  overflow: hidden;

}

.cl-card-main-title a {
  font-size: 1.4rem;
  color: #333;
  font-weight: normal;
}

.cl-card-main-title a:hover {
  text-decoration: underline;
}

.cl-card-main-info {
  font-size: 1rem;
  color: #999;
  height: 3rem;
  overflow: hidden;
  margin: 0.5rem 0 2rem 0;
}

.img-zoom {
  overflow: hidden;
  display: inline-block;
}

.img-zoom img {
  -webkit-transition: all 0.3s;
  -moz-transition: all 0.3s;
  -o-transition: all 0.3s;
  transition: all 0.3s;
}

.img-zoom:hover img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -o-transform: scale(1.1);
  -ms-transform: scale(1.1);
  transform: scale(1.1);
}

.object-responsive {
  position: relative;
  display: block;
  height: 0;
  padding: 0;
  overflow: hidden;
}

.object-responsive img {
  position: absolute;
  object-fit: cover;
  width: 100%;
  height: 100%;
  border: 0;
}

.object-responsive-16by9 {
  padding-bottom: 56.25%;
}

.object-responsive-4by3 {
  padding-bottom: 75%;
}

.object-responsive-square {
  padding-bottom: 100%;
}

/*page*/
.pagination .page-item.active .page-link {
  background-color: #18bc9d;
  border-color: #18bc9d;
  color: #fff;
}

.pagination .page-item .page-link {
  color: #666;
}

.pagination {
  margin: 20px 0 0 0;
}

.pagination li.disabled .page-link {
  background-color: #eee;
  color: #999;
}

.pagination li.disabled {
  cursor: not-allowed;
}

/*right*/
.cl-right {
  margin: 20px 0;
}

.right-card-main {
  background-color: #fff;
  margin: 0 0 20px 0;
}

.right-card-main .img-responsive {
  width: 100%;
}

.cl-code {
  width: 80%;
  margin: 10px auto;
  padding: 0 0 10px 0;
}

.right-card-title {
  font-size: 1.2rem;
  color: #666;
  font-weight: bold;
  padding: 15px 0 10px 10px;
}

.cl-code p {
  color: #999;
  line-height: 1.2rem;
  margin-top: 10px;
  text-align: center;
}

/*right-recommended*/
.right-recommended {
  padding: 10px;
  height: 120px;
  overflow: hidden;
}

.right-recommended-list {
  list-style: none;
  padding: 0 10px 20px 10px;
  box-sizing: border-box;
}

.right-recommended-list i {
  color: #999;
  margin-right: 4px;
}

.right-recommended-list li {
  width: 100%;
  /*border-bottom: 1px dashed #eaeaea;*/
  color: #666;
  height: 40px;
  line-height: 40px;
  overflow: hidden;
}

/*label*/
.label {
  /* list-style: none;
  display: flex;
  flex-wrap: wrap;
  padding: 10px; */

}

.label li a {
  display: block;
  border: 1px solid #dbdbdb;
  padding: 2px 10px;
  margin: 0 8px 8px 0;
  color: #666;
}

.label li a:hover {
  background-color: #18bc9d;
  border-color: #18bc9d;
  color: #fff;
}

/*footer*/
.cl-footer {
  background-color: #fbfbfb;
  text-align: center;
  padding: 2rem 0 1rem 0;
  margin: 1rem 0 0 0;
  border-top: 1px solid #f1f1f1;
}

.cl-footer-link a {
  font-size: 20px;
  padding: 1rem 0;
  color: #666;
}

.cl-copyright {
  color: #666;
  font-size: 14px;
  line-height: 0.8em;
}

/*artical*/
.cl-artical {
  margin-bottom: 15px;
}

.cl-artical-title {
  padding: 20px 0 10px 0;
}

.cl-card-tag {
  color: #999;
  font-size: 1rem;
}

.cl-artical h1,
.cl-artical h2,
.cl-artical h3,
.cl-artical h4,
.cl-artical h5 {
  padding: 1.5rem 0 0.5rem 0;
}

.cl-artical h1 {
  font-size: 2rem;
}

.cl-artical h2 {
  font-size: 1.75rem;
}

.cl-artical h3 {
  font-size: 1.5rem;
}

.cl-artical h4 {
  font-size: 1.25rem;
}

.cl-artical h5 {
  font-size: 1rem;
}

.cl-artical {
  padding: 1.5rem 0 0 0;
  color: #666;
}

.cl-artical blockquote {
  font-size: 18px;
  padding: 2rem 1rem 2rem 2rem;
  border-left: 4px solid #3F6600;
  background-color: #f3f3f3;
  /*font-style: italic;*/
  font-weight: bold;
  line-height: 1.8em;
}

.cl-artical blockquote:before {
  content: " “ ";
  font-size: 60px;
  vertical-align: bottom;
  color: #3F6600;
}

.cl-artical blockquote span {
  font-size: 36px
}

.cl-artical p img {
  vertical-align: middle;
  width: 100%;
  max-width: 100%;
  height: auto;
}

.cl-artical p {
  padding: 0.5rem 0 0.5rem 0;
  line-height: 1.8rem;
}

.cl-content-info {
  color: #999;
}

/*comment panel*/
.comment-panel {
  padding-bottom: 2rem;
  margin-top: 2rem;
  border-bottom: 1px solid #dee2e6;
  position: relative;
}

.comment-secondary-panel {
  padding-bottom: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  background-color: #f4f4f4;
  position: relative;
}

.triangle-icon {
  position: absolute;
  left: 50px;
  top: -30px;
  color: #f4f4f4;
  font-size: 60px;

}

.comment-panel .comment-panel-portrait {
  position: absolute;
  top: 0;
  left: 0;
}

.comment-panel-portrait img {
  width: 60px;
  height: 60px;
}

.comment-panel .comment-panel-content {
  padding: 0 0 0 70px;
  width: 100%;
}

.comment-panel .comment-secondary-panel .comment-panel-content {
  padding: 0 0 10px 20px;
  width: 100%;
}

.comment-panel-content-item div {
  display: inline;
  padding: 0 0.5rem 0 0;
  font-size: 14px;
  color: #999;
}

.comment-panel-content-item .comment-author {
  font-size: 16px;
  color: #333;
  font-weight: bold;
}

.comment-panel .comment-panel-content .comment-panel-content-main {
  margin-top: 0.5rem;
  color: #666;
}

.comment-panel .comment-panel-secondary {
  border: 1px solid #e5e5e5;
  padding: 0.5rem 0.5rem 0 0.5rem;
  margin: 0.5rem 0;
  background-color: #fffffb;
}

.comment-panel .comment-reply {
  position: absolute;
  right: 5px;
  top: 2px;
  color: #eee;
}

.comment-panel .comment-reply a {
  color: #999;
}

@media (min-width: 576px) {
  .ll-panel {
    max-width: 30%;
  }
}

/*comment form*/
.cl-comment-from {
  padding: 10px 0 0 0;
}

.cl-comment-from div {
  height: 3rem;
  border: 1px solid #dfdfdf;
}

.cl-comment-from button {
  float: right;
  border: none;
  background-color: #18bc9d;
  color: #fff;
  font-size: 16px;
  padding: 0.5rem 1rem;
  cursor: pointer;
  margin-top: 10px;
}

.cl-comment-from button:hover {
  background-color: #f38d00;
}

.cl-comment-from .input {
  border: 1px solid #ced4da;
  padding: 0.3rem 0.5rem;
  border-radius: 2px;
}

.cl-comment-from>div>textarea {
  border: none;
  width: 100%;
  height: 100%;
  line-height: 3rem;
  padding: 0 1rem;
  box-sizing: border-box;
}

.cl-comment-from>div>textarea:focus,
.cl-comment-from button:focus {
  outline: none;
}

/*recommend aritical*/
.recommend-panel {
  margin: 20px 0;
}

.recommend-panel a.recommend-panel-link {
  display: block;
}

.recommend-panel-bottom {
  padding: 0.5rem;
  font-size: 14px;
}

.ll-title {
  margin: 3rem 0 1rem 0;
  color: #333;
}

.recommend-panel-top {
  overflow: hidden;
  height: 12rem;
}

.recommend-panel-top img,
.recommend-item img,
.cl-card-image img {
  width: 100%;
  max-width: 100%;
}

#comments h3,
#respond h3 {
  font-size: 1.2rem;
  margin-top: 5px;
}

#respond h3 a {
  font-size: 1rem;
  color: #007bff;
}

.comment-panel #respond {
  margin-top: 1rem;
  padding: 0 0 0 70px;
}

.floatbar {
  width: 50px;
  position: fixed;
  right: 0;
  bottom: 40px;
  z-index: 999;
}

.floatbar a {
  display: block;
  padding: 5px 10px;
  font-size: 30px;
  opacity: .5;
}

.floatbar a:hover {
  opacity: 1;
}

.pagination {
  padding-left: 0;
  margin: 17px 0;
  border-radius: 3px
}

.pagination>li {
  display: inline
}

.pagination>li>a,
.pagination>li>span {
  position: relative;
  float: left;
  padding: 6px 12px;
  line-height: 1.42857143;
  text-decoration: none;
  color: #2c3e50;
  background-color: #fff;
  border: 1px solid #ddd;
  margin-left: -1px
}

.pagination>li:first-child>a,
.pagination>li:first-child>span {
  margin-left: 0;
  border-bottom-left-radius: 3px;
  border-top-left-radius: 3px
}

.pagination>li:last-child>a,
.pagination>li:last-child>span {
  border-bottom-right-radius: 3px;
  border-top-right-radius: 3px
}

.pagination>li>a:focus,
.pagination>li>a:hover,
.pagination>li>span:focus,
.pagination>li>span:hover {
  z-index: 2;
  color: #11181f;
  background-color: #eee;
  border-color: #ddd
}

.pagination>.active>a,
.pagination>.active>a:focus,
.pagination>.active>a:hover,
.pagination>.active>span,
.pagination>.active>span:focus,
.pagination>.active>span:hover {
  z-index: 3;
  color: #fff;
  background-color: #2c3e50;
  border-color: #2c3e50;
  cursor: default
}

.pagination>.disabled>a,
.pagination>.disabled>a:focus,
.pagination>.disabled>a:hover,
.pagination>.disabled>span,
.pagination>.disabled>span:focus,
.pagination>.disabled>span:hover {
  color: #777;
  background-color: #fff;
  border-color: #ddd;
  cursor: not-allowed
}

.pager .pagination {
  margin: 0
}

.pager li {
  margin: 0 .4em;
  display: inline-block
}

.pager li:first-child>a,
.pager li:first-child>span,
.pager li:last-child>a,
.pager li:last-child>span {
  padding: .5em 1.2em
}

.pager li>a,
.pager li>span {
  border: 1px solid #e6e6e6;
  border-radius: .25em;
  padding: .5em .93em;
  font-size: 14px
}

/* 搜索建议 */
.autocomplete-suggestions {
  text-align: left;
  cursor: default;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.15);
  border-radius: 2px;
  -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  -moz-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  background-clip: padding-box;
  position: absolute;
  display: none;
  z-index: 1036;
  max-height: 254px;
  overflow: hidden;
  overflow-y: auto;
  box-sizing: border-box;
}

.autocomplete-suggestions .autocomplete-suggestion {
  padding: 5px 12px;
}

.autocomplete-suggestions .autocomplete-suggestion:hover {
  background: #f0f0f0;
}

/* 加载更多 */
.loadmore {
  width: 80%;
  margin: 1.5em auto;
  line-height: 1.6em;
  font-size: 14px;
  text-align: center;
}

.loadmore-tips {
  display: inline-block;
  vertical-align: middle;
}

.loadmore-line {
  border-top: 1px solid #E5E5E5;
  margin-top: 2.4em;
}

.loadmore-line .loadmore-tips {
  position: relative;
  top: -0.9em;
  padding: 0 .55em;
  background-color: #FFFFFF;
  color: #808080;
}


/* Two-line text truncation with ellipsis */
.text-truncate-1 {
  display: -webkit-box !important;
  -webkit-line-clamp: 1; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word; /* Handle long words */
}

.text-truncate-2 {
  display: -webkit-box !important;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word; /* Handle long words */
}

.text-truncate-3 {
  display: -webkit-box !important;
  -webkit-line-clamp: 3; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word; /* Handle long words */
}

.text-truncate-4 {
  display: -webkit-box !important;
  -webkit-line-clamp: 4; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word; /* Handle long words */
}

.text-truncate-5 {
  display: -webkit-box !important;
  -webkit-line-clamp: 5; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word; /* Handle long words */
}

.text-truncate-6 {
  display: -webkit-box;
  -webkit-line-clamp: 6; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word; /* Handle long words */
}

.swiper-button-next, .swiper-button-prev, .showcase-title,.showcase-description,.review-title {
  color: #fff;
}

.news-card a, .text-wrap a, .swiper-wrapper a, .review-grid a, .download-item a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.none-default-a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.none-default-a:hover {
  text-decoration: none;
  color: inherit;
}

/* ===== 头部样式 ===== */
.header {
  background-color: #9AFF00;
  padding: 10px 0;
  position: sticky;
  top: 66px;
  z-index: 999;
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.navigation {
  flex: 1;
}

.nav-list {
  display: flex;
  list-style: none;
  gap: 0;
  margin: 0;
  flex-wrap: wrap;
}

.nav-item {
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
  padding: 0.5rem 1rem;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.search-section {
  margin-left: 2rem;
}

.search-box {
  display: flex;
  align-items: center;
  background-color: #fff;
  border: 1px solid #9AFF00;
  border-radius: 3px;
  padding: 0.5rem;
  min-width: 200px;
}

.search-input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 0.875rem;
  background: transparent;
}

.search-input::placeholder {
  color: #999;
}

.search-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  margin-left: 0.5rem;
}

.search-btn img {
  width: 18px;
  height: 19px;
  object-fit: contain;
}



/* ===== 响应式设计 ===== */
@media (max-width: 768px) {
  .container {
    padding: 0 0.5rem;
  }

  .header-content {
    /* flex-direction: column; */
    /* gap: 1rem; */
  }

  .search-section, .social-links {
    display: none;
  }

  .header {
    top: 56px;
  }
  
  .nav-list {
    flex-wrap: wrap;
    justify-content: center;
  }

  .nav-item {
    padding: 0.5rem;
    /* font-size: 0.75rem; */
  }

  .search-section {
    margin-left: 0;
  }

  .search-box {
    min-width: 150px;
  }

  .checkout-container {
    padding: 0 0.5rem;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .form-row:last-child {
    grid-template-columns: 1fr;
  }

  .login-actions {
    justify-content: center;
  }

  .submit-btn img {
    width: 280px;
    height: 50px;
  }

  .final-title {
    font-size: 2rem;
  }

  .final-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {

  .page-title,
  .section-title {
    font-size: 1.25rem;
  }

  .form-input,
  .form-select {
    padding: 0.75rem;
    font-size: 0.8rem;
  }

  .submit-btn img {
    width: 250px;
    height: 45px;
  }

  .submit-text {
    font-size: 1rem;
  }

  .final-title {
    font-size: 1.5rem;
  }

  .final-subtitle {
    font-size: 0.9rem;
  }
}

/* ===== 可访问性增强 ===== */
.form-input:invalid {
  border-color: #e74c3c;
}

.form-input:invalid:focus {
  box-shadow: 0 0 0 2px rgba(231, 76, 60, 0.1);
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ===== 高对比度模式支持 ===== */
@media (prefers-contrast: high) {

  .form-input,
  .form-select {
    border-width: 2px;
  }

  .submit-btn {
    outline: 2px solid #000;
  }
}

.main-content,
.page-container {
  background-color: #fff;
}

.top-icon {
  font-size: 30px !important;
  color: #fff;
  width: 31px;
  height: 36px;
  position: relative;
}


.green-line-box {
  display: flex;
  margin-bottom: 10px;
}

.green-line-box .line-text {
  font-size: 28px;
  font-weight: 800;
  line-height: 1.1;
  color: #000;
  letter-spacing: -0.02em;
  text-align: left;
  font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
  display: flex;
  position: relative;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeInUp 0.8s ease-out forwards;
  padding: 0 10px;
  text-transform: uppercase;
}

.green-line-box .line-text::after {
  content: '';
  display: block;
  width: 100%;
  height: 4px;
  border-bottom: 10px solid rgba(154, 255, 0, 1);
  position: absolute;
  bottom: 2px;
  z-index: -1;
}

.padding-top-10 {
  padding-top: 10px !important;
}

.dropdown-toggle, .store-text {
  color: #fff;
}

.uppercase-text {
  text-transform: uppercase;
}


.nav-link {
  padding-left: 0 !important;
  padding-right: 0 !important;
}