/* Private profile/detail refinements. The accepted theme, logo and rail stay intact. */
.healthbih-care-app[data-hbh-presentation="doctor"] .pagehero,
.healthbih-care-app[data-hbh-presentation="clinic"] .pagehero {
  padding-bottom: 28px;
}
.healthbih-care-app[data-hbh-presentation="doctor"] .pagehero h1,
.healthbih-care-app[data-hbh-presentation="clinic"] .pagehero h1 {
  margin-bottom: 16px;
}
.healthbih-care-app[data-hbh-presentation="doctor"] .pagehero p:empty {
  display: none;
}
.healthbih-care-app[data-hbh-presentation="doctor"] .doctor-summary {
  padding-bottom: 28px;
}
.healthbih-care-app[data-hbh-presentation="doctor"] .doctor-summary-grid {
  max-width: 1056px;
  grid-template-columns: minmax(0, 1fr) 112px;
  gap: 40px;
  align-items: start;
}
.healthbih-care-app[data-hbh-presentation="doctor"] .doctor-summary-grid > div:first-child {
  max-width: 72ch;
  min-width: 0;
}
.healthbih-care-app[data-hbh-presentation="doctor"] .doctor-placeholder {
  width: 112px;
  height: 112px;
  margin: 0;
  border-style: solid;
}
.healthbih-care-app[data-hbh-presentation="doctor"] .doctor-placeholder span {
  font-size: 34px;
}
.healthbih-care-app[data-hbh-presentation="doctor"] .doctor-placeholder p {
  margin: 6px 0 0;
  font-size: 11px;
}
.healthbih-care-app[data-hbh-presentation="doctor"] .doctor-summary + .section {
  padding-top: 28px;
  padding-bottom: 56px;
}
.healthbih-care-app[data-hbh-presentation="doctor"] .profilebody {
  max-width: 1056px;
  grid-template-columns: minmax(0, 1fr);
}
.healthbih-care-app[data-hbh-presentation="doctor"] .profilebody .article {
  max-width: 72ch;
}

.healthbih-care-app[data-hbh-presentation="clinic"] .clinic-profile-section {
  padding-top: 28px;
  padding-bottom: 48px;
}
.healthbih-care-app[data-hbh-presentation="clinic"] .clinic-profile-section > .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  column-gap: 32px;
}
.healthbih-care-app[data-hbh-presentation="clinic"] .clinic-profile-section > .wrap > .actions {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
}
.healthbih-care-app[data-hbh-presentation="clinic"] .clinic-profile-section > .wrap > .dataitems {
  grid-column: 1;
  grid-row: 1;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
  margin: 0;
  padding: 20px 0;
  border-top: 0;
}
.healthbih-care-app[data-hbh-presentation="clinic"] .clinic-tabs-wrap {
  grid-column: 1 / -1;
  margin: 24px 0 32px;
  min-width: 0;
}
.healthbih-care-app[data-hbh-presentation="clinic"] .clinic-profile-section .profilebody {
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 40px;
}
.healthbih-care-app[data-hbh-presentation="clinic"] .clinic-profile-section .profilebody h2 {
  margin-bottom: 20px;
}

.healthbih-care-app[data-hbh-presentation="implant"] .pagehero {
  padding-bottom: 36px;
}
.healthbih-care-app[data-hbh-presentation="implant"] .pagehero > .wrap > p {
  max-width: 64ch;
}
.healthbih-care-app[data-hbh-presentation="implant"] .treatment-details {
  padding-top: 40px;
}
.healthbih-care-app[data-hbh-presentation="implant"] .treatment-section {
  margin-bottom: 36px;
}

@media (max-width: 850px) {
  .healthbih-care-app[data-hbh-presentation="clinic"] .clinic-profile-section .profilebody {
    grid-template-columns: minmax(0, 1fr);
    gap: 28px;
  }
}
@media (max-width: 600px) {
  .healthbih-care-app[data-hbh-presentation="doctor"] .doctor-summary-grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
  }
  /* The name and profile breadcrumb already identify the doctor on narrow screens. */
  .healthbih-care-app[data-hbh-presentation="doctor"] .doctor-placeholder {
    display: none;
  }
  .healthbih-care-app[data-hbh-presentation="doctor"] .doctor-summary {
    padding-bottom: 20px;
  }
  .healthbih-care-app[data-hbh-presentation="doctor"] .doctor-summary + .section {
    padding-top: 24px;
    padding-bottom: 40px;
  }
  .healthbih-care-app[data-hbh-presentation="clinic"] .clinic-profile-section > .wrap {
    display: block;
  }
  .healthbih-care-app[data-hbh-presentation="clinic"] .clinic-profile-section > .wrap > .actions {
    margin-bottom: 12px;
  }
  .healthbih-care-app[data-hbh-presentation="clinic"] .clinic-profile-section > .wrap > .dataitems {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding: 16px 0;
  }
  .healthbih-care-app[data-hbh-presentation="clinic"] .clinic-tabs-wrap {
    margin: 20px 0 24px;
  }
  .healthbih-care-app[data-hbh-presentation="implant"] .pagehero {
    padding-bottom: 28px;
  }
  .healthbih-care-app[data-hbh-presentation="implant"] .pagehero h1 {
    margin-bottom: 18px;
  }
  .healthbih-care-app[data-hbh-presentation="implant"] .pagehero > .wrap > p {
    text-align: left;
    line-height: 1.6;
  }
  .healthbih-care-app[data-hbh-presentation="implant"] .treatment-hero-actions {
    margin-top: 20px;
    gap: 16px;
  }
  .healthbih-care-app[data-hbh-presentation="implant"] .treatment-details {
    padding-top: 28px;
  }
  .healthbih-care-app[data-hbh-presentation="implant"] .treatment-section {
    margin-bottom: 28px;
  }
}
