/* Half-Finished Home — clean homepage base */
body.home .entry-header,
body.home .entry-title { display:none !important; }

body.home .site-content,
body.home .grid-container,
body.home .content-area,
body.home .site-main,
body.home .inside-article {
  max-width:none !important;
  width:100% !important;
  padding:0 !important;
  margin:0 !important;
}
body.home .site-footer { display:none !important; }

/* Hide only GeneratePress theme header */
body.home .site-header,
body.home #site-navigation,
body.home .main-navigation { display:none !important; }

/* Our independent custom header */
body.home .hfh-custom-header {
  display:block !important;
  width:100% !important;
  background:#F7F3ED !important;
  box-shadow:0 3px 10px rgba(38,50,56,.045);
}
body.home .hfh-custom-menu a {
  color:#263238 !important;
  font-family:Arial,Helvetica,sans-serif;
  font-size:13px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  text-decoration:none;
}
body.home .hfh-custom-menu a:hover { color:#1F5C7A !important; }

@media (max-width:768px) {
  body.home .hfh-custom-header { display:block !important; }

  body.home .hfh-custom-logo {
    display:block !important;
    width:150px !important;
    max-width:150px !important;
    height:auto !important;
  }

  body.home .hfh-custom-menu {
    display:flex !important;
    gap:8px 14px !important;
  }

  body.home .hfh-custom-menu a {
    display:inline-block !important;
    font-size:11px !important;
  }

  body.home main section {
    padding-left:18px !important;
    padding-right:18px !important;
  }
  body.home h1 { font-size:44px !important; }
  body.home #about img {
    width:150px !important;
    max-width:150px !important;
    height:150px !important;
  }
}

/* --- WPWriter addition --- */

/* Force custom menu link styling on mobile */
@media (max-width:768px) {
  body.home .hfh-custom-header .hfh-custom-menu a,
  body.home .hfh-custom-header .hfh-custom-menu a:link,
  body.home .hfh-custom-header .hfh-custom-menu a:visited,
  body.home .hfh-custom-header .hfh-custom-menu a:active {
    color:#263238 !important;
    text-decoration:none !important;
    border-bottom:0 !important;
    box-shadow:none !important;
  }

  body.home .hfh-custom-header .hfh-custom-menu a:hover {
    color:#1F5C7A !important;
    text-decoration:none !important;
  }
}
