.banner-bg{
  width: 100%;
  height: 9.60rem;
  background-size: cover;
  background-position: center;
  position: absolute;
  overflow: hidden;
  z-index: 0;
  top: 0;
  left: 0;
}
.banner-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  /* 可选: 更深的半透明遮罩以提升毛玻璃质感 */
  background: color-mix(in srgb, var(--primary-color) 51%, transparent);
  z-index: 1;
}
.banner-content{margin:0.92rem 1.2rem 0; position: relative; z-index: 2; }
.banner-content img{width: 100%;border-radius: 6px;}
.banner-txt-box{position: absolute; top:0;left: 0;background: url('/data/tms/website/html/images/news/banner-mark.png') no-repeat; background-size: auto 100%;height: 100%;color: #fff; display: flex; flex-direction: column;justify-content: center; align-items: self-start; width:4.87rem; padding-left: 1.2rem; padding-right: 4rem;}
.banner-txt-box .date{font-size: var(--font-size-18);  margin-bottom: 0.51rem;}
.banner-txt-box .title{font-size: var(--font-size-30); font-weight: 700;margin-bottom: 0.3rem; line-height: 1.6;}
.banner-txt-box .subtitle{font-size: var(--font-size-18); font-weight: 400; margin-bottom: 0.16rem; line-height: 1.6;height: 2.76rem;}
.banner-txt-box .line-btn{padding: 0.3em 1.2em;}

/* News Container Styles */
.news-container {
  padding:0.92rem 1.2rem;
  background: #fff;
}

.news-title {
  font-size: var(--font-size-60);
  color: var(--text-gray);
  margin-bottom: 0.73rem;
  line-height: 1;
}

.news-filters {
  display: flex;
  gap: 0.37rem;
  margin-bottom: 0.4rem;
  justify-content: center;
  position: relative;
  z-index: 999;
}

.filter-item {
  display: flex;
  flex-direction: column;
  position: relative;
  width: 4.26rem;
}

.filter-label {
  font-size: var(--font-size-18);
  color: var(--text-gray);
  font-weight: 400;
  margin-bottom: 0.2rem;
  display: block;
}

.filter-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: transparent;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  padding: 0.2rem 0.4rem 0.2rem 0;
  font-size: var(--font-size-18);
  color: var(--text-gray);
  font-family: inherit;
  cursor: pointer;
  outline: none;
  width: 100%;
  position: relative;
  transition: border-color 0.3s ease;
}

/* Custom Month Picker */
.filter-month-wrap {
  position: relative;
}

.filter-month-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: none;
  border-bottom: 1px solid #e0e0e0;
  padding: 0.2rem 0.4rem 0.2rem 0;
  font-size: var(--font-size-18);
  color: var(--text-gray);
  font-family: inherit;
  cursor: pointer;
  outline: none;
  width: 100%;
  background: transparent;
  transition: border-color 0.3s ease;
  min-height: 1.5em;
}

.filter-month-trigger:hover {
  border-bottom-color: #b0b0b0;
}

.filter-month-wrap.active .filter-month-trigger {
  border-bottom-color: var(--primary-color);
}

.filter-month-display {
  flex: 1;
  text-align: left;
}

.filter-month-wrap .feature-icon {
  position: static;
  color: #b0b0b0;
}

.month-picker-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin-top: 0.08rem;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(1, 30, 80, 0.12), 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 0.4rem;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  border: 1px solid rgba(1, 30, 80, 0.08);

}

.filter-month-wrap.active .month-picker-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.month-picker-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.2rem;
  margin-bottom: 0.3rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #eee;
}

.month-picker-nav {
  width: 0.3rem;
  height: 0.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light-blue);
  border: none;
  border-radius: 6px;
  color: var(--primary-color);
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.month-picker-nav:hover {
  background: var(--primary-color);
  color: #fff;
}

.month-picker-year-wrap {
  flex: 1;
  padding: 0.05rem 0.05rem;
  font-size: var(--font-size-16);
  font-weight: 600;
  color: var(--primary-color);
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  width: 100%;
  height: 0.3rem;
}

.month-picker-year {
  font-size: var(--font-size-16);
  font-weight: 600;
  color: var(--primary-color);
  border-radius: 6px;
  background: #fff;
  cursor: pointer;
  outline: none;
  font-family: inherit;
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

.month-picker-year:focus {
  border-color: var(--lightblue-color);
}

.month-picker-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.12rem;
  margin-bottom: 0.25rem;
}

.month-picker-cell {
  padding: 0.2rem 0.15rem;
  font-size: var(--font-size-14);
  text-align: center;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  color: var(--text-gray);
}

.month-picker-cell:hover {
  background: var(--bg-light-blue);
  color: var(--primary-color);
}

.month-picker-cell.selected {
  background: var(--primary-color);
  color: #fff;
}

.month-picker-footer {
  padding-top: 0.2rem;
  border-top: 1px solid #eee;
}

.month-picker-clear {
  width: 100%;
  padding: 0.2rem;
  font-size: var(--font-size-14);
  color: var(--text-light-gray);
  background: transparent;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  transition: background 0.2s, color 0.2s;
  font-family: inherit;
}

.month-picker-clear:hover {
  background: var(--bg-light-gray);
  color: var(--primary-color);
}

.filter-item .feature-icon {
  position: absolute;
  right: 0;
  bottom: 0.2rem;
  font-size: var(--font-size-18);
  color: #b0b0b0;
  pointer-events: none;
  z-index: 1;
}

.filter-select:hover {
  border-bottom-color: #b0b0b0;
}

.filter-select:focus {
  border-bottom-color: var(--primary-color);
}

