.halo-article {
  font-size: 15px;
  line-height: 1.9;
  color: #444;
}
.halo-article img {
  max-width: 100%;
  height: auto;
}
.halo-article table {
  width: 100%;
  border-collapse: collapse;
}
.halo-article th,
.halo-article td {
  border: 1px solid #ddd;
  padding: 8px;
}
.halo-article pre {
  background: #f6f6f6;
  border: 1px solid #ddd;
  padding: 12px;
  overflow: auto;
}
.halo-article blockquote {
  border-left: 4px solid #8c0000;
  padding-left: 12px;
  color: #666;
  background: #fafafa;
}
main {
  display: block;
}

/* 页脚贴底 */
html,
body {
  min-height: 100%;
}

body {
  display: flex !important;
  flex-direction: column !important;
  min-height: 100vh !important;
}

main#main {
  flex: 1 0 auto !important;
}

.copyright {
  margin-top: auto;
}

/* 首页简介 */
.purchase .purchase-title {
  display: block;
  color: #666;
  font-size: 32px;
  line-height: 1.25;
  margin-bottom: 12px;
}

.purchase .purchase-title > span {
  display: inline;
  font-size: 32px;
  line-height: 1.25;
}

.purchase .purchase-desc {
  font-size: 13px !important;
  line-height: 1.8;
  color: #666;
}

/* 服务区块：固定两列，避免 Bootstrap 浮动和 clearfix 伪元素造成首格偏移 */
.service-alternative {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-left: 0;
}

.service-alternative::before,
.service-alternative::after {
  display: none !important;
  content: none !important;
}

.service-alternative > .span6 {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
}

@media (max-width: 767px) {
  .purchase .purchase-title,
  .purchase .purchase-title > span {
    font-size: 22px;
  }

  .service-alternative {
    grid-template-columns: 1fr;
  }

  .service-alternative > .span6 {
    width: 100% !important;
  }
}
