/**
 * lang.en.css — English-language style overrides
 *
 * English text is often 2-3× longer than its Chinese counterpart, which can
 * cause overflow, wrapping issues, or broken layouts.  This file is loaded
 * ONLY on the English (/en) frontend and lets you:
 *   - widen narrow containers that clip long words
 *   - reduce font-size in tight spaces
 *   - allow natural word-wrapping instead of forced single-line truncation
 *   - adjust padding/margins for longer button/heading text
 *
 * Add site-wide English fixes below.  Page-specific overrides can also live
 * here with a comment noting the template or component they affect.
 * ========================================================================== */

/* ── Global helpers ──────────────────────────────────────────────────────── */
/* Allow long unbreakable strings (URLs, compound terms) to wrap anywhere */
html[lang="en"] body {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

/* ── Typography defaults ─────────────────────────────────────────────────── */
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3 {
    overflow-wrap: break-word;
    hyphens: auto;
}

/* Nav items often use fixed widths that Chinese text fills nicely but
   English overflows — let them size naturally */
html[lang="en"] .nav__item,
html[lang="en"] .header__nav-item {
    white-space: normal;
}

/* ── Buttons — prevent overflow from longer English labels ──────────────── */
html[lang="en"] .btn,
html[lang="en"] button[class*="btn"],
html[lang="en"] a[class*="btn"],
html[lang="en"] a[class*="more"] {
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ── Card / Grid items ──────────────────────────────────────────────────── */
html[lang="en"] [class*="card"] h3,
html[lang="en"] [class*="card"] h4,
html[lang="en"] [class*="grid"] h3,
html[lang="en"] [class*="grid"] h4 {
    overflow-wrap: break-word;
    hyphens: auto;
}

/* ── Heading / hero text ────────────────────────────────────────────────── */
html[lang="en"] [class*="hero"] h1,
html[lang="en"] [class*="hero"] h2,
html[lang="en"] [class*="hero"] p {
    overflow-wrap: break-word;
}

/* ── Footer columns ─────────────────────────────────────────────────────── */
html[lang="en"] .footer__col {
    word-break: break-word;
}

/* ── Breadcrumb / navigation labels ─────────────────────────────────────── */
html[lang="en"] [class*="breadcrumb"] a,
html[lang="en"] [class*="breadcrumb"] span,
html[lang="en"] [class*="nav-label"],
html[lang="en"] [class*="detail-nav"] span {
    white-space: normal;
}

/* ==========================================================================
   Add your site-specific English overrides below.
   Prefix each section with the template or component name for clarity.
   ========================================================================== */
.header__nav {
    gap: 20px;
}

.header__nav-link {
    font-size: clamp(13px, 0.9vw, 15px);
}

.home-hero__title {
    font-size: 42px;
}

.home-hero__desc {
    font-size: 28px;
}

.home-hero__keyword strong {
    font-size: 16px;
}

.home-solutions__body {
    padding-top: 24px;
}

.home-solutions__body p {
    font-size: 15px;
}

.home-solutions__body li {
    font-size: 13px;
}

.home-why__card p {
    margin: 6px 0 0;
    font-size: 14px;
    line-height: 1.5;
}

.home-tech__item p {
    margin: 25px auto 0;
    font-size: 14px;
    max-width: 80%;
}

.home-products__subtitle {
    margin: 10px auto;
    max-width: 800px;
}

.home-clients__intro span {
    width: 150px;
    height: 62px;
    font-size: 12px;
    text-align: center;
    padding: 4px;
}

.home-clients__card {
    height: 400px;
}

.home-clients__intro p,
.home-clients__side-text {
    margin: 2px 0 0;
    font-size: 13px;
    line-height: 1.5;
}

.home-products__desc {
    margin: 12px 0 12px;
    font-size: clamp(13px, 0.9vw, 15px);
    line-height: 1.5;
}

.home-products__detail {
    font-size: 15px;
}

.home-articles__tags span {
    font-size: 12px;
}

.home-articles__body time {
    font-size: 14px;
}



/*内页*/
.solutiondetail-hero__content {
    padding-top: 80px;
}

.solutiondetail-hero__title {
    font-size: clamp(24px, 1.3vw, 32px);
    line-height: 1.2;
}

.solutiondetail-hero__text {
    margin: 20px 0 0;
    font-size: 14px;
    line-height: 1.45;
}

.solutiondetail-hero__btn {
    width: 260px;
}

.solutiondetail-challenge__body li {
    font-size: clamp(13px, 0.9vw, 14px);
    max-width: 70%;
}

.solutiondetail-challenge__image {
    width: 180px;
    height: 168px;
}

.solutiondetail-features__point {
    padding: 20px 0px 30px;
}

.solutiondetail-features__point span {
    width: 30px;
    height: 30px;
    margin-bottom: 12px;
}

.solutiondetail-features__point p {
    font-size: clamp(13px, 0.85vw, 14px);
}

.home-contact__subtitle {
    margin: 10px auto;
    max-width: 80%;
}


.page-case-related-products__type,
.page-category-series__type,
.page-product-list__type,
.page-case-related-products__grid .solutiondetail-products__type {
    font-size: 13px;
    margin-top: 16px;
}

.page-category-series__desc,
.page-product-list__desc,
.page-case-related-products__grid .solutiondetail-products__desc {
    font-size: clamp(13px, 0.9vw, 15px);
}

.page-category-series__more,
.page-product-list__more,
.page-case-related-products__more,
.page-case-related-products__grid .solutiondetail-products__more {
    font-size: 14px;
}

.page-case-related-products__cta p {
    font-size: 15px;
}

.prodetail-hero__title {
    font-size: 32px;
    line-height: 1.2;
}

.prodetail-btn {
    width: 240px;
    font-size: 15px;
}

.page-category-feature__content p {
    max-width: 72%;
    font-size: 21px;
}

.page-category-cases__card h3 {
    font-size: 21px;
}

.page-banner__subtitle {
    max-width: 680px;
}

.prodetail-hero__desc,
.page-case-related-products__desc {
    font-size: 14px;
    line-height: 1.5;
}

.prodetail-hero__stat {
    column-gap: 16px;
}

.about-intro__cards .home-why__card p {
    font-size: 14px;
}

.prodetail-nav__link {
    font-size: 15px;
}

.page-whitepaper-list__card h2 {
    font-size: 18px;
}

.page-webinar-list__title {
    font-size: 21px;
    max-width: 90%;
}

.page-video-list__card h2 {
    font-size: 18px;
}

.page-video-list__card h2 {
    max-width: 100%;
}

.page-webinar-list__meta {
    font-size: 14px;
}

.page-case-detail-recommend__content h3 {
    font-size: 16px;
    line-height: 1.4;
}

.home-contact__title,
.solutiondetail-section-head__title,
.page-case-related-products__title,
.prodetail-section-head__title {
    font-size: clamp(28px, 1.6vw, 32px);
}

.solutiondetail-section-head__title {
    max-width: 800px;
    margin: 0 auto;
}

.solutiondetail-flow__step h3 {
    height: 45px;
    font-size: clamp(16px, 1.1vw, 18px);
}

.solutiondetail-flow__step p {
    height: 34px;
}

.solutiondetail-challenge__body h3 {
    font-size: clamp(16px, 1.1vw, 21px);
}

.solutiondetail-flow__step p {
    font-size: 13px;
}

.solutiondetail-features__content p {
    font-size: clamp(13px, 0.85vw, 15px);
    line-height: 1.65;
}

.page-case-list__card h3 {
    font-size: 16px;
    white-space: inherit;
    overflow: auto;
    text-overflow: inherit;
}

.solutiondetail-nav__link {
    font-size: 15px;
}

.solutiondetail-value__image img {
    object-fit: cover;
}

.solutiondetail-value__body p {
    font-size: 14px;
    line-height: 1.6;
}

.solutiondetail-supplier__body p {
    font-size: 14px;
    line-height: 1.6;
}

.solutiondetail-cases__body h3 {
    font-size: 16px;
    line-height: 1.5;
}

.prodetail-overview__card li {
    font-size: 13px;
}

.solutiondetail-service__lead {
    font-size: 16px;
    line-height: 1.5;
}

.solutiondetail-service__card p {
    font-size: 14px;
    line-height: 1.5;
}

.prodetail-application__card h3 {
    font-size: 18px;
}

.prodetail-video__item h3 {
    font-size: 16px;
}

.prodetail-overview__feature {
    height: 120px;
}

.prodetail-overview__feature p {
    font-size: 12px;
}

.prodetail-download__body h3 {
    font-size: 18px;
    line-height: 1.3;
}

.prodetail-download__btn {
    font-size: 14px;
}

.prodetail-download__body p {
    font-size: 13px;
    line-height: 1.4;
    margin-bottom: 20px;
}


.about-history__card {
    height: 400px;
}

.about-history__body p {
    font-size: 14px;
    line-height: 1.5;
}

.page-banner--testing .page-banner__desc {
    text-align: left;
}

.page-testing-service__title,
.page-training-service__title {
    font-size: 21px;
}

.page-testing-service__desc,
.page-training-service__desc {
    text-align: left;
    font-size: 13px;
    margin: 24px 0 0;
    line-height: 1.6;
}

.page-contact-hero__feature h3 {
    height: 46px;
}

.page-contact-hero__feature p {
    font-size: 14px;
    line-height: 1.4;
}


.footer__contact-block:first-of-type {
    padding-right: 20px;
}



@media (max-width: 1480px) {
    .home-solutions__body li {
        font-size: 12px;
    }

    .home-solutions__body p {
        font-size: 14px;
    }

    .home-why__card--users .home-why__line-icon,
    .home-why__card--grade .home-why__line-icon,
    .home-why__card--iso .home-why__line-icon,
    .home-why__card--solution .home-why__line-icon,
    .home-why__card--vda .home-why__line-icon,
    .home-why__card--experience .home-why__line-icon {
        right: 16px;
        bottom: 20px;
    }

    .home-clients__content {
        width: 500px;
    }

    .home-products__detail {
        font-size: 14px;
    }

    .home-products__more,
    .home-articles__more,
    .home-partners__more,
    .home-contact__submit {
        width: 200px;
    }

    .home-articles__body time {
        font-size: 15px;
    }

    .home-articles__body h3 {
        font-size: 16px;
    }

    .home-why__card p {
        font-size: 13px;
        line-height: 1.5;
    }

    .home-why__card--experience .home-why__line-icon {
        right: 16px;
        top: 12px;
        bottom: auto;
    }

    .about-intro__cards .home-why__card--users .home-why__line-icon,
    .about-intro__cards .home-why__card--grade .home-why__line-icon,
    .about-intro__cards .home-why__card--iso .home-why__line-icon,
    .about-intro__cards .home-why__card--solution .home-why__line-icon,
    .about-intro__cards .home-why__card--vda .home-why__line-icon,
    .about-intro__cards .home-why__card--experience .home-why__line-icon {
        right: 16px;
        bottom: 20px;
    }

    .prodetail-overview__workflow-body p {
        font-size: 15px;
        max-width: 80%;
        font-size: 14px;
    }

    .prodetail-application__card h3 {
        font-size: 16px;
    }

}

@media (max-width: 1366px) {
    .home-hero__title {
        font-size: 32px;
    }

    .home-hero__desc {
        font-size: 24px;
    }

    .home-hero__keyword strong {
        font-size: 14px;
    }

    .home-clients__content {
        width: 600px;
        height: 360px;
    }

    .home-tech__item p {
        font-size: 14px;
        max-width: 90%;
    }

    .home-products__type {
        margin: 20px 0 0;
        font-size: 13px;
    }

    .home-why__card p {
        margin: 12px 0 0;
    }

    .page-testing-service__title,
    .page-training-service__title {
        font-size: 18px;
    }

    .page-testing-service__desc,
    .page-training-service__desc,
    .page-testing-service__body li {
        font-size: 12px;
    }

    .prodetail-hero__desc,
    .page-case-related-products__desc {
        font-size: 12px;
        line-height: 1.3;
    }

    .page-category-series__more,
    .page-product-list__more,
    .page-case-related-products__more,
    .page-case-related-products__grid .solutiondetail-products__more {
        font-size: 12px;
    }

    .page-case-related-products__card h3 {
        margin: 12px 0 0;
    }
}


@media (max-width: 800px) {
    .home-hero__title {
        font-size: 28px;
    }

    .home-hero__desc {
        font-size: 18px;
    }

    .home-hero__keyword strong {
        font-size: 14px;
    }

    .home-clients__content {
        width: 100%;
        height: auto;
    }

    .home-clients__card {
        height: auto;
    }

    .home-contact__title,
    .solutiondetail-section-head__title,
    .page-case-related-products__title,
    .prodetail-section-head__title {
        font-size: 24px;
    }

    .footer__col a {
        margin-top: 10px;
        font-size: 13px;
    }

    .footer__bottom p,

    .footer__bottom a {
        font-size: 14px;
    }


}