/* Typed news pages (news.php, post.php) */
.np-wrap { max-width: 1200px; margin: 0 auto; padding: 22px 16px 50px; }
.np-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 12px; }
.np-h1 { margin: 0; font-size: 28px; line-height: 1.2; }
.np-search input { padding: 9px 14px; border: 1px solid #cbd5e1; border-radius: 999px; min-width: 220px; font: inherit; }
.np-cats { display: flex; gap: 8px; overflow-x: auto; padding: 4px 0 14px; scrollbar-width: thin; }
.np-cats a { flex: 0 0 auto; padding: 6px 14px; border-radius: 999px; background: #f1f5f9; color: #0f172a; text-decoration: none; font-size: 14px; font-weight: 600; }
.np-cats a.on { background: #e11d2e; color: #fff; }
.np-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.np-card { background: #fff; border: 1px solid #e2e8f0; border-radius: 14px; overflow: hidden; transition: box-shadow .15s; }
.np-card:hover { box-shadow: 0 8px 24px rgba(15,23,42,.1); }
.np-link { color: inherit; text-decoration: none; display: flex; flex-direction: column; height: 100%; }
.np-img { aspect-ratio: 16/10; background: #e2e8f0; overflow: hidden; }
.np-img img { width: 100%; height: 100%; object-fit: cover; object-position: top; display: block; }
.np-body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 6px; }
.np-tag { align-self: flex-start; font-size: 12px; font-weight: 800; color: #e11d2e; text-transform: uppercase; letter-spacing: .04em; }
.np-title { margin: 0; font-size: 18px; line-height: 1.35; }
.np-ex { margin: 0; color: #475569; font-size: 14.5px; line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.np-time { color: #94a3b8; font-size: 12.5px; }
.np-lead { grid-column: 1 / -1; }
.np-lead .np-link { flex-direction: row; }
.np-lead .np-img { flex: 0 0 58%; aspect-ratio: auto; min-height: 320px; }
.np-lead .np-body { justify-content: center; padding: 24px; }
.np-lead .np-title { font-size: 30px; }
.np-lead .np-ex { font-size: 16px; -webkit-line-clamp: 5; }
.np-empty { text-align: center; color: #64748b; padding: 60px 0; }
.np-pager { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: 28px; }
.np-pager a { padding: 8px 16px; border: 1px solid #cbd5e1; border-radius: 10px; text-decoration: none; color: #0f172a; font-weight: 600; }

.np-article-wrap { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 36px; align-items: start; }
.np-article { max-width: 780px; }
.np-crumb { font-size: 14px; color: #64748b; margin-bottom: 8px; } .np-crumb a { color: #e11d2e; text-decoration: none; font-weight: 600; }
.np-a-title { margin: 0 0 10px; font-size: 34px; line-height: 1.3; }
.np-meta { color: #64748b; font-size: 14px; margin-bottom: 16px; }
.np-fig { margin: 0 0 18px; } .np-fig img { width: 100%; height: auto; border-radius: 12px; display: block; border: 1px solid #e2e8f0; }
.np-lede { font-size: 19px; font-weight: 600; line-height: 1.6; color: #334155; margin: 0 0 18px; }
.np-content { font-size: 19px; line-height: 1.9; color: #1e293b; }
.np-content p { margin: 0 0 1.1em; } .np-content h2, .np-content h3 { line-height: 1.35; margin: 1.4em 0 .5em; }
.np-content blockquote { margin: 1.2em 0; padding: 4px 18px; border-left: 4px solid #e11d2e; color: #475569; background: #f8fafc; }
.np-content a { color: #1d4ed8; }
.np-share { display: flex; gap: 8px; flex-wrap: wrap; margin: 26px 0 10px; }
.np-share a { padding: 9px 16px; border-radius: 999px; color: #fff; text-decoration: none; font-weight: 700; font-size: 14px; }
.np-share .wa { background: #25d366; } .np-share .fb { background: #1877f2; } .np-share .x { background: #000; } .np-share .tg { background: #0088cc; }
.np-source a { display: inline-block; padding: 10px 16px; border: 1px solid #e11d2e; color: #e11d2e; border-radius: 10px; font-weight: 700; text-decoration: none; }
.np-related { position: sticky; top: 16px; }
.np-related h2 { font-size: 18px; margin: 0 0 10px; padding-bottom: 8px; border-bottom: 3px solid #e11d2e; }
.np-rel { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid #e2e8f0; color: inherit; text-decoration: none; align-items: flex-start; }
.np-rel img { width: 88px; height: 58px; object-fit: cover; object-position: top; border-radius: 6px; flex: 0 0 auto; background: #e2e8f0; }
.np-rel span { font-weight: 600; line-height: 1.4; font-size: 15px; }
@media (max-width: 900px) {
  .np-article-wrap { grid-template-columns: 1fr; } .np-related { position: static; }
  .np-lead .np-link { flex-direction: column; } .np-lead .np-img { flex: none; min-height: 0; aspect-ratio: 16/10; } .np-lead .np-title { font-size: 23px; }
  .np-a-title { font-size: 26px; } .np-content { font-size: 18px; }
}

.np-kicker { color: #e11d2e; font-weight: 800; font-size: 20px; line-height: 1.4; margin: 6px 0 4px; }
.np-clip { margin: 18px 0; border: 1px solid #e2e8f0; border-radius: 10px; padding: 10px 14px; background: #f8fafc; }
.np-clip summary { cursor: pointer; font-weight: 700; } .np-clip img { width: 100%; height: auto; margin-top: 10px; border-radius: 8px; }
