/* SMORTLER shared footer v1.2
   One centralized design for cross-domain PHP footer_SI.php.
   All selectors are scoped to .si-site-footer. */

body .si-site-footer,
.si-site-footer {
  box-sizing: border-box;
  display: block;
  clear: both;
  width: 100%;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 31px 22px 17px;
  border: 0;
  border-radius: 0;
  background: linear-gradient(110deg, #1e0d49 0%, #2a145d 54%, #532168 100%);
  color: #f9f5ff;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont,
               "Segoe UI", Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.55;
  text-align: left;
  letter-spacing: normal;
  overflow-wrap: break-word;
  box-shadow: none;
}

.si-site-footer,
.si-site-footer *,
.si-site-footer *::before,
.si-site-footer *::after { box-sizing: border-box; }

body .si-site-footer .si-footer-shell,
.si-site-footer .si-footer-shell {
  display: block;
  width: 100%;
  max-width: 1110px;
  min-width: 0;
  margin: 0 auto;
  padding: 0;
  background: transparent;
}

.si-site-footer .si-footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 25px 36px;
  min-width: 0;
  padding: 0 0 24px;
  margin: 0;
}

.si-site-footer .si-footer-brand-block {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-width: 0;
  margin: 0;
  padding: 0;
}

/* Never allow the brand artwork to expand to native pixel dimensions. */
.si-site-footer .si-footer-logo {
  display: block !important;
  width: 160px !important;
  max-width: 100% !important;
  height: auto !important;
  max-height: 62px !important;
  object-fit: contain;
  object-position: left center;
  margin: 0;
  padding: 0;
  border: 0;
  flex: 0 0 auto;
}

.si-site-footer .si-footer-brand-block > div { min-width: 0; }
.si-site-footer .si-footer-brand-block strong {
  display: block;
  margin: 0 0 4px;
  color: #fff;
  font-size: clamp(13px, 1.16vw, 15px);
  font-weight: 800;
  line-height: 1.38;
  letter-spacing: -.012em;
}

.si-site-footer .si-footer-brand-block p {
  margin: 0;
  padding: 0;
  max-width: 610px;
  color: #e5d9f5;
  font-size: 12px;
  line-height: 1.65;
  font-weight: 400;
}

body .si-site-footer .si-footer-nav,
.si-site-footer .si-footer-nav {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  align-content: center;
  align-items: start;
  justify-content: end;
  column-gap: 26px;
  row-gap: 6px;
  margin: 0;
  padding: 0;
  min-width: 0;
  background: transparent;
}

