/* Remove decorative captions and eyebrows whose adjacent content already carries the message. */
.company-study .cs-intro > .cs-kicker,
.company-study .cs-closing .cs-kicker,
.biz-record-cover > :is(.biz-record-cover-label, p),
.biz-quality .biz-quality-hero .eyebrow,
.res-v5 .res-kicker,
.biz-privacy-hero .eyebrow,
.contact-intent-number,
.pd-editorial-copy > .pd-editorial-kicker {
  display: none !important;
}

@media (min-width: 768px) {
  :root {
    --reading-note: 1rem;
    --reading-label: 1.0625rem;
    --reading-body: 1.1875rem;
    --reading-section: clamp(1.875rem, 2.8vw, 2.625rem);
    --reading-display: clamp(2.25rem, 4.2vw, 3.625rem);
  }

  :is(.site-header .header-enquiry, .social-trigger, .quick-trigger, footer a, footer button) {
    font-size: var(--reading-note) !important;
  }
  :is(.site-header .header-enquiry, .quick-trigger) :is(span, bdi) {
    font-size: .8125rem;
  }

  main :is(.company-study,.biz-page,.ps-page,.om-page,.res-v5,.blog-page,.blog-article,.pd-page)
    :is(figcaption, small, dt, dd, summary, caption, time, .eyebrow, .ps-eyebrow,
        .cs-legal, .cs-kicker, .cs-research-note, .mfg-note, .mfg-caption, .biz-small,
        .res-kicker, .res-scope, .om-model-kind, .om-art-note, .blog-meta, .blog-step-topic) {
    font-size: max(var(--reading-note), 1em);
  }

  main :is(.cs-legal, .cs-kicker, .cs-research-note, .mfg-note, .mfg-caption,
      .biz-small, .res-kicker, .res-scope, .om-model-kind, .om-art-note,
      .blog-meta, .blog-date-pending, .blog-step-topic, .blog-search-label,
      .contact-context-label, .pd-hx-specs th, .pd-hx-specs td, figcaption) {
    font-size: var(--reading-note) !important;
  }

  main :is(.biz-facts, .biz-record, .pd-hx-specs) :is(dt, dd, summary) {
    font-size: var(--reading-note) !important;
  }

  main :is(.ps-text-link, .cs-text-link, .res-button, .biz-page .button, .biz-page .text-link,
      .ps-catalog-search button, .blog-template-hint, .contact-v1 label) {
    font-size: var(--reading-label) !important;
  }

  main :is(.biz-page, .res-v5, .ps-page, .blog-article) p:not([class]),
  main :is(.biz-lead, .res-lead, .contact-form-lead, .pd-description, .cs-closing-copy) {
    font-size: var(--reading-body);
    line-height: 1.6;
  }

  main :is(.company-study, .biz-page, .ps-page, .om-page, .blog-page, .blog-article, .res-v5) h1 {
    font-size: var(--reading-display);
    line-height: 1.13;
  }
  main :is(.biz-page, .company-study, .om-page) h2 {
    font-size: min(var(--reading-section), 2.625rem);
    line-height: 1.2;
  }

  main :is(.biz-page, .blog-article, .res-v5) :is(p, dd, td) {
    overflow-wrap: anywhere;
  }
}

@media (min-width: 1000px) {
  main .company-study .cs-intro h1 {
    font-size: clamp(3rem, 4.45vw, 4rem) !important;
    line-height: 1.15;
  }
}

@media (min-width: 1000px) and (max-height: 830px) {
  main .company-study .cs-lead {
    font-size: 1.375rem;
  }
}

@media (min-width: 768px) {
  #main :is(.biz-crumb, .biz-crumb .text-link, .biz-chapter-buttons button,
      .biz-proof-image > span, .biz-disclosure summary, .biz-test-table thead th,
      .biz-recognition-grid .biz-small, .mfg-facts > p, .mfg-total,
      .res-v5 aside p, .blog-step-card li, .ps-selection-links a,
      .ps-count-ratio, .contact-v1 details > summary, .res-missing-help a) {
    font-size: var(--reading-note) !important;
  }
  :is(.biz-viewer-note, .biz-viewer-tools :not([data-biz-zoom]):is(button, a, output)) {
    font-size: var(--reading-note);
  }
}

