/* RSW73 property detail and verified Media Library visuals. */

.rel-property-visual-photo {
	background: #17383d;
}

.rel-property-visual-photo::before {
	z-index: -1;
	opacity: 1;
	background:
		linear-gradient(180deg, rgba(17, 19, 21, .06) 25%, rgba(17, 19, 21, .82) 100%),
		linear-gradient(90deg, rgba(17, 19, 21, .18), transparent 60%);
	mask-image: none;
}

.rel-property-visual-photo img {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.rel-property-photo-tag {
	position: relative;
	z-index: 1;
	align-self: flex-start;
	padding: 8px 11px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 999px;
	background: rgba(17, 19, 21, .48);
	font-family: "SFMono-Regular", Consolas, monospace;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	backdrop-filter: blur(10px);
}

.rel-property-summary {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 10px;
	margin: 30px 0 0;
	padding: 0;
	list-style: none;
}

.rel-property-summary li {
	padding: 14px;
	border: 1px solid var(--rel-line);
	border-radius: 14px;
	background: var(--rel-paper);
}

.rel-property-summary strong,
.rel-property-summary span {
	display: block;
}

.rel-property-summary strong {
	color: var(--rel-ink);
	font-size: 15px;
	line-height: 1.2;
}

.rel-property-summary span {
	margin-top: 5px;
	color: var(--rel-muted);
	font-family: "SFMono-Regular", Consolas, monospace;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.rel-property-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 22px;
	margin-top: auto;
	padding-top: 30px;
}

.rel-property-actions .rel-property-link {
	margin: 0;
	padding: 0;
}

.rel-property-link-secondary {
	color: var(--rel-muted);
}

.rel-estate-detail {
	scroll-margin-top: 86px;
	background:
		radial-gradient(circle at 92% 7%, rgba(217, 169, 106, .13), transparent 23%),
		var(--rel-paper);
}

.rel-preview-review-note {
	display: grid;
	grid-template-columns: minmax(190px, .32fr) minmax(0, 1fr);
	gap: 22px;
	margin-bottom: 54px;
	padding: 20px 22px;
	border: 1px solid rgba(180, 104, 48, .38);
	border-left: 5px solid #b46830;
	border-radius: 16px;
	background: #fff7e8;
	color: #5c3a1e;
}

.rel-preview-review-note strong {
	font-size: 13px;
}

.rel-preview-review-note span {
	font-size: 13px;
	line-height: 1.55;
}

.rel-estate-detail-head {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(300px, .58fr);
	gap: clamp(42px, 7vw, 95px);
	align-items: end;
}

.rel-estate-detail-head .rel-eyebrow {
	margin-top: 28px;
}

.rel-estate-detail-head .rel-section-title {
	max-width: 850px;
	margin-top: 14px;
}

.rel-estate-lead {
	max-width: 780px;
	margin: 24px 0 0;
	color: var(--rel-muted);
	font-size: clamp(17px, 2vw, 21px);
	line-height: 1.65;
}

.rel-estate-price-card {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: clamp(26px, 4vw, 38px);
	border: 1px solid var(--rel-line);
	border-radius: 24px;
	background: var(--rel-white);
	box-shadow: 0 24px 65px rgba(17, 19, 21, .09);
}

.rel-estate-price-card > span {
	color: var(--rel-muted);
	font-family: "SFMono-Regular", Consolas, monospace;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .09em;
	text-transform: uppercase;
}

.rel-estate-price-card > strong {
	margin-top: 11px;
	font-family: "Iowan Old Style", Baskerville, serif;
	font-size: clamp(35px, 4.5vw, 55px);
	font-weight: 600;
	letter-spacing: -.035em;
	line-height: 1;
}

.rel-estate-price-card > small {
	margin: 10px 0 26px;
	color: var(--rel-muted);
	font-size: 11px;
}

.rel-estate-keyfacts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
	margin: 58px 0 0;
}

.rel-estate-keyfacts > div {
	min-width: 0;
	padding: 20px;
	border: 1px solid var(--rel-line);
	border-radius: 17px;
	background: rgba(255, 255, 255, .72);
}

.rel-estate-keyfacts dt {
	color: var(--rel-muted);
	font-family: "SFMono-Regular", Consolas, monospace;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: .075em;
	text-transform: uppercase;
}

