/* Short detail-page navigation stays available without a script or menu. */
.detail-header .nav a:focus-visible {
  outline: 2px solid var(--green-2);
  outline-offset: 3px;
}

@media (max-width: 1060px) {
  .detail-header .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    padding-block: 12px 8px;
  }

  .detail-header .nav {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 4px 16px;
  }

  .detail-header .nav a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
  }
}
