/* =========================
   Footer: Twenty Twenty-Five
   ========================= */

.site-footer {
  background: #0f0f0f;
  color: #fff;
  padding: 80px 24px 28px;
}

/* Constrained content width */
.site-footer .footer-main,
.site-footer .footer-bottom {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

/* Links */
.site-footer a {
  color: inherit;
  text-decoration: none;
}
.site-footer a:hover {
  opacity: 0.85;
}

/* Main 4-col layout */
.site-footer .footer-main {
  gap: 2.5rem;
}

.site-footer .footer-col p {
  opacity: 0.85;
  line-height: 1.55;
   font-size: 0.98rem;
}

.site-footer .footer-col a,
.site-footer .footer-col li {
  font-size: 0.98rem;
}

/* Muted links by default, confident on hover */
.site-footer .footer-col a {
  opacity: 0.82;
}
.site-footer .footer-col a:hover {
  opacity: 1;
}

/* Brand column: limit line length (pro move) */
.site-footer .footer-brand p {
  max-width: 34ch;
}


.site-footer .footer-col h2,
.site-footer .footer-col h3,
.site-footer .footer-col h4 {
  margin-top: 0;
  margin-bottom: 0.75rem;
  font-weight: 650;
  letter-spacing: 0.2px;
  opacity: 0.95;
}

/* Make lists look clean */
.site-footer ul {
  list-style: none;
  padding-left: 0;
  margin: 0;
}
.site-footer li {
  margin-bottom: 0.5rem;
}

/* Core Social Icons block */
.site-footer .wp-block-social-links {
  gap: 0.6rem;
  margin-top: 0.75rem;
}
.site-footer .wp-block-social-link a {
  border-radius: 999px;
}

/* Bottom bar */
.site-footer .footer-bottom {
  margin-top: 44px;
  padding-top: 16px;
  border-top: 1px solid rgba(255,255,255,0.15);
  font-size: 0.875rem;
  opacity: 0.75;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Newsletter column becomes a designed component */
.site-footer .footer-action,
.site-footer .footer-newsletter {
  padding: 18px;
  border-radius: 14px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
}

/* Social icons look deliberate, not default */
.site-footer .wp-block-social-link a {
  border: 1px solid rgba(255,255,255,0.18);
}

/* Bottom bar feels separated and intentional */
.site-footer .footer-bottom {
  margin-top: 56px;
  padding-top: 18px;
  opacity: 0.72;
}

/* =========================
   Footer Logo – ShellyFit
   ========================= */

.site-footer .wp-block-site-logo img {
  max-height: 50px;   /* desktop */
  width: auto;
  height: auto;
  max-width: 100%;
  display: block;

  border-radius: 999px;
  border: 1.5px solid currentColor;
  box-sizing: border-box;

  /* Softer presence than header */
  opacity: 0.9;
}

/* Footer nav should NOT show "current" state like a main nav */
.site-footer .wp-block-navigation .current-menu-item > a,
.site-footer .wp-block-navigation .current_page_item > a,
.site-footer .wp-block-navigation a[aria-current="page"] {
  text-decoration: none !important;
  border-bottom: 0 !important;
  box-shadow: none !important;
}

/* Footer headings: controlled size + consistent spacing */
.site-footer .footer-col h2,
.site-footer .footer-col h3,
.site-footer .footer-col h4 {
  font-size: 1.15rem;      /* smaller, professional */
  line-height: 1.2;
  margin: 0 0 14px 0;
  letter-spacing: 0.2px;
}

/* Footer link styling: lighter + consistent */
.site-footer .wp-block-navigation a {
  font-weight: 500;
  opacity: 0.82;
  text-decoration: none;
}

.site-footer .wp-block-navigation a:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Force consistent link sizing across footer columns (handles block typography overrides) */
.site-footer .footer-col,
.site-footer .footer-col p,
.site-footer .footer-col li,
.site-footer .footer-col a,
.site-footer .footer-col .wp-block-navigation a {
  font-size: 0.98rem !important;
}

/* =========================
   Mobile
   ========================= */
@media (max-width: 781px) {
  .site-footer {
    padding: 56px 20px 22px;
  }

  .site-footer .wp-block-site-logo img {
    max-height: 30px; /* mobile */
    height: auto;
    width: auto;
  }

  /* Stack columns */
  .site-footer .footer-main {
    flex-direction: column;
    gap: 26px;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .site-footer .footer-action,
  .site-footer .footer-newsletter {
    padding: 16px;
  }
}
