/* Property posts use a dedicated listing presentation instead of the blog layout. */
.mattina-property-single .breadcrumb {
	padding: 14px 0;
	min-height: 0;
	background: #f5f5f2 !important;
}

.mattina-property-single .breadcrumb .entry-title {
	display: none;
}

.mattina-property-single .breadcrumb .breadcrumb_wrapper {
	min-height: 0;
	padding: 0 15px;
}

.mattina-property-single .breadcrumb ul,
.mattina-property-single .breadcrumb ul li,
.mattina-property-single .breadcrumb ul li a {
	color: #555;
}

.mattina-property-page {
	background: #fff;
}

.mattina-property-hero {
	padding: clamp(28px, 4vw, 52px) 0;
	background: linear-gradient(135deg, #151515 0%, #292724 100%);
	color: #fff;
}

.mattina-property-back {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	margin: 0 0 24px;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .03em;
	text-decoration: none;
}

.mattina-property-back span {
	color: #e29e00;
	font-size: 20px;
	line-height: 1;
}

.mattina-property-back:hover,
.mattina-property-back:focus {
	color: #e29e00;
}

.mattina-property-hero__inner {
	display: grid;
	grid-template-columns: minmax(340px, .9fr) minmax(0, 1.1fr);
	gap: clamp(28px, 4vw, 58px);
	align-items: stretch;
}

.mattina-property-hero__media {
	min-height: 540px;
	margin: 0;
	overflow: hidden;
	border-radius: 4px;
	background: #333;
	box-shadow: 0 20px 50px rgba(0, 0, 0, .28);
}

.mattina-property-hero__image {
	display: block;
	width: 100%;
	height: 100%;
	min-height: 540px;
	object-fit: cover;
	object-position: center;
}

.postid-442 .mattina-property-hero__image {
	object-fit: contain;
	background: #242424;
}

.mattina-property-hero__panel {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 18px 0;
}

.mattina-property-kicker {
	margin: 0 0 10px;
	color: #e8b23c;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 1.2px;
	text-transform: uppercase;
}

.mattina-property-kicker span {
	margin: 0 7px;
}

.mattina-property-hero h1 {
	max-width: 850px;
	margin: 0;
	color: #fff;
	font-size: clamp(36px, 4.3vw, 62px);
	line-height: 1.08;
}

.mattina-property-lead {
	max-width: 720px;
	margin: 20px 0 0;
	color: #dedede;
	font-family: Arial, sans-serif;
	font-size: 18px;
	line-height: 1.65;
}

.mattina-property-hero__action {
	max-width: 440px;
	margin-top: 28px;
	padding: 28px;
	border-top: 4px solid #e29e00;
	background: #fff;
	box-shadow: 0 18px 45px rgba(0, 0, 0, .22);
}

.mattina-property-price {
	margin: 0 0 20px;
	color: #171717;
	font-size: 36px;
	font-weight: 700;
	line-height: 1;
}

.mattina-property-price span {
	margin-left: 5px;
	color: #666;
	font-family: Arial, sans-serif;
	font-size: 14px;
	font-weight: 400;
}

.mattina-property-button {
	display: block;
	width: 100%;
	margin-top: 10px;
	padding: 13px 18px;
	border: 2px solid #e29e00;
	border-radius: 3px;
	font-family: Arial, sans-serif;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.3;
	text-align: center;
	text-decoration: none;
}

.mattina-property-button--primary,
.mattina-property-button--primary:hover,
.mattina-property-button--primary:focus {
	background: #e29e00;
	color: #111;
}

.mattina-property-button--secondary {
	background: #fff;
	color: #222;
}

.mattina-property-content {
	max-width: 1180px;
	padding-top: clamp(40px, 6vw, 75px);
	padding-bottom: clamp(42px, 6vw, 76px);
}

.mattina-property-content > p {
	max-width: 860px;
	font-family: Arial, sans-serif;
	font-size: 18px;
	line-height: 1.75;
}

.mattina-property-content > h3 {
	margin-top: 35px;
	font-size: 30px;
}

.mattina-property-content > .wp-block-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 0;
	max-width: 100%;
	margin: 18px 0 50px;
	padding: 0;
	border-top: 1px solid #dedede;
	border-left: 1px solid #dedede;
	list-style: none;
}

