/* Preview-only additions. Shell styles stay in app.css. */

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

.main-content {
  flex: 1;
}

.head-hotline {
  position: absolute;
  right: 48px;
  top: 28px;
  z-index: 31;
  color: #fff;
  font-family: "PingFang SC", Helvetica, Tahoma, "Microsoft YaHei", Arial;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-decoration: none;
  white-space: nowrap;
}

.head-hotline:hover {
  color: #fff;
}

.footer-qrs {
  display: flex;
  gap: 16px;
}

.footer-qrs .wechat-qrcode img {
  width: 130px;
  height: 130px;
}

.footer-top .fo-tweet a.foot-hotline {
  color: #d5d5d5;
  margin: 0;
  font-size: inherit;
  font-weight: inherit;
}

.footer-top .fo-tweet a.foot-hotline:hover {
  color: #fff;
}

@media (max-width: 991px) {
  .footer-qrs {
    flex-wrap: wrap;
    margin-top: 24px;
  }
}

.services-filter {
  line-height: 1.5;
  text-align: center;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  row-gap: 8px;
  white-space: normal;
}

.services-filter span img {
  width: 16px;
  height: 16px;
  margin-right: 6px;
  vertical-align: middle;
}

.column-board {
  padding: 8px 8px 20px;
}

.column-panel {
  display: none;
}

.column-panel.is-active {
  display: block;
}

.column-heading {
  margin: 8px 0 4px;
  font-size: 22px;
  text-align: left;
}

.card-title h2,
.article-item h3 {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0;
  text-align: left;
}

.card-title h2 {
  margin: 0;
  font-size: 26px;
}

.faq-item h3 a,
.head-title a {
  color: inherit;
  text-decoration: none;
}

.faq-item h3 a:hover {
  color: #d81e06;
}

.column-board .row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.column-board .row > .column-side {
  float: none;
  display: flex;
  flex-direction: column;
}

.column-board .row > .column-side.is-hidden {
  display: none;
}

.column-board .row > .column-side.is-full {
  border-left: none;
}

.column-board .row > .column-side > .card-title {
  flex: none;
}

@media (min-width: 768px) {
  .column-board .row:not(:has(.is-hidden)):not(:has(.is-full))::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    background: #98a2b3;
    transform: translateX(-0.5px);
    pointer-events: none;
  }

  .column-board .row {
    position: relative;
  }

  .column-board .row > .column-side.is-full {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
  }

  .column-board .row > .column-side:not(.is-full) .article-item {
    flex: 1 1 0;
    align-items: center;
  }
}

.column-img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto 12px;
}

.column-img.is-icon {
  width: 72px;
  height: 72px;
  object-fit: contain;
}

.column-empty {
  text-align: center;
  color: #98a2b3;
  padding: 28px 12px;
}

.column-board.is-faq .faq-list,
.column-panel.is-faq .faq-list {
  width: min(760px, 100%);
  margin: 8px auto 12px;
  text-align: left;
}

.faq-item {
  padding: 18px 8px 6px;
  border-bottom: 1px solid #f0f0f0;
}

.faq-item h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.5;
  font-weight: 700;
  color: #222;
  text-align: left;
}

.faq-num {
  display: inline-block;
  min-width: 22px;
  height: 22px;
  margin-right: 8px;
  padding: 0 6px;
  border-radius: 11px;
  background: #d81e06;
  color: #fff;
  font-size: 13px;
  line-height: 22px;
  text-align: center;
  vertical-align: 1px;
}

.article-item .faq-answer {
  padding: 0;
  color: #616161;
  line-height: 26px;
  text-align: left;
}

.article-item .faq-answer p,
.article-item .faq-answer li {
  margin: 0 0 8px;
  text-align: left;
}

.faq-answer p,
.faq-answer li {
  margin: 0 0 10px;
  text-align: left;
}

.faq-answer img {
  display: inline-block;
  max-width: 100%;
  height: auto;
}

.column-side.is-paged > .article-item.is-page-off {
  display: none;
}

.column-pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px;
  flex: none;
  margin-top: auto;
  padding: 16px 8px 4px;
}

.column-pager .page-btn {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;
  border: 1px solid #d0d5dd;
  border-radius: 4px;
  background: #fff;
  color: #162532;
  font-size: 14px;
  line-height: 30px;
  cursor: pointer;
}

.column-pager .page-btn.is-active {
  background: #d81e06;
  border-color: #d81e06;
  color: #fff;
}

