/* "GigE Camera Processor" section, rendered by js/gige-section.js on every page that asks for it */
.gige { padding-top: 30px; }
.gige-title { margin: 30px 0 0; font: 700 12px/1 var(--f-head, inherit); letter-spacing: 2px; text-transform: uppercase; color: #5a6677; }
.gige-brands { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 14px; }
.gige-brand { padding: 18px 18px 20px; border: 1px solid var(--sw-line, rgba(22, 60, 120, .16)); border-radius: 14px; background: #fff; text-align: center; }
.gige-pic { display: grid; place-items: center; height: 170px; border-radius: 10px; overflow: hidden; background: #f4f6f9; }
.gige-pic img { max-width: 100%; max-height: 170px; width: auto; height: auto; object-fit: contain; }
.gige-logo { background: #fff; border: 1px solid #e6ebf2; }
.gige-logo img { max-width: 72%; max-height: 96px; }
.gige-brand h3 { margin: 14px 0 0; font: 700 19px/1.2 var(--f-head, inherit); color: #0e1821; }
.gige-more { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 26px; margin-top: 20px; }
@media (max-width: 860px) { .gige-brands { grid-template-columns: repeat(2, 1fr); } }
.gige-credit { margin: 14px 0 0; text-align: center; font-size: 11px; color: #8d97a6; }
.gige-credit a { color: inherit; }
.gige-pic a { display: block; width: 100%; height: 100%; }
.gige-pic { background: #fff; }
.gige-pic img[src*="/cam-"] { width: 100%; height: 100%; max-height: none; object-fit: cover; }

/* compact strip across the bottom of a page hero (X400 / X2000 Vision Processor) */
.pg-hero.pg-hero-gige { padding: 28px 0 26px; }
.pg-hero-gige .pg-hero-grid { gap: 40px; }
.pg-hero-gige h1 { margin-top: 0; font-size: clamp(32px, 3.4vw, 50px); }
.pg-hero-gige .sw-sub { font-size: 16.5px; line-height: 1.5; }
.pg-hero-gige .sw-cta { margin-top: 20px; }
.pg-hero-gige .pg-docs { margin-top: 14px; }
.pg-hero-gige .pg-shot img { display: block; width: 100%; max-height: calc(100svh - 94px - 250px); min-height: 220px; object-fit: contain; }
.gige-strip { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--sw-line, rgba(22, 60, 120, .16)); }
.gige-strip-title { margin: 0 0 12px; font: 700 12px/1 var(--f-head, inherit); letter-spacing: 2px; text-transform: uppercase; color: #5a6677; }
.gige-strip-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gige-strip-item { display: flex; align-items: center; gap: 14px; padding: 8px 14px 8px 8px; border: 1px solid var(--sw-line, rgba(22, 60, 120, .16)); border-radius: 12px; background: #fff; }
.gige-strip-item img { flex: none; width: 84px; height: 84px; border-radius: 8px; object-fit: cover; }
.gige-strip-item b { font: 700 18px/1.2 var(--f-head, inherit); color: #0e1821; }
@media (max-width: 860px) { .gige-strip-row { grid-template-columns: repeat(2, 1fr); } .pg-hero-gige .pg-shot img { max-height: none; } }

/* the hero fills the first screen: product on top, GigE camera row along the bottom, spread to use the height */
@media (min-width: 861px) {
  .pg-hero.pg-hero-gige { display: flex; flex-direction: column; min-height: calc(100svh - 94px); padding: 34px 0 34px; }
  .pg-hero-gige > .sw-wrap:first-child { flex: 1; display: grid; align-items: center; }
  .pg-hero-gige .pg-hero-grid { gap: 56px; }
  .pg-hero-gige h1 { font-size: clamp(36px, 4vw, 58px); }
  .pg-hero-gige .sw-sub { font-size: 18px; line-height: 1.6; }
  .pg-hero-gige .sw-cta { margin-top: 28px; }
  .pg-hero-gige .pg-docs { margin-top: 20px; }
  .pg-hero-gige .pg-shot img { max-height: calc(100svh - 94px - 330px); }
  .gige-strip { margin-top: 30px; padding-top: 24px; }
  .gige-strip-title { margin-bottom: 16px; font-size: 13px; }
  .gige-strip-row { gap: 18px; }
  .gige-strip-item { gap: 18px; padding: 12px 18px 12px 12px; }
  .gige-strip-item img { width: clamp(84px, 13svh, 130px); height: clamp(84px, 13svh, 130px); }
  .gige-strip-item b { font-size: 20px; }
}
@media (min-width: 861px) and (max-height: 900px) {   /* short screens: tighter so it still fits one screen */
  .pg-hero.pg-hero-gige { padding: 22px 0 22px; }
  .pg-hero-gige h1 { font-size: clamp(32px, 3.4vw, 50px); }
  .pg-hero-gige .sw-sub { font-size: 16.5px; line-height: 1.5; }
  .pg-hero-gige .sw-cta { margin-top: 20px; }
  .pg-hero-gige .pg-docs { margin-top: 14px; }
  .gige-strip { margin-top: 18px; padding-top: 16px; }
  .gige-strip-title { margin-bottom: 12px; }
  .gige-strip-item { padding: 8px 14px 8px 8px; }
  .gige-strip-item img { width: 88px; height: 88px; }
}
