/*
Theme Name: KEZHUN Child
Description: KEZHUN ENERGY child theme for Elementor templates and the Scheme D design system.
Author: KEZHUN ENERGY
Version: 0.4.66
Template: hello-elementor
Text Domain: kezhun-child
*/

/* BEGIN KEZHUN_TYPOGRAPHY_ONLY 0.4.62 */
/* KEZHUN0.4.62 TYPOGRAPHY_ONLY: sizes, text rhythm, measure and wrapping.
 * Existing theme colors, cards, imagery, page structure and controls remain
 * defined by the original design-system/product-cro assets. */
:root {
  --kz-intl-page-title: clamp(2rem, 3.4vw, 2.75rem);
  --kz-intl-home-title: clamp(2rem, 3.6vw, 2.75rem);
  --kz-intl-product-title: clamp(1.875rem, 2.8vw, 2.5rem);
  --kz-intl-section-title: clamp(1.5rem, 2.25vw, 1.875rem);
  --kz-intl-body-size: 1.0625rem;
  --kz-intl-body-leading: 1.72;
  --kz-intl-prose-measure: 68ch;
}

/* :is includes the existing density classes deliberately: the last-loaded
   candidate must beat their legacy specificity as well as the 13ch rule. */
html[lang] body :is(
  .kz-article-hero h1, .kz-article-hero h1.kz-copy-long, .kz-article-hero h1.kz-copy-xlong,
  .kz-insights-hero h1, .kz-insights-hero h1.kz-copy-long, .kz-insights-hero h1.kz-copy-xlong,
  .kz-public-page-hero h1, .kz-public-page-hero h1.kz-copy-long, .kz-public-page-hero h1.kz-copy-xlong,
  .kz-commerce-hero h1, .kz-commerce-showcase__copy h1,
  .kz-commerce-showcase__copy h1.kz-copy-long, .kz-commerce-showcase__copy h1.kz-copy-xlong,
  .kz-solutions-hub__intro h1, .kz-commercial-brief-intro h1,
  .kz-quote-intro h1, .kz-quote-experience .kz-quote-intro h1
) {
  font-size: var(--kz-intl-page-title);
  letter-spacing: -.015em;
  line-height: 1.22;
  max-width: none;
  max-inline-size: min(100%, 24em);
  min-inline-size: 0;
  white-space: normal;
  word-break: normal;
  overflow-wrap: break-word;
  text-wrap: balance;
}

/* Keep the chosen catalog/home layout and title roles, without a narrow ch cap. */
html[lang] body main.kz-products-page .kz-commerce-showcase--products .kz-commerce-showcase__copy :is(h1,h1.kz-copy-long,h1.kz-copy-xlong) {
  font-size: var(--kz-intl-page-title); letter-spacing: -.015em; line-height: 1.22;
  max-width: none; max-inline-size: 100%; word-break: normal; overflow-wrap: break-word; text-wrap: balance;
}
html[lang] body.kz-product-home .kz-editorial-home .kz-editorial-hero :is(h1,h1.kz-copy-long,h1.kz-copy-xlong) {
  font-size: var(--kz-intl-home-title); letter-spacing: -.015em; line-height: 1.18;
  max-width: none; max-inline-size: min(100%, 20em); word-break: normal; overflow-wrap: break-word; text-wrap: balance;
}
html[lang] body:is(.single-product,.kz-compact-quote-product) .kz-product-detail-page .summary .product_title,
html[lang] body .kz-public-product-detail .kz-public-product-detail__content h1 {
  font-size: var(--kz-intl-product-title); letter-spacing: -.01em; line-height: 1.25;
  max-width: none; max-inline-size: 100%; word-break: normal; overflow-wrap: anywhere; text-wrap: balance;
}
html[lang] body :is(.kz-article-prose,.kz-public-page-section,.kz-solutions-hub,.kz-quote-experience,.kz-privacy-notice) :is(h2,h3),
html[lang] body :is(.kz-public-card h2,.kz-category-card h3,.kz-certificate-group__heading h2,.kz-certificate-preview h2,.kz-certificates-help h2) {
  font-size: var(--kz-intl-section-title); letter-spacing: -.01em; line-height: 1.3;
  max-inline-size: 100%; min-inline-size: 0; word-break: normal; overflow-wrap: break-word; text-wrap: balance;
}
html[lang] body .kz-article-prose h3 { font-size: clamp(1.25rem, 1.8vw, 1.625rem); }
html[lang] body :is(.kz-public-product-card,.kz-insight-card,.kz-editorial-insight-card) :is(h2,h3) {
  letter-spacing: normal; line-height: 1.35; word-break: normal; overflow-wrap: break-word;
}

