.single-staff-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 1.5rem 1.75rem;
  box-sizing: border-box;
  max-width: 1400px;
  margin: 0 auto;
  background-color: #dddddd;
  gap: 0;
  min-height: 80dvh;
  box-shadow: 2px 2px 6px 3px rgba(0, 0, 0, 0.3);
  -webkit-box-shadow: 2px 2px 6px 3px rgba(0, 0, 0, 0.3);
  -moz-box-shadow: 2px 2px 6px 3px rgba(0, 0, 0, 0.3);
  border: 1px solid #cfcfcf;
}
.single-staff-container h2 {
  font-size: 2.4rem;
  line-height: 1;
  padding: 0;
  margin: 0;
}
.single-staff-data {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
}
.single-staff-info {
  box-sizing: border-box;
  width: 49%;
  padding-top: 1rem;
}
.single-staff-image {
  box-sizing: border-box;
  width: 48%;
}
.single-staff-img img {
  width: 100%;
}
.staffed-locations {
  margin-bottom: 8px;
}
.staffed-locations a {
  text-decoration: none;
}
.staffed-contact-line {
  display: flex;
  column-gap: 5px;
  align-items: center;
}
.staffed-contact-line a {
  display: flex;
  align-items: center;
}
.staffed-contact-icon {
  width: 20px;
}
@media only screen and (max-width: 992px) {
  .single-staff-data {
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
  }
  .single-staff-container h2 {
    font-size: 2.4rem;
    padding-bottom: 1.5rem;
    align-self: center;
  }
  .single-staff-image {
    order: 1;
    width: 100%;
  }
  .single-staff-img img {
    width: 75%;
    display: block;
    margin: 0 auto;
  }
  .single-staff-info {
    order: 2;
    width: 75%;
    padding-top: 1rem;
  }
}
@media only screen and (max-width: 575px) {
  .single-staff-container h2 {
    font-size: 2rem;
  }
}
@media only screen and (max-width: 400px) {
  .single-staff-container h2 {
    font-size: 1.4rem;
  }
  .single-staff-img img {
    width: 90%;
  }
  .single-staff-info {
    width: 90%;
    padding-top: 1rem;
  }
  .staffed-contact-line {
    display: flex;
    column-gap: 12px;
    align-items: center;
    margin-top: 16px;
  }
  .staffed-contact-line a {
    display: flex;
    align-items: center;
  }
  .staffed-contact-icon {
    width: 40px;
  }
}
