/* source: assets/css/home/typography.css */
/* Home typography aligned with the existing Hanhai studio module. */
#boban-home-concept {
  --home-heading-font: Arial, "Microsoft YaHei", sans-serif;
  --home-copy-font: "Microsoft YaHei", "PingFang SC", sans-serif;
  --home-section-title-size: 56px;
  --home-section-subtitle-size: 24px;
}

/* Keep the navigation and the card/body type scale independent. */
#boban-home-concept :is(#boban-hardware, #boban-platform, #boban-news) {
  font-family: var(--home-copy-font);
}

#boban-home-concept .boban-mm-section-title {
  font-family: var(--home-heading-font);
  font-size: var(--home-section-title-size);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -.055em;
  color: #111;
}

#boban-home-concept .boban-mm-section-copy {
  font-family: var(--home-copy-font);
  font-size: var(--home-section-subtitle-size);
  font-weight: 400;
  line-height: 1.45;
  letter-spacing: 0;
  color: #757b82;
}

#boban-home-concept :is(.boban-mm-hero-media-title, .boban-mm-product-title,
  .boban-mm-news-featured-title, .boban-mm-news-timeline-item h3) {
  font-family: var(--home-heading-font);
}

#boban-home-concept .boban-mm-hero-media-subtitle {
  font-family: var(--home-copy-font);
  font-weight: 400;
}

#boban-home-concept main a.boban-mm-button,
#boban-home-concept .boban-mm-hero-media-actions a.boban-mm-button {
  font-family: var(--home-copy-font);
  font-size: 14px;
  font-weight: 400;
  line-height: 1.4;
  letter-spacing: 0;
}

@media (min-width: 701px) and (max-width: 1000px) {
  #boban-home-concept {
    --home-section-title-size: 46px;
    --home-section-subtitle-size: 22px;
  }
}

@media (max-width: 700px) {
  #boban-home-concept {
    --home-section-title-size: 42px;
    --home-section-subtitle-size: 21px;
  }
}


/* source: assets/css/home/news.css */
/* Keep the timeline still while its preview changes. */
#boban-home-concept .boban-mm-news-featured-media { position: relative; }
#boban-home-concept .boban-mm-news-featured-media img {
  position: absolute;
  inset: 0;
}
#boban-home-concept .boban-mm-news-featured-media img[hidden] { display: none; }
#boban-home-concept .boban-mm-news-featured-title { min-height: 3.96em; }
#boban-home-concept .boban-mm-news-featured-excerpt { min-height: 7.2em; }
@media (max-width: 520px) {
  #boban-home-concept .boban-mm-news-featured-excerpt { min-height: 6.8em; }
}

