/* Keep Bio copy readable on narrow screens when shared rules lose the cascade. */
@media (max-width: 767.98px) {
  body.page-bio main :is(
    p:not(.small):not(.op-eyebrow):not(.ss-eyebrow),
    li,
    dt,
    dd,
    blockquote,
    td,
    th
  ) {
    font-size: max(16px, 1em) !important;
    overflow-wrap: anywhere;
  }

  body.page-bio main :is(
    small,
    .small,
    figcaption,
    .form-text,
    .ss-eyebrow,
    .op-eyebrow,
    .ss-date-class,
    .ss-calendar-help,
    .ss-month-legend
  ) {
    font-size: max(14px, 1em) !important;
    overflow-wrap: anywhere;
  }
}

/* Give the Bio action bar enough room for both labels on narrow phones. */
@media (max-width: 767.98px) {
  body.page-bio .ss-mobile-actionbar .ss-action-primary,
  body.page-bio .ss-mobile-actionbar .ss-action-reserve {
    box-sizing: border-box;
    width: auto;
    flex: 0 1 auto;
    padding-inline: 6px;
    font-size: 14px;
    white-space: normal;
    overflow: visible;
    line-height: 1.15;
  }

  body.page-bio .ss-mobile-actionbar .ss-action-home {
    box-sizing: border-box;
    width: 44px;
    flex: 0 0 44px;
    padding-inline: 6px;
  }
}
