/* Archive category states mirror the Pricing controls. */
body[data-archive="true"] .category-card {
  transition: background-color .22s ease, border-color .22s ease, color .22s ease, box-shadow .22s ease;
}
body[data-archive="true"] .category-card :is(.category-number, .category-title, .category-description) {
  transition: color .22s ease;
}
@media (hover: hover) and (pointer: fine) {
  body[data-archive="true"] .category-card[aria-pressed="false"]:hover {
    background-color: var(--journal-rose);
    border-color: var(--journal-red);
    box-shadow: none;
  }
}
body[data-archive="true"] .category-card[aria-pressed="true"] {
  background-color: var(--journal-red);
  border-color: var(--journal-red);
  color: #fff;
  box-shadow: none;
}
body[data-archive="true"] .category-card[aria-pressed="true"] :is(.category-title, .category-description) { color: #fff; }
body[data-archive="true"] .category-card[aria-pressed="true"] .category-number { color: #ffd6d6; }
@media (prefers-reduced-motion: reduce) {
  body[data-archive="true"] .category-card,
  body[data-archive="true"] .category-card :is(.category-number, .category-title, .category-description) {
    transition: none !important;
  }
}
