/* AcademicCrew — Shared editorial portrait component
 * Single source of truth for the 4:5 member photo/initials block.
 * Width is set per context in member-profile.css and members-archive.css.
 */

.acc-portrait {
  aspect-ratio: 4 / 5;
  border-radius: 0;
  overflow: hidden;
  position: relative;
  background: linear-gradient(135deg, #d6dfee, #aebccf);
  flex-shrink: 0;
}

.acc-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}


/* Initials fallback */
.acc-portrait.is-initials {
  background: linear-gradient(135deg, var(--acc-primary, #0d2340), #14304f);
  display: grid;
  place-items: center;
  color: var(--acc-secondary, #1cb0c9);
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  font-size: clamp(20px, 18%, 56px);
  letter-spacing: 0.04em;
}