html[lang] body .kz-article-prose {
  font-size: var(--kz-intl-body-size); line-height: var(--kz-intl-body-leading);
  max-width: none; max-inline-size: var(--kz-intl-prose-measure); min-width: 0;
}
html[lang] body :is(.kz-public-page-section,.kz-public-card,.kz-category-card,.kz-native-product-info,.kz-native-product-fold__body,.kz-native-product-features,.kz-privacy-notice,.kz-certificate-card__copy) :is(p,li) {
  font-size: var(--kz-intl-body-size); line-height: var(--kz-intl-body-leading);
  word-break: normal; overflow-wrap: break-word;
}
html[lang] body:is(.single-product,.kz-compact-quote-product) .kz-product-detail-page :is(.kz-native-product-summary,.woocommerce-product-details__short-description) :is(p,li) {
  font-size: var(--kz-intl-body-size); line-height: var(--kz-intl-body-leading);
}
html[lang] body :is(.kz-article-hero__dek,.kz-quote-intro__copy,.kz-public-page-hero__grid > p) {
  font-size: clamp(1rem, 1.3vw, 1.1875rem); line-height: 1.65; letter-spacing: normal;
  max-width: none; max-inline-size: min(100%, 54ch);
}

/* Inherited :lang works on nested localized article/privacy/product scopes too. */
html[lang] body :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,label,legend,button,input,select,textarea):lang(zh) {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: normal;
}
html[lang] body :is(h1,h2,h3,h4,h5,h6):lang(zh) { line-height: 1.34; }
html[lang] body :is(.kz-article-hero,.kz-insights-hero,.kz-public-page-hero,.kz-commerce-hero,.kz-commerce-showcase__copy,.kz-solutions-hub__intro,.kz-commercial-brief-intro,.kz-quote-intro,.kz-article-prose) :is(h1,h1.kz-copy-long,h1.kz-copy-xlong,h2,h3):lang(zh),
html[lang] body.kz-product-home .kz-editorial-home .kz-editorial-hero :is(h1,h1.kz-copy-long,h1.kz-copy-xlong):lang(zh),
html[lang] body:is(.single-product,.kz-compact-quote-product) .kz-product-detail-page .summary .product_title:lang(zh),
html[lang] body .kz-public-product-detail .kz-public-product-detail__content h1:lang(zh),
html[lang] body main.kz-products-page .kz-commerce-showcase--products .kz-commerce-showcase__copy :is(h1,h1.kz-copy-long,h1.kz-copy-xlong):lang(zh) {
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans CJK SC", "Noto Sans SC", system-ui, sans-serif;
  letter-spacing: normal; line-height: 1.34; line-break: strict; word-break: normal;
}
html[lang] body .kz-article-prose:lang(zh) { --kz-intl-body-leading: 1.82; --kz-intl-prose-measure: 38em; }
html[lang] body :is(.kz-public-page-section,.kz-native-product-info,.kz-privacy-notice):lang(zh) { --kz-intl-body-leading: 1.8; }

html[lang] body :is(h1,h2,h3,h4,h5,h6,p,li,dt,dd,label,legend,button,input,select,textarea):lang(ar) {
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: normal;
}
html[lang] body :is(h1,h2,h3,h4,h5,h6):lang(ar) { line-height: 1.48; }
html[lang] body :is(.kz-article-hero,.kz-insights-hero,.kz-public-page-hero,.kz-commerce-hero,.kz-commerce-showcase__copy,.kz-solutions-hub__intro,.kz-commercial-brief-intro,.kz-quote-intro,.kz-article-prose) :is(h1,h1.kz-copy-long,h1.kz-copy-xlong,h2,h3):lang(ar),
html[lang] body.kz-product-home .kz-editorial-home .kz-editorial-hero :is(h1,h1.kz-copy-long,h1.kz-copy-xlong):lang(ar),
html[lang] body:is(.single-product,.kz-compact-quote-product) .kz-product-detail-page .summary .product_title:lang(ar),
html[lang] body .kz-public-product-detail .kz-public-product-detail__content h1:lang(ar),
html[lang] body main.kz-products-page .kz-commerce-showcase--products .kz-commerce-showcase__copy :is(h1,h1.kz-copy-long,h1.kz-copy-xlong):lang(ar) {
  font-family: "Noto Sans Arabic", "Segoe UI", Tahoma, Arial, sans-serif;
  letter-spacing: normal; line-height: 1.48; word-break: normal;
}
html[lang] body .kz-article-prose:lang(ar) { --kz-intl-body-leading: 1.85; --kz-intl-prose-measure: 36em; }
html[lang] body :is(.kz-public-page-section,.kz-native-product-info,.kz-privacy-notice):lang(ar) { --kz-intl-body-leading: 1.82; }
html[lang] body :is(h1,h2,h3):lang(ru) { letter-spacing: normal; }
html[lang] body .kz-article-prose:lang(ru) { --kz-intl-body-leading: 1.76; }
html[lang] body :is(.kz-article-prose,.kz-public-page-section) :is(h2,h3):is(:lang(de),:lang(ru)) {
  hyphens: auto; overflow-wrap: anywhere;
}

/* Optional enhancement JS creates only these short Chinese lexical units. */
.kz-intl-title-phrase {
  display: inline-block; max-inline-size: 100%; vertical-align: baseline;
  white-space: normal; word-break: normal; overflow-wrap: anywhere;
}

