/* ข่าวตัวหนังสือ + ประกาศทีมงาน ในแท็บ "ประกาศ" ของหน้าต่างวันนี้ (client/news-feed.js · herald-retire-1110)
   ขนาดตัวอักษรใช้ตัวแปรกลาง ui-scale (ไม่มี px ตรง ๆ) · เลื่อนอยู่ใน .ck-pane ของหน้าต่าง — กรอบไม่ขยับตอนสลับแท็บ */
.nf { display: flex; flex-direction: column; gap: 10px; margin-top: 10px; }
.nf-go { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.nf-gobtn { display: flex; align-items: center; gap: 8px; min-height: var(--btn-h, 44px); padding: 6px 12px; border: 0; border-radius: 12px; cursor: pointer;
  background: #fffaf0; box-shadow: inset 0 0 0 2px #ead8ad; font: 600 var(--fs-sm, 14px)/1.2 var(--font-head, sans-serif); color: #4a3418; text-align: left; }
.nf-gobtn:hover { box-shadow: inset 0 0 0 2px #e8b64a; }
.nf-gobtn span { flex: 1; min-width: 0; }
.nf-gobtn i { font-style: normal; color: #b09060; font-size: var(--fs-name, 18px); }
.nf-notice { padding: 9px 12px; border-radius: 10px; background: #eef7f6; border: 1px solid #9cc9c4; font-size: var(--fs-sm, 14px); color: #1f4f52; }
.nf-sh { padding-bottom: 5px; border-bottom: 1px dashed #dcc48e; }
.nf-sh b { font: 700 var(--fs-name, 18px)/1.2 var(--font-head, sans-serif); color: #5b3a10; }
.nf-list { display: flex; flex-direction: column; gap: 8px; }
.nf-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto 14px; gap: 10px; align-items: start; padding: 9px 12px; border-radius: 11px;
  background: #fffdf6; border: 1px solid #ead8ad; cursor: pointer; }
.nf-row:hover, .nf-row.open { border-color: #c9a86a; }
.nf-ic { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 10px; background: #eef4ef; font-size: var(--fs-title, 20px); }
.nf-ic img { width: 34px; height: 34px; object-fit: contain; display: block; }
.nf-tx b { display: flex; align-items: center; gap: 6px; font-size: var(--fs-sm, 14px); color: #3b2a10; }
.nf-tx p { margin: 2px 0 0; font-size: var(--fs-xs, 12px); line-height: 1.45; color: #6b5a3a; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nf-row.open .nf-tx p { -webkit-line-clamp: unset; }
.nf-full { margin-top: 8px; padding-top: 8px; border-top: 1px dashed #dcc48e; font-size: var(--fs-sm, 14px); line-height: 1.65; color: #4a3a22; }
.nf-row time { font-size: var(--fs-xs, 12px); color: #8a6a3a; white-space: nowrap; padding-top: 2px; }
.nf-chev { color: #b09060; font-size: var(--fs-title, 20px); line-height: 1; align-self: center; }
.nf-dot { width: 8px; height: 8px; border-radius: 50%; background: #5cbf6a; flex: none; }
.nf-dot.b-ใหม่ { background: #5aa0e0; } .nf-dot.b-สำคัญ { background: #e0443a; }
.nf-empty { padding: 14px; text-align: center; font-size: var(--fs-sm, 14px); color: #8a6a3a; }
@container ckw (max-width: 720px) {
  .nf-row { grid-template-columns: 34px minmax(0, 1fr) 12px; gap: 8px; }
  .nf-row time { display: none; }
  .nf-ic { width: 34px; height: 34px; }
  .nf-ic img { width: 28px; height: 28px; }
}
