/* =====================================
   MATERIAL THEME FOOTER — 3 COLUMNS
   ===================================== */

/* Base layout for footer inner container */
#se-footer .se-footer__inner {
  display: flex !important;
  flex-wrap: wrap !important;
  justify-content: space-between !important;
  align-items: flex-start !important;
  gap: 32px !important;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px;
  text-align: left !important;
}

/* Each column */
#se-footer .se-footer__col {
  flex: 1 1 0 !important;
  min-width: 280px;
}

/* Right column */
#se-footer .se-footer__col.right {
  text-align: right !important;
  margin-left: auto !important;
}

/* Headings and links */
#se-footer h3, 
#se-footer h4 {
  margin-bottom: 10px;
  color: #2c3e50;
}
#se-footer a {
  text-decoration: none;
  color: #2c3e50;
}
#se-footer a:hover {
  text-decoration: underline;
}

/* Responsive breakpoints */
@media (max-width: 991px) {
  #se-footer .se-footer__col {
    flex: 0 0 48%;
    max-width: 48%;
    text-align: left !important;
  }
  #se-footer .se-footer__col.right {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: left !important;
    margin-left: 0 !important;
  }
}
@media (max-width: 640px) {
  #se-footer .se-footer__inner {
    gap: 20px;
    padding: 24px 16px;
  }
  #se-footer .se-footer__col {
    flex: 0 0 100%;
    max-width: 100%;
    text-align: left !important;
  }
}

/* Hide Material theme credit line */
footer a[href*="/about/aboutThisPublishingSystem"],
footer a[href*="github.com"],
footer .site-footer__bottom,
footer .footer__bottom,
footer .footer__credits,
footer .footer-copyright {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}
