/* Shared text-link feedback on light and dark backgrounds. */
body a:not(.logo):not(.project):not(.featured-project):not(.work-card),
body .work-filters button {
  transition: color .3s ease;
  text-decoration: none !important;
}
body .text-link, body .button, body .case-back,
body #work .all-projects-link { border-bottom: 0 !important; }
body .header nav a::after, body .header-contact::after,
body .text-link::after, body .button::after, body .case-back::after,
body .about-info a::after, body .work-filters button::after {
  content: none !important;
}
body a:not(.logo):not(.project):not(.featured-project):not(.work-card):hover,
body a:not(.logo):not(.project):not(.featured-project):not(.work-card):focus-visible,
body .work-filters button:hover, body .work-filters button:focus-visible {
  color: #888 !important;
  text-decoration: none !important;
}
body #work .all-projects-link:hover { opacity: 1; }
@media (prefers-reduced-motion: reduce) {
  body a, body .work-filters button { transition: none; }
}

/* Filters also inherit legacy #work border and decoration rules. */
body #work .work-filters button {
  border: 0 !important;
  text-decoration: none !important;
  box-shadow: none !important;
  background-image: none !important;
  color: #888;
}
body #work .work-filters button[aria-pressed="true"] { color: #111; }
body #work .work-filters button::before,
body #work .work-filters button::after { content: none !important; }

/* Keep the action arrow in the same text flow as its label. */
#work .all-projects-link,
.contact .contact-bottom .button {
  display: inline-block;
}
