.derra-single-property {
	padding-bottom: calc(76px + env(safe-area-inset-bottom));
}

.derra-single-property__hero {
	background: var(--derra-black);
	padding-block: 20px;
}

.derra-single-property__featured-image,
.derra-single-property__gallery-item {
	margin: 0;
}

.derra-single-property__featured-image img,
.derra-single-property__image-fallback {
	aspect-ratio: 16 / 10;
	border-radius: 12px;
	display: block;
	object-fit: cover;
	width: 100%;
}

.derra-single-property__image-fallback {
	align-items: center;
	background: #252525;
	color: var(--derra-white);
	display: flex;
	justify-content: center;
	padding: 24px;
	text-align: center;
}

.derra-single-property__layout {
	display: grid;
	gap: 28px;
	padding-block: 36px 56px;
}

.derra-single-property__header {
	border-bottom: 1px solid var(--derra-gray-200);
	padding-bottom: 24px;
}

.derra-single-property__price {
	color: var(--derra-red);
	font-size: clamp(24px, 8vw, 38px);
	font-weight: 800;
	line-height: 1.1;
	margin: 0 0 10px;
}

.derra-single-property__title {
	font-size: clamp(32px, 10vw, 56px);
	line-height: 1.05;
	margin: 0;
}

.derra-single-property__locality {
	color: var(--derra-gray-600);
	font-size: 18px;
	margin: 12px 0 0;
}

.derra-single-property__section {
	padding-top: 36px;
}

.derra-single-property__section h2,
.derra-single-property__lead h2 {
	font-size: 26px;
	line-height: 1.2;
	margin: 0 0 20px;
}

.derra-single-property__details {
	display: grid;
	gap: 10px;
	margin: 0;
}

.derra-single-property__details div {
	background: var(--derra-gray-50);
	border-left: 4px solid var(--derra-red);
	border-radius: 6px;
	padding: 12px 14px;
}

.derra-single-property__details dt {
	color: var(--derra-gray-600);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.derra-single-property__details dd {
	font-size: 17px;
	font-weight: 700;
	margin: 3px 0 0;
}

.derra-single-property__gallery {
	display: grid;
	gap: 12px;
}

.derra-single-property__gallery-item img {
	aspect-ratio: 4 / 3;
	border-radius: 10px;
	display: block;
	object-fit: cover;
	width: 100%;
}

.derra-single-property__gallery-fallback {
	background: var(--derra-gray-50);
	border-left: 4px solid var(--derra-red);
	margin: 0;
	padding: 16px;
}

.derra-single-property__description > :first-child {
	margin-top: 0;
}

.derra-single-property__description > :last-child {
	margin-bottom: 0;
}

.derra-single-property__lead {
	background: var(--derra-black);
	border-radius: 12px;
	color: var(--derra-white);
	padding: 24px;
}

.derra-single-property__lead > p {
	color: #d3d3d3;
}

.derra-single-property__lead-actions {
	display: grid;
	gap: 10px;
	margin-block: 24px;
}

.derra-single-property__button,
.derra-single-property__mobile-cta a {
	background: var(--derra-red);
	border: 2px solid var(--derra-red);
	border-radius: 7px;
	color: var(--derra-white);
	font-weight: 800;
	padding: 10px 16px;
	text-align: center;
	text-decoration: none;
}

.derra-single-property__button:hover,
.derra-single-property__button:focus,
.derra-single-property__mobile-cta a:hover,
.derra-single-property__mobile-cta a:focus {
	background: var(--derra-white);
	border-color: var(--derra-white);
	color: var(--derra-red);
}

.derra-single-property__button--secondary {
	background: transparent;
}

.derra-single-property__business {
	border-top: 1px solid #444444;
	display: grid;
	font-style: normal;
	gap: 4px;
	padding-top: 20px;
}

.derra-single-property__business a {
	color: var(--derra-white);
}

.derra-single-property__mobile-cta {
	background: var(--derra-white);
	border-top: 1px solid var(--derra-gray-200);
	bottom: 0;
	display: grid;
	gap: 8px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	left: 0;
	padding: 10px 10px calc(10px + env(safe-area-inset-bottom));
	position: fixed;
	right: 0;
	z-index: 1000;
}

@media (min-width: 600px) {
	.derra-single-property__details,
	.derra-single-property__gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 960px) {
	.derra-single-property {
		padding-bottom: 0;
	}

	.derra-single-property__hero {
		padding-block: 40px;
	}

	.derra-single-property__featured-image img,
	.derra-single-property__image-fallback {
		aspect-ratio: 21 / 9;
	}

	.derra-single-property__layout {
		align-items: start;
		grid-template-columns: minmax(0, 2fr) minmax(280px, 1fr);
	}

	.derra-single-property__lead {
		position: sticky;
		top: 24px;
	}

	.derra-single-property__mobile-cta {
		display: none;
	}
}
