/* Shared institutional footer, based on the En Terminal homepage footer.
   Scoped to avoid collisions with a page's own .footer, .foot, .nav and CSS. */
footer.ent-site-footer {
  display: block;
  position: relative;
  clear: both;
  width: 100%;
  max-width: none;
  min-width: 0;
  box-sizing: border-box;
  margin: 0;
  padding: 38px max(16px, env(safe-area-inset-right)) 25px max(16px, env(safe-area-inset-left));
  background: #020020;
  border: 0;
  color: rgba(255, 255, 255, .84);
  font: 400 14px/1.65 Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  text-align: left;
}
footer.ent-site-footer, footer.ent-site-footer * { box-sizing: border-box; }
footer.ent-site-footer .ent-footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, auto);
  align-items: start;
  gap: 30px;
  width: min(1160px, 100%);
  margin-inline: auto;
  padding: 0;
}
footer.ent-site-footer img {
  display: block;
  width: 255px;
  height: auto;
  max-width: 100%;
  max-height: 60px;
  object-fit: contain;
}
footer.ent-site-footer .ent-footer-note {
  margin: 12px 0 0;
  max-width: 560px;
  font: inherit;
  color: rgba(255, 255, 255, .77);
}
footer.ent-site-footer .ent-footer-links {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 9px;
  margin: 0;
  padding: 0;
  min-width: 0;
  text-align: right;
}
footer.ent-site-footer a {
  color: rgba(255, 255, 255, .89);
  text-decoration: none;
  font: inherit;
  overflow-wrap: anywhere;
}
footer.ent-site-footer .ent-footer-links a { display: inline; padding: 0; border: 0; background: transparent; }
footer.ent-site-footer a:hover { color: #ffe600; text-decoration: underline; }
footer.ent-site-footer a:focus-visible { outline: 2px solid #ffe600; outline-offset: 3px; }
footer.ent-site-footer .ent-footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
}
footer.ent-site-footer .ent-footer-social {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  color: #f4f3ff;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 11px;
  background: rgba(255,255,255,.08);
}
footer.ent-site-footer .ent-footer-social:hover { color: #ffe600; background: rgba(255,255,255,.15); }
footer.ent-site-footer .ent-footer-social svg {
  display: block;
  width: 20px;
  height: 20px;
  fill: currentColor;
}
footer.ent-site-footer .ent-footer-bottom {
  width: min(1160px,100%);
  margin: 26px auto 0;
  padding: 13px 0 0;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.64);
  text-align: center;
  font-size: 12px;
}
@media (max-width: 750px) {
  footer.ent-site-footer { padding: 31px 16px 23px; text-align: center; }
  footer.ent-site-footer .ent-footer-inner { grid-template-columns: 1fr; gap: 25px; justify-items: center; }
  footer.ent-site-footer img { margin-inline: auto; width: 220px; }
  footer.ent-site-footer .ent-footer-note { text-align: center; max-width: 510px; }
  footer.ent-site-footer .ent-footer-socials { justify-content: center; }
  footer.ent-site-footer .ent-footer-links { align-items: center; text-align: center; gap: 10px; width: 100%; }
}
@media print {
  footer.ent-site-footer { display: none !important; }
}
