/* Keep the complete product in frame. Reviewed presentation images retain links to their source photos. */
.project-detail-heading > p { font-size: 14px; line-height: 1.8; color: var(--muted); }
.project-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.project-gallery figure { margin: 0; min-width: 0; }
.project-gallery img { display: block; width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; background: #f3f4f1; border-radius: 10px; }
.project-gallery figcaption { margin-top: 14px; font-size: 13px; color: var(--muted); }
.gallery-original { margin-top: 12px; font-size: 12px; color: var(--muted); }
.gallery-original summary { cursor: pointer; padding-block: 8px; }
.project-photo { background: #f3f4f1; border: 1px solid #e6e8e2; }
.project-visual { display: grid; place-items: center; height: 100%; min-width: 0; }
.project-photo .project-visual { height: 340px; padding: 26px; }
.project-visual .project-media { display: block; width: 100%; height: 100%; min-height: 0; object-fit: contain; }
.project-visual-design { background: #fff; }
.photo-label { position: absolute; top: 13px; left: 14px; padding: 5px 9px; border-radius: 4px; background: #ffffffed; color: #4d584f; font-size: 10px; line-height: 1.5; }
.project-arrow { width: 36px; height: 36px; right: 13px; bottom: 13px; font-size: 20px; border: 1px solid #e2e6dd; }
.project-detail-photo { background: #f3f4f1; border: 1px solid #e6e8e2; }
.project-detail-photo .project-visual { height: clamp(280px, 52vw, 640px); }
.project-detail-photo figcaption { margin-top: 22px; color: var(--muted); text-align: center; font-size: 12px; }
.original-photo { margin-top: 22px; border: 1px solid var(--line); border-radius: 10px; padding: 0 22px; }
.original-photo summary { padding: 19px 0; cursor: pointer; font-size: 14px; font-weight: 550; }
.original-photo summary span { margin-left: 12px; color: var(--muted); font-size: 12px; font-weight: 400; }
.original-photo img { width: 100%; max-height: 760px; object-fit: contain; margin: 8px 0 24px; }
.capability-image.product-context img, .business-body img.product-context { object-fit: contain; background: #f3f4f1; padding: 18px; }
@media (max-width: 1150px) { .project-photo .project-visual { height: 290px; padding: 22px; } }
@media (max-width: 650px) {
  .project-gallery { grid-template-columns: 1fr; }
  .project-photo .project-visual { height: auto; aspect-ratio: 1.35; padding: 22px 18px; }
  .project-detail-photo .project-visual { height: auto; aspect-ratio: 1.25; }
  .project-detail-photo figcaption { font-size: 11px; line-height: 1.7; margin-top: 14px; }
  .original-photo { padding-inline: 16px; }
  .original-photo summary span { display: block; margin: 7px 0 0 15px; }
}
.photo-source-link { display: block; color: var(--muted); font-size: 11px; margin-top: 10px; text-align: right; text-decoration: underline; text-underline-offset: 3px; }
