/* Government page fixes (page review 2026-10-15). Loaded after the theme, on /government/ only. */
/* ---------- Inquiry form ---------- */
/* Form was 1160px wide under a 640px heading and intro; now a 760px column centred under them
   (same width as the HeliIncLink and Airborne Public Safety forms). */
#gov-inquiry { max-width: 760px; margin-left: auto; margin-right: auto; }
/* Spam check: keep its 65px space reserved so the button doesn't jump when it loads; even gaps above and below. */
#gov-inquiry .cf-turnstile { min-height: 65px; margin: 4px 0 20px; }
/* [DR] Button and field focus: Fluent Forms' stock bright blue -> brand navy. */
#gov-inquiry .fluentform, #gov-inquiry.fluentform { --fluentform-primary: #0A285A; }
#gov-inquiry .ff-btn-submit { background-color: #0A285A; border-color: #0A285A; border-radius: 4px; min-height: 44px; padding: 12px 24px; }
/* Keyboard focus: the plugin removes the outline on the button and only tints the field border. */
#gov-inquiry .ff-btn-submit:focus-visible { outline: 2px solid #0A285A; outline-offset: 3px; opacity: 1; }
#gov-inquiry .ff-el-form-control:focus { border-color: #0A285A; box-shadow: 0 0 0 1px #0A285A; }
/* Consent note: was centred under a left-aligned button and #888 (fails contrast); now under the button, slate. */
.gov-consent { max-width: 760px !important; padding: 0 0 80px !important; text-align: left !important; }
.gov-consent p { margin: 0 !important; max-width: none !important; color: #64748B !important; text-wrap: pretty; }
/* ---------- "Mission-Ready Aircraft. Proven Contract Performance." ---------- */
/* Wrapped with "Performance." alone on the second line on iPad landscape; balance the two lines. */
.wpb_raw_html h2 { text-wrap: balance; }
/* (the original What We Deliver cards were replaced by the photo + list 2026-10-19; their fixes went with them) */
/* ---------- Phones ---------- */
@media (max-width: 767px) {
  /* Sections added their own 20px on top of the theme's 45px, leaving a 260px text column; line them up with the form. */
  .wpb_raw_html > .wpb_wrapper > section,
.wpb_raw_html > .wpb_wrapper > div[style*="padding:60px 20px"] { padding-left: 0 !important; padding-right: 0 !important; }
  /* [DR] Headings were 36-42px, five lines deep on a phone. */
  .wpb_raw_html h2, #gov-solutions { font-size: 28px !important; line-height: 1.25 !important; }
  /* Headline between two rules: shorter rules and gap so the words get the width. */
  .wpb_raw_html div[style*="inline-flex"] { gap: 12px !important; }
  .wpb_raw_html div[style*="inline-flex"] > span { width: 20px !important; }
  .wpb_raw_html div[style*="inline-flex"] h2 { font-size: 24px !important; }
  /* 16px in the fields so iPhones don't zoom in when one is tapped. */
  #gov-inquiry .ff-el-form-control { font-size: 16px; }
}
/* phones: the consent note is a sentence, so body-text size (14px), not 13px */
@media (max-width: 767px) {
  body .gov-consent p { font-size: 14px !important; }
}
body .gx-band { width: 100vw; margin-left: calc(50% - 50vw); }
/* shared */
body .gx-eyebrow { margin: 0 0 14px !important; font: 600 12px/1 Montserrat, Arial, sans-serif !important; letter-spacing: 2.5px !important; text-transform: uppercase; color: #64748B !important; }
body .gx-sec { max-width: 1160px; margin: 0 auto; padding: 100px 20px; box-sizing: border-box; }
body .gx-head { max-width: 820px; margin: 0 auto 50px; text-align: center; }
body .gx-h { margin: 0 0 16px !important; font: 700 clamp(30px, 3.2vw, 40px)/1.15 Roboto, Arial, sans-serif !important; color: #0A285A !important; letter-spacing: -.5px; text-wrap: balance; }
body .gx-n { font: 600 12px/1 Montserrat, Arial, sans-serif; letter-spacing: 2px; color: #64748B; }
body .gx-actions { display: flex; flex-wrap: wrap; gap: 14px; }
body .gx-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 50px; padding: 0 26px; border: 1px solid #fff; border-radius: 4px; background: #fff; color: #0A285A !important; text-decoration: none !important;
  font: 600 14px/1 Montserrat, Arial, sans-serif; letter-spacing: 1px; text-transform: uppercase; }
body .gx-btn::after { content: "\2192"; transition: transform .2s; }
body .gx-btn:hover::after { transform: translateX(4px); }
body .gx-btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .6); }
body .gx-btn:focus-visible { outline: 3px solid #c9d9f0; outline-offset: 3px; }
body .gx-ico { width: 24px; height: 24px; display: block; }
body .gx-hero { position: relative; overflow: hidden; min-height: max(520px, calc(100vh - var(--hdr))); box-sizing: border-box; }
/* ---------- Hero: the aircraft over the word (Bennett's pick 2026-10-19). The cutout is the same photo with the sky removed
   (tools/make_gov_hero_cutout.py), laid exactly on top; the blue strip repeats the word as the page heading. ---------- */
/* the sky behind the smaller photo: the photo's own edge colours (grey-blue top left to near white on the right) */
body .gx-h2 { background: linear-gradient(160deg, #8e99a7 0%, #b4bdc9 36%, #e4e9f0 70%, #f4f7fc 100%); }
body .gx-h2-photo, body .gx-h2-cut { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 62% 40%; max-width: none; }
/* one big word behind the aircraft (the blue strip below repeats it as the title); it sinks a little slower than the page scrolls */
body .gx-h2-word { position: absolute; z-index: 1; left: 0; right: 0; top: 12%; margin: 0 !important; text-align: center; white-space: nowrap; will-change: transform;
  font: 900 clamp(84px, 14.2vw, 280px)/1 Roboto, Arial, sans-serif !important; letter-spacing: -.035em; text-transform: uppercase; color: #0A285A !important; }
/* desktops: the aircraft is shown smaller and lower on the right, so the word reads across the sky above it and only the
   rotor and the top of the cabin pass in front (Bennett: "kind of hard to make out the word government"). The photo's
   left and top edges fade into the sky colour; the cutout is laid out the same way so it stays on top of the photo. */
@media (min-width: 900px) {
  body .gx-h2-photo, body .gx-h2-cut { inset: auto 0 0 auto; width: auto; height: 84%; aspect-ratio: 1536 / 1024; object-fit: fill;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 16%), linear-gradient(180deg, transparent 0, #000 12%); -webkit-mask-composite: source-in;
    mask-image: linear-gradient(90deg, transparent 0, #000 16%), linear-gradient(180deg, transparent 0, #000 12%); mask-composite: intersect; }
}
body .gx-h2-cut { z-index: 2; pointer-events: none; }
body .gx-h2-bar { position: absolute; z-index: 3; left: 0; right: 0; bottom: 0; background: #0A285A; }
body .gx-h2-bar-in { max-width: 1160px; margin: 0 auto; padding: 28px 20px; display: flex; align-items: center; justify-content: space-between; gap: 30px; box-sizing: border-box; }
body .gx-h2-bar .gx-eyebrow { color: #c9d9f0 !important; margin-bottom: 10px !important; }
body .gx-h2-title { margin: 0 0 6px !important; font: 700 clamp(26px, 2.5vw, 36px)/1.15 Roboto, Arial, sans-serif !important; color: #fff !important; letter-spacing: -.3px; }
body .gx-h2-sub { margin: 0 !important; font: 400 17px/1.5 "Open Sans", Arial, sans-serif; color: #c9d9f0; }
/* ---- What We Deliver ---- */
body .gx-c2 { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 64px; align-items: start; }
body .gx-c2-photo { position: sticky; top: 150px; aspect-ratio: 4 / 5; border-radius: 4px; overflow: hidden; }
body .gx-c2-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .gx-c2-lead { margin: 0 !important; font: 400 17px/1.6 "Open Sans", Arial, sans-serif; color: #555; }
body .gx-c2-list ol { list-style: none; margin: 30px 0 0; padding: 0; display: grid; gap: 10px; }
body .gx-c2-list li { position: relative; display: grid; grid-template-columns: 52px minmax(0, 1fr); gap: 18px; align-items: start; margin: 0; padding: 22px 64px 22px 22px;
  background: #fff; border: 1px solid #e1e7ef; border-left: 3px solid #0A285A; border-radius: 4px; transition: border-color .25s, transform .25s, background .25s; }
body .gx-c2-list li:hover { border-color: #b9c6d8; border-left-color: #0A285A; background: #f8fafc; transform: translateX(4px); }
body .gx-c2-ico { width: 52px; height: 52px; border-radius: 4px; background: #eaf0f7; display: flex; align-items: center; justify-content: center; }
body .gx-c2-ico svg { width: 24px; height: 24px; display: block; }
body .gx-c2-list li .gx-n { position: absolute; top: 24px; right: 22px; color: #93a3ba; }
body .gx-c2-list h3 { margin: 2px 0 6px !important; font: 700 19px/1.3 Roboto, Arial, sans-serif !important; color: #0A285A !important; }
body .gx-c2-list p { margin: 0 !important; font: 400 15px/1.6 "Open Sans", Arial, sans-serif; color: #555; }
body .gx-c2 { background: #fff; }
body .gx-c2-list ol.js-reveal li { opacity: 0; transform: translateY(18px); }
body .gx-c2-list ol.js-reveal.is-in li { opacity: 1; transform: none; transition: opacity .6s ease calc(var(--i) * .12s), transform .7s cubic-bezier(.2, .8, .2, 1) calc(var(--i) * .12s); }
body .gx-b3 { text-align: center; }
body .gx-b3-h { margin: 0 0 26px !important; font: 700 clamp(34px, 4.4vw, 56px)/1.15 Roboto, Arial, sans-serif !important; color: #0A285A !important; letter-spacing: -1px; }
body .gx-b3-words { position: relative; display: inline-block; vertical-align: bottom; height: 1.2em; width: 6.6em; overflow: hidden; text-align: left; transition: width .5s cubic-bezier(.2, .8, .2, 1); }
body .gx-b3-words span { position: absolute; left: 0; top: 0; white-space: nowrap; color: #64748B; font-style: italic; font-weight: 600; opacity: 0; transform: translateY(100%); transition: transform .55s cubic-bezier(.2, .8, .2, 1), opacity .45s; }
body .gx-b3-words span.is-on { opacity: 1; transform: none; }
body .gx-b3-words span.is-out { opacity: 0; transform: translateY(-100%); }
body .gx-b3-p { max-width: 820px; margin: 0 auto !important; font: 400 18px/1.7 "Open Sans", Arial, sans-serif; color: #333; }
/* ---- Contact heading ---- */
body .gx-k2 { padding-bottom: 70px; }
body .gx-k2-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body .gx-k2-step { padding-top: 22px; border-top: 2px solid #0A285A; text-align: left; }
body .gx-k2-step b { display: block; margin: 12px 0 6px; font: 700 18px/1.3 Roboto, Arial, sans-serif; color: #0A285A; }
body .gx-k2-step p { margin: 0 !important; font: 400 15px/1.6 "Open Sans", Arial, sans-serif; color: #555; }
/* ---- tablets and phones ---- */
@media (max-width: 960px) {
  body .gx-sec { padding: 70px 20px; }
  body .gx-h2-bar-in { flex-direction: column; align-items: flex-start; }
  body .gx-c2 { grid-template-columns: 1fr; gap: 40px; }
  body .gx-c2-photo { position: static; aspect-ratio: 16 / 10; }
  body .gx-k2-row { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  body .gx-c2-list li { grid-template-columns: 40px minmax(0, 1fr); gap: 14px; padding: 18px 40px 18px 16px; }
  body .gx-c2-ico { width: 40px; height: 40px; }
  body .gx-c2-ico svg { width: 20px; height: 20px; }
  body .gx-c2-list li .gx-n { top: 20px; right: 16px; }
  body .gx-c2-list h3 { font-size: 17px !important; }
  /* phones: the word sits above the aircraft (the photo starts lower), so it isn't hidden behind it */
  body .gx-h2-word { top: 7%; font-size: 14.6vw !important; }
  body .gx-h2-photo, body .gx-h2-cut { top: 12%; height: 88%; object-position: 55% 0%; -webkit-mask-image: linear-gradient(180deg, transparent 0, #000 10%); mask-image: linear-gradient(180deg, transparent 0, #000 10%); }
}
/* ---------- Hero, take 3 (2026-11-12, Ben: "hard to read"): no word behind the rotor any more. The aircraft photo sits
   on the right and fades into the sky colour; the title and buttons are navy on the clear sky to its left. Phones: the
   photo on top, the title on a navy panel below. ---------- */
body .gx-h3 { display: flex; align-items: center; background: linear-gradient(160deg, #8e99a7 0%, #b4bdc9 36%, #e4e9f0 70%, #f4f7fc 100%); }
body .gx-h3-photo { position: absolute; right: 0; bottom: 0; height: 92%; width: auto; aspect-ratio: 1536 / 1024; max-width: none; object-fit: cover; object-position: 62% 40%;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 12%); -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 0, #000 22%), linear-gradient(180deg, transparent 0, #000 12%); mask-composite: intersect; }
body .gx-h3-in { position: relative; z-index: 1; width: 100%; max-width: 1160px; margin: 0 auto; padding: 60px 20px; box-sizing: border-box; }
body .gx-h3-text { max-width: 500px; padding: 34px 0; }
body .gx-h3 .gx-eyebrow { color: #0A285A !important; opacity: .75; }
body .gx-h3-title { margin: 0 0 18px !important; font: 900 clamp(44px, 5vw, 76px)/1.02 Roboto, Arial, sans-serif !important; letter-spacing: -.02em; color: #0A285A !important; text-wrap: balance; }
body .gx-h3-sub { margin: 0 0 30px !important; font: 400 20px/1.5 "Open Sans", Arial, sans-serif; color: #1e3a66; }
body .gx-h3 .gx-btn { background: #0A285A; border-color: #0A285A; color: #fff !important; }
body .gx-h3 .gx-btn-ghost { background: rgba(255, 255, 255, .35); color: #0A285A !important; border-color: #0A285A; }
body .gx-h3 .gx-btn:focus-visible { outline-color: #0A285A; }
@media (max-width: 899px) {
  body .gx-h3 { display: block; min-height: 0; background: #0A285A; }
  body .gx-h3-photo { position: static; display: block; width: 100%; height: 46vh; min-height: 280px; aspect-ratio: auto; -webkit-mask-image: none; mask-image: none; }
  body .gx-h3-in { padding: 30px 20px 40px; }
  body .gx-h3-text { padding: 0; }
  body .gx-h3 .gx-eyebrow { color: #c9d9f0 !important; opacity: 1; }
  body .gx-h3-title { font-size: 36px !important; color: #fff !important; }
  body .gx-h3-sub { color: #c9d9f0; font-size: 17px; }
  body .gx-h3 .gx-btn { background: #fff; border-color: #fff; color: #0A285A !important; }
  body .gx-h3 .gx-btn-ghost { background: transparent; color: #fff !important; border-color: rgba(255, 255, 255, .6); }
}
/* a soft wash of the sky colour over the left side keeps the tail and rotor blur from showing through the words */
@media (min-width: 900px) {
  body .gx-h3::after { content: ""; position: absolute; inset: 0; pointer-events: none;
    background: linear-gradient(90deg, rgba(166, 176, 190, .9) 0%, rgba(176, 186, 199, .78) 30%, rgba(190, 199, 210, 0) 52%); }
  body .gx-h3-photo { height: 86%; }
  body .gx-h3-text { max-width: 600px; }
  body .gx-h3-title { font-size: clamp(44px, 4.4vw, 64px) !important; }
}

/* ---------- Flow pass (2026-11-12): Built for + Proven Partner side by side on a navy band ---------- */
body .gx-duo-band { background: #0A285A; }
body .gx-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: start; text-align: left; }
body .gx-duo-band .gx-eyebrow { color: #c9d9f0 !important; }
body .gx-duo-band .gx-duo-h { margin: 0 0 20px !important; font: 700 clamp(28px, 2.8vw, 38px)/1.2 Roboto, Arial, sans-serif !important; color: #fff !important; letter-spacing: -.5px; }
body .gx-duo-band .gx-b3-words span { color: #c9d9f0; }
body .gx-duo-band .gx-b3-p { max-width: none; margin: 0 !important; font-size: 17px; color: #dbe5f3; }
body .gx-duo-col { border-top: 2px solid #c9d9f0; padding-top: 28px; }
@media (max-width: 899px) { body .gx-duo { grid-template-columns: 1fr; gap: 44px; } }
