/* Hide the header-title section on pages 17167 and 17186 */
.page-id-11111 #header-title,
.page-id-17368 #header-title,
.page-id-17478 #header-title,
.page-id-17432 #header-title,
.page-id-17436 #header-title,
.page-id-17428 #header-title,
.page-id-17380 #header-title,
.page-id-17167 #header-title {
  display: none !important;
}

.hidden-accordion {
  display: none;
}

/* Remove dark overlay from specific row */
.vc_custom_1756879604568:before,
.vc_custom_1756879604568:after {
    background: none !important;
    opacity: 0 !important;
    content: none !important;
}

/* Target the actual icon  tags */
.footer2 .footer-socials i {
  display: inline-block;   /* line up side by side */
  margin-right: 20px;      /* adjust spacing as needed */
  font-size: 20px;         /* optional: tweak size */
  line-height: 1;
}

/* Remove last icon's extra space */
.footer2 .footer-socials i:last-child {
  margin-right: 0;
}

/* Replace #8FC548 and #8EC549 text with black sitewide */
*[style*="color:#8FC548"],
*[style*="color: #8FC548"],
*[style*="color:#8EC549"],
*[style*="color: #8EC549"] {
  color: #000 !important;
}

/* Links: force black normally, but keep their hover/focus color */
a[style*="color:#8FC548"]:not(:hover):not(:focus),
a[style*="color: #8FC548"]:not(:hover):not(:focus),
a[style*="color:#8EC549"]:not(:hover):not(:focus),
a[style*="color: #8EC549"]:not(:hover):not(:focus) {
  color: #000 !important;
}
/* Target headings with inline green #8FC548 or #8EC549 */
h1[style*="color:#8FC548"],
h2[style*="color:#8FC548"],
h3[style*="color:#8FC548"],
h4[style*="color:#8FC548"],
h5[style*="color:#8FC548"],
h6[style*="color:#8FC548"],
h1[style*="color:#8EC549"],
h2[style*="color:#8EC549"],
h3[style*="color:#8EC549"],
h4[style*="color:#8EC549"],
h5[style*="color:#8EC549"],
h6[style*="color:#8EC549"] {
  color: #000 !important;
}
/* Force headings that are styled via classes (not inline) to black */
.entry-title,
.entry-title a,
.page-title,
.widget-title,
h1.entry-title,
.single .entry-title,
.archive .entry-title {
  color: #000 !important;
}

/* Keep your inline-style overrides (these only hit elements with style="color:#8FC548|#8EC549") */
*[style*="color:#8FC548"],
*[style*="color: #8FC548"],
*[style*="color:#8EC549"],
*[style*="color: #8EC549"] { color: #000 !important; }

/* Links: black normally, keep their hover/focus color */
a[style*="color:#8FC548"]:not(:hover):not(:focus),
a[style*="color: #8FC548"]:not(:hover):not(:focus),
a[style*="color:#8EC549"]:not(:hover):not(:focus),
a[style*="color: #8EC549"]:not(:hover):not(:focus) {
  color: #000 !important;
}

/* ===== Gravity Forms – Global Styling ===== */

/* 1) Reduce vertical spacing between fields */
.gform_wrapper .gform_fields li.gfield {
  margin-bottom: 8px !important;   /* tighten field blocks */
  padding-bottom: 0 !important;    /* remove extra padding */
}

.gform_wrapper .gfield_label {
  margin-bottom: 4px !important;   /* tighten label spacing */
}

.gform_wrapper .gform_body {
  margin-bottom: 12px !important;  /* tighten before submit button */
}

/* 2) Consistent input + textarea keylines (light grey) */
.gform_wrapper input[type="text"],
.gform_wrapper input[type="email"],
.gform_wrapper input[type="url"],
.gform_wrapper input[type="tel"],
.gform_wrapper input[type="number"],
.gform_wrapper input[type="password"],
.gform_wrapper input[type="search"],
.gform_wrapper select,
.gform_wrapper textarea {
  border: 1px solid #d1d1d1 !important; /* consistent light grey keyline */
  border-radius: 0;                      /* keep sharp edges */
  box-shadow: none;                      /* remove default GF shadows */
  background: #fff;                      /* white background */
  padding: 10px 12px;                    /* compact padding */
  margin-bottom: 0 !important;           /* prevent inputs adding extra gap */
}

/* 3) Submit button → block, black, full width */
.gform_wrapper .gform_footer input[type="submit"],
.gform_wrapper .gform_page_footer input[type="submit"],
.gform_wrapper .gform_page_footer input[type="button"] {
  display: block;
  width: 100%;
  background-color: #000 !important;     /* black button */
  color: #fff !important;                /* white text */
  border: none !important;
  border-radius: 0;                      /* squared corners */
  font: inherit;
  padding: 14px 0;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease;
}

/* Hover state for submit button */
.gform_wrapper .gform_footer input[type="submit"]:hover,
.gform_wrapper .gform_page_footer input[type="submit"]:hover,
.gform_wrapper .gform_page_footer input[type="button"]:hover {
  background-color: #333 !important;     /* softer black on hover */
}

@media (max-width: 767px) {
  /* Center the column content as a group */
  body.page-id-17213 .center-mobile .vc_column-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;  /*
}

.us-flex-center > .wpb_column > .vc_column-inner {
  display: flex;
  align-items: center;
}