/* ENG page fixes (page review 2026-10-15). Loaded after the theme styles, on /eng/ only.
   Several rules need !important because the pasted sections carry inline styles. */
/* ---------- Hero (overhauled 2026-10-16) ----------
   Replaces the soft 1500x500 SKY5 photo and its hard-to-read light-blue title (markup in classic/fixes/eng.json).
   Title, one line from the intro and two buttons on solid brand navy; beside it (below it on iPad portrait and
   phones) a slow crossfade of four stations' helicopters (NBC 4, ABC 7, Local 10, CBS 11; the CBS 11 photo is
   a tighter crop, /images/eng-hero-cbs11.jpg, as the helicopter is small in the original eng-105.jpg), shown almost whole so
   no helicopter sits behind the text. Pure CSS: the first photo is static and loads first; the other three load
   lazily and fade in over it in turn, 7 seconds each, 28 seconds a loop. No zoom, glow or text-shadow.
   Reduced motion: the first photo only. */
#content .eng-hero {
  position: relative;
  display: flex;
  flex-direction: column;
  background: #0A285A;
  color: #fff;
  overflow: hidden;
}
#content .eng-hero-inner {
  position: relative;
  z-index: 2;
  box-sizing: border-box;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 44px 20px 32px;
}
#content .eng-hero-eyebrow {
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #fff;
}
#content .eng-hero h1 {
  margin: 0 0 16px;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -0.5px;
  text-transform: none;
  color: #fff;
  text-wrap: balance;
}
#content .eng-hero-sub {
  max-width: 34em;
  margin: 0 0 26px;
  font-size: 17px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  text-wrap: balance;
}
#content .eng-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}
#content .eng-hero a.eng-hero-cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid #fff;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}
#content .eng-hero a.eng-hero-cta-primary,
#content .eng-hero a.eng-hero-cta-primary:visited { background: #fff; color: #0A285A; }
#content .eng-hero a.eng-hero-cta-primary:hover { background: rgba(255, 255, 255, 0.86); color: #0A285A; }
#content .eng-hero a.eng-hero-cta-secondary,
#content .eng-hero a.eng-hero-cta-secondary:visited { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
#content .eng-hero a.eng-hero-cta-secondary:hover { background: rgba(255, 255, 255, 0.12); color: #fff; border-color: #fff; }
#content .eng-hero a.eng-hero-cta-button:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
/* the photos: phones show the whole 3:2 frame under the text */
#content .eng-hero-photos {
  position: relative;
  aspect-ratio: 3 / 2;
  background: #0A285A;
}
#content .eng-hero-photos::after {           /* short navy fade from the text into the photo */
  content: "";
  position: absolute;
  inset: 0 0 0 -2px;                         /* -2px: covers the photo's soft left edge at fractional widths */
  z-index: 5;
  pointer-events: none;
  background: linear-gradient(180deg, #0A285A 0, rgba(10, 40, 90, 0) 16%);
}
#content .eng-hero img.eng-hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  margin: 0;
  border: 0;
  object-fit: cover;
  object-position: 50% 50%;
}
#content .eng-hero img.eng-hero-slide-2,
#content .eng-hero img.eng-hero-slide-3,
#content .eng-hero img.eng-hero-slide-4 {
  opacity: 0;
  animation: 28s ease-in-out infinite;
}
#content .eng-hero img.eng-hero-slide-2 { animation-name: eng-hero-2; }
#content .eng-hero img.eng-hero-slide-3 { animation-name: eng-hero-3; }
#content .eng-hero img.eng-hero-slide-4 { animation-name: eng-hero-4; }
/* each photo fades in over the one before (1.6 s), then drops out unseen once the next one covers it;
   the last one fades out to show the first again */
