.portrait-wrap {
  display: flex;
  flex-direction: column;
}

.portrait-frame {
  display: flex;
  flex: 1 1 auto;
  height: auto;
  min-height: 0;
  align-items: center;
  justify-content: center;
  padding: 5% 7%;
}

.portrait-frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center center;
}

.portrait-card {
  position: static;
  flex: 0 0 auto;
  width: 100%;
  padding: 22px 34px 25px;
}

@media (max-width: 900px) {
  .portrait-frame { padding: 4% 10%; }
}
