/* Nav Dropdowns */

.navContent ul li ul a {
    white-space: normal !important;
    overflow: visible !important;
}

@media only screen and (min-width: 768px) {
    .navContent ul li ul {
        min-width: 250px !important;
        right: auto !important; 
    }
}


/*Responsive Homepage Hero*/
/*replace <.block_...> with copyable selector from widget*/

@media only screen and (max-width: 767px) {
    .blockContainer:has(.block_f899ca0e1e674ccbbac858950867939b) {
        padding-top: 40px;
        padding-bottom: 20px;
        text-align: center;
    }

    .block_f899ca0e1e674ccbbac858950867939b .pageTitle {
        font-size: 60px;
    }

    .block_f899ca0e1e674ccbbac858950867939b .blockInnerContent {
        font-size: 22px;
    }
}


/* HOME TESTIMONIALS Equalize Simple List Blocks*/

/* Change item class here */
.items_e7283708d7a9448f9e6ce01676edf03b { 
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	min-height: 100%;
}

/* Change item class here */
.items_e7283708d7a9448f9e6ce01676edf03b > .item {
	display: flex;
	flex-direction: column;
}


/* TESTIMONIALS PAGE Equalize Simple List Blocks*/

/* Change item class here */
.items_c3bfce241f9e4a2981c63cc3fbc5306b { 
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	min-height: 100%;
}

/* Change item class here */
.items_c3bfce241f9e4a2981c63cc3fbc5306b > .item {
	display: flex;
	flex-direction: column;
}

/* CONTACT PAGE Equalize Simple List Blocks*/

/* Change item class here */
.items_f24f3b725a634c2d9d1fc85d77d5e9e1 { 
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	min-height: 100%;
}

/* Change item class here */
.items_f24f3b725a634c2d9d1fc85d77d5e9e1 > .item {
	display: flex;
	flex-direction: column;
}
/* ---------------------------------------------------- */
/* SECTION 1: LAYOUT & OVERFLOW FIXES (Using !important) */
/* These rules prevent the Remine widget from overflowing/spilling out */
/* ---------------------------------------------------- */

/* Container for Desktop Alignment and Overflow Management */
.remine-widget-container {
    max-width: 650px !important; /* Sets max width and centers it on desktop */
    margin: 0 auto !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important; /* Prevents scrollbar on the container itself */
}

/* Force the key internal elements (wrapper and search-input) to fit 100% of the container */
.remine-widget-container .wrapper,
.remine-widget-container .search-input {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Ensure the text input field itself does not cause overflow */
.remine-widget-container .search-input input[type="text"] {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
}

/* Final Mobile Failsafe: Hide horizontal overflow on the entire page */
@media screen and (max-width: 768px) {
    body, html {
        overflow-x: hidden !important;
    }
}


/* ---------------------------------------------------- */
/* SECTION 2: PRESENTATION STYLES (Restoring Visuals) */
/* These rules re-apply the desired styling (shadow, padding, etc.) */
/* ---------------------------------------------------- */

.remine-widget-container .search-input {
    /* Visuals to restore functionality and look */
    border-radius: 4px !important;
    
    /* Darker drop shadow: 4px vertical offset, 12px blur, 40% opacity black */
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important; 
    
    padding: 8px !important; /* Padding inside the box for content */
    
    /* Display/Layout needed for the input and icon to sit next to each other */
    display: flex !important;
    align-items: center !important;
}