/* container  */
.custom-property-loop {
    max-width: 1400px;
    margin: auto;
    display: grid;
    gap: 32px;                    
    grid-template-columns: repeat(4, 1fr);  
	padding: 0 16px;
}

.custom-property-loop {
	
}

.custom-property-loop i {
	color: #0b2465;
	font-size: 18px;
}

.custom-house-property-link, .custom-house-property  {
	height: 100%;
	display: flex!important;
	flex-direction: column;
}

.property-inner-wrapper {
	display: flex;
	flex-direction: column;
/* 	justify-content: space-between; */
	flex: 1;

}

.property-inner-wrapper .btn-lg   { margin-top:auto; }

.property-detail {
	
}

.property-detail h3 {
	font-size: 24px;
	font-family: "Libre Baskerville", sans-serif;
	margin-bottom: 32px;
}

.property-price, .property-info {
	font-size: 20px;
	font-family: "Helvetica", sans-serif;
}

.property-info {
	display: flex;
	flex-direction: column;
}

@media (min-width:768px) and (max-width:1024px){
    .custom-property-loop{ grid-template-columns: repeat(3, 1fr); }
}
@media (min-width:577px) and (max-width:767px){
    .custom-property-loop{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width:576px){
    .custom-property-loop{ grid-template-columns: 1fr; }
}

.wppf_property_item .ribbon-wrapper {
	position: absolute;
	top: -5px;
    left: -5px;
    width: 15rem;
    height: 15rem;
    pointer-events: none;
	overflow: hidden;
}


.wppf_property_item .ribbon-wrapper .ribbon-wrapper-inner {
	position: relative;
	height: 100%;
}


.wppf_property_item .ribbon-wrapper .custom-ribbon {
	display: flex;
    align-items: center;
    justify-content: center;
	text-align: center;
	box-shadow: 0 0 .15rem 0 rgba(0, 0, 0, .375);
	position: absolute;
	font-size: 12px;
    line-height: 0.9;
	text-transform: uppercase;
	font-weight: bold;
	
	height: 45px;
    width: 200px;
    padding: 10px 50px;
    top: 25px;
    left: -50px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    pointer-events: none;
	
/* 	background-color: #0B2465FC; */
	color: #fff;
}

/* colour themes driven by PHP */
.ribbon--part-ex  { background: #a93a2e; }   /* red */
.ribbon--stamp    { background: #e59d37; }   /* yellow */
.ribbon--deposit  { background:#198754; }   /* green */
.ribbon--default  { background:#6c757d; }   /* grey fallback */

.wppf_property_item .ribbon-wrapper .custom-ribbon::before {
	content: "";
	border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-right: 5px solid rgba(0, 0, 0, .5);
	width: 0;
	height: 0;
	position: absolute;
	/* 	test  */
	left: 4.1%;
    transform: rotate(45deg);
    top: 90%;
}

.wppf_property_item .ribbon-wrapper .custom-ribbon::after {
	content: "";
	border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-bottom: 5px solid rgba(0, 0, 0, .5);
	width: 0;
	height: 0;
	position: absolute;
	/* 	test  */
	top: 96%;
    transform: rotate(45deg);
    left: 91%;
}

.wppf_property_item .part-ex-sticker {
	position: absolute;
	right: 10px;
	top: 10px;
}


.wppf_property_item .part-ex-sticker img {
	width: 48px;
	height: 48px;
	max-width: 100%;
}