.property-info-wrapper {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-areas:
	"title"
	"thumbs"
	"video"
	"details"
	"form";
}

@media(min-width: 50em) {
	.property-info-wrapper {
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
		"title thumbs"
		"details video"
		"details form";
		grid-column-gap: 4rem;
	}
}

.property-title {
	margin-top: 1rem;
	grid-area: title;
}

.property-thumbs {
	grid-area: thumbs;
}

.property-video {
	margin-top: 1rem;
	margin-bottom: 2rem;
	grid-area: video;
}

.property-details-wrapper {
	margin-top: 1rem;
	grid-area: details;
}

.property-contact-wrapper {
	grid-area: form;
}

.gallery-wrapper {
	margin-bottom: 2rem;
}

@media(min-width: 37.5em) {
	.gallery-wrapper {
		margin-right: 2rem;
		flex: 1 1 70%;
	}
}

@media(min-width: 37.5em) {
	.property-details-wrapper {
		flex: 1 1 30%;
	}
}

.property-title h1 {
	position: relative;
	display: flex;
	margin-top: 0;
	margin-bottom: 1rem;
	font-size: 2.5rem;
}

.property-title h2 {
	margin-top: 0;
	margin-bottom: 1rem;
	color: var(--accent);
	font-size: 1rem;
}

.property-title h1 + h2 {
	margin-top: -1rem;
	font-size: 1.25rem;
	color: var(--accent-75);
}

.property-features + h2 {
	margin-left: 1rem;
}

.property-description {
	margin-bottom: 1rem;
}

.property-details {
	display: grid;
	grid-template-columns: 1fr;
	margin: 0 0 1rem 0;
	padding-bottom: 0;
	padding-left: 1rem;
	list-style: none;
	border-bottom: thin solid var(--border-lighter);
}

@media(min-width: 26.875em) {
	.property-details {
		grid-template-columns: 1fr 1fr;
	}
}

@media(min-width: 37.5em) {
	.property-details {
		grid-template-columns: 1fr;
	}
}

@media(min-width: 55em) {
	.property-details {
		grid-template-columns: 1fr 1fr;
	}
}

.property-details li {
	flex: 50%;
	margin-bottom: 0.5rem;
	padding: 0.25rem;
	align-self: self-end;
}

.property-details .icon {
	max-width: 1.5rem;
	margin-right: 0.5rem;
	fill: currentColor;
	fill: var(--accent-75);
}

.property-price {
	display: inline-block;
	margin-bottom: 1.5rem;
	padding: 0.5rem 1.5rem;
	font-size: 1rem;
	color: var(--white);
	border-radius: 0.2rem;
	background-color: var(--accent);
}

@media(min-width: 37.5em) {
	.property-price {
		font-size: 1.125rem;
	}
}

@media(min-width: 50em) {
	.property-price {
		font-size: 1.25rem;
	}
}

.property-price span {
	display: block;
	padding: 0.25rem;
}

.property-price span + span {
	border-top: thin solid var(--white);
}

.property-features {
	display: grid;
	grid-template-columns: 1fr;
	grid-gap: 0.5rem;
	margin-bottom: 1rem;
	padding-top: 0;
	padding-left: 1rem;
	list-style: none;
	border-bottom: thin solid var(--border-lighter);
}

@media(min-width: 26.875em) {
	.property-features {
		grid-template-columns: 1fr 1fr;
	}
}

@media(min-width: 37.5em) {
	.property-features {
		grid-template-columns: 1fr;
	}
}

@media(min-width: 55em) {
	.property-features {
		grid-template-columns: 1fr 1fr;
	}
}

.property-id {
	margin-bottom: 0;
}

.property-features-list {
	padding-bottom: 0.5rem;
}

.property-features-list li {
	margin-bottom: 0.5rem;
	padding-left: 1.75rem;
	list-style-type: none;
	background-image: url(/assets/headlandhomes-logomark.png);
	background-size: 1.25rem;
	background-repeat: no-repeat;
	background-position: left center;
}

