/*
 * Coherent Healthcare v3.3 shared footer
 * Load after shared.39d72dac01.css on both static and React pages.
 * All selectors are scoped so this file can travel with the shared footer.
 */

footer.site-footer {
  --site-footer-bg: #07241f;
  --site-footer-lime: #d4ec94;
  --site-footer-text: #d5dfda;
  --site-footer-muted: #b4c2bc;
  --site-footer-rule: rgb(213 223 218 / 22%);
  background: var(--site-footer-bg);
  color: var(--site-footer-text);
  padding: 58px 0 42px;
  overflow: clip;
  font-family: "General Sans", "Uncut Sans", system-ui, sans-serif;
  font-weight: 400;
  font-style: normal;
  text-align: left;
}

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

footer.site-footer .wrap {
  width: 100%;
  max-width: 1312px;
  margin-inline: auto;
  padding-inline: max(clamp(20px, 4.4vw, 64px), env(safe-area-inset-left, 0px));
  padding-right: max(clamp(20px, 4.4vw, 64px), env(safe-area-inset-right, 0px));
  display: grid;
  grid-template-columns: minmax(170px, 0.9fr) minmax(0, 3.4fr);
  align-items: start;
  gap: 42px clamp(30px, 4vw, 58px);
}

footer.site-footer .foot-brand,
footer.site-footer .foot-cols,
footer.site-footer .foot-cols > div,
footer.site-footer .foot-base,
footer.site-footer .foot-base > span {
  min-width: 0;
}

footer.site-footer .foot-brand .logo {
  display: block;
  width: min(100%, 170px);
  height: auto;
  color: #fff;
}

footer.site-footer .foot-brand > img.logo {
  object-fit: contain;
  object-position: left center;
}

footer.site-footer .foot-brand > p {
  max-width: 17em;
  margin: 16px 0 0;
  color: var(--site-footer-text);
  font-size: 15px;
  line-height: 1.5;
}

footer.site-footer .foot-acts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 24px;
}

footer.site-footer .foot-signin {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  color: var(--site-footer-text);
  font-size: 15px;
  line-height: 1.4;
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 4px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

footer.site-footer .foot-acts a {
  color: var(--site-footer-text);
  font-size: 15px;
  line-height: 1.4;
}

footer.site-footer .foot-cols {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 26px clamp(16px, 2vw, 28px);
}

footer.site-footer .foot-cols:has(> div:nth-child(6)) {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 20px clamp(12px, 1.5vw, 22px);
}

footer.site-footer .foot-cols > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 9px;
}

footer.site-footer .foot-cols .foot-k {
  margin: 0 0 5px;
  color: var(--site-footer-lime);
  font-family: "General Sans", "Uncut Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  overflow-wrap: normal;
}

footer.site-footer .foot-cols .foot-sub {
  margin: 8px 0 0;
  color: var(--site-footer-muted);
  font-family: "General Sans", "Uncut Sans", system-ui, sans-serif;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  overflow-wrap: normal;
}

footer.site-footer .foot-cols > div > .foot-sub:first-of-type {
  margin-top: 0;
}

footer.site-footer .foot-cols a {
  max-width: 100%;
  color: var(--site-footer-text);
  font-size: 14.5px;
  line-height: 1.42;
  text-decoration: none;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  overflow-wrap: normal;
  word-break: normal;
  hyphens: auto;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

footer.site-footer .foot-cols a:hover,
footer.site-footer .foot-signin:hover,
footer.site-footer .foot-base a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

footer.site-footer .foot-base {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(210px, 1fr) minmax(0, 2fr) auto;
  align-items: start;
  gap: 16px 26px;
  margin: 4px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--site-footer-rule);
  color: var(--site-footer-muted);
  font-size: 13px;
  line-height: 1.55;
}

footer.site-footer .foot-legal,
footer.site-footer .foot-social {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 18px;
}

footer.site-footer .foot-base a {
  color: var(--site-footer-muted);
  font-size: inherit;
  line-height: inherit;
  text-decoration: none;
  text-decoration-color: transparent;
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

footer.site-footer a:focus-visible {
  outline: 2px solid var(--site-footer-lime);
  outline-offset: 4px;
  border-radius: 2px;
  color: #fff;
  text-decoration: underline;
  text-decoration-color: currentColor;
}

@media (max-width: 1100px) {
  footer.site-footer .wrap {
    grid-template-columns: minmax(150px, 0.8fr) minmax(0, 3.2fr);
    gap: 38px 30px;
  }

  footer.site-footer .foot-cols,
  footer.site-footer .foot-cols:has(> div:nth-child(6)) {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px 24px;
  }

  footer.site-footer .foot-base {
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
  }

  footer.site-footer .foot-social {
    grid-column: 2;
  }
}

@media (max-width: 767px) {
  footer.site-footer {
    padding: 46px 0 max(30px, env(safe-area-inset-bottom, 0px));
  }

  footer.site-footer .wrap {
    grid-template-columns: minmax(0, 1fr);
    gap: 34px;
  }

  footer.site-footer .foot-brand .logo {
    width: min(100%, 160px);
  }

  footer.site-footer .foot-acts {
    margin-top: 16px;
  }

  footer.site-footer .foot-cols,
  footer.site-footer .foot-cols:has(> div:nth-child(6)) {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 22px;
  }

  footer.site-footer .foot-base {
    grid-template-columns: minmax(0, 1fr);
    gap: 12px;
    padding-top: 20px;
  }

  footer.site-footer .foot-social {
    grid-column: auto;
  }
}

@media (max-width: 380px) {
  footer.site-footer .wrap {
    padding-left: max(18px, env(safe-area-inset-left, 0px));
    padding-right: max(18px, env(safe-area-inset-right, 0px));
  }

  footer.site-footer .foot-cols,
  footer.site-footer .foot-cols:has(> div:nth-child(6)) {
    column-gap: 16px;
  }

  footer.site-footer .foot-cols a {
    font-size: 14px;
  }

  footer.site-footer .foot-legal,
  footer.site-footer .foot-social {
    gap: 8px 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  footer.site-footer *,
  footer.site-footer *::before,
  footer.site-footer *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
