/* Shared footer, using the original site's spacing and social artwork. */
.jj-site .site-footer {
  position: relative;
  background: #161716;
  color: #8a8b8a;
  padding: 60px 0;
  font-size: 15px;
}
.jj-site .site-footer .footer-grid {
  display: grid;
  grid-template-columns: 95px 150px minmax(0, 1fr) 208px;
  align-items: start;
  gap: 40px;
  width: calc(100% - 80px);
  max-width: 1820px;
  margin: 0 auto;
}
.jj-site .site-footer .footer-family {
  margin: 0;
  color: #414241;
  font-size: 30px;
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
}
.jj-site .site-footer .footer-logo {
  width: 150px;
  margin: 5px 0 0;
  line-height: 1;
}
.jj-site .site-footer .footer-logo img {
  display: block;
  width: 150px;
  height: auto;
}
.jj-site .site-footer .footer-info { min-width: 0; }
.jj-site .site-footer .footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 0;
  margin: 0 0 20px;
  color: #ccc;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.5;
}
.jj-site .site-footer .footer-links a {
  padding: 0 16px;
  border-left: 1px solid #aaa;
  line-height: 1;
}
.jj-site .site-footer .footer-links a:first-child { padding-left: 0; border-left: 0; }
.jj-site .site-footer .footer-links a:hover { color: #aee008; }
.jj-site .site-footer .footer-address p {
  margin: 0;
  line-height: 1.8;
  overflow-wrap: anywhere;
}
.jj-site .site-footer .footer-address span {
  display: inline;
  margin: 0 0 0 8px;
  padding-left: 8px;
  border-left: 1px solid #626362;
}
.jj-site .site-footer .footer-international span + span {
  margin-left: 0;
  padding-left: 0;
  border-left: 0;
}
.jj-site .site-footer .footer-international span:not(:last-child)::after { content: ','; }
.jj-site .site-footer .copyright {
  color: #595a59;
  margin: 0 !important;
  font-size: 14px;
  line-height: 1.8;
}
.jj-site .site-footer .footer-social {
  grid-column: auto;
  display: flex;
  flex-direction: row;
  gap: 8px;
  margin: 0;
}
.jj-site .site-footer .footer-social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 46px;
  width: 46px;
  height: 46px;
  padding: 3px;
  border: 1px solid #606160;
  border-radius: 50%;
  transition: border-color .15s;
}
.jj-site .site-footer .footer-social-icon img { width: 38px; height: 38px; }
.jj-site .site-footer a.footer-social-icon:hover { border-color: #aee008; }
.jj-site .site-footer :is(a, button):focus-visible { outline: 2px solid #aee008; outline-offset: 4px; }
.jj-site .site-footer .back-top {
  position: absolute;
  inset: -25px 27px auto auto;
  z-index: 2;
  width: 50px;
  height: 50px;
  padding: 8px 0 0;
  border: 0;
  border-radius: 50%;
  background: #aee008;
  color: #fff;
  gap: 4px;
  font-size: 14px;
  font-weight: 500;
  line-height: 1;
  opacity: 1;
  pointer-events: auto;
  transition: background-color .15s;
}
.jj-site .site-footer .back-top span {
  display: block;
  width: 6px;
  height: 6px;
  border-top: 1px solid currentColor;
  border-left: 1px solid currentColor;
  transform: rotate(45deg);
}
.jj-site .site-footer .back-top:hover { background: #98c600; }
@media (max-width: 1599px) {
  .jj-site .site-footer .footer-grid {
    grid-template-columns: 90px 150px minmax(0, 1fr);
    gap: 28px;
  }
  .jj-site .site-footer .footer-info { grid-column: 3; grid-row: 1 / span 2; }
  .jj-site .site-footer .footer-social { grid-column: 1 / span 2; }
}
@media (max-width: 1199px) {
  .jj-site .site-footer .footer-grid {
    width: calc(100% - 60px);
    grid-template-columns: 95px 1fr auto;
    gap: 26px;
  }
  .jj-site .site-footer .footer-info { grid-column: 1 / -1; grid-row: 2; }
  .jj-site .site-footer .footer-social { grid-column: 3; grid-row: 1; }
  .jj-site .site-footer .footer-family { font-size: 25px; line-height: 1.2; }
  .jj-site .site-footer .back-top { right: 20px; }
}
@media (max-width: 767px) {
  .jj-site .site-footer { padding: 42px 0 35px; font-size: 12px; }
  .jj-site .site-footer .footer-grid {
    width: calc(100% - 40px);
    grid-template-columns: 75px 1fr;
    gap: 24px 20px;
  }
  .jj-site .site-footer .footer-family { font-size: 23px; }
  .jj-site .site-footer .footer-logo { justify-self: start; }
  .jj-site .site-footer .footer-info { grid-column: 1 / -1; grid-row: 2; }
  .jj-site .site-footer .footer-social { grid-column: 1 / -1; grid-row: 3; }
  .jj-site .site-footer .footer-links { font-size: 12px; gap: 10px 0; margin-bottom: 16px; line-height: 1.5; }
  .jj-site .site-footer .footer-links a { padding: 0 9px; line-height: 1.5; }
  .jj-site .site-footer .footer-address p { margin-bottom: 8px; }
  .jj-site .site-footer .footer-address span { display: inline-block; margin: 0 7px 0 0; padding: 0; border: 0; }
  .jj-site .site-footer .footer-international span + span { margin-right: 7px; }
  .jj-site .site-footer .copyright { font-size: 11px; }
  .jj-site .site-footer .back-top { top: -20px; width: 40px; height: 40px; padding-top: 6px; font-size: 11px; gap: 3px; }
}
