/* ARAYA 404 + category-archive — small extras not already covered by inner.css/academy.css.
   Colors/fonts from tokens.css ONLY (CONVENTIONS §1). Reuses .an-inner-hero/.an-inner-title/
   .an-kicker-light/.an-crumb/.an-acad-articles-grid/.an-acad-article from inner.css/academy.css —
   this file only adds the 404 "way forward" grid, the category empty-state, and pagination. */

/* 404 */
.an-nf-sub { color: var(--an-sand); font-size: 17px; line-height: 1.75; max-width: 62ch; margin: 18px 0 0; }
.an-nf-ways { background: var(--an-cream); }
.an-nf-ways .an-wrap { padding: clamp(44px,6vw,68px) 20px; }
.an-nf-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.an-nf-card { display: block; }

/* category archive hero: reuse .an-inner-hero, description reuses .an-nf-sub above */
.an-cat-hero .an-inner-title { max-width: 26ch; }
.an-cat-articles { background: var(--an-cream); }
.an-cat-articles .an-wrap { padding: clamp(44px,5vw,64px) 20px; }

/* empty state */
.an-cat-empty { text-align: center; padding: clamp(40px,5vw,64px) 20px; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.an-cat-empty p { font-size: 17px; color: var(--an-ink-soft); margin: 0; }

/* pagination (core the_posts_pagination markup: <nav><div class="nav-links"><a/span class="page-numbers">)
   minimally skinned with design tokens */
.an-cat-articles .nav-links { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.an-cat-articles .page-numbers { padding: 9px 15px; border-radius: var(--an-radius-pill); border: 1.5px solid rgba(94,27,38,.18); color: var(--an-maroon); text-decoration: none; font-size: 14.5px; font-weight: 600; display: inline-block; }
.an-cat-articles a.page-numbers:hover { border-color: var(--an-gold-strong); background: rgba(198,161,91,.08); }
.an-cat-articles .page-numbers.current { background: var(--an-maroon); border-color: var(--an-maroon); color: var(--an-cream); }
.an-cat-articles .page-numbers.dots { border: 0; color: var(--an-ink-muted); }

@media (max-width: 1024px) {
  .an-nf-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .an-nf-grid { grid-template-columns: 1fr; }
}