.rel-estate-keyfacts dd {
	margin: 9px 0 0;
	font-family: "Iowan Old Style", Baskerville, serif;
	font-size: clamp(22px, 2.7vw, 31px);
	font-weight: 600;
	letter-spacing: -.025em;
	line-height: 1.08;
}

.rel-estate-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	grid-auto-rows: minmax(170px, 16vw);
	gap: 10px;
	margin-top: 64px;
}

.rel-estate-gallery figure {
	position: relative;
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
	background: #d8d4ca;
}

.rel-estate-gallery .rel-gallery-featured {
	grid-column: span 2;
	grid-row: span 2;
}

.rel-estate-gallery img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.rel-estate-gallery figure:hover img {
	transform: scale(1.025);
}

.rel-estate-image-note,
.rel-estate-source-note {
	max-width: 980px;
	margin: 13px 0 0;
	color: var(--rel-muted);
	font-size: 11px;
	line-height: 1.55;
}

.rel-estate-content-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(320px, .72fr);
	gap: clamp(38px, 7vw, 90px);
	margin-top: 84px;
	align-items: start;
}

.rel-estate-story h3,
.rel-estate-subhead h3,
.rel-estate-diligence h3,
.rel-estate-detail-cta h3 {
	margin: 14px 0 24px;
	font-family: "Iowan Old Style", Baskerville, serif;
	font-size: clamp(31px, 4vw, 49px);
	font-weight: 600;
	letter-spacing: -.035em;
	line-height: 1.06;
}

.rel-estate-story > p:not(.rel-eyebrow) {
	margin: 0 0 18px;
	color: var(--rel-muted);
	font-size: 16px;
	line-height: 1.72;
}

.rel-estate-snapshot {
	padding: clamp(27px, 4vw, 40px);
	border-radius: 24px;
	background: var(--rel-ink);
	color: var(--rel-white);
}

.rel-estate-snapshot dl {
	margin: 29px 0 0;
}

.rel-estate-snapshot dl > div {
	display: grid;
	grid-template-columns: minmax(120px, .72fr) minmax(0, 1fr);
	gap: 18px;
	padding: 15px 0;
	border-top: 1px solid rgba(255, 255, 255, .12);
}

.rel-estate-snapshot dt {
	color: rgba(255, 255, 255, .55);
	font-size: 11px;
}

.rel-estate-snapshot dd {
	margin: 0;
	font-size: 14px;
	font-weight: 750;
	text-align: right;
}

.rel-estate-snapshot > small {
	display: block;
	margin-top: 20px;
	color: rgba(255, 255, 255, .48);
	font-size: 10px;
	line-height: 1.5;
}

.rel-estate-location {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
	gap: clamp(38px, 7vw, 90px);
	margin-top: 84px;
	padding: clamp(30px, 5vw, 52px);
	border: 1px solid var(--rel-line);
	border-radius: 25px;
	background: var(--rel-white);
}

.rel-estate-location h3 {
	margin: 14px 0 0;
	font-family: "Iowan Old Style", Baskerville, serif;
	font-size: clamp(31px, 4vw, 49px);
	font-weight: 600;
	letter-spacing: -.035em;
	line-height: 1.06;
}

.rel-estate-location-copy p {
	margin: 0;
	color: var(--rel-muted);
	font-size: 16px;
	line-height: 1.72;
}

.rel-estate-location-copy ul {
	display: grid;
	gap: 10px;
	margin: 24px 0 0;
	padding: 0;
	list-style: none;
}

.rel-estate-location-copy li {
	position: relative;
	padding-left: 24px;
	color: var(--rel-ink);
	font-size: 14px;
	font-weight: 700;
}

.rel-estate-location-copy li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: var(--rel-brick);
}

.rel-estate-energy {
	margin-top: 84px;
	padding-top: 64px;
	border-top: 1px solid var(--rel-line);
}

.rel-estate-subhead {
	display: grid;
	grid-template-columns: minmax(170px, .32fr) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.rel-estate-subhead h3 {
	margin-top: 0;
}

.rel-estate-energy-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 15px;
	margin-top: 30px;
}

.rel-estate-energy-grid article {
	padding: clamp(26px, 4vw, 39px);
	border: 1px solid var(--rel-line);
	border-radius: 21px;
	background: var(--rel-white);
}