@media (min-width: 1000px) and (max-height: 830px) {
  #main :is(.om-hero-copy, .contact-hero-copy, .biz-quality-hero) h1,
  #main :is(.ps-catalog-desktop-opening, .ps-catalog-desktop-clean) {
    font-size: var(--reading-display);
    line-height: 1.15;
  }
}
@media (min-width: 768px) {
  #main :is(.cs-company p, .mfg-heading p, .cs-closing-copy, .biz-lead, .res-lead,
      .contact-form-lead, .pd-description, .blog-article section p) {
    font-size: var(--reading-body);
    line-height: 1.6;
  }
  #main :is(.contact-v1 input, .contact-v1 select, .contact-v1 textarea,
      .ps-catalog-search input, .cs-button, .pd-enquire) {
    font-size: var(--reading-label);
  }
  #main .contact-v1 :is(input, select, textarea) { min-width: 0; }
}

@media (min-width: 1200px) {
  html body .site-header #main-nav [data-nav] { font-size: 1rem; }
}
/* Condense duplicate headings and labels without removing evidence or controls. */

.contact-hero-copy > .ps-eyebrow,
.biz-privacy-content > article > span:first-child,
.pd-product-image > .pd-image-tag,
#quick-panel .quick-heading > .eyebrow {
  display: none !important;
}
.biz-privacy-content > article { grid-template-columns: minmax(0, 1fr); }

@media (min-width: 768px) {
  html body .site-header #site-language,
  html body :is(.header-enquiry, .quick-trigger) > :is(span, bdi)[data-enquiry-count] {
    font-size: var(--reading-note) !important;
  }

  #main :is(.ps-breadcrumb, .ps-breadcrumb a, .ps-breadcrumb span,
      .res-crumb a, .res-crumb span, .ps-catalog-bottom .ps-text-link,
      .ps-catalog-search button, .pd-reading-nav button,
      .pd-reserved-heading span, .res-product-related-inline a,
      .pd-prepared-faq p, .pd-prepared-download, .pd-prepared-download span,
      .pd-media-thumb-label, .mfg-credit span, .mfg-photo .mfg-name,
      .cs-work-detail p, .cs-process-item p, .company-study time,
      .biz-scope, .biz-section-heading > p, .biz-quality dt, .biz-quality dd,
      .biz-test-table :is(caption, th, td), .res-small, .res-small a,
      .res-request-status :is(strong,p), .res-hint, .res-v5 article > p,
      .blog-topic-tab > span:not([aria-hidden]), .blog-step-checklist li,
      .contact-v1 summary span, .contact-direct-social a,
      .om-page figcaption, .om-page figcaption strong, .om-model, .oc-route-reference,
      .oc-route-disclaimer, .om-note, .om-confirmation p, .om-confirmation li,
      .om-reference, .om-page a[data-om-photo],
      .ps-compare-hint, .ps-evidence-note, .ps-compare .ps-small-button,
      .ps-compare-table :is(th,td,span,button,a,strong), .ps-document-link) {
    font-size: var(--reading-note) !important;
    line-height: 1.45;
  }

  :is(.mfg-dialog figcaption span, .mfg-dialog-count, #quick-panel .quick-purpose :is(span,strong),
      #quick-panel .quick-scroll :is(a,small,label,textarea,select,input,span),
      #quick-panel .quick-footer :is(p,a,button)) {
    font-size: var(--reading-note) !important;
    line-height: 1.45;
  }
  #quick-panel :is(input, textarea, select) { min-width: 0; }
  #main .ps-compare-table :is(td,th) { overflow-wrap: anywhere; }
}

/* Route-specific type rules are loaded on demand, so these selectors include the owning surface. */
.contact-secondary > .ps-eyebrow,
#main .om-page .oc-journey-nav button > span[aria-hidden="true"] {
  display: none !important;
}

@media (min-width: 768px) {
  html body #main :is(.ps-catalog .ps-breadcrumb span, .ps-catalog .ps-search-field button,
      .ps-catalog .ps-catalog-bottom .ps-text-link, .om-page .oc-route-disclaimer,
      .om-page .oc-journey-nav button > span, .om-page figure figcaption,
      .om-page .oc-manufacturing-images a, .om-page .oc-process-panel p,
      .biz-quality p.biz-scope, .biz-quality .biz-sample-layout aside > p,
      .res-v5 .res-intro .res-small, .res-v5 .res-requests .res-hint,
      .pd-page .pd-hx-width-guide span, .company-study .cs-history-list p,
      .company-study .cs-patent-list p) {
    font-size: var(--reading-note) !important;
  }
  body .site-footer .footer-bottom > span { font-size: var(--reading-note); }
}

