/* 移动端 · 新闻列表 / 详情 */

.m-news-list {
  padding: 8px 0 28px;
}

.m-news-item {
  display: block;
  padding: 18px 20px;
  border-bottom: 1px solid #eee;
  text-decoration: none;
  color: inherit;
}

.m-news-item:active {
  background: #f7f7f7;
}

.m-news-item .thumb {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: #f0f0f0;
}

.m-news-item .title {
  margin: 12px 0 0;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.45;
  color: #1a1a1a;
}

.m-news-item .summary {
  margin: 8px 0 0;
  font-size: 13px;
  line-height: 1.65;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.m-news-item .date {
  margin: 10px 0 0;
  font-size: 12px;
  color: #999;
}

.m-news-pager {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 20px 20px 8px;
}

.m-news-pager button {
  min-width: 36px;
  padding: 8px 12px;
  border: 1px solid #ddd;
  background: #fff;
  color: #333;
  font-size: 13px;
  border-radius: 4px;
}

.m-news-pager button.is-active {
  border-color: #1a1a1a;
  background: #1a1a1a;
  color: #fff;
  font-weight: 700;
}

.m-news-pager button:disabled {
  opacity: 0.4;
}

.m-news-pager .info {
  width: 100%;
  text-align: center;
  font-size: 12px;
  color: #888;
  margin-bottom: 4px;
}

.m-news-empty,
.m-news-loading {
  padding: 40px 20px;
  text-align: center;
  font-size: 14px;
  color: #888;
}

/* 详情 */
.m-news-detail {
  padding: 20px 20px 40px;
}

.m-news-detail .title {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
}

.m-news-detail .meta {
  margin: 14px 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 12px;
  color: #999;
}

.m-news-detail .meta a {
  color: #666;
  text-decoration: none;
}

.m-news-detail .body {
  margin-top: 22px;
  font-size: 15px;
  line-height: 1.85;
  color: #333;
}

.m-news-detail .body img {
  max-width: 100%;
  height: auto;
  margin: 12px 0;
}

.m-news-detail .body p {
  margin: 0 0 14px;
}

.m-news-detail .body h2,
.m-news-detail .body h3 {
  margin: 22px 0 10px;
  font-size: 17px;
  color: #1a1a1a;
}
