/* Om-siden: identiske portrettrammer på PC, uansett kildebildenes størrelse. */
@media (min-width: 821px) {
  .team-section .team-grid {
    grid-template-columns: minmax(0, 42%) minmax(0, 1fr);
  }
  .team-section .team-grid .team-photo {
    position: relative;
    display: block;
    box-sizing: border-box;
    width: 100%;
    height: auto;
    aspect-ratio: 5 / 6;
    min-width: 0;
    max-height: none;
    border-radius: 24px;
    overflow: hidden;
  }
  .team-section .team-grid .team-photo > img {
    position: absolute;
    display: block;
    inset: 0;
    width: 100%;
    height: 100%;
    max-width: none;
    max-height: none;
    object-fit: cover;
    object-position: center 22%;
  }
  .team-section.team-alt .team-grid .team-photo {order: 2;}
  .team-section.team-alt .team-grid .team-text {order: 1;}
}