/* YuanFeng V52.34 — large display title scale adjustment.
   Scope follows the title systems explicitly introduced as "large headings" in VERSION.txt.
   Font sizes are 61.8% of the V52.33 values; spacing, motion and non-display headings stay unchanged. */

/* Projects / project categories / News / Downloads primary page headings. */
.yf-section-heading h1{
  font-size:clamp(35.844px,4.4496vw,72.924px)!important;
}

/* About primary hero heading. */
.yf-about-primary-heading h1{
  font-size:clamp(35.844px,4.4496vw,72.924px)!important;
}

/* Historical About / philosophy scroll-display headings, retained defensively for any live reuse. */
.yf-v523-scroll-title,
.pageData .aboutProfile div .yf-v523-scroll-title,
.pageData .aboutGallery .agTitle div .yf-v523-scroll-title,
.pageData .pageCont div .yf-v523-scroll-title,
.pageData .pagePoint div .yf-v523-scroll-title{
  font-size:clamp(35.844px,4.4496vw,72.924px)!important;
}
html[data-language="en"] .yf-v523-scroll-title,
html[data-language="en"] .pageData .aboutProfile div .yf-v523-scroll-title,
html[data-language="en"] .pageData .aboutGallery .agTitle div .yf-v523-scroll-title,
html[data-language="en"] .pageData .pageCont div .yf-v523-scroll-title,
html[data-language="en"] .pageData .pagePoint div .yf-v523-scroll-title{
  font-size:clamp(29.664px,3.708vw,61.8px)!important;
}

/* Products landing primary two-line title. Keep the existing English fit custom property. */
.yf-products-intro h1{
  font-size:clamp(29.664px,2.7501vw,49.44px)!important;
}
html[data-language="en"] .yf-products-intro h1{
  font-size:var(--yf-product-title-fit,clamp(25.956px,2.2866vw,42.024px))!important;
}

/* Product detail chapter headings: 特点 / 参数 / 结构 / 系统概述. */
.dtlProducts .dtlChar .dtlcharInfo > h1,
.dtlProducts .dtlSpecs .dtlSpecsTitle h1,
.dtlProducts .dtlData .dtlDataDiv .dtlDataTitle h1{
  font-size:clamp(29.664px,3.3063vw,53.148px)!important;
}
html[data-language="en"] .dtlProducts .dtlChar .dtlcharInfo > h1,
html[data-language="en"] .dtlProducts .dtlSpecs .dtlSpecsTitle h1,
html[data-language="en"] .dtlProducts .dtlData .dtlDataDiv .dtlDataTitle h1{
  font-size:clamp(23.484px,2.6883vw,43.26px)!important;
}

@media(max-width:1500px){
  .yf-products-intro h1{font-size:clamp(28.428px,2.5956vw,42.024px)!important;}
  html[data-language="en"] .yf-products-intro h1{font-size:var(--yf-product-title-fit,clamp(24.72px,2.1321vw,34.608px))!important;}
}

@media(max-width:1180px){
  .yf-products-intro h1{font-size:clamp(29.664px,3.9552vw,44.496px)!important;}
  html[data-language="en"] .yf-products-intro h1{font-size:var(--yf-product-title-fit,clamp(25.956px,3.2754vw,38.316px))!important;}
}

@media(max-width:900px){
  .yf-section-heading h1,
  .yf-about-primary-heading h1,
  .yf-v523-scroll-title,
  .pageData .aboutProfile div .yf-v523-scroll-title,
  .pageData .aboutGallery .agTitle div .yf-v523-scroll-title,
  .pageData .pageCont div .yf-v523-scroll-title,
  .pageData .pagePoint div .yf-v523-scroll-title{
    font-size:clamp(29.664px,9.27vw,50.676px)!important;
  }
  html[data-language="en"] .yf-v523-scroll-title,
  html[data-language="en"] .pageData .aboutProfile div .yf-v523-scroll-title,
  html[data-language="en"] .pageData .aboutGallery .agTitle div .yf-v523-scroll-title,
  html[data-language="en"] .pageData .pageCont div .yf-v523-scroll-title,
  html[data-language="en"] .pageData .pagePoint div .yf-v523-scroll-title{
    font-size:clamp(23.484px,6.6744vw,42.024px)!important;
  }
  .yf-products-intro h1{font-size:clamp(27.192px,5.562vw,40.788px)!important;}
  html[data-language="en"] .yf-products-intro h1{font-size:var(--yf-product-title-fit,clamp(23.484px,4.4496vw,33.372px))!important;}
  .dtlProducts .dtlChar .dtlcharInfo > h1,
  .dtlProducts .dtlSpecs .dtlSpecsTitle h1,
  .dtlProducts .dtlData .dtlDataDiv .dtlDataTitle h1{
    font-size:clamp(24.72px,6.18vw,38.316px)!important;
  }
  html[data-language="en"] .dtlProducts .dtlChar .dtlcharInfo > h1,
  html[data-language="en"] .dtlProducts .dtlSpecs .dtlSpecsTitle h1,
  html[data-language="en"] .dtlProducts .dtlData .dtlDataDiv .dtlDataTitle h1{
    font-size:clamp(21.012px,5.1912vw,33.372px)!important;
  }
}

@media(max-width:600px){
  .yf-products-intro h1{font-size:clamp(23.484px,6.9216vw,34.608px)!important;}
  html[data-language="en"] .yf-products-intro h1{font-size:var(--yf-product-title-fit,clamp(19.776px,5.6238vw,27.192px))!important;}
  .dtlProducts .dtlChar .dtlcharInfo > h1,
  .dtlProducts .dtlSpecs .dtlSpecsTitle h1,
  .dtlProducts .dtlData .dtlDataDiv .dtlDataTitle h1{
    font-size:clamp(22.248px,7.107vw,30.9px)!important;
  }
}