a.article-item,
article.article-item {
  display: flex;
  gap: 14px;
  width: 100%;
  margin: 0;
  padding: 14px 8px;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  background: transparent;
  color: inherit;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

a.article-item:hover h3,
article.article-item h3 a:hover {
  color: #d81e06;
}

.article-item h3 a {
  color: inherit;
  text-decoration: none;
}

.article-cover {
  width: 80px;
  height: 80px;
  object-fit: contain;
  object-position: center;
  flex: none;
  border-radius: 4px;
  background: #f7f8fa;
}

.article-item > span {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.article-item h3,
.article-item h5 {
  margin: 0 0 6px;
}

.article-item .post-excerpt {
  margin: 0;
  padding: 0;
  text-align: left;
}

.page-detail {
  background: #f6f7f9;
  padding: 8px 0 28px;
}

.detail-article {
  width: min(760px, calc(100% - 40px));
  margin: 28px auto 40px;
  padding: 32px 36px 40px;
  background: #fff;
  border-radius: 8px;
  color: #222;
  text-align: left;
}

.detail-article .crumb {
  margin: 0 0 14px;
  color: #888;
  font-size: 14px;
  text-align: left;
}

.detail-article .crumb a {
  color: #2f95e8;
}

.detail-article h1 {
  margin: 0 0 12px;
  font-size: 28px;
  line-height: 1.4;
  color: #222;
  text-align: left;
}

.detail-article .summary {
  margin: 0 0 18px;
  color: #555;
  text-align: left;
  line-height: 1.7;
}

.detail-article .detail-body {
  height: auto;
  text-align: left;
  line-height: 1.8;
}

.detail-article .detail-body p {
  margin: 0 0 14px;
  text-align: left;
}

.detail-article .detail-body h2,
.detail-article .detail-body h3 {
  margin: 18px 0 8px;
  font-size: 20px;
  text-align: left;
}

.detail-article .detail-body img {
  display: inline-block;
  max-width: 100%;
  height: auto;
  vertical-align: middle;
}

.detail-article .detail-body ul,
.detail-article .detail-body ol {
  margin: 0 0 14px;
  padding-left: 1.4em;
  text-align: left;
}

@media (max-width: 767px) {
  .column-side + .column-side {
    border-left: none;
    border-top: 1px solid #98a2b3;
    margin-top: 8px;
  }

  .column-side.is-hidden + .column-side,
  .column-side.is-full {
    border-top: none;
    margin-top: 0;
  }
}

.blog-post .post-excerpt,
.blog-post h5 {
  text-align: center;
}

.blog-post .article-item h3,
.blog-post .article-item .post-excerpt {
  text-align: left;
}

.card-title h1 {
  margin: 0;
}

.product-ico {
  width: 72px;
  height: 72px;
  object-fit: contain;
  display: block;
  margin: 0 auto 8px;
}

.action-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 8px 0 28px;
}

.action-row .btn {
  margin: 0;
  width: auto;
  min-width: 148px;
  padding: 10px 18px;
  cursor: pointer;
}

.article-link {
  color: #162532;
  text-decoration: none;
}

.article-link:hover {
  color: #d81e06;
}

.qr-dialog,
.agent-dialog {
  border: none;
  border-radius: 8px;
  padding: 28px 24px 20px;
  max-width: 420px;
  width: calc(100% - 32px);
  color: #162532;
  font-family: "PingFang SC", Helvetica, Tahoma, "Microsoft YaHei", Arial;
}

.agent-dialog {
  max-width: 640px;
}

.qr-dialog::backdrop,
.agent-dialog::backdrop {
  background: rgba(22, 37, 50, 0.55);
}

.qr-dialog strong,
.agent-dialog strong {
  display: block;
  text-align: center;
  font-size: 18px;
  margin-bottom: 12px;
}

.qr-dialog img {
  display: block;
  width: 220px;
  height: 220px;
  object-fit: contain;
  margin: 0 auto 8px;
}

.qr-dialog p,
.agent-dialog p {
  text-align: center;
  line-height: 1.7;
  margin: 0 0 12px;
}

.agent-dialog .agent-body {
  max-height: 60vh;
  overflow: auto;
  text-align: left;
}

.agent-dialog .agent-body p {
  text-align: left;
}

.agent-dialog .agent-body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 8px auto;
}

.qr-dialog button,
.agent-dialog button {
  display: block;
  margin: 8px auto 0;
  min-width: 120px;
  padding: 8px 16px;
  border: 1px solid #d81e06;
  border-radius: 16px;
  background: #fff;
  color: #d81e06;
  cursor: pointer;
}

@media (max-width: 767px) {
  .site-logo img {
    width: 210px;
  }

  .head-hotline {
    top: 116px;
    right: 0;
    left: 0;
    text-align: center;
    font-size: 16px;
  }

  .head-title {
    font-size: 24px;
  }
}
