.compliq-site-footer {
  position: relative;
  z-index: 2;
  width: 100%;
  flex: 0 0 auto;
  border-top: 1px solid #e7edef;
  background: #fff;
  color: #172d3e;
  font-family: inherit;
}

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

.compliq-site-footer__grid {
  width: min(1450px, calc(100% - 64px));
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1.45fr repeat(4, 1fr);
  gap: 45px;
  padding: 34px 0 24px;
}

.compliq-site-footer__column {
  padding-inline-start: 25px;
  border-inline-start: 1px solid #e8edef;
}

.compliq-site-footer__logo {
  display: inline-flex;
  direction: ltr;
  align-items: center;
  gap: 7px;
  width: fit-content;
  color: #087f88;
  text-decoration: none;
}

.compliq-site-footer__logo img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.compliq-site-footer__logo strong {
  font-size: 1.25rem;
}

.compliq-site-footer h2 {
  margin: 0 0 10px;
  color: #087f88;
  font-size: .9rem;
}

.compliq-site-footer p {
  margin: 7px 0;
  color: #687984;
  font-size: .79rem;
  line-height: 1.7;
}

.compliq-site-footer__column a {
  display: block;
  width: fit-content;
  margin: 4px 0;
  color: #5f707b;
  font-size: .8rem;
  line-height: 1.7;
  text-decoration: none;
}

.compliq-site-footer__column a:hover,
.compliq-site-footer__column a:focus-visible {
  color: #079aa3;
}

.compliq-site-footer__copyright {
  padding: 8px 20px;
  background: #087f88;
  color: #fff;
  text-align: center;
  font-size: .7rem;
  line-height: 1.7;
}

/* Keep both employee and administration login portals visually unified. */
html,
body,
* {
  scrollbar-width: thin;
  scrollbar-color: #16b6b0 #e6f6f7 !important;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar,
*::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

html::-webkit-scrollbar-track,
body::-webkit-scrollbar-track,
*::-webkit-scrollbar-track {
  background: #e6f6f7 !important;
}

html::-webkit-scrollbar-thumb,
body::-webkit-scrollbar-thumb,
*::-webkit-scrollbar-thumb {
  border: 2px solid #e6f6f7 !important;
  border-radius: 999px;
  background: #16b6b0 !important;
  background-clip: padding-box !important;
}

html::-webkit-scrollbar-thumb:hover,
body::-webkit-scrollbar-thumb:hover,
*::-webkit-scrollbar-thumb:hover {
  background: #008b99 !important;
  background-clip: padding-box !important;
}

html.compliq-login-page .compliq-site-footer {
  border-top-color: rgba(22, 182, 176, .2);
  background: linear-gradient(-45deg, #f8fafc, #eef6ff, #ecfeff, #f0fdfa);
  background-size: 400% 400%;
  box-shadow: 0 -10px 30px rgba(15, 118, 110, .04);
}

/* Premium page styles load later and otherwise restore gray scrollbars. */
body.frontoffice-interface.cq-light,
body.frontoffice-interface.cq-light * {
  scrollbar-width: thin;
  scrollbar-color: #16b6b0 #e6f6f7 !important;
}

body.frontoffice-interface.cq-light::-webkit-scrollbar,
body.frontoffice-interface.cq-light *::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

body.frontoffice-interface.cq-light::-webkit-scrollbar-track,
body.frontoffice-interface.cq-light *::-webkit-scrollbar-track {
  background: #e6f6f7 !important;
}

body.frontoffice-interface.cq-light::-webkit-scrollbar-thumb,
body.frontoffice-interface.cq-light *::-webkit-scrollbar-thumb {
  border: 2px solid #e6f6f7 !important;
  border-radius: 999px;
  background: #16b6b0 !important;
  background-clip: padding-box !important;
}

body.frontoffice-interface.cq-light::-webkit-scrollbar-thumb:hover,
body.frontoffice-interface.cq-light *::-webkit-scrollbar-thumb:hover {
  background: #008b99 !important;
  background-clip: padding-box !important;
}

@media (max-width: 1024px) {
  .compliq-site-footer__grid {
    grid-template-columns: 1.3fr repeat(2, 1fr);
  }

  .compliq-site-footer__column {
    padding: 0;
    border: 0;
  }
}

@media (max-width: 768px) {
  .compliq-site-footer__grid {
    width: min(100% - 32px, 680px);
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }

  .compliq-site-footer__brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 440px) {
  .compliq-site-footer__grid {
    grid-template-columns: 1fr;
  }

  .compliq-site-footer__brand {
    grid-column: auto;
  }
}
