/* Philosopher’s Hub global footer. Mirrors researchconnect-footer-preview.html. */
.rc-site footer.rc-global-footer {
  margin-top: 48px;
  padding: 0;
  border-top: 1px solid #e0e0e0 !important;
  background: #fff !important;
  color: #111;
}

.rc-site footer.rc-global-footer .rc-global-footer__top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 52px 28px 44px;
}

.rc-site footer.rc-global-footer .rc-global-footer__brand-column {
  min-width: 0;
}

.rc-site footer.rc-global-footer .rc-global-footer__wordmark {
  display: block !important;
  margin: 0 0 12px;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #111 !important;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.3;
  text-decoration: none !important;
}

.rc-site footer.rc-global-footer .rc-global-footer__socials {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 14px;
}

.rc-site footer.rc-global-footer .rc-global-footer__socials a {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin: 0;
  padding: 0 !important;
  border: 1px solid #e0e0e0 !important;
  border-radius: 7px;
  background: #f4f4f4 !important;
  color: #555 !important;
  font-size: 14px;
  line-height: 1;
  text-decoration: none !important;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.rc-site footer.rc-global-footer .rc-global-footer__socials a:hover,
.rc-site footer.rc-global-footer .rc-global-footer__socials a:focus-visible {
  border-color: #111 !important;
  background: #111 !important;
  color: #fff !important;
}

.rc-site footer.rc-global-footer .rc-global-footer__column {
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  gap: 9px;
}

.rc-site footer.rc-global-footer .rc-global-footer__column h2 {
  margin: 0 0 7px;
  color: #111;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-transform: uppercase;
}

.rc-site footer.rc-global-footer .rc-global-footer__column a {
  display: flex !important;
  align-items: center;
  margin: 0;
  padding: 0 !important;
  border: 0 !important;
  background: transparent !important;
  color: #888 !important;
  font-size: 13.5px;
  font-weight: 400;
  line-height: 1.4;
  text-decoration: none !important;
  transition: color 0.15s;
}

.rc-site footer.rc-global-footer .rc-global-footer__column a:hover,
.rc-site footer.rc-global-footer .rc-global-footer__column a:focus-visible {
  color: #111 !important;
}

.rc-site footer.rc-global-footer .rc-global-footer__rule {
  width: 100%;
  height: 1px;
  margin: 0;
  background: #e0e0e0;
}

.rc-site footer.rc-global-footer .rc-global-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 18px 28px;
}

.rc-site footer.rc-global-footer .rc-global-footer__copyright {
  margin: 0;
  color: #aaa;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.4;
  white-space: nowrap;
}

.rc-site footer.rc-global-footer .rc-global-footer__copyright strong {
  color: #555;
  font-weight: 600;
}

.rc-site footer.rc-global-footer .rc-global-footer__legal {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
  margin: 0;
}

.rc-site footer.rc-global-footer .rc-global-footer__legal a {
  display: inline-flex !important;
  margin: 0;
  padding: 0 12px !important;
  border: 0 !important;
  border-right: 1px solid #e0e0e0 !important;
  border-radius: 0;
  background: transparent !important;
  color: #aaa !important;
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1;
  text-decoration: none !important;
  white-space: nowrap;
  transition: color 0.15s;
}

.rc-site footer.rc-global-footer .rc-global-footer__legal a:first-child {
  padding-left: 0 !important;
}

.rc-site footer.rc-global-footer .rc-global-footer__legal a:last-child {
  padding-right: 0 !important;
  border-right: 0 !important;
}

.rc-site footer.rc-global-footer .rc-global-footer__legal a:hover,
.rc-site footer.rc-global-footer .rc-global-footer__legal a:focus-visible {
  color: #111 !important;
}

@media (max-width: 800px) {
  .rc-site footer.rc-global-footer .rc-global-footer__top {
    grid-template-columns: 1fr 1fr;
    gap: 32px 24px;
    padding: 40px 20px 34px;
  }

  .rc-site footer.rc-global-footer .rc-global-footer__brand-column {
    grid-column: 1 / -1;
  }

  .rc-site footer.rc-global-footer .rc-global-footer__bottom {
    align-items: flex-start;
    flex-direction: column;
    padding: 18px 20px;
  }
}

@media (max-width: 520px) {
  .rc-site footer.rc-global-footer .rc-global-footer__top {
    grid-template-columns: 1fr;
  }

  .rc-site footer.rc-global-footer .rc-global-footer__brand-column {
    grid-column: auto;
  }

  .rc-site footer.rc-global-footer .rc-global-footer__legal {
    row-gap: 10px;
  }

  .rc-site footer.rc-global-footer .rc-global-footer__legal a {
    padding: 0 8px !important;
  }

  .rc-site footer.rc-global-footer .rc-global-footer__legal a:first-child {
    padding-left: 0 !important;
  }
}
