.contact-card-list {
  display: flex;
  flex-direction: column;
  padding: 0;
  gap: 10px;
}

.contact-card {
  display: flex;
  gap: 10px;
  width: 100%;
}

.contact-card__link {
  width: 130px;
  height: 200px;
  flex-shrink: 0;
  overflow: hidden;
  display: block;
  background-color: #285586;
  border: 2px solid #092f60;
  box-shadow: rgba(0, 0, 0, 0.1) 3px 3px 6px inset;
  border-radius: 10px;
}

.contact-card__photo {
  width: 100%;
  height: 100%;
  border-radius: 10px;

  overflow: hidden;
  position: relative;
  line-height: 300px;

  object-fit: cover;
  object-position: center;
}

.contact-card__photo-default {
  object-fit: contain;
  padding: 22% 0;
}

.contact-card__name {
  font-weight: bold;
  margin-bottom: 1px;
}

.contact-card__name:hover {
  color: black;
}

.contact-card__info {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 4;
  overflow: hidden;
}

@media screen and (max-width: 640px) {
  .contact-card {
    flex-direction: column;
  }
}

/* Contact Page */
.contact_image {
  border-radius: 10px;
  width: 30%;
}

@media screen and (max-width: 780px) {
  .contact_image {
    border-radius: 10px;
    width: 50%;
  }
}
