/* ==========================================================================
   footer.css — styles for the new footer only (everything is scoped to .site-footer)
   White version. Load it in <head>, after your other stylesheets.
   ========================================================================== */

.site-footer {
  background: #fff;
  color: #333;
  border-top: 1px solid #e2e5e9;
  font-size: 14px;
  line-height: 1.6;
  text-align: left;
}
.site-footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 48px 20px 24px;
  box-sizing: border-box;
}

/* ---------- Top: brand + three link columns ---------- */
.site-footer .footer-top {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  padding-bottom: 36px;
  border-bottom: 1px solid #e2e5e9;
}

.site-footer .footer-logo {
  display: inline-block;
  line-height: 0;
}
.site-footer .footer-logo img {
  height: 40px;
  width: auto;
  display: block;
}
.site-footer .footer-tagline {
  margin: 14px 0 20px;
  max-width: 34ch;
  color: #5f6368;
}
.site-footer .footer-ph-text {
  margin: 0 0 8px;
  color: #333;
}
.site-footer .footer-brand a img[alt*="Product Hunt"] {
  display: block;
  max-width: 100%;
  height: auto;
}

/* ---------- Link columns ---------- */
.site-footer .footer-heading {
  margin: 0 0 14px;
  font-size: 1rem;
  font-weight: 700;
  color: #111;
}
.site-footer .footer-col ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.site-footer .footer-col li {
  margin: 0 0 10px;
}
.site-footer .footer-col a {
  color: #0b57d0;
  text-decoration: none;
}
.site-footer .footer-col a:hover {
  color: #2e7d32;
  text-decoration: underline;
}
.site-footer a:focus-visible,
.site-footer select:focus-visible {
  outline: 3px solid #81c784;
  outline-offset: 2px;
}

/* ---------- Bottom bar ---------- */
.site-footer .footer-bottom {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  padding-top: 20px;
}
.site-footer .footer-copy {
  margin: 0;
  color: #5f6368;
}
.site-footer .footer-language {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  text-align: left;
}
.site-footer .footer-language label {
  margin: 0;
  font-size: 14px;
  color: #333;
}
.site-footer .footer-language select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #c9ced4;
  background: #fff;
  color: #222;
  cursor: pointer;
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .site-footer .footer-top {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
  }
  .site-footer .footer-brand {
    grid-column: 1 / -1;
  }
}
@media (max-width: 480px) {
  .site-footer .footer-inner {
    padding: 36px 16px 20px;
  }
  .site-footer .footer-top {
    grid-template-columns: minmax(0, 1fr);
  }
  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* ---------- Protection from global site rules (nav / ul / li / a / h2 in styles.css) ---------- */
.site-footer .footer-col,
.site-footer .footer-brand {
  display: block;
  position: static;
  width: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  background: none;
  box-shadow: none;
  text-align: left;
}
.site-footer .footer-col ul {
  display: block;
  flex-direction: column;
  position: static;
  width: auto;
  margin: 0;
  padding: 0;
  gap: 0;
  background: none;
  box-shadow: none;
}
.site-footer .footer-col li {
  display: block;
  width: auto;
  margin: 0 0 10px;
  padding: 0;
}
.site-footer .footer-col a {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  font-weight: 400;
  font-size: 14px;
}
.site-footer .footer-heading {
  display: block;
  text-align: left;
  text-transform: none;
}