.si-site-footer .si-footer-nav a {
  display: inline-block;
  color: #f9f3ff;
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
}
.si-site-footer .si-footer-nav a:hover,
.si-site-footer .si-footer-nav a:focus-visible {
  color: #f6bc7f;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.si-site-footer a:focus-visible { outline: 2px solid #f6bc7f; outline-offset: 4px; }

.si-site-footer .si-footer-bottom {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  align-items: center;
  gap: 12px 20px;
  width: 100%;
  min-width: 0;
  margin: 0;
  padding: 14px 0 0;
  border-top: 1px solid rgba(243, 227, 255, .20);
  color: #e7d9f2;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .03em;
}
.si-site-footer .si-footer-bottom > span { min-width: 0; }
.si-site-footer .si-footer-bottom > span:nth-child(2) { text-align: center; }
.si-site-footer .si-footer-si {
  display: inline-flex;
  align-items: center;
  justify-self: end;
  justify-content: flex-end;
  gap: 9px;
  white-space: nowrap;
  font-size: 10px;
  color: #eee3fa;
}
.si-site-footer .si-footer-si .si-footer-official-logo {
  display: block !important;
  width: 35px !important;
  min-width: 35px !important;
  max-width: 35px !important;
  height: auto !important;
  max-height: 28px !important;
  object-fit: contain;
  border: 0;
  margin: 0;
  padding: 0;
}

@media (max-width: 900px) {
  .si-site-footer .si-footer-top { grid-template-columns: minmax(0,1fr); gap: 19px; }
  .si-site-footer .si-footer-nav { justify-content: start; }
}

@media (max-width: 630px) {
  body .si-site-footer, .si-site-footer { padding: 27px 18px 17px; }
  .si-site-footer .si-footer-brand-block { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .si-site-footer .si-footer-logo { width: 150px !important; max-height: 58px !important; }
  .si-site-footer .si-footer-brand-block strong { font-size: 14px; }
  .si-site-footer .si-footer-nav { grid-template-columns: repeat(2, minmax(0, max-content)); column-gap: 25px; }
  .si-site-footer .si-footer-bottom { grid-template-columns: 1fr auto; row-gap: 8px; }
  .si-site-footer .si-footer-bottom > span:nth-child(2) { text-align: left; grid-column: 1 / -1; grid-row: 2; }
  .si-site-footer .si-footer-si { grid-column: 2; grid-row: 1; }
}

@media (max-width: 375px) {
  .si-site-footer .si-footer-nav { gap: 7px 15px; }
  .si-site-footer .si-footer-nav a { font-size: 11px; }
  .si-site-footer .si-footer-bottom { grid-template-columns: 1fr; }
  .si-site-footer .si-footer-si,
  .si-site-footer .si-footer-bottom > span:nth-child(2) {
    grid-column: 1;
    grid-row: auto;
    justify-self: start;
    text-align: left;
  }
}

/* SMORTLER_SHARED_FOOTER_FLEX_GUARD_v1_3
   Prevent the shared footer from collapsing on pages using a full-height
   flex-column body, including VIOSCANS and VioTilneum. No page CSS changed. */
html body.vio-site footer.si-site-footer {
  flex: 0 0 auto !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;
  align-self: stretch !important;
  overflow: visible !important;
}

/* SMORTLER_FOOTER_BRAND_NATIVE_COLOR_V1_5
   Always display the approved orange artwork with its original colors. */
html body footer.si-site-footer img.si-footer-logo {
  filter: none !important;
  opacity: 1 !important;
}

.si-footer-brand-block {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
}

.si-footer-brand-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.si-footer-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.si-footer-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

.si-footer-logo-smortler {
    height: 34px;
    width: auto;
}

.si-footer-logo-si {
    height: 34px;
    width: auto;
}

.si-footer-brand-divider {
    width: 1px;
    height: 26px;
    background: rgba(186, 146, 255, 0.45);
    border-radius: 1px;
    flex: 0 0 auto;
}

.si-footer-brand-copy {
    min-width: 0;
}

.si-footer-brand-copy strong {
    display: block;
}

.si-footer-brand-copy p {
    margin: 6px 0 0;
}

@media (max-width: 700px) {
    .si-footer-brand-block {
        flex-direction: column;
        gap: 12px;
    }

.si-footer-brand-block {
    display: flex;
    align-items: flex-start;
    gap: 18px;
    min-width: 0;
}

.si-footer-brand-logos {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 0 0 auto;
}

.si-footer-brand-link {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.si-footer-logo {
    display: block;
    max-width: 100%;
    height: auto;
}

.si-footer-logo-smortler {
    height: 34px;
    width: auto;
}

.si-footer-logo-si {
    height: 34px;
    width: auto;
}

.si-footer-brand-divider {
    width: 1px;
    height: 26px;
    background: rgba(186, 146, 255, 0.45);
    border-radius: 1px;
    flex: 0 0 auto;
}

.si-footer-brand-copy {
    min-width: 0;
}

.si-footer-brand-copy strong {
    display: block;
}

.si-footer-brand-copy p {
    margin: 6px 0 0;
}

@media (max-width: 700px) {
    .si-footer-brand-block {
        flex-direction: column;
        gap: 12px;
    }

    .si-footer-logo-smortler {
        height: 30px;
    }

    .si-footer-logo-si {
        height: 30px;
    }

    .si-footer-brand-divider {
        height: 22px;
    }
}

    .si-footer-brand-divider {
        height: 22px;
    }
}

/* SMORTLER_FOOTER_DUAL_LOGO_OPTICAL_HEIGHT_v1_6
   The orange SMORTLER PNG contains transparent top/bottom padding (~1/3 of
   its height), so a 45px image box produces ~30px of visible wordmark.
   The SI badge has almost no alpha padding; a 30px box is visually matched.
   Override the original .si-footer-logo { width:160px!important } without
   affecting the smaller SI badge in the footer's copyright row. */
@media (min-width: 631px) {
  html body footer.si-site-footer .si-footer-brand-block {
    grid-template-columns: max-content minmax(0, 1fr) !important;
    column-gap: 20px !important;
  }
}
html body footer.si-site-footer .si-footer-brand-logos {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  flex-wrap: nowrap !important;
  gap: 11px !important;
  max-width: 100%;
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
}
html body footer.si-site-footer .si-footer-brand-logos a.si-footer-brand-link {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: transparent !important;
  text-decoration: none !important;
  line-height: 1 !important;
}
html body footer.si-site-footer .si-footer-brand-logos img.si-footer-logo-smortler {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 45px !important;
  max-height: 45px !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
}
html body footer.si-site-footer .si-footer-brand-logos img.si-footer-logo-si {
  display: block !important;
  width: auto !important;
  min-width: 0 !important;
  max-width: none !important;
  height: 30px !important;
  max-height: 30px !important;
  object-fit: contain !important;
  filter: none !important;
  opacity: 1 !important;
}
html body footer.si-site-footer .si-footer-brand-logos .si-footer-brand-divider {
  display: block !important;
  flex: 0 0 1px !important;
  width: 1px !important;
  height: 28px !important;
  border-radius: 1px;
  background: rgba(190, 158, 255, .54) !important;
}
html body footer.si-site-footer .si-footer-brand-copy {
  min-width: 0;
}
@media (max-width: 630px) {
  html body footer.si-site-footer .si-footer-brand-logos img.si-footer-logo-smortler {
    height: 39px !important;
    max-height: 39px !important;
  }
  html body footer.si-site-footer .si-footer-brand-logos img.si-footer-logo-si {
    height: 26px !important;
    max-height: 26px !important;
  }
  html body footer.si-site-footer .si-footer-brand-logos .si-footer-brand-divider {
    height: 24px !important;
  }
}
@media (max-width: 375px) {
  html body footer.si-site-footer .si-footer-brand-logos img.si-footer-logo-smortler {
    height: 36px !important;
    max-height: 36px !important;
  }
  html body footer.si-site-footer .si-footer-brand-logos img.si-footer-logo-si {
    height: 24px !important;
    max-height: 24px !important;
  }
  html body footer.si-site-footer .si-footer-brand-logos { gap: 8px !important; }
}

/* SMORTLER_FOOTER_PROJECT_LINKS_CSS_v1_7
   Two editorial feature links, scoped only to the shared footer.
   One central stylesheet, including the cyber site's same-origin CSS proxy. */
html body footer.si-site-footer .si-footer-feature-links {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100% !important;
  min-width: 0 !important;
  margin: 0 !important;
  padding: 0 0 18px !important;
  background: transparent !important;
}
html body footer.si-site-footer .si-footer-feature-links .si-footer-feature-link {
  display: flex !important;
  align-items: center !important;
  gap: 11px !important;
  min-width: 0 !important;
  min-height: 60px !important;
  margin: 0 !important;
  padding: 10px 13px !important;
  border: 1px solid rgba(219, 195, 255, .24) !important;
  border-radius: 12px !important;
  background: rgba(255, 255, 255, .055) !important;
  color: #faf6ff !important;
  font-family: inherit !important;
  text-decoration: none !important;
  text-align: left !important;
  box-shadow: none !important;
  transition: background-color .18s ease, border-color .18s ease !important;
}
html body footer.si-site-footer .si-footer-feature-links .si-footer-feature-link:hover,
html body footer.si-site-footer .si-footer-feature-links .si-footer-feature-link:focus-visible {
  background: rgba(255, 255, 255, .115) !important;
  border-color: rgba(228, 203, 255, .68) !important;
}
html body footer.si-site-footer .si-footer-feature-links .si-footer-feature-icon {
  display: inline-grid !important;
  place-items: center !important;
  flex: 0 0 34px !important;
  width: 34px !important;
  height: 34px !important;
  border-radius: 10px !important;
  background: rgba(239, 226, 255, .11) !important;
  font-size: 20px !important;
  line-height: 1 !important;
}
html body footer.si-site-footer .si-footer-feature-links .si-footer-feature-icon--lock {
  filter: grayscale(1) brightness(1.55) contrast(.82);
}
html body footer.si-site-footer .si-footer-feature-links .si-footer-feature-icon--spark {
  color: #d3a9ff !important;
  font-size: 23px !important;
}
html body footer.si-site-footer .si-footer-feature-links .si-footer-feature-copy {
  display: flex !important;
  flex: 1 1 auto !important;
  flex-direction: column !important;
  justify-content: center !important;
  min-width: 0 !important;
  gap: 1px !important;
}
html body footer.si-site-footer .si-footer-feature-links .si-footer-feature-copy strong {
  display: block !important;
  margin: 0 !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}
html body footer.si-site-footer .si-footer-feature-links .si-footer-feature-copy small {
  display: block !important;
  margin: 0 !important;
  color: #decfee !important;
  font-family: inherit !important;
  font-size: 10px !important;
  font-weight: 500 !important;
  line-height: 1.5 !important;
  letter-spacing: 0 !important;
}
html body footer.si-site-footer .si-footer-feature-links .si-footer-feature-arrow {
  display: inline-block !important;
  flex: 0 0 auto !important;
  margin-left: 2px !important;
  color: #d6baf9 !important;
  font-size: 15px !important;
  line-height: 1 !important;
}
@media (max-width: 630px) {
  html body footer.si-site-footer .si-footer-feature-links {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 9px !important;
  }
}
@media (prefers-reduced-motion: reduce) {
  html body footer.si-site-footer .si-footer-feature-links .si-footer-feature-link {
    transition: none !important;
  }
}
