/* Beef Central Property Search — front-end styles.
   Scoped under .bcps-* (and a reskin of .wp-pagenavi) so it never collides with the theme. */

.bcps-filters {
	background: #f7f5f1;
	border: 1px solid #ece7df;
	border-radius: 10px;
	padding: 14px 16px;
	margin: 0 0 20px;
}

.bcps-filters-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	align-items: flex-end;
}

.bcps-field {
	display: flex;
	flex-direction: column;
	min-width: 150px;
}

.bcps-field label {
	font-size: 12px;
	font-weight: 900;
	text-transform: uppercase;
	color: #931111;
	margin-bottom: 4px;
	letter-spacing: .02em;
}

.bcps-field-keyword { flex: 1 1 240px; }

.bcps-field select,
.bcps-field input[type="text"] {
	border: 1px solid #ccc;
	border-radius: 6px;
	padding: 7px 9px;
	font-size: 14px;
	background: #fff;
	min-height: 36px;
}

.bcps-field-commodity {
	flex-direction: row;
	flex-wrap: wrap;
	gap: 6px 14px;
	align-items: center;
}
.bcps-field-commodity > label:first-child {
	width: 100%;
	margin-bottom: 4px;
}
.bcps-check {
	font-weight: 400 !important;
	text-transform: none !important;
	color: #333 !important;
	display: inline-flex;
	align-items: center;
	gap: 5px;
}
.bcps-check input { margin: 0; }

.bcps-field-actions { flex-direction: row; gap: 10px; align-items: flex-end; }
.bcps-btn {
	background: #8b0000;
	color: #fff;
	border: 0;
	border-radius: 6px;
	padding: 8px 18px;
	font-size: 14px;
	font-weight: 700;
	cursor: pointer;
	height: 36px;
}
.bcps-btn:hover { background: #931111; }
.bcps-clear {
	font-size: 13px;
	color: #8b0000;
	text-decoration: underline;
	align-self: center;
}

.bcps-count {
	color: #666;
	font-size: 14px;
	margin: 0 0 12px;
}

/* Cards — extend the theme's .article */
.bcps-grid { margin-bottom: 20px; }
.bcps-card { height: 100%; }
.bcps-card img {
	width: 100%;
	height: 180px;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 10px;
}
.bcps-card h5 a { color: #000; }
.bcps-card h5 { margin: 0 0 8px; font-size: 17px; font-weight: 900; line-height: 1.3; }

.bcps-status,
.bcps-breed {
	font-weight: 900;
	text-transform: uppercase;
	font-size: 14px;
	color: #931111;
	margin: 0 0 6px;
}
.bcps-status { color: #8b0000; }
/* Tint a Sold status so it reads at a glance. */
.bcps-status.Sold,
.bcps-status\.Sold { color: #2e7d32; }

.bcps-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 10px;
	font-size: 14px;
	line-height: 1.5;
	color: #555;
	margin-bottom: 8px;
}
.bcps-meta .bcps-area { font-weight: 700; color: #333; }
.bcps-meta .bcps-price { font-weight: 700; color: #8b0000; }
.bcps-meta .bcps-sold { color: #2e7d32; font-weight: 700; }

.bcps-result {
	font-size: 14px;
	line-height: 1.5;
	color: #666;
	margin: 0 0 8px;
}

.bcps-view {
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	color: #8b0000;
	text-decoration: none;
}
.bcps-view:hover { text-decoration: underline; }

.bcps-empty {
	padding: 30px 0;
	font-size: 15px;
	color: #666;
}

/* Pagination reskin — wp-pagenavi in brand red */
.bcps-pagination { margin: 24px 0 10px; }
.bcps-pagination .wp-pagenavi { text-align: left; }
.bcps-pagination .wp-pagenavi a,
.bcps-pagination .wp-pagenavi span {
	border: 1px solid #d8b9b9;
	color: #8b0000;
	background: #fff;
	padding: 6px 11px;
	margin: 0 2px;
	border-radius: 6px;
	font-weight: 700;
	font-size: 13px;
	text-decoration: none;
}
.bcps-pagination .wp-pagenavi a:hover { background: #f7f5f1; }
.bcps-pagination .wp-pagenavi .current {
	background: #8b0000;
	border-color: #8b0000;
	color: #fff;
}
.bcps-pagination .wp-pagenavi .extend { border: 0; background: transparent; }

@media (max-width: 767px) {
	.bcps-field { min-width: 100%; }
	.bcps-field-commodity { flex-direction: row; }
	.bcps-card img { height: 200px; }
}

/* Recruitment (AgJobs) cards — advertiser logos are displayed (contain, not cropped)
   on white, with an industry sector chip. */
.bcps-card-recruitment img {
	object-fit: contain;
	height: 130px;
	background: #fff;
	border: 1px solid #ece7df;
	padding: 8px;
}
.bcps-sector {
	font-weight: 900;
	text-transform: uppercase;
	font-size: 14px;
	color: #931111;
	margin: 0 0 6px;
}
.bcps-card-recruitment .bcps-meta .bcps-date { color: #888; }
