/* Transparent, large portrait treatment for the About page. */
.about-profile-grid {
  align-items: end;
}

.about-portrait {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: clamp(420px, 42vw, 620px);
  margin: 0;
  overflow: hidden;
  background: transparent !important;
}

.about-portrait::after {
  display: none;
}

.about-portrait img {
  position: relative;
  z-index: 1;
  width: 215%;
  max-width: none;
  max-height: none;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(18px 24px 34px rgba(0, 0, 0, 0.26));
}

.about-portrait-dark {
  transform: translateX(5%) scale(1.05);
}

html.light .about-portrait {
  background: transparent !important;
}

@media (max-width: 780px) {
  .about-profile-grid {
    align-items: center;
  }

  .about-portrait {
    min-height: 510px;
  }

  .about-portrait img {
    width: 185%;
    max-width: none;
  }

  .about-portrait-dark {
    transform: translateX(4%);
  }
}
