/**
 * Category archive list — align with home card tone.
 *
 * Scope: category archives only (enqueued via is_category()).
 */

.category .p-postList__item {
  border: 1px solid var(--wynx-line);
  background-color: var(--color_bg);
  transition: border-color 0.2s ease;
}

.wynx-categoryHead {
  padding: 2.5rem 0 2rem;
  border-bottom: 1px solid var(--wynx-line);
}

.wynx-categoryHead h1 {
  margin: 0.5rem 0 0.75rem;
  color: var(--color_htag);
  font-size: 2rem;
}

.wynx-categoryHead > p:last-child {
  max-width: 44rem;
  margin: 0;
  color: var(--wynx-muted);
  line-height: 1.8;
}

.wynx-reviewTabs {
  display: flex;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.wynx-reviewTabs a {
  padding-bottom: 0.35rem;
  color: var(--wynx-muted);
  font-weight: 700;
  text-decoration: none;
}

.wynx-reviewTabs a[aria-current="page"] {
  border-bottom: 2px solid var(--wynx-brass);
  color: var(--color_htag);
}

.wynx-archiveNotice {
  margin: 2rem 0 0;
  padding: 1rem 1.25rem;
  border-left: 3px solid var(--wynx-brass-ink);
  background: var(--wynx-brass-tint);
}

.wynx-categoryList {
  margin-top: 2.5rem;
}

.category .p-postList__item:hover {
  border-color: var(--wynx-brass);
}

.category .p-postList__link {
  color: inherit;
}

.category .p-postList__body {
  background-color: var(--color_bg);
}

.category .p-postList__title {
  color: var(--color_htag);
}

.category .p-postList__title a {
  color: var(--color_htag);
  text-decoration: none;
}

.category .p-postList__title a:hover {
  color: var(--wynx-brass-ink);
}

.category .c-postThumb__cat {
  background: none;
  background-color: transparent;
  color: var(--wynx-brass-ink);
  border: 0;
  margin: 0.5rem;
  padding: 0;
  font-family: var(--wynx-mono);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
  border-radius: 0;
}

.category .p-postList__meta {
  font-family: var(--wynx-mono);
  font-size: 0.75rem;
  color: var(--wynx-muted);
}

@media (prefers-reduced-motion: reduce) {
  .category .p-postList__item {
    transition: none;
  }
}
