/* Center entire header content */
#masthead.site-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 20px;
}

/* Center logo image inside .site-logo */
.site-logo img {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  height: auto;
}

/* Keep tagline centered */
.site-description {
  margin-top: 10px;
  font-size: 1rem;
}

/* Move menu below and center it */
#site-navigation {
  margin-top: 20px;
  text-align: center;
  width: 100%;
}

/* Adjust nav items */
#site-navigation ul {
  list-style: none;
  padding: 0;
  margin: 0 auto;
  display: inline-block;
}

#site-navigation li {
  display: inline-block;
  margin: 0 15px;
}

/* Make sure mobile nav stacks nicely */
@media screen and (max-width: 768px) {
  #site-navigation ul {
    display: block;
  }

  #site-navigation li {
    display: block;
    margin: 10px 0;
  }
}

.site-logo img {
  max-width: 300px; /* or 250px if you want it smaller */
  height: auto;
}

/* Reduce spacing between nav menu items */
#site-navigation li {
  display: inline-block;
  margin: 0 6px; /* adjust spacing here *
  white-space: nowrap; /* prevents wrapping inside items */
}

/* Optional: slightly reduce font size if needed */
#site-navigation a {
  font-size: 1rem; /* or try 0.95rem */
}

/* Kill the default block gap between header and first block */
body .wp-site-blocks > * {
  margin-block-start: 0 !important;
}

.entry-header.responsive-max-width {
  padding-top: 0 !important;
  margin-top: 0 !important;
}

#masthead.site-header {
  padding-top: 10px !important; /* still give a touch of breathing room */
  padding-bottom: 0 !important; /* kill bottom space */
}

.wp-block-jetpack-slideshow {
  position: relative;
}

.wp-block-jetpack-slideshow::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.3); /* adjust transparency here */
  z-index: 2;
}

.wp-block-group.alignwide {
  max-width: 800px;
  margin: 2rem auto;
  text-align: center;
}

.property-section {
  background-color: #fafafa;
  padding: 2rem 0;
  text-align: center;
}

.wp-block-group h2 {
  margin-top: 0 !important;
  margin-bottom: 0.6rem !important;
}

.wp-block-group p {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.3;
}

.site-footer p {
  font-size: 0.85rem;
  color: #777777;
  text-align: center;
  margin: 0.5em 0;
}

.site-footer {
  padding: 0.3em 0;
}

/* Sticky Footer Layout Fix */

/* Make sure the html and body always fill the full viewport */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Your main wrapper div (based on your earlier screenshots, it's likely #page) */
#page {
  min-height: 100%;
  display: flex;
  flex-direction: column;
}

/* Let the content area expand to fill space and push footer down */
.site-content {
  flex: 1;
}

/* Hide page title for Featured Properties */
.page-id-18527 .entry-title {
    display: none;
}

.page-id-18527 .entry-content p {
  text-align: left;
}

/* Hide page title for About */
.page-id-16650 .entry-title {
    display: none;
}

/* Hide page title for Past Transactions */
.page-id-18247 .entry-title {
    display: none;
}

/* Hide page title for Newsletter */
.page-id-5 .entry-header:first-of-type .entry-title {
    display: none;
}

/* Hide page title for Contact us Transactions */
.page-id-16941 .entry-title {
    display: none;
}
