/* Mobile refinements only: desktop composition and adaptive image frames stay intact. */
.mobile-product-intro { display: none; }
@media screen and (max-width: 560px) {
  .site-header, .site-header.is-scrolled { gap: 8px; padding-inline: 5%; }
  .brand { min-width: 100px; flex-shrink: 0; }
  .brand .logo-window { width: 100px; height: 25px; }
  .header-actions { gap: 5px; flex-shrink: 0; }
  .header-cta, [dir=ltr] .header-cta { font-size: 11px; white-space: nowrap; gap: 6px; padding: 8px 9px; min-height: 44px; align-items: center; }
  .header-cta span, [dir=ltr] .header-cta>span { font-size: 18px; }
  .language-toggle { min-width: 32px; min-height: 44px; display: grid; place-items: center; }
  .menu-toggle { width: 44px; height: 44px; }
  .hero { height: auto; min-height: 0; padding-bottom: 165px; }
  .hero-body { padding-top: 132px; }
  .hero-body>.eyebrow { margin-bottom: 20px; }
  .hero-copy { margin-top: 18px; }
  .hero-buttons { margin-top: 24px; gap: 18px; }
  .hero-project-caption { bottom: 92px; }
  .project-form .field-row, .oem-enquiry .field-row, .oem-enquiry .technical-fields-grid { grid-template-columns: minmax(0,1fr); gap: 0; }
  .project-form input, .project-form select, .project-form textarea, .oem-enquiry .technical-fields input { font-size: 16px; }
  [data-resource-kind="product"] .catalog-heading { margin-bottom: 22px; }
  [data-resource-kind="product"] .catalog-heading>p { display: none; }
  [data-resource-kind="product"] .catalog-heading h1 { font-size: 30px; line-height: 1.45; }
  .product-hero-grid { gap: 20px; }
  .mobile-product-intro { display: grid; gap: 16px; }
  .mobile-product-intro>.button { justify-content: space-between; }
  .mobile-product-intro details { border-bottom: 1px solid var(--line, #d9e0e6); padding-bottom: 12px; }
  .mobile-product-intro summary { cursor: pointer; padding-block: 10px; min-height: 44px; color: var(--accent); font-size: 15px; }
  .mobile-product-intro details p { font-size: 16px; line-height: 1.9; padding-block: 8px; }
}

/* Keep intrinsic card sizes from widening the RTL page (including iOS text sizing). */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media screen and (max-width: 800px) {
  .oem-home-inner, .oem-home-inner>div { min-width: 0; max-width: 100%; }
  .oem-home .button { max-width: 100%; }
  .expertise.work-section .work-grid { grid-template-columns: minmax(0, 1fr); }
  .expertise.work-section .expertise-pair { min-width: 0; max-width: 100%; }
  .expertise.work-section .section-heading,
  .expertise.work-section .section-heading>div,
  .expertise.work-section .section-heading>p { min-width: 0; max-width: 100%; overflow-wrap: anywhere; }
}
@media screen and (max-width: 560px) {
  .expertise.work-section .section-heading { width: 100%; }
  .expertise-pair>.work-section-card { width: 100%; max-width: 100%; min-width: 0; height: 390px; min-height: 0; aspect-ratio: auto; }
}
