/* JP-1194 — Partner-network hero: contained, centred card layout + new image.
   Supersedes the earlier full-bleed treatment (the image was pulled up to the
   page top behind the nav and run past the right viewport edge). This brings the
   hero into the same pattern as the Warenwirtschaft hero: the image is held
   inside the container grid, starts below the breadcrumb, and is centred
   vertically against the text block, as a compact rounded card.

   Scoped to the partner-network page. The DE page-id also matches the EN twin
   via WPML, and the shared, language-neutral section hook keeps both twins in
   sync — regardless of each twin's own upload filename. */

/* Swap in the card image on every breakpoint. The previous demo image was
   cropped for the full-bleed crescent and reads wrong once contained; the card
   image is authored for the contained layout. Keyed on the page + section only,
   so both language twins pick it up even though each references a different
   upload id. */
body.page-id-234698 section.partner-segment-hero-section .partner-heading-image img {
  content: url("jp1194-assets/jtl-partnernetzwerk-hero.webp");
  width: 100%;
  height: auto;
  max-width: none;
  border: 0;
}

@media (min-width: 1366px) {
  /* Centre the image column vertically against the text block — matching the
     Warenwirtschaft hero row — instead of both columns being top-aligned. */
  body.page-id-234698 section.partner-segment-hero-section .partner-heading-wrapper {
    align-items: center;
  }

  /* Hold the image inside the container gutter at the reference hero's footprint
     (~600px wide, ~588px tall at this aspect) rather than the widget's default
     474px cap, so it reads as the same size card as the Warenwirtschaft hero. */
  body.page-id-234698 section.partner-segment-hero-section .partner-heading-image-wrapper {
    max-width: 600px;
    width: 100%;
  }
}
