/* ==========================================================================
   Bentlaire - Single property page extras.
   Feature icons row (Beds / Baths / Garage) shown under the main listing
   photo, reusing the exact icon set from the modernized search bar for
   visual consistency (navy #294356 outline icons).
   ========================================================================== */

.bentlaire-property-features {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 28px;
	padding: 18px 0;
	margin: 0 0 10px;
	border-bottom: 1px solid #E1E5E9;
	font-family: 'Work Sans', sans-serif;
}

.bentlaire-property-feature {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.98rem;
	font-weight: 500;
	color: #294356;
}

.bentlaire-property-feature .epl-icon {
	width: 24px;
	height: 24px;
	flex: 0 0 auto;
	background-repeat: no-repeat;
	background-position: center;
	background-size: contain;
	display: inline-block;
}

.bentlaire-property-feature .epl-icon-bed {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32' fill='none' stroke='%23294356' stroke-width='2' stroke-miterlimit='10'%3E%3Cpath d='M28,16V9c0-1.1-0.9-2-2-2H6C4.9,7,4,7.9,4,9v7'/%3E%3Cpath d='M8,16v-2c0-1.1,0.9-2,2-2h4c1.1,0,2,0.9,2,2v2'/%3E%3Cpath d='M16,16v-2c0-1.1,0.9-2,2-2h4c1.1,0,2,0.9,2,2v2'/%3E%3Cpath d='M3,18v8h3v-2h20v2h3v-8c0-1.1-0.9-2-2-2H5C3.9,16,3,16.9,3,18z'/%3E%3C/svg%3E");
}

.bentlaire-property-feature .epl-icon-bath {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23294356' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16v3a4 4 0 0 1-4 4H8a4 4 0 0 1-4-4z'/%3E%3Cpath d='M4 12V7a2 2 0 0 1 2-2c.9 0 1.7.5 2 1.3'/%3E%3Cpath d='M8 19v2'/%3E%3Cpath d='M16 19v2'/%3E%3Cpath d='M4 12H2'/%3E%3C/svg%3E");
}

.bentlaire-property-feature .epl-icon-car {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23294356' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 11l1.5-4.5A2 2 0 0 1 8.4 5h7.2a2 2 0 0 1 1.9 1.5L19 11'/%3E%3Crect x='3' y='11' width='18' height='6' rx='2'/%3E%3Ccircle cx='7.5' cy='17' r='1.5'/%3E%3Ccircle cx='16.5' cy='17' r='1.5'/%3E%3C/svg%3E");
}

@media (max-width: 640px) {
	.bentlaire-property-features {
		gap: 18px;
		padding: 14px 0;
	}
}

/* Featured image gallery (arrows + dots), no gallery plugin - just the
   images already attached to the listing, swapped client-side. */
.bentlaire-gallery {
	position: relative;
}

.bentlaire-gallery-slides {
	position: relative;
	width: 100%;
}

.bentlaire-gallery-slide {
	display: none;
}

.bentlaire-gallery-slide.is-active {
	display: block;
}

.bentlaire-gallery-slide img {
	width: 100%;
	height: auto;
	display: block;
}

.bentlaire-gallery-arrow {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: none;
	background: rgba(17, 23, 29, 0.45);
	color: #FFFFFF;
	font-size: 1.4rem;
	line-height: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background 0.15s ease;
	z-index: 2;
	padding: 0;
}

.bentlaire-gallery-arrow:hover {
	background: #294356;
}

.bentlaire-gallery-arrow:focus-visible {
	outline: 3px solid #FFE91E;
	outline-offset: 2px;
}

.bentlaire-gallery-prev {
	left: 16px;
}

.bentlaire-gallery-next {
	right: 16px;
}

.bentlaire-gallery-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 16px;
	display: flex;
	justify-content: center;
	gap: 8px;
	z-index: 2;
}

.bentlaire-gallery-dot {
	width: 9px;
	height: 9px;
	border-radius: 50%;
	border: none;
	background: rgba(255, 255, 255, 0.55);
	padding: 0;
	cursor: pointer;
	transition: background 0.15s ease, transform 0.15s ease;
}

.bentlaire-gallery-dot.is-active {
	background: #FFE91E;
	transform: scale(1.2);
}

@media (max-width: 640px) {
	.bentlaire-gallery-arrow {
		width: 36px;
		height: 36px;
		font-size: 1.1rem;
	}
}

/* ==========================================================================
   Widen the property gallery within its own column.
   The gallery lives inside #left-area, which sits beside #sidebar (the
   author widget) in a classic Divi two-column layout. An earlier version
   of this rule broke the gallery out to full viewport width (100vw +
   negative margins) to match the site's "section width" elsewhere, but
   that technique assumes a centered single-column layout - here it
   overshot to the right and covered the sidebar's author info. Instead,
   just fill #left-area's own full content width (reclaiming its own
   padding-right, the gutter normally reserved before the sidebar) so the
   gallery is as wide as possible without ever overlapping #sidebar.

   NOTE: the -5.5% below matches bentlaire.com's own #left-area
   padding-right. If your target site's single property template has a
   different sidebar/column width, inspect #left-area's padding-right
   there and match this number to it (or delete this rule entirely if
   that template has no sidebar at all).
   ========================================================================== */
.bentlaire-gallery-fullbleed {
	width: auto;
	position: static;
	margin-left: 0;
	margin-right: -5.5%;
}

.bentlaire-gallery-fullbleed-inner {
	width: 100%;
	max-width: none;
	margin: 0;
	box-sizing: border-box;
}
