/* A single parent-level return link replaces the obsolete two-column phone row. */
@media (max-width: 767px) {
  body.library-layout.is-program .library-sidebar {
    display: block;
    margin-bottom: 12px;
  }
  body.library-layout.is-program .library-sidebar > .program-overview {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    width: fit-content !important;
    max-width: 100%;
    min-height: 44px;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 8px 12px;
    gap: 8px;
    font-size: 14px;
    line-height: 1.5;
    text-align: start;
    border-radius: 8px;
  }
  body.library-layout.is-program .library-sidebar > .program-overview > svg {
    display: none;
  }
  body.library-layout.is-program .library-sidebar > .program-overview::before {
    content: '';
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 5-7 7 7 7M5 12h14' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 5-7 7 7 7M5 12h14' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
  }
  body.library-layout.is-program .library-sidebar > .program-overview:dir(rtl)::before {
    transform: scaleX(-1);
  }
  body.library-layout.is-program .library-sidebar > .program-overview:hover,
  body.library-layout.is-program .library-sidebar > .program-overview:focus-visible {
    background: #e3ece0;
    color: #294b3b;
    text-decoration: underline;
    text-underline-offset: 3px;
    outline: none;
  }
  html[data-theme='dark'] body.library-layout.is-program .library-sidebar > .program-overview:hover,
  html[data-theme='dark'] body.library-layout.is-program .library-sidebar > .program-overview:focus-visible {
    background: #304238;
    color: #d4ece0;
  }
}
