/* Existing portraits and testimonial photos: retain the whole image. */
.home-photo-card{padding:0;overflow:hidden;display:flex;flex-direction:column}
.home-card-photo{margin:0;background:#edf3ed;border-bottom:1px solid var(--line)}
.home-card-image-wrap{display:flex;align-items:center;justify-content:center;width:100%;overflow:hidden}
.home-profile-card .home-card-image-wrap{height:246px;padding:12px}
.home-profile-card .home-card-image-wrap img{height:222px;width:auto;max-width:100%;object-fit:contain;border-radius:3px}
.home-story-card .home-card-image-wrap{aspect-ratio:3 / 2}
.home-story-card .home-card-image-wrap img{width:100%;height:100%;object-fit:contain;border-radius:0}
.home-card-photo figcaption{padding:9px 16px;font-size:12px;line-height:1.65;color:var(--sub);background:#fff}
.home-card-content{padding:24px}
.home-card-content p{font-size:15px;line-height:1.85;margin-bottom:0}
@media(max-width:760px){
  .home-card-content{padding:22px}
  .home-card-content p{font-size:16px}
  .home-profile-card .home-card-image-wrap{height:236px}
  .home-profile-card .home-card-image-wrap img{height:212px}
}
