/* Si-Syndic Residence Grid Styles */

.si-syndic-residence-grid-wrapper {
	width: 100%;
	margin: 20px 0;
}

.si-syndic-residence-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
	gap: 30px;
	margin-bottom: 30px;
}

.si-syndic-residence-item {
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	overflow: hidden;
	transition: all 0.3s ease;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.si-syndic-residence-item:hover {
	box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
	transform: translateY(-4px);
}

.residence-image {
	width: 100%;
	height: 200px;
	overflow: hidden;
	background: #f5f5f5;
}

.residence-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.residence-image-placeholder {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #f5f5f5 0%, #ececec 100%);
	color: #999;
}

.residence-image-placeholder svg {
	width: 60px;
	height: 60px;
	stroke: currentColor;
}

.residence-content {
	padding: 20px;
}

.residence-title {
	margin: 0 0 15px 0;
	font-size: 18px;
	font-weight: 600;
	color: #333;
	line-height: 1.3;
}

.residence-address {
	margin: 0 0 15px 0;
	font-size: 14px;
	color: #666;
	line-height: 1.6;
}

.residence-address strong {
	display: block;
	margin-bottom: 5px;
	color: #333;
	font-size: 13px;
}

.residence-lots {
	margin: 0;
	font-size: 15px;
	color: #2c3e50;
	font-weight: 600;
}

/* Pagination Styles */
.si-syndic-pagination {
	margin: 40px 0;
	text-align: center;
}

.si-syndic-pagination .page-numbers {
	display: inline-block;
	list-style: none;
	padding: 0;
	margin: 0;
}

.si-syndic-pagination .page-numbers li {
	display: inline-block;
	margin-right: 5px;
}

.si-syndic-pagination .page-numbers a,
.si-syndic-pagination .page-numbers span {
	display: inline-block;
	padding: 8px 12px;
	border: 1px solid #ddd;
	border-radius: 4px;
	color: #333;
	text-decoration: none;
	transition: all 0.3s ease;
}

.si-syndic-pagination .page-numbers a:hover {
	background-color: #DABB81;
}

.si-syndic-pagination .page-numbers span.page-numbers.current {
	background-color: #333;
	color: #fff;
}

/* Load More Button */
.si-syndic-load-more-container {
	margin: 40px 0;
	text-align: center;
}

.si-syndic-load-more-btn {
	display: inline-block;
	padding: 10px 32px;
	background-color: #DABB81;
	color: #000;
	text-decoration: none;
	border-radius: 4px;
	font-weight: 600;
	font-size: 15px;
	transition: all 0.3s ease;
    border: 2px solid #DABB81;
}

.si-syndic-load-more-btn:hover {
	background-color: transparent;
	color: #DABB81;
    border: 2px solid #DABB81;
}

/* No Residences Message */
.si-syndic-no-residences {
	text-align: center;
	padding: 40px 20px;
	background-color: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 4px;
	color: #666;
}

/* Responsive */
@media (max-width: 768px) {
	.si-syndic-residence-grid {
		grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
		gap: 20px;
	}

	.residence-image {
		height: 150px;
	}

	.residence-content {
		padding: 15px;
	}

	.residence-title {
		font-size: 16px;
		margin-bottom: 10px;
	}

	.residence-address {
		font-size: 13px;
	}
}

@media (max-width: 480px) {
	.si-syndic-residence-grid {
		grid-template-columns: 1fr;
		gap: 15px;
	}

	.residence-content {
		padding: 12px;
	}
}
