/* ==========================================================================
   Site footer  (WomenInAi)  — self-contained, matches the approved design.
   Namespaced under .site-footer so it never collides with woibex.css/.footer.
   ========================================================================== */

.site-footer {
  --sf-red: #ad0013;
  --sf-ink: #282828;
  --sf-muted: #555;
  --sf-rule: #dedede;
  background: #fff;
  color: var(--sf-ink);
  font-family: "BruumFY-Light", "Helvetica Neue", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.4;
}

.site-footer * {
  box-sizing: border-box;
}

.site-footer__bar {
  height: 6px;
  background: var(--sf-red);
  width: 100%;
}

.site-footer__inner {
  max-width: 1600px;
  margin: 0 auto;
  padding: 64px 82px 0;
}

/* ---- top area: menus + brand ------------------------------------------------ */
.site-footer__top {
  display: flex;
  gap: 58px;
  align-items: flex-start;
}

.site-footer__menus {
  flex: 1 1 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 0;
  row-gap: 44px;
}

.site-footer__col {
  padding: 0 28px;
  border-right: 1px solid var(--sf-rule);
}
.site-footer__menus .site-footer__col:nth-child(4n),
.site-footer__menus .site-footer__col:last-child {
  border-right: 0;
}
.site-footer__col:nth-child(1),
.site-footer__col:nth-child(5) {
  padding-left: 0;
}

.site-footer__col h4 {
  color: var(--sf-red);
  font-family: "BruumFY-Bold", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  margin: 0 0 1.6rem;
  letter-spacing: 0.2px;
}

.site-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer__col li {
  margin-bottom: 0.38rem;
}

.site-footer__col a {
  color: var(--sf-ink);
  text-decoration: none;
  font-size: 1.1rem;
  line-height: 1.25;
  white-space: nowrap;
  transition: color 0.2s ease;
}
.site-footer__col a:hover {
  color: var(--sf-red);
}

/* ---- brand / logo column ------------------------------------------------- */
.site-footer__brand {
  flex: 0 0 350px;
  max-width: 350px;
  text-align: center;
  padding-top: 4px;
}

.site-footer__brand-sub {
  color: #1f1f1f;
  font-size: 1.2rem;
  margin: 0 0 18px;
  line-height: 1.25;
}

.site-footer__brand-title {
  color: #1c1c1c;
  font-family: "BruumFY-Bold", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.2;
  margin: 0 0 20px;
}

.site-footer__brand-logo {
  display: block;
  width: 230px;
  max-width: 76%;
  height: auto;
  margin: 16px auto 30px;
}

/* ---- subscribe row ----------------------------------------------------------- */
.site-footer__subscribe {
  margin-top: 44px;
}

.site-footer__subscribe-label {
  display: block;
  color: var(--sf-red);
  font-family: "BruumFY-Bold", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  margin-bottom: 20px;
}

.site-footer__subscribe-row {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}

.site-footer__field {
  display: flex;
  align-items: center;
}
.site-footer__field i {
  width: 54px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--sf-red);
  color: #fff;
  font-size: 1.1rem;
}
.site-footer__field input {
  width: 610px;
  max-width: 60vw;
  height: 48px;
  border: 1px solid #cfcfcf;
  border-left: 0;
  padding: 0 14px;
  font-size: 1rem;
  outline: none;
  background: #bfc1c2;
}

.site-footer__submit {
  height: 48px;
  min-width: 113px;
  padding: 0 22px;
  margin-left: 10px;
  border: 0;
  background: var(--sf-red);
  color: #fff;
  font-family: "BruumFY-Light", "Helvetica Neue", Arial, sans-serif;
  font-size: 1.05rem;
  cursor: pointer;
}
.site-footer__submit:hover {
  background: #7d0510;
}

