/* ============================================
   内页样式 - 从零编写
   ============================================ */

/* --- 文章列表 --- */
.article-list { list-style: none; padding: 0; }
.article-list li {
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  position: relative;
  overflow: hidden;
}
.article-list .news-data {
  float: left;
  width: 60px;
  text-align: center;
  margin-right: 20px;
}
.article-list .news-data .year { font-size: 18px; color: #c00; display: block; }
.article-list .news-data .md { font-size: 12px; color: #999; display: block; }
.article-list .news-detail { overflow: hidden; }
.article-list h5 { font-size: 16px; margin-bottom: 8px; }
.article-list h5 a { color: #333; }
.article-list h5 a:hover { color: #cd0000; }
.article-list .remark { font-size: 13px; color: #666; line-height: 22px; }
.article-list .news-more {
  display: inline-block;
  margin-top: 10px;
  color: #cd0000;
  font-size: 12px;
  border-bottom: 1px solid #cd0000;
}
.article-list .posi_url {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}

/* --- 文章详情 --- */
.article-detail .meta {
  color: #999;
  font-size: 13px;
  margin-bottom: 20px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}
.article-detail .body {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}
.article-detail .body img { max-width: 100%; height: auto; margin: 15px 0; }
.article-detail .body p { margin-bottom: 15px; }
.article-detail .back-link {
  display: inline-block;
  margin-top: 30px;
  padding: 8px 20px;
  border: 1px solid #ddd;
  color: #555;
  font-size: 13px;
  border-radius: 3px;
  transition: all 0.3s;
}
.article-detail .back-link:hover { border-color: #cd0000; color: #cd0000; }

/* --- 产品/图片网格 --- */
.product-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}
.product-list .item {
  width: calc(25% - 15px);
  text-align: center;
  overflow: hidden;
}
.product-list .item .img-wrap {
  display: block;
  overflow: hidden;
  border: 1px solid #eee;
  margin-bottom: 10px;
  height: 220px;
}
.product-list .item .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.product-list .item:hover .img-wrap img {
  transform: scale(1.02);
}

/* --- 内页顶部配图 --- */
.page-header {
  width: 100%;
  min-width: 1150px;
  height: 250px;
  background: url(/style/images/banner.jpg) no-repeat center center;
  background-size: cover;
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-header h2 {
  font-size: 32px;
  color: #fff;
  text-shadow: 0 2px 8px rgba(0,0,0,0.5);
  letter-spacing: 4px;
}
.product-list .item h5 { font-size: 14px; }
.product-list .item h5 a { color: #333; }
.product-list .item h5 a:hover { color: #cd0000; }

/* --- 单页面内容 --- */
.page-content {
  font-size: 15px;
  line-height: 1.8;
  color: #333;
}
.page-content img { max-width: 100%; height: auto; margin: 15px 0; }
.page-content p { margin-bottom: 15px; }

/* --- 留言表单 --- */
.message-form .form-group { margin-bottom: 18px; }
.message-form input,
.message-form textarea {
  width: 100%;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 3px;
  font-size: 14px;
  transition: border-color 0.3s;
}
.message-form input:focus,
.message-form textarea:focus { border-color: #cd0000; }
.message-form textarea { min-height: 120px; resize: vertical; }
.message-form .btn-submit {
  padding: 12px 40px;
  background: #cd0000;
  color: #fff;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  transition: background 0.3s;
}
.message-form .btn-submit:hover { background: #a80000; }

/* --- 分页（内页） --- */
.page-list {
  text-align: center;
  padding: 30px 0;
}
.page-list a,
.page-list span {
  display: inline-block;
  padding: 6px 14px;
  margin: 0 3px;
  border: 1px solid #ddd;
  color: #555;
  font-size: 13px;
  border-radius: 3px;
  transition: all 0.3s;
}
.page-list a:hover { border-color: #cd0000; color: #cd0000; }
.page-list .thisclass { background: #cd0000; color: #fff; border-color: #cd0000; }
