/* 与 client/src/components/Layout.tsx 页脚布局对齐（仅静态站样式） */

.site-footer {
  background: #f9fafb; /* bg-gray-50 */
  border-top: 1px solid #e5e7eb; /* border-gray-200 */
  padding: 4rem 0 2rem; /* pt-16 pb-8 */
  color: #111827;
}

/* 全站 .container 为 1280px；页脚与顶栏同宽 1440px，略向两侧扩展、减少左右留白 */
.site-footer .container {
  max-width: 1440px;
}

.site-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  column-gap: 2rem; /* gap-x-8 */
  row-gap: 3rem; /* gap-y-12 */
  margin-bottom: 3rem; /* mb-12 */
  align-items: start;
}

@media (min-width: 768px) {
  .site-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.site-footer-contact-block {
  display: flex;
  flex-direction: column;
  gap: 2rem; /* gap-8，窄屏时纵向堆叠 */
}

@media (min-width: 1024px) {
  .site-footer-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    column-gap: 2.5rem; /* 略宽于 gap-8，列更疏朗 */
  }
  .site-footer-contact-block {
    grid-column: span 2;
    flex-direction: row;
    align-items: flex-start;
    gap: 3.25rem; /* 联系区与二维码略分更开 */
  }
}

.site-footer-contact-col {
  flex: 1 1 0;
  min-width: 0;
}

.site-footer-follow-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 0 0 auto;
}

.site-footer-brand-head {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 1.5rem; /* mb-6 */
}

.site-footer-logo {
  height: 2rem; /* h-8 */
  width: auto;
  object-fit: contain;
}

.site-footer-desc {
  color: #71717a; /* text-muted-foreground 近似 */
  font-size: 0.875rem; /* text-sm */
  line-height: 1.625; /* leading-relaxed */
  margin: 0 0 1.5rem; /* mb-6 */
}

.site-footer-title {
  font-weight: 700; /* font-bold */
  color: #111827; /* text-gray-900 */
  font-size: 1rem;
  margin: 0 0 1.5rem; /* mb-6 */
}

.site-footer-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem; /* space-y-3 */
  font-size: 0.875rem;
  color: #71717a;
  list-style: none;
  margin: 0;
  padding: 0;
}

.site-footer-link {
  color: #71717a;
  transition: color 0.2s ease;
}
.site-footer-link:hover {
  color: var(--primary);
}

.site-footer-contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem; /* gap-3 */
}
.site-footer-contact-inline {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.site-footer-emoji {
  color: var(--primary);
  flex-shrink: 0;
}
.site-footer-contact-row .site-footer-emoji {
  margin-top: 0.125rem; /* mt-0.5 */
}
.site-footer-contact-lines {
  display: flex;
  flex-direction: column;
  gap: 0.25rem; /* gap-1 */
}
.site-footer-breakall {
  word-break: break-all;
}

.site-footer-qrcode-box {
  width: 6rem; /* w-24 */
  height: 6rem; /* h-24 */
  background: #fff;
  border-radius: 0.5rem; /* rounded-lg */
  padding: 0.25rem; /* p-1 */
  box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  border: 1px solid #f3f4f6; /* border-gray-100 */
}
.site-footer-qrcode-box img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  border-radius: 0.25rem;
}

.site-footer-bottom {
  border-top: 1px solid #e5e7eb;
  padding-top: 2rem; /* pt-8 */
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem; /* gap-2 */
  font-size: 0.75rem; /* text-xs */
  color: #71717a;
}
.site-footer-icp {
  color: #71717a;
  text-decoration: none;
  transition: color 0.2s ease;
}
.site-footer-icp:hover {
  color: var(--primary);
}
