/**
 * Homepage — layout shell, container, buttons.
 *
 * @package Havenlytics_Realty
 */

.hvn-realty-home {
	width: 100%;
	overflow-x: clip;
	margin: 0;
	padding: 0;
}

body.hvn-realty-homepage #content,
body.hvn-realty-homepage .hvn-realty-home {
	margin-top: 0;
	padding-top: 0;
}

body.hvn-realty-homepage .hvn-theme-breadcrumbs,
body.hvn-realty-homepage .hvn-realty-plugin-shell__breadcrumbs,
body.hvn-realty-homepage .hvnly-property-breadcrumb {
	display: none !important;
}

.hvn-realty-section {
	padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.hvn-realty-section:nth-child(even):not(.hvn-realty-section--hero):not(.hvn-realty-section--cta) {
	background: var(--hvn-bg, #f8f8f8);
}

.hvn-realty-container {
	width: 100%;
	max-width: var(--hvn-container, 1280px);
	margin-inline: auto;
	padding-inline: var(--hvn-theme-space-md, 1rem);
}

.hvn-realty-section__header {
	text-align: center;
	max-width: 42rem;
	margin: 0 auto 2rem;
}

.hvn-realty-section__title {
	margin: 0 0 0.5rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
	line-height: 1.2;
	color: var(--hvn-text, #1e1e2f);
	font-family: var(--hvn-font-heading, inherit);
}

.hvn-realty-section__subtitle {
	margin: 0;
	color: color-mix(in srgb, var(--hvn-text, #1e1e2f) 70%, transparent);
	font-size: 1.05rem;
}

.hvn-realty-section__body {
	width: 100%;
}

.hvn-realty-section__footer {
	margin: 2rem 0 0;
	text-align: center;
}

.hvn-realty-customizer-highlight {
	outline: 3px solid var(--hvn-primary, #6c60fe);
	outline-offset: 4px;
	transition: outline-color 0.2s ease;
}

.hvn-realty-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.75rem 1.5rem;
	border-radius: var(--hvn-radius, 8px);
	font-weight: 600;
	text-decoration: none;
	transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease;
	border: 2px solid transparent;
}

.hvn-realty-btn--primary {
	background: var(--hvn-primary, #6c60fe);
	color: #fff;
}

.hvn-realty-btn--primary:hover,
.hvn-realty-btn--primary:focus {
	background: var(--hvn-theme-brand-primary-dark, #5548e6);
	color: #fff;
	transform: translateY(-2px);
}

.hvn-realty-btn--outline {
	background: transparent;
	color: var(--hvn-primary, #6c60fe);
	border-color: var(--hvn-primary, #6c60fe);
}

.hvn-realty-btn--outline:hover,
.hvn-realty-btn--outline:focus {
	background: var(--hvn-primary, #6c60fe);
	color: #fff;
}

/* Plugin shortcode embeds inside contained sections */
.hvn-realty-home .hvn-realty-home-plugin-slim .hvnly-archive-header,
.hvn-realty-home .hvn-realty-home-plugin-slim .hvnly-archive-toolbar,
.hvn-realty-home .hvn-realty-home-plugin-slim .hvnly-property-search-form,
.hvn-realty-home .hvn-realty-home-plugin-slim .hvnly-property-filter-sidebar,
.hvn-realty-home .hvn-realty-home-plugin-slim .hvnly-property--view--controls,
.hvn-realty-home .hvn-realty-home-plugin-slim .hvnly-property-pagination,
.hvn-realty-home .hvn-realty-home-plugin-slim .hvnly-agents-archive__toolbar,
.hvn-realty-home .hvn-realty-home-plugin-slim .hvnly-agencies-archive__toolbar {
	display: none !important;
}

.hvn-realty-home .hvn-realty-home-plugin-slim .hvnly-content-wrapper {
	max-width: 100%;
	padding: 0;
	box-shadow: none;
}

.hvn-realty-home-fallback__inner {
	text-align: center;
	max-width: 36rem;
	margin: 0 auto;
	padding: 3rem 1rem;
}
