/* Reusable editorial layout, 2026-10-22. */

body.huatuo-editorial .article-merged-hero {
  position: relative;
  display: flex;
  min-height: 380px;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 62%, rgba(66, 170, 111, .16), transparent 29%),
    linear-gradient(rgba(5, 17, 13, .78), rgba(7, 24, 17, .88)),
    repeating-linear-gradient(112deg, #26312c 0 9px, #101713 9px 17px, #303b35 17px 20px);
  color: #fff;
}
body.huatuo-editorial .article-merged-hero__mesh {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
body.huatuo-editorial .article-merged-hero__mesh::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -96px;
  width: 470px;
  height: 300px;
  opacity: .18;
  transform: rotate(-9deg);
  background: repeating-linear-gradient(90deg, transparent 0 20px, #67ca91 20px 22px);
}
body.huatuo-editorial .article-merged-hero__content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 380px;
  flex-direction: column;
  align-items: center;
  padding: 132px 30px 42px;
  text-align: center;
}
body.huatuo-editorial .article-merged-hero__breadcrumbs {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  margin: 0 0 24px;
  font: 700 15px/1.4 Roboto, Arial, sans-serif;
}
body.huatuo-editorial .article-merged-hero__breadcrumbs a:first-child {
  color: #fff;
}
body.huatuo-editorial .article-merged-hero__breadcrumbs a:last-child {
  color: #58c486;
}
body.huatuo-editorial .article-merged-hero__breadcrumbs a:hover {
  color: #78d9a0;
}
body.huatuo-editorial .article-merged-hero h1 {
  max-width: 1050px;
  margin: 0;
  color: #fff;
  font: 700 46px/1.16 Roboto-Bold, Roboto, Arial, sans-serif;
  letter-spacing: -.02em;
}
body.huatuo-editorial .article-merged-hero p {
  max-width: 940px;
  margin: 24px 0 0;
  color: #e0e9e4;
  font-size: 21px;
  line-height: 1.55;
}
@media (max-width: 1000px) {
  body.huatuo-editorial .article-merged-hero,
  body.huatuo-editorial .article-merged-hero__content {
    min-height: 350px;
  }
  body.huatuo-editorial .article-merged-hero__content {
    padding: 108px 24px 38px;
  }
  body.huatuo-editorial .article-merged-hero h1 {
    font-size: 38px;
  }
  body.huatuo-editorial .article-merged-hero p {
    font-size: 19px;
  }
}
@media (max-width: 750px) {
  body.huatuo-editorial .article-merged-hero,
  body.huatuo-editorial .article-merged-hero__content {
    min-height: 330px;
  }
  body.huatuo-editorial .article-merged-hero__content {
    padding: 92px 20px 34px;
  }
  body.huatuo-editorial .article-merged-hero__breadcrumbs {
    margin-bottom: 18px;
    font-size: 14px;
  }
  body.huatuo-editorial .article-merged-hero h1 {
    font-size: 31px;
    line-height: 1.18;
  }
  body.huatuo-editorial .article-merged-hero p {
    margin-top: 18px;
    font-size: 17px;
    line-height: 1.55;
  }
  body.huatuo-editorial .article-merged-hero__mesh::after {
    opacity: .10;
  }
}
/* BEGIN 2026-10-20 post 2321 homepage-sized article images */
body.huatuo-editorial .article-content--homepage-linked > .article-editorial-media {
  width: 100%;
  max-width: 604px;
  aspect-ratio: 604 / 330;
  margin: 42px auto;
  overflow: hidden;
}
body.huatuo-editorial .article-content--homepage-linked > .article-editorial-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* END 2026-10-20 post 2321 homepage-sized article images */

/* BEGIN 2026-10-20 post 2321 numbered FAQ */
body.huatuo-editorial .article-faq {
  counter-reset: article-faq;
  margin: 0;
  padding: 0;
}
body.huatuo-editorial .article-faq__item {
  counter-increment: article-faq;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
body.huatuo-editorial .article-faq__item + .article-faq__item {
  margin-top: 30px;
}
body.huatuo-editorial .article-faq__item::before {
  content: "Q" counter(article-faq);
  padding-top: 1px;
  color: var(--green);
  font: 700 18px/1.4 Roboto-Bold, Roboto, Arial, sans-serif;
}
body.huatuo-editorial .article-faq__body h3 {
  margin: 0 0 12px;
  color: #303633;
  font: 700 21px/1.4 Roboto-Bold, Roboto, Arial, sans-serif;
}
body.huatuo-editorial .article-faq__body p {
  max-width: none;
  margin: 0;
  color: #515552;
  font-size: 17px;
  line-height: 1.82;
}
@media (max-width: 750px) {
  body.huatuo-editorial .article-faq__item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
  }
  body.huatuo-editorial .article-faq__item + .article-faq__item {
    margin-top: 25px;
  }
  body.huatuo-editorial .article-faq__item::before {
    font-size: 16px;
  }
  body.huatuo-editorial .article-faq__body h3 {
    margin-bottom: 9px;
    font-size: 18px;
  }
  body.huatuo-editorial .article-faq__body p {
    font-size: 16px;
    line-height: 1.74;
  }
}
/* END 2026-10-20 post 2321 numbered FAQ */


