@font-face {
/*    font-family: 'arial'; /* This is the name you will use to refer to the font */
    font-family: 'arial'; /* This is the name you will use to refer to the font */
    src: url('https://rmmstaging.co.za/medine/wp-content/uploads/2025/05/HalenoirCompact-Regular.woff2') format('woff2'),
         url('https://rmmstaging.co.za/medine/wp-content/uploads/2025/05/HalenoirCompact-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
/*    font-family: 'custom-bold'; /* This is the name you will use to refer to the font */
    font-family: 'custom-bold'; /* This is the name you will use to refer to the font */
    src: url('https://rmmstaging.co.za/medine/wp-content/uploads/2025/05/HalenoirCompact-Bold.woff2') format('woff2'),
         url('https://rmmstaging.co.za/medine/wp-content/uploads/2025/05/HalenoirCompact-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

@font-face {
/*    font-family: 'custom-semi-bold'; /* This is the name you will use to refer to the font */
    font-family: 'custom-semi-bold'; /* This is the name you will use to refer to the font */
    src: url('https://rmmstaging.co.za/medine/wp-content/uploads/2025/05/HalenoirCompact-Medium.woff2') format('woff2'),
         url('https://rmmstaging.co.za/medine/wp-content/uploads/2025/05/HalenoirCompact-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
}

.projectItem {
	
	height: 690px;


}

	.projectItem span {
		color: grey;
		font-size: 14px;
	}

.image-wrapper {
	width: 100%;
}

.projectItem img {
	width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
	margin-bottom: 30px;
}

.unit-type-list {
	list-style: none;
    padding: 0;
    margin-top: 15px;
	margin-bottom: 40px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.unit-type-item {
	color: white;
    background-color: grey;
    border-radius: 15px;
    padding: 2px 13px;
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
/*	font-family: 'custom-regular';*/
	font-family: 'arial';
	font-size: 13px;
}

.title-container {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: bottom;
}

.title-container h4 {
	margin: 0;
}

.title {
	font-size: 18px;
/*	font-family: 'custom-bold';*/
	font-family: 'arial';
}

.type {
	right: 0px;
    position: relative;
    font-size: 15px;
	color: grey;
/*	font-family: 'arial';*/
	font-family: 'arial';
}

.property-description {
	margin-top: 15px;
	color: grey;
/*	font-family: 'custom-regular';*/
	font-family: 'arial';
	font-size: 13px;
}

.cta_btn {
	background-color: #ed423b;
    border-radius: 8px;
    padding: 10px 15px;
    color: white !important;
    border-bottom-left-radius: 0px;
	transition: 0.3s ease-in-out;
	border: 1px solid #ed423b;
/*	font-family: 'arial';*/
	font-family: 'arial';
	font-size: 15px;
	box-shadow: 0 0 6px 3px #00000040 !important;
}

.cta_btn:hover {
	background-color: white;
	border: 1px solid #ed423b;
	color: #ed423b !important;
}

 #search-filter-form-691 ul {
	display: flex;
    gap: 10px;
    justify-content: center;
/*	box-shadow: 0px 4px 6px -2px #00000050;*/
}

#search-filter-form-691 li {
	font-family: 'arial';
	font-family: 'arial';
	font-size: 16px;
}

#search-filter-form-691 .sf-field-reset a{
	padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ed423b;
    border-radius: 3px;
    width: 150px;
    height: 36px;
    align-self: center;
	background-color: #ed423b;
	border: 1px solid #ed423b;
	transition: 0.3s ease-in-out;
/*	font-family: 'arial';*/
	font-family: 'arial';
	font-size: 16px;
}

#search-filter-form-691 .sf-field-reset a {
	color: white;
	transition: 0.3s ease-in-out;
/*	font-family: 'arial';*/
	font-family: 'arial';
	font-size: 16px;
	box-shadow: 0 0 6px 3px #00000040 !important;
}

#search-filter-form-691 .sf-field-reset a:hover {
	color: #ed423b;
}

#search-filter-form-691 .sf-field-reset a:hover {
	background-color: white;
	border: 1px solid #ed423b;
	

} 
#search-filter-form-691 .sf-field-reset a {
		color: #ed423b;
	}

.container-fluid {
	padding: 0 150px;
}

/* MOBILE ================================================================================================================================== */

