/* SIG4 Engineering: accessibility and mobile rendering refinements. */

/* Use the responsive hero source on phones and tablets. The matching source is
   preloaded in the document head to make the LCP request immediately visible. */
@media (max-width: 1024px) {
  body.home .elementor-element.elementor-element-17297e2 {
    background-image: url("https://sig4-engineering.fr/wp-content/uploads/2024/08/jeremyl_A_monochrome_photo_397894c7-627b-46cb-8b9f-b9d06b00b05c-1024x574.png") !important;
  }
}

/* The original green (#289548) is too light for small white text. */
#navtrigger,
.elementor a.elementor-button,
.elementor .elementor-button {
  background-color: #1f7439 !important;
}
#navtrigger:hover,
.elementor a.elementor-button:hover,
.elementor .elementor-button:hover {
  background-color: #185c2d !important;
}

/* Body copy and news metadata must reach WCAG AA contrast on white. */
.elementor .elementor-image-box-description {
  color: #626262 !important;
}
.elementor .elementor-post-date {
  color: #595959 !important;
}
.elementor .elementor-post__read-more {
  color: #1b6b35 !important;
}

/* Footer text was #999/#aaa on white (roughly 2.3-2.9:1). */
#footer,
#footer p,
#footer h2,
#footer a,
#footer .widget,
#footer .social-menu span,
#copyright,
#copyright .fr,
#copyright a {
  color: #595959 !important;
}
#copyright .fr {
  font-size: 12px !important;
  line-height: 1.5 !important;
}