@media (min-width: 768px) {
  html body .site-header .header-search > span { font-size: var(--reading-note); }
  html body[data-home-direction] #main .ps-catalog .ps-catalog-frame .ps-breadcrumb > span,
  html body[data-home-direction] #main .ps-catalog .ps-catalog-search .ps-search-field button,
  html body[data-home-direction] #main .ps-catalog .ps-catalog-bottom a.ps-text-link,
  html body[data-home-direction] #main .om-page :is(.oc-journey,.oc-custom,.oc-routes,.om-process) :is(figcaption, small.oc-route-disclaimer),
  html body[data-home-direction] #main .om-page p.om-kicker,
  html body[data-home-direction] #main .biz-quality.biz-page p.biz-scope,
  html body[data-home-direction] #main .res-v5 :is(.res-intro p.res-small,.res-requests p.res-hint) {
    font-size: var(--reading-note) !important;
  }
}

/* Give page landmarks, decision-making values and primary actions distinct weight. */
html body[data-home-direction] #main :is(.company-study,.biz-page,.om-page,
    .res-v5,.dmluma-blog,.contact-v1,.ps-compare,.pd-page) :is(h1,h2,h3) {
  font-weight: 700 !important;
}

html body[data-home-direction] #main :is(.ps-catalog-heading h1,.ps-product-model,
    .ps-product-name,.pd-size-dimensions,.pd-spec-row dd,.pd-hx-specs tbody td,
    .biz-facts dd,.biz-test-table tbody td,.ps-compare-table th strong,
    .res-request-status strong) {
  font-weight: 700 !important;
}

html body[data-home-direction] :is(.header-enquiry,.quick-trigger,#quick-panel .quick-footer .button,
    #main .pd-enquire,#main .om-primary,#main .cs-button,#main .res-button,
    #main .res-action,#main .contact-v1 button[type="submit"],#main .blog-copy) {
  font-weight: 750 !important;
}

@media (min-width: 768px) {
  html body[data-home-direction] #main .ps-catalog .ps-product-model {
    font-size: 1.25rem !important;
    overflow-wrap: anywhere;
  }

  html body[data-home-direction] #main :is(.pd-page .pd-size-dimensions,
      .pd-page .pd-spec-row dd,.pd-page .pd-hx-specs tbody td,
      .biz-quality .biz-facts dd,.ps-compare .ps-compare-table th strong) {
    font-size: 1.125rem !important;
    overflow-wrap: anywhere;
  }

  html body[data-home-direction] #main .contact-v1 .contact-form-heading h2 {
    font-size: clamp(2rem, 2.5vw, 2.25rem);
  }

  html body[data-home-direction] #main :is(.res-v5 .res-requests,.res-v5 .res-catalog) h2 {
    font-size: 1.5rem;
  }
}

/* The laptop reading scale gives decision-making text more room than supporting metadata. */
@media (min-width: 768px) {
  html body[data-home-direction] #main :is(
      .ps-compare .ps-compare-table tbody td, .ps-compare .ps-evidence-note,
      .pd-page .pd-hx-config-note, .pd-page .pd-reference-note,
      .pd-page .pd-spec-row dt,
      .biz-quality.biz-page p.biz-scope,
      .om-page .om-custom-copy .om-note, .om-page .oc-route-workbench small.oc-route-disclaimer) {
    font-size: 1.125rem !important;
    line-height: 1.55;
    overflow-wrap: anywhere;
  }

  html body[data-home-direction] #main :is(
      .contact-v1 form label, .contact-v1 form input:not([type="checkbox"]):not([type="radio"]),
      .contact-v1 form select, .contact-v1 form textarea,
      .contact-v1 [form="ps-enquiry-form"]:is(input:not([type="checkbox"]), select, textarea),
      .pd-page .pd-size-quantity, .pd-page .pd-size-quantity input,
      .ps-catalog-search input, .blog-search input,
      .ps-catalog .ps-catalog-search .ps-search-field button, .blog-search button,
      .res-v5 .res-action, .res-v5 .res-button, .ps-compare .ps-small-button) {
    font-size: 1.0625rem !important;
  }

  html body[data-home-direction] :is(
      .site-header .header-enquiry, #quick-panel .quick-footer .button,
      #main .contact-v1 .contact-hero-link, #main .contact-v1 button[type="submit"],
      #main .pd-page .pd-enquire, #main .om-page .om-primary, #main .company-study .cs-button) {
    font-size: 1.125rem !important;
  }

  html body[data-home-direction] #quick-panel .quick-form :is(label, textarea) {
    font-size: 1.0625rem !important;
  }
}