@media only screen and (max-width: 1024px) {
.projectItem {
	height: 630px;
}

.image-wrapper {
	width: 100%;
}

.projectItem img {
    height: 270px;
}

.unit-type-list {
	margin-bottom: 35px;
}
	
.container-fluid {
	padding: 0px 25px;
}

/* #search-filter-form-691 ul {
    gap: 0px;
    flex-direction: column;
    padding: 20px 20px;
}

#search-filter-form-691 li {
    padding: 7px 0px;
}
	
#search-filter-form-691 li label {
    width: 100%;
}

#search-filter-form-691 .sf-field-reset a {
	width: 100%;
}

#search-filter-form-691 .sf-field-reset a:hover {
	color: #ed423b;
}

#search-filter-form-691 .sf-field-reset a:hover {
	background-color: white;
	border: 1px solid #ed423b;
	
	a {
		color: #ed423b;
	} */

}

/* Trying AI genrated css styles for search filter bar */

/* Main container styling - matches .filterBar */
#search-filter-form-691 {
        margin-bottom: 10px;
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    flex-direction: row;
    padding: 10px 15px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(0,0,0,0.1);
    position: relative;
    transition: all 0.3s ease;
    justify-content: center;
    align-items: center;
}

/* Container for filter items */
#search-filter-form-691 .sf-field-search,
#search-filter-form-691 .sf-field-category,
#search-filter-form-691 .sf-field-tag,
#search-filter-form-691 .sf-field-post_tag,
#search-filter-form-691 .sf-field,
#search-filter-form-691 ul,
#search-filter-form-691 .sf-input-container {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    position: relative;
    z-index: 1;
}

/* Select dropdowns - matches .filterBar select */
#search-filter-form-691 select {
    font-size: 12px !important;
    width: 25%;
/*    font-family: 'arial';*/
    font-family: 'arial';
    border: 2px solid #cccccc;
    color: #000000;
    transition: all 0.3s ease;
    padding: 8px 35px 8px 12px;
    border-radius: 6px;
    background: white;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23999999' d='M1.41 0L6 4.59L10.59 0L12 1.41L6 7.41L0 1.41z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 12px 8px;
    margin: 0;
    cursor: pointer;
}

/* Active select state - matches .filterBar select.active */
#search-filter-form-691 select:focus,
#search-filter-form-691 select.active {
    border-color: #ED423B !important;
    color: #ED423B !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ED423B' d='M1.41 0L6 4.59L10.59 0L12 1.41L6 7.41L0 1.41z'/%3E%3C/svg%3E");
    outline: none;
}

#search-filter-form-691 select:focus {
    box-shadow: 0 0 0 2px rgba(237, 66, 59, 0.2);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23F78B3C' d='M1.41 0L6 4.59L10.59 0L12 1.41L6 7.41L0 1.41z'/%3E%3C/svg%3E");
}

/* Button styling - matches .filter-btn */
#search-filter-form-691 .sf-field-submit input[type="submit"],
#search-filter-form-691 button[type="submit"],
#search-filter-form-691 .submit-btn,
#search-filter-form-691 .sf-field button {
    margin-right: 5px;
    padding: 8px 16px;
    width: 25%;
    border: none;
    background: #eee;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
    transition: background 0.2s;
/*    font-family: 'custom-semi-bold';*/
    font-family: 'arial';
    color: white;
    background-color: #ED423B;
    transition: 0.2s ease-in-out;
}

#search-filter-form-691 .sf-field-submit input[type="submit"]:hover,
#search-filter-form-691 button[type="submit"]:hover,
#search-filter-form-691 .submit-btn:hover,
#search-filter-form-691 .sf-field button:hover {
    background: #F78B3C;
    color: #fff;
}

/* Reset/Clear button styling - matches disabled state */
#search-filter-form-691 .sf-field-reset input,
#search-filter-form-691 .reset-btn,
#search-filter-form-691 .clear-btn {
    margin-right: 5px;
    padding: 8px 16px;
    width: 25%;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
/*    font-family: 'custom-semi-bold';*/
    font-family: 'arial';
    color: white;
    background-color: #ED423B;
    transition: 0.2s ease-in-out;
}

#search-filter-form-691 .sf-field-reset input.disabled,
#search-filter-form-691 .reset-btn.disabled,
#search-filter-form-691 .clear-btn.disabled {
    background-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

#search-filter-form-691 .sf-field-reset input.disabled:hover,
#search-filter-form-691 .reset-btn.disabled:hover,
#search-filter-form-691 .clear-btn.disabled:hover {
    background-color: #cccccc !important;
    color: #666666 !important;
}

