.ljcd-banner {
  position: sticky;
  top: 0;
  z-index: 2147483000;
  width: 100%;
  box-sizing: border-box;
  background: var(--ljcd-bg);
  color: var(--ljcd-fg);
  font-family: inherit;
  box-shadow: 0 3px 15px rgba(0, 0, 0, .12);
}

/* The La Jocondienne theme fixes its header at top: 0. Keep it below the banner. */
body.ljcd-active #header.l-header {
  top: var(--ljcd-banner-height, 56px) !important;
}

.ljcd-banner *, .ljcd-banner *::before, .ljcd-banner *::after { box-sizing: border-box; }

.ljcd-banner .ljcd-link {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px 22px;
  width: 100%;
  min-height: 56px;
  padding: 8px 20px;
  color: var(--ljcd-fg);
  text-align: center;
  text-decoration: none;
}

.ljcd-banner .ljcd-link:hover,
.ljcd-banner .ljcd-link:focus { color: var(--ljcd-fg); text-decoration: none; }
.ljcd-banner .ljcd-link:focus-visible { outline: 3px solid var(--ljcd-button-bg); outline-offset: -4px; }
.ljcd-banner .ljcd-message { font-size: 15px; font-weight: 700; line-height: 1.3; }
.ljcd-banner .ljcd-clock { display: inline-flex; align-items: center; gap: 6px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ljcd-banner .ljcd-unit { display: inline-flex; align-items: baseline; gap: 2px; font-size: 19px; font-weight: 700; line-height: 1; }
.ljcd-banner .ljcd-unit small { font-size: 10px; font-weight: 600; }
.ljcd-banner .ljcd-separator { opacity: .7; font-weight: 700; }
.ljcd-banner .ljcd-button {
  display: inline-block;
  padding: 8px 14px;
  border-radius: 3px;
  background: var(--ljcd-button-bg);
  color: var(--ljcd-button-fg);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 650px) {
  .ljcd-banner .ljcd-link { gap: 5px 12px; padding: 8px 10px; }
  .ljcd-banner .ljcd-message { flex-basis: 100%; font-size: 13px; }
  .ljcd-banner .ljcd-unit { font-size: 16px; }
  .ljcd-banner .ljcd-button { padding: 6px 9px; font-size: 12px; }
}
