/* ============================================================================
   One JTL contact form (/de/one-jtl/, /en/one-jtl/) — fix the clipped "SENDEN"
   submit button.
   ----------------------------------------------------------------------------
   Bug (QA, prod): on the One JTL "Dein Business. Auf dem nächsten Level." /
   "Your Business. On the next level." contact card, the orange SENDEN submit
   button is sliced off at the bottom edge of the HubSpot form.

   Root cause: the form is a HubSpot iframe (`iframe.hs-form-iframe`). HubSpot's
   auto-resize script set the iframe to height:656px (inline), but the form's
   own content is 726px tall at the desktop 2-column layout — so the last ~70px,
   which includes the SENDEN button, is clipped. (Verified live: iframe 656 vs
   contentDocument.body.scrollHeight 726, submit bottom 665 > 656.) The parents
   are all overflow:visible, so the clip is purely the iframe's short height.
   custom-clone.css already sets `min-height:500px` on these forms, but 500 < 656
   so it never engages.

   Fix: raise the iframe's min-height above the content height so it can't be
   shorter than its own form. 740px clears the 726px desktop content with a
   small buffer; on narrower/mobile layouts the form stacks taller and HubSpot's
   own (larger) inline height applies, so min-height never clips there.

   Specificity: this must beat custom-clone.css's
   `section.product-support-section.orange .basic-card-widget iframe[id^="hs-form"]`
   (0,4,2) !important rule, so we reuse that exact selector and prepend the page
   body class → (0,5,3).

   IMPORTANT — page-id scope differs per environment (verified via SSH wp-cli):
       DE One JTL  : 326092  on BOTH staging (b376u019-a) and prod (www)
       EN One JTL  : 326283  on STAGING   /  326404  on PROD   <-- the ids DIFFER
   The One JTL page was rebuilt at new ids after the offline clone's DB dump, so
   the clone's copy (325408/325712) is stale and — being offline — cannot render
   the HubSpot form at all (rule 3 blocks js-eu1.hsforms.net). This rule was
   therefore verified by injecting it on the LIVE www.jtl-software.com pages.
   We scope to all THREE real ids so the fix engages on staging AND prod for both
   languages; the DE id is shared, the two EN ids cover each env's EN twin. Loads
   via the theme/jtl/overrides/*.css glob in 10-jtl-redesign-overrides.php.
   ============================================================================ */

body.page-id-326092 section.product-support-section.orange .basic-card-widget iframe[id^="hs-form"],
body.page-id-326283 section.product-support-section.orange .basic-card-widget iframe[id^="hs-form"],
body.page-id-326404 section.product-support-section.orange .basic-card-widget iframe[id^="hs-form"] {
    min-height: 740px !important;
}