.rel-estate-energy-grid article > span {
	color: var(--rel-brick-dark);
	font-family: "SFMono-Regular", Consolas, monospace;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.rel-estate-energy-grid h4 {
	margin: 15px 0 22px;
	font-size: 19px;
}

.rel-estate-energy-grid strong {
	display: block;
	font-family: "Iowan Old Style", Baskerville, serif;
	font-size: clamp(28px, 3.4vw, 42px);
	font-weight: 600;
	letter-spacing: -.03em;
	line-height: 1.05;
}

.rel-estate-energy-grid p {
	margin: 16px 0 0;
	color: var(--rel-muted);
	font-size: 12px;
}

.rel-estate-diligence {
	display: grid;
	grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr);
	gap: clamp(40px, 7vw, 90px);
	margin-top: 76px;
	padding: clamp(32px, 5vw, 58px);
	border-radius: 27px;
	background: linear-gradient(130deg, #17383d, #111315);
	color: var(--rel-white);
}

.rel-estate-diligence h3 {
	margin-bottom: 0;
}

.rel-estate-diligence ul {
	display: grid;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.rel-estate-diligence li {
	padding: 17px 0 17px 32px;
	border-top: 1px solid rgba(255, 255, 255, .13);
	color: rgba(255, 255, 255, .72);
	font-size: 14px;
	line-height: 1.55;
}

.rel-estate-diligence li::before {
	content: "✓";
	float: left;
	margin-left: -31px;
	color: var(--rel-gold-light);
	font-weight: 800;
}

.rel-estate-detail-cta {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) auto;
	gap: 35px;
	align-items: center;
	margin-top: 76px;
	padding: clamp(30px, 5vw, 55px);
	border: 1px solid var(--rel-line);
	border-radius: 27px;
	background: var(--rel-white);
}

.rel-estate-detail-cta h3 {
	margin-bottom: 12px;
}

.rel-estate-detail-cta p:not(.rel-eyebrow) {
	max-width: 720px;
	margin: 0;
	color: var(--rel-muted);
}

.rel-home-estate-card-photo {
	background-image:
		linear-gradient(90deg, rgba(17, 19, 21, .92) 0%, rgba(17, 19, 21, .7) 46%, rgba(17, 19, 21, .26) 100%),
		var(--rel-card-image);
	background-size: cover;
	background-position: center;
}

.rel-home-estate-card-photo > * {
	position: relative;
	z-index: 2;
}

.rel-home-estate-card-shade {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

@media (max-width: 980px) {
	.rel-estate-detail-head,
	.rel-estate-content-grid,
	.rel-estate-location,
	.rel-estate-subhead,
	.rel-estate-diligence,
	.rel-estate-detail-cta {
		grid-template-columns: minmax(0, 1fr);
	}

	.rel-estate-price-card {
		max-width: 560px;
	}

	.rel-estate-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		grid-auto-rows: minmax(180px, 28vw);
	}

	.rel-estate-subhead {
		gap: 5px;
	}

	.rel-estate-detail-cta .rel-button {
		justify-self: start;
	}
}

@media (max-width: 700px) {
	.rel-preview-review-note,
	.rel-estate-energy-grid {
		grid-template-columns: minmax(0, 1fr);
	}

	.rel-preview-review-note {
		gap: 8px;
	}

	.rel-estate-keyfacts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

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

	.rel-estate-gallery {
		grid-template-columns: minmax(0, 1fr);
		grid-auto-rows: auto;
	}

	.rel-estate-gallery .rel-gallery-featured {
		grid-column: auto;
		grid-row: auto;
	}

	.rel-estate-gallery figure {
		aspect-ratio: 4 / 3;
	}

	.rel-estate-diligence {
		border-radius: 21px;
	}

	.rel-estate-snapshot dl > div {
		grid-template-columns: minmax(0, 1fr);
		gap: 5px;
	}

	.rel-estate-snapshot dd {
		text-align: left;
	}

	.rel-home-estate-card-photo {
		background-image:
			linear-gradient(180deg, rgba(17, 19, 21, .78), rgba(17, 19, 21, .91)),
			var(--rel-card-image);
	}
}

@media (max-width: 460px) {
	.rel-estate-keyfacts {
		grid-template-columns: minmax(0, 1fr);
	}

	.rel-property-actions {
		align-items: flex-start;
		flex-direction: column;
	}

	.rel-estate-price-card .rel-button,
	.rel-estate-detail-cta .rel-button {
		width: 100%;
		justify-content: center;
		text-align: center;
	}
}

@media (prefers-reduced-motion: reduce) {
	.rel-estate-gallery img {
		transition: none;
	}
}
