/**
 * Footer contrast fix — moneyinyourteas.com
 *
 * BEFORE (broken):
 *   .footer-bottom-inner background: #24292e
 *   .footer-bottom-inner color: var(--nv-text-color) → #393939  (dark on dark)
 *   legal row inherits the same (uses .footer-bottom-inner)
 *
 * AFTER (theme-matched):
 *   Keep Neve footer-bottom charcoal #24292e
 *   Use Neve dark-surface text --nv-text-dark-bg → #ffffff
 *   Link hover uses a light tint of site accent #0366d6
 *   Footer-top stays white + #393939 (already readable)
 */

/* Dark footer rows: bottom + legal strip */
.footer-bottom-inner,
#cb-row--footer-legal .footer-bottom-inner,
.footer-legal .footer-bottom-inner {
  background-color: #24292e !important;
  color: #ffffff !important;
}

.footer-bottom-inner,
.footer-bottom-inner a:not(.button),
.footer-bottom-inner .navbar-toggle,
#cb-row--footer-legal .footer-bottom-inner,
#cb-row--footer-legal .footer-bottom-inner a:not(.button),
.footer-legal .footer-bottom-inner a:not(.button) {
  color: #ffffff !important;
}

.footer-bottom-inner .nv-icon svg,
.footer-bottom-inner .nv-contact-list svg {
  fill: #ffffff !important;
}

.footer-bottom-inner .icon-bar {
  background-color: #ffffff !important;
}

.footer-bottom-inner a:not(.button):hover,
#cb-row--footer-legal a:hover,
.footer-legal a:hover,
.miyt-legal-nav a:hover {
  color: #8ab4f8 !important; /* readable light blue from site accent #0366d6 */
}

/* Legal nav (shared footer partial) */
.miyt-legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 0.65rem;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0 0.35rem;
  font-size: 0.9rem;
  color: #ffffff;
}

.miyt-legal-nav a {
  color: #ffffff !important;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.miyt-legal-nav span[aria-hidden="true"] {
  color: rgba(255, 255, 255, 0.55);
}

.miyt-legal-copy {
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9) !important;
  opacity: 1;
  margin: 0 0 1rem;
  padding-bottom: 0.5rem;
}

/* Footer-top (white) — keep body text; ensure links stay readable */
.footer-top-inner {
  background-color: #ffffff;
  color: #393939;
}

.footer-top-inner,
.footer-top-inner a:not(.button),
.footer-top-inner .widget-title,
.footer-top-inner .widgettitle {
  color: #393939;
}

.footer-top-inner a:not(.button):hover {
  color: #0366d6; /* --nv-primary-accent */
}
