.crowley_property_listings {
	--crowley-property-columns-desktop: 4;
	--crowley-property-columns-tablet: 2;
	--crowley-property-columns-phone: 1;
	--crowley-property-grid-gap: 1.5%;
	--crowley-property-blue-dark: #03012f;
	--crowley-property-border: rgba(0, 0, 0, 0.12);
	--crowley-property-text: #ffffff;
	--crowley-property-muted: #ffffff;
}

.crowley-property-listings__grid {
	display: grid;
	grid-template-columns: repeat(var(--crowley-property-columns-desktop), minmax(0, 1fr));
	column-gap: var(--crowley-property-grid-gap);
	row-gap: 24px;
	width: 100%;
}

.crowley_property_listing {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: var(--crowley-property-blue-dark) !important;
	background-color: var(--crowley-property-blue-dark) !important;
	border: 0 !important;
	border-radius: 5px;
	color: var(--crowley-property-text) !important;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
}

.crowley_property_listing:hover,
.crowley_property_listing:focus-within {
	background: #ffffff !important;
	background-color: #ffffff !important;
	color: var(--crowley-property-blue-dark) !important;
}

.crowley-property-listing__image {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f1f1f1;
}

.crowley-property-listing__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.86);
	transition: filter 0.25s ease !important;
	transform: none !important;
}

.crowley_property_listing:hover .crowley-property-listing__image img,
.crowley_property_listing:focus-within .crowley-property-listing__image img {
	filter: brightness(0.58);
	transform: none !important;
}

.crowley-property-listing__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 18px;
	padding: 20px;
}

.crowley-property-listing__address {
	margin: 0;
	padding: 0;
	color: var(--crowley-property-text) !important;
	font-size: 22px;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
	transition: color 0.25s ease;
}

.crowley-property-listing__stats {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	margin: auto 0 0 !important;
	margin-left: 0 !important;
	padding: 0 !important;
	padding-left: 0 !important;
	list-style: none !important;
}

.crowley-property-listing__stat {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
	color: var(--crowley-property-muted) !important;
	font-size: 14px;
	font-weight: 400;
	line-height: 1.2;
	transition: color 0.25s ease;
}

.crowley-property-listing__stat-text {
	min-width: 0;
	color: var(--crowley-property-text) !important;
	font-weight: 400;
	transition: color 0.25s ease;
}

.crowley-property-listing__icon {
	display: block;
	flex: 0 0 24px;
	width: 24px;
	height: 24px;
	color: #ffffff !important;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 1.8;
	transition: color 0.25s ease;
}

.crowley-property-listing__stat-value {
	color: var(--crowley-property-text) !important;
	font-weight: 400;
	transition: color 0.25s ease;
}

.crowley-property-listing__stat-label {
	color: var(--crowley-property-text) !important;
	font-weight: 400;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
	transition: color 0.25s ease;
}

.crowley_property_listing:hover .crowley-property-listing__address,
.crowley_property_listing:focus-within .crowley-property-listing__address,
.crowley_property_listing:hover .crowley-property-listing__stat,
.crowley_property_listing:focus-within .crowley-property-listing__stat,
.crowley_property_listing:hover .crowley-property-listing__stat-text,
.crowley_property_listing:focus-within .crowley-property-listing__stat-text,
.crowley_property_listing:hover .crowley-property-listing__icon,
.crowley_property_listing:focus-within .crowley-property-listing__icon,
.crowley_property_listing:hover .crowley-property-listing__stat-value,
.crowley_property_listing:focus-within .crowley-property-listing__stat-value,
.crowley_property_listing:hover .crowley-property-listing__stat-label,
.crowley_property_listing:focus-within .crowley-property-listing__stat-label {
	color: var(--crowley-property-blue-dark) !important;
}

.crowley-property-listings__empty {
	padding: 24px;
	border: 1px dashed var(--crowley-property-border);
	color: var(--crowley-property-muted);
	text-align: center;
}

@media (max-width: 980px) {
	.crowley-property-listings__grid {
		grid-template-columns: repeat(var(--crowley-property-columns-tablet), minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.crowley-property-listings__grid {
		grid-template-columns: repeat(var(--crowley-property-columns-phone), minmax(0, 1fr));
	}

	.crowley-property-listing__body {
		padding: 18px;
	}
}
