/* 新聞公告卡片式展示 */
#page_box .mybox_content { background: #fff; }

.news-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  padding: 28px 26px 32px;
  background: #fff;
}

.news-card {
  background: #fff;
  border: 1px solid #e4e9f2;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 3px 14px rgba(20,40,80,.08);
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.news-card:hover { transform: translateY(-4px); box-shadow: 0 10px 26px rgba(20,40,80,.18); }

.news-card-img {
  display: block;
  position: relative;
  height: 150px;
  overflow: hidden;
  background: linear-gradient(135deg, #1e2c51 0%, #2b4070 100%);
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-img .no-img {
  display: block; line-height: 150px; text-align: center;
  color: rgba(255,213,74,.5); font-size: 40px; font-weight: bold; letter-spacing: 6px;
}
.news-card-cat {
  position: absolute; left: 0; bottom: 0;
  background: rgba(168,36,16,.92); color: #fff;
  font-size: 11px; padding: 4px 12px; border-radius: 0 4px 0 0;
}

.news-card-body { padding: 16px 18px 14px; display: flex; flex-direction: column; flex: 1; }
.news-gallery .news-card .news-card-body h3 a,
#page_box .mybox_content .news-gallery .news-card .news-card-body h3 a { color: #1e2c51; }
.news-gallery .news-card .news-card-body h3 { font-size: 15px; line-height: 1.6; color: #1e2c51; margin: 0 0 10px; font-weight: bold; word-break: break-word; }
.news-gallery .news-card:hover .news-card-body h3 a { color: #a82410; }
.news-card-sum { font-size: 12px; line-height: 1.8; color: #7a869c; margin: 0 0 14px; flex: 1; word-break: break-all; }
.news-card-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #eef1f6; padding-top: 10px; }
.news-card-date { font-size: 12px; color: #99a4b8; }
#page_box .news-gallery .news-card .news-card-more { font-size: 12px; color: #a82410; }
#page_box .news-gallery .news-card .news-card-more:hover { text-decoration: underline; }

@media (max-width: 900px) {
  .news-gallery { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px 16px; }
}
@media (max-width: 600px) {
  .news-gallery { grid-template-columns: 1fr; }
}

/* 新聞詳情 */
#page_box .mybox_content .article-detail { background: #fff; }
.article-detail-head { padding: 26px 30px 18px; border-bottom: 2px solid #e8ecf4; }
.article-detail-head .article-back { font-size: 12px; color: #7a869c; }
.article-detail-head .article-back:hover { color: #a82410; }
#page_box .mybox_content .article-detail-head h1 { font-size: 22px; line-height: 1.55; color: #1e2c51; font-weight: bold; margin: 14px 0 12px; word-break: break-word; }
.article-meta { font-size: 12px; color: #99a4b8; }
.article-meta span { margin-right: 18px; }
.article-detail-img { text-align: center; padding: 22px 30px 0; }
.article-detail-img img { max-width: 100%; max-height: 420px; border-radius: 4px; box-shadow: 0 4px 16px rgba(20,40,80,.12); }
.article-detail-body { padding: 22px 30px 10px; font-size: 14px; line-height: 2; color: #3a4560; min-height: 200px; word-break: break-all; overflow-wrap: break-word; }
.article-detail-body img { max-width: 100%; height: auto; border-radius: 4px; }
.article-detail-body p { margin: 0 0 14px; }
.article-detail-body table { max-width: 100%; table-layout: fixed; }
.article-detail-body pre { white-space: pre-wrap; word-break: break-all; }
.article-detail-foot { padding: 10px 30px 28px; text-align: right; }
#page_box .mybox_content .article-detail-foot .article-back { font-size: 13px; color: #a82410; }

/* 分页：清晰的大翻页控件 */
#page_box .pagination { text-align: center; padding: 10px 0 36px; background: #fff; }
#page_box .pager { text-align: center; padding: 10px 0 36px; background: #fff; }
#page_box .pager ul { display: inline-flex; list-style: none; margin: 0; padding: 0; gap: 6px; align-items: center; flex-wrap: wrap; justify-content: center; }
#page_box .pager li { margin: 0; }
#page_box .pager li a,
#page_box .pager li span {
  display: inline-block; min-width: 40px; padding: 10px 16px;
  border: 1px solid #d8deea !important; border-radius: 4px;
  background: #fff !important; color: #1e2c51 !important;
  font-size: 14px; line-height: 1; text-align: center;
  transition: all .18s ease;
}
#page_box .pager li a:hover { background: #1e2c51 !important; color: #fff !important; border-color: #1e2c51 !important; }
#page_box .pager li.active span { background: #a82410 !important; color: #fff !important; border-color: #a82410 !important; }
#page_box .pager li.disabled span { color: #c2c9d6 !important; background: #f6f8fb !important; }
#page_box .pager li.pager-info { border: none; background: none !important; color: #99a4b8; font-size: 13px; padding-left: 12px; }

