/* Property Listing Page: cinematic shell around PropertyHive-owned results. */

body.swre-propertyhive-archive {
	background: #f7f3e9;
}

.swre-property-archive.site-main {
	background: #f7f3e9;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	margin: 0;
	max-width: none;
	overflow: visible;
	padding: 0;
}

.swre-property-archive__hero {
	align-items: center;
	display: flex;
	isolation: isolate;
	margin: 0;
	max-width: none;
	min-height: 360px;
	overflow: hidden;
	padding: 0;
	position: relative;
}

.swre-property-archive__hero-media,
.swre-property-archive__hero-overlay {
	inset: 0;
	position: absolute;
}

.swre-property-archive__hero-media {
	z-index: -2;
}

.swre-property-archive__hero-image {
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center 52%;
	width: 100%;
}

.swre-property-archive__hero-overlay {
	background: linear-gradient(90deg, #070708 0%, #070708 48%, rgba(7, 7, 8, 0.72) 100%);
	opacity: var(--swre-property-hero-overlay, 0.58);
	z-index: -1;
}

.swre-property-archive__hero-inner {
	color: #fff;
	margin: 0 auto;
	max-width: 1360px;
	padding: 58px 32px 105px;
	width: 100%;
}

.swre-property-archive__hero-eyebrow {
	color: #d9ae2b;
	font-size: 0.72rem;
	font-weight: 750;
	letter-spacing: 0.16em;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.swre-property-archive__hero h1 {
	color: #fff;
	font-family: var(--swrep-font, Manrope, Arial, sans-serif);
	font-size: clamp(2.3rem, 4vw, 4rem);
	font-weight: 720;
	letter-spacing: -0.045em;
	line-height: 1.02;
	margin: 0;
	max-width: 720px;
}

.swre-property-archive__hero h1 span {
	color: #d9ae2b;
}

.swre-property-archive__hero .swre-property-archive__hero-copy {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.98rem;
	line-height: 1.65;
	margin: 18px 0 0;
	max-width: 610px;
}

.swre-property-callback-shell {
	background: rgba(255, 255, 255, 0.97);
	border-radius: 10px;
	border-top: 2px solid #ee1c00;
	box-shadow: 0 16px 42px rgba(11, 11, 13, 0.15);
	margin: -60px auto 0;
	max-width: 1320px;
	padding: 20px 24px 15px;
	position: relative;
	z-index: 4;
}

.swre-property-callback-shell .wpcf7-form,
.swre-property-callback-shell .wpcf7-form > p {
	margin: 0;
}

/* CF7 may preserve authoring line breaks as <br> elements and wrap rows in
 * paragraphs. Keep those formatting nodes from inflating this grid while
 * leaving CF7's validation and status markup intact. */
.swre-property-callback p {
	margin: 0;
}

.swre-property-callback > br,
.swre-property-callback > p > br,
.swre-property-callback :where(label, fieldset, .swre-property-callback__submit) > br {
	display: none;
}

.swre-property-callback {
	align-items: end;
	display: grid;
	gap: 14px;
	grid-template-columns: minmax(150px, 0.85fr) repeat(4, minmax(140px, 1fr)) minmax(190px, 1.05fr);
}

.swre-property-callback__intent {
	border: 0;
	margin: 0;
	min-width: 0;
	padding: 0;
}

.swre-property-callback__intent legend,
.swre-property-callback__field > span:first-child {
	color: #272526;
	display: block;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.35;
	margin: 0 0 7px;
	text-transform: uppercase;
}

.swre-property-callback__intent .wpcf7-form-control {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.swre-property-callback__intent .wpcf7-list-item {
	margin: 0;
}

.swre-property-callback__intent .wpcf7-list-item + .wpcf7-list-item {
	margin-left: -1px;
}

.swre-property-callback__intent label {
	display: block;
	position: relative;
}

.swre-property-callback__intent input {
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	overflow: hidden;
	position: absolute;
	white-space: nowrap;
	width: 1px;
}

.swre-property-callback__intent .wpcf7-list-item-label {
	align-items: center;
	background: #fff;
	border: 1px solid #d8d5cd;
	color: #45413b;
	cursor: pointer;
	display: flex;
	font-size: 0.78rem;
	font-weight: 700;
	height: 48px;
	justify-content: center;
	padding: 7px;
}

.swre-property-callback__intent .wpcf7-list-item:first-child .wpcf7-list-item-label {
	border-radius: 4px 0 0 4px;
}

.swre-property-callback__intent .wpcf7-list-item:last-child .wpcf7-list-item-label {
	border-radius: 0 4px 4px 0;
}

.swre-property-callback__intent input:checked + .wpcf7-list-item-label {
	background: #ee1c00;
	border-color: #ee1c00;
	color: #fff;
}

.swre-property-callback__intent input:focus-visible + .wpcf7-list-item-label {
	outline: 3px solid #d9ae2b;
	outline-offset: 2px;
	position: relative;
	z-index: 1;
}

.swre-property-callback__field {
	display: block;
	min-width: 0;
}

.swre-property-callback__field .wpcf7-form-control-wrap {
	display: block;
}

.swre-property-callback__field :where(input, select) {
	appearance: none;
	background: #fff;
	border: 1px solid #d8d5cd;
	border-radius: 4px;
	color: #242124;
	font: inherit;
	font-size: 0.76rem;
	height: 48px;
	min-width: 0;
	padding: 9px 12px;
	width: 100%;
}

.swre-property-callback__field select {
	background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23ee1c00' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") no-repeat right 12px center / 12px;
	padding-right: 34px;
}

.swre-property-callback__field :where(input, select):focus-visible {
	border-color: #ee1c00;
	box-shadow: 0 0 0 3px rgba(238, 28, 0, 0.13);
	outline: 0;
}

.swre-property-callback__submit {
	min-width: 0;
	position: relative;
}

.swre-property-callback__submit .wpcf7-submit {
	background: #ee1c00;
	border: 1px solid #ee1c00;
	border-radius: 4px;
	color: #fff;
	cursor: pointer;
	font: inherit;
	font-size: 0.78rem;
	font-weight: 800;
	height: 48px;
	padding: 8px 18px;
	transition: background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
	width: 100%;
}

.swre-property-callback__submit .wpcf7-submit:hover {
	background: #0b0b0d;
	border-color: #0b0b0d;
}

.swre-property-callback__submit .wpcf7-submit:active {
	transform: translateY(1px);
}

.swre-property-callback__submit .wpcf7-submit:focus-visible {
	outline: 3px solid #d9ae2b;
	outline-offset: 3px;
}

.swre-property-callback .wpcf7-not-valid-tip {
	color: #b31700;
	font-size: 0.68rem;
	line-height: 1.3;
	margin-top: 5px;
}

.swre-property-callback-shell .wpcf7-response-output {
	font-size: 0.76rem;
	margin: 14px 0 0;
	padding: 8px 10px;
}

.swre-property-callback-shell .wpcf7-spinner {
	margin: 0;
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
}

.swre-property-callback-shell__assurance {
	color: #68635b;
	font-size: 0.68rem;
	line-height: 1.45;
	margin: 11px 0 0;
	text-align: right;
}

.swre-property-callback-shell__assurance span {
	color: #d9ae2b;
	font-size: 0.55rem;
	margin-right: 7px;
}

.swre-property-archive__canvas {
	background: #f7f3e9;
	padding: 48px 0 96px;
}

.swre-property-archive__layout,
.swre-context-layout.swre-property-archive__layout {
	gap: 24px;
	grid-template-columns: 280px minmax(0, 1fr);
	margin: 0 auto;
	max-width: 1360px;
	padding: 0 24px;
}

.swre-property-archive .swre-context-rail {
	background: transparent;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	color: #171614;
	max-height: none;
	overflow: visible;
	top: var(--swre-context-sticky-offset, 100px);
}

.swre-property-archive .swre-context-rail__header {
	align-items: start;
	background: #f1eadc;
	border: 1px solid #dcd2bf;
	border-bottom: 0;
	border-radius: 6px 6px 0 0;
	clip: auto;
	clip-path: none;
	display: flex;
	height: auto;
	overflow: visible;
	padding: 22px 20px 18px;
	position: static;
	white-space: normal;
	width: auto;
}

.swre-property-archive .swre-context-rail__eyebrow {
	color: #9b7410;
	font-size: 0.62rem;
	letter-spacing: 0.12em;
}

.swre-property-archive .swre-context-rail__header h2 {
	color: #171614;
	font-family: var(--swrep-font, Manrope, Arial, sans-serif);
	font-size: 1.2rem;
	line-height: 1.2;
	margin-top: 5px;
}

.swre-property-archive .swre-context-rail__close {
	border-color: rgba(23, 22, 20, 0.28);
	color: #171614;
}

.swre-property-archive .swre-context-rail__body {
	gap: 18px;
}

.swre-property-archive .swre-context-module {
	background: transparent;
	border: 0;
	border-radius: 0;
	color: #171614;
	padding: 20px;
}

.swre-property-archive .swre-context-module + .swre-context-module {
	border-top: 0;
}

.swre-property-archive .swre-context-module--filters {
	background: #f8f3e9;
	border: 1px solid #dcd2bf;
	border-radius: 0 0 6px 6px;
	border-top: 0;
	box-shadow: 0 14px 34px rgba(38, 31, 19, 0.06);
	padding-top: 6px;
}

.swre-property-archive .swre-property-filter-form {
	gap: 17px;
}

.swre-property-archive .swre-property-filter-group > legend,
.swre-property-archive .swre-property-filter-group > span:first-child {
	color: #59544b;
	font-size: 0.64rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.swre-property-archive .swre-property-filter-segments {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.swre-property-archive .swre-property-filter-segments span,
.swre-property-archive .swre-property-filter-segments a,
.swre-property-archive .swre-property-filter-choices label > span,
.swre-property-archive .swre-property-filter-amenities label > span {
	background: #fffdf8;
	border-color: #d7cdbb;
	color: #312e29;
}

.swre-property-archive .swre-property-filter-segments input:checked + span,
.swre-property-archive .swre-property-filter-segments a.is-active,
.swre-property-archive .swre-property-filter-choices input:checked + span,
.swre-property-archive .swre-property-filter-amenities input:checked + span {
	background: #ee1c00;
	border-color: #ee1c00;
	color: #fff;
}

.swre-property-archive .swre-property-filter-search input,
.swre-property-archive .swre-property-filter-range select {
	background-color: #fffdf8;
	border-color: #d7cdbb;
	color: #171614;
}

.swre-property-archive .swre-property-filter-search input::placeholder {
	color: #7a746a;
}

.swre-property-archive .swre-property-filter-range select {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23d9ae2b' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
}

.swre-property-archive .swre-property-filter-actions a {
	color: #5e594f;
}

.swre-property-archive .swre-property-filter-actions button {
	background: #ee1c00;
	border-color: #ee1c00;
	color: #fff;
	min-height: 44px;
}

.swre-property-archive .swre-context-module--advisor {
	background: #0b0b0d;
	border: 1px solid rgba(217, 174, 43, 0.34);
	border-radius: 6px;
	box-shadow: 0 20px 42px rgba(11, 11, 13, 0.16);
	color: #fff;
	display: block;
	overflow: hidden;
	padding: 22px 20px 24px;
}

.swre-property-archive .swre-context-module--advisor .swre-context-module__portrait {
	aspect-ratio: 5 / 3;
	height: auto;
	margin: -22px -20px 20px;
	object-position: center 24%;
	width: calc(100% + 40px);
}

.swre-property-archive .swre-context-module--advisor .swre-context-module__eyebrow {
	color: #d9ae2b;
	display: block;
	font-size: 0.62rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.swre-property-archive .swre-context-module--advisor h3 {
	color: #fff;
	font-family: var(--swrep-font, Manrope, Arial, sans-serif);
	font-size: 1rem;
	line-height: 1.3;
	margin-top: 7px;
}

.swre-property-archive .swre-context-module--advisor .swre-context-module__body {
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.7rem;
	line-height: 1.55;
	margin-top: 8px;
}

.swre-property-archive .swre-context-module--advisor .swre-context-module__contact {
	display: grid;
	gap: 4px;
	margin-top: 12px;
}

.swre-property-archive .swre-context-module--advisor .swre-context-module__contact a {
	color: #d9ae2b;
	font-size: 0.7rem;
}

.swre-property-archive .swre-context-module--advisor .swre-context-module__action {
	background: #d9ae2b;
	border-color: #d9ae2b;
	color: #0b0b0d;
	display: flex;
	font-size: 0.68rem;
	font-weight: 800;
	grid-column: auto;
	justify-content: space-between;
	margin-top: 15px;
	min-height: 38px;
	padding: 8px 11px;
}

.swre-property-archive__content {
	background: transparent;
	border: 0;
	border-radius: 0;
	overflow: visible;
}

.swre-property-archive__chips,
.swre-property-archive__toolbar {
	background: #fff;
	border: 1px solid #e4ded1;
}

.swre-property-archive__chips {
	border-radius: 5px 5px 0 0;
	border-bottom: 0;
	padding: 12px 18px;
}

.swre-property-archive__toolbar {
	border-radius: 5px;
	margin-bottom: 18px;
	padding: 13px 16px;
}

.swre-property-archive__chips + .swre-property-archive__toolbar {
	border-radius: 0 0 5px 5px;
}

.swre-property-archive .swre-property-results {
	gap: 18px;
	padding: 0;
}

@media (min-width: 1280px) {
	.swre-property-archive .swre-property-results--grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1025px) and (max-width: 1279px) {
	.swre-property-archive .swre-property-results--grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.swre-property-advisory {
	align-items: center;
	background: #0b0b0d;
	border-left: 4px solid #ee1c00;
	color: #fff;
	display: grid;
	gap: 18px;
	grid-template-columns: 26px minmax(0, 1fr) auto;
	margin-top: 28px;
	min-height: 116px;
	padding: 22px 24px;
}

.swre-property-advisory__mark {
	border: 2px solid #d9ae2b;
	border-radius: 50%;
	height: 24px;
	position: relative;
	width: 24px;
}

.swre-property-advisory__mark::after {
	border-bottom: 2px solid #d9ae2b;
	border-right: 2px solid #d9ae2b;
	content: "";
	height: 8px;
	left: 8px;
	position: absolute;
	top: 5px;
	transform: rotate(45deg);
	width: 4px;
}

.swre-property-advisory h2 {
	color: #fff;
	font-family: var(--swrep-font, Manrope, Arial, sans-serif);
	font-size: 1.25rem;
	line-height: 1.2;
	margin: 0;
}

.swre-property-advisory p {
	color: rgba(255, 255, 255, 0.65);
	font-size: 0.75rem;
	line-height: 1.5;
	margin: 5px 0 0;
}

.swre-property-advisory__action {
	align-items: center;
	background: #d9ae2b;
	color: #0b0b0d;
	display: inline-flex;
	font-size: 0.72rem;
	font-weight: 800;
	gap: 16px;
	justify-content: space-between;
	min-height: 44px;
	padding: 10px 16px;
	text-decoration: none;
}

.swre-property-advisory__action:hover {
	background: #ee1c00;
	color: #fff;
}

@media (max-width: 1200px) {
	.swre-property-callback-shell {
		margin-inline: 24px;
	}

	.swre-property-callback {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.swre-property-archive__hero-inner {
		padding-inline: 28px;
	}

	.swre-property-archive__layout,
	.swre-context-layout.swre-property-archive__layout {
		grid-template-columns: minmax(0, 1fr);
		padding-inline: 20px;
	}

	.swre-property-archive .swre-context-rail {
		background: #f7f3e9;
		border-radius: 0;
		max-height: none;
		overflow-x: hidden;
		overflow-y: auto;
		padding-bottom: 22px;
		top: 0;
	}

	.swre-property-archive .swre-context-rail__header {
		border-radius: 0;
		position: sticky;
		top: 0;
		z-index: 2;
	}

	.swre-property-archive .swre-context-rail__body {
		padding: 0 14px;
	}

	.swre-property-archive .swre-context-module--filters {
		margin-inline: -14px;
	}

	.swre-property-archive .swre-context-rail__close {
		display: grid;
	}
}

@media (max-width: 767px) {
	.swre-property-archive__hero {
		min-height: 310px;
	}

	.swre-property-archive__hero-inner {
		padding: 50px 20px 84px;
	}

	.swre-property-archive__hero h1 {
		font-size: clamp(2rem, 10vw, 3rem);
	}

	.swre-property-callback-shell {
		margin: -38px 14px 0;
		padding: 18px 16px 14px;
	}

	.swre-property-callback {
		grid-template-columns: minmax(0, 1fr);
	}

	.swre-property-callback-shell__assurance {
		text-align: left;
	}

	.swre-property-archive__canvas {
		padding: 34px 0 84px;
	}

	.swre-property-archive__layout,
	.swre-context-layout.swre-property-archive__layout {
		padding-inline: 14px;
	}

	.swre-property-archive__toolbar {
		padding: 12px;
	}

	.swre-property-advisory {
		align-items: start;
		grid-template-columns: 24px minmax(0, 1fr);
		padding: 20px 18px;
	}

	.swre-property-advisory__action {
		grid-column: 1 / -1;
		justify-content: center;
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.swre-property-callback__submit .wpcf7-submit,
	.swre-property-advisory__action {
		transition: none;
	}
}