/* Shared article presentation. Original text, image proportions and table cells stay intact. */
body.huatuo-editorial .article-content {
  color: #444;
  font-size: 17px;
  line-height: 1.82;
  text-align: start;
}
body.huatuo-editorial .article-content > * {
  min-width: 0;
}
body.huatuo-editorial .article-content h2 {
  margin-block: 40px 18px;
  color: #202522;
  font: 700 28px/1.32 Roboto-Bold, Roboto, Arial, sans-serif;
}
body.huatuo-editorial .article-content h3 {
  margin-block: 28px 12px;
  color: #303633;
  font: 700 21px/1.4 Roboto-Bold, Roboto, Arial, sans-serif;
}
body.huatuo-editorial .article-content p {
  margin-block: 1em;
}
body.huatuo-editorial .article-content > figure:not(.wp-block-table):not(:has(table)),
body.huatuo-editorial .article-content > p:has(> img) {
  width: 100%;
  max-width: 100%;
  margin: 30px 0;
  padding: 0;
}
body.huatuo-editorial .article-content img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-inline: auto;
}
body.huatuo-editorial .article-content figcaption {
  margin-block-start: 10px;
  color: #65736b;
  font-size: 14px;
  line-height: 1.6;
  text-align: center;
}
body.huatuo-editorial .article-content .table-scroll,
body.huatuo-editorial .article-content figure.wp-block-table {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 26px 0;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  -webkit-overflow-scrolling: touch;
}
body.huatuo-editorial .article-content figure.wp-block-table .table-scroll {
  margin: 0;
}
body.huatuo-editorial .article-content .table-scroll:focus-visible {
  outline: 2px solid var(--green);
  outline-offset: 3px;
}
body.huatuo-editorial .article-content table {
  width: 100%;
  border-collapse: collapse;
  text-align: start;
  font-size: 16px;
  line-height: 1.65;
}
body.huatuo-editorial .article-content th,
body.huatuo-editorial .article-content td {
  min-width: 150px;
  padding: 12px 16px;
  border: 1px solid #c8cace;
  vertical-align: top;
  overflow-wrap: anywhere;
}
body.huatuo-editorial .article-content th {
  background: #eef4f0;
  color: #202522;
  font-weight: 700;
}
body.huatuo-editorial .article-content td p,
body.huatuo-editorial .article-content th p {
  margin-block: 0;
}
body.huatuo-editorial .article-content .schema-faq {
  counter-reset: editorial-schema-faq;
}
body.huatuo-editorial .article-content .schema-faq-section {
  position: relative;
  counter-increment: editorial-schema-faq;
  padding-inline-start: 40px;
  margin-block: 0 30px;
}
body.huatuo-editorial .article-content .schema-faq-section::before {
  content: "Q" counter(editorial-schema-faq);
  position: absolute;
  inset-inline-start: 0;
  color: var(--green);
  font-weight: 700;
}
body.huatuo-editorial .article-content .schema-faq-question {
  display: block;
  margin: 0 0 12px;
  color: #303633;
  font-size: 21px;
  line-height: 1.4;
}
@media (max-width: 750px) {
  body.huatuo-editorial .article-content {
    font-size: 16px;
    line-height: 1.74;
  }
  body.huatuo-editorial .article-content h2 {
    margin-block: 32px 16px;
    font-size: 23px;
  }
  body.huatuo-editorial .article-content h3 {
    font-size: 18px;
  }
  body.huatuo-editorial .article-content > figure:not(.wp-block-table):not(:has(table)),
  body.huatuo-editorial .article-content > p:has(> img) {
    margin-block: 24px;
  }
  body.huatuo-editorial .article-content table {
    font-size: 15px;
  }
  body.huatuo-editorial .article-content th,
  body.huatuo-editorial .article-content td {
    min-width: 165px;
    padding: 10px 12px;
  }
}


body.huatuo-editorial .article-faq {
  counter-reset: article-faq;
  margin: 0;
  padding: 0;
}
body.huatuo-editorial .article-faq__item {
  counter-increment: article-faq;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
}
body.huatuo-editorial .article-faq__item + .article-faq__item {
  margin-top: 30px;
}
body.huatuo-editorial .article-faq__item::before {
  content: "Q" counter(article-faq);
  padding-top: 1px;
  color: var(--green);
  font: 700 18px/1.4 Roboto-Bold, Roboto, Arial, sans-serif;
}
body.huatuo-editorial .article-faq__body h3 {
  margin: 0 0 12px;
  color: #303633;
  font: 700 21px/1.4 Roboto-Bold, Roboto, Arial, sans-serif;
}
body.huatuo-editorial .article-faq__body p {
  max-width: none;
  margin: 0;
  color: #515552;
  font-size: 17px;
  line-height: 1.82;
}
@media (max-width: 750px) {
  body.huatuo-editorial .article-faq__item {
    grid-template-columns: 28px minmax(0, 1fr);
    gap: 8px;
  }
  body.huatuo-editorial .article-faq__item + .article-faq__item {
    margin-top: 25px;
  }
  body.huatuo-editorial .article-faq__item::before {
    font-size: 16px;
  }
  body.huatuo-editorial .article-faq__body h3 {
    margin-bottom: 9px;
    font-size: 18px;
  }
  body.huatuo-editorial .article-faq__body p {
    font-size: 16px;
    line-height: 1.74;
  }
}
