/* Production page fixes (page review 2026-10-15). Loaded after the theme styles, on /production/ only.
   Some rules need !important because the pasted sections carry inline styles. */

/* ---------- Hero ----------
   On phones the sunset photo was cropped to the tail boom only. Shift the crop right so the helicopter shows. */
@media (max-width: 767px) {
  #content .wpb_row[style*="heli-inc-video-production.jpg"] {
    background-position: 62% center !important;
  }
}

/* ---------- Sporting events logo strip ---------- */
/* The two banners are re-spaced copies (/images/sports-logos-2025.jpg and -past.jpg, 2026-10-16): every logo
   is the same 60px apart on screen, inside each banner and where the banners meet, so the gap between images
   is 60px too. The loop moves the track by half its width, so the space after the last banner must equal
   the gap (padding-right), or the logos jump at every loop. */
#content .hi-logo-track-left {
  gap: 60px !important;
  padding-right: 60px;
}
@media (max-width: 768px) {
  /* the page shows the banners at 70/100px here (7/12 of 120/170), so 7/12 of the gap */
  #content .hi-logo-track-left {
    gap: 35px !important;
    padding-right: 35px;
  }
}
/* The 140px white fades covered most of the strip on phones (only the middle logo was clear). */
@media (max-width: 767px) {
  #content .hi-logo-marquee-wrap > div[style*="position:absolute"] {
    width: 32px !important;
  }
}

/* ---------- Videos ----------
   Each player is pre-wrapped in the same 16:9 box FitVids builds (classic/fixes/production.json), so the
   theme script leaves it alone instead of moving and reloading every iframe. A navy fill shows while a
   player loads instead of a blank white box. */
#content .video-embed > .fluid-width-video-wrapper {
  position: relative;
  width: 100%;
  background-color: #0A285A;
}
#content .video-embed > .fluid-width-video-wrapper > iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Services (dark band) ----------
   Five services in a three-column grid left the second row with an empty third column.
   Centre the two services on that row. */
@media (min-width: 768px) {
  #content .prod-services-2 > .vc_col-sm-4:first-child {
    margin-left: 16.6667%;
  }
  #content .prod-services-2 > .vc_col-sm-4:last-child {
    display: none;
  }
}

/* ---------- Equipment gallery ---------- */
/* Four tiles across were ~70px wide on phones: two across instead (a complete 2x2 grid). */
@media (max-width: 480px) {
  #content #gallery-1 .gallery-item {
    width: 50% !important;
  }
}

/* ---------- Why Helicopters, Inc.? ----------
   The heading sat directly on the text, and the text ran the full 1160px (about 190 characters a line). */
#content h2.prod-why {
  margin-bottom: 20px !important;
}
#content h2.prod-why + .wpb_text_column {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

/* ---------- Flow pass (2026-11-12) ----------
   The services band (consultation, aerial capture, ground operations...) is on the light band instead of charcoal:
   navy headings, dark text, navy icons. "Why Helicopters, Inc.?" was small grey text; now a readable size. */
.prod-services .iconbox h3 { color: #0A285A !important; }
.prod-services .iconbox p, .prod-services .iconbox span { color: #475569 !important; }
.prod-services .iconbox-icon i { color: #0A285A !important; }
.prod-why + .wpb_text_column p { max-width: 820px; margin: 18px auto 0 !important; font-size: 17px !important; line-height: 1.75 !important; color: #475569 !important; text-align: center; }
