/* SiteGraft: fixes on top of the source site's CSS. Loaded last on every page. */

/* The authentication layout has its own brand panel; its copied site header is not
   rendered by the live authentication route. */
.ak-auth > .ak-header { display: none; }

/* Restore the header collapse behaviour which was formerly supplied by Bootstrap. */
@media (max-width: 767.98px) {
  .ak-header .ak-header-collapse { display: none; }
  .ak-header .ak-header-collapse.is-open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    height: auto;
    min-height: 0;
    padding: 16px 24px 20px;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    background: var(--ak-white, #fff);
    box-shadow: 0 8px 16px rgba(20, 35, 59, .14);
  }
  .ak-header .ak-header-collapse.is-open .ak-nav {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .ak-header .ak-header-collapse.is-open .ak-nav-link { display: block; padding: 10px 0; }
  .ak-header .ak-header-collapse.is-open .ak-header-actions { display: flex; }
}
