/* Phone-only refinement. Keep every rule inside this boundary: tablets and
   desktop must retain the existing cascade, geometry and interactions. */
@media screen and (max-width: 767px) {
  body.zr-dark-red-public .zr-release-header .navrow {
    height: 72px !important; min-height: 72px !important;
    padding: 10px 20px !important;
    gap: 12px;
  }
  body.zr-dark-red-public .siteheader.zr-release-header { height: 72px !important; min-height: 72px !important; }
  body.zr-dark-red-public .zr-release-header .brand { order: 0; margin-right: auto; }
  body.zr-dark-red-public .zr-release-header .brand img { width: 135px; height: auto; }
  body.zr-dark-red-public .zr-release-header .language { order: 1; }
  body.zr-dark-red-public .zr-release-header .zr-nav-toggle {
    order: 2; min-width: 44px; min-height: 44px; padding: 6px 10px;
  }
  body.zr-dark-red-public .zr-release-header .language summary { min-height: 44px; display: flex; align-items: center; }
  body.zr-dark-red-public .zr-release-header .mainnav {
    max-height: calc(100dvh - 152px - env(safe-area-inset-bottom));
    overscroll-behavior: contain;
    padding: 8px 20px 18px;
  }
  body.zr-dark-red-public .zr-release-header .zr-nav-panel a { padding-block: 13px; }
  body.zr-dark-red-public .zr-release-header .zr-nav-item:not(.is-expanded) > .zr-nav-panel { display: none !important; }
  body.zr-dark-red-public :is(.zr-nav-toggle, .zr-nav-expand, .zr-castings-controls button, .pill, .zr-release-button) { touch-action: manipulation; }

  body.zr-dark-red-public main > .fhero {
    height: auto !important; min-height: 620px !important;
    padding: 124px 20px 76px !important;
  }
  body.zr-dark-red-public .fhero .hero-center { margin-top: 0 !important; width: 100%; }
  body.zr-dark-red-public .fhero .hero-center h1 {
    font-size: clamp(31px, 8.6vw, 38px) !important;
    line-height: 1.14 !important; letter-spacing: -.8px !important; margin-bottom: 22px;
  }
  body.zr-dark-red-public .fhero .hero-kicker { font-size: 10px !important; margin-bottom: 18px; }
  body.zr-dark-red-public .fhero .hero-subline { font-size: 15px !important; line-height: 1.7; margin-bottom: 24px; }
  body.zr-dark-red-public .fhero .hero-actions { gap: 12px; }
  body.zr-dark-red-public .fhero .hero-actions .pill { min-height: 48px; padding: 13px 20px; }
  body.zr-dark-red-public .fhero .video-toggle { min-height: 44px; bottom: 16px; right: 20px; }
  body.zr-dark-red-public main > :is(.zr-home-products, .zr-home-applications) { padding: 32px 20px !important; }
  body.zr-dark-red-public .zr-castings-heading { gap: 14px; margin-bottom: 20px; }
  body.zr-dark-red-public :is(.zr-castings-heading, .zr-home-applications) h2 { font-size: 26px !important; line-height: 1.25; }
  body.zr-dark-red-public .zr-castings-controls button { width: 44px; height: 44px; }
  body.zr-dark-red-public .zr-home-products .zr-category-grid > a { width: 224px; flex-basis: 224px; padding: 16px !important; }
  body.zr-dark-red-public .zr-home-products .zr-category-grid img { height: 150px !important; }
  body.zr-dark-red-public .zr-home-products .zr-category-grid h3 { min-height: 0; margin: 16px 0 10px; font-size: 17px; }
  body.zr-dark-red-public .zr-home-products .zr-category-grid span { margin-top: 14px; }
  body.zr-dark-red-public .zr-castings-caption { margin-top: 8px; }

  body.zr-dark-red-public .fsplit .split-image { min-height: 0 !important; height: 230px !important; }
  body.zr-dark-red-public .fsplit .split-content { padding: 28px 20px !important; }
  body.zr-dark-red-public .fsplit .ftitle,
  body.zr-dark-red-public .fsection .ftitle { font-size: 28px !important; line-height: 1.25 !important; margin-bottom: 20px; }
  body.zr-dark-red-public .fsplit .fcopy { font-size: 15px; line-height: 1.75; }
  body.zr-dark-red-public .fmaterial-list { gap: 8px; }
  body.zr-dark-red-public .fmaterial-list a { min-height: 44px; display: inline-flex; align-items: center; padding: 9px 13px; }
  body.zr-dark-red-public :is(.zr-home-applications, .zr-release-applications) .zr-release-industries { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body.zr-dark-red-public :is(.zr-home-applications, .zr-release-applications) .zr-release-industries > a {
    display: grid; grid-template-columns: 112px minmax(0, 1fr); align-items: center;
    gap: 16px; padding: 16px 0; border-bottom: 1px solid #383033;
  }
  body.zr-dark-red-public :is(.zr-home-applications, .zr-release-applications) .zr-release-industries img { width: 112px; height: 84px; object-fit: cover; }
  body.zr-dark-red-public :is(.zr-home-applications, .zr-release-applications) .zr-release-industries :is(h2, h3) { font-size: 17px; line-height: 1.4; margin: 0; overflow-wrap: anywhere; }

  body.zr-dark-red-public #content.zr-release { padding-top: 96px; }
  body.zr-dark-red-public :is(.zr-release-intro, .zr-cast-hero-copy) h1 { font-size: 32px !important; line-height: 1.18 !important; letter-spacing: -.7px !important; }
  body.zr-dark-red-public .draft-breadcrumb { row-gap: 5px; line-height: 1.7; }
  body.zr-dark-red-public #content.zr-release-castings .zr-equipment-directory { grid-template-columns: minmax(0, 1fr); gap: 0; }
  body.zr-dark-red-public #content.zr-release-castings .zr-equipment-card {
    display: grid; grid-template-columns: 108px minmax(0, 1fr); gap: 16px;
    align-items: start; padding: 20px 0; border-bottom: 1px solid #40353b;
  }
  body.zr-dark-red-public #content.zr-release-castings .zr-equipment-card figure { aspect-ratio: 3 / 2; margin-top: 2px; }
  body.zr-dark-red-public #content.zr-release-castings .zr-equipment-card > div { padding: 0; border: 0; min-width: 0; }
  body.zr-dark-red-public #content.zr-release-castings .zr-equipment-card h3 { font-size: 18px; margin: 0 0 8px; overflow-wrap: anywhere; }
  body.zr-dark-red-public #content.zr-release-castings .zr-equipment-card p { font-size: 13px; line-height: 1.6; margin: 0 0 10px; }
  body.zr-dark-red-public #content.zr-release-castings .zr-equipment-card span { font-size: 12px; line-height: 1.6; }
  body.zr-dark-red-public #content.zr-release-castings .zr-cast-hero { gap: 22px; margin-bottom: 32px; }
  body.zr-dark-red-public #content.zr-release-castings .zr-cast-hero-photo img { aspect-ratio: 16 / 9; }
  body.zr-dark-red-public .zr-release-parts { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  body.zr-dark-red-public .zr-release-parts .zr-casting-card {
    display: grid; grid-template-columns: 96px minmax(0, 1fr);
    column-gap: 16px; row-gap: 7px; padding: 16px; align-content: start;
  }
  body.zr-dark-red-public .zr-release-parts .zr-casting-card figure { grid-column: 1; grid-row: 1 / 4; width: 96px; height: 108px; margin: 0; align-self: center; }
  body.zr-dark-red-public .zr-release-parts .zr-casting-card > :is(h2, strong, p, span) { grid-column: 2; min-width: 0; margin: 0; overflow-wrap: anywhere; }
  body.zr-dark-red-public .zr-release-parts .zr-casting-card h2 { font-size: 18px; line-height: 1.35; }
  body.zr-dark-red-public .zr-release-parts .zr-casting-card p { font-size: 13px; line-height: 1.6; }
  body.zr-dark-red-public .zr-release-parts .zr-casting-card span { font-size: 12px; line-height: 1.6; padding-top: 5px; }

  body.zr-dark-red-public .zr-rfq-page { padding-top: 96px !important; }
  body.zr-dark-red-public .zr-rfq-page header h1 { font-size: 32px; line-height: 1.2; }
  body.zr-dark-red-public #inquiry-form { scroll-margin-top: 92px; }
  body.zr-dark-red-public #inquiry-form label { font-size: 14px; line-height: 1.6; }
  body.zr-dark-red-public #inquiry-form :is(input:not([type=hidden]), textarea, select) {
    font-size: 16px !important; line-height: 1.5; min-height: 48px;
    padding: 12px !important; border-radius: 3px; max-width: 100%;
  }
  body.zr-dark-red-public #inquiry-form textarea { min-height: 144px; }
  body.zr-dark-red-public #inquiry-form .zr-rfq-contact-fields { display: block; }
  body.zr-dark-red-public #inquiry-form .zr-rfq-optional summary { min-height: 48px; padding-block: 12px; line-height: 1.6; cursor: pointer; }
  body.zr-dark-red-public #inquiry-form button[type=submit] { width: 100%; min-height: 50px; font-size: 15px; }
  body.zr-dark-red-public #inquiry-form .zr-rfq-details p { font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }

  body.zr-dark-red-public .draft-contact-rail { gap: 8px; padding-top: 6px; padding-bottom: calc(6px + env(safe-area-inset-bottom)); }
  body.zr-dark-red-public .draft-contact-rail > a {
    flex-direction: column; gap: 3px; min-height: 48px; min-width: 48px;
    width: auto !important; height: auto !important; border: 0 !important;
    border-radius: 0 !important; padding: 2px 8px !important; background: transparent !important;
  }
  body.zr-dark-red-public .draft-contact-rail > a::after { font-size: 10px; line-height: 1.3; color: #eee; }
  body.zr-dark-red-public .draft-contact-rail > a[href^="mailto:"]::after { content: "Email"; }
  body.zr-dark-red-public .draft-contact-rail > a[href*="wa.me"]::after { content: "WhatsApp"; }
  body.zr-dark-red-public .draft-contact-rail > a[href*="linkedin.com"]::after { content: "LinkedIn"; }
  body.zr-dark-red-public .draft-contact-rail > a svg { width: 18px; height: 18px; }
  body.zr-dark-red-public .zr-impeller-mobile-rfq { min-height: 46px; bottom: calc(8px + env(safe-area-inset-bottom)); }
  body.zr-dark-red-public .zr-impeller-route .draft-contact-rail { padding-right: 165px; gap: 0; }
  body.zr-dark-red-public .zr-impeller-route .draft-contact-rail > a { min-width: 44px; padding-inline: 2px !important; }
}
