/* =====================================
   TESTIMONIAL FONT STYLE
===================================== */
.wpmtst-testimonial-content p {
  font-size: 25px;
  font-family: "Gilda Display", serif;
}


/* =====================================
   CONTACT PAGE - SPLIT LAYOUT
===================================== */

/* Force equal height columns in contact section */
.contact-split {
  display: flex !important;
  align-items: stretch !important;
}

.contact-split > .wp-block-column {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.contact-split .wp-block-image {
  flex: 1;
}

.contact-split img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}


/* Remove white boxed background on Contact page */
body.page-id-1736 .site-inner {
  background-color: #f9f6f4 !important;
}


/* =====================================
   TRUSTINDEX / GOOGLE REVIEWS
===================================== */

/* Stop ALL CAPS on Google Review widget text */
.ti-widget,
.ti-widget * {
  text-transform: none !important;
  letter-spacing: normal !important;
}


/* =====================================
   HOMEPAGE HERO (Front Page 1)
===================================== */

.home .front-page-1 {
  position: relative;
}

/* Dark overlay on hero image */
.home .front-page-1::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45); /* adjust 0.35 lighter / 0.55 darker */
  z-index: 1;
  pointer-events: none;
}

/* Keep hero content above overlay */
.home .front-page-1 .wrap,
.home .front-page-1 .widget,
.home .front-page-1 .widget * {
  position: relative;
  z-index: 2;
}

/* Optional soft frosted glass effect for text box */
.home .front-page-1 .wrap {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(6px);
  border-radius: 18px;
  padding: 28px 32px;
}

/* DIM Clover Front Page 1 background image (Desktop) */
.home .front-page-1,
.home .front-page-1 .image-section {
  background-color: rgba(0,0,0,0.45) !important;  /* 0.35 lighter, 0.60 darker */
  background-blend-mode: multiply !important;
}
/* OVERLAY on top of Clover hero background */
.home .front-page-1 .image-section {
  position: relative !important;
}

.home .front-page-1 .image-section::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.45); /* adjust darkness */
  pointer-events: none;
  z-index: 1;
}

/* Keep your hero text/buttons above the overlay */
.home .front-page-1 .image-section .wrap,
.home .front-page-1 .image-section .widget-area,
.home .front-page-1 .image-section .widget,
.home .front-page-1 .image-section .widget * {
  position: relative;
  z-index: 2;
}
body,
.site,
.site-content {
    background-color: #f9f6f4 !important;
}

/* Header dropdowns: left-aligned and wide enough for one-line items */
.header-left-wrap .sub-menu,
.header-right-wrap .sub-menu {
    width: 240px !important;
}
.header-left-wrap .sub-menu a,
.header-right-wrap .sub-menu a {
    width: 240px !important;
    text-align: left !important;
    padding-left: 20px !important;
    box-sizing: border-box;
}

/* Buttons: soft sage with white text, navy on hover */
.elementor-widget-button .elementor-button {
    background-color: #9EB8B5 !important;
    border: none !important;
}
.elementor-widget-button .elementor-button,
.elementor-widget-button .elementor-button .elementor-button-text {
    color: #FFFFFF !important;
}
.elementor-widget-button .elementor-button:hover,
.elementor-widget-button .elementor-button:focus {
    background-color: #3B5466 !important;
}

/* FAQ accordions: navy question titles */
.elementor-accordion .elementor-tab-title,
.elementor-accordion .elementor-tab-title a,
.elementor-accordion .elementor-accordion-icon {
    color: #3B5466 !important;
}


/* Tablet & phone layout fixes */
@media (min-width:768px) and (max-width:1024px){
  .e-con:has(> .e-con:nth-child(5):last-child) > .e-con{--width:31% !important;}
  .e-con:has(> .e-con:nth-child(4):last-child) > .e-con{--width:47% !important;}
}
@media (max-width:767px){
  h1.elementor-heading-title{text-align:center !important;}
  [data-elementor-type="wp-page"] > .e-con:nth-child(-n+2) .elementor-widget-text-editor,
  [data-elementor-type="wp-page"] > .e-con:nth-child(-n+2) .elementor-widget-text-editor p{line-height:1.45 !important;}
}
