label {
  color: #000 !important;
  font-size: 16px !important;
  margin-bottom: 5px;
}

hr,
.wp-block-separator,
.wp-block-separator:not(.is-style-dots) {
  border-top: 2px solid #1f3a5f !important;
  border-color: #1f3a5f !important;
  background-color: #1f3a5f !important;
}

.wp-block-button__link {
  transition: all 0.3s ease;
}

.wp-block-button__link:hover {
  background-color: #1f3a5f !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

/* Navigation hover effect */
.main-navigation a,
.wp-block-navigation a {
  transition: all 0.2s ease;
}

.main-navigation a:hover,
.wp-block-navigation a:hover {
  color: #888888 !important;
  transform: translateY(-2px);
}

/* Remove gap below cover */
.home .wp-block-cover {
  margin-bottom: 0 !important;
}

/* Make watercolor group flush with cover */
.home .wp-block-cover + .wp-block-group {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* Make next group flush with watercolor group */
.home .wp-block-cover + .wp-block-group + .wp-block-group {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* Keep footer spacing normal */
.home footer,
.home .site-footer {
  padding-top: 40px !important;
  padding-bottom: 40px !important;
}

/* Remove spacing around covers (common cause of gaps) */
.home .wp-block-cover {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

/* Remove theme container padding on homepage */
.home .site-content,
.home .entry-content {
  padding-top: 0 !important;
}


/* Remove hover outline/stroke on buttons */
.wp-block-button.is-style-outline .wp-block-button__link:hover {
  border-color: transparent !important;
  box-shadow: none !important;
}

/* =========================
   NAV + ABOUT PAGE STYLING
   ========================= */

/* Navigation hover effect */
.main-navigation a,
.wp-block-navigation a {
  transition: all 0.2s ease;
}

.main-navigation a:hover,
.wp-block-navigation a:hover {
  color: #888888 !important;
  transform: translateY(-2px);
}

@media (max-width: 768px) {

  .wp-block-navigation a,
  .main-navigation a {
    font-size: 16px !important;
    padding: 6px 8px !important;
  }

  .wp-block-navigation .wp-block-button__link,
  .main-navigation .wp-block-button__link {
    font-size: 12px !important;
    padding: 6px 10px !important;
    white-space: nowrap !important;
  }

  .custom-logo,
  .site-logo img {
    max-width: 150px !important;
    height: auto !important;
  }

  footer,
  .site-footer {
    padding-top: 25px !important;
    padding-bottom: 25px !important;
  }

  footer p,
  footer a {
    font-size: 14px !important;
  }

  footer .wp-block-group:last-of-type p,
  .site-footer .wp-block-group:last-of-type p {
    font-size: 10px !important;
    line-height: 1.4 !important;
  }
}

@media (max-width: 768px) {

  footer a,
  .site-footer a,
  footer p a,
  .site-footer p a,
  .wp-block-footer a {
    font-size: 10px !important;
    line-height: 1.4 !important;
  }

  /* If links are inside navigation blocks in footer */
  footer .wp-block-navigation a,
  .site-footer .wp-block-navigation a {
    font-size: 10px !important;
  }

  /* Extra aggressive fallback (covers stubborn themes like Assembler) */
  footer * a {
    font-size: 10px !important;
  }
}

/* =========================
   COVER → BREADCRUMB GAP ONLY (INNER PAGES)
   ========================= */

/* Remove space under hero cover */
.wp-block-cover {
  margin-bottom: 0 !important;
}

/* Remove space above breadcrumbs */
.rank-math-breadcrumb,
.yoast-breadcrumb,
.breadcrumbs,
.assembler-breadcrumbs {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* The real fix: kill first-block spacing after cover */
.wp-block-cover + * {
  margin-top: 0 !important;
}

/* Extra safety: only inside page content (NOT header/footer) */
.entry-content .wp-block-cover + * {
  margin-top: 0 !important;
}


/* =========================
   COVER → BREADCRUMB GAP ONLY (MOBILE)
   ========================= */

@media (max-width: 768px) {

  /* Remove space under hero cover */
  .wp-block-cover {
    margin-bottom: 0 !important;
  }

  /* Remove space above breadcrumbs */
  .rank-math-breadcrumb,
  .yoast-breadcrumb,
  .breadcrumbs,
  .assembler-breadcrumbs {
    margin-top: 0 !important;
    padding-top: 0 !important;
  }

  /* Kill spacing between cover and next block */
  .wp-block-cover + * {
    margin-top: 0 !important;
  }

  /* Extra safety for page content only */
  .entry-content .wp-block-cover + * {
    margin-top: 0 !important;
  }
}

/* =========================
   SCHEDULE A TOUR PAGE ONLY
   ========================= */

.page-schedule-a-tour .wp-block-group,
.page-schedule-a-tour .wp-block-columns {
  max-width: 100% !important;
}

/* FORCE ALL BLOCK CONTENT CONTAINERS TO MATCH WIDTH */
.page-schedule-a-tour .entry-content,
.page-schedule-a-tour .wp-site-blocks,
.page-schedule-a-tour .wp-block-post-content,
.page-schedule-a-tour main {
  max-width: 100% !important;
  width: 100% !important;
}

/* REMOVE THE THEME'S INTERNAL WIDTH SYSTEM */
.page-schedule-a-tour * {
  box-sizing: border-box;
}