/* Search input styling */
#search-filter-form-691 input[type="text"],
#search-filter-form-691 input[type="search"] {
    font-size: 12px;
    width: 25%;
/*    font-family: 'arial';*/
    font-family: 'arial';
    border: 2px solid #cccccc;
    color: #000000;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 6px;
    background: white;
    margin: 0;
}

#search-filter-form-691 input[type="text"]:focus,
#search-filter-form-691 input[type="search"]:focus {
    border-color: #ED423B !important;
    color: #ED423B !important;
    outline: none;
    box-shadow: 0 0 0 2px rgba(237, 66, 59, 0.2);
}

#search-filter-form-691 input[type="text"]::placeholder,
#search-filter-form-691 input[type="search"]::placeholder {
    color: #999999;
    font-style: normal;
}

/* Field labels - matches filter bar clean style */
#search-filter-form-691 .sf-field > label,
#search-filter-form-691 .sf-field-title {
    background: none;
    color: #000000;
    font-weight: 600;
    font-size: 12px;
    margin-bottom: 8px;
    margin-right: 12px;
    padding: 0;
    border: none;
    box-shadow: none;
/*    font-family: 'custom-semi-bold';*/
    font-family: 'arial';
    position: relative;
}

.searchandfilter ul li {
	width: 100% !important;
	display: flex;
	flex-direction: column;
}

/* Range slider styling - clean version */
#search-filter-form-691 .sf-meta-range,
#search-filter-form-691 .sf-range-slider {
    background: white;
    border: 2px solid #cccccc;
    border-radius: 6px;
    padding: 15px;
    margin: 0;
}

#search-filter-form-691 .sf-range-slider .ui-slider-handle {
    background: #ED423B;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

#search-filter-form-691 .sf-range-slider .ui-slider-range {
    background: #ED423B;
    border-radius: 3px;
}

/* Loading states */
#search-filter-form-691.sf-loading {
    opacity: 0.7;
    pointer-events: none;
}

#search-filter-form-691.sf-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid rgba(237, 66, 59, 0.3);
    border-top: 2px solid #ED423B;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

/* Results count styling - clean version */
#search-filter-form-691 .sf-result-count {
    background: none;
    color: #666666;
    padding: 0;
    font-size: 12px;
    font-weight: normal;
/*    font-family: 'arial';*/
    font-family: 'arial';
    margin-left: 10px;
}

/* Clean up any default plugin styling */
#search-filter-form-691 * {
    box-sizing: border-box;
}

#search-filter-form-691 fieldset {
    border: none;
    margin: 0;
    padding: 0;
}

#search-filter-form-691 legend {
    display: none;
}

/* Reset/Clear button styling - matches filter-btn logic */
#search-filter-form-691 .sf-field-reset input,
#search-filter-form-691 .sf-field-reset .search-filter-reset,
#search-filter-form-691 .reset-btn,
#search-filter-form-691 .clear-btn {
    margin-right: 5px;
    padding: 8px 16px;
    width: 140px;
	text-align: center;
    border: none;
    cursor: pointer;
    border-radius: 6px;
    font-size: 12px;
/*    font-family: 'custom-semi-bold';*/
    font-family: 'arial';
    color: white;
    background-color: #ED423B;
    transition: 0.2s ease-in-out;
    text-decoration: none;
    display: inline-block;
    box-sizing: border-box;
}

/* Active/enabled reset button hover */
#search-filter-form-691 .sf-field-reset .search-filter-reset:hover,
#search-filter-form-691 .sf-field-reset input:hover,
#search-filter-form-691 .reset-btn:hover,
#search-filter-form-691 .clear-btn:hover {
    background: #F78B3C;
    color: #fff;
}

/* Disabled state for reset buttons - matches .filter-btn.disabled */
#search-filter-form-691 .sf-field-reset.disabled .search-filter-reset .disabled,
#search-filter-form-691 .sf-field-reset input.disabled,
#search-filter-form-691 .reset-btn.disabled,
#search-filter-form-691 .clear-btn.disabled {
    background-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

#search-filter-form-691 .sf-field-reset.disabled .search-filter-reset:hover,
#search-filter-form-691 .sf-field-reset input.disabled:hover,
#search-filter-form-691 .reset-btn.disabled:hover,
#search-filter-form-691 .clear-btn.disabled:hover {
    background-color: #cccccc !important;
    color: #666666 !important;
}

