/* Client review polish: preserve the approved design and all page copy. */
main :is(h1, h2, h3),
.ledger strong {
  text-wrap: balance;
}
/* Opening-hour ranges must stay together, including inside narrow ledgers. */
.ledger dd strong .hours-range {
  display: inline;
  margin: 0;
  color: inherit;
  font: inherit;
  white-space: nowrap;
}
.crumbs li {
  align-items: baseline;
  min-width: 0;
  max-width: 100%;
}
.crumbs li + li::before { flex: 0 0 auto; }
.crumbs [aria-current="page"] { text-wrap: pretty; }

@media (max-width: 760px) {
  /* Give wrapped breadcrumb labels the same rhythm as the body copy. */
  .crumbs ol { gap: 6px 8px; line-height: 1.6; }
  .crumbs a { min-height: 44px; }
  .crumbs li:last-child { padding-block: 6px; }
  .footer-col a {
    min-height: 44px;
    padding-block: 8px;
    line-height: 1.5;
  }
  /* Every repair category is visible without a hidden horizontal scroll. */
  .jumpnav { position: static; }
  .jumpnav__list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    padding: 8px var(--gutter);
    gap: 0 12px;
    overflow: visible;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .jumpnav__list li { min-width: 0; }
  .jumpnav__link {
    align-items: baseline;
    width: 100%;
    min-height: 64px;
    height: auto;
    padding: 12px 4px;
    border-bottom: 1px solid var(--rule);
    font-size: .75rem;
    line-height: 1.5;
    white-space: normal;
    text-align: left;
  }
  .jumpnav__link span { flex: 0 0 16px; }
}

/* Original social/directions destinations, kept readable above the mobile action rail. */
.footer-profiles { background: #09214E; color: white; padding: 0 0 28px; }
.footer-profiles .wrap { display: flex; flex-wrap: wrap; gap: 8px 28px; border-top: 1px solid rgba(255,255,255,.2); padding-top: 20px; }
.footer-profiles a { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 14px; color: white; text-decoration: underline; text-underline-offset: 5px; }
.footer-profiles a:hover { color: #EFB820; }
.footer-profiles a:focus-visible { outline: 2px solid #EFB820; outline-offset: 4px; }
.community-posts { display: grid; gap: 8px; margin-top: 24px; }
.community-posts a { display: inline-block; padding: 8px 0; text-underline-offset: 4px; }
@media (max-width: 760px) { .footer-profiles { padding-bottom: 100px; } .footer-profiles .wrap { gap: 8px 24px; } }
