/* Shared MPN footer — deliberately scoped to avoid changing portal, registration or event layouts. */
.mpn-site-footer {
  --mpn-footer-text: #f2f4ee;
  --mpn-footer-muted: #c0d0c7;
  --mpn-footer-accent: #cfb07c;
  position: relative;
  isolation: isolate;
  width: 100%;
  flex-shrink: 0;
  overflow: clip;
  margin: 0;
  border: 0;
  border-top: 2px solid #b79b68;
  background: radial-gradient(ellipse at 0% 0%, rgba(157, 186, 157, .13), transparent 48%),
              linear-gradient(134deg, #123d32 0%, #102e28 55%, #0b241f 100%);
  color: var(--mpn-footer-text);
  font: 400 14px/1.65 system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  text-align: start;
}
.mpn-site-footer *,
.mpn-site-footer *::before,
.mpn-site-footer *::after { box-sizing: border-box; }
.mpn-site-footer__inner {
  width: min(100% - 64px, 1230px);
  max-width: 100%;
  margin-inline: auto;
}
.mpn-site-footer__body {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
  gap: clamp(36px, 7vw, 106px);
  align-items: start;
  padding-block: clamp(39px, 5.7vw, 69px) clamp(35px, 4.3vw, 55px);
}
.mpn-site-footer__identity { max-width: 510px; min-width: 0; }
.mpn-site-footer a {
  color: inherit;
  text-decoration: none;
  text-underline-offset: 4px;
  transition: color .18s ease, border-color .18s ease, opacity .18s ease;
}
.mpn-site-footer a:hover { color: #f4dba9; }
.mpn-site-footer a:focus-visible {
  outline: 3px solid #efcc88;
  outline-offset: 5px;
  border-radius: 3px;
}
.mpn-site-footer__brand {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  max-width: 100%;
  color: #fffaf0;
}
.mpn-site-footer__brand img {
  width: 52px;
  height: 52px;
  min-width: 52px;
  object-fit: contain;
  border-radius: 12px;
  padding: 7px;
  background: rgba(255,255,255,.94);
  box-shadow: 0 1px 12px rgba(0,0,0,.08);
}
.mpn-site-footer__brand > span { display: grid; gap: 2px; min-width: 0; }
.mpn-site-footer__brand strong {
  display: block;
  color: #fffaf3;
  font-size: clamp(14px, 1.25vw, 18px);
  line-height: 1.3;
  font-weight: 700;
  letter-spacing: .015em;
}
.mpn-site-footer__brand small {
  color: #e0caa4;
  font-size: 11.5px;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: .015em;
}
.mpn-site-footer__identity p {
  max-width: 450px;
  margin: 19px 0 15px;
  color: var(--mpn-footer-muted);
  font-size: 13.5px;
  line-height: 1.75;
}
.mpn-site-footer__domain {
  display: inline-block;
  width: fit-content;
  padding-block: 2px;
  border-bottom: 1px solid rgba(207,176,124,.47);
  color: #e9d8b9 !important;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .025em;
}
.mpn-site-footer__navigation {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 4vw, 58px);
  min-width: 0;
}
.mpn-site-footer__links { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; min-width: 0; }
.mpn-site-footer__links h2 {
  margin: 0 0 11px;
  padding: 0 0 10px;
  width: 100%;
  border-bottom: 1px solid rgba(215, 224, 211, .17);
  color: #efd5ac;
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .065em;
  text-transform: uppercase;
}
.mpn-site-footer__links a {
  display: inline-block;
  max-width: 100%;
  padding-block: 2px;
  color: #e1ebe5;
  font-size: 13px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.mpn-site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 26px;
  align-items: center;
  justify-content: space-between;
  padding-block: 19px 22px;
  border-top: 1px solid rgba(228, 232, 219, .20);
  color: #b9c9be;
  font-size: 11.5px;
  line-height: 1.7;
}
.mpn-site-footer__bottom span { max-width: 100%; }
.mpn-site-footer__bottom span > span { margin-inline: 6px; color: #bda477; }
body.mvn-app-body .mpn-site-footer { margin-top: 0; }
@media (max-width: 1030px) {
  .mpn-site-footer__body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.15fr); gap: 38px; }
  .mpn-site-footer__navigation { gap: 24px; }
}
@media (max-width: 780px) {
  .mpn-site-footer__inner { width: min(100% - 40px, 680px); }
  .mpn-site-footer__body { grid-template-columns: 1fr; gap: 32px; }
  .mpn-site-footer__identity { max-width: 100%; }
  .mpn-site-footer__navigation { max-width: 600px; gap: 20px; }
  .mpn-site-footer__bottom { align-items: flex-start; flex-direction: column; }
  body.mvn-app-body .mpn-site-footer { padding-bottom: calc(80px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 450px) {
  .mpn-site-footer__inner { width: calc(100% - 34px); }
  .mpn-site-footer__body { padding-top: 32px; gap: 28px; }
  .mpn-site-footer__navigation { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
  .mpn-site-footer__links { gap: 9px; }
  .mpn-site-footer__links h2 { font-size: 10.5px; min-height: 36px; letter-spacing: .02em; }
  .mpn-site-footer__links a { font-size: 12px; }
  .mpn-site-footer__brand img { width: 45px; min-width: 45px; height: 45px; }
  .mpn-site-footer__brand strong { font-size: 13.3px; }
}
@media (prefers-reduced-motion: reduce) {
  .mpn-site-footer a { transition: none; }
}
@media print {
  .mpn-site-footer { display: none !important; }
}

/* Keyboard-only skip links on sign-in and certificate pages. */
.mpn-page-skip {
  position: fixed;
  z-index: 12000;
  inset-block-start: 0;
  inset-inline-start: 17px;
  transform: translateY(-160%);
  padding: 11px 15px;
  border: 2px solid #f0d294;
  border-radius: 0 0 10px 10px;
  background: #10392d;
  color: #fff;
  font: 700 14px/1.3 system-ui, sans-serif;
  text-decoration: none;
  box-shadow: 0 5px 18px rgba(0,0,0,.18);
}
.mpn-page-skip:focus, .mpn-page-skip:focus-visible {
  transform: translateY(0);
  outline: 3px solid #f0d294;
  outline-offset: 3px;
}
@media print { .mpn-page-skip { display:none!important; } }

/* Accessible footer: 44px minimum hit areas (desktop and mobile). */
.mpn-site-footer__links { gap: 2px; }
.mpn-site-footer__links > a,
.mpn-site-footer__domain {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding-block: 8px;
}
.mpn-site-footer__links > a { padding-inline: 2px; }
@media (max-width: 450px) {
  .mpn-site-footer__links { gap: 2px; }
  .mpn-site-footer__links > a { font-size: 12px; line-height: 1.5; }
}
