/* ===== FOOTER - BOOTSTRAP COMPATIBLE ===== */
.site-footer {
  background: var(--dark);
  color: var(--white);
  padding: 60px 0 0;
}

body.dark-theme .site-footer {
  background: var(--bg-body);
  border-top: 1px solid var(--nav-border);
} 

/* Top section - 3 columns */
.site-footer .row.g-4 {
  margin-bottom: 0;
  padding-bottom: 32px;
  border-bottom: 1px solid var(--text-muted);
}

.site-footer .row.g-4 > div {
  border-right: 1px solid var(--text-muted);
  padding-right: 32px;
  padding-left: 20px;
}

.site-footer .row.g-4 > div:last-child {
  border-right: none;
}

body.dark-theme .site-footer .row.g-4 {
  border-bottom-color: var(--nav-border);
}

body.dark-theme .site-footer .row.g-4 > div {
  border-right-color: var(--nav-border);
}

.site-footer strong {
  color: var(--white);
  font-size: 16px;
  font-weight: 600;
  display: block;
  margin-bottom: 12px;
}

.site-footer .row.g-4 p,
.site-footer .row.g-4 ul {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin: 0;
}

.site-footer p,
.site-footer ul {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.8;
  margin: 0;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer li {
  margin-bottom: 8px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: color 0.2s ease;
}

.site-footer a:hover {
  color: var(--light);
}

/* Bottom section - centered content */
.site-footer .row:last-child {
  padding-top: 32px;
  padding-bottom: 0;
}

.footer-heritage {
  font-size: 15px;
  margin: 0 !important;
  padding: 0 !important;
}

.footer-disclaimer {
  font-size: 12px;
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto !important;
  padding: 0 !important;
  color: rgba(255, 255, 255, 0.7) !important;
}

.footer-copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.6);
  margin: 0 !important;
  padding: 0 !important;
}

/* Footer credit - separate section, full width */
.footer-credit-wrapper {
  width: 100%;
  margin-top: 32px;
  padding-top: 16px;
}

.footer-credit {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 !important;
  padding: 16px 0;
  background: rgba(0, 0, 0, 0.2);
  text-align: center;
  width: 100%;
}

body.dark-theme .footer-credit {
  background: var(--bg-body);
  border-top: 1px solid var(--nav-border);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .site-footer {
    padding: 50px 0 0;
  }
  
  .site-footer .row.g-4 {
    padding-bottom: 28px;
  }
  
  .site-footer .row.g-4 > div {
    padding-right: 24px;
    padding-left: 16px;
  }

  .site-footer .row:last-child {
    padding-top: 28px;
  }
  
  .footer-credit-wrapper {
    margin-top: 28px;
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 0 0;
  }
  
  .site-footer .row.g-4 {
    padding-bottom: 24px;
  }
  
  .site-footer .row.g-4 > div {
    border-right: none;
    border-bottom: 1px solid var(--text-muted);
    padding-left: 16px;
    padding-right: 16px;
    padding-bottom: 24px;
    margin-bottom: 24px;
  }
  
  .site-footer .row.g-4 > div:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  
  body.dark-theme .site-footer .row.g-4 > div {
    border-bottom-color: var(--nav-border);
  }
  
  .site-footer .row:last-child {
    padding-top: 24px;
  }
  
  .site-footer strong {
    font-size: 15px;
    margin-bottom: 10px;
  }
  
  .footer-heritage {
    font-size: 14px;
  }
  
  .footer-disclaimer {
    font-size: 11px;
  }
  
  .footer-copyright {
    font-size: 12px;
  }
  
  .footer-credit-wrapper {
    margin-top: 24px;
    padding-top: 12px;
  }
  
  .footer-credit {
    font-size: 11px;
    padding: 12px 16px;
  }
}
