/* =========================================================================
   SITE FOOTER — mirrors https://gsbtempletrust.com/ footer exactly
   ========================================================================= */

.site-footer {
  --gf-maroon: #9C2725;
  --gf-gold: #F4C430;
  --gf-saffron: #EF7B1B;
  --gf-font: 'Aptos', 'Aptos Display', 'Segoe UI', -apple-system, BlinkMacSystemFont, 'Inter', Roboto, sans-serif;
  background-color: var(--gf-maroon) !important;
  color: #FFFFFF !important;
  padding: 45px 24px 20px !important;
  margin: 0 !important;
  border: 0 !important;
  width: 100% !important;
  box-sizing: border-box !important;
  font-family: var(--gf-font) !important;
  text-align: left;
}
.site-footer *,
.site-footer *::before,
.site-footer *::after { box-sizing: border-box; }
.site-footer p { margin: 0; }

.site-footer .footer-content-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr 1fr !important;
  align-items: start !important;
  justify-content: space-between !important;
  width: 95% !important;
  max-width: 1600px !important;
  margin: 0 auto !important;
  padding-bottom: 35px !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  gap: 30px !important;
}
.site-footer .footer-column {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  text-align: center !important;
  padding: 0 15px !important;
  width: 100% !important;
  max-width: 420px !important;
}
.site-footer .footer-column.left-col   { grid-column: 1 / 2 !important; justify-self: center !important; }
.site-footer .footer-column.center-col { grid-column: 2 / 3 !important; justify-self: center !important; }
.site-footer .footer-column.right-col  { grid-column: 3 / 4 !important; justify-self: center !important; }

.site-footer .footer-widget-title {
  font-family: var(--gf-font) !important;
  font-size: 1.25rem !important;
  font-weight: 700 !important;
  color: var(--gf-gold) !important;
  margin: 0 0 14px 0 !important;
  padding-bottom: 8px !important;
  position: relative !important;
  text-align: center !important;
  width: 100% !important;
  line-height: 1.2 !important;
  letter-spacing: normal !important;
  text-transform: none !important;
}
.site-footer .footer-widget-title::after {
  content: '' !important;
  position: absolute !important;
  bottom: 0 !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  width: 44px !important;
  height: 2.5px !important;
  background-color: var(--gf-saffron) !important;
  border-radius: 2px !important;
}
.site-footer .footer-column-body {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: 100% !important;
  margin-top: 6px !important;
}
.site-footer .footer-contact-line {
  margin: 0 0 6px 0 !important;
  font-size: 0.96rem !important;
  line-height: 1.5 !important;
  color: #FFFFFF !important;
  text-align: center !important;
  opacity: 1 !important;
}
.site-footer .footer-contact-line:last-child { margin-bottom: 0 !important; }
.site-footer .footer-contact-line a {
  color: #FFFFFF !important;
  text-decoration: none !important;
  transition: color 0.2s ease !important;
}
.site-footer .footer-contact-line a:hover { color: var(--gf-gold) !important; }

.site-footer .footer-email-line {
  margin: 0 !important;
  font-size: 0.96rem !important;
  line-height: 1.5 !important;
  text-align: center !important;
}
.site-footer .footer-email-line a {
  color: #FFFFFF !important;
  text-decoration: none !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: color 0.2s ease !important;
}
.site-footer .footer-email-line a:hover { color: var(--gf-gold) !important; }
.site-footer .footer-email-line i {
  color: var(--gf-gold) !important;
  font-size: 1.05rem !important;
}

.site-footer .footer-address {
  margin: 0 !important;
  font-size: 0.94rem !important;
  line-height: 1.5 !important;
  color: #FFFFFF !important;
  text-align: center !important;
  width: 100% !important;
}
.site-footer .footer-address-brand {
  color: var(--gf-gold) !important;
  font-size: 1.02rem !important;
  letter-spacing: 0.8px !important;
  display: block !important;
  margin-bottom: 4px !important;
  text-align: center !important;
}
.site-footer .footer-address span {
  display: block !important;
  text-align: center !important;
  white-space: nowrap !important;
  line-height: 1.45 !important;
}

.site-footer .footer-bottom {
  display: block !important;
  border: 0 !important;
  margin: 0 !important;
  padding: 18px 0 0 !important;
  font-size: 0.88rem !important;
  color: rgba(255, 255, 255, 0.85) !important;
  width: 100% !important;
  background: transparent !important;
}
.site-footer .footer-bottom-row {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 15px !important;
  width: 95% !important;
  max-width: 1600px !important;
  margin: 0 auto !important;
}
.site-footer .footer-social-links {
  display: flex !important;
  gap: 18px !important;
}
.site-footer .footer-social-links a {
  color: var(--gf-gold) !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  transition: opacity 0.2s ease !important;
}
.site-footer .footer-social-links a:hover { opacity: 0.85 !important; }

/* ---------- Tablet / Mobile: stacked & centred ---------- */
@media (max-width: 991px) {
  .site-footer {
    padding: 35px 16px 20px !important;
    text-align: center !important;
  }
  .site-footer .footer-content-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 28px !important;
    padding-bottom: 25px !important;
  }
  .site-footer .footer-column,
  .site-footer .footer-column.left-col,
  .site-footer .footer-column.center-col,
  .site-footer .footer-column.right-col {
    width: 100% !important;
    max-width: 100% !important;
    grid-column: auto !important;
    justify-self: auto !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }
  .site-footer .footer-widget-title {
    font-size: 1.15rem !important;
    margin: 0 auto 12px !important;
    letter-spacing: 0.5px !important;
  }
  .site-footer .footer-column-body { margin: 0 auto !important; gap: 8px !important; }
  .site-footer .footer-contact-line {
    font-size: 0.90rem !important;
    line-height: 1.6 !important;
    margin: 0 auto !important;
  }
  .site-footer .footer-email-line a {
    gap: 8px !important;
    font-size: 0.88rem !important;
    word-break: break-word !important;
  }
  .site-footer .footer-address { font-size: 0.85rem !important; }
  .site-footer .footer-address-brand { font-size: 0.92rem !important; }
  .site-footer .footer-address span { white-space: normal !important; }
  .site-footer .footer-bottom { text-align: center !important; }
  .site-footer .footer-bottom-row {
    flex-direction: column !important;
    justify-content: center !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 100% !important;
  }
  .site-footer .footer-bottom-row > div:first-child {
    font-size: 0.72rem !important;
    line-height: 1.55 !important;
  }
  .site-footer .footer-social-links {
    justify-content: center !important;
    width: 100% !important;
  }
  .site-footer .footer-social-links a { font-size: 0.86rem !important; }
}
