/* Retrato do corretor: moldura independente da foto para facilitar ajustes. */
.about-portrait {
  position: relative;
  width: min(100%, 440px);
  margin: 14px auto 14px;
  padding: 12px;
  background: #fff;
  border: 1px solid #dbe1e5;
  box-shadow: -14px 14px 0 #152a50;
  align-self: center;
  isolation: isolate;
}
.about-portrait::before,
.about-portrait::after {
  content: '';
  position: absolute;
  width: 74px;
  height: 74px;
  pointer-events: none;
  z-index: 2;
}
.about-portrait::before {
  top: -10px;
  right: -10px;
  border-top: 7px solid #152a50;
  border-right: 7px solid #152a50;
}
.about-portrait::after {
  bottom: 20px;
  left: 20px;
  width: 28px;
  height: 28px;
  border-bottom: 3px solid #fff;
  border-left: 3px solid #fff;
}
.about-portrait > img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  object-position: center 24%;
}
.about-portrait figcaption {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  padding: 25px 35px;
  color: #fff;
  background: linear-gradient(transparent, #152a50e8 45%);
  padding-top: 60px;
}
.about-portrait figcaption strong {
  font-weight: 500;
  font-size: 21px;
  letter-spacing: 3px;
}
.about-portrait figcaption span {
  font-size: 10px;
  letter-spacing: 1.7px;
}
@media (max-width: 640px) {
  .about-portrait {
    width: calc(100% - 18px);
    max-width: 360px;
    padding: 9px;
    box-shadow: -10px 10px 0 #152a50;
  }
  .about-portrait figcaption {
    left: 9px;
    right: 9px;
    bottom: 9px;
    padding-inline: 25px;
  }
  .about-portrait::before {
    width: 54px;
    height: 54px;
    top: -7px;
    right: -7px;
    border-width: 5px;
  }
}
