/* Shared type scale for catalog and general pages. Product details use their own style. */
body {
  --site-type-title: 2.5rem;
  --site-type-section: 1.5rem;
  --site-type-body: 1rem;
  --site-type-font: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", system-ui, sans-serif;
  font-family: var(--site-type-font);
  font-size: var(--site-type-body);
}

body :is(h1, h2, h3, h4, h5, h6) {
  font-family: var(--site-type-font);
  letter-spacing: normal;
}

body :is(h1, .entry-title, .hero h1, .simple-hero h1, .page-hero h1,
  .application-intro h1, .hv-hero h1, .hv-page-heading h1) {
  font-size: var(--site-type-title);
  line-height: 1.25;
}

body :is(h2, h3, h4, h5, h6, .finder-heading h2, .section-heading h2,
  .resource-inner h2, .quote-inner h2, .application-card h3, .catalog-card h3,
  .product-card h2, .product-card h3, .article-body h2, .home-section-heading h2,
  .home-applications .home-section-heading h2, .home-app-copy h3, .catalog-directory h2,
  .manual-product-card h3, .home-finder-results h2, .finder-results-header h3,
  .finder-product h3, .application-finder .finder-product h3, .footer-grid h3,
  .hv-card h3, .hv-product-card h2, .hv-product-card h3, .hv-product-directory h2) {
  font-size: var(--site-type-section);
  line-height: 1.35;
}

body :is(.demo-banner, .nav, .main-nav a, .eyebrow, .breadcrumbs, .button, .plain-link,
  .hero-lead, .hero-proof, .finder-foot, .finder-heading p:not(.eyebrow),
  .section-heading p:not(.eyebrow), .field, .field b, .field input, .field select,
  .search-button, .search-button span, .application-card p, .catalog-card p,
  .card-arrow, .demo-note, .catalog-number, .catalog-card > span:last-child,
  .resource-inner > div:first-child > p:last-child, .resource-links a,
  .quote-inner p:not(.eyebrow), .footer-grid > div:first-child p,
  .footer-grid > div:last-child p, .footer-grid > div:not(:first-child) > a,
  .footer-bottom, .page-hero p, .product-card p, .product-meta span,
  .product-card a:last-child, .article-body p, .article-body li, .notice-box,
  .contact-form label, .contact-form input, .contact-form textarea, .contact-form select,
  .seo-note, .simple-hero-copy > p:not(.eyebrow), .home-app-image small, .home-app-copy > span,
  .home-app-copy p, .home-app-copy b, .contact-layout .inquiry-form label,
  .home-quick-search .finder-title, .home-quick-search .finder-fields label,
  .home-finder-results h2 span, .finder-product p, .finder-heading > a,
  .finder-results-header span, .category-count, .manual-product-card .series-code,
  .manual-product-card p, .manual-product-card small, .tag, .hv-search-form label,
  .hv-search-form input, .hv-search-form select, .hv-finder > small, .section-title > a,
  .hv-card-link, .hv-card > a, .hv-result-count, .hv-quick-specs dt, .hv-quick-specs dd,
  .hv-spec-table dt, .hv-spec-table dd, .hv-crosslinks, .hv-contact-page .inquiry-form label,
  .hv-product-directory span, .hv-application-image-placeholder, .wp-block-button__link) {
  font-family: var(--site-type-font);
  font-size: var(--site-type-body);
}

body .menu-toggle {
  font-size: var(--site-type-section);
}

body :is(button, input, select, textarea) {
  font-family: var(--site-type-font);
  font-size: var(--site-type-body);
}

body .txr-hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem 1rem;
}

@media (max-width: 760px) {
  body {
    --site-type-title: 2rem;
  }
}
