/* WebXtent v0.8.22 — Developments tray docking + relocated project chevrons.
 * Approved interaction:
 * - project previous/next chevrons live around the PHOTOS label inside the tray;
 * - after 4 seconds of inactivity the entire photo tray glides toward the bottom;
 * - hovering/focusing the visible bottom tray restores it to its authored position.
 */

/* Project wheel no longer reserves space for buttons beside the title. */
.wxt-development-project-wheel:not(.is-single){
  padding-top:clamp(30px,2.8vw,42px)!important;
  padding-bottom:clamp(36px,3.2vw,48px)!important;
}
.wxt-development-project-wheel__item--previous,
.wxt-development-project-wheel__item--next{
  left:4px!important;
}

/* Anchor the project navigation vertically around the PHOTOS label. */
.wxt-development-showcase__project-carousel-label-core{
  position:relative!important;
  display:inline-flex!important;
  align-items:center!important;
  min-width:max-content!important;
}
.wxt-development-showcase__project-carousel-label-text{display:inline-block!important}
.wxt-development-project-wheel__dock{
  position:absolute!important;
  left:50%!important;
  top:50%!important;
  z-index:9!important;
  width:34px!important;
  height:138px!important;
  transform:translate(-50%,-50%)!important;
  pointer-events:none!important;
}
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:hover,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:active,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:focus,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:focus-visible{
  position:absolute!important;
  left:50%!important;
  width:30px!important;
  height:30px!important;
  min-width:30px!important;
  min-height:30px!important;
  margin:0!important;
  transform:translateX(-50%)!important;
  pointer-events:auto!important;
}
.wxt-development-showcase .wxt-development-project-wheel__dock .wxt-development-project-wheel__chevron--previous{
  top:0!important;
  bottom:auto!important;
}
.wxt-development-showcase .wxt-development-project-wheel__dock .wxt-development-project-wheel__chevron--next{
  top:auto!important;
  bottom:0!important;
}
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:hover,
.wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:focus-visible{
  transform:translateX(-50%) scale(1.035)!important;
}

/* Whole gallery tray docks after inactivity instead of fading only its cards. */
.wxt-development-showcase__project-carousel{
  --wxt-gallery-docked-reveal:66px;
  transform:translate3d(0,0,0)!important;
  transform-origin:center bottom!important;
  will-change:transform!important;
  transition:transform .58s cubic-bezier(.2,.76,.2,1),filter .34s ease!important;
}
.wxt-development-showcase.is-gallery-idle .wxt-development-showcase__project-carousel{
  transform:translate3d(0,calc(100% - var(--wxt-gallery-docked-reveal)),0)!important;
  filter:saturate(.92)!important;
}
.wxt-development-showcase.is-gallery-active .wxt-development-showcase__project-carousel{
  transform:translate3d(0,0,0)!important;
  filter:none!important;
}

/* v0.8.21 used opacity/visibility to hide only the card rail. Retire that model. */
.wxt-development-showcase.is-gallery-idle .wxt-development-showcase__project-track,
.wxt-development-showcase.is-gallery-active .wxt-development-showcase__project-track{
  opacity:1!important;
  visibility:visible!important;
  transform:none!important;
  pointer-events:auto!important;
}

/* The remaining visible bar is the hover/reveal target when docked. */
.wxt-development-showcase.is-gallery-idle .wxt-development-showcase__project-carousel-bar{
  cursor:ns-resize;
}
.wxt-development-showcase__project-carousel-bar{
  position:relative!important;
  z-index:8!important;
}

@media(max-width:900px){
  .wxt-development-showcase__project-carousel{--wxt-gallery-docked-reveal:62px}
  .wxt-development-project-wheel__dock{height:126px!important}
}
@media(max-width:640px){
  .wxt-development-showcase__project-carousel{--wxt-gallery-docked-reveal:58px}
  .wxt-development-project-wheel__dock{height:116px!important}
  .wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron,
  .wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:hover,
  .wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:active,
  .wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:focus,
  .wxt-development-showcase .wxt-development-project-wheel__dock button.wxt-development-project-wheel__chevron:focus-visible{
    width:28px!important;height:28px!important;min-width:28px!important;min-height:28px!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .wxt-development-showcase__project-carousel{transition:none!important}
}