@keyframes eng-hero-2 { 0%, 25% { opacity: 0; } 30.7%, 55.7% { opacity: 1; } 55.8%, 100% { opacity: 0; } }
@keyframes eng-hero-3 { 0%, 50% { opacity: 0; } 55.7%, 80.7% { opacity: 1; } 80.8%, 100% { opacity: 0; } }
@keyframes eng-hero-4 { 0%, 75% { opacity: 0; } 80.7%, 94.3% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  #content .eng-hero img.eng-hero-slide-2,
#content .eng-hero img.eng-hero-slide-3,
#content .eng-hero img.eng-hero-slide-4 { display: none; animation: none; }
}
/* iPad portrait: a 16:9 strip of the photo under the text, so the hero stays on one screen */
@media (min-width: 600px) and (max-width: 999px) {
  #content .eng-hero-inner { padding: 56px 40px 40px; }
  #content .eng-hero h1 { font-size: 46px; }
  #content .eng-hero-sub { font-size: 18px; }
  #content .eng-hero-photos { aspect-ratio: 16 / 9; }
}
/* phones: the two buttons share one row */
@media (max-width: 599px) {
  #content .eng-hero a.eng-hero-cta-button { flex: 1 1 auto; padding: 0 16px; }
}
/* iPad landscape and desktop: text on the navy at the left, lined up with the header logo; the photos on the
   right, shown almost whole (about 3:2), fading into the navy */
@media (min-width: 1000px) {
  #content .eng-hero {
    --eng-photo-w: 54vw;
    --eng-content: 920px;                      /* the theme's content width at 960-1199px */
    height: clamp(440px, 38vw, 560px);
    justify-content: center;
  }
  #content .eng-hero-inner { max-width: calc(var(--eng-content) + 40px); padding: 0 20px; }
  #content .eng-hero-text {
    max-width: calc(100vw - var(--eng-photo-w) - max(20px, (100vw - var(--eng-content)) / 2) - 40px);
  }
  #content .eng-hero h1 { font-size: clamp(40px, 3.7vw, 54px); margin-bottom: 18px; }
  #content .eng-hero-sub { font-size: 18px; margin-bottom: 30px; }
  #content .eng-hero-photos {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: var(--eng-photo-w);
    aspect-ratio: auto;
  }
  #content .eng-hero-photos::after {
    background: linear-gradient(90deg, #0A285A 0, rgba(10, 40, 90, 0.6) 8%, rgba(10, 40, 90, 0) 22%);
  }
}
@media (min-width: 1200px) {
  #content .eng-hero { --eng-photo-w: 57vw; --eng-content: 1160px; }
}
/* ---------- Stats band (60 / 30,000 / 150 / 75) ---------- */
/* Design rules: solid navy instead of the navy-to-blue gradient, 4px corners instead of 14px,
   no heavy drop shadow, and no soft glowing circles. */
#content .eng-stats {
  background: #0A285A !important;
  border-radius: 4px !important;
  box-shadow: none !important;
}
#content .eng-stats > div[style*="radial-gradient"] {
  display: none !important;
}
/* iPad landscape: 30,000 at 60px ran into the column dividers. */
@media (min-width: 901px) and (max-width: 1199px) {
  #content .eng-stats .hi-counter {
    font-size: 50px !important;
  }
}
/* Four columns do not fit below ~900px: the numbers were cut off at the right edge on iPad and phones. */
@media (max-width: 900px) {
  #content .eng-stats > div[style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
    row-gap: 36px !important;
  }
  #content .eng-stats > div[style*="grid-template-columns"] > div:nth-child(2n) {
    border-right: 0 !important;
  }
}
@media (max-width: 480px) {
  #content .eng-stats {
    padding: 36px 20px !important;
  }
  #content .eng-stats > div[style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    row-gap: 0 !important;
  }
  #content .eng-stats > div[style*="grid-template-columns"] > div {
    border-right: 0 !important;
    padding: 18px 0 !important;
  }
  #content .eng-stats > div[style*="grid-template-columns"] > div + div {
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }
  #content .eng-stats .hi-counter {
    font-size: 48px !important;
  }
}
/* ---------- Equipment partners ribbon ---------- */
/* Design rules: 4px corners instead of pill shapes, no drop shadow (the hairline border stays). */
#content .hi-marquee-track .hi-partner-pill {
  border-radius: 4px;
  box-shadow: none;
}
/* The loop moved the track by half its width, but the gap after the last name was missing,
   so the names jumped 12px at every loop. */
#content .hi-marquee-track {
  padding-right: 24px;
}
/* The 120px white fades covered most of the ribbon on phones. */
@media (max-width: 767px) {
  #content .hi-marquee-wrap > div[style*="position:absolute"] {
    width: 32px !important;
  }
}

