/*
 * Femigrants Foundation site-wide footer.
 * Same design system as the FemiX pages' footer (assets/femix-founders-v2.css)
 * — deep plum background, lime accents, outline-style social icons — rebuilt
 * here self-contained since this loads on every non-FemiX page of the site.
 * Only two nav columns (Foundation, FemiX) instead of the three used on the
 * FemiX audience pages, since there is no single "for X" audience here.
 */

/* Hide the Bricks-authored global footer this replaces. FemiX pages already
   hide it themselves and are excluded from loading this file at all. */
#brx-footer {
  display: none !important;
}

.fxf-shell {
  width: min(1200px, calc(100% - 48px));
  margin-inline: auto;
}
.fxf-footer {
  position: relative;
  padding: 64px 0 40px;
  background: #24143D;
  font-family: "Inter", Arial, sans-serif;
}
.fxf-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #CBF558, #E8FFAA 50%, #CBF558);
}
.fxf-footer,
.fxf-footer p,
.fxf-footer h3,
.fxf-footer a,
.fxf-footer span {
  font-weight: 700;
  margin: 0 !important;
}
.fxf-footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 40px;
}
@media (max-width: 1020px) {
  .fxf-footer__grid { grid-template-columns: 1.3fr 1fr 1fr; gap: 28px; }
}
@media (max-width: 820px) {
  .fxf-footer__grid { grid-template-columns: repeat(2, 1fr); }
  .fxf-footer__grid > div:first-child { grid-column: 1 / -1; }
  .fxf-footer__legal { flex-direction: column; }
}
@media (max-width: 600px) {
  .fxf-footer__grid { grid-template-columns: 1fr; }
  .fxf-footer__grid > div:first-child { grid-column: auto; }
  .fxf-footer__brand-col { max-width: none; }
}
.fxf-footer__brand-col {
  max-width: 440px;
}
.fxf-footer__lockup {
  display: flex;
  align-items: center;
  gap: 16px;
}
.fxf-footer__mark-logo {
  flex: 0 0 auto;
  height: 64px;
  width: auto;
  filter: brightness(0) invert(1);
}
.fxf-footer .fxf-brand--footer {
  align-items: center;
  display: inline-flex;
  flex-direction: row;
  gap: 10px;
  line-height: 1;
  text-decoration: none !important;
}
.fxf-footer .fxf-brand--footer .fxf-brand__foundation {
  color: #fff;
  font: 700 11px/1.2 "Inter", Arial, sans-serif;
  letter-spacing: .08em;
  max-width: 84px;
  text-transform: uppercase;
}
.fxf-footer .fxf-brand--footer .fxf-brand__mark {
  background: rgba(255, 255, 255, .28);
  flex: 0 0 1px;
  height: 28px;
  width: 1px;
}
.fxf-footer .fxf-brand--footer .fxf-brand__name {
  color: #fff;
  font: 800 25px/1 "Manrope", Arial, sans-serif;
  letter-spacing: -.04em;
}
.fxf-footer .fxf-brand--footer .fxf-brand__name-x {
  color: #CBF558;
}
.fxf-footer__grid > .fxf-footer__brand-col > p {
  max-width: 350px;
  margin-top: 18px !important;
  color: #fff;
  font-size: 14px;
}
.fxf-footer nav {
  display: flex;
  flex-direction: column;
  gap: 9px;
}
.fxf-footer nav h3 {
  font-family: Poppins, Arial, sans-serif !important;
  font-size: 13px !important;
  line-height: 1.3 !important;
  margin-bottom: 16px !important;
  color: rgba(255, 255, 255, .72) !important;
  letter-spacing: .08em !important;
  text-transform: uppercase !important;
  font-weight: 700 !important;
}
.fxf-footer nav h3.fxf-footer__brand-header {
  font-size: 15px !important;
  text-transform: none !important;
  letter-spacing: -.01em !important;
}
.fxf-footer nav a {
  font-size: 14px !important;
  color: #CBF558;
  font-weight: 600 !important;
  text-decoration: none;
  transition: color .18s ease;
}
.fxf-footer nav a:hover {
  color: #fff;
}
.fxf-footer__legal {
  margin-top: 36px !important;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .18);
  display: flex;
  justify-content: space-between;
  gap: 30px;
}
.fxf-footer__legal p {
  font-size: 12px;
  color: rgba(255, 255, 255, .72);
}
.fxf-footer__legal div {
  display: flex;
  gap: 18px;
  font-size: 12px;
}
.fxf-footer__legal div a {
  color: #fff;
  text-decoration: none;
  transition: opacity .18s ease;
}
.fxf-footer__legal div a:hover {
  opacity: .8;
}
.fxf-footer .fxf-footer__email {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-top: 34px !important;
  color: #CBF558 !important;
  text-decoration: none !important;
  font-size: 14.5px;
  font-weight: 600 !important;
  transition: color .18s ease;
}
.fxf-footer__email svg {
  flex: 0 0 auto;
  color: #CBF558 !important;
  fill: none !important;
  stroke: #CBF558 !important;
  transition: color .18s ease;
}
.fxf-footer .fxf-footer__email svg rect,
.fxf-footer .fxf-footer__email svg path {
  fill: none !important;
  stroke: #CBF558 !important;
}
.fxf-footer__email:hover,
.fxf-footer__email:hover svg {
  color: #fff !important;
}
.fxf-footer__connect {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 16px !important;
}
.fxf-footer__social {
  display: flex;
  align-items: center;
  gap: 10px;
}
.fxf-footer__social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(203, 245, 88, .5);
  border-radius: 50%;
  color: #CBF558 !important;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.fxf-footer__social a svg {
  width: 15px;
  height: 15px;
  color: #CBF558 !important;
  fill: #CBF558 !important;
}
.fxf-footer .fxf-footer__social a svg path {
  fill: #CBF558 !important;
  stroke: none !important;
}
.fxf-footer__social a:hover {
  background: #CBF558;
  border-color: #CBF558;
  color: #24143D !important;
}
.fxf-footer .fxf-footer__social a:hover svg,
.fxf-footer .fxf-footer__social a:hover svg path {
  color: #24143D !important;
  fill: #24143D !important;
}
.fxf-footer__join {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 11px 22px;
  border-radius: 10px;
  background: #CBF558;
  color: #24143D !important;
  font-family: Poppins, Arial, sans-serif !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: background-color .18s ease, color .18s ease;
}
.fxf-footer__join:hover {
  background: #fff;
  color: #24143D !important;
}