.mattina-property-content > .wp-block-list li {
	min-height: 88px;
	padding: 24px 24px 24px 48px;
	border-right: 1px solid #dedede;
	border-bottom: 1px solid #dedede;
	background: #fafaf8;
	font-family: Arial, sans-serif;
	font-weight: 600;
	position: relative;
}

.mattina-property-content > .wp-block-list li:before {
	content: '\2713';
	position: absolute;
	left: 22px;
	color: #bd7f00;
	font-weight: 800;
}

.mattina-property-content > .wp-block-gallery {
	margin-top: 34px;
}

.mattina-construction-gallery {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
}

.mattina-construction-gallery .wp-block-image {
	width: 100% !important;
	margin: 0 !important;
	aspect-ratio: 4 / 3;
}

.mattina-construction-gallery .wp-block-image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mattina-property-content .wp-block-gallery .wp-block-image,
.mattina-extra-gallery .wp-block-image {
	overflow: hidden;
	border-radius: 4px;
	background: #eee;
}

.mattina-property-content .wp-block-gallery img,
.mattina-extra-gallery img {
	transition: transform .25s ease;
}

.mattina-property-content .wp-block-gallery img:hover,
.mattina-extra-gallery img:hover {
	transform: scale(1.015);
}

.mattina-property-cta {
	padding: 42px 0;
	background: #f3f1ec;
	border-top: 1px solid #e1ded5;
	border-bottom: 1px solid #e1ded5;
}

.mattina-property-cta__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
}

.mattina-property-cta h2 {
	margin: 0 0 6px;
	font-size: 34px;
}

.mattina-property-cta p {
	margin: 0;
	font-family: Arial, sans-serif;
	font-size: 17px;
}

.mattina-property-cta .mattina-property-button {
	flex: 0 0 220px;
	width: auto;
	margin: 0;
}

.mattina-property-cta__actions {
	display: grid;
	flex: 0 0 220px;
	gap: 9px;
	text-align: center;
}

.mattina-property-cta__actions .mattina-property-button {
	width: 100%;
}

.mattina-property-cta__phone {
	color: #222;
	font-family: Arial, sans-serif;
	font-size: 17px;
	font-weight: 800;
	text-decoration: none;
}

.mattina-property-navigation {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 30px;
	padding-top: 34px;
	padding-bottom: 45px;
}

.mattina-property-navigation__overview {
	text-align: center;
}

.mattina-property-navigation > div:last-child {
	text-align: right;
}

.mattina-property-navigation a {
	display: inline-flex;
	flex-direction: column;
	color: #222;
	font-size: 18px;
	font-weight: 600;
}

.mattina-property-navigation a span {
	margin-bottom: 3px;
	color: #8a620b;
	font-family: Arial, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 1px;
	text-transform: uppercase;
}

@media (max-width: 782px) {
	.mattina-construction-gallery {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.mattina-property-hero__inner {
		grid-template-columns: 1fr;
	}

	.mattina-property-hero__media,
	.mattina-property-hero__image {
		min-height: 420px;
		max-height: 620px;
	}

	.mattina-property-hero__panel {
		padding-bottom: 0;
	}

	.mattina-property-content > .wp-block-list {
		grid-template-columns: 1fr 1fr;
	}

	.mattina-property-cta__inner {
		align-items: flex-start;
		flex-direction: column;
	}

	.mattina-property-cta__actions {
		width: 100%;
		flex-basis: auto;
	}
}

@media (max-width: 520px) {
	.mattina-construction-gallery {
		grid-template-columns: 1fr;
	}

	.mattina-property-content > .wp-block-list,
	.mattina-property-navigation {
		grid-template-columns: 1fr;
	}

	.mattina-property-navigation__overview {
		order: -1;
		text-align: left;
	}

	.mattina-property-navigation > div:last-child {
		text-align: left;
	}

	.mattina-property-cta .mattina-property-button {
		width: 100%;
	}
}
