/* Advertisement label — unified across all pages (aligned with home / index.css).
   `.ad-box .adTitle` (specificity 0,2,0) beats page-level `.adTitle` rules. */
.ad-box .adTitle {
  text-align: start;
  font-size: 11px;
  line-height: 16px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin: 0 0 6px 0;
  padding: 0;
}

/* 深色页脚 — 对齐目标站 downloade.app（深绿背景 + logo + disclaimer + 4 链接 + 版权） */
.site-footer {
  width: 100%;
  background: var(--footer-bg, #0F2557); /* 主题蓝（theme.css --footer-bg） */
  color: var(--footer-text, #ffffff);
  padding-top: 40px;
  padding-bottom: 32px;
  padding-left: 50px;
  padding-right: 50px;
  box-sizing: border-box;
}

.site-footer__inner {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  box-sizing: border-box;
  text-align: center;
}

.site-footer__logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  color: #ffffff;
}

.site-footer__logo-img {
  display: block;
  height: 28px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
  filter: brightness(0) invert(1); /* 让深色 logo 在深底上变白 */
}

.site-footer__logo-text {
  font-family: var(--font-heading, 'Plus Jakarta Sans', sans-serif);
  font-size: 22px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.site-footer__disclaimer {
  margin: 0;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 13px;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  max-width: 800px;
}

/* FooterDisclaimer 返回的是 HTML（可能带内联 style）：强制内部元素继承容器的字号/颜色，
   用 !important 压过内联样式；用 inherit 而非写死数值，使移动端容器的 12px 仍生效 */
.site-footer__disclaimer * {
  font-size: inherit !important;
  line-height: inherit !important;
  color: inherit !important;
  font-family: inherit !important;
  background: transparent !important;
}
.site-footer__disclaimer p {
  margin: 0;
}
.site-footer__disclaimer p + p {
  margin-top: 8px;
}
.site-footer__disclaimer a {
  text-decoration: underline;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 32px;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.4;
  margin-top: 4px;
}

.site-footer__link {
  color: #ffffff;
  text-decoration: none;
  transition: opacity 0.2s ease;
  white-space: nowrap;
}

.site-footer__link:hover,
.site-footer__link:focus {
  opacity: 0.85;
  text-decoration: underline;
  outline: none;
}

.site-footer__copy {
  margin: 0;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  width: 100%;
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.6);
  text-align: center;
}

@media only screen and (max-width: 767px) {
  .site-footer {
    padding-top: 32px;
    padding-bottom: 24px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .site-footer__inner {
    gap: 16px;
  }
  .site-footer__disclaimer {
    font-size: 12px;
    line-height: 1.6;
  }
  .site-footer__nav {
    gap: 10px 24px;
    font-size: 13px;
  }
  .site-footer__copy {
    font-size: 11px;
  }
}
