/**
 * HOW TALL KAB'S PARDOT FRAMES ARE BELOW 768px. Hand-written and ours, written in
 * the vendor's vocabulary (a frame's `src`), so it lives beside the other vendor
 * sheets rather than in `src/styles/`. Linked by `VendorForm` in form-section.tsx.
 *
 * ── WHY ──────────────────────────────────────────────────────────────────────────
 * A cross-origin frame cannot size itself to its content, and a Pardot form reflows
 * taller as its frame narrows: the pledge form is 447px tall in our 672px column and
 * 657px in a 320px phone's 272px column. One height cannot serve both, so a frame
 * sized for desktop scrolled INSIDE the band on a phone, with the submit below the
 * frame's fold. Rod ruled 2026-10-08 that every form shows whole at every size.
 *
 * At 768px and up the band's column is 672px wide and the frame takes the
 * height in Contentful (`form.embedHeight`). These rules apply only below it.
 *
 * ── HOW THE NUMBERS WERE MEASURED (2026-10-08) ───────────────────────────────────
 * Each form's page was copied to the local origin (Pardot's tracker script removed;
 * every other script kept, so reCAPTCHA renders) and framed at the band's column
 * width. Column = viewport − 2 × `--spacing-gutter` (clamp(24px, 14px + 3.13vw,
 * 64px)). The copies matched the live forms within the body margin at 800px.
 * A form only gets shorter as its frame widens, so each band below is sized at
 * its NARROWEST viewport: content height + 40px (room for Pardot's validation
 * messages), rounded up to 10.
 *
 *   viewport below  column  pledge  2qttcj  2rr42n  2nt6m2   (content height, px)
 *      768         572     447     630     786     711
 *      640         497     477     654     823     767
 *      560         422     507     678     896     861
 *      480         405     537     702     915     879
 *      462         390       ·       ·    1157    1064
 *      446         375     567       ·    1193    1119
 *      430         360       ·     726    1230    1156
 *      414         337     597       ·    1329    1210
 *      390         323       ·     742    1477    1359
 *      375         309     627     790    1586    1468
 *      360         272     657     814    1645    1527
 *
 * A `·` keeps the wider band's height. The contact forms (2rr42n, 2nt6m2) set
 * labels beside inputs from a 405px column (a 462px viewport) and stack them below
 * it, and their consent text rewraps line by line as the column narrows — so they
 * swing ~700px across the phone range, which is why it is cut finely. 2h5132
 * serves the same page as 2qs36s.
 * 2rp5tp (275) and 2rv7rr (422) are the same height at every width, so their
 * Contentful 350 and 500 always fit and they need no rule.
 *
 * ⚠ THE TWO CONTACT FORMS STILL SCROLL SIDEWAYS BELOW A 375px VIEWPORT. Their
 * reCAPTCHA is a fixed 304px widget, wider than a 272–322px column; nothing outside
 * the frame can change that. Every field is still reachable.
 *
 * A form URL with no rule here keeps its Contentful height at every width. Add a
 * rule, measured the same way, when a new Pardot form is placed.
 */

@media (max-width: 767.98px) {
  iframe[src="https://go.kab.org/l/969243/2024-12-13/2qs36s"],
  iframe[src="https://go.kab.org/l/969243/2022-06-30/2h5132"] {
    height: 490px;
  }
  iframe[src="https://go.kab.org/l/969243/2025-01-15/2qttcj"] {
    height: 670px;
  }
  iframe[src="https://go.kab.org/l/969243/2026-01-07/2rr42n"] {
    height: 830px;
  }
  iframe[src="https://go.kab.org/l/969243/2023-04-05/2nt6m2"] {
    height: 760px;
  }
}

@media (max-width: 639.98px) {
  iframe[src="https://go.kab.org/l/969243/2024-12-13/2qs36s"],
  iframe[src="https://go.kab.org/l/969243/2022-06-30/2h5132"] {
    height: 520px;
  }
  iframe[src="https://go.kab.org/l/969243/2025-01-15/2qttcj"] {
    height: 700px;
  }
  iframe[src="https://go.kab.org/l/969243/2026-01-07/2rr42n"] {
    height: 870px;
  }
  iframe[src="https://go.kab.org/l/969243/2023-04-05/2nt6m2"] {
    height: 810px;
  }
}

