/* Shared specialist roster. Photographs retain the original pixels and ivory cutout edge. */
.specialty-roster {
  margin: 0 0 28px;
  padding: 27px 30px 28px;
  border: 1px solid #b58a9b3d;
  border-radius: 18px;
  background: #191417;
}

.specialty-roster > h3 {
  margin: 0 0 23px;
  color: #fff8f3;
  font-size: 23px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: -.045em;
}

.specialty-groups {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px 30px;
}

.specialty-group {
  min-width: 0;
}

.specialty-group--facial {
  grid-column: 1 / -1;
  padding-bottom: 23px;
  border-bottom: 1px solid #ffffff12;
}

.specialty-group-heading {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 5px 12px;
  margin-bottom: 14px;
}

.specialty-group-heading h4 {
  margin: 0;
  color: #e8c4d2;
  font-size: 17px;
  font-weight: 650;
  line-height: 1.5;
  letter-spacing: -.35px;
}

.specialty-group-heading > span {
  color: #c7b8c0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.5;
  word-break: keep-all;
}

.specialty-doctors {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 15px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.specialty-group--facial .specialty-doctors {
  grid-template-columns: repeat(6, minmax(0, 1fr));
}

.specialty-group--body .specialty-doctors {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.specialty-doctor {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 11px;
}

.specialty-doctor-face {
  display: block;
  flex: 0 0 48px;
  width: 48px;
  height: 64px;
  overflow: visible;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.specialty-doctor-name {
  display: block;
  min-width: 0;
  color: #fff8f3;
  font-family: var(--sans);
  font-size: 17px;
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: -.4px;
  white-space: nowrap;
}

.specialty-doctor-name small {
  display: block;
  margin-top: 2px;
  color: #c7b8c0;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: -.2px;
}

@media (max-width: 1100px) {
  .specialty-group--facial .specialty-doctors {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .specialty-groups {
    gap: 22px;
  }

  .specialty-group--body .specialty-doctors {
    gap: 10px;
  }

  .specialty-doctor {
    gap: 9px;
  }
}

@media (max-width: 760px) {
  .specialty-roster {
    padding: 23px 22px 24px;
    margin-bottom: 22px;
    border-radius: 15px;
  }

  .specialty-roster > h3 {
    margin-bottom: 20px;
    font-size: 22px;
  }

  .specialty-groups {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 18px;
  }

  .specialty-group--facial {
    padding-bottom: 20px;
  }

  .specialty-group--facial .specialty-doctors {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 16px;
  }

  .specialty-group--body {
    grid-column: 1 / -1;
    border-top: 1px solid #ffffff12;
    padding-top: 18px;
  }

  .specialty-group-heading {
    display: block;
    margin-bottom: 10px;
  }

  .specialty-group-heading > span {
    display: block;
    margin-top: 3px;
  }

  .specialty-doctor-face {
    flex-basis: 44px;
    width: 44px;
    height: 58px;
  }

  .specialty-doctor-name {
    font-size: 16px;
  }
}

@media (max-width: 360px) {
  .specialty-roster {
    padding-inline: 17px;
  }

  .specialty-groups {
    column-gap: 12px;
  }

  .specialty-group--facial .specialty-doctors {
    column-gap: 12px;
  }

  .specialty-doctor {
    gap: 8px;
  }

  .specialty-doctor-face {
    flex-basis: 40px;
    width: 40px;
    height: 54px;
  }
}
