/* Utilities — shared cross-module helpers. */

/* .pa-open-mobile-menu — baseline divi-child mobile-menu fix; do not
   remove. Put on any Divi Menu module (builder CSS-class field) whose
   links should stay visible ≤980px as a stacked column instead of
   Divi's default hamburger — used by the footer menu; the header nav
   keeps the hamburger by omitting the class. */
@media (max-width: 980px) {
  .pa-open-mobile-menu .et_pb_menu__menu {
    display: flex !important;
    flex-direction: column !important;
  }
  .pa-open-mobile-menu .et_mobile_nav_menu {
    display: none !important;
  }
}

/* .fill-image — image covers its column; put on a Divi Image module alone in a column, or an <img>. */
.fill-image {
  width: 100%;
  height: 100%;
  align-self: stretch;
  object-fit: cover;
  object-position: center;
  max-width: none;
}
.fill-image .et_pb_image_wrap,
.fill-image > a,
.fill-image > span,
.fill-image picture {
  display: block !important;   /* beats Divi's ≤980px fit-content on the image wrap */
  width: 100% !important;
  height: 100%;
}
.fill-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  max-width: none;
}
