/* 新前台列表/详情样式（旧 index.jsp 内联样式的迁移与补充） */
.main-content .post {
  background: #fff;
  border-radius: 8px;
  padding: 20px 25px;
  margin-bottom: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.2s;
}
.main-content .post:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}
.post-title a {
  font-size: 20px;
  font-weight: 600;
  color: #222;
  text-decoration: none;
}
.post-title a:hover {
  color: #007bff;
}
.article-detail .post-title {
  font-size: 24px;
  font-weight: 600;
  color: #222;
  margin-top: 0;
}
.jinghua-tag {
  color: #e74c3c;
  font-size: 16px;
}
.post-meta {
  color: #666;
  font-size: 13px;
  margin-top: 8px;
}
.post-content p {
  color: #444;
  line-height: 1.7;
  margin-top: 12px;
}
.article-body {
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.8;
}
.article-body img {
  max-width: 100%;
  height: auto;
}
.article-body pre {
  background: #f6f8fa;
  padding: 12px;
  border-radius: 4px;
  overflow-x: auto;
}
.list-header h3 {
  margin: 0 0 16px;
  font-size: 18px;
  color: #333;
}
mark {
  background: #ffe58f;
  padding: 0 2px;
}
.pagination-links {
  display: inline-block;
  padding-left: 0;
  margin: 0 0 8px;
  border-radius: 4px;
}
.pagination-links > li {
  display: inline;
}
.pagination-links > li > a,
.pagination-links > li > span {
  position: relative;
  float: left;
  padding: 6px 12px;
  margin-left: -1px;
  line-height: 1.42857143;
  color: #337ab7;
  text-decoration: none;
  background-color: #fff;
  border: 1px solid #ddd;
}
.pagination-links > li:first-child > a,
.pagination-links > li:first-child > span {
  margin-left: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}
.pagination-links > li:last-child > a,
.pagination-links > li:last-child > span {
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}
.pagination-links > li > a:hover {
  background-color: #eee;
}
.pagination-links > .active > a {
  z-index: 3;
  color: #fff;
  cursor: default;
  background-color: #337ab7;
  border-color: #337ab7;
}
.pagination-links > .disabled > span {
  color: #999;
  cursor: not-allowed;
  background-color: #fff;
}
.pagination-info {
  color: #888;
  font-size: 13px;
}
.related-list .related-item {
  line-height: 1.9;
  word-break: break-all;
}
.sidebar .widget form {
  margin: 0;
}
.error-page .post-title {
  font-size: 48px;
}
/* 宽屏化：大屏容器上限 1400px，auto 宽度保证 1200~1430px 视口不产生横向溢出；仅前台加载本文件 */
@media (min-width: 1200px) {
  .container {
    width: auto;
    max-width: 1400px;
  }
}
/* 详情页正文行宽上限，超宽屏下居中阅读 */
.article-text {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}