/* ---------- Contact Us button ---------- */
/* Design rules: solid navy instead of the gradient, 4px corners, no drop shadow or lift on hover. */
#content a.hi-contact-cta {
  background: #0A285A;
  border-radius: 4px;
  box-shadow: none;
  transition: opacity 0.2s ease;
}
#content a.hi-contact-cta:hover {
  transform: none;
  box-shadow: none;
  opacity: 0.88;
}
#content a.hi-contact-cta:focus-visible {
  outline: 2px solid #0A285A;
  outline-offset: 3px;
}
#content #gallery-1 img[src*="eng-118"] {
  object-position: 55% 50%;
}
/* Four tiles across were only ~70px wide on phones; three across keeps the 24 photos a complete 8-row grid. */
@media (max-width: 480px) {
  #content #gallery-1 {
    display: flow-root;
  }
  #content #gallery-1 > br {
    display: none;
  }
}
/* ---------- Videos ----------
   Each player is pre-wrapped in the same 16:9 box FitVids builds (classic/fixes/eng.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;
}
/* ---------- Contact form ---------- */
/* Fields ran the full 1160px on desktop; same 760px column as the request form on Airborne Public Safety. */
#content .fluentform_wrapper_5 {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
}
/* Submit button: 34px tall (under the 44px tap size) and no keyboard focus ring. */
#content .fluentform_wrapper_5 .ff-btn.ff-btn-submit {
  min-height: 44px;
  padding-left: 24px;
  padding-right: 24px;
}
#content .fluentform_wrapper_5 .ff-btn.ff-btn-submit:focus-visible,
#content .fluentform_wrapper_5 .ff-el-form-control:focus-visible {
  outline: 2px solid #0A285A;
  outline-offset: 2px;
}
/* Phones: 13px fields make iPhones zoom in on tap; labels were 13px. */
@media (max-width: 767px) {
  #content .fluentform_wrapper_5 .ff-el-form-control {
    font-size: 16px;
  }
  #content .fluentform_wrapper_5 .ff-el-input--label label {
    font-size: 14px;
  }
}
/* Consent note: #888 on white failed contrast; sit it under the submit button, aligned with the form. */
#content .eng-consent {
  max-width: 760px !important;
  padding: 0 0 80px !important;
  text-align: left !important;
}
#content .eng-consent p {
  color: #64748B !important;
  max-width: none !important;
  margin: 16px 0 0 !important;
}
/* phones: the consent note is a sentence, so body-text size (14px), not 13px */
@media (max-width: 767px) {
  body .eng-consent p { font-size: 14px !important; }
}
/* Fifth hero photo (Bennett's ABC13 Houston shot, 2026-10-16): five photos, 7s each, so the cycle is 35s.
   Same 1.6s crossfade as before (4.571% of 35s); each photo hides once the next one has fully faded in on top. */
