/* ===========================================================
   页脚两列化 + H5 压紧（2026-12-01）
   链接并成两组：服务（4 条）/ 更多（5 条），桌面三栏、手机两栏。
   =========================================================== */

/* 桌面：品牌块 + 两列链接 */
@media (min-width: 861px) {
  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 860px) {
  .footer {
    padding-top: 28px !important;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 16px 14px !important;
    padding-bottom: 20px !important;
  }

  /* 品牌块独占一整行 */
  .footer-grid > div:first-child {
    grid-column: 1 / -1;
  }

  /* logo + 好时光 GREATIME 压成一行 */
  .footer-grid > div:first-child .brand {
    margin-bottom: 6px !important;
    gap: 8px !important;
  }
  .footer-grid > div:first-child .brand img {
    width: 26px !important;
    height: 26px !important;
  }
  .footer-grid > div:first-child .brand .name {
    display: inline !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }
  .footer-grid > div:first-child .brand .sub {
    display: inline !important;
    margin-left: 6px;
    font-size: 10px !important;
    line-height: 1 !important;
    letter-spacing: .16em !important;
  }

  /* 宣传语 + 网址 */
  .footer .fnote {
    font-size: 12px !important;
    line-height: 1.65 !important;
    max-width: none !important;
    margin: 0 !important;
  }

  /* 两列的小标题与链接 */
  .footer h4 {
    font-size: 13px !important;
    margin: 0 0 6px !important;
  }
  .footer-grid a {
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    padding: 4px 0 !important;
    word-break: keep-all;
  }

  .footer-bottom {
    padding: 12px 0 !important;
    font-size: 11.5px !important;
    gap: 8px !important;
  }
}
