/* Ausschließlich die Darstellung des Autorenfotos auf „Über dieses Projekt“. */
@media (min-width: 901px) {
  .project-person {
    grid-template-columns: minmax(280px, 340px) minmax(0, 1fr) !important;
    gap: clamp(2.5rem, 4vw, 4rem) !important;
    align-items: start !important;
  }

  .project-portrait {
    width: 100% !important;
    max-width: 340px !important;
    justify-self: center !important;
    align-self: start !important;
    min-height: 0 !important;
    aspect-ratio: 4 / 5 !important;
    margin-top: 0.5rem !important;
  }
}

.project-person > div:last-child {
  min-width: 0;
}

.project-person h2 {
  font-size: clamp(2.7rem, 4.2vw, 4.6rem) !important;
  line-height: 1.04 !important;
  max-width: 12ch;
}

.project-portrait {
  position: relative !important;
  isolation: isolate;
  overflow: visible !important;
  padding: 10px;
  border: 1px solid rgba(92, 225, 230, 0.3);
  border-radius: 24px !important;
  background: linear-gradient(145deg, rgba(92, 225, 230, 0.12), rgba(157, 140, 255, 0.08));
  box-shadow: 0 24px 55px rgba(0, 0, 0, 0.28) !important;
}

.project-portrait::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 16px -13px -13px 16px;
  border: 1px solid rgba(157, 140, 255, 0.34);
  border-radius: 24px;
}

.project-portrait::after {
  content: "";
  position: absolute;
  z-index: 2;
  left: 30px;
  bottom: -5px;
  width: 92px;
  height: 5px;
  border-radius: 999px;
  background: linear-gradient(90deg, #c4ff06 0 30%, transparent 30% 35%, #5ce1e6 35% 65%, transparent 65% 70%, #9d8cff 70%);
  box-shadow: 0 0 18px rgba(92, 225, 230, 0.22);
}

.project-portrait img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: 50% 28% !important;
  border-radius: 16px !important;
  filter: none !important;
}

@media (max-width: 900px) {
  .project-portrait {
    width: min(100%, 380px) !important;
    aspect-ratio: 4 / 5 !important;
    min-height: 0 !important;
    justify-self: center !important;
  }

  .project-person h2 {
    max-width: none;
  }
}

@media (max-width: 620px) {
  .project-portrait {
    width: min(calc(100% - 1rem), 330px) !important;
  }
}