#content .eng-hero img.eng-hero-slide-2,
#content .eng-hero img.eng-hero-slide-3,
#content .eng-hero img.eng-hero-slide-4,
#content .eng-hero img.eng-hero-slide-5 { opacity: 0; animation-duration: 35s; animation-timing-function: ease-in-out; animation-iteration-count: infinite; }
#content .eng-hero img.eng-hero-slide-5 { animation-name: eng-hero-5; }
@keyframes eng-hero-2 { 0%, 20% { opacity: 0; } 24.571%, 44.571% { opacity: 1; } 44.671%, 100% { opacity: 0; } }
@keyframes eng-hero-3 { 0%, 40% { opacity: 0; } 44.571%, 64.571% { opacity: 1; } 64.671%, 100% { opacity: 0; } }
@keyframes eng-hero-4 { 0%, 60% { opacity: 0; } 64.571%, 84.571% { opacity: 1; } 84.671%, 100% { opacity: 0; } }
@keyframes eng-hero-5 { 0%, 80% { opacity: 0; } 84.571%, 95.429% { opacity: 1; } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  #content .eng-hero img.eng-hero-slide-5 { display: none; animation: none; }
}
body .ex-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 .ex-sec { max-width: 1160px; margin: 0 auto; padding: 100px 20px; box-sizing: border-box; }
body .ex-head { max-width: 820px; margin: 0 auto 46px; text-align: center; }
body .ex-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; text-transform: none !important; }
body .ex-n { font: 600 12px/1 Montserrat, Arial, sans-serif; letter-spacing: 2px; color: #64748B; }
body .ex-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(10, 40, 90, .88); display: flex; align-items: center; justify-content: center; transition: transform .2s, background .2s; }
body .ex-play svg { width: 30px; height: 30px; fill: #fff; margin-left: 4px; }
/* ---- heroes: all fill the screen below the header (--hdr) ---- */
@media (min-width: 1000px) {
  #content .eng-hero { height: auto; min-height: max(440px, calc(100vh - var(--hdr))); }
}
/* ---- Equipment photos ---- */
body .ex-p2-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
body .ex-p2-fig { position: relative; margin: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 4px; }
body .ex-p2-fig img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .8s cubic-bezier(.2, .7, .2, 1); }
body .ex-p2-fig:hover img { transform: scale(1.05); }
body .ex-p2-fig figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 22px 18px; background: linear-gradient(180deg, rgba(5, 14, 34, 0), rgba(5, 14, 34, .82)); font: 700 20px/1.2 Roboto, Arial, sans-serif; color: #fff; }
body .ex-p2-fig figcaption span { display: block; margin-bottom: 6px; font: 600 11px/1 Montserrat, Arial, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: #c9d9f0; }
/* ---- Videos ---- */
body .ex-v2-grid { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 18px; }
body .ex-v2-stage { position: relative; aspect-ratio: 16 / 9; background: #000; border-radius: 4px; overflow: hidden; }
body .ex-v2-stage iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
body button.ex-v2-poster { position: absolute; inset: 0; width: 100%; height: 100%; padding: 0 !important; margin: 0 !important; border: 0 !important; background: #000 !important; cursor: pointer; }
body .ex-v2-poster img { width: 100%; height: 100%; object-fit: cover; display: block; }
body .ex-v2-poster:hover .ex-play { transform: scale(1.08); background: #0A285A; }
body .ex-v2-list { display: flex; flex-direction: column; gap: 10px; }
body button.ex-v2-item { flex: 1; display: grid; grid-template-columns: 42% minmax(0, 1fr); gap: 14px; align-items: center; padding: 8px !important; margin: 0 !important; text-align: left; cursor: pointer;
  background: #fff !important; border: 1px solid #e1e7ef !important; border-left: 3px solid #e1e7ef !important; border-radius: 4px !important; box-shadow: none !important; text-transform: none !important; letter-spacing: 0 !important; transition: border-color .25s; }
body .ex-v2-item img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; border-radius: 2px; }
body .ex-v2-item span { font: 400 13px/1.4 "Open Sans", Arial, sans-serif; color: #64748B; }
body .ex-v2-item b { display: block; margin-bottom: 4px; font: 700 15px/1.3 Roboto, Arial, sans-serif; color: #0A285A; }
body button.ex-v2-item.is-on, body button.ex-v2-item:hover { border-color: #b9c6d8 !important; border-left-color: #0A285A !important; }
/* ---- Gallery ---- */
body .ex-g2-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); grid-auto-rows: 1fr; grid-auto-flow: dense; gap: 8px; }
body .ex-g2-tile { display: block; aspect-ratio: 1; overflow: hidden; border-radius: 3px; background: #e6ebf2; }
body .ex-g2-big { grid-column: span 2; grid-row: span 2; }
body .ex-g2-tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s cubic-bezier(.2, .7, .2, 1); }
body .ex-g2-tile:hover img { transform: scale(1.06); }
/* ---- the full-screen viewer ---- */
body .ex-lb { position: fixed; inset: 0; z-index: 100000; display: flex; align-items: center; justify-content: center; background: rgba(5, 14, 34, .94); }
body .ex-lb[hidden] { display: none; }
body .ex-lb-stage { max-width: min(1200px, 92vw); max-height: 86vh; display: flex; align-items: center; justify-content: center; }
body .ex-lb-stage img { max-width: 100%; max-height: 86vh; display: block; border-radius: 3px; }
body .ex-lb button { position: absolute; padding: 0 !important; margin: 0 !important; width: 52px; height: 52px; border: 1px solid rgba(255, 255, 255, .4) !important; border-radius: 4px !important; background: rgba(5, 14, 34, .6) !important;
  color: #fff !important; font: 400 32px/1 Arial, sans-serif !important; cursor: pointer; box-shadow: none !important; }
body .ex-lb-x { top: 20px; right: 20px; }
body .ex-lb-prev { left: 20px; top: 50%; margin-top: -26px !important; }
body .ex-lb-next { right: 20px; top: 50%; margin-top: -26px !important; }
body .ex-lb:not(.ex-lb-photos) .ex-lb-prev, body .ex-lb:not(.ex-lb-photos) .ex-lb-next { display: none; }
/* ---- Contact heading ---- */
body .ex-k2 { padding-bottom: 60px; }
body .ex-k2-row { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
body .ex-k2-step { padding-top: 22px; border-top: 2px solid #0A285A; text-align: left; }
body .ex-k2-step b { display: block; margin: 12px 0 6px; font: 700 18px/1.3 Roboto, Arial, sans-serif; color: #0A285A; }
body .ex-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 .ex-sec { padding: 70px 20px; }
  body .ex-v2-grid { grid-template-columns: 1fr; gap: 36px; }
  body .ex-k2-row { grid-template-columns: 1fr; }
  body .ex-g2-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 599px) {
  body .ex-p2-row { grid-template-columns: 1fr; }
  body .ex-g2-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  body .ex-lb-prev, body .ex-lb-next { top: auto; bottom: 20px; margin-top: 0 !important; }
}
/* ================= ENG PAGE (Bennett's picks 2026-10-19). Script: /js/eng-page.js ================= */
body .ex-band { width: 100vw; margin-left: calc(50% - 50vw); background: #fff; }

/* (2026-11-12) The three new station photos are big tiles: on a computer they make one full row of six columns. On
   tablets (4 columns) and phones (3) the last one would sit alone, so there it runs the full width, two rows tall. */
@media (max-width: 960px) {
  body .ex-g2-grid > .ex-g2-tile:last-child { grid-column: 1 / -1; grid-row: span 2; aspect-ratio: 2 / 1; }
}
@media (max-width: 599px) {
  body .ex-g2-grid > .ex-g2-tile:last-child { aspect-ratio: 3 / 2; }
}

/* (2026-11-12) Turnkey ENG + Live: four pillars from Bennett's handout, on a light band */
body .ex-turnkey-band { background: #f8fafc; border-top: 1px solid #e4e9f0; border-bottom: 1px solid #e4e9f0; }
body .ex-turnkey-lead { max-width: 760px; margin: 18px auto 0 !important; font: 400 17px/1.7 "Open Sans", Arial, sans-serif; color: #64748B; }
body .ex-turnkey-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1px; background: #e4e9f0; border: 1px solid #e4e9f0; margin-top: 44px; text-align: left; }
body .ex-turnkey-card { background: #fff; padding: 30px 26px 26px; border-top: 3px solid #0A285A; }
body .ex-turnkey-tag { margin: 0 0 12px !important; font: 600 12px/1.4 Montserrat, Arial, sans-serif; letter-spacing: 2px; text-transform: uppercase; color: #64748B; }
body .ex-turnkey-card h3 { margin: 0 0 14px !important; font: 700 20px/1.25 Roboto, Arial, sans-serif !important; color: #0A285A !important; text-transform: none !important; }
body .ex-turnkey-card ul { list-style: none; margin: 0 !important; padding: 0 !important; border-top: 1px solid #e4e9f0; }
body .ex-turnkey-card li { position: relative; list-style: none !important; margin: 0 !important; padding: 11px 0 11px 20px !important; border-bottom: 1px solid #e4e9f0; font: 400 14.5px/1.55 "Open Sans", Arial, sans-serif; color: #1f1f1f; }
body .ex-turnkey-card li::before { content: ""; position: absolute; left: 1px; top: 18px; width: 7px; height: 7px; background: #0A285A; }
@media (max-width: 1100px) { body .ex-turnkey-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 599px) { body .ex-turnkey-grid { grid-template-columns: 1fr; } }
/* (flow pass 2026-11-12) the photojournalist videos on the light band, breaking up the run of white sections */
body .ex-band:has(> .ex-v2) { background: #f8fafc; border-top: 1px solid #e4e9f0; border-bottom: 1px solid #e4e9f0; }
