/* HowToRepel institutional footer — modeled on HowToReport.org layout */

body .htr-institutional-footer-wrap,
.htr-institutional-footer-wrap {
  background: #0b1811;
  color: #94a3b8;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  border-top: 0;
  box-sizing: border-box;
}

.htr-institutional-footer {
  max-width: 1240px;
  margin: 0 auto;
  padding: 50px 20px 28px;
  text-align: left;
  box-sizing: border-box;
}

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

.htr-inst-footer-grid {
  display: grid;
  grid-template-columns: 1.55fr 1fr 1fr 1.15fr;
  gap: 40px;
  margin-bottom: 40px;
}

.htr-inst-footer-brand {
  margin-bottom: 16px;
}

.htr-inst-footer-brand a {
  display: inline-block;
  text-decoration: none;
  border: 0;
  color: inherit;
}

.htr-inst-footer-wordmark {
  display: block;
  font-family: "Newsreader", Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  color: #f8fafc;
}

.htr-inst-footer-wordmark span {
  color: #c06f2e;
}

.htr-inst-footer-kicker {
  display: block;
  margin-bottom: 0.35rem;
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #64748b;
}

.htr-inst-footer-mission {
  margin: 0 0 14px;
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
}

.htr-inst-footer-disclaimer {
  margin: 0;
  padding-left: 10px;
  border-left: 2px solid #334155;
  font-size: 12.5px;
  line-height: 1.5;
  color: #64748b;
}

.htr-inst-footer-heading {
  margin: 0 0 16px;
  font-family: "Public Sans", system-ui, sans-serif;
  font-size: 13.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #f1f5f9 !important;
}

.htr-inst-footer-links {
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

.htr-inst-footer-links li {
  margin: 0 0 9px !important;
  padding: 0 !important;
}

.htr-inst-footer-links a {
  display: inline-block;
  color: #94a3b8 !important;
  font-size: 14px;
  text-decoration: none !important;
  transition: color 0.15s ease, transform 0.15s ease;
}

.htr-inst-footer-links a:hover,
.htr-inst-footer-links a:focus-visible {
  color: #e0b68a !important;
  transform: translateX(2px);
  text-decoration: underline !important;
  outline: none;
}

.htr-inst-footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding-top: 24px;
  border-top: 1px solid #1e293b;
  text-align: center;
  font-size: 13px;
  color: #64748b;
}

.htr-inst-footer-bottom-sep {
  color: #334155;
}

/* Hide Astra default footer chrome when institutional footer is present */
body.htr-has-institutional-footer .ast-small-footer,
body.htr-has-institutional-footer .site-info:not(.htr-institutional-footer-wrap),
body.htr-has-institutional-footer #colophon > .ast-builder-grid-row-container,
body.htr-has-institutional-footer .site-footer:not(.htr-institutional-footer-wrap) {
  display: none !important;
}

@media (max-width: 980px) {
  .htr-inst-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
  }
}

@media (max-width: 640px) {
  .htr-institutional-footer {
    padding: 40px 18px 24px;
  }
  .htr-inst-footer-grid {
    grid-template-columns: 1fr;
    gap: 28px;
    margin-bottom: 28px;
  }
  .htr-inst-footer-wordmark {
    font-size: 1.45rem;
  }
}

