/* V134 (<= 992px only): keep the existing selects/4 anchors and destinations.
   Their transparent pseudo-element extends the native link to its own row. */
@media (max-width: 992px) {
  #offcanvasBottom #sap {
    padding-block-end: max(1.5rem, env(safe-area-inset-bottom, 0px));
  }

  #offcanvasBottom #sap > .row {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0.5rem 0.75rem;
    min-block-size: 44px;
    margin-inline: 0;
    padding-block: 0.75rem;
    padding-inline: 0.75rem 2rem;
    border-radius: var(--bs-border-radius, 0.375rem);
    cursor: pointer;
  }

  #offcanvasBottom #sap > .row:is(:hover, :active) {
    background-color: #f0f3f5;
  }

  #offcanvasBottom #sap > .row:focus-within {
    outline: 2px solid #185a93;
    outline-offset: 2px;
  }

  #offcanvasBottom #sap > .row > div {
    inline-size: auto;
    min-inline-size: 0;
    padding: 0 !important; /* Replace Bootstrap column gutters and .px-3/.pe-3. */
    font-size: 0.8125rem;
    line-height: 1.5;
  }

  #offcanvasBottom #sap > .row > div:nth-child(2) {
    grid-row: 1;
    grid-column: 1 / -1;
  }

  #offcanvasBottom #sap > .row a {
    position: static;
    display: block;
    padding: 0;
    border: 0 !important; /* Override the existing Bootstrap .border utility. */
    font-size: 1rem;
    line-height: 1.5;
    text-align: start;
    overflow-wrap: anywhere;
  }

  #offcanvasBottom #sap > .row a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
  }

  #offcanvasBottom #sap > .row a small {
    font-size: 0.875rem;
  }

  #offcanvasBottom #sap > .row .badge {
    max-inline-size: 100%;
    margin: 0 !important; /* Replace the existing .mx-3 utility. */
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: start;
    line-height: 1.5;
  }

  #offcanvasBottom #sap > .row::after {
    content: "›";
    content: "›" / ""; /* Decorative: the existing engine link supplies the name. */
    position: absolute;
    inset-inline-end: 0.5rem;
    inset-block-start: 0.75rem;
    font-size: 1.5rem;
    line-height: 1;
    pointer-events: none;
  }
}
