/* Verkocht-banner: vervangt het Houzez-contactformulier. */

body.ifras-sold-property .property-form-wrap,
body.ifras-sold-property .houzez-agent-contacts-wrap,
body.ifras-sold-property .houzez-property-contact-wrap,
body.ifras-sold-property .property-contact-form,
body.ifras-sold-property #property-contact-form,
body.ifras-sold-property #contact_form_agent,
body.ifras-sold-property .agent-area .form-small,
body.ifras-sold-property .block-wrap.agent-block .form-wrap,
body.ifras-sold-property .elementor-widget-houzez_elementor_property_contact_form,
body.ifras-sold-property .elementor-widget-houzez_elementor_agent_contact_form,
body.ifras-sold-property .property-section-wrap.property-attachments-wrap,
body.ifras-sold-property .block-title-property-doc,
body.ifras-sold-property .property-documents,
body.ifras-sold-property .property-attachment,
body.ifras-sold-property .item-price-wrap,
body.ifras-sold-property .property-price-wrap,
body.ifras-sold-property .hz-ele-price,
body.ifras-sold-property .item-price,
body.ifras-sold-property .item-sub-price,
.ifras-sold-property .item-price-wrap,
.ifras-sold-property .property-price-wrap,
.ifras-sold-property .hz-ele-price,
.ifras-sold-property .item-price,
.ifras-sold-property .item-sub-price {
	display: none !important;
}

.property-attachments-wrap:not(:has(.property-documents a)),
.elementor-widget-houzez-property-section-attachments:not(:has(.property-documents a)),
.elementor-widget-heading:has(+ .elementor-widget-houzez-property-section-attachments:not(:has(.property-documents a))),
.block-title-property-doc:not(:has(+ .property-documents a)),
.property-documents:not(:has(a)) {
	display: none !important;
}

.ifras-sold-banner {
	--ifras-sold-bg: #173b63;
	--ifras-sold-title: #fff;
	--ifras-sold-text: #e0e8f0;
	--ifras-sold-line: #c8a96a;
	box-sizing: border-box;
	width: 100%;
	margin: 0 0 1.5rem;
	padding: 1.45rem 1.5rem 1.55rem;
	background: var(--ifras-sold-bg);
	color: var(--ifras-sold-text);
	border-radius: 6px;
	border-left: 4px solid var(--ifras-sold-line);
	box-shadow: 0 10px 28px rgba(0, 0, 0, 0.18);
}

.ifras-sold-banner[hidden] {
	display: none !important;
}

.ifras-sold-banner.is-placed {
	display: block;
}

.ifras-sold-banner__eyebrow {
	margin: 0 0 0.45rem;
	font-size: var(--ifras-sold-subtitle-size, 12px);
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--ifras-sold-line);
}

.ifras-sold-banner__title {
	margin: 0 0 0.55rem;
	font-size: var(--ifras-sold-title-size, 22px);
	line-height: 1.25;
	font-weight: 600;
	color: var(--ifras-sold-title);
}

.ifras-sold-banner__text,
.ifras-sold-banner__text p {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.55;
	color: var(--ifras-sold-text);
}

.ifras-sold-banner__text p + p {
	margin-top: 0.5rem;
}

.ifras-sold-banner__btn {
	display: inline-flex;
	align-items: center;
	margin-top: 1rem;
	padding: 0.65rem 1.15rem;
	background: var(--ifras-sold-line);
	color: var(--ifras-sold-bg);
	font-weight: 600;
	font-size: 0.92rem;
	text-decoration: none;
	border-radius: 3px;
}

.ifras-sold-banner__btn:hover,
.ifras-sold-banner__btn:focus {
	color: var(--ifras-sold-bg);
	filter: brightness(1.06);
	text-decoration: none;
}

@media (prefers-reduced-motion: reduce) {
	.ifras-sold-banner__btn {
		filter: none;
	}
}
