.judges-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1400px;
  gap: 2rem;
}

.judge {
  width: 100%;
  display: flex;
  align-items: stretch;
}

.judge-photo {
  object-fit: cover;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: auto;
  width: 25%;
  max-width: 300px;
  border-right: 4px solid #071391;
}

.judge-info {
  display: flex;
  color: #071391;
  flex-direction: column;
  align-items: flex-start;
  padding: 3rem;
  flex: 1;
}

.judge-name {
  font-size: 1.5rem;
  line-height: 1em;
  font-weight: bold;
}
.judge-role {
  margin-bottom: 1rem;
}

.judge-bio {
  font-size: 1rem;
  line-height: 1.8em;
}
.judge-description {
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

@media screen and (max-width: 840px) {
  .judge-info {
    padding: 2rem;
  }
  .judge-role {
    margin-bottom: 0.5rem;
  }
  .judge-photo {
    width: 30%;
    border-right: 4px solid #071391;
  }
}

@media screen and (max-width: 540px) {
  .judge {
    flex-direction: column;
    align-items: center;
  }
  .judge-photo {
    width: 60%;
    aspect-ratio: 1 / 1;
    max-width: none;
    border-right: none;
  }
  .judge-info {
    padding: 1.5rem;
    align-items: center;
    text-align: center;
  }
  .judge-description{
    align-items: center;
    text-align: center;
  }
}


