/* Shared JISPL shell for the bilingual Knowledge Base. */
:root {
  --jispl-shell-ink: #082f49;
  --jispl-shell-muted: #5b7181;
  --jispl-shell-line: rgba(8, 47, 73, .14);
  --jispl-shell-accent: #0b7285;
  --jispl-shell-dark: #06283d;
}

body { padding-top: 76px; }

.jispl-kb-header {
  position: fixed;
  z-index: 1000;
  inset: 0 0 auto;
  min-height: 76px;
  background: rgba(255, 255, 255, .96);
  border-bottom: 1px solid var(--jispl-shell-line);
  box-shadow: 0 8px 24px rgba(6, 40, 61, .08);
  backdrop-filter: blur(12px);
}

.jispl-kb-header-inner,
.jispl-kb-footer-inner {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.jispl-kb-header-inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.jispl-kb-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--jispl-shell-ink);
  text-decoration: none;
  min-width: 0;
}

.jispl-kb-brand img { width: 50px; height: 50px; object-fit: contain; flex: 0 0 auto; }
.jispl-kb-brand strong { display: block; font: 800 15px/1.1 system-ui, sans-serif; letter-spacing: -.02em; }
.jispl-kb-brand small { display: block; margin-top: 4px; color: var(--jispl-shell-muted); font: 700 10px/1.1 system-ui, sans-serif; letter-spacing: .11em; text-transform: uppercase; }

.jispl-kb-nav { display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 6px 18px; font: 750 12px/1 system-ui, sans-serif; }
.jispl-kb-nav a { color: var(--jispl-shell-ink); text-decoration: none; }
.jispl-kb-nav a:hover, .jispl-kb-nav a:focus-visible { color: var(--jispl-shell-accent); }
.jispl-kb-nav .portal { padding: 10px 14px; color: #fff; background: var(--jispl-shell-accent); border-radius: 999px; }

.jispl-kb-footer { margin-top: 72px; color: #dbeaf0; background: var(--jispl-shell-dark); }
.jispl-kb-footer-inner { padding: 34px 0 18px; }
.jispl-kb-footer-main { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; }
.jispl-kb-footer-brand { display: flex; align-items: center; gap: 12px; max-width: 430px; }
.jispl-kb-footer-brand img { width: 58px; height: 58px; object-fit: contain; }
.jispl-kb-footer-brand strong { display: block; color: #fff; font: 800 15px/1.25 system-ui, sans-serif; }
.jispl-kb-footer-brand span { display: block; margin-top: 5px; color: #a9c2cd; font: 500 12px/1.5 system-ui, sans-serif; }
.jispl-kb-footer-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 10px 18px; font: 700 12px/1.4 system-ui, sans-serif; }
.jispl-kb-footer-links a { color: #dbeaf0; text-decoration: none; }
.jispl-kb-footer-links a:hover, .jispl-kb-footer-links a:focus-visible { color: #7de2ed; }
.jispl-kb-footer-bottom { display: flex; justify-content: space-between; gap: 18px; margin-top: 24px; padding-top: 14px; border-top: 1px solid rgba(219, 234, 240, .18); color: #94b2bf; font: 500 11px/1.5 system-ui, sans-serif; }

@media (max-width: 720px) {
  body { padding-top: 68px; }
  .jispl-kb-header, .jispl-kb-header-inner { min-height: 68px; }
  .jispl-kb-header-inner { width: min(100% - 24px, 1180px); gap: 10px; }
  .jispl-kb-brand img { width: 42px; height: 42px; }
  .jispl-kb-brand strong { font-size: 12px; }
  .jispl-kb-brand small { font-size: 8px; }
  .jispl-kb-nav { gap: 6px 10px; font-size: 10px; }
  .jispl-kb-nav a:nth-child(-n+3) { display: none; }
  .jispl-kb-nav .portal { padding: 8px 10px; }
  .jispl-kb-footer-inner { width: min(100% - 24px, 1180px); }
  .jispl-kb-footer-main, .jispl-kb-footer-bottom { display: block; }
  .jispl-kb-footer-links { justify-content: flex-start; margin-top: 22px; }
  .jispl-kb-footer-bottom span + span { display: block; margin-top: 5px; }
}

@media print {
  body { padding-top: 0; }
  .jispl-kb-header { position: static; box-shadow: none; }
  .jispl-kb-nav, .jispl-kb-footer-links { display: none; }
}
