/* Shared footer: introduction, link directory, provider row, legal row. */
.site-footer.reference-footer {
  background: #fff;
  color: #191b24;
  border-top: 1px solid #e5e6eb;
  padding: 0;
}
.reference-footer .footer-intro {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 39px 0 34px;
}
.reference-footer h2 {
  font-size: 26px;
  line-height: 1.35;
  letter-spacing: -.8px;
  font-weight: 500;
}
.reference-footer .footer-intro p {
  margin: 11px 0 0;
  color: #626570;
  font-size: 13px;
  line-height: 1.7;
}
.reference-footer .footer-start {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 13px 24px;
  border: 1px solid #c81c2e;
  border-radius: 8px;
  background: #c81c2e;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: background .15s, border-color .15s;
}
.reference-footer .footer-start:hover { color: #fff; background: #a91727; border-color: #a91727; }
.reference-footer .footer-directory {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 35px;
  padding: 30px 0 32px;
  border-top: 1px solid #e5e6eb;
}
.reference-footer h3 {
  margin: 0 0 11px;
  color: #717580;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .3px;
  line-height: 1.5;
}
.reference-footer ul { list-style: none; margin: 0; padding: 0; }
.reference-footer li { margin: 0; padding: 0; }
.reference-footer .footer-group a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 8px 0;
  font-size: 13px;
  line-height: 1.6;
  text-decoration: underline;
  text-decoration-color: #a4a8b2;
  text-underline-offset: 4px;
  text-decoration-thickness: 1px;
}
.reference-footer .footer-group a:hover { text-decoration-color: #c81c2e; }
.reference-footer .footer-provider {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 24px 0;
  border-top: 1px solid #e5e6eb;
}
.reference-footer .footer-provider-link { display: flex; align-items: center; gap: 13px; }
.reference-footer .footer-provider-icon { display: grid; place-items: center; color: #c81c2e; }
.reference-footer .footer-provider-icon svg { width: 28px; height: 28px; }
.reference-footer .footer-provider-link p { margin: 0; line-height: 1.6; }
.reference-footer .footer-provider-link p > span { display: block; font-size: 10px; color: #656975; margin-bottom: 8px; }
.reference-footer .footer-provider-link a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding: 9px 14px; border: 1px solid #c81c2e; border-radius: 7px; background: #fff; color: #b21b2b; font-size: 12px; font-weight: 500; text-decoration: none; transition: background .15s; }
.reference-footer .footer-provider-link a:hover { background: #fff0f2; color: #a91727; }
.reference-footer .footer-demo { margin: 0; font-size: 11px; line-height: 1.7; color: #636773; text-align: right; }
.reference-footer .footer-base {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 26px;
  padding: 23px 0;
  border-top: 1px solid #e5e6eb;
}
.reference-footer .logo { justify-self: start; font-size: 24px; font-weight: 700; letter-spacing: -.9px; gap: 9px; color: #191b24; }
.reference-footer .logo img { width: 34px; height: 34px; }
.reference-footer .footer-base small { color: #696d78; font-size: 11px; line-height: 1.6; }
.reference-footer .footer-privacy { display: inline-flex; align-items: center; min-height: 44px; justify-self: end; font-size: 11px; text-decoration: underline; text-underline-offset: 4px; }
.reference-footer a:hover { color: #c81c2e; }
.reference-footer a:focus-visible { outline: 2px solid #c81c2e; outline-offset: 5px; border-radius: 2px; }
@media (max-width: 990px) {
  .reference-footer .footer-directory { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 32px; }
  .reference-footer h2 { font-size: 24px; }
  .reference-footer .footer-base { grid-template-columns: 1fr auto; gap: 18px; }
  .reference-footer .footer-base small { grid-row: 2; grid-column: 1 / -1; }
}
@media (max-width: 760px) {
  .reference-footer .footer-intro { display: block; padding: 30px 0 23px; }
  .reference-footer h2 { max-width: 290px; font-size: 23px; letter-spacing: -.7px; }
  .reference-footer .footer-intro p { font-size: 12px; max-width: 280px; margin-top: 11px; }
  .reference-footer .footer-start { margin-top: 20px; font-size: 13px; min-width: 170px; }
  .reference-footer .footer-directory { padding: 25px 0; gap: 22px 18px; }
  .reference-footer h3 { font-size: 11px; margin-bottom: 8px; }
  .reference-footer .footer-group a { font-size: 12px; padding: 9px 0; min-height: 44px; }
  .reference-footer .footer-provider { align-items: flex-start; flex-direction: column; gap: 16px; padding: 23px 0; }
  .reference-footer .footer-demo { text-align: left; font-size: 11px; }
  .reference-footer .footer-base { padding: 23px 0 27px; gap: 18px 15px; }
  .reference-footer .logo { font-size: 21px; }
  .reference-footer .logo img { width: 30px; height: 30px; }
  .reference-footer .footer-privacy, .reference-footer .footer-base small { font-size: 10px; }
}
