/* SyncBank multi-column footer — layout only; colors from .footer / theme.css */

.sb-footer {
  height: auto !important;
  min-height: 0;
  padding: 56px 0 48px;
  align-items: stretch !important;
}

.sb-footer.footer .sb-footer__grid.footer-grid,
.sb-footer__grid.footer-grid {
  display: grid !important;
  flex-flow: unset !important;
  grid-template-columns: minmax(240px, 1.15fr) minmax(0, 2fr);
  gap: 36px 24px;
  align-items: start;
  max-width: 1200px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.sb-footer__brand.footergrid-left {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
  max-width: 360px;
}

.sb-footer__brand-top {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.sb-footer__brand-top .product-hunt-badge img {
  width: auto;
  height: 32px;
  max-height: 32px;
}

.sb-footer__brand .home-logo {
  display: inline-block;
  margin-bottom: 0;
  text-decoration: none;
}

.sb-footer__brand .home-logo:hover {
  text-decoration: none;
  opacity: 0.92;
}

.sb-footer__tagline {
  margin: 0;
  color: #8a8f98;
  font-family: Geist, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 19.5px;
}

.sb-footer__utilities {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 0;
}

.sb-footer__brand #syncbank-language-switcher {
  padding-left: 0 !important;
  margin-left: 0 !important;
  border-left: none !important;
}

.sb-footer__social {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.sb-footer__social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  color: #8a8f98;
  text-decoration: none;
  transition: color 0.16s ease;
}

.sb-footer__social-link:hover {
  color: #ededec;
}

.sb-footer__social-link svg {
  width: 18px;
  height: 18px;
  display: block;
}

.sb-footer__social-link .sb-footer__ph-icon {
  width: 18px;
  height: 18px;
  flex: none;
}

/* Product Hunt icon — dark mode (default) */
.sb-footer__ph-icon .sb-footer__ph-brand {
  fill: #8a8f98;
}

.sb-footer__ph-icon .sb-footer__ph-letter {
  fill: #121212;
}

.sb-footer__copyright {
  margin: 0;
  color: #8a8f98;
  font-family: Geist, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 19.5px;
}

.sb-footer__copyright a {
  color: inherit;
  text-decoration: none;
}

.sb-footer__copyright a:hover {
  color: #ededec;
}

/* Mobile / tablet: two independent vertical stacks (no shared row height) */
.sb-footer__nav {
  width: 100%;
}

.sb-footer__nav-stacked {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 24px;
}

.sb-footer__nav-flat {
  display: none;
}

.sb-footer__nav-side {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.sb-footer__col {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.sb-footer__col-title {
  margin: 0 0 14px;
  color: #ededec;
  font-family: Geist, Arial, sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.sb-footer__links {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sb-footer__links li + li {
  margin-top: 10px;
}

.sb-footer__link {
  color: #8a8f98 !important;
  font-family: Geist, Arial, sans-serif;
  font-size: 13px;
  font-weight: 400;
  line-height: 19.5px;
  text-decoration: none;
  text-align: left;
  display: inline-block;
  transition: color 0.16s ease;
}

.sb-footer__link:hover {
  color: #ededec !important;
  text-decoration: none;
}

.sb-footer__utilities #syncbank-language-switcher {
  padding-left: 0;
  margin-left: 0;
  border-left: none;
}

/* Desktop: one row of five columns in DOM order */
@media screen and (min-width: 992px) {
  .sb-footer__nav-stacked {
    display: none;
  }

  .sb-footer__nav-flat {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 36px 24px;
    align-items: start;
  }
}

@media screen and (max-width: 991px) {
  .sb-footer.footer .sb-footer__grid.footer-grid,
  .sb-footer__grid.footer-grid {
    grid-template-columns: 1fr !important;
  }

  .sb-footer__brand.footergrid-left {
    max-width: none;
  }

  .sb-footer__tagline {
    max-width: 450px;
  }
}

@media screen and (max-width: 479px) {
  .sb-footer {
    padding: 40px 0 32px;
  }
}
