/**
 * Hub-only UI stabilization (paulwurealestate.ca / public_html).
 * Does not apply to city factory sites (plf-city-platform-surface).
 */

/* Header / nav: readable on dark header, no orange hover regression */
body.plf-site-role-hub:not(.plf-city-platform-surface) header .wp-block-navigation-item__content,
body.plf-site-role-hub:not(.plf-city-platform-surface) header .wp-block-navigation-link__label {
	color: #f8fafc !important;
}

body.plf-site-role-hub:not(.plf-city-platform-surface) header .wp-block-navigation-item__content:hover,
body.plf-site-role-hub:not(.plf-city-platform-surface) header .wp-block-navigation-link__label:hover {
	color: #bae6fd !important;
}

body.plf-site-role-hub:not(.plf-city-platform-surface) header .wp-block-navigation__responsive-container-open svg,
body.plf-site-role-hub:not(.plf-city-platform-surface) header .wp-block-navigation__responsive-container-close svg {
	fill: #f8fafc;
}

body.plf-site-role-hub:not(.plf-city-platform-surface) header .wp-block-navigation__responsive-container.is-menu-open {
	background-color: #0c4a6e;
}

body.plf-site-role-hub:not(.plf-city-platform-surface) header .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
	color: #f8fafc !important;
}

/* Homepage / content: keep CTA hovers on-brand (avoid global orange read-more hover) */
body.plf-site-role-hub:not(.plf-city-platform-surface) .read-more-container a:hover {
	color: #fff !important;
}

/* Property search toolbar: button contrast */
body.plf-site-role-hub:not(.plf-city-platform-surface) #propertyFilterForm .filterFormButton {
	color: #0f172a;
	background: #fff;
	border: 1px solid #cbd5e1;
}

body.plf-site-role-hub:not(.plf-city-platform-surface) #propertyFilterForm .filterFormButton:hover {
	background: #f1f5f9;
	border-color: #94a3b8;
	color: #0f172a;
}

body.plf-site-role-hub:not(.plf-city-platform-surface) #propertyFilterForm .filterFormButton[type="submit"] {
	background: #0369a1;
	border-color: #0369a1;
	color: #fff;
}

body.plf-site-role-hub:not(.plf-city-platform-surface) #propertyFilterForm .filterFormButton[type="submit"]:hover {
	background: #0284c7;
	border-color: #0284c7;
	color: #fff;
}

body.plf-site-role-hub:not(.plf-city-platform-surface) .plf-mode-tab.is-active {
	background: #0369a1;
	color: #fff;
}

/* Featured listings (homepage + full page) */
body.plf-site-role-hub:not(.plf-city-platform-surface) .plf-feature-card__cta-btn,
body.plf-site-role-hub:not(.plf-city-platform-surface) .plf-home-featured .plf-feature-card__cta-btn {
	background: #0369a1;
	border-color: #0369a1;
	color: #fff !important;
}

body.plf-site-role-hub:not(.plf-city-platform-surface) .plf-feature-card__cta-btn:hover,
body.plf-site-role-hub:not(.plf-city-platform-surface) .plf-home-featured .plf-feature-card__cta-btn:hover {
	background: #0284c7;
	border-color: #0284c7;
	color: #fff !important;
}

/* Footer: neutral link color on hub */
body.plf-site-role-hub:not(.plf-city-platform-surface) footer a:where(:not(.wp-element-button)) {
	color: #e2e8f0;
}

body.plf-site-role-hub:not(.plf-city-platform-surface) footer a:where(:not(.wp-element-button)):hover {
	color: #fff;
}
