/* Inversionisto property single — v0.21.14 */
.single-inv_property{
	--inv-property-green:#5C844A;
	--inv-property-green-dark:#46683A;
	--inv-property-ink:#17202A;
	--inv-property-muted:#667085;
	--inv-property-border:#E2E7E3;
	--inv-property-soft:#F4F7F3;
}

.inv-property-single{
	font-family:"Poppins",Arial,Helvetica,sans-serif;
	color:var(--inv-property-ink);
}

.inv-property-single .inv-property-head{padding:38px 0 24px}
.inv-property-single .inv-property-head__grid{gap:34px}
.inv-property-single .inv-property-head h1{
	max-width:900px;
	font-size:clamp(2rem,3.8vw,3.55rem);
	line-height:1.04;
	letter-spacing:-.045em;
	font-weight:700;
}
.inv-property-single .inv-property-head__tags span{
	background:#EEF4EC;
	color:var(--inv-property-green-dark);
	font-size:.68rem;
	font-weight:800;
	letter-spacing:.02em;
}
.inv-property-single .inv-property-head__price strong{font-size:1.7rem;font-weight:800}
.inv-property-single .inv-property-head__price>span{color:var(--inv-property-green)}
.inv-property-single .inv-property-head__location{font-size:.94rem}

.inv-property-single .inv-gallery-grid{
	border-radius:12px;
	background:#EEF2EF;
}
.inv-property-single .inv-gallery-grid figure{background:#EEF2EF}

.inv-property-single .inv-property-layout{
	grid-template-columns:minmax(0,1fr) 370px;
	gap:42px;
}
.inv-property-single .inv-property-sidebar{
	display:grid;
	gap:16px;
	position:sticky;
	top:24px;
}

/* Agent — desktop sidebar */
.inv-property-agent-card{
	padding:20px;
	border:1px solid var(--inv-property-border);
	border-radius:12px;
	background:#fff;
	box-shadow:0 8px 28px rgba(25,45,31,.07);
}
.inv-property-agent-card__profile{
	display:grid;
	grid-template-columns:74px minmax(0,1fr);
	gap:14px;
	align-items:center;
}
.inv-property-agent-card__photo{
	width:74px;
	height:74px;
	border-radius:10px;
	overflow:hidden;
	background:#EEF3ED;
	display:block;
}
.inv-property-agent-card__photo img{
	width:100%;
	height:100%;
	object-fit:cover;
	display:block;
}
.inv-property-agent-card__identity span,
.inv-property-agent-card__identity small{
	display:block;
	color:#7A857E;
	font-size:.66rem;
	font-weight:600;
}
.inv-property-agent-card__identity strong{
	display:block;
	margin:2px 0;
	font-size:.98rem;
	line-height:1.25;
	font-weight:800;
}
.inv-property-agent-card__identity a{
	display:inline-block;
	margin-top:5px;
	color:var(--inv-property-green-dark);
	font-size:.68rem;
	font-weight:700;
	text-decoration:none;
}
.inv-property-agent-card__identity a:hover{text-decoration:underline;text-underline-offset:3px}
.inv-property-agent-card__prompt{
	margin-top:17px;
	padding-top:16px;
	border-top:1px solid var(--inv-property-border);
}
.inv-property-agent-card__prompt strong{
	display:block;
	font-size:.9rem;
	font-weight:800;
}
.inv-property-agent-card__prompt span{
	display:block;
	margin-top:4px;
	color:#6D7871;
	font-size:.7rem;
	line-height:1.5;
}
.inv-property-agent-card__actions{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:8px;
	margin-top:14px;
}
.inv-property-agent-card__actions>a{
	min-height:44px;
	padding:0 8px;
	border:1px solid #D8E1D7;
	border-radius:9px;
	display:flex;
	align-items:center;
	justify-content:center;
	gap:6px;
	color:var(--inv-property-green-dark);
	background:#fff;
	font-size:.67rem;
	font-weight:800;
	text-decoration:none;
}
.inv-property-agent-card__actions>a:hover{
	border-color:#AEC2A8;
	background:#F6F9F5;
}
.inv-property-agent-card__actions svg{
	width:17px;
	height:17px;
	fill:currentColor;
}
.inv-property-agent-card__actions img{width:18px;height:18px;object-fit:contain}
.inv-property-agent-card__actions .is-whatsapp{
	background:#F3F8F1;
	border-color:#C7D8C1;
}

/* Inquiry remains available, but visually secondary to the assigned agent. */
.inv-property-sidebar .inv-contact-card{
	padding:20px;
	border:1px solid var(--inv-property-border);
	border-radius:12px;
	box-shadow:none;
}
.inv-property-sidebar .inv-contact-card .inv-kicker{color:var(--inv-property-green);font-size:.68rem}
.inv-property-sidebar .inv-contact-card h2{font-size:1.2rem;font-weight:800;letter-spacing:-.02em}
.inv-property-sidebar .inv-inquiry-card__intro{font-size:.78rem}
.inv-property-sidebar .inv-inquiry-form{gap:10px}
.inv-property-sidebar .inv-inquiry-form label>span{font-size:.68rem}
.inv-property-sidebar .inv-inquiry-form input,
.inv-property-sidebar .inv-inquiry-form textarea{
	border-radius:8px;
	border-color:#DDE4DF;
}
.inv-property-sidebar .inv-inquiry-form .inv-button{
	background:var(--inv-property-green);
	border-radius:8px;
	font-weight:800;
}
.inv-property-sidebar .inv-inquiry-form .inv-button:hover{background:var(--inv-property-green-dark)}

.inv-property-single .inv-spec{
	border:1px solid #E7ECE8;
	border-radius:10px;
	background:#F8FAF8;
}
.inv-property-single .inv-spec strong{font-weight:800}

.inv-property-single .inv-spec{
	padding:18px 16px;
	display:flex;
	flex-direction:column;
	gap:10px;
}
.inv-property-single .inv-spec__header{
	display:flex;
	align-items:center;
	gap:10px;
}
.inv-property-single .inv-spec__icon{
	width:38px;
	height:38px;
	border-radius:10px;
	background:#EDF4EA;
	color:var(--inv-property-green);
	display:inline-flex;
	align-items:center;
	justify-content:center;
	flex:0 0 38px;
}
.inv-property-single .inv-spec__icon svg{
	width:19px;
	height:19px;
	fill:currentColor;
	display:block;
}
.inv-property-single .inv-spec__label{
	display:block;
	margin:0;
	color:#6B7480;
	font-size:.9rem;
	font-weight:600;
	line-height:1.2;
}
.inv-property-single .inv-spec strong{
	font-size:1.55rem;
	line-height:1;
	letter-spacing:-.03em;
	padding-left:48px;
}
@media(max-width:800px){
	.inv-property-single .inv-spec{padding:16px 14px;gap:8px}
	.inv-property-single .inv-spec__icon{width:34px;height:34px;flex-basis:34px;border-radius:9px}
	.inv-property-single .inv-spec__icon svg{width:17px;height:17px}
	.inv-property-single .inv-spec__label{font-size:.86rem}
	.inv-property-single .inv-spec strong{font-size:1.35rem;padding-left:44px}
}

.inv-property-single .inv-kicker{color:var(--inv-property-green)}
.inv-property-single .inv-property-block h2{font-weight:700}

/* The mobile contact bar stays mobile-only. WhatsApp remains available on every viewport. */
.inv-property-mobile-contactbar{display:none}
.inv-property-whatsapp-float{
	position:fixed;
	z-index:1000;
	right:28px;
	bottom:28px;
	width:62px;
	height:62px;
	padding:0;
	border:0;
	border-radius:50%;
	background:#25D366;
	display:grid;
	place-items:center;
	box-shadow:0 8px 22px rgba(15,73,37,.24);
	overflow:hidden;
}
.inv-property-whatsapp-float img{width:62px;height:62px;display:block}
.inv-property-whatsapp-float:focus-visible{outline:3px solid #fff;outline-offset:3px}

@media(max-width:1050px){
	.inv-property-single .inv-property-layout{grid-template-columns:minmax(0,1fr) 320px;gap:28px}
	.inv-property-agent-card__profile{grid-template-columns:62px minmax(0,1fr)}
	.inv-property-agent-card__photo{width:62px;height:62px}
	.inv-property-agent-card__actions>a span{display:none}
	.inv-property-agent-card__actions>a{padding:0}
}

@media(max-width:800px){
	/* Plusval-inspired reading order: media first, then price/title/details. */
	.inv-property-single{display:flex;flex-direction:column}
	.inv-property-single>.inv-property-gallery{order:1}
	.inv-property-single>.inv-property-head{order:2}
	.inv-property-single>.inv-section:not(.inv-section--muted){order:3}
	.inv-property-single>.inv-section--muted{order:4}

	.inv-property-single .inv-property-gallery{padding:0}
	.inv-property-single .inv-property-gallery>.inv-wide{width:100%;max-width:none}
	.inv-property-single .inv-gallery-grid,
	.inv-property-single .inv-gallery-grid--1,
	.inv-property-single .inv-gallery-grid--2,
	.inv-property-single .inv-gallery-grid--3{
		display:flex;
		height:min(68vw,430px);
		min-height:300px;
		border-radius:0;
		gap:0;
		overflow-x:auto;
		scroll-snap-type:x mandatory;
		scrollbar-width:none;
	}
	.inv-property-single .inv-gallery-grid::-webkit-scrollbar{display:none}
	.inv-property-single .inv-gallery-grid figure{
		flex:0 0 100%;
		height:100%;
		scroll-snap-align:start;
	}

	.inv-property-single .inv-property-head{padding:24px 0 12px}
	.inv-property-single .inv-property-head__grid{gap:14px}
	.inv-property-single .inv-property-head h1{
		font-size:clamp(1.75rem,7.5vw,2.45rem);
		line-height:1.12;
		letter-spacing:-.04em;
	}
	.inv-property-single .inv-property-head__price{
		align-items:flex-start;
		text-align:left;
		order:-1;
	}
	.inv-property-single .inv-property-head__price strong{font-size:1.55rem}
	.inv-property-single .inv-property-head__tags{margin-top:3px}
	.inv-property-single .inv-property-layout{display:block}
	.inv-property-single .inv-property-content{min-width:0}
	.inv-property-agent-card{display:none}
	.inv-property-single .inv-property-sidebar{position:static;margin-top:26px}
	.inv-property-single .inv-section{padding-top:30px;padding-bottom:40px}

	/* Prevent Safari/iOS focus zoom in the inquiry form too. */
	.inv-property-sidebar .inv-inquiry-form input,
	.inv-property-sidebar .inv-inquiry-form textarea,
	.inv-property-sidebar .inv-inquiry-form select{font-size:16px!important}

	body.single-inv_property{padding-bottom:calc(92px + env(safe-area-inset-bottom))}

	.inv-property-mobile-contactbar{
		position:fixed;
		z-index:999;
		left:0;
		right:0;
		bottom:0;
		min-height:84px;
		padding:9px 14px calc(9px + env(safe-area-inset-bottom));
		border-top:1px solid #DCE5DD;
		background:rgba(255,255,255,.97);
		box-shadow:0 -8px 28px rgba(21,41,26,.12);
		display:grid;
		grid-template-columns:minmax(118px,.9fr) minmax(0,1.2fr);
		align-items:center;
		gap:12px;
		backdrop-filter:blur(12px);
	}
	.inv-property-mobile-contactbar__agent{
		display:grid;
		grid-template-columns:48px minmax(0,1fr);
		gap:9px;
		align-items:center;
		min-width:0;
	}
	.inv-property-mobile-contactbar__agent img{
		width:48px;
		height:48px;
		border-radius:9px;
		object-fit:cover;
		background:#EEF3ED;
	}
	.inv-property-mobile-contactbar__agent strong,
	.inv-property-mobile-contactbar__agent span{
		display:block;
		overflow:hidden;
		text-overflow:ellipsis;
		white-space:nowrap;
	}
	.inv-property-mobile-contactbar__agent strong{font-size:.75rem;font-weight:800}
	.inv-property-mobile-contactbar__agent span{margin-top:2px;color:#748078;font-size:.61rem;font-weight:600}
	.inv-property-mobile-contactbar__contact{min-width:0;border-left:1px solid #E1E6E2;padding-left:12px}
	.inv-property-mobile-contactbar__contact>strong{
		display:block;
		margin-bottom:6px;
		font-size:.72rem;
		line-height:1.2;
		font-weight:800;
		text-align:center;
	}
	.inv-property-mobile-contactbar__actions{
		display:flex;
		justify-content:center;
		gap:8px;
	}
	.inv-property-mobile-contactbar__actions>a{
		width:38px;
		height:38px;
		border:1.5px solid var(--inv-property-green);
		border-radius:999px;
		background:#fff;
		color:var(--inv-property-green);
		display:grid;
		place-items:center;
		text-decoration:none;
	}
	.inv-property-mobile-contactbar__actions svg{
		width:17px;
		height:17px;
		fill:currentColor;
	}
	.inv-property-mobile-contactbar__actions img{width:19px;height:19px;object-fit:contain}

	.inv-property-whatsapp-float{
		right:18px;
		bottom:max(calc(132px + env(safe-area-inset-bottom)),18vh);
	}
}

@media(max-width:480px){
	.inv-property-mobile-contactbar{
		grid-template-columns:minmax(106px,.85fr) minmax(0,1.15fr);
		padding-left:10px;
		padding-right:10px;
		gap:8px;
	}
	.inv-property-mobile-contactbar__agent{grid-template-columns:44px minmax(0,1fr);gap:7px}
	.inv-property-mobile-contactbar__agent img{width:44px;height:44px}
	.inv-property-mobile-contactbar__contact{padding-left:8px}
	.inv-property-mobile-contactbar__contact>strong{font-size:.66rem}
	.inv-property-mobile-contactbar__actions>a{width:36px;height:36px}
	.inv-property-whatsapp-float{right:14px;width:62px;height:62px;bottom:max(calc(128px + env(safe-area-inset-bottom)),18vh)}
	.inv-property-single .inv-spec-grid{gap:8px}
}

/* Property financing calculator */
.inv-property-calculator{
	margin:38px 0 4px;
	padding:28px;
	border:1px solid #DDE5DE;
	background:#F8FAF7;
}
.inv-property-calculator__heading{
	display:flex;
	align-items:flex-start;
	justify-content:space-between;
	gap:24px;
	padding-bottom:22px;
	border-bottom:1px solid #DDE5DE;
}
.inv-property-calculator__heading h2{
	margin:4px 0 6px;
	font-size:clamp(1.55rem,2.1vw,2rem);
	line-height:1.08;
	letter-spacing:-.035em;
	font-weight:800;
}
.inv-property-calculator__heading>div>p:last-child{
	margin:0;
	color:#69756D;
	font-size:.92rem;
	line-height:1.5;
}
.inv-property-calculator__heading>svg{
	width:42px;
	height:42px;
	padding:9px;
	background:#EAF2E7;
	color:var(--inv-property-green);
	fill:currentColor;
	flex:0 0 42px;
}
.inv-property-calculator__grid{
	display:grid;
	grid-template-columns:minmax(0,1.05fr) minmax(280px,.95fr);
	gap:28px;
	padding-top:24px;
}
.inv-property-calculator__form{
	display:flex;
	flex-direction:column;
	gap:18px;
	min-width:0;
}
.inv-property-calculator__form label{
	display:grid;
	gap:7px;
	min-width:0;
}
.inv-property-calculator__form label>span{
	color:#46534B;
	font-size:.78rem;
	font-weight:750;
}
.inv-property-calculator__fields{
	display:grid;
	grid-template-columns:repeat(3,minmax(0,1fr));
	gap:12px;
}
.inv-property-calculator input,
.inv-property-calculator select{
	width:100%;
	height:48px;
	border:1px solid #CBD6CD;
	border-radius:0;
	background:#fff;
	color:#17241C;
	padding:0 13px;
	font:700 .92rem/1 var(--inv-font-sans,system-ui,sans-serif);
	outline:none;
}
.inv-property-calculator input:focus,
.inv-property-calculator select:focus{
	border-color:var(--inv-property-green);
	box-shadow:0 0 0 3px rgba(92,132,74,.14);
}
.inv-property-calculator__money,
.inv-property-calculator__suffix{
	position:relative;
	display:flex;
	align-items:center;
}
.inv-property-calculator__money>strong{
	position:absolute;
	left:13px;
	z-index:1;
	color:#526159;
	font-size:.82rem;
	font-weight:800;
	pointer-events:none;
}
.inv-property-calculator__money input{padding-left:48px}
.inv-property-calculator__suffix>strong{
	position:absolute;
	right:13px;
	color:#526159;
	font-size:.82rem;
	font-weight:800;
	pointer-events:none;
}
.inv-property-calculator__suffix input{padding-right:36px}
.inv-property-calculator__validation{
	min-height:20px;
	margin:0;
	color:#8B4D3E;
	font-size:.78rem;
	font-weight:650;
}
.inv-property-calculator__results{
	padding:22px;
	background:#173B28;
	color:#fff;
	min-width:0;
}
.inv-property-calculator__primary{
	padding-bottom:18px;
	border-bottom:1px solid rgba(255,255,255,.18);
}
.inv-property-calculator__primary span,
.inv-property-calculator__primary small{
	display:block;
	color:#D9E5DB;
}
.inv-property-calculator__primary span{
	font-size:.77rem;
	font-weight:700;
}
.inv-property-calculator__primary strong{
	display:block;
	margin:7px 0 4px;
	font-size:clamp(1.85rem,3vw,2.7rem);
	line-height:1;
	letter-spacing:-.045em;
	font-weight:850;
	word-break:break-word;
}
.inv-property-calculator__primary small{font-size:.7rem}
.inv-property-calculator__result-grid{
	display:grid;
	grid-template-columns:repeat(2,minmax(0,1fr));
	gap:16px 18px;
	padding:18px 0;
}
.inv-property-calculator__result-grid div{
	min-width:0;
}
.inv-property-calculator__result-grid span,
.inv-property-calculator__result-grid strong{
	display:block;
}
.inv-property-calculator__result-grid span{
	margin-bottom:5px;
	color:#BFD0C2;
	font-size:.68rem;
	font-weight:650;
}
.inv-property-calculator__result-grid strong{
	font-size:.9rem;
	line-height:1.3;
	font-weight:800;
	word-break:break-word;
}
.inv-property-calculator__disclaimer{
	margin:auto 0 0;
	padding:18px 0 0;
	border-top:1px solid #DDE5DE;
	color:#657169;
	font-size:.76rem;
	line-height:1.6;
	max-width:46ch;
}
@media(max-width:1050px){
	.inv-property-calculator__grid{grid-template-columns:1fr}
}
@media(max-width:800px){
	.inv-property-calculator{
		margin-top:28px;
		padding:20px 16px;
	}
	.inv-property-calculator__heading{gap:14px;padding-bottom:18px}
	.inv-property-calculator__heading h2{font-size:1.5rem}
	.inv-property-calculator__heading>svg{width:38px;height:38px;flex-basis:38px}
	.inv-property-calculator__grid{gap:18px;padding-top:18px}
	.inv-property-calculator__fields{grid-template-columns:1fr 1fr}
	.inv-property-calculator__fields label:last-child{grid-column:1/-1}
	.inv-property-calculator input,
	.inv-property-calculator select{font-size:16px;min-height:48px}
	.inv-property-calculator__results{padding:20px 16px}
	.inv-property-calculator__disclaimer{margin-top:0;max-width:none;padding-top:14px}
}
@media(max-width:480px){
	.inv-property-calculator__heading>svg{display:none}
	.inv-property-calculator__fields{grid-template-columns:1fr}
	.inv-property-calculator__fields label:last-child{grid-column:auto}
	.inv-property-calculator__result-grid{grid-template-columns:1fr 1fr;gap:14px 10px}
	.inv-property-calculator__primary strong{font-size:1.9rem}
}


/* v0.25.22 — compact horizontal property facts */
.inv-property-single .inv-spec-grid{
	grid-template-columns:repeat(auto-fit,minmax(210px,1fr));
	gap:10px;
}
.inv-property-single .inv-spec{
	min-height:78px;
	padding:14px 16px;
	display:grid;
	grid-template-columns:38px minmax(0,1fr) auto;
	align-items:center;
	column-gap:11px;
	row-gap:0;
}
.inv-property-single .inv-spec__header{
	display:contents;
}
.inv-property-single .inv-spec__icon{
	grid-column:1;
	grid-row:1;
	width:38px;
	height:38px;
	margin:0;
}
.inv-property-single .inv-spec__label{
	grid-column:2;
	grid-row:1;
	margin:0;
	font-size:.82rem;
	font-weight:700;
	line-height:1.25;
	color:#667085;
}
.inv-property-single .inv-spec strong{
	grid-column:3;
	grid-row:1;
	padding-left:0;
	margin:0;
	font-size:1.34rem;
	line-height:1;
	letter-spacing:-.025em;
	white-space:nowrap;
	text-align:right;
}
@media(max-width:800px){
	.inv-property-single .inv-spec-grid{
		grid-template-columns:repeat(2,minmax(0,1fr));
		gap:8px;
	}
	.inv-property-single .inv-spec{
		min-height:72px;
		padding:12px;
		grid-template-columns:34px minmax(0,1fr) auto;
		column-gap:9px;
	}
	.inv-property-single .inv-spec__icon{
		width:34px;
		height:34px;
		flex-basis:34px;
	}
	.inv-property-single .inv-spec__label{font-size:.76rem}
	.inv-property-single .inv-spec strong{
		padding-left:0;
		font-size:1.15rem;
	}
}
@media(max-width:480px){
	.inv-property-single .inv-spec-grid{
		grid-template-columns:1fr;
		gap:8px;
	}
	.inv-property-single .inv-spec{
		min-height:64px;
	}
}

/* v0.25.42 — keep long labels (Construcción) and large surface values on separate rows. */
.inv-property-single .inv-spec{
  grid-template-columns:38px minmax(0,1fr);
  grid-template-rows:auto auto;
  align-content:center;
  gap:5px 11px;
  min-width:0;
}
.inv-property-single .inv-spec__icon{grid-column:1;grid-row:1 / span 2;align-self:center}
.inv-property-single .inv-spec__label{
  grid-column:2;grid-row:1;min-width:0;overflow-wrap:anywhere;
  font-size:.82rem;line-height:1.3
}
.inv-property-single .inv-spec strong{
  grid-column:2;grid-row:2;min-width:0;
  padding:0;margin:0;text-align:left;
  font-size:clamp(1.02rem,1.45vw,1.27rem);line-height:1.25;
  white-space:normal;overflow-wrap:anywhere
}
@media(max-width:800px){
  .inv-property-single .inv-spec{grid-template-columns:34px minmax(0,1fr);gap:4px 9px}
  .inv-property-single .inv-spec strong{font-size:1.08rem}
}

/* v0.25.47 — Stable editorial/masonry gallery for mixed photo orientations.
 * Pure CSS: no JS-calculated rows, so portrait photos cannot create giant gaps.
 * Previews fill visually balanced slots without stretching the actual image.
 * The lightbox always displays the full uncropped image. */
@media (min-width: 801px) {
  .inv-property-single .inv-gallery-grid,
  .inv-property-single .inv-gallery-grid--1,
  .inv-property-single .inv-gallery-grid--2,
  .inv-property-single .inv-gallery-grid--3 {
    display: grid;
    grid-template-columns: repeat(12,minmax(0,1fr));
    grid-template-rows: repeat(2,minmax(0,220px));
    gap: 12px;
    height: 452px;
    min-height: 0;
    overflow: visible;
    border-radius: 0;
    background: transparent;
    align-items: stretch;
  }
  .inv-property-single .inv-gallery-grid figure {
    grid-column: auto;
    grid-row: auto;
    display: block;
    min-width: 0;
    min-height: 0;
    margin: 0;
    height: 100%;
    overflow: hidden;
    border-radius: 13px;
    background: #e9efeb;
    box-shadow: 0 4px 15px rgba(28,47,35,.045);
  }
  /* Four tiles: one feature + two upper details + one horizontal lower tile. */
  .inv-property-single .inv-gallery-grid--4 figure:nth-child(1) {grid-column: 1 / 7;grid-row: 1 / 3;}
  .inv-property-single .inv-gallery-grid--4 figure:nth-child(2) {grid-column: 7 / 10;grid-row: 1 / 2;}
  .inv-property-single .inv-gallery-grid--4 figure:nth-child(3) {grid-column: 10 / 13;grid-row: 1 / 2;}
  .inv-property-single .inv-gallery-grid--4 figure:nth-child(4) {grid-column: 7 / 13;grid-row: 2 / 3;}
  /* Three tiles: the two right photographs each have full half-height width. */
  .inv-property-single .inv-gallery-grid--3 figure:nth-child(1) {grid-column: 1 / 7;grid-row: 1 / 3;}
  .inv-property-single .inv-gallery-grid--3 figure:nth-child(2) {grid-column: 7 / 13;grid-row: 1 / 2;}
  .inv-property-single .inv-gallery-grid--3 figure:nth-child(3) {grid-column: 7 / 13;grid-row: 2 / 3;}
  .inv-property-single .inv-gallery-grid--2 figure:nth-child(1) {grid-column: 1 / 7;grid-row: 1 / 3;}
  .inv-property-single .inv-gallery-grid--2 figure:nth-child(2) {grid-column: 7 / 13;grid-row: 1 / 3;}
  .inv-property-single .inv-gallery-grid--1 figure:nth-child(1) {grid-column: 1 / 13;grid-row: 1 / 3;}
  .inv-property-single .inv-gallery-grid__open {
    width: 100%;
    height: 100%;
    display: block;
    overflow: hidden;
  }
  .inv-property-single .inv-gallery-grid__open > img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}
@media (min-width:801px) and (max-width: 1100px) {
  .inv-property-single .inv-gallery-grid,
  .inv-property-single .inv-gallery-grid--1,
  .inv-property-single .inv-gallery-grid--2,
  .inv-property-single .inv-gallery-grid--3 {
    grid-template-rows: repeat(2,minmax(0,180px));
    height:372px;
    gap:12px;
  }
}
@media (max-width:800px) {
  .inv-property-single .inv-gallery-grid__open > img {object-fit:cover;object-position:center;}
}

/* v0.25.49 — Responsive, provider-whitelisted property video embeds. */
.inv-property-single .inv-property-video{width:100%;max-width:900px;margin:22px 0 12px;min-width:0}
.inv-property-single .inv-property-video__ratio{position:relative;width:100%;aspect-ratio:16 / 9;overflow:hidden;border-radius:12px;background:#111e1a}
.inv-property-single .inv-property-video__ratio iframe{position:absolute;inset:0;width:100%;height:100%;border:0;display:block}
.inv-property-single .inv-property-video__fallback{margin:9px 0 0;font-size:.78rem;line-height:1.5;color:#6a766f}
.inv-property-single .inv-property-video__fallback a{color:#315f3c;font-weight:750;text-underline-offset:3px}
.inv-property-single .inv-prose .inv-property-video{margin-block:18px 26px}
/* Also stabilize valid embeds previously produced by WordPress/oEmbed. */
.inv-property-single .inv-prose .wp-block-embed.is-provider-youtube iframe,
.inv-property-single .inv-prose .wp-block-embed.is-provider-vimeo iframe{max-width:100%;width:100%;aspect-ratio:16 / 9;height:auto;min-height:0;border:0}
@media(max-width:800px){
	.inv-property-single .inv-property-video{margin-block:16px}
	.inv-property-single .inv-property-video__ratio{border-radius:9px}
}
