/* Smooth transition */
.site-header,
.site-header-wrap,
.site-main-header-wrap {
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

/* When the Kadence header becomes sticky (desktop + mobile) */
.kadence-sticky-header.item-is-fixed,
.kadence-sticky-header.item-is-stuck,
.site-main-header-wrap.kadence-sticky-header.item-is-fixed,
.site-main-header-wrap.kadence-sticky-header.item-is-stuck,
.site-header-wrap.kadence-sticky-header.item-is-fixed,
.site-header-wrap.kadence-sticky-header.item-is-stuck {
    box-shadow: 0 4px 12px rgba(0,0,0,0.12) !important; /* softened shadow */
    background-color: #ffffff !important; /* prevents transparent header issues */
}





/* Footer Top Shadow Matching Header Shadow */
.footer-shadow-top {
    position: relative;
    z-index: 1;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.12); /* upward shadow, matched to header */
}






.my-image-box {
    cursor: pointer;
    transition: transform 0.3s ease;
    position: relative;
    background-size: cover;
    background-position: center;
    transform: translateZ(0);
    transition: transform 0.4s ease;
}
.my-image-box:hover {
    transform: scale(1.05) translateZ(0);
}
.my-image-box::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}






/* ================================
   SHOWCASE IDX FORM – TEXT STYLING
   ================================ */

/* Load Manrope font (safe to include even if already loaded) */
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

/* Field labels (Lead Name, First Name, Email, etc.) */
.sidx-simple-form label strong {
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-weight: 600;
}

/* SMS / opt-in consent text */
.sidx-simple-form label span {
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-weight: 400;
}

/* Policy, disclaimer, helper text */
.sidx-simple-form .sidx-policy__text,
.sidx-simple-form p,
.sidx-simple-form small {
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
}

/* Links inside IDX form (Privacy Policy, Terms, Cookie Policy) */
.sidx-simple-form a {
    color: #ffffff;
    font-family: 'Manrope', sans-serif;
    font-weight: 500;
    text-decoration: underline;
}

/* Link hover (optional but recommended) */
.sidx-simple-form a:hover {
    color: #e6e6e6;
}

/* Checkbox label alignment (optional polish) */
.sidx-simple-form input[type="checkbox"] + label,
.sidx-simple-form label {
    font-family: 'Manrope', sans-serif;
}



/* ================================
   IDX FORM — MANROPE ONLY (NORMAL COLORS)
   Pages: 420, 429, 447, 438, 453, 399, 465, 464
   ================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@400;500;600;700&display=swap');

.page-id-420 .sidx-simple-form,
.page-id-420 .sidx-simple-form *,

.page-id-429 .sidx-simple-form,
.page-id-429 .sidx-simple-form *,

.page-id-447 .sidx-simple-form,
.page-id-447 .sidx-simple-form *,

.page-id-438 .sidx-simple-form,
.page-id-438 .sidx-simple-form *,

.page-id-453 .sidx-simple-form,
.page-id-453 .sidx-simple-form *,

.page-id-399 .sidx-simple-form,
.page-id-399 .sidx-simple-form *,

.page-id-465 .sidx-simple-form,
.page-id-465 .sidx-simple-form *,

.page-id-329 .sidx-simple-form,
.page-id-329 .sidx-simple-form *,

.page-id-464 .sidx-simple-form,
.page-id-464 .sidx-simple-form * {
    font-family: 'Manrope', sans-serif;
    color: inherit; /* keeps original Showcase IDX colors */
}



/* Make the search bar layout horizontal */
.sidx-searchform .sidx-basic {
  display: flex;
  align-items: stretch;
}

/* Make the input take full width */
.sidx-searchform .sidx-locations-field-wrapper {
  flex: 1;
}

/* Style the search button on the right */
.sidx-searchform button.sidx-primary {
  margin-left: 0;
  border-radius: 0 6px 6px 0;
  height: auto;
}

/* Remove rounded corners from input so it connects cleanly */
.sidx-searchform .sidx-suggestions-input input {
  border-radius: 6px 0 0 6px;
}

body.logged-in .site-top-header-inner-wrap a.social-link-custom1 {
  display: none !important;
}