@media (min-width: 768px) {
  html body[data-home-direction] #main .pd-page :is(.pd-kit-note > p,
      .pd-kit-note > strong, .pd-media-note > p, .pd-editorial-note) {
    font-size: 1.125rem !important;
    line-height: 1.55;
  }

  html body[data-home-direction] #main .om-page .om-brief :is(label, input, textarea, select) {
    font-size: 1.0625rem !important;
  }

  html body[data-home-direction] #main .om-page .om-brief button[type="submit"] {
    font-size: 1.125rem !important;
  }
}

/* Locale-specific reading adjustments for laptop layouts. */
@media (min-width: 1000px) {
  /* Keep dense CJK prose comfortable with script-appropriate line spacing. */
  html:lang(zh-CN) body[data-home-direction] #main :is(.pd-hx-config-note,.biz-scope,.res-lead) {
    line-height: 1.7 !important;
  }
  html:lang(ja) body[data-home-direction] #main :is(.pd-hx-config-note,.biz-scope,.res-lead) {
    line-break: strict;
    line-height: 1.75 !important;
  }
  html:lang(ko) body[data-home-direction] #main :is(.pd-hx-config-note,.biz-scope,.res-lead) {
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-height: 1.7 !important;
  }

  /* Give Cyrillic details and Arabic vowel marks more vertical room. */
  html:lang(ru) body[data-home-direction] #main :is(.biz-scope,.pd-hx-config-note) {
    font-size: 1.1875rem !important;
    line-height: 1.7 !important;
  }
  html:lang(ar) body[data-home-direction] #main :is(.biz-scope,.pd-hx-config-note,.pd-reference-note) {
    font-size: 1.1875rem !important;
    line-height: 1.85 !important;
    letter-spacing: normal;
  }
  html:lang(ar) body[data-home-direction] :is(#main .contact-v1 form,#quick-panel .quick-form) :is(label,input,select,textarea) {
    line-height: 1.65;
    letter-spacing: normal;
  }

  /* Let translated calls to action break at word boundaries instead of shrinking the layout. */
  html:is(:lang(de),:lang(fr),:lang(es),:lang(pt),:lang(it),:lang(ru))
    body[data-home-direction] #main :is(.contact-hero-link,.pd-enquire,.om-primary,.cs-button,.res-action) {
    white-space: normal;
    min-inline-size: 0;
    text-wrap: balance;
  }
}

@media (min-width: 1000px) {
  html:lang(ru) body[data-home-direction] #main .biz-quality.biz-page p.biz-scope {
    font-size: 1.1875rem !important;
  }
  html:lang(ar) body[data-home-direction] #main .biz-quality.biz-page p.biz-scope {
    font-size: 1.1875rem !important;
    line-height: 1.85 !important;
  }
}

/* Reading roles across device widths. Metadata such as category badges keeps its own scale. */
:root {
  --device-detail-size: 1rem;
  --device-copy-size: 1rem;
  --device-action-size: .9375rem;
  --device-copy-leading: 1.6;
}
html:lang(ja) { --device-copy-leading: 1.75; }
html:lang(ko) { --device-copy-leading: 1.7; }
html:lang(ar) { --device-copy-leading: 1.8; }

@media (min-width: 768px) {
  :root {
    --device-detail-size: 1.125rem;
    --device-copy-size: 1.125rem;
    --device-action-size: 1rem;
  }
}

