/* Shared public footer. One partial: src/ui/shared/site-footer.html */
html body footer.je-site-footer,
body.granite-v3 footer.je-site-footer {
  box-sizing: border-box;
  width: 100%;
  margin: 0;
  padding: 40px 20px 32px;
  background: #071422 !important;
  color: rgba(255, 248, 236, 0.84) !important;
  text-align: center !important;
  border-top: 1px solid rgba(226, 182, 86, 0.38) !important;
  background-image: none !important;
}

.je-site-footer__inner {
  max-width: 880px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.je-site-footer__brand {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-decoration: none;
  color: #fff !important;
}

.je-site-footer__brand img {
  width: 46px;
  height: 46px;
  display: block;
}

.je-site-footer__brand-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  line-height: 1.15;
  text-align: left;
}

.je-site-footer__brand-text strong {
  font-size: 18px;
  font-weight: 700;
  color: #fff !important;
}

.je-site-footer__brand-text span,
.je-site-footer__legal {
  color: #e7c27a !important;
}

.je-site-footer__brand-text span {
  margin-top: 3px;
  font-size: 12px;
  letter-spacing: 0.04em;
}

.je-site-footer__lede,
.je-site-footer__domains {
  margin: 0;
  max-width: 36em;
  color: rgba(255, 248, 236, 0.72) !important;
  font-size: 14px;
  line-height: 1.5;
}

.je-site-footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 16px;
  margin: 0;
  padding: 0;
}

.je-site-footer a {
  color: rgba(255, 248, 236, 0.88) !important;
  text-decoration: none;
}

.je-site-footer__links a {
  font-size: 14px;
  line-height: 1.4;
  padding: 4px 0;
}

.je-site-footer a:hover,
.je-site-footer a:focus-visible {
  color: #e7c27a !important;
  text-decoration: underline;
}

.je-site-footer__social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 18px;
}

.je-site-footer__social a {
  font-size: 14px;
}

.je-site-footer__legal,
.je-site-footer__domains {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.03em;
  line-height: 1.45;
}

.je-site-footer__domains {
  color: rgba(255, 248, 236, 0.55) !important;
}

@media (max-width: 640px) {
  html body footer.je-site-footer,
  body.granite-v3 footer.je-site-footer {
    padding: 32px 16px 28px;
  }

  .je-site-footer__brand {
    flex-direction: column;
    gap: 8px;
  }

  .je-site-footer__brand-text {
    align-items: center;
    text-align: center;
  }

  .je-site-footer__links {
    gap: 6px 12px;
  }

  .je-site-footer__links a,
  .je-site-footer__social a {
    font-size: 13.5px;
  }
}
