/* Kinetic Painting Services: genuine project photos in service layouts (Nov 2026 polish round).
   .kps-photo-tag  small caption naming the real project location, so a photo is never read as proof of a
                   specialised job it does not show.
   .kps-cards      homepage service cards: equal heights and one consistent image ratio. */
.kps-photo-frame { position: relative; display: block; overflow: hidden; }
.kps-photo-frame picture { display: block; width: 100%; height: 100%; }
.kps-photo-frame img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kps-photo-tag {
  position: absolute; left: 12px; bottom: 12px; z-index: 3;
  display: inline-flex; align-items: center; gap: 6px; max-width: calc(100% - 24px);
  padding: 6px 12px; border-radius: 999px;
  background: rgba(14, 14, 20, 0.78); color: #fff;
  font-family: inherit; font-size: 13px; font-weight: 600; line-height: 1.3; letter-spacing: 0.01em;
  pointer-events: none; text-align: left;
}
.kps-photo-tag::before {
  content: ""; width: 7px; height: 7px; border-radius: 50%; background: #d4af37; flex: none;
}
.kps-photo-tag--top { bottom: auto; top: 12px; }

/* Homepage service cards */
.kps-cards > [class*="col-"] { display: flex; }
.kps-cards .services-item { display: flex; flex-direction: column; width: 100%; }
.kps-cards .services-item .image { position: relative; aspect-ratio: 13 / 12; border-radius: 5px 5px 0 0; }
.kps-cards .services-item .image a,
.kps-cards .services-item .image picture { display: block; width: 100%; height: 100%; }
.kps-cards .services-item .image img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kps-cards .services-item .content { flex: 1 1 auto; display: flex; flex-direction: column; }
.kps-cards .services-item .content .services-btn { margin-top: auto; align-self: flex-start; }

@media (prefers-reduced-motion: reduce) {
  .kps-photo-frame img { transition: none !important; }
}
