/* Bounded successor to the 9a66f626 presentation. Original styles stay intact. */
[data-approved-preview].approved-preview-bridge .rows > a.row:not(:has(*)) {
  display: block;
  line-height: 1.5;
  overflow-wrap: break-word;
  word-break: normal;
}
[data-native-application="mining-industrial-machinery"] .accessory-grid > .accessory-item:only-child {
  grid-column: 1 / -1;
}
/* Preserve the original scene geometry at desktop and narrow widths alike. */
[data-approved-preview].approved-preview-wind img.scene {
  height: auto;
  aspect-ratio: 1250 / 1100;
}

/* Direct section containers in the three nested English technical disclosures.
   Split FAQ/guide columns and unrelated component widths stay unchanged. */
#grinding-technical-details .source-port-source-handoff > .product-supply-summary > .source-port-container,
#grinding-technical-details .source-port-source-handoff > .source-route-passport > .source-port-container,
#cc-fastener-technical .source-port-source-handoff > .source-route-passport > .source-port-container,
#cc-fastener-technical .source-port-source-handoff > .source-port-source-process > .source-port-container,
#cc-fastener-technical .source-port-source-handoff > .source-port-gallery--compact > .source-port-container,
#cc-fastener-technical .source-port-source-handoff > .source-port-inquiry > .source-port-container,
#cc-tension-technical .source-port-source-handoff > .source-route-passport > .source-port-container,
#cc-tension-technical .source-port-source-handoff > .source-port-buyer-details > .source-port-container,
#cc-tension-technical .source-port-source-handoff > .source-port-source-process > .source-port-container,
#cc-tension-technical .source-port-source-handoff > .source-port-gallery--compact > .source-port-container,
#cc-tension-technical .source-port-source-handoff > .source-port-inquiry > .source-port-container {
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

#shaft-native-route-details #production-handoff .source-port-source-process__grid > div > p:not(.source-port-label),
#cc-fastener-technical #production-handoff .source-port-source-process__grid > div > p:not(.source-port-label),
#cc-tension-technical #production-handoff .source-port-source-process__grid > div > p:not(.source-port-label),
#heavy-native-route-details #production-handoff .source-port-source-process__grid > div > p:not(.source-port-label) {
  color: #dbe4e8;
}

#shaft-native-route-details .source-port-inquiry a.source-port-button--primary {
  color: #17384b;
  background: #fff;
  transition: none;
}
#shaft-native-route-details .source-port-inquiry a.source-port-button--primary:is(:hover, :focus-visible, :active) {
  color: #fff;
  background: #17384b;
}
#shaft-native-route-details .source-port-inquiry a.source-port-button--primary:focus-visible {
  outline: 2px solid #17384b;
  outline-offset: 3px;
}

/* Restore the intended crop dimensions; keep the original photo and offsets. */
.cc-page .cc-native-content .hydraulic-offering__crop > img {
  max-width: none;
}

#main-content #shaft-native-route-details .source-port-faq__list summary {
  padding-inline-end: 2.5rem;
}
#main-content #shaft-native-route-details .source-port-faq__list summary::after {
  right: auto;
  inset-inline-end: 0;
}
[data-approved-preview].approved-preview-marine .parts-foot > span::before { content: none; }
[data-approved-preview].approved-preview-marine .application-card-copy .application-action,
[data-approved-preview].approved-preview-marine .application-card-copy .application-action span {
  color: #f8f8f5;
}
/* Only the six verified light technical intros, never the dark hero. */
main[data-grades-approved="v1"]:is([data-grade-page="42crmo4"], [data-grade-page="40cr"], [data-grade-page="ck45-1045"], [data-grade-page="34crnimo6"], [data-grade-page="35crmo"], [data-grade-page="65mn"]) .gg-native .gg-native-intro .source-port-hero__lead {
  color: var(--gg-navy, #092d47);
}
/* The older Arabic 4140 hero has a wide copy column, but a 10ch title cap. */
html[lang="ar"] .grade-source-detail.source-port-hero[data-grade-detail="42crmo4-4140-round-bar"] #source-grade-title {
  max-width: 100%;
}
html[lang="ar"] .grade-source-detail.source-port-hero[data-grade-detail="42crmo4-4140-round-bar"] #source-grade-title > span {
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}
@media (max-width: 720px) {
  /* Preserve both controls and reserve scrollable space at document End. */
  html[lang="es"] body:has([data-native-application="ports-marine-infrastructure"] .application-inquiry-launcher) .site-footer .footer-legal,
  html[lang="es"] body:has([data-native-application="mining-industrial-machinery"] .application-inquiry-launcher) .site-footer .footer-legal {
    padding-block-end: calc(18px + 6rem + env(safe-area-inset-bottom, 0px));
  }
}
@media (max-width: 1100px) {
  /* Match the existing RTL specificity; reset both physical offsets. */
  [data-approved-preview].approved-preview-mining[dir] #approved-mining-mining-scene12 {
    width: 100%;
    max-width: 100%;
    left: auto;
    right: auto;
    transform: none;
  }
}
@media (max-width: 900px) {
  html[lang="ar"] .grade-source-detail.source-port-hero[data-grade-detail="42crmo4-4140-round-bar"] .source-port-hero__grid {
    grid-template-columns: minmax(0, 1fr);
  }
  html[lang="ar"] .grade-source-detail.source-port-hero[data-grade-detail="42crmo4-4140-round-bar"] .source-port-hero__copy {
    min-width: 0;
  }
  [data-approved-preview].approved-preview-oil-gas .steps > article > small {
    flex: 0 0 auto;
    white-space: nowrap;
  }
  [data-approved-preview].approved-preview-oil-gas .steps > article > div { min-width: 0; }
  [data-approved-preview].approved-preview-bridge .scene > img {
    height: auto;
    aspect-ratio: 1600 / 900;
  }
  [data-approved-preview].approved-preview-marine .surround-detail {
    grid-template-columns: minmax(0, 1fr);
  }
  [data-approved-preview].approved-preview-marine .surround-detail .component-study,
  [data-approved-preview].approved-preview-marine .surround-detail .study-use,
  [data-approved-preview].approved-preview-marine .surround-detail .study-detail {
    grid-column: 1;
    grid-row: auto;
    min-width: 0;
  }
}
@media (min-width: 1101px) {
  [data-approved-preview].approved-preview-marine[dir="rtl"] .surround-intro {
    position: static;
    inset: auto;
    margin-block: 14px 4px;
    margin-inline: 0;
  }
}
@media (max-width: 650px) {
  body.resource-maison.resource-studio .resource-hub {
    grid-template-columns: minmax(0, 1fr);
  }
  body.resource-maison.resource-studio .maison-hero {
    height: auto;
    min-height: 0;
    max-height: none;
    min-width: 0;
  }
  body.resource-maison.resource-studio .maison-hero__content {
    width: 100%;
    max-width: none;
    min-width: 0;
  }
  body.resource-maison.resource-studio #resource-decision-title {
    width: 100%;
    max-width: none;
    font-size: clamp(2.25rem, 9vw, 3.5rem) !important;
    line-height: 1.05 !important;
    transform: none;
    overflow-wrap: break-word;
    word-break: normal;
  }
}
