/* ────────────────────────────────
   PatriotChat Footer
   Cleaned 2025-07-02
──────────────────────────────── */

.site-footer {
  background-color: rgba(2, 6, 23, 0.78);
  color: #888;
  text-align: center;
  font-size: 0.86rem;
  padding: 1.05rem 1rem 1.45rem;
  margin-top: 3rem;
  margin-bottom: 0;
  padding-bottom: calc(1.45rem + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}
.site-footer a { color: #ccc; text-decoration: none; }
.site-footer a:hover { color: #fff; }

body.lift4love-public-page .site-footer {
  margin-top: 1rem;
}

.footer-meta {
  margin-bottom: 0.85rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  line-height: 1.32;
}

.footer-meta > span {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.footer-disclosure {
  width: 100%;
  max-width: min(100%, 900px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.14rem;
  color: rgba(226, 232, 240, 0.72);
}

.footer-disclosure__copyright {
  color: rgba(248, 250, 252, 0.86);
  font-weight: 650;
}

.footer-disclosure__relationship,
.footer-disclosure__nonprofit,
.footer-disclosure__platform {
  max-width: min(100%, 820px);
  overflow-wrap: anywhere;
}

.footer-disclosure__relationship,
.footer-disclosure__nonprofit {
  font-size: 0.82rem;
}

.footer-disclosure__platform {
  font-size: 0.8rem;
}

.footer-disclosure__nonprofit .footer-ein {
  display: inline-block;
  margin-left: 0.3rem;
  color: rgba(226, 232, 240, 0.82);
}

.footer-meta > span::before {
  content: "";
}

.footer-meta > span + span::before {
  content: "·";
  color: rgba(204, 204, 204, 0.75);
  margin: 0 .28rem 0 .05rem;
}

.footer-meta > .footer-disclosure + span::before {
  content: "";
  margin: 0;
}

.footer-utility-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.7rem;
}

.footer-utility-links > span {
  display: inline-flex;
  align-items: center;
}

.footer-utility-links > span + span::before {
  content: "·";
  color: rgba(204, 204, 204, 0.68);
  margin-right: 0.7rem;
}

.footer-powered {
  gap: 0.25rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-powered-separator {
  color: rgba(204, 204, 204, 0.75);
}

.footer-salute a{
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 0.14rem 0.36rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: #fff;
}
.footer-salute img{
  width: 24px;
  height: 24px;
  display: inline-block;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  margin: 0 auto;
  max-width: 980px;
}

.footer-social {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem 0.8rem;
  margin-top: 1rem;
}

.footer-social a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.28rem 0.68rem;
  border-radius: 999px;
  background: rgba(255,255,255,0.05);
  color: #f8fafc;
  min-height: 34px;
}

.footer-social a:hover {
  background: rgba(255,255,255,0.12);
}

.footer-social img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer-session-identity {
  margin: 1rem auto 0;
  max-width: min(100%, 980px);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem 0.55rem;
  color: rgba(226, 232, 240, 0.72);
  font-size: 0.78rem;
  line-height: 1.35;
}

.footer-session-identity > span {
  min-width: 0;
  overflow-wrap: anywhere;
}

.footer-session-identity > span + span::before {
  content: "·";
  color: rgba(204, 204, 204, 0.55);
  margin-right: 0.55rem;
}

.footer-session-name {
  color: rgba(248, 250, 252, 0.9);
  font-weight: 600;
}

.footer-columns {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
}

.footer-column {
  list-style: none;
  margin: 0;
  padding: 0;
  min-width: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.55rem 1rem;
}

.footer-column li + li { margin-top: 0; }

.footer-column a {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0;
}

@media (max-width: 640px) {
  .footer-meta {
    row-gap: 0.35rem;
  }

  .footer-meta > span + span::before {
    content: "";
    margin: 0;
  }
}

@media (max-width: 600px) {
  .footer-meta {
    gap: 0.25rem 0;
  }

  .footer-meta > span {
    width: 100%;
    justify-content: center;
  }

  .footer-meta > span + span::before {
    content: "";
    margin: 0;
  }

  .footer-columns {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  }

  body.creator-studio-page .site-footer {
    margin-top: 1.5rem;
    padding: 0.9rem 0.8rem 1.1rem;
    padding-bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
  }

  body.creator-studio-page .footer-meta {
    margin-bottom: 0.6rem;
    font-size: 0.8rem;
  }

  body.creator-studio-page .footer-meta .footer-ein,
  body.creator-studio-page .footer-meta .footer-powered,
  body.creator-studio-page .footer-meta .footer-salute {
    display: none;
  }

  body.creator-studio-page .footer-links {
    gap: 0.55rem 0.75rem;
    font-size: 0.82rem;
  }

  body.creator-studio-page .footer-social {
    margin-top: 0.7rem;
    gap: 0.45rem 0.55rem;
  }

  body.creator-studio-page .footer-social a {
    min-height: 30px;
    padding: 0.22rem 0.52rem;
    font-size: 0.8rem;
  }
}

@media (max-width: 420px) {
  .footer-meta {
    gap: .2rem .35rem;
    font-size: .85rem;
  }

  .footer-meta > span::before {
    content: "";
    margin: 0;
  }

  .footer-salute a {
    padding: 0.14rem 0.36rem;
    gap: 4px;
  }

  .footer-salute img {
    width: 24px;
    height: 24px;
  }

  .footer-columns {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 360px) {
  .footer-meta {
    gap: .14rem .26rem;
    font-size: .8rem;
  }

  .footer-meta .footer-salute,
  .footer-meta .footer-cookies,
  .footer-meta .footer-report {
    width: 100%;
    justify-content: center;
  }

  .footer-salute a {
    background: rgba(255,255,255,0.035);
    padding: 0.08rem 0.28rem;
  }
}