/* Mobile responsive styling */
@media (max-width: 768px) {
    #search-filter-form-691 ul {
        display: flex;
        flex-direction: column;
        width: 100%;
		gap: 0px;
    }
	
	#search-filter-form-691 {
		width: 90% !important;
		margin: 10px 20px !important;
	}
    
    #search-filter-form-691 select {
        width: 100% !important;
    }
    
    #search-filter-form-691 .sf-field-reset .search-filter-reset,
    #search-filter-form-691 .sf-field-reset input,
    #search-filter-form-691 .reset-btn,
    #search-filter-form-691 .clear-btn {
        width: 100% !important;
    }
}

* Active select styles that match your existing theme colors */
#search-filter-form-691 .sf-field-post-meta-project select.active,
#search-filter-form-691 .sf-field-post-meta-property_type select.active,
#search-filter-form-691 .sf-field-post-meta-unit_type select.active,
#search-filter-form-691 .sf-field-post-meta-status select.active {
    border-color: #ED423B !important;
    color: #ED423B !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ED423B' d='M1.41 0L6 4.59L10.59 0L12 1.41L6 7.41L0 1.41z'/%3E%3C/svg%3E") !important;
    box-shadow: 0 0 0 2px rgba(237, 66, 59, 0.2);
    background-color: rgba(237, 66, 59, 0.05);
}

/* Active field container styles */
#search-filter-form-691 .sf-field-post-meta-project:has(select.active),
#search-filter-form-691 .sf-field-post-meta-property_type:has(select.active),
#search-filter-form-691 .sf-field-post-meta-unit_type:has(select.active),
#search-filter-form-691 .sf-field-post-meta-status:has(select.active) {
    position: relative;
}

/* Hover effects for active filters */
#search-filter-form-691 .sf-field-post-meta-project select.active:hover,
#search-filter-form-691 .sf-field-post-meta-property_type select.active:hover,
#search-filter-form-691 .sf-field-post-meta-unit_type select.active:hover,
#search-filter-form-691 .sf-field-post-meta-status select.active:hover {
    border-color: #F78B3C !important;
    color: #F78B3C !important;
    box-shadow: 0 0 0 2px rgba(247, 139, 60, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23F78B3C' d='M1.41 0L6 4.59L10.59 0L12 1.41L6 7.41L0 1.41z'/%3E%3C/svg%3E") !important;
}

/* Focus effects for active filters */
#search-filter-form-691 .sf-field-post-meta-project select.active:focus,
#search-filter-form-691 .sf-field-post-meta-property_type select.active:focus,
#search-filter-form-691 .sf-field-post-meta-unit_type select.active:focus,
#search-filter-form-691 .sf-field-post-meta-status select.active:focus {
    outline: none;
    border-color: #F78B3C !important;
    box-shadow: 0 0 0 3px rgba(247, 139, 60, 0.3);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23F78B3C' d='M1.41 0L6 4.59L10.59 0L12 1.41L6 7.41L0 1.41z'/%3E%3C/svg%3E") !important;
}

/* Smooth transitions for all select elements */
#search-filter-form-691 select {
    transition: all 0.3s ease;
}

/* Subtle glow animation when filter becomes active */
#search-filter-form-691 .sf-field-post-meta-project:has(select.active),
#search-filter-form-691 .sf-field-post-meta-property_type:has(select.active),
#search-filter-form-691 .sf-field-post-meta-unit_type:has(select.active),
#search-filter-form-691 .sf-field-post-meta-status:has(select.active) {
    animation: subtle-glow 2s ease-in-out;
}

@keyframes subtle-glow {
    0% { box-shadow: none; }
    50% { box-shadow: 0 0 5px rgba(237, 66, 59, 0.3); }
    100% { box-shadow: none; }
}

/* Fallback for browsers that don't support :has() selector */
@supports not (selector(:has(*))) {
    #search-filter-form-691 .sf-field-post-meta-project,
    #search-filter-form-691 .sf-field-post-meta-property_type,
    #search-filter-form-691 .sf-field-post-meta-unit_type,
    #search-filter-form-691 .sf-field-post-meta-status {
        position: relative;
    }
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    /* Mobile-specific styles can go here if needed */
}

.search-filter-reset.disabled {
	pointer-events: none !important;
	background-color: grey !important;
}