html body[data-home-direction] #main :is(
    .pd-support-card > p, .pd-support-card p.res-missing-help,
    .pd-source > p, .pd-pending li, .pd-content-reserved p,
    .pd-page .pd-prepared-faq p, .pd-page .pd-editorial-copy > p:not([class]),
    .cs-history-list p, .cs-work-detail p, .cs-process-item p, .cs-range-copy p,
    .cs-process-intro p, .cs-quality .cs-record > p,
    .cs-collab-heading > p, .cs-section-head > p,
    .oc-process-panel > p, .oc-process-cell > p, .oc-delivery-artwork > p,
    .oc-stage-result, .om-capability-transition, .om-equipment-fit, .om-confirmation > p,
    .res-request-status > p, .res-faq details > p,
    .blog-article-list li, .blog-tool li, p.blog-deck, .blog-opening > p,
    .contact-preparation p, .contact-field-help,
    .biz-section-heading > p, .biz-privacy-content article p) {
  font-size: var(--device-copy-size) !important;
  line-height: var(--device-copy-leading);
  overflow-wrap: anywhere;
}

html:lang(ja) body[data-home-direction] #main :is(.pd-support-card p,.pd-kit-note p,.pd-hx-config-note,.biz-scope) {
  line-break: strict;
}
html:lang(ko) body[data-home-direction] #main :is(.pd-support-card p,.pd-kit-note p,.pd-hx-config-note,.biz-scope) {
  word-break: keep-all;
  overflow-wrap: anywhere;
}
html:is(:lang(de),:lang(fr),:lang(es),:lang(pt),:lang(it),:lang(ru))
  body[data-home-direction] #main :is(.pd-kit-note,.pd-support-card,.biz-facts,.om-scope,.om-tabs) :is(p,a,button,dd) {
  overflow-wrap: anywhere;
}

html body[data-home-direction] #main :is(.pd-related-card h3,.pd-support-card h3,.pd-spec-group h3,
    .pd-source h3,.pd-pending h3,.project-grid h4,.mfg-gallery-heading h3,.blog-request-model h3) {
  font-size: 1.0625rem !important;
}
html body[data-home-direction] #main :is(.blog-step-link h2,.res-record h2,.res-faq h2) {
  font-size: max(1.3125rem, 1em);
}

@media (max-width: 999px) {
  html body[data-home-direction] #main :is(.om-scope a,.om-tabs button,.om-pack-choices button,
      .om-hero-copy .om-action,.oc-route-bottom .om-action,.blog-filter-current) {
    font-size: var(--device-action-size) !important;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767px) {
  html body[data-home-direction] .site-header #site-language {
    font-size: .875rem !important;
  }
  html body[data-home-direction] .site-header #main-nav [data-nav] {
    font-size: 1rem !important;
  }

  html body[data-home-direction] :is(.site-footer .footer-top a,.site-footer .footer-bottom a,
      .site-footer .footer-bottom button,.quick-trigger,.social-trigger) {
    font-size: .9375rem !important;
  }
  html body[data-home-direction] .site-footer .footer-bottom a { overflow-wrap: anywhere; }

  html body[data-home-direction] #main :is(.biz-quality.biz-page .biz-facts :is(dt,dd),
      .biz-quality.biz-page .biz-record-layout .biz-disclosure summary,
      .biz-quality.biz-page .biz-sample-layout :is(dt,dd),
      .biz-quality.biz-page .biz-recognition-grid :is(dt,dd),
      .biz-quality.biz-page .biz-test-table :is(th,td),
      .biz-quality.biz-page p.biz-scope,.biz-quality.biz-page .biz-proof-image > span,
      .biz-quality.biz-page .biz-chapter-buttons button) {
    font-size: 1rem !important;
    line-height: var(--device-copy-leading);
    overflow-wrap: anywhere;
  }
  #main .biz-quality .biz-test-table td { white-space: normal; }

  html body[data-home-direction] #main .pd-page :is(
      .pd-size-dimensions,.pd-spec-row dd,.pd-spec-row dt,.pd-hx-specs :is(th,td),
      .pd-hx-config-note,.pd-reference-note,.pd-kit-note > p,.pd-kit-note > strong,
      .pd-media-note > p,.pd-size-quantity,.pd-size-quantity input,.pd-enquire,.pd-enquire span:not([aria-hidden])) {
    font-size: var(--device-detail-size) !important;
    line-height: var(--device-copy-leading);
    overflow-wrap: anywhere;
  }
  html:is(:lang(de),:lang(fr),:lang(es),:lang(pt),:lang(it),:lang(ru),:lang(en))
    body[data-home-direction] #main .pd-page :is(.pd-hx-config-note,.pd-kit-note > p) {
    font-size: 1.0625rem !important;
  }

  html body[data-home-direction] #main :is(.pd-section-nav button,.pd-reading-nav button,
      .pd-related-card :is(.pd-related-type,.pd-related-name,.pd-related-view),
      .pd-related-spec :is(strong,span),.pd-support-card a,.pd-return-results span,
      .pd-image-action > span,.pd-prepared-download span,.pd-media-thumb-label,
      .pd-breadcrumb a,.ps-selection-links a,.cs-text-link,.cs-work-place small,
      .mfg-photo .mfg-caption,.res-action,.blog-search button,.ps-search-field button,
      .contact-v1 summary,.contact-v1 button[type=submit],.ps-compare-table button) {
    font-size: var(--device-action-size) !important;
  }
  html body[data-home-direction] #main :is(.contact-v1,.om-brief,.blog-search,.ps-catalog-search)
    :is(label,input:not([type=checkbox]):not([type=radio]),select,textarea),
  html body[data-home-direction] #quick-panel :is(label,textarea) {
    font-size: 1rem !important;
    min-width: 0;
  }

  html body[data-home-direction] #main :is(.mfg-facts > p,.cs-record small,
      .blog-request-notice,.biz-small.biz-privacy-note,.pd-content-reserved .res-missing-help) {
    font-size: 1rem !important;
    line-height: var(--device-copy-leading);
  }
  html body[data-home-direction] #main figure figcaption { font-size: .875rem !important; }
}

