/* Company news and FAQ detail pages. */
.zhongjia-native.zhongjia-editorial-detail {
  --zj-reading-width: 51rem;
  --zj-reading-gutter: clamp(1rem, 4vw, 1.5rem);
  --zj-reading-gap: clamp(1rem, 2.8vw, 1.5rem);
}

.zhongjia-editorial-detail .zhongjia-avada-banner {
  height: clamp(8rem, 12vw, 12rem);
  aspect-ratio: auto;
}

.zhongjia-native.zhongjia-editorial-detail .zhongjia-avada-crumb > .site-shell {
  min-height: 3rem;
  padding-block: .5rem;
}

.zhongjia-native.zhongjia-editorial-detail .zhongjia-native-news-heading,
.zhongjia-editorial-detail .zhongjia-article-body,
.zhongjia-native.single-post.zhongjia-editorial-detail .zhongjia-content > nav.zj-avada-article-navigation {
  box-sizing: border-box;
  width: min(var(--zj-reading-width), calc(100% - 2 * var(--zj-reading-gutter)));
  margin-inline: auto;
}

.zhongjia-native.zhongjia-editorial-detail .zhongjia-native-news-heading {
  padding-block: clamp(1.25rem, 3vw, 2rem) 1rem;
  margin-block: 0 var(--zj-reading-gap);
  border-block-end: 1px solid var(--zhongjia-line);
  text-align: start;
}

.zhongjia-native.zhongjia-editorial-detail .zhongjia-native-news-heading h1 {
  width: auto;
  margin: 0;
  color: var(--site-accent-deep);
  font-weight: 700;
  font-size: clamp(1.375rem, 2.5vw, 2rem);
  line-height: 1.4;
  letter-spacing: normal;
  overflow-wrap: anywhere;
  text-wrap: pretty;
}

.zhongjia-native.single-post.zhongjia-editorial-detail .zhongjia-news-date {
  margin: .625rem 0 0;
  padding: 0;
  background: transparent;
  color: #526272;
  text-align: start;
}

.zhongjia-editorial-detail .zhongjia-article-body {
  color: #263646;
  font-size: clamp(.9375rem, 1.3vw, 1rem);
  line-height: 1.85;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}

.zhongjia-native.zhongjia-editorial-detail .zhongjia-article-body > .zj-avada-article-body {
  padding: 0;
  margin: 0;
  border: 0;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.zhongjia-native.zhongjia-editorial-detail .zhongjia-article-body .zj-avada-article-body
  :where(.wp-block-group, .wp-block-columns, .wp-block-column) {
  min-width: 0;
  margin-block: 0;
}

.zhongjia-native.zhongjia-editorial-detail .zhongjia-article-body :is(p, .fusion-text p, ul, ol) {
  margin-block: 0 .875em;
  color: inherit;
  font-size: inherit;
  line-height: inherit;
}

.zhongjia-native.zhongjia-editorial-detail .zhongjia-article-body
  p:not(.has-text-align-center, .has-text-align-right) {
  text-align: start;
}

.zhongjia-native.zhongjia-editorial-detail .zhongjia-article-body :where(h2, h3, h4) {
  margin: 1.5em 0 .5em;
  color: var(--site-accent-deep);
  line-height: 1.5;
}

.zhongjia-native.zhongjia-editorial-detail .zhongjia-article-body .zhongjia-article-label {
  font-size: 1.125rem;
}

.zhongjia-native.zhongjia-editorial-detail .zhongjia-article-body :where(figure.wp-block-image, figure.fusion-imageframe):not(.wp-block-gallery *) {
  width: fit-content;
  max-width: 100%;
  margin: var(--zj-reading-gap) auto;
}

.zhongjia-native.zhongjia-editorial-detail .zhongjia-article-body
  :where(img:not(.emoji, .wp-smiley), video):not(.wp-block-gallery *) {
  display: block;
  max-width: min(100%, 46rem);
  height: auto;
  margin-inline: auto;
}

.zhongjia-native.zhongjia-editorial-detail .zhongjia-article-body p >
  :where(img:not(.emoji, .wp-smiley), a:has(> img:not(.emoji, .wp-smiley))) {
  display: block;
  margin-block: var(--zj-reading-gap);
}

.zhongjia-native.zhongjia-editorial-detail .zhongjia-article-body :where(figcaption) {
  margin-block-start: .5rem;
  color: #526272;
  font-size: .875rem;
  text-align: center;
}

.zhongjia-native.single-post.zhongjia-editorial-detail .zhongjia-content > nav.zj-avada-article-navigation {
  margin-block: var(--zj-reading-gap) 0;
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--zhongjia-line);
}

.zhongjia-native.zhongjia-editorial-detail nav.zj-avada-article-navigation .fusion-text p {
  font-size: .9375rem;
  line-height: 1.65;
}

.zhongjia-native.zhongjia-editorial-detail nav.zj-avada-article-navigation a {
  color: var(--site-accent-deep);
}

@media (max-width: 800px) {
  .zhongjia-editorial-detail .zhongjia-avada-banner {
    box-sizing: border-box;
    height: 10rem;
    padding-block-start: 3rem;
  }

  .zhongjia-native.zhongjia-editorial-detail nav.zj-avada-article-navigation .fusion-text {
    grid-template-columns: minmax(0, 1fr);
    gap: .5rem;
  }

  .zhongjia-native.zhongjia-editorial-detail nav.zj-avada-article-navigation .fusion-text p:last-child {
    text-align: start;
  }
}
