/* Let each action carry its own meaning instead of a shared direction marker. */
.action-link {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  width: fit-content;
}

.action-icon {
  display: inline-block;
  width: 1.15em;
  height: 1.15em;
  flex: 0 0 auto;
  vertical-align: -.15em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.action-link > .action-icon {opacity: .75;}
.action-link:is(:hover, :focus-visible) > .action-icon {opacity: 1;}
.button.action-link {gap: 12px;}
.button.action-link > .action-icon {width: 20px; height: 20px; opacity: 1;}

.action-label,
.site-link {
  padding-bottom: 3px;
  background: linear-gradient(currentColor, currentColor) left bottom / 24px 1px no-repeat;
  transition: background-size var(--kp-motion-quick);
}

.action-link:is(:hover, :focus-visible) .action-label,
.site-link:is(:hover, :focus-visible) {background-size: 100% 1px;}
a.action-link:hover,
a.site-link:hover {text-decoration: none;}

.swatch .copy-label {
  display: flex;
  align-items: center;
  gap: 8px;
}

@media (prefers-reduced-motion: reduce) {
  .action-label, .site-link {transition: none;}
}