html body[data-home-direction] #main :is(
    .om-section > div > p:not([class]), .project-grid > li > p, .project-grid > div > p,
    .oc-electric > p, .om-equipment-copy > p:not([class]), .oc-delivery-artwork p,
    .oc-process-panel p, .oc-route-bottom > div > p,
    .res-requests > div > p:not([class]), .res-requests p.res-hint,
    .biz-quality .biz-recognition-grid .biz-small, .biz-quality-scene p:not(.eyebrow),
    .pd-size-options > p, .pd-section-heading > p,
    .blog-template-hint, .contact-form-heading .contact-form-lead) {
  font-size: var(--device-copy-size) !important;
  line-height: var(--device-copy-leading);
  overflow-wrap: anywhere;
}
html body[data-home-direction] #main .pd-page .pd-reserved-grid h3 {
  font-size: 1.0625rem !important;
}
@media (min-width: 1000px) {
  html body[data-home-direction] #main .dmluma-blog p.blog-deck {
    font-size: 1.3125rem !important;
  }
}
@media (min-width: 768px) and (max-width: 999px) {
  html body[data-home-direction] :is(.quick-trigger,.social-trigger) {
    font-size: 1rem !important;
  }
  html body[data-home-direction] #main .om-page :is(.om-hero-copy > p,.om-custom-copy > p:not([class]),
      .oc-manufacturing-needs,.om-intro) {
    font-size: var(--device-copy-size) !important;
  }
}
@media (max-width: 767px) {
  html body[data-home-direction] #main :is(
      .biz-page .biz-crumb a,.om-page .om-action,.om-page .om-reference,
      .cs-art-stage .cs-art-label) {
    font-size: var(--device-action-size) !important;
  }
  html body[data-home-direction] #main :is(
      .mfg-heading > p,.company-study .cs-closing-copy,
      .biz-photo figcaption,.biz-photo figcaption span,
      .cs-research-note,.mfg-note,.company-study .cs-legal) {
    font-size: 1rem !important;
    line-height: var(--device-copy-leading);
  }
}

html body[data-home-direction] #main :is(.om-section > section > p:not([class]),.om-section .choices article > p,
    .oc-manufacturing-needs,.res-requests article > p:not([class]),
    .blog-article .blog-prose .blog-template-hint) {
  font-size: var(--device-copy-size) !important;
  line-height: var(--device-copy-leading);
}
@media (max-width: 767px) {
  html body[data-home-direction] #main .dmluma-blog :is(table td,table th,dl dd),
  html body[data-home-direction] #main .mfg-facts dd > small {
    font-size: 1rem !important;
  }
  html body[data-home-direction] #main .dmluma-blog :is(table td,table th) {
    white-space: normal;
    overflow-wrap: anywhere;
  }
}

