.candidate-photo {
  position: relative;
  align-self: end;
  justify-self: center;
  width: min(100%, 490px);
  height: 525px;
  overflow: hidden;
  border-radius: 220px 220px 24px 24px;
  background: white;
  box-shadow: 0 30px 80px #0005;
}
.candidate-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  display: block;
}
.photo-number {
  position: absolute;
  right: 18px;
  bottom: 18px;
  background: var(--red);
  color: white;
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: 0 12px 28px #0005;
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.photo-number span { font-size: .68rem; font-weight: 900; letter-spacing: .1em; }
.photo-number strong { font-size: 3.5rem; }
.photo-number small { font-size: .78rem; font-weight: 900; }
@media (max-width: 850px) { .candidate-photo { height: 450px; max-width: 380px; } }
@media (max-width: 520px) { .candidate-photo { height: 400px; } .photo-number strong { font-size: 3rem; } }
