/* 永續專區卡片 Hover 浮動過渡修復：Slide 15 (#vision) 與 Slide 17 (#health, #communication) (2026-11-24) */
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .esg .vision-grid .esg-card,
  .esg .health-grid .esg-card,
  .esg #communication .esg-grid .esg-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  }

  .esg .vision-grid .esg-card[data-esg-reveal]:not([data-esg-pending]),
  .esg .health-grid .esg-card[data-esg-reveal]:not([data-esg-pending]),
  .esg #communication .esg-grid .esg-card[data-esg-reveal]:not([data-esg-pending]) {
    transition-property: opacity, translate, transform, box-shadow, border-color;
    transition-duration: 0.85s, 0.85s, 0.3s, 0.3s, 0.3s;
    transition-delay: var(--esg-enter-delay, 0s), var(--esg-enter-delay, 0s), 0s, 0s, 0s;
    transition-timing-function: cubic-bezier(0.22, 1, 0.36, 1), cubic-bezier(0.22, 1, 0.36, 1), ease, ease, ease;
  }

  .esg .vision-grid .esg-card:is(:hover, :focus-within),
  .esg .health-grid .esg-card:is(:hover, :focus-within),
  .esg #communication .esg-grid .esg-card:is(:hover, :focus-within) {
    transform: translateY(-5px);
    border-color: #1959ff;
    box-shadow: 0 14px 28px #164c9b2b;
  }
}
