/* Display corrections for the approved photo assets. */
.photos { gap:12px; align-items:start; }
.photos figure,.welfare-views figure {
  padding:7px 7px 0;
  border:1px solid #e7ded0;
  border-radius:13px;
  background:#fbf8f2;
  box-shadow:0 5px 16px #3b2e2110;
}
.photos img,.photos.pair img {
  max-height:none;
  height:auto;
  aspect-ratio:var(--photo-ratio, auto);
  border-radius:7px;
}
.photos figcaption,.welfare-views figcaption {
  padding:7px 6px 8px;
  color:var(--muted);
  line-height:1.65;
  font-size:13px;
}
.photos figure:has(img[src$="/first-cnc.webp"]) {
  width:min(100%,236px);
  justify-self:center;
}
.hero figure { border:1px solid #c390674f; }
.hero img { aspect-ratio:1560 / 1001; }
.history-family-photo { width:min(100%,660px); }
.history-family-photo img { aspect-ratio:3 / 2; }
@media (max-width:460px) {
  .photos figcaption,.welfare-views figcaption { font-size:12px; }
}

img[src$="/first-machine.webp"] { filter:brightness(1.02) contrast(0.97) saturate(0.96) url(#history-detail); }
img[src$="/ground.webp"] { filter:brightness(1.07) contrast(1.02) saturate(1.03) url(#history-detail); }
img[src$="/first-hall.webp"] { filter:brightness(1.025) contrast(1.02) saturate(1.02) url(#history-detail); }
img[src$="/second-hall.webp"] { filter:brightness(1.04) contrast(1.02) saturate(0.96) url(#history-detail); }
img[src$="/first-cnc.webp"] { filter:brightness(1.05) contrast(1.02) saturate(0.94) url(#history-detail); }
img[src$="/first-two-ton-furnace.webp"] { filter:brightness(1.025) contrast(1.035) saturate(0.96); }
img[src$="/alloy-lab.webp"] { filter:brightness(1.035) contrast(1.02) saturate(0.96); }
img[src$="/second-cnc-arrival.webp"] { filter:brightness(1.07) contrast(0.98) saturate(1.01); }
img[src$="/online-productivity-display-cables-only-v4.webp"] { filter:brightness(1.03) contrast(1.03) saturate(1); }
img[src$="/seven-ton-tilting-furnace.webp"] { filter:brightness(1.04) contrast(1.025) saturate(1); }
img[src$="/quality-audit-production-hall.webp"] { filter:brightness(1.045) contrast(1.045) saturate(0.98); }
img[src$="/quality-audit-office.webp"] { filter:brightness(1.06) contrast(1.02) saturate(0.97); }
img[src$="/association-office-purchase.webp"] { filter:brightness(1.08) contrast(0.98) saturate(1.01) url(#history-detail); }
img[src$="/machining-in-operation.webp"] { filter:brightness(1) contrast(1.025) saturate(0.98); }
img[src$="/three-generations.webp"] { filter:brightness(1.035) contrast(1.01) saturate(0.98); }