html body[data-home-direction] #main :is(.om-page .om-section article > p:not([class]),
    .om-page .oc-route-bottom p,.res-v5 .res-requests p.res-hint,
    .res-v5 .res-requests p:not([class]),.pd-page .pd-hx-width-guide p,
    .pd-page .pd-description,.pd-page .pd-prepared-item > p) {
  font-size: var(--device-copy-size) !important;
  line-height: var(--device-copy-leading);
}
@media (max-width: 767px) {
  html body[data-home-direction] #main :is(.biz-page .biz-actions :is(a,button),
      .biz-quality-scene .text-link,.biz-record-layout .text-link,
      .res-v5 .res-crumb a,.res-v5 .res-next .res-button,.ps-compare .ps-breadcrumb a,
      .ps-compare .ps-text-link,.pd-hx-secondary :is(a,button),.om-mobile-paths strong) {
    font-size: var(--device-action-size) !important;
  }
  html body[data-home-direction] #main :is(
      .biz-next p:not(.eyebrow),.biz-recognition-grid p:not(.eyebrow),
      .res-v5 :is(.res-record,.res-catalog,.res-next) p,.ps-compare .ps-catalog-intro-copy > p,
      .ps-compare .ps-empty > p,.om-hero-copy > p,.om-custom-copy > p:not([class]),
      .om-section > p:not([class]),.om-page .om-custom-copy .om-note,
      .ps-clear-details > span) {
    font-size: var(--device-copy-size) !important;
    line-height: var(--device-copy-leading);
  }
  html body[data-home-direction] #main .res-v5 .res-catalog h2 { font-size: 1.3125rem; }
  html body[data-home-direction] #main .om-mobile-paths span:not([aria-hidden]) { font-size: .875rem; }
}

html body[data-home-direction] #main .om-page .om-faq details > p,
html body[data-home-direction] #main .contact-v1 .ps-clear-details :is(p,p > span) {
  font-size: var(--device-copy-size) !important;
  line-height: var(--device-copy-leading);
}
@media (max-width: 767px) {
  html body[data-home-direction] #main .contact-v1 .ps-clear-details :is(summary,button) {
    font-size: var(--device-action-size) !important;
  }
}

/* Keep localized actions readable as their labels wrap on narrower screens. */
@media (max-width: 1099px) {
  #main :is(.res-action,.res-button,.pd-enquire,.contact-hero-link,.om-action):is(:lang(de),:lang(fr)) {
    white-space: normal;
    min-inline-size: 0;
    overflow-wrap: anywhere;
    hyphens: auto;
    line-height: 1.45;
  }
  #main :is(.pd-support-card p,.res-v5 .res-requests p,.biz-quality p.biz-scope):lang(ja) {
    line-break: strict;
  }
  #main :is(.pd-support-card p,.res-v5 .res-requests p,.biz-quality p.biz-scope):lang(ko) {
    word-break: keep-all;
    overflow-wrap: anywhere;
  }
}

@media (max-width: 767px) {
  html:is(:lang(ru),:lang(ar)) body[data-home-direction] #main .biz-quality.biz-page p.biz-scope {
    font-size: 1.0625rem !important;
    line-height: var(--device-copy-leading);
  }
}

/* Prevent the company call to action from extending past its text column. */
@media (max-width: 600px) {
  html body[data-home-direction] #main .company-study .cs-intro .cs-button {
    box-sizing: border-box;
    max-inline-size: 100%;
    white-space: normal;
    overflow-wrap: anywhere;
    text-align: start;
  }
  #main .company-study .cs-intro .cs-button > span { flex-shrink: 0; }
  #main .company-study .cs-intro .cs-lead:lang(en) { text-wrap: balance; }
}

/* Use the full content width for the cooperation diagram at tablet sizes. */
@media (min-width: 761px) and (max-width: 960px) {
  html body[data-home-direction] #main .om-page .oc-route-workbench {
    grid-template-columns: minmax(0, 1fr);
    gap: 24px;
    padding-inline: 16px;
  }
  #main .om-page .oc-route-workbench .oc-route-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
  }
  #main .om-page .oc-route-workbench .oc-route-tag {
    overflow-wrap: break-word;
    word-break: normal;
  }
}

@media (max-width: 767px) {
  html body[data-home-direction] #main .res-v5 > .res-scope {
    font-size: 1rem !important;
    line-height: var(--device-copy-leading, 1.6);
  }
}
