.portrait-wrapper {
  display: contents;
}

.member-links {
  display: flex;
  flex-direction: row;
  justify-content: center;
  width: 200px;
}

.member-links .button-wrapper {
  width: auto;
  margin: 0;
  justify-content: center;
}

.member-links .button {
  padding: 0.55rem 0.7rem;
  font-size: 1.2rem;
}

.portrait {
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  margin: 20px;
  width: 175px;
  max-width: calc(100% - 20px - 20px);
  text-decoration: none;
}

.portrait[data-style=small] {
  width: 100px;
}

.portrait[data-style=tiny] {
  flex-direction: row;
  gap: 15px;
  width: unset;
  text-align: left;
}

.portrait .icon {
  position: absolute;
  left: 0;
  top: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  width: calc(20px + 10%);
  aspect-ratio: 1/1;
  border-radius: 999px;
  background: var(--background);
  box-shadow: var(--shadow);
  transform: translate(14%, 14%);
}

/* Circular positioning for multiple flags around the profile */
.portrait .icon:nth-child(1) {
  transform: translate(14%, 14%); /* Top-left (11 o'clock) */
}

.portrait .icon:nth-child(2) {
  transform: translate(-60%, 130%); /* Bottom-left (7~8 o'clock) */
}

.portrait .icon:nth-child(3) {
  transform: translate(-60%, 270%); /* Top-right (1 o'clock) */
}

.portrait .icon:nth-child(4) {
  transform: translate(150%, -40%); /* Right (3 o'clock) */
}

.portrait .icon:nth-child(5) {
  transform: translate(14%, 370%); /* Bottom-right (5 o'clock) */
}

.portrait .icon:nth-child(6) {
  transform: translate(150%, 430%); /* Bottom-left (7 o'clock) */
}

.portrait .icon:nth-child(7) {
  transform: translate(-15%, 50%); /* Left (9 o'clock) */
}

.portrait .icon:nth-child(8) {
  transform: translate(45%, 5%); /* Top-center (12 o'clock) */
}

.portrait .icon:nth-child(9) {
  transform: translate(45%, 90%); /* Bottom-center (6 o'clock) */
}

.portrait[data-style=small] .icon {
  left: -2px;
  top: -2px;
}

.portrait[data-style=tiny] .icon {
  display: none;
}

.portrait-image {
  width: 100%;
  margin-bottom: 20px;
  aspect-ratio: 1/1;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.portrait[data-style=tiny] .portrait-image {
  width: 50px;
  margin: 0;
}

.portrait-name {
  font-family: var(--heading);
  font-weight: var(--semi-bold);
}

.portrait[data-style=tiny] .portrait-description,
.portrait[data-style=tiny] .portrait-affiliation {
  display: none;
}

/*# sourceMappingURL=portrait.css.map */