/* ==== news/list.php ==== */
.content-section { padding:40px 16px 60px; }
.inner { max-width:1080px; margin:0 auto; }
.page-head { display:flex; justify-content:space-between; align-items:center; margin-bottom:24px; flex-wrap:wrap; gap:12px; }
.page-title { font-size:1.5rem; font-weight:700; }
.cat-tabs { display:flex; gap:0; border:1px solid #ddd; border-radius:6px; overflow:hidden; }
.cat-tabs a { padding:7px 16px; font-size:.85rem; text-decoration:none; color:#555; border-right:1px solid #ddd; }
.cat-tabs a:last-child { border-right:none; }
.cat-tabs a.on { background:#1a6b3c; color:#fff; font-weight:600; }
.cat-desc { color:#666; margin-bottom:20px; font-size:.9rem; }
.news-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:20px; }
.news-card { display:block; text-decoration:none; color:inherit; border:1px solid #eee; border-radius:8px; overflow:hidden; transition:box-shadow .2s; }
.news-card:hover { box-shadow:0 4px 16px rgba(0,0,0,.1); }
.card-thumb { aspect-ratio:16/9; overflow:hidden; background:#f0f0f0; }
.card-thumb img { width:100%; height:100%; object-fit:cover; }
.card-body { padding:14px; }
.badge-cat { display:inline-block; padding:2px 8px; border-radius:3px; color:#fff; font-size:.7rem; font-weight:700; margin-bottom:8px; }
.card-title { font-size:.9rem; font-weight:600; line-height:1.5; margin-bottom:6px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.card-summary { font-size:.8rem; color:#777; line-height:1.5; margin-bottom:8px; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.card-date { font-size:.75rem; color:#aaa; }
.empty-center { text-align:center; padding:60px 0; color:#aaa; }
.pagination { display:flex; justify-content:center; gap:6px; margin-top:40px; }
.pg-btn { display:inline-block; padding:6px 12px; border:1px solid #ddd; border-radius:4px; text-decoration:none; font-size:.85rem; color:#444; white-space:nowrap; }
.pg-btn.on { background:#1a6b3c; color:#fff; border-color:#1a6b3c; }
@media(max-width:768px){ .news-grid { grid-template-columns:repeat(2,1fr); } }
@media(max-width:480px){ .news-grid { grid-template-columns:1fr; } .page-head { flex-direction:column; align-items:flex-start; } }

/* ==== news/view.php ==== */
.content-section { padding:40px 16px 60px; }
.news-view-inner { max-width:800px; margin:0 auto; }
.article-head { margin-bottom:24px; }
.badge-cat-lg { display:inline-block; padding:4px 14px; border-radius:4px; color:#fff; font-size:.9rem; font-weight:700; margin-bottom:14px; }
.article-title { font-size:2rem; font-weight:800; line-height:1.4; margin-bottom:14px; }
.article-meta { display:flex; gap:16px; font-size:.95rem; color:#888; flex-wrap:wrap; }
.source-link { color:#1a6b3c; text-decoration:none; font-weight:600; }
.article-thumb { margin:20px 0; }
.article-thumb img { width:100%; border-radius:6px; }
.article-content-empty { color:#aaa; font-size:1.05rem; margin:20px 0 32px; }
.articleView { font-size:1.15rem; line-height:1.95; color:#222; margin:20px 0 32px; word-break:break-word; }
.articleView p { margin:0 0 16px; }
.article-byline { text-align:right; font-size:1rem; color:#666; margin:0 0 20px; }
.article-footer { padding-top:20px; border-top:1px solid #eee; }
.btn-back { display:inline-block; padding:9px 20px; border:1px solid #ddd; border-radius:4px; text-decoration:none; font-size:1rem; color:#555; }
.btn-back:hover { background:#f5f5f5; }
.related-news { margin-top:48px; padding-top:32px; border-top:2px solid #eee; }
.related-title { font-size:1.15rem; font-weight:700; margin-bottom:16px; }
.related-xml-list { list-style:none; padding:0; margin:0; border-top:1px solid #eee; }
.related-xml-list li { border-bottom:1px solid #f0f0f0; }
.related-xml-item { display:flex; align-items:center; gap:12px; padding:12px 4px; text-decoration:none; color:inherit; }
.related-xml-item:hover .related-xml-title { color:#1a6b3c; }
.related-xml-thumb { width:72px; height:50px; object-fit:cover; border-radius:4px; flex-shrink:0; background:#f0f0f0; }
.related-xml-title { font-size:1rem; font-weight:500; line-height:1.45; display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
@media(max-width:480px){ .article-title { font-size:1.5rem; } .related-xml-thumb { width:56px; height:40px; } }
