/* Page styles migrated from demo-tempalte/article.html. */

.article-page {
  background: #fff;
}

.article-header {
  padding: 48px 0 0;
  background: #fff;
}

.article-header__container,
.article-content__container {
  width: min(100%, 1080px);
  margin: 0 auto;
}

.article-header__container {
  display: flex;
  flex-direction: column;
}

.article-breadcrumb {
  order: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  color: #8a8a8a;
  font-size: 14px;
  line-height: 1.7;
}

.article-breadcrumb a {
  color: #fc1010;
  transition: opacity 0.2s ease;
}

.article-breadcrumb a:hover {
  opacity: 0.72;
}

.article-breadcrumb__separator {
  color: #c7c7c7;
}

.article-meta {
  order: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 16px;
  color: #8c8c8c;
  font-size: 14px;
  line-height: 1.7;
}

.article-meta__tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 26px;
  padding: 0 12px;
  border-radius: 999px;
  background: #fff1f1;
  color: #fc1010;
  font-size: 12px;
  line-height: 1;
}

.article-title {
  order: 2;
  color: #333;
  font-family: var(--font-sans);
  font-size: 36px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: center;
}

.article-header__divider {
  order: 4;
  width: 100%;
  height: 1px;
  margin-top: 34px;
  background: #d6d6d6;
}

.article-content {
  padding: 42px 0 96px;
  background: #fff;
}

.article-body {
  min-width: 0;
  color: #444;
}

.article-body h2 {
  font-size: 32px;
  margin: 40px 0 20px;
}

.article-body h3 {
  font-size: 24px;
  margin: 30px 0 15px;
}

.article-body p {
  margin-bottom: 20px;
  color: #444;
}

.entry-content {
  color: #444;
  max-width: 100%;
  min-width: 0;
  overflow-wrap: anywhere;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content p,
.entry-content ul,
.entry-content ol,
.entry-content blockquote,
.entry-content pre,
.entry-content .wp-block-table,
.entry-content figure,
.entry-content .wp-block-image,
.entry-content .wp-block-embed,
.entry-content .wp-block-gallery {
  margin-bottom: 24px;
}

.entry-content ul,
.entry-content ol {
  padding-left: 24px;
}

.entry-content li + li {
  margin-top: 8px;
}

.entry-content a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.entry-content strong {
  color: #222;
  font-weight: 600;
}

.entry-content blockquote {
  margin-left: 0;
  padding: 20px 24px;
  border-left: 4px solid var(--red);
  background: #fdf6f5;
  color: #555;
}

.entry-content figure {
  margin-left: 0;
  margin-right: 0;
}

.entry-content img {
  max-width: 100%;
  height: auto;
}

.entry-content figcaption {
  margin-top: 12px;
  color: #777;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

.entry-content .wp-block-table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.entry-content table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 16px;
  line-height: 1.7;
  background: #fff;
}

.entry-content th,
.entry-content td {
  padding: 14px 16px;
  border: 1px solid #e5e5e5;
  text-align: left;
  vertical-align: top;
}

.entry-content th {
  color: #222;
  font-weight: 600;
  background: #fafafa;
}

.entry-content tbody tr:nth-child(even) {
  background: #fcfcfc;
}

.entry-content hr {
  margin: 32px 0;
  border: 0;
  border-top: 1px solid #ececec;
}

.entry-content .aligncenter {
  margin-left: auto;
  margin-right: auto;
}

.entry-content .alignleft {
  margin-right: auto;
}

.entry-content .alignright {
  margin-left: auto;
}

.article-featured-image {
  margin: 0 0 40px;
}

.article-featured-image img {
  display: block;
  width: 100%;
  height: auto;
}

.quote {
  margin: 30px 0;
  padding: 25px;
  border-left: 5px solid var(--red);
  background: #fdf0ee;
  font-size: 18px;
}

.info-box {
  margin: 30px 0;
  padding: 25px;
  border-radius: 15px;
  background: #fafafa;
}

.info-box h3 {
  margin-bottom: 15px;
}

.info-box ul {
  padding-left: 20px;
}

.info-box li {
  margin-bottom: 8px;
}

.sidebar-box {
  margin-bottom: 25px;
  padding: 30px;
  border-radius: 20px;
  background: #fff;
}

.sidebar-box h3 {
  margin-bottom: 15px;
}

.sidebar-box p {
  margin-bottom: 10px;
  color: #666;
}

.jiumao-article-inline-11 {
  padding-top: 0;
  background: #fff;
}

.jiumao-article-inline-12 {
  background: #fafafa;
}

.jiumao-article-inline-13 {
  margin: 15px 0;
}

@media (max-width: 900px) {
  .article-header {
    padding-top: 36px;
  }

  .article-header__container,
  .article-content__container {
    width: min(100%, 100%);
  }

  .article-title {
    font-size: 40px;
  }

  .article-header__divider {
    margin-top: 32px;
  }

  .article-content {
    padding: 32px 0 72px;
  }

  .article-body h2 {
    font-size: 28px;
    overflow-wrap: anywhere;
  }

  .entry-content {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .entry-content pre {
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .entry-content table {
    min-width: auto;
    width: auto;
  }
}

@media (max-width: 480px) {
  .article-header {
    padding-top: 24px;
  }

  .article-breadcrumb {
    gap: 4px;
    font-size: 12px;
  }

  .article-meta {
    gap: 10px;
    margin-top: 10px;
    font-size: 12px;
  }

  .article-meta__tag {
    min-height: 24px;
    padding: 0 10px;
    font-size: 11px;
  }

  .article-title {
    font-size: 24px;
    line-height: 1.45;
  }

  .article-header__divider {
    margin-top: 24px;
  }

  .article-content {
    padding: 24px 0 56px;
  }

  .article-body h2 {
    margin: 32px 0 16px;
    font-size: 24px;
    line-height: 1.45;
  }

  .article-body h3 {
    font-size: 20px;
    line-height: 1.5;
  }

  .entry-content p,
  .entry-content ul,
  .entry-content ol,
  .entry-content blockquote,
  .entry-content pre,
  .entry-content .wp-block-table,
  .entry-content figure,
  .entry-content .wp-block-image,
  .entry-content .wp-block-embed,
  .entry-content .wp-block-gallery {
    margin-bottom: 20px;
  }

  .entry-content table {
    min-width: auto;
    font-size: 14px;
    line-height: 1.65;
  }

  .entry-content th,
  .entry-content td {
    padding: 10px 12px;
  }

  .article-featured-image {
    margin-bottom: 24px;
  }
}