@media (max-width: 559.98px) {
  iframe[src="https://go.kab.org/l/969243/2024-12-13/2qs36s"],
  iframe[src="https://go.kab.org/l/969243/2022-06-30/2h5132"] {
    height: 550px;
  }
  iframe[src="https://go.kab.org/l/969243/2025-01-15/2qttcj"] {
    height: 720px;
  }
  iframe[src="https://go.kab.org/l/969243/2026-01-07/2rr42n"] {
    height: 940px;
  }
  iframe[src="https://go.kab.org/l/969243/2023-04-05/2nt6m2"] {
    height: 910px;
  }
}

@media (max-width: 479.98px) {
  iframe[src="https://go.kab.org/l/969243/2024-12-13/2qs36s"],
  iframe[src="https://go.kab.org/l/969243/2022-06-30/2h5132"] {
    height: 580px;
  }
  iframe[src="https://go.kab.org/l/969243/2025-01-15/2qttcj"] {
    height: 750px;
  }
  iframe[src="https://go.kab.org/l/969243/2026-01-07/2rr42n"] {
    height: 960px;
  }
  iframe[src="https://go.kab.org/l/969243/2023-04-05/2nt6m2"] {
    height: 920px;
  }
}

@media (max-width: 461.98px) {
  iframe[src="https://go.kab.org/l/969243/2026-01-07/2rr42n"] {
    height: 1200px;
  }
  iframe[src="https://go.kab.org/l/969243/2023-04-05/2nt6m2"] {
    height: 1110px;
  }
}

@media (max-width: 445.98px) {
  iframe[src="https://go.kab.org/l/969243/2024-12-13/2qs36s"],
  iframe[src="https://go.kab.org/l/969243/2022-06-30/2h5132"] {
    height: 610px;
  }
  iframe[src="https://go.kab.org/l/969243/2026-01-07/2rr42n"] {
    height: 1240px;
  }
  iframe[src="https://go.kab.org/l/969243/2023-04-05/2nt6m2"] {
    height: 1160px;
  }
}

@media (max-width: 429.98px) {
  iframe[src="https://go.kab.org/l/969243/2025-01-15/2qttcj"] {
    height: 770px;
  }
  iframe[src="https://go.kab.org/l/969243/2026-01-07/2rr42n"] {
    height: 1270px;
  }
  iframe[src="https://go.kab.org/l/969243/2023-04-05/2nt6m2"] {
    height: 1200px;
  }
}

@media (max-width: 413.98px) {
  iframe[src="https://go.kab.org/l/969243/2024-12-13/2qs36s"],
  iframe[src="https://go.kab.org/l/969243/2022-06-30/2h5132"] {
    height: 640px;
  }
  iframe[src="https://go.kab.org/l/969243/2026-01-07/2rr42n"] {
    height: 1370px;
  }
  iframe[src="https://go.kab.org/l/969243/2023-04-05/2nt6m2"] {
    height: 1250px;
  }
}

@media (max-width: 389.98px) {
  iframe[src="https://go.kab.org/l/969243/2025-01-15/2qttcj"] {
    height: 790px;
  }
  iframe[src="https://go.kab.org/l/969243/2026-01-07/2rr42n"] {
    height: 1520px;
  }
  iframe[src="https://go.kab.org/l/969243/2023-04-05/2nt6m2"] {
    height: 1400px;
  }
}

@media (max-width: 374.98px) {
  iframe[src="https://go.kab.org/l/969243/2024-12-13/2qs36s"],
  iframe[src="https://go.kab.org/l/969243/2022-06-30/2h5132"] {
    height: 670px;
  }
  iframe[src="https://go.kab.org/l/969243/2025-01-15/2qttcj"] {
    height: 830px;
  }
  iframe[src="https://go.kab.org/l/969243/2026-01-07/2rr42n"] {
    height: 1630px;
  }
  iframe[src="https://go.kab.org/l/969243/2023-04-05/2nt6m2"] {
    height: 1510px;
  }
}

@media (max-width: 359.98px) {
  iframe[src="https://go.kab.org/l/969243/2024-12-13/2qs36s"],
  iframe[src="https://go.kab.org/l/969243/2022-06-30/2h5132"] {
    height: 700px;
  }
  iframe[src="https://go.kab.org/l/969243/2025-01-15/2qttcj"] {
    height: 860px;
  }
  iframe[src="https://go.kab.org/l/969243/2026-01-07/2rr42n"] {
    height: 1690px;
  }
  iframe[src="https://go.kab.org/l/969243/2023-04-05/2nt6m2"] {
    height: 1570px;
  }
}
