/* ============================================================
   HOME — Oct redesign (page 1077, client review copy)
   ============================================================ */

/* The theme prints the page title above the hero. The real home page is
   the front page, where WordPress never renders it, so this only shows on
   the review copy. Hide the whole header block, not just the h1, or its
   padding stays behind. */
.page-header,
.page-header .entry-title {
  display: none;
}

/* ---------------------------------------------------------------------------
   Technology partner logos.

   Client asked for the static wrapped grid from hdc_home_page.html instead of
   the carousel, so the carousel widget was replaced by image widgets inside a
   flex-wrap container. Spec from that file: height 46px, max-width 170px,
   object-fit contain, greyscale and 70 percent opacity, full colour on hover.
   ------------------------------------------------------------------------ */

.elementor-1077 .hdc-logo img {
  display: block;
  height: 46px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: filter 0.2s ease, opacity 0.2s ease;
}

.elementor-1077 .hdc-logo img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* Tall marks (Antec, facil.ai, Blue Ridge) are roughly 2:1 while the rest are
   5:1 or wider. At one shared height the tall ones end up far narrower and
   read as smaller, which is the Antec complaint. Give them more height so the
   optical area matches the wide marks. */
.elementor-1077 .hdc-logo-tall img {
  height: 54px;
  max-width: 200px;
}

/* Touch devices have no hover, so never leave them permanently muted. */
@media (hover: none) {
  .elementor-1077 .hdc-logo img {
    filter: none;
    opacity: 1;
  }
}

@media (max-width: 1024px) {
  .elementor-1077 .hdc-logo img { height: 40px; }
  .elementor-1077 .hdc-logo-tall img { height: 47px; }
}

@media (max-width: 767px) {
  .elementor-1077 .hdc-logo img { height: 34px; }
  .elementor-1077 .hdc-logo-tall img { height: 40px; }
}
