/* PHC Force Overrides – loaded after Elementor by mu-plugin */

/* 1. HEADER: Keep logo visible; size it cleanly; modern nav bar */
.elementor-320 section[data-id="ab5500b"] .elementor-image img,
.elementor-location-header section[data-id="ab5500b"] .elementor-image img {
  max-height: 52px !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
}

.elementor-320 section[data-id="79a714c"],
.elementor-location-header section[data-id="79a714c"] {
  background: #0f3b68 !important;
  padding-top: 10px !important;
  padding-bottom: 10px !important;
}

.elementor-320 section[data-id="79a714c"] .elementor-nav-menu--main .elementor-item,
.elementor-location-header section[data-id="79a714c"] .elementor-nav-menu--main .elementor-item {
  color: #f0f6ff !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  padding: 10px 16px !important;
  margin-top: 4px !important;
  margin-bottom: 4px !important;
}

.elementor-320 section[data-id="79a714c"] .elementor-nav-menu--main .elementor-item:hover,
.elementor-320 section[data-id="79a714c"] .elementor-nav-menu--main .elementor-item-active,
.elementor-location-header section[data-id="79a714c"] .elementor-nav-menu--main .elementor-item:hover,
.elementor-location-header section[data-id="79a714c"] .elementor-nav-menu--main .elementor-item-active {
  background: rgba(255,255,255,0.95) !important;
  color: #0f3b68 !important;
  border-radius: 6px !important;
}

/* 2. FOOTER: Remove social icon overlap */
.elementor-479 .elementor-element-97ca062,
.elementor-479.elementor-location-footer .elementor-element-97ca062 {
  position: static !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
}

.elementor-479 section[data-id="04a6c38"] .elementor-element-c098a93 .elementor-widget-wrap,
.elementor-479 section[data-id="a6d405e"] .elementor-widget-wrap {
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  align-items: flex-start !important;
}

.elementor-479 .elementor-button-wrapper {
  margin: 0 !important;
  padding: 0 !important;
}

.elementor-479 .elementor-button {
  margin: 2px 0 !important;
}

.elementor-479 .elementor-widget-button {
  display: block !important;
  margin-bottom: 10px !important;
}

.elementor-479 .elementor-widget-button:last-child {
  margin-bottom: 0 !important;
}

/* 3. HOMEPAGE: Slightly reduce gap after slider */
body.home .rev_slider_wrapper {
  margin-bottom: 0 !important;
}

body.home .rev_slider_wrapper + .elementor-section {
  margin-top: -30px !important;
}
