/* Shared L.A. Local Sites sample-site banner and footer back button */

.lls-demobar {
  --lls-navy: #0b1f4a;
  --lls-blue: #2f80ff;
  --lls-blue-d: #1d66dc;
  --lls-tint: #9cc2ff;
  --lls-soft: #cfe0ff;
  box-sizing: border-box;
  background: var(--lls-navy);
  color: #fff;
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-size: 0.88rem;
  line-height: 1.35;
  position: sticky;
  top: 0;
  z-index: 60;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 22px rgba(7, 22, 52, 0.28);
}

.lls-demobar *,
.lls-demobar *::before,
.lls-demobar *::after {
  box-sizing: border-box;
}

.lls-demobar-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.7rem 1rem;
  width: min(1180px, calc(100% - 1.5rem));
  margin-inline: auto;
  padding: 0.65rem 0;
}

.lls-demobar-logo {
  flex: none;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: block;
  background: #0b2a63;
}

.lls-demobar-copy {
  flex: 1 1 auto;
  min-width: 0;
  margin: 0;
  display: grid;
  gap: 0.12rem;
}

.lls-demobar-msg {
  font-weight: 600;
  font-size: 0.9rem;
  letter-spacing: -0.01em;
  color: #fff;
}

.lls-demobar-contact {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--lls-soft);
}

.lls-demobar-contact a {
  color: var(--lls-tint);
  text-decoration: none;
  font-weight: 500;
}

.lls-demobar-contact a:hover,
.lls-demobar-contact a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.lls-demobar-btn {
  flex: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.45rem 1.1rem;
  background: var(--lls-blue);
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 600;
  font-size: 0.82rem;
  border: 2px solid var(--lls-blue);
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.lls-demobar-btn:hover,
.lls-demobar-btn:focus-visible {
  background: var(--lls-blue-d);
  border-color: var(--lls-blue-d);
  color: #fff;
  text-decoration: none;
}

.lls-demobar-btn:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 639px) {
  .lls-demobar-contact {
    display: none;
  }

  .lls-demobar-inner {
    width: calc(100% - 1.1rem);
    gap: 0.55rem 0.7rem;
    padding: 0.55rem 0;
  }

  .lls-demobar-logo {
    width: 28px;
    height: 28px;
    border-radius: 7px;
  }

  .lls-demobar-msg {
    font-size: 0.78rem;
    line-height: 1.3;
  }

  .lls-demobar-btn {
    min-height: 42px;
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }
}

@media (max-width: 479px) {
  .lls-demobar-inner {
    grid-template-columns: auto 1fr;
  }

  .lls-demobar-btn {
    grid-column: 1 / -1;
    white-space: nowrap;
  }
}

/* Footer "Back to L.A. Local Sites" button */
.site-footer a.lls-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.5rem 1.2rem;
  margin-top: 0.25rem;
  background: #2f80ff;
  color: #fff;
  text-decoration: none;
  border-radius: 999px;
  font-family: "Sora", "Segoe UI", system-ui, sans-serif;
  font-weight: 600;
  font-size: 0.88rem;
  border: 2px solid #2f80ff;
  width: fit-content;
  transition: background 0.15s, border-color 0.15s;
}

.site-footer a.lls-back:hover,
.site-footer a.lls-back:focus-visible {
  background: #1d66dc;
  border-color: #1d66dc;
  color: #fff;
  text-decoration: none;
}

.site-footer a.lls-back:focus-visible {
  outline: 3px solid #2f80ff;
  outline-offset: 3px;
}
