/* Footer layout: brand column + six link columns (colours stay on the site's footer theme).
 * Side/top/bottom padding on .site-footer itself used to come from HomePage.css's dark-footer
 * base rule (padding: 60px 40px 20px) — fine on the home page, which always loads HomePage.css,
 * but every other page only loads this file, so it's restated here rather than relying on a
 * content-page-specific stylesheet nothing else needs. */
.site-footer {
  padding: 60px 40px 20px;
}

.site-footer .footer-content {
  max-width: 1240px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr repeat(5, 1fr);
  gap: 24px;
  padding-bottom: 24px;
}

.site-footer .footer-brand__name {
  margin: 0 0 8px;
  color: #ffd700 !important;
}

.footer-brand__tag {
  margin: 0;
  color: #e0e0e0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.site-footer .footer-brand .social-links {
  margin-top: 16px;
}

.site-footer .footer-brand .social-links a {
  margin-right: 16px;
  font-size: 22px;
}

.footer-col h5 {
  margin: 0 0 14px;
  color: #ffd700;
  font-size: 0.9rem;
  font-weight: 700;
}

.footer-col .footer-links li {
  margin-bottom: 9px;
}

.footer-col .footer-links a {
  font-size: 0.82rem;
}

@media (max-width: 1080px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr 1fr;
  }

  .footer-brand {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 26px 16px;
  }
}

@media (max-width: 340px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* ===== White footer (sits under the dark call-to-action band) ===== */
.site-footer.site-footer {
  background: #fff;
  border-top: 1px solid #e6e8f5;
  color: #4b5563;
}

.site-footer.site-footer .footer-brand__name {
  color: #1890ff !important;
}

.site-footer.site-footer .footer-brand__tag {
  color: #4b5563;
}

.site-footer.site-footer .social-links a {
  color: #2563eb;
}

.site-footer.site-footer .social-links a:hover {
  color: #1d4ed8;
}

.site-footer.site-footer .footer-col h5 {
  color: #1a1a2e;
}

.site-footer.site-footer .footer-links a {
  color: #4b5563;
}

.site-footer.site-footer .footer-links a:hover {
  color: #2563eb;
}

.site-footer .footer-divider {
  margin: 40px 0 20px;
  border-color: #e6e8f5;
}

/* enpropel.css's own plain .footer-bottom rule (border-top, flex/space-between, used by legacy
 * pages' old footer) would otherwise win here since it's the only rule actually setting these
 * layout properties — restated at the same specificity as that rule's selector so these, not
 * those, apply: a single line (the divider above already draws one — this must not draw a
 * second) and the text centered, not pushed to the left by a flex row with no second child. */
.footer-bottom {
  display: block;
  border-top: none;
  padding: 0;
  text-align: center;
}

.site-footer.site-footer .footer-bottom,
.site-footer.site-footer .footer-bottom p {
  color: #6b7280;
}

.site-footer.site-footer::before {
  display: none;
}
