/* Touch counterparts for interactions that respond to hover on a desktop. */
@media (hover: none) and (pointer: coarse) and (prefers-reduced-motion: no-preference) {
  body.home-page main .services .services-item > summary:is(:active, .motion-touch-active) .services-paperclip {
    transform: translateY(-2px) rotate(7deg);
  }
  body.home-page main .services .services-item > summary:is(:active, .motion-touch-active) .services-icon {
    transform: translateY(-2px);
  }
  body.home-page main .services .services-item > summary:is(:active, .motion-touch-active) .services-action {
    background-color: rgba(187, 215, 235, .64);
  }
  body.home-page main .services .services-item:not([open]) > summary:is(:active, .motion-touch-active) .services-toggle {
    transform: rotate(90deg);
  }
  body main :is(.catalog .service-index, .journal .journal-index) > article:has(a:is(:active, .motion-touch-active)) {
    transform: translateY(-4px);
    border-color: #7b9dc4;
    box-shadow: 0 17px 34px rgba(24, 51, 80, .17), 0 4px 8px rgba(24, 51, 80, .07);
  }
  body main :is(.catalog .service-index, .journal .journal-index) > article:has(a:is(:active, .motion-touch-active))::after {
    transform: translateY(-2px) rotate(10deg);
  }
  body main :is(.catalog .service-index, .journal .journal-index) > article a.read:is(:active, .motion-touch-active) svg,
  body main .related.related a:is(:active, .motion-touch-active) > span,
  body main .formats a:is(:active, .motion-touch-active) svg {
    transform: translateX(4px);
  }
  body.home-page main .working-format-steps button:is(:active, .motion-touch-active) svg {
    transform: translateX(4px);
  }
  body.home-page #keisy .case-select:is(:active, .motion-touch-active):not([aria-pressed='true']) {
    background: rgba(11, 58, 149, .07);
    transform: translateX(3px);
  }
  body.home-page #keisy .case-link:is(:active, .motion-touch-active) svg {
    transform: translate(3px, -3px);
  }
}