/* HTR VQA 2026-10-01: institutional footer contrast */
html body footer.htr-institutional-footer-wrap {
  background: #0b1811 !important;
  color: #cbd5e1 !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
}
html body footer.htr-institutional-footer-wrap .htr-inst-footer-kicker { color: #e7bd91 !important; }
html body footer.htr-institutional-footer-wrap .htr-inst-footer-wordmark,
html body footer.htr-institutional-footer-wrap .htr-inst-footer-wordmark span,
html body footer.htr-institutional-footer-wrap .htr-inst-footer-heading,
html body footer.htr-institutional-footer-wrap h2.htr-inst-footer-heading,
html body footer.htr-institutional-footer-wrap h4.htr-inst-footer-heading { color: #f8fafc !important; }
html body footer.htr-institutional-footer-wrap .htr-inst-footer-mission,
html body footer.htr-institutional-footer-wrap p.htr-inst-footer-mission,
html body footer.htr-institutional-footer-wrap .htr-inst-footer-disclaimer,
html body footer.htr-institutional-footer-wrap p.htr-inst-footer-disclaimer,
html body footer.htr-institutional-footer-wrap .htr-inst-footer-bottom,
html body footer.htr-institutional-footer-wrap .htr-inst-footer-bottom span { color: #cbd5e1 !important; }
html body footer.htr-institutional-footer-wrap .htr-inst-footer-links a { color: #dbe6df !important; }
html body footer.htr-institutional-footer-wrap .htr-inst-footer-links a:hover,
html body footer.htr-institutional-footer-wrap .htr-inst-footer-links a:focus-visible { color: #f1c89f !important; }
html body footer.htr-institutional-footer-wrap .htr-institutional-footer {
  width: 100% !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  padding: 50px 20px 28px !important;
  font-size: 16px !important;
  line-height: 1.5 !important;
}
html body footer.htr-institutional-footer-wrap .htr-inst-footer-heading,
html body footer.htr-institutional-footer-wrap h2.htr-inst-footer-heading,
html body footer.htr-institutional-footer-wrap h4.htr-inst-footer-heading {
  margin: 0 0 16px !important;
  padding: 0 !important;
  font-size: 13.5px !important;
  line-height: 1.3 !important;
  font-weight: 700 !important;
}
html body footer.htr-institutional-footer-wrap p.htr-inst-footer-mission {
  margin: 0 0 14px !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  font-weight: 400 !important;
}
html body footer.htr-institutional-footer-wrap p.htr-inst-footer-disclaimer {
  margin: 0 !important;
  padding: 0 0 0 10px !important;
  font-size: 12.5px !important;
  line-height: 1.5 !important;
  font-weight: 400 !important;
}
html body footer.htr-institutional-footer-wrap .htr-inst-footer-links {
  margin: 0 !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}
html body footer.htr-institutional-footer-wrap .htr-inst-footer-links li {
  margin: 0 0 9px !important;
  padding: 0 !important;
  font-size: 14px !important;
  line-height: 1.75 !important;
}
html body footer.htr-institutional-footer-wrap .htr-inst-footer-links a {
  font-size: 14px !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;
}
html body footer.htr-institutional-footer-wrap .htr-inst-footer-bottom {
  margin: 0 !important;
  padding: 24px 0 0 !important;
  font-size: 13px !important;
  line-height: 1.75 !important;
  font-weight: 400 !important;
}
@media (max-width: 640px) {
  html body footer.htr-institutional-footer-wrap .htr-institutional-footer {
    padding: 40px 18px 24px !important;
  }
}
/* /HTR VQA 2026-10-01: institutional footer contrast */

/* HTR VQA 2026-10-01: content-to-footer transition contract */
html body.htr-has-institutional-footer > #page,
html body.htr-has-institutional-footer > .site-content {
  margin-bottom: 0 !important;
}
html body.htr-has-institutional-footer > #page + footer.htr-institutional-footer-wrap,
html body.htr-has-institutional-footer > .site-content + footer.htr-institutional-footer-wrap {
  margin-top: 0 !important;
}
/* /HTR VQA 2026-10-01: content-to-footer transition contract */

/* HTR Brand Preview 3: footer lockup */
html body footer.htr-institutional-footer-wrap .htr-inst-footer-lockup {
  display: inline-flex !important;
  align-items: center !important;
  gap: 10px !important;
}
html body footer.htr-institutional-footer-wrap .htr-inst-footer-logo {
  display: block !important;
  width: 46px !important;
  height: 46px !important;
  object-fit: contain !important;
  flex: 0 0 46px !important;
}
@media (max-width: 640px) {
  html body footer.htr-institutional-footer-wrap .htr-inst-footer-logo {
    width: 42px !important; height: 42px !important; flex-basis: 42px !important;
  }
}
/* /HTR Brand Preview 3: footer lockup */
