/* Header: transparent logo. Footer: same logo with white background. */

/* Keep nav bar height stable — logo scales visually without stretching the row */
.elementor-location-header .elementor-element-7abae939 {
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.elementor-location-header .elementor-element-74b241be > .elementor-container {
  align-items: center !important;
}

.elementor-location-header .elementor-element-14fbf9d3 > .elementor-element-populated,
.elementor-location-header .elementor-element-6327c5f9 > .elementor-widget-container {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  overflow: visible;
}

.elementor-location-header .elementor-element-6327c5f9 > .elementor-widget-container {
  margin-left: 18px;
  line-height: 0;
}

.elementor-location-header .elementor-element-6327c5f9 img.jem-logo-header,
.elementor-location-header .elementor-element-6327c5f9 img[src*="assets/logo.png"] {
  width: auto !important;
  max-width: 88px !important;
  max-height: 72px;
  height: auto;
  object-fit: contain;
  display: block;
  transform: scale(1.22);
  transform-origin: left center;
}

.elementor-location-footer .elementor-element-33bd81ad img.jem-logo-footer,
.elementor-location-footer .elementor-element-33bd81ad img[src*="logo-with-bg"] {
  width: auto !important;
  max-width: 180px;
  max-height: 110px;
  height: auto;
  object-fit: contain;
  display: block;
}

@media (max-width: 1024px) {
  .elementor-location-header .elementor-element-6327c5f9 > .elementor-widget-container {
    margin-left: 14px;
  }

  .elementor-location-header .elementor-element-6327c5f9 img.jem-logo-header,
  .elementor-location-header .elementor-element-6327c5f9 img[src*="assets/logo.png"] {
    max-width: 78px !important;
    max-height: 64px;
    transform: scale(1.18);
  }

  .elementor-location-footer .elementor-element-33bd81ad img.jem-logo-footer,
  .elementor-location-footer .elementor-element-33bd81ad img[src*="logo-with-bg"] {
    max-height: 96px;
    max-width: 160px;
  }
}

@media (max-width: 767px) {
  .elementor-location-header .elementor-element-6327c5f9 > .elementor-widget-container {
    margin-left: 10px;
  }

  .elementor-location-header .elementor-element-6327c5f9 img.jem-logo-header,
  .elementor-location-header .elementor-element-6327c5f9 img[src*="assets/logo.png"] {
    max-width: 68px !important;
    max-height: 56px;
    transform: scale(1.15);
  }

  .elementor-location-footer .elementor-element-33bd81ad img.jem-logo-footer,
  .elementor-location-footer .elementor-element-33bd81ad img[src*="logo-with-bg"] {
    max-height: 84px;
    max-width: 140px;
  }
}
