.jt-footer {
  --jt-footer-bg: #eef3f8;
  --jt-footer-text: #5a6978;
  --jt-footer-link: #5a6978;
  --jt-footer-link-hover: #385dff;
  --jt-footer-social-bg: #5a6978;
  --jt-footer-social-color: #ffffff;
  --jt-footer-social-hover: #385dff;
  --jt-footer-ease: cubic-bezier(0.22, 1, 0.36, 1);

  width: 100% !important;
  max-width: none !important;
  background: var(--jt-footer-bg);
  padding-block: 0;
  padding-inline: 0;
  color: var(--jt-footer-text);
  margin-inline: 0 !important;
}

.jt-footer .jt-footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
  width: 100%;
  max-width: var(--jt-shell-width, calc(var(--jt-content-width, 1200px) + (var(--jt-gutter, 24px) * 2)));
  margin-inline: auto;
  padding-inline: var(--jt-gutter, 24px);
  padding-block: 2.75rem;
  box-sizing: border-box;
}

.jt-footer .jt-footer__copyright {
  flex: 0 0 auto;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.4;
  color: var(--jt-footer-text);
}

.jt-footer .jt-footer__nav {
  display: flex;
  align-items: center;
  flex: 1 1 auto;
  justify-content: center;
}

.jt-footer .jt-footer-menu {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 2.25rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.jt-footer .jt-footer-menu > li {
  display: flex;
  align-items: center;
}

  .jt-footer .jt-footer-menu > li > a {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 0.25rem;
    min-height: 44px;
    color: var(--jt-footer-link);
    font-size: 0.8125rem;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    transition: color 0.2s var(--jt-footer-ease);
  }

.jt-footer .jt-footer-menu > li > a:hover,
.jt-footer .jt-footer-menu > li > a:focus-visible,
.jt-footer .jt-footer-menu > li.current-menu-item > a {
  color: var(--jt-footer-link-hover);
}

.jt-footer .jt-footer-menu > li > a:focus-visible {
  outline: 2px solid var(--jt-footer-link-hover);
  outline-offset: 2px;
  border-radius: 2px;
}

.jt-footer .jt-footer__social {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex: 0 0 auto;
}

  .jt-footer .jt-footer__social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 999px;
    background: var(--jt-footer-social-bg);
    color: var(--jt-footer-social-color);
    text-decoration: none;
    transition: background-color 0.2s var(--jt-footer-ease), transform 0.2s var(--jt-footer-ease);
  }

.jt-footer .jt-footer__social-link:hover,
.jt-footer .jt-footer__social-link:focus-visible {
  background: var(--jt-footer-social-hover);
  transform: translateY(-2px);
  color: var(--jt-footer-social-color);
}

.jt-footer .jt-footer__social-link:focus-visible {
  outline: 2px solid var(--jt-footer-social-hover);
  outline-offset: 2px;
}

.jt-footer .jt-footer__social-link svg {
  display: block;
  width: 0.9375rem;
  height: 0.9375rem;
}

@media (max-width: 991px) {
  .jt-footer .jt-footer__inner {
    flex-direction: column;
    gap: 1.25rem;
    padding-block: 1.5rem;
  }

  .jt-footer .jt-footer__copyright {
    order: 2;
    text-align: center;
  }

  .jt-footer .jt-footer__nav {
    order: 1;
  }

  .jt-footer .jt-footer-menu {
    justify-content: center;
    gap: 0.5rem 1.25rem;
  }

  .jt-footer .jt-footer__social {
    order: 3;
  }
}

@media (max-width: 575px) {
  .jt-footer .jt-footer__inner {
    gap: 1rem;
    padding-block: 1.25rem;
  }

  .jt-footer .jt-footer-menu {
    gap: 0.5rem 1rem;
  }

  .jt-footer .jt-footer-menu > li > a {
    font-size: 0.75rem;
  }

  .jt-footer .jt-footer__copyright {
    font-size: 0.75rem;
  }

  .jt-footer .jt-footer__social-link {
    width: 2.75rem;
    height: 2.75rem;
  }

  .jt-footer .jt-footer__social-link svg {
    width: 0.8125rem;
    height: 0.8125rem;
  }
}
