/*
 Theme Name:   Twenty Twenty-Five Child
 Template:     twentytwentyfive
 Author:       PsLing
 Version:      1.0.0
*/

/* 必要であればここにカスタムCSSを追記 *//*
 Theme Name:   Twenty Twenty-Five Child
 Template:     twentytwentyfive
 Author:       PsLing
 Version:      1.0.0
*/

/*
 * Navigation link interaction
 * Match the PSNY header/footer underline motion while preserving PsLing's
 * existing typography, colors, spacing, and semantic tracking attributes.
 */
.ps-global-header .wp-block-navigation-item__content,
.ps-footer-nav-col ul li a {
  position: relative;
  display: inline-block;
  padding-bottom: 4px;
  text-decoration: none !important;
}

.ps-global-header .wp-block-navigation-item__content::after,
.ps-footer-nav-col ul li a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.45s cubic-bezier(0.22, 0.61, 0.36, 1);
}

.ps-global-header .wp-block-navigation-item__content:is(:hover, :focus-visible)::after,
.ps-footer-nav-col ul li a:is(:hover, :focus-visible)::after {
  transform: scaleX(1);
  transform-origin: left;
}

@media (prefers-reduced-motion: reduce) {
  .ps-global-header .wp-block-navigation-item__content::after,
  .ps-footer-nav-col ul li a::after {
    transition: none;
  }
}