.meta-info {
	font-size: 0.85rem;
	color: #11365359;
}

.property-contact-wrapper {
	max-width: 100%;
	margin: 0 auto;
	padding: 1rem;
	border-radius: 0.2rem;
	background-color: var(--primary-translucent);
}

.property-contact-wrapper h3 {
	margin-top: 0;
	margin-bottom: 0;
	color: var(--accent);
}

/* thumbnail gallery */

.gallery-thumbs {
	margin-top: 0;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-gap: 0.25rem;
}

@media(min-width: 340px) {
	.gallery-thumbs {
		grid-template-columns: repeat(4, 1fr);
	}
}

@media(min-width: 30em) {
	.gallery-thumbs {
		grid-template-columns: repeat(6, 1fr);
	}
}

@media(min-width: 62.5em) {
	.gallery-thumbs {
		grid-template-columns: repeat(8, 1fr);
		grid-gap: 0.5rem;
	}
}

.gallery-thumbs li {
	display: inline;
}

@media(min-width: 37.5em) {
	.property .swiper-container-thumbs {
		order: 2;
	}
}

.gallery-thumbs .image {
	aspect-ratio: 1;
	overflow: hidden;
}

.gallery-thumbs img {
	object-fit: cover;
	width: 100px;
	height: 100px;
	object-position: center;
}

/* ++++++++++++++++++++++++++++++++++++ */

.gallery {
	line-height: 0;
	font-size: 0;
	text-align: center;
}

@media(min-width: 85em) {
	.gallery {
		border-radius: 0.2rem;
	}
}

.gallery .image {
	display: inline;
}

.section-hero {
	max-height: 80vh;
	overflow: hidden;
}

.section-hero .gallery img {
	opacity: 0;
}

/* Flickity */

.flickity-enabled {
	position: relative;
}

.flickity-enabled:focus {
	outline: none;
}

.flickity-enabled.is-draggable {
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
}

.flickity-viewport {
	cursor: move;
	cursor: -webkit-grab;
	cursor: grab;
}

.flickity-viewport.is-pointer-down {
	cursor: -webkit-grabbing;
	cursor: grabbing;
}

.flickity-viewport {
	overflow: hidden;
	position: relative;
	width: 100%;
	height: 100% !important;
}

.flickity-slider {
	position: absolute;
	width: 100%;
	height: 100%;
}

.lightbox-enabled {
	position: fixed;
}

#lightbox {
	background: rgb(30 30 30 / 90%);
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
	z-index: 999;
}

#lightbox .slider {
	width: 100%;
	height: 100%;
}

#lightbox .slide {
	width: 100%;
	height: 100%;
}

#lightbox .frame {
	width: 100%;
	height: 100%;
	display: table;
	table-layout: fixed;
}

.valign {
	width: 100%;
	height: 100%;
	display: table-cell;
	text-align: center;
	vertical-align: middle;
	line-height: 0;
}

.slider img {
	max-width: 100%;
	height: auto;
	max-height: 100vh !important;
}

.exit {
	position: absolute;
	top: 0;
	right: 0;
	width: fit-content;
	padding: 0.5rem 1rem;
	text-align: center;
	border-bottom-left-radius: 0.2rem;
	background: var(--primary);
	cursor: pointer;
}

.exit::after {
	content: 'close';
}

.prev, .next {
	position: absolute;
	top: 50%;
	margin-top: -22px;
	width: fit-content;
	padding: 0.5rem 1rem;
	text-align: center;
	background: var(--primary);
	cursor: pointer;
}

.prev {
	left: 0;
	border-top-right-radius: 0.2rem;
	border-bottom-right-radius: 0.2rem;
}

.prev::after {
	content: 'prev';
}

.next {
	right: 0;
	border-top-left-radius: 0.2rem;
	border-bottom-left-radius: 0.2rem;
}

.next::after {
	content: 'next';
}

.property iframe {
	width: 100%;
	height: 100%;
	aspect-ratio: 16 / 9;
	border-radius: 0.2rem;
}
