/* ========================================
   FOOTER DIVIDER
======================================== */

.footer-divider {
  border: none;
  border-top: 1px solid var(--card-border);
  margin: 10px 0 10px;
  width: 100%;
}


/* ========================================
   FOOTER WRAPPER
======================================== */

.footer-bar-inner {
  max-width: 1100px;
  margin: auto;
  padding: 6px 20px 6px;
}


/* ========================================
   FOOTER TOP ROW
   (logo/tagline + links)
======================================== */

.footer-top {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 60px;
}


/* ========================================
   BRAND BLOCK
======================================== */

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 160px;
}

.footer-logo {
  height: 20px;
}

.footer-tagline {
  margin-top: 6px;
  font-size: 0.78rem;
  line-height: 1.2;
  color: var(--text-secondary);
  text-align: center;
}


/* ========================================
   FOOTER LINKS
======================================== */

.footer-right {
  display: flex;
  gap: 20px;
  font-size: 0.85rem;
  padding-top: 2px;
}

.footer-right a {
  color: var(--text-secondary);
}

.footer-right a:hover {
  color: var(--footer-hover);
}


/* ========================================
   COPYRIGHT BAR
======================================== */

.footer-copyright-bar {
  text-align: center;
  font-size: 0.72rem;
  color: var(--text-secondary);
  padding: 6px 0 14px;
  opacity: 0.8;
}


/* ========================================
   MOBILE FOOTER
======================================== */

@media (max-width: 640px) {

  .footer-bar-inner {
    padding-left: 14px;
    padding-right: 14px;
  }

  .footer-top {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .footer-right {
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
    width: 100%;
  }

  .footer-tagline {
    text-align: center;
    width: 100%;
  }

}