.filter-select option {
  padding: 0.2rem;
  background: #fff;
  color: var(--text-gray);
}

.news-count {
  font-size: var(--font-size-16);
  color: var(--text-light-gray2);
  margin-bottom: 0.8rem;
  text-align: center;
}
.news-count span {
  color: var(--lightblue-color);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.news-item {
  display: flex;
  flex-direction: column;
  background: #fff;
  cursor: pointer;
  position: relative;
}
.news-item a{display: block; position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: 3;}

.news-image {
  width: 100%;
  overflow: hidden;
  margin-bottom: 0.26rem;
  border-radius: 4px;
  position: relative;
}
.news-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: color-mix(in srgb, var(--primary-color) 25%, transparent);
  pointer-events: none;
  border-radius: 4px;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.news-image img {
  width: 100%;
  transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
  transform: scale(1.05);
}
.news-item:hover .news-image::after {
  opacity: 0;
}

.news-date {
  font-size: var(--font-size-18);
  color: var(--text-light-gray);
  margin-bottom: 0.2rem;
}

.news-item-title {
  font-size: var(--font-size-18);
  font-weight: 600;
  color: var(--text-gray);
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Pagination - 设计稿样式 */
.news-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.2rem;
  margin-top: 1.2rem;
  padding: 0.6rem 0;
}

.pagination-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0.4rem;
  height: 0.4rem;
  padding: 0 0.12rem;
  border: none;
  background: transparent;
  color: var(--text-gray);
  cursor: pointer;
  transition: color 0.2s;
  font-size: var(--font-size-16);
}

.pagination-btn:hover:not(:disabled) {
  color: var(--primary-color);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.pagination-pages {
  display: flex;
  align-items: center;
  gap: 0.16rem;
}

.pagination-page {
  min-width: 0.4rem;
  height: 0.4rem;
  padding: 0 0.16rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-gray);
  border-radius: 5px;
  cursor: pointer;
  font-size: var(--font-size-16);
  transition: border-color 0.2s, color 0.2s;
}

.pagination-page:hover {
  color: var(--primary-color);
}

.pagination-page.active {
  border-color: var(--primary-color);
  background: #fff;
  color: var(--primary-color);
  cursor: default;
}

.pagination-ellipsis {
  padding: 0 0.08rem;
  color: #b0b0b0;
  font-size: var(--font-size-16);
}

.news-empty {
  grid-column: 1 / -1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  color: var(--primary-color);
  font-size: var(--font-size-18);
  line-height: 1.6;
}

.news-empty::before {
  content: "\f1ea";
  font-family: FontAwesome;
  font-size: var(--font-size-60);
  color: var(--primary-color);
  opacity: 0.6;
  margin-bottom: 0.4rem;
  line-height: 1;
}

/* Mobile Styles */
@media (max-width: 768px) {
  .banner-bg {
    height: auto;
    background: none;
   
  }
.banner-box{
  margin:0.9rem 0 0;
}
  .banner-content {
    margin:0;
  }

  .banner-content img {
    border-radius: 4px;
  }

  .banner-txt-box {
    width: auto;
    padding:0.55rem 0.4rem;
    /* background: linear-gradient(0deg, rgba(1,30,80,0.94) 60%, rgba(1,30,80,0) 100%); */
    background: var(--primary-color);
    background-size: cover;
    border-radius: 0;
    margin-top: 0;
    height: auto;
    min-height: auto;
    top: inherit;
    position: static;
    bottom: 0;
  }

  .banner-txt-box .date {
    font-size: var(--font-size-16);
    margin-bottom: 0.4rem;
  }

  .banner-txt-box .title {
    font-size: var(--font-size-40);
    margin-bottom: 0.35rem;
    line-height: 1.5;
  }

  .banner-txt-box .subtitle {
    font-size: var(--font-size-16);
    margin-bottom: 0.8rem;
    height: auto;
    line-height: 1.5;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }

  .banner-txt-box .line-btn {
    padding: 0.2rem 0.6rem;
    font-size: var(--font-size-16);
    white-space: nowrap;
  }

  .news-container {
    padding: 0.5rem 0.3rem;
  }

  .news-title {
    margin-bottom: 0.4rem;
    line-height: 1.2;
  }

  .news-filters {
    flex-direction: column;
    gap: 0.4rem;
    align-items: stretch;
    margin-bottom: 0.5rem;
  }

  .filter-item {
    width: 100%;
  }

  .filter-select {
    font-size: var(--font-size-16);
    padding: 0.25rem 1.5rem 0.25rem 0;
  }

  .filter-item .feature-icon {
    font-size: var(--font-size-16);
    bottom: 0.25rem;
  }

  .month-picker-dropdown {
    max-height: 70vh;
    overflow-y: auto;
  }

  .month-picker-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .news-count {
    font-size: var(--font-size-16);
    margin-bottom: 0.5rem;
    text-align: center;
    line-height: 1.5;
  }

  .news-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
    margin-top: 0.5rem;
  }

  .news-image {
    margin-bottom: 0.6rem;
  }

  .news-date {
    font-size: var(--font-size-16);
    margin-bottom: 0.52rem;
  }

  .news-item-title {
    font-size: var(--font-size-22);
    line-height: 1.5;
    -webkit-line-clamp: 2;
    line-clamp: 2;
  }

  .news-pagination {
    margin-top: 1rem;
    padding: 0.5rem 0;
    flex-wrap: wrap;
    gap: 0.15rem;
  }

  .pagination-btn,
  .pagination-page {
    min-width: 0.4rem;
    height: 0.4rem;
    font-size: var(--font-size-14);
  }
}