/* Past Work gallery enhancements; PhotoSwipe itself remains MIT-licensed and self-hosted. */
.work-gallery .mj-work-photo-link {
  position: relative;
  display: block;
  border-radius: 14px;
  overflow: hidden;
  -webkit-tap-highlight-color: transparent;
}
.work-gallery .mj-work-photo-link img {
  margin: 0;
  transition: transform 240ms ease;
}
.work-gallery .mj-work-photo-link::after {
  content: "View larger  ↗";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 8px 13px;
  border-radius: 999px;
  color: #004a70;
  background: #ffc727;
  box-shadow: 0 4px 16px rgb(0 35 52 / 15%);
  font: 700 13px/1.2 "DM Sans", system-ui, sans-serif;
  pointer-events: none;
}
.work-gallery .mj-work-photo-link:focus-visible {
  outline: 3px solid #007dba;
  outline-offset: 4px;
}
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .work-gallery .mj-work-photo-link:hover img {
    transform: scale(1.025);
  }
}
@media (hover: none) {
  .work-gallery .mj-work-photo-link::after {
    content: "Tap to enlarge  ↗";
  }
}
@media (prefers-reduced-motion: reduce) {
  .work-gallery .mj-work-photo-link img {
    transition: none;
  }
}
.pswp {
  --pswp-bg: #002c45;
  --pswp-placeholder-bg: #004a70;
  --pswp-icon-color: #fff;
  --pswp-icon-color-secondary: #ffc727;
  --pswp-icon-stroke-color: #004a70;
}