/* Input text remains readable without changing touch boxes or control behavior. */
html[lang] body .kezhun-intake-form :is(input:not([type=checkbox]):not([type=radio]):not([type=hidden]),select,textarea) { font-size: 16px; }
html[lang] body .kezhun-intake-form label { line-height: 1.55; }
html[lang] body :is(bdi[dir="ltr"],code[dir="ltr"],[data-product-sku][dir="ltr"]) { unicode-bidi: isolate; }
html[lang] body :is(input[type=email],input[type=tel]) { direction: ltr; unicode-bidi: isolate; text-align: start; }

@media (max-width: 768px) {
  :root {
    --kz-intl-page-title: clamp(1.75rem, 7.5vw, 2rem);
    --kz-intl-home-title: clamp(2rem, 8.8vw, 2.25rem);
    --kz-intl-product-title: clamp(1.5rem, 6.5vw, 1.75rem);
    --kz-intl-section-title: clamp(1.375rem, 5.6vw, 1.625rem);
    --kz-intl-body-size: 1rem;
  }
  html[lang] body .kz-article-prose { max-inline-size: 100%; }
  html[lang] body .kz-article-prose :is(th,td) {
    font-size: 15px; line-height: 1.6; vertical-align: top;
    word-break: normal; overflow-wrap: break-word;
  }
  html[lang] body .kz-article-prose th { line-height: 1.4; }
}

/* Previously omitted text roles; existing panels and document controls stay intact. */
html[lang] body .kz-product-detail-page :is(.kz-native-product-features,.kz-native-product-documents) h2,
html[lang] body .kz-public-product-detail .kz-public-product-detail__block h2,
html[lang] body .kz-company-license__copy h2 {
  font-size: clamp(1.375rem, 2.1vw, 1.75rem);
  letter-spacing: normal;
  line-height: 1.5;
  min-inline-size: 0;
  max-inline-size: 100%;
  word-break: normal;
  overflow-wrap: anywhere;
  text-wrap: balance;
}
html[lang] body .kz-product-detail-page .kz-native-product-documents h3,
html[lang] body .kz-product-detail-page .kz-native-buyer-question h2,
html[lang] body .kz-product-detail-page .kz-native-product-fold > summary {
  font-size: 18px;
  letter-spacing: normal;
  line-height: 1.5;
  max-inline-size: 100%;
  overflow-wrap: anywhere;
}
html[lang] body .kz-product-detail-page .kz-native-product-documents :is(p,li),
html[lang] body .kz-company-license__copy :is(p,li) {
  font-size: var(--kz-intl-body-size);
  line-height: 1.8;
  overflow-wrap: anywhere;
}
html[lang] body .kz-article-answer > p:last-child {
  font-size: 18px;
  letter-spacing: normal;
  line-height: 1.8;
}
html[lang] body .kz-article-aside h2 { font-size: 18px; letter-spacing: normal; line-height: 1.55; }
html[lang] body .kz-article-aside :is(p,li) { font-size: 15px; line-height: 1.8; overflow-wrap: anywhere; }
html[lang] body .kz-article-prose :is(p,ul,ol) { margin-block: 0 1.3em; }
html[lang] body .kz-article-prose :is(h2,h3) { margin-block: 1.7em .7em; }
html[lang] body .kz-article-prose li + li { margin-block-start: .5em; }

/* Wrap only file-title and model TEXT; original cards and grid stay untouched. */
html[lang] body .kezhun-download-center.kz-grid > .kz-card :is(h3,p) {
  overflow-wrap: anywhere;
  word-break: normal;
}
html[lang] body .kezhun-download-center.kz-grid > .kz-card h3 {
  font-size: 20px;
  letter-spacing: normal;
  line-height: 1.5;
}
html[lang] body .kezhun-download-center.kz-grid > .kz-card p { line-height: 1.75; }

@media (max-width: 768px) {
  html[lang] body .kz-product-detail-page :is(.kz-native-product-features,.kz-native-product-documents) h2,
  html[lang] body .kz-public-product-detail .kz-public-product-detail__block h2 { font-size: 20px; }
  html[lang] body .kz-article-answer > p:last-child { font-size: 17px; }
}

/* END KEZHUN_TYPOGRAPHY_ONLY */

/* BEGIN KEZHUN MOBILE HOME PRODUCT SUBTITLE 20261121 */
/* Reveal only the existing product subtitle; retain the other mobile copy rules. */
@media (max-width: 767px) {
  html[lang] body.kz-product-home .kz-editorial-home .kz-editorial-hero__content > .kz-editorial-eyebrow[data-kz-i18n="hero_product_subtitle"] {
    display: flex;
    min-inline-size: 0;
    max-inline-size: 100%;
    font-size: clamp(.875rem, 3.6vw, 1rem);
    line-height: 1.6;
    letter-spacing: normal;
    text-transform: none;
    white-space: normal;
    word-break: normal;
    overflow-wrap: anywhere;
    text-align: start;
    margin-block: 14px 0;
  }
}
/* END KEZHUN MOBILE HOME PRODUCT SUBTITLE 20261121 */
