.listing-grid {
	display:flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap:1rem;
}

.listing-card {
	width: 340px;
	min-width:340px;
	background: var(--surface);
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 8px 24px var(--shadow);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.listing-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.listing-image {
	position: relative;
}

.listing-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
}

.watchlist-btn {
	position: absolute;
	top: 12px;
	right: 12px;
	background: var(--link-bg);
	border: none;
	border-radius: 50px;
	padding: 8px 14px;
	font-size: 0.9rem;
	cursor: pointer;
	color: var(--link-color);
	transition: background 0.2s;
}

.watchlist-btn:hover {
	background: var(--link-bg-hover);
	color: var(--link-color-hover)
}

.listing-content {
	padding: 20px;
}

.listing-title {
	font-size: 1.25rem;
	margin: 0 0 4px;
	color: var(--title);
}

.listing-location {
	color: var(--subtitle);
	margin-bottom: 12px;
	font-size: 0.9rem;
}

.listing-info {
	display: flex;
	flex-direction: column;
	gap: 8px;
	padding: 12px;
	background: var(--surface-secondary);
	border-radius: 12px;
	margin-bottom: 16px;
}

.info-item {
	display: flex;
	justify-content: space-between;
	font-size: 0.95rem;
}

.info-item .label {
	color: var(--text);
}

.info-item .value {
	font-weight: 600;
	color: var(--text);
}

.info-item .score {
	color: var(--accent);
}

.listing-footer {
	text-align: center;
}

.details-btn {
	background: var(--secondary);
	color: var(--text);
	border: none;
	padding: 10px 16px;
	border-radius: 8px;
	font-size: 0.95rem;
	cursor: pointer;
	transition: background 0.2s;
}

.details-btn:hover {
	background: #2c5282;
}
