/**
 * Property Search - reusable page header band styles
 *
 * Port of the static .page-header block with editable gradient, title
 * and breadcrumb colors driven by CSS variables.
 *
 * @package PropertySearch
 */

.ps-page-header {
	--ps-ph-start: #003d2b;
	--ps-ph-end: #006241;
	--ps-ph-title: #ffffff;
	--ps-ph-accent: #ffcc00;
	--ps-ph-muted: rgba(255, 255, 255, 0.6);

	background: linear-gradient(135deg, var(--ps-ph-start) 0%, var(--ps-ph-end) 100%);
	padding: 50px 0;
	color: var(--ps-ph-title);
	position: relative;
	overflow: hidden;
}

.ps-page-header::before {
	content: '';
	position: absolute;
	top: -80px;
	right: -80px;
	width: 300px;
	height: 300px;
	border-radius: 50%;
	background: rgba(255, 204, 0, 0.06);
	pointer-events: none;
}

.ps-page-header-inner {
	position: relative;
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 24px;
}

.ps-page-title {
	font-weight: 700;
	font-size: 2rem;
	margin: 0 0 10px;
	color: var(--ps-ph-title);
	display: flex;
	align-items: center;
	gap: 10px;
	flex-wrap: wrap;
}

.ps-page-title :is(i, svg) {
	color: var(--ps-ph-accent);
}

.ps-breadcrumb {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	list-style: none;
	padding: 0;
	margin: 0;
	font-size: 0.88rem;
}

.ps-breadcrumb-item + .ps-breadcrumb-item::before {
	content: '/';
	margin-right: 8px;
	color: var(--ps-ph-muted);
}

.ps-breadcrumb-item a {
	color: var(--ps-ph-accent);
	text-decoration: none;
	transition: opacity 0.3s ease;
}

.ps-breadcrumb-item a:hover {
	opacity: 0.8;
}

.ps-breadcrumb-item.is-active {
	color: var(--ps-ph-muted);
}

@media (max-width: 575.98px) {
	.ps-page-header {
		padding: 38px 0;
	}

	.ps-page-title {
		font-size: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ps-breadcrumb-item a {
		transition: none;
	}
}
