.renewal-home .renewal-highlight {
  isolation: isolate;
}

.renewal-home .renewal-highlight::after {
  position: absolute;
  content: "";
  inset: -4px 0 auto;
  height: 4px;
  border-radius: 4px 4px 0 0;
  pointer-events: none;
  background: var(--project-color, #168ab5);
  transform: scaleX(0);
  transform-origin: left center;
}

.renewal-home .renewal-highlight:is(:focus-visible, :active)::after {
  transform: scaleX(1);
}

.agenda .day-head {
  --agenda-rail: #117d9e;
}

.agenda .day-group:nth-child(3n+2) .day-head {
  --agenda-rail: #ad4683;
}

.agenda .day-group:nth-child(3n) .day-head {
  --agenda-rail: #218369;
}

.agenda .day-head::before {
  background: var(--agenda-rail);
}

html.holo-studio-ui body .agenda-periods[data-catalog-selection] {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.agenda-periods > button {
  min-height: 44px;
}

@media (hover: hover) {
  .renewal-home .renewal-highlight:hover::after {
    transform: scaleX(1);
  }
}

@media (prefers-reduced-motion: no-preference) {
  .renewal-home .renewal-highlight::after {
    transition: transform 360ms cubic-bezier(.2,.84,.3,1);
  }

  .renewal-home .renewal-highlight:focus-visible > .renewal-icon,
  .renewal-home .renewal-highlight:active > .renewal-icon {
    animation: holo-stage-arrow 340ms both;
  }

  .renewal-home .renewal-highlight:focus-visible > img:not(.renewal-icon) {
    animation: holo-stage-poster 420ms cubic-bezier(.25,.82,.26,1) both;
  }

}

@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .renewal-home .renewal-highlight:hover > img:not(.renewal-icon) {
    animation: holo-stage-poster 420ms cubic-bezier(.25,.82,.26,1) both;
  }
}

@keyframes holo-stage-arrow {
  0%, 100% { transform: none; }
  55% { transform: translateX(4px) scale(1.12, .92); }
}

@keyframes holo-stage-poster {
  0%, 100% { scale: 1; }
  38% { scale: .96; }
  76% { scale: .993; }
}
