/* 
  lists_article.htm 模板配套 CSS
  采用了 .lists-article 进行样式隔离，所有新增样式须以该类名为前缀
*/

.lists-article .article-banner {
  position: relative;
  width: 100%;
  height: 359px;
  margin-top: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  background: #24335b;
}

.lists-article .article-banner .banner-bg-gradient {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(157.98deg, #24335b 23%, #004373 77%);
  z-index: 1;
}

.lists-article .article-banner .banner-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.2;
  z-index: 2;
  pointer-events: none;
}

.lists-article .article-banner .banner-inner {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 998px;
  margin: 0 auto;
  display: flex;
  justify-content: flex-start;
}

.lists-article .article-banner .banner-content {
  width: 100%;
  border-left: 3px solid #e7581a;
  padding-left: 64px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lists-article .article-banner .banner-title {
  font-family: 'Open Sans Condensed', 'Noto Sans SC', 'Microsoft YaHei', sans-serif;
  font-weight: 700;
  font-size: 36px;
  color: #ffffff;
  line-height: 1.2;
  margin-bottom: 24px;
  white-space: pre-wrap;
}

.lists-article .article-banner .banner-date {
  font-family: 'Open Sans Condensed', 'Microsoft YaHei', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #ffffff;
  letter-spacing: -0.2px;
}

/* 面包屑导航样式更新 - 精确匹配截图效果 */
.lists-article .breadcrumbs-wrapper {
  background-color: #ffffff;
  width: 100%;
}

.lists-article .breadcrumbs {
  box-sizing: border-box;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  padding: 49px 0;
  max-width: 998px; /* 匹配 banner 宽度 */
  margin: 0 auto;
  
  font-family: 'Inter', 'Noto Sans SC', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: normal;
  text-align: left;
  color: #00437A;
}

/* 链接及文本样式 */
.lists-article .breadcrumbs a,
.lists-article .breadcrumbs span {
  color: #00437A;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.lists-article .breadcrumbs a:hover {
  text-decoration: underline;
}

/* 最后一个 span（当前位置）不需要 a 标签颜色，通常为深灰色 */
.lists-article .breadcrumbs span:last-child {
  color: #353535;
}

/* 通过伪元素实现分隔符图标 - 精确匹配截图中小箭头样式 */
.lists-article .breadcrumbs a::after,
.lists-article .breadcrumbs span:not(:last-child)::after {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  margin: 0 15px;
  background-image: url("data:image/svg+xml,%3Csvg width='7' height='7' viewBox='0 0 7 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 1.5L4.5 3.5L2 5.5' stroke='%2300437a' stroke-width='1.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}

/* 隐藏 EyouCMS 默认生成的文字分隔符 */
.lists-article .breadcrumbs {
  color: transparent !important;
}
/* 必须显式恢复子元素颜色 */
.lists-article .breadcrumbs a,
.lists-article .breadcrumbs span {
  color: #00437A !important;
}
.lists-article .breadcrumbs span:last-child {
  color: #353535 !important;
}

/* 列表区样式 */
.lists-article .list-section {
  padding: 60px 0 100px;
}

.lists-article .article-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.lists-article .article-card {
  background: #ffffff;
  border: 1px solid #eeeeee;
}

.lists-article .article-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.lists-article .article-info {
  padding: 24px;
}

.lists-article .article-card-title {
  font-size: 18px;
  margin-bottom: 15px;
  color: #333;
}

.lists-article .article-excerpt {
  font-size: 14px;
  color: #666;
  margin-bottom: 20px;
  line-height: 1.6;
}

.lists-article .article-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: #999;
}

.lists-article .pagination-wrapper {
  margin-top: 50px;
  text-align: center;
}

/* 响应式适配 */
@media (max-width: 1199px) {
  .lists-article .article-banner .banner-inner,
  .lists-article .breadcrumbs,
  .lists-article .container {
    max-width: 90%;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (max-width: 991px) {
  .lists-article .article-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .lists-article .article-banner {
    height: 300px;
  }
  .lists-article .article-grid {
    grid-template-columns: 1fr;
  }
  .lists-article .breadcrumbs {
    padding: 20px 0;
  }
}
