.operation-photo { min-width: 0; margin: 0; overflow: hidden; background: var(--soft); }
.operation-photo img { display: block; width: 100%; height: 100%; object-fit: cover; }
.hero:has(.hero-photo-aside) .hero-grid { align-items: start; }
.hero-aside.hero-photo-aside { padding: 0; overflow: hidden; }
.hero-photo-aside > .operation-photo { aspect-ratio: 4 / 3; }
.hero-photo-workflow { padding: 1.6rem 1.8rem 1.8rem; }
.hero-photo-workflow .panel-label { margin-bottom: 1rem; }
.hero-photo-workflow .process-stack { gap: 0; margin-top: 0.8rem; }
.hero-photo-workflow .process-step { padding-block: 0.7rem; }
.hero-photo-workflow .process-step strong { font-size: 1rem; }
.hero-photo-workflow .process-step span { font-size: 0.82rem; }
.hero-photo-workflow .tag-list { margin-top: 1rem; }
.card.card-with-photo { display: flex; flex-direction: column; padding: 0; overflow: hidden; }
.card-with-photo > .operation-photo { flex: 0 0 auto; aspect-ratio: 8 / 5; }
.card-photo-content { display: flex; flex: 1 1 auto; flex-direction: column; padding: 1.7rem 2rem 2rem; }
.card-photo-content > .text-link { align-self: flex-start; margin-top: auto; }
.card-photo-content > :last-child { margin-bottom: 0; }
.detail-photo { margin-top: 2.5rem; }
.detail-photo > .operation-photo { aspect-ratio: 16 / 7; border-radius: var(--radius); }
.detail-photo > .operation-photo.photo-portrait { max-width: 44rem; aspect-ratio: 4 / 3; margin-inline: auto; }
.photo-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.35rem; margin-top: 2.5rem; }
.photo-gallery > .operation-photo { aspect-ratio: 4 / 3; border-radius: var(--radius); }
.photo-gallery-single { grid-template-columns: minmax(0, 1fr); }
.photo-gallery-single > .operation-photo { aspect-ratio: 16 / 7; }
@media (max-width: 64rem) {
  .card-photo-content { padding: 1.4rem 1.5rem 1.5rem; }
  .hero-photo-workflow { padding: 1.4rem 1.5rem 1.5rem; }
}
@media (max-width: 50rem) {
  .hero-photo-aside > .operation-photo { aspect-ratio: 16 / 10; }
  .hero-photo-workflow .process-stack { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
  .hero-photo-workflow .process-step { min-width: 0; border: 0; }
  .detail-photo > .operation-photo, .photo-gallery-single > .operation-photo { aspect-ratio: 16 / 10; }
  .detail-photo > .operation-photo.photo-portrait { max-width: 100%; }
  .photo-gallery { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 35rem) {
  .hero-photo-workflow .process-stack { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .hero-photo-workflow .process-step + .process-step { border-top: 1px solid #42525a; }
  .detail-photo, .photo-gallery { margin-top: 1.75rem; }
}
