/* Scoped only to Sandro profile photography. */
.profile-body .sandro-photo-set {
  display: grid;
  gap: 18px;
  margin-top: 28px;
  max-width: 1040px;
}
.profile-body .sandro-photo-set--single {
  grid-template-columns: minmax(0, 620px);
}
.profile-body .sandro-photo-set--quad {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}
.profile-body .sandro-photo-set--alishan {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.profile-body .sandro-photo-card {
  min-width: 0;
  margin: 0;
}
.profile-body .sandro-photo-card--wide {
  grid-column: 1 / -1;
}
.profile-body .sandro-photo-frame {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #111311;
}
.profile-body .sandro-photo-card[data-frame="4-5"] .sandro-photo-frame { aspect-ratio: 4 / 5; }
.profile-body .sandro-photo-card[data-frame="1-1"] .sandro-photo-frame { aspect-ratio: 1 / 1; }
.profile-body .sandro-photo-card[data-frame="4-3"] .sandro-photo-frame { aspect-ratio: 4 / 3; }
.profile-body .sandro-photo-card[data-frame="3-2"] .sandro-photo-frame { aspect-ratio: 3 / 2; }
.profile-body .sandro-photo-card[data-frame="16-7"] .sandro-photo-frame { aspect-ratio: 16 / 7; }
.profile-body .sandro-photo-card[data-frame="1031-1526"] .sandro-photo-frame { aspect-ratio: 1031 / 1526; }
.profile-body .sandro-photo-frame img {
  display: block;
  width: 100%;
  height: 100%;
  object-position: center;
}
.profile-body .sandro-photo-card[data-fit="contain"] img { object-fit: contain; }
.profile-body .sandro-photo-card[data-fit="cover"] img { object-fit: cover; }
.profile-body .sandro-photo-card figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
@media (max-width: 1000px) {
  .profile-body .sandro-photo-set--quad { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .profile-body .sandro-photo-set { gap: 15px; margin-top: 22px; }
  .profile-body .sandro-photo-set--quad,
  .profile-body .sandro-photo-set--alishan { grid-template-columns: 1fr; }
  .profile-body .sandro-photo-card--wide { grid-column: auto; }
}
