/* Owner-supplied photographs. Frame the original files in the page. */
.jobsite-photo-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
  margin-block: 2rem 1rem;
}
.jobsite-photo {
  min-width: 0;
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--steel-line);
  background: #ffffff;
}
.jobsite-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.jobsite-photo--lumber { object-position: 50% 45%; }
.jobsite-photo--boom { object-position: 50% 55%; }
.jobsite-photo figcaption {
  padding: 0.85rem 1rem;
  color: var(--coal-2);
  font-size: 0.9375rem;
  line-height: 1.5;
  font-weight: 500;
}
.delivery-photo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr);
  align-items: center;
  gap: clamp(1.5rem, 4vw, 3.5rem);
}
.category-photo.jobsite-photo--joists {
  height: auto;
  object-position: 50% 57%;
}
.category-photo.jobsite-photo--rockwool {
  height: auto;
  object-position: 50% 30%;
  filter: brightness(1.08);
}
.product-card--category:hover .category-photo.jobsite-photo--rockwool {
  filter: brightness(1.08) saturate(1.04) contrast(1.02);
}
@media (max-width: 760px) {
  .delivery-photo-layout { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .jobsite-photo-pair { grid-template-columns: minmax(0, 1fr); gap: 1rem; }
}
