/* footerfix.css —— 收紧页脚底部留白
   现状：.footer 有 30px padding，<p class="footer-conter"> 里又套了 <div>（浏览器会提前闭合 <p>），
   产生一个空 <p> 的默认外边距，加上主题那三个空的 list-inline 列，底部就空出一大截。 */

body.gsk-on .footer {
  padding: 14px 20px 6px !important;
  margin-top: 22px !important;
}

/* 空的联系方式列没有任何内容，直接收起 */
body.gsk-on .footer .container-footer > .list-inline {
  display: none !important;
}

/* 被浏览器提前闭合产生的空段落 */
body.gsk-on .footer p:empty {
  display: none !important;
}

/* 真正的页脚正文容器 */
body.gsk-on .footer .footer-conter {
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.6 !important;
}

body.gsk-on .footer .footer-conter > div {
  padding: 2px 8px 0 !important;
  line-height: 1.65 !important;
  color: var(--g-mut, #8f86a8) !important;
  font-size: 13px !important;
}

body.gsk-on .footer .footer-conter > div > p {
  margin: 0 auto 2px !important;
  max-width: 720px;
}

/* 日间 */
body.gsk-on:not(.dark-theme) .footer .footer-conter > div {
  color: #6b5f7a !important;
}

@media (max-width: 767px) {
  body.gsk-on .footer {
    padding: 10px 14px 5px !important;
    margin-top: 16px !important;
  }
  body.gsk-on .footer .footer-conter > div {
    font-size: 12px !important;
    line-height: 1.6 !important;
  }
}


/* 浏览器会把 <p> 里的 <div> 提前闭合：无论最终是「div 在 p 内」还是「div 与 p 同级」，
   都把这块内容容器压紧，去掉它的 16px 内边距与 1.9 行高。 */
body.gsk-on .footer .container-footer > p,
body.gsk-on .footer .container-footer > div,
body.gsk-on .footer .footer-conter > div,
body.gsk-on .footer .footer-conter + div {
  margin: 0 !important;
  padding: 0 !important;
}
body.gsk-on .footer .container-footer > div,
body.gsk-on .footer .footer-conter > div,
body.gsk-on .footer .footer-conter + div {
  padding: 2px 8px 0 !important;
  line-height: 1.65 !important;
  color: var(--g-mut, #8f86a8) !important;
  font-size: 13px !important;
  text-align: center !important;
}
body.gsk-on .footer .container-footer > div > p,
body.gsk-on .footer .footer-conter > div > p,
body.gsk-on .footer .footer-conter + div > p {
  margin: 0 auto 2px !important;
  max-width: 720px;
}
body.gsk-on:not(.dark-theme) .footer .container-footer > div,
body.gsk-on:not(.dark-theme) .footer .footer-conter + div,
body.gsk-on:not(.dark-theme) .footer .footer-conter > div {
  color: #6b5f7a !important;
}
