/* 查特熊红底页脚 */
.ctxjm-footer {
  background: #DB0038;
  color: #fff;
  margin-top: 0;
  padding: 42px 0 0;
}
.ctxjm-footer a {
  color: #fff;
  text-decoration: none;
}
.ctxjm-footer a:hover {
  color: #fff;
  opacity: 0.9;
  text-decoration: underline;
}
.ctxjm-footer__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 28px 40px;
  padding-bottom: 36px;
}
.ctxjm-footer__brand {
  flex: 1 1 280px;
  max-width: 420px;
}
.ctxjm-footer__brand-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
}
.ctxjm-footer__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
}
.ctxjm-footer__logo img {
  max-width: 86%;
  max-height: 86%;
  object-fit: contain;
}
.ctxjm-footer__brand-name {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
}
.ctxjm-footer__slogan {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 1.7;
  color: #fff;
  opacity: 0.95;
}
.ctxjm-footer__about {
  flex: 1 1 220px;
  max-width: 360px;
  font-size: 14px;
  line-height: 1.9;
}
.ctxjm-footer__about p {
  margin: 0;
}
.ctxjm-footer__title {
  margin: 0 0 8px;
  font-size: 18px;
  font-weight: 700;
}
.ctxjm-footer__title a {
  text-decoration: none;
}
.ctxjm-footer__news {
  margin-top: 25px !important;
  font-weight: 400;
}
.ctxjm-footer__qr {
  flex: 0 0 auto;
}
.ctxjm-footer__qr-box {
  width: 132px;
  height: 132px;
  background: #fff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #333;
  font-size: 14px;
}
.ctxjm-footer__qr-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.ctxjm-footer__copy {
  border-top: 1px solid rgba(255,255,255,0.22);
  padding: 12px 0;
  font-size: 12px;
  text-align: center;
  color: rgba(255,255,255,0.85);
}
.ctxjm-footer__copy a {
  color: rgba(255,255,255,0.85);
}

/* 移动端页脚：品牌全宽；联系与二维码并排，吃满宽度 */
@media (max-width: 767.98px) {
  .ctxjm-footer {
    padding-top: 28px;
  }
  .ctxjm-footer .container {
    max-width: 100%;
    padding-left: 20px;
    padding-right: 20px;
  }
  .ctxjm-footer__row {
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "brand brand"
      "about qr";
    column-gap: 16px;
    row-gap: 20px;
    align-items: start;
    justify-content: stretch;
    padding-bottom: 28px;
  }
  .ctxjm-footer__brand {
    grid-area: brand;
    flex: none;
    max-width: none;
    width: 100%;
  }
  .ctxjm-footer__about {
    grid-area: about;
    flex: none;
    max-width: none;
    width: auto;
    min-width: 0;
  }
  .ctxjm-footer__qr {
    grid-area: qr;
    flex: none;
    width: auto;
    justify-self: end;
  }
  .ctxjm-footer__brand-name {
    font-size: 16px;
  }
  .ctxjm-footer__slogan,
  .ctxjm-footer__about {
    font-size: 14px;
  }
  .ctxjm-footer__title {
    font-size: 17px;
  }
  .ctxjm-footer__qr-box {
    width: 112px;
    height: 112px;
  }
  .ctxjm-footer__copy {
    padding: 12px 16px;
    line-height: 1.6;
    word-break: break-word;
  }
}
