/* Image styling for content area */
html[data-theme=dark] .bd-content img:not(.only-dark,.dark-light) {    
    background: transparent !important;
    border-radius: .25rem;
}

html .bd-content img:not(.only-dark,.dark-light) {
    padding: 1rem 0;
}

/* Custom footer styles */

.bd-footer-content_inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 0;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-logo {
  flex: 0 0 auto;
  margin-left: 1rem;
  margin-right: 2rem;
}

.numfocus-logo {

  max-width: 120px;
  height: auto;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
  flex: 1;
  align-items: center;
  flex-wrap: wrap;
}

.footer-links a {
  color:#48566b;
  text-decoration: none;
  font-size: 0.9rem;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color:#222832;
  text-decoration: underline;
}

.copyright {
  color: #777;
  font-size: 0.85rem;
  margin: 0;
  white-space: nowrap;
}

.social-links {
  display: flex;
  gap: 1rem;
  margin-left: auto;
}

.social-links a {
  color:#48566b;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: #222832;
}

.social-links svg {
  width: 20px;
  height: 20px;
}

html[data-theme=dark] .footer-links a {
  color: #bbb;
}

html[data-theme=dark] .footer-links a:hover {
  color: #fff;
}

html[data-theme=dark] .copyright {
  color: #999;
}

html[data-theme=dark] .social-links a {
  color: #aaa;
}

html[data-theme=dark] .social-links a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .bd-footer-content_inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  
  .footer-logo {
    margin-right: 0;
  }
  
  .footer-links {
    justify-content: center;
    margin: 0.5rem 0;
  }
  
  .social-links {
    margin: 1rem 0 0 0;
  }
}
