/* MASTER JATO V13 — UMA FOTOGRAFIA POR CARTAO */
/* Sobrescreve apenas a grade de Servicos Realizados. */
#workGrid.work-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  align-items: start;
}
#workGrid .mj-photo-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  height: auto;
  overflow: hidden;
  border-radius: 9px;
}
#workGrid .mj-photo-open {
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 4 / 3;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  overflow: hidden;
  background: #102832;
  cursor: zoom-in;
}
#workGrid .mj-photo-open img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform .35s ease;
}
#workGrid .mj-photo-open:hover img { transform: scale(1.045); }
#workGrid .mj-photo-open:focus-visible { outline: 2px solid #4ce0cf; outline-offset: -3px; }
#workGrid .mj-photo-caption {
  width: 100%;
  min-height: 75px;
  padding: 12px 13px;
  align-items: start;
}
#workGrid .mj-photo-caption h3 {
  font-size: clamp(17px, 1.65vw, 23px);
  line-height: 1.1;
  overflow-wrap: anywhere;
}
@media (max-width: 1050px) {
  #workGrid.work-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
@media (max-width: 750px) {
  #workGrid.work-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  #workGrid .mj-photo-caption { padding: 10px; min-height: 70px; }
  #workGrid .mj-photo-caption h3 { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) {
  #workGrid .mj-photo-open img { transition: none; }
  #workGrid .mj-photo-open:hover img { transform: none; }
}
