/* WeeksGrp: stop mid-word breaking in dropdown menu items */
#main-nav .sub-menu a,
#main-nav .sub-menu a:link,
#main-nav .sub-menu a:visited {
  overflow-wrap: normal !important;  /* undo break-word */
  word-break: normal !important;     /* just in case */
  white-space: nowrap !important;    /* force single line */
}

/* Make dropdown wide enough so words fit */
#main-nav .sub-menu {
  min-width: 240px;
}

/* Force the announcement bar area to black */
.announcement_post{
  background: #000 !important;
  background-color: #000 !important;
}

/* Some installs put the background on a wrapper around the post.
   This forces any parent containers to black if they exist. */
#announcement-bar,
.announcement-bar,
.announcement_wrap,
.announcement_bar,
.abar,
#announcement-bar-wrap{
  background: #000 !important;
  background-color: #000 !important;
}

/* Make the text white and remove the “badge” background */
.announcement_title,
.announcement_title a,
.announcement_content,
.announcement_content a{
  color: #fff !important;
  background: transparent !important;
  background-color: transparent !important;
}

/* Kill the ribbon triangle/pointy bit (you saw ::after in Inspect) */
.announcement_title::before,
.announcement_title::after,
.announcement_title a::before,
.announcement_title a::after{
  content: none !important;
  display: none !important;
  border: 0 !important;
}

/* Privacy policy page: hide the shared layout part. */
body.page-id-4028 .tb_layout_part_wrap { display: none !important; }

/* Align the shared logo with the Weeks Construction Services header inset. */
#headerwrap #header {
  box-sizing: border-box;
  width: 100%;
  max-width: none;
  padding-inline: clamp(24px, 5vw, 78px);
}
#headerwrap #header .header-bar {
  float: none;
  width: fit-content;
  max-width: calc(100% - 52px);
  margin-inline: 0;
}
#headerwrap #header #site-logo {
  margin-inline: 0;
}
#headerwrap #site-logo a,
#headerwrap #site-logo img {
  display: block;
}
@media (max-width: 600px) {
  #headerwrap #header { padding-inline: 18px; }
}
