/* =========================================================
   1. MAIN TOP HEADER - Address Injection & Styling
   ========================================================= */
body > header,
.site-header, 
.site-branding {
  position: relative !important;
  background-color: #000000 !important;
}

body > header::after,
.site-header::after {
  content: "📍 6097 Sunset Blvd, Los Angeles, CA\A📞 (323) 701-2110";
  white-space: pre-wrap;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  text-align: right;
  font-weight: bold;
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff !important;
  z-index: 10;
}

body > header::after a,
.site-header::after a {
  color: #ffffff !important;
}

/* Header borders and margins */
.site-header, 
header,
.site-header * {
  border-bottom: none !important;
  box-shadow: none !important;
}

.site-header, header {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* Mobile responsive layout */
@media (max-width: 768px) {
  body > header::after,
  .site-header::after {
    position: static;
    transform: none;
    text-align: center;
    margin-top: 10px;
    display: block;
    color: #ffffff !important;
  }
}

/* =========================================================
   2. FIX HOME PAGE GAP (Remove Map Preview Block & Margins)
   ========================================================= */
/* Hide missing/empty widgets or map blocks at the top */
.widget_media_image:empty,
.widget-grofile:empty,
[class*="map"]:empty {
  display: none !important;
}

/* Pull first content section flush against header */
.site-content,
#content,
main,
.site-main {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.site-content > *:first-child,
main > *:first-child,
.entry-content > *:first-child,
.wp-block-image:first-child,
.wp-block-cover:first-child {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border-top: none !important;
}

.entry-content p:empty {
  display: none !important;
  margin: 0 !important;
}

/* =========================================================
   3. FIX PAGE TITLES (White Text on Black Header Banners)
   ========================================================= */
.entry-title,
.page-title,
.entry-header h1,
.entry-header h2,
header.entry-header * {
  color: #ffffff !important;
}

/* Main body content reset to white background with readable text */
#page, 
#content, 
.site-content, 
.site-main, 
main, 
article, 
.entry-content {
  background-color: #ffffff !important;
  color: #333333 !important;
}
/* Force hide the map widget/block above the hero image */
.widget_map,
.wp-block-jetpack-map,
.google-map-placeholder,
.wp-block-map,
div[class*="map"] {
  display: none !important;
}