.site-footer__social {
  margin-left: auto;
  margin-right: 36px;
  display: flex;
  justify-content: center;
  gap: 12px;
}
.site-footer__social .s {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
.site-footer__social .s:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}
.site-footer__social .s--fb { background: #4267a9; }
.site-footer__social .s--tw { background: #25a7d3; }
.site-footer__social .s--ig { background: #e74463; }
.site-footer__social .s--in { background: #087da8; }
.site-footer__social .s--yt { background: #ad0013; }

/* ---- rules ------------------------------------------------------------------- */
.site-footer__rule {
  display: block;
  width: 100%;
  height: 0;
  border: 0;
  border-top: 1px solid var(--sf-rule);
  color: transparent;
  opacity: 1;
  margin: 26px 0 22px;
}

.site-footer__subscribe + .site-footer__rule {
  border-top-width: 2px;
}

/* ---- datamatix block ------------------------------------------------------ */
.site-footer__datamatix {
  text-align: center;
  padding: 6px 0 4px;
}
.site-footer__datamatix img {
  width: 270px;
  max-width: 60%;
  height: auto;
  margin-bottom: 12px;
}
.site-footer__datamatix p {
  color: #1f1f1f;
  font-size: 1rem;
  line-height: 1.45;
  max-width: 1370px;
  margin: 0 auto;
}

.site-footer__datamatix p a {
  color: inherit;
  text-decoration: none;
}

.site-footer__datamatix + .site-footer__rule {
  margin: 0;
}

/* ---- copyright ----------------------------------------------------------------- */
.site-footer__copyright {
  text-align: center;
  color: #1c1c1c;
  font-family: "BruumFY-Bold", "Helvetica Neue", Arial, sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.4px;
  margin: 8px 0 0;
}

/* ---- responsive ------------------------------------------------------------- */
@media (max-width: 1200px) {
  .site-footer__inner {
    padding: 48px 40px 0;
  }

  .site-footer__top {
    flex-direction: column;
    gap: 42px;
  }

  .site-footer__menus {
    width: 100%;
    column-gap: 0;
  }

  .site-footer__col a {
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .site-footer__brand {
    flex-basis: auto;
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
  }

  .site-footer__subscribe-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    row-gap: 24px;
  }

  .site-footer__field {
    min-width: 0;
  }

  .site-footer__field input {
    flex: 1 1 auto;
    width: auto;
    min-width: 0;
    max-width: none;
  }

  .site-footer__social {
    grid-column: 1 / -1;
    margin: 0;
    justify-content: center;
  }
}

@media (max-width: 900px) {
  .site-footer {
    font-size: 17px;
  }

  .site-footer__inner {
    padding: 42px 28px 0;
  }

  .site-footer__menus {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px 0;
  }

  .site-footer__col,
  .site-footer__col:nth-child(1),
  .site-footer__col:nth-child(5) {
    padding: 0 22px;
    border-right: 1px solid var(--sf-rule);
  }

  .site-footer__col:nth-child(odd) {
    padding-left: 0;
  }

  .site-footer__col:nth-child(even) {
    padding-right: 0;
    border-right: 0;
  }

  .site-footer__col h4 {
    margin-bottom: 1.1rem;
    font-size: 1.25rem;
  }

  .site-footer__col a {
    font-size: 1.02rem;
  }

  .site-footer__subscribe {
    margin-top: 36px;
  }

  .site-footer__datamatix p {
    font-size: 0.95rem;
  }
}

@media (max-width: 560px) {
  .site-footer__inner {
    padding: 34px 18px 0;
  }

  .site-footer__menus {
    grid-template-columns: 1fr;
    row-gap: 28px;
  }

  .site-footer__col,
  .site-footer__col:nth-child(1),
  .site-footer__col:nth-child(5),
  .site-footer__col:nth-child(odd),
  .site-footer__col:nth-child(even) {
    padding: 0;
    border-right: 0;
  }

  .site-footer__col h4 {
    margin-bottom: 0.85rem;
  }

  .site-footer__brand-sub {
    font-size: 1rem;
  }

  .site-footer__brand-title {
    font-size: 1.2rem;
  }

  .site-footer__brand-logo {
    width: 190px;
    margin: 12px auto 22px;
  }

  .site-footer__subscribe-label {
    font-size: 1.15rem;
  }

  .site-footer__subscribe-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .site-footer__field {
    width: 100%;
  }

  #NewsLetterSubscriberSubmitPanel,
  .site-footer__submit {
    width: 100%;
  }

  .site-footer__submit {
    margin-left: 0;
  }

  .site-footer__social {
    grid-column: 1;
    gap: 10px;
    margin-top: 8px;
  }

  .site-footer__social .s {
    width: 38px;
    height: 38px;
  }

  .site-footer__datamatix img {
    width: 220px;
    max-width: 80%;
  }

  .site-footer__datamatix p {
    font-size: 0.9rem;
    line-height: 1.5;
  }

  .site-footer__copyright {
    font-size: 0.82rem;
    line-height: 1.4;
  }
}
