/* static/css/components/footer-simple.css
   Simple site footer: logo + horizontal legal links + language switcher,
   then copyright + disclaimer. Used by templates/components/footer_simple.html.
   Self-contained — link it on any page that includes the footer. Switcher
   styles mirror landing/footer.css so it matches the main site footer. */
:root{
  --fs-bg:#f5f8fd; --fs-ink:#1a2340; --fs-muted:#6b7385; --fs-line:#e4eaf5; --fs-primary:#274285;
}

.footer-simple{ border-top:1px solid var(--fs-line); background:var(--fs-bg); font-size:.92rem; }
.footer-simple-inner{ max-width:1160px; margin:0 auto; padding:26px 24px; }

/* Top row: logo left, links + language right */
.footer-simple-top{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:16px 28px; padding-bottom:20px; border-bottom:1px solid var(--fs-line); }
.footer-logo{ display:inline-flex; align-items:center; flex:0 0 auto; }
.footer-logo img{ height:30px; width:auto; }

.footer-simple-nav{ display:flex; align-items:center; flex-wrap:wrap; gap:14px 24px; }
.footer-simple-links{ display:flex; flex-wrap:wrap; align-items:center; gap:10px 26px; }
.footer-simple-links a{ color:var(--fs-muted); text-decoration:underline; text-underline-offset:3px; transition:color .15s; }
.footer-simple-links a:hover{ color:var(--fs-primary); }

/* Language switcher (mirrors landing/footer.css) */
.footer-simple .footer-lang{ flex-shrink:0; }
.footer-simple .lang-switch{ position:relative; }
.footer-simple .lang-current{ display:inline-flex; align-items:center; gap:8px; background:#fff; border:1px solid var(--fs-line); border-radius:8px; padding:9px 14px; font-size:.9rem; color:var(--fs-ink); cursor:pointer; font-weight:600; transition:border-color .15s; font-family:inherit; }
.footer-simple .lang-current:hover{ border-color:var(--fs-primary); }
.footer-simple .lang-current .caret{ font-size:.7rem; color:var(--fs-muted); transition:transform .18s; }
.footer-simple .lang-current[aria-expanded="true"] .caret{ transform:rotate(180deg); }
.footer-simple .lang-menu{ position:absolute; bottom:calc(100% + 8px); right:0; min-width:180px; background:#fff; border:1px solid var(--fs-line); border-radius:10px; box-shadow:0 8px 28px rgba(26,35,64,.12); list-style:none; margin:0; padding:6px; z-index:40; opacity:0; visibility:hidden; transform:translateY(6px); transition:opacity .16s, transform .16s, visibility .16s; }
.footer-simple .lang-menu.open{ opacity:1; visibility:visible; transform:translateY(0); }
.footer-simple .lang-menu a{ display:flex; align-items:center; justify-content:space-between; padding:9px 12px; border-radius:6px; text-decoration:none; color:var(--fs-ink); font-size:.9rem; }
.footer-simple .lang-menu a:hover{ background:#f2f6fd; }
.footer-simple .lang-menu a.is-current{ color:var(--fs-primary); font-weight:700; }
.footer-simple .lang-code{ font-size:.72rem; color:var(--fs-muted); font-weight:600; }

/* Bottom: copyright + disclaimer (left-aligned, muted — matches the screenshot) */
.footer-simple-legal{ padding-top:20px; }
.footer-copyright{ color:#274285; font-weight:400; text-align:center; background:#ebf1fb; padding:16px 0; font-size:12px; line-height:inherit; margin:0; }
.footer-simple .footer-disclaimer{ color:var(--fs-muted); font-size:.82rem; line-height:1.55; margin:0; max-width:80ch; }

@media (max-width:640px){
  .footer-simple-top{ justify-content:center; }
  .footer-simple-links{ justify-content:center; }
}