/* /Pages/Shared/_Layout.cshtml.rz.scp.css */
/* Please see documentation at https://learn.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand[b-cl5qw9n5gl] {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* The link, .btn-primary and .nav-pills colour overrides that used to live here
   were removed rather than re-pointed at the brand palette. Scoped CSS gets a
   [b-*] attribute appended to every selector, so these rules outranked anything
   in site.css and pinned the layout's chrome to the old blue no matter what the
   theme said — and because they were plain hex, they ignored the light/dark
   toggle too. Bootstrap's own variables now drive all three, themed from
   site.css. */

.border-top[b-cl5qw9n5gl] {
  border-top: 1px solid var(--bs-border-color);
}
.border-bottom[b-cl5qw9n5gl] {
  border-bottom: 1px solid var(--bs-border-color);
}

.box-shadow[b-cl5qw9n5gl] {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy[b-cl5qw9n5gl] {
  font-size: 1rem;
  line-height: inherit;
}

/* The footer holds three groups — brand, links, then theme toggles + version. They sit on one line whenever
   that line fits; when it doesn't, the whole footer stacks so each group gets its own row in that order,
   rather than letting flex-wrap pack two groups onto one row and orphan the third.

   Where "fits" falls depends on what's in the link row, so the breakpoint is per-variant (see below). Above
   it everything is nowrap and the pipes separate the items; below it the groups become rows in a column. */
.footer[b-cl5qw9n5gl] {
  width: 100%;
  padding: 1rem 0;
}

.footer-inner[b-cl5qw9n5gl] {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.footer-brand[b-cl5qw9n5gl],
.footer-links[b-cl5qw9n5gl],
.footer-meta[b-cl5qw9n5gl] {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
}

.footer-brand[b-cl5qw9n5gl] {
  gap: 1rem;
}

.footer-brand img[b-cl5qw9n5gl] {
  max-width: 100%;
  height: auto;
}

/* Stacked layout: brand on the first row, links on the second, theme + version on the last. Only the link
   row is long enough to wrap within itself, and once it does the pipes would strand at a line's start or
   end — so the separators go and the gap does the separating throughout.

   The single-line widths are measured, not guessed: the anonymous footer needs ~850px of content, which
   fits the 960px container Bootstrap gives from the lg breakpoint up. The signed-in footer carries the
   Feedback and Developer badges too (~1080px) and only fits the 1140px xl container. Hence two thresholds —
   .footer-wide is set by the layout when those badges are rendered. */
@media (max-width: 991.98px) {
  .footer-inner[b-cl5qw9n5gl] {
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-inner .footer-links[b-cl5qw9n5gl],
  .footer-inner .footer-meta[b-cl5qw9n5gl] {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.75rem;
  }

  .footer-inner .footer-sep[b-cl5qw9n5gl] {
    display: none;
  }
}

@media (max-width: 1199.98px) {
  .footer-inner.footer-wide[b-cl5qw9n5gl] {
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-inner.footer-wide .footer-links[b-cl5qw9n5gl],
  .footer-inner.footer-wide .footer-meta[b-cl5qw9n5gl] {
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.35rem 0.75rem;
  }

  .footer-inner.footer-wide .footer-sep[b-cl5qw9n5gl] {
    display: none;
  }
}
