/* 基础重置 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.clearfix::after {
  content: "";
  display: table;
  clear: both;
}

/* 通用内容样式 */
.content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px;
}

/* 面包屑导航 */
.breadcrumb.mod {
  padding: 12px 0;
  font-size: 0.9em;
  color: #666;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.breadcrumb.mod a {
  color: #138D77;
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 4px;
  transition: background 0.3s;
}

.breadcrumb.mod a:hover {
  background: #f5f5f5;
}

/* 文章列表容器 */
.article_list.mod {
  margin-top: 20px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}

.list_title {
  padding: 20px;
  border-bottom: 2px solid #f0f0f0;
}

.list_title h1 {
  font-size: 24px;
  color: #333;
  position: relative;
  padding-left: 30px;
}

.list_title h1::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: url(../images/5.png) no-repeat center/contain;
}

/* 图片列表区域 */
.list_content_pic ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  padding: 30px;
}

.list_content_pic li {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.list_content_pic li:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.list_content_pic img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-bottom: 3px solid #138D77;
}

.list_content_pic span {
  display: block;
  padding: 15px;
  font-size: 16px;
  font-weight: 600;
  color: #333;
}

.list_content_pic p {
  padding: 0 15px 15px;
  color: #666;
  line-height: 1.6;
  font-size: 14px;
}

/* 文字列表区域 */
.list_content_words ul {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 5px;
  padding: 10px;
}

.list_content_words li {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  transition: all 0.3s;
  border: 1px solid #eee;
}

.list_content_words li:hover {
  border-color: #1d49e6;
  background: #f8fbfa;
}

.list_content_words a {
  color: #333;
  text-decoration: none;
  display: block;
}

.list_content_words span {
  color: #138D77;
  font-size: 16px;
  display: block;
}

.list_content_words a:hover span {
  color: #0e6b5b;
}

/* 分页样式 */
.pagination {
  padding: 30px;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.page-item {
  min-width: 36px;
  height: 36px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: #f5f5f5;
  color: #666;
  transition: all 0.3s;
  cursor: pointer;
  border: 1px solid transparent;
}

.page-item.st {
  background: #138D77;
  color: white;
}

.page-item:hover {
  background: #138D77;
  color: white;
  border-color: #0e6b5b;
}

/* 移动端适配 */
@media screen and (max-width: 768px) {
  .content {
    padding: 10px;
  }

  .list_title h1 {
    font-size: 20px;
    padding-left: 25px;
  }

  .list_content_pic ul,
  .list_content_words ul {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 15px;
  }

  .list_content_pic img {
    height: 150px;
  }

  .list_content_pic span {
    font-size: 15px;
  }

  .list_content_words li {
    padding: 15px;
  }

  .pagination {
    flex-wrap: wrap;
    padding: 15px;
  }

  .page-item {
    font-size: 14px;
    min-width: 30px;
    height: 30px;
  }

  .breadcrumb.mod {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
}

@media screen and (max-width: 480px) {
  .list_content_pic img {
    height: 120px;
  }

  .list_content_words span {
    font-size: 16px;
  }

  .page-item {
    padding: 0 8px;
    min-width: 28px;
  }
}