/* Patient institutional dialog; the footer layout follows the professional site. */
.patient-about-dialog .about-modal__copy a {
  color: var(--brand-700);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
}

.patient-about-dialog {
  position: fixed;
  inset: 0;
  width: min(720px, calc(100% - 32px));
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 0;
  border: 0;
  color: var(--text);
}

.patient-about-dialog::backdrop {
  background: rgb(16 24 40 / 62%);
}

.patient-about-dialog .about-modal__body {
  padding-top: 28px;
}

@media (max-width: 479px) {
  .patient-about-dialog {
    width: calc(100% - 24px);
    max-height: calc(100dvh - 24px);
    border-radius: var(--radius-lg);
  }
}
