/* หน้า "ข่าวและประชาสัมพันธ์ทั้งหมด" (ธีม Modern) — ใช้ modern.css ร่วมกัน ไฟล์นี้เติมเฉพาะส่วนของหน้านี้ */
.n-body { background: var(--cream); }
.n-page { min-height: 70vh; padding: calc(var(--top) + 32px) 0 clamp(64px, 8vw, 110px); }
.n-crumb { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; font-size: .95rem; color: var(--mute); }
.n-crumb a { color: var(--ink); text-decoration: none; font-weight: 500; }
.n-crumb a:hover { text-decoration: underline; text-underline-offset: 4px; }
.n-crumb svg { width: 14px; height: 14px; flex: none; }
.n-crumb [aria-current] { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.n-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; font-size: .95rem; font-weight: 500; color: var(--ink); text-decoration: none; }
.n-back svg { width: 18px; height: 18px; transition: transform .2s; }
.n-back:hover svg { transform: translateX(-4px); }
.n-title { font-size: clamp(2.2rem, 1.3rem + 3vw, 3.75rem); }
.n-sub { margin-top: 14px; max-width: 58em; color: var(--mute); opacity: 1; text-wrap: balance; }
.n-bar { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: 14px 28px; margin-top: 40px; padding-bottom: 6px; border-bottom: 1px solid rgba(17, 17, 17, .2); }
.n-bar .m-tabs { flex: 1 1 auto; }
.n-tools { display: flex; align-items: center; gap: 12px; padding-bottom: 8px; }
.n-sort select { appearance: none; -webkit-appearance: none; height: 40px; padding: 0 40px 0 18px; border: 1px solid var(--line); border-radius: 99px; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23111' stroke-width='1.6' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat right 16px center; font-size: .975rem; color: var(--ink); cursor: pointer; }
.n-sort select:hover { background-color: #fff; }
.n-page .m-count { margin: 16px 0 18px; }
.n-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.n-card { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 12px; transition: transform .35s, box-shadow .35s; animation: nIn .5s cubic-bezier(.2, .8, .2, 1) backwards; animation-delay: calc(var(--i, 0) * 50ms); }
.n-card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(0, 0, 0, .1); }
.n-card .m-ncard-img { aspect-ratio: 16 / 9; }
.n-card .n-more-link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 500; font-size: .975rem; }
.n-card .n-more-link .m-circ { width: 28px; height: 28px; }
.n-card:hover .n-more-link .m-circ { background: var(--ink); color: #fff; }
@keyframes nIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.n-more { display: flex; justify-content: center; margin-top: 40px; }
.n-more[hidden] { display: none; }
.n-morebtn { min-height: 48px; padding: 0 8px 0 24px; gap: 14px; font-size: 1rem; }
.n-morebtn[hidden] { display: none; }
.n-morebtn:hover { background: var(--ink); color: #fff; }
.n-morebtn .m-circ { width: 34px; height: 34px; }
.n-empty { grid-column: 1 / -1; padding: 56px 24px; text-align: center; border: 1px dashed rgba(17, 17, 17, .35); border-radius: 12px; color: var(--mute); display: grid; gap: 16px; justify-items: center; }
@media (max-width: 1000px) { .n-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 640px) {
  .n-grid { grid-template-columns: minmax(0, 1fr); }
  .n-tools { width: 100%; flex-wrap: wrap; }
  .n-tools .m-find { flex: 1 1 100%; width: 100%; }
  .n-sort { flex: 1 1 100%; }
  .n-sort select { width: 100%; }
  .n-crumb { display: none; }
  .m-tools { margin-left: auto; }
}
@media (prefers-reduced-motion: reduce) { .n-card { animation: none; } }
