/* 仅作用于标记后的文章区，兼容60个模板各自的页面容器。 */
#list.seo-article-list { height: auto; overflow: visible; }
#list.seo-article-list .pageList {
  position: static;
  top: auto;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  padding-top: 12px;
}
#list.seo-article-list .pageList > a {
  float: none;
  width: auto;
  min-width: 0;
  margin: 0;
}
#list.seo-article-list .pageList > a > span:first-child {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e1e1e1;
}
/* JS不可用时仍显示全部文字链接，不留下1400个透明占位缩略图。 */
#list.seo-article-list:not(.seo-list-ready) .pageList > a > span:first-child { display: none; }
#list.seo-article-list .pageList img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
#page-list.seo-pagination {
  position: static;
  top: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
#page-list.seo-pagination .page-num {
  display: inline-block;
  box-sizing: border-box;
  min-width: 36px;
  padding: 7px 10px;
  margin: 0;
  border: 1px solid #ccc;
  background: #fff;
  color: #333;
  font-size: 14px;
  line-height: 20px;
  text-decoration: none;
}
#page-list.seo-pagination .now { background: #247e61; border-color: #247e61; color: #fff; }
#page-list.seo-pagination .disabled { color: #777; background: #eee; }
#page-list.seo-pagination a:hover { border-color: #247e61; color: #247e61; }
#page-list.seo-pagination a:focus-visible,
#page-list.seo-pagination .now:focus-visible { outline: 2px solid #247e61; outline-offset: 3px; }
#article-page-status.article-page-status { margin-top: 12px; color: #555; font-size: 13px; line-height: 1.5; }
#article-empty.article-empty { padding: 32px 0; color: #555; }
#article-empty[hidden] { display: none; }
@media (max-width: 760px) {
  #middle3 { box-sizing: border-box; width: 100%; padding: 12px; }
  #list.seo-article-list .pageList { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
