/* Structural accents only: all editable colours and typography live in Divi settings. */
.lio-dv-card,
.lio-dv-mayor-card {
	overflow: hidden;
	box-shadow: 0 18px 48px rgba(35, 27, 20, 0.08);
}

/* Preserve Divi's complete column preset without adding empty mobile spacing. */
.lio-dv-row > .lio-dv-empty-column {
	margin-bottom: 0;
}

.lio-dv-home-hero {
	position: relative;
	min-height: 560px;
	isolation: isolate;
}

.lio-dv-hero-background > .et_pb_column,
.lio-dv-hero-slider,
.lio-dv-hero-slider .et_pb_slides,
.lio-dv-hero-slider .et_pb_slide {
	height: 100%;
	min-height: 560px;
}

.lio-dv-hero-slider .et_pb_slide_description {
	min-height: 560px;
	padding: 0;
}

/* Native slide names identify the photos in Divi; the actual headline is separate. */
.lio-dv-hero-slider .et_pb_slide_title {
	display: none;
}

.lio-dv-home-hero .lio-dv-hero-copy {
	min-height: 560px;
}

.lio-dv-hero-copy .et_pb_text {
	max-width: 900px;
}

.lio-dv-inline-button.et_pb_button_module_wrapper,
.et_pb_button_module_wrapper:has(> .lio-dv-inline-button) {
	display: inline-block;
}

.lio-dv-hero-slider .et-pb-controllers {
	right: 5%;
	bottom: 22px;
	left: auto;
	width: auto;
}

.lio-dv-mayor-card {
	display: flex;
}

.lio-dv-mayor-image-column,
.lio-dv-mayor-portrait,
.lio-dv-mayor-portrait .et_pb_image_wrap {
	display: flex;
}

.lio-dv-mayor-portrait,
.lio-dv-mayor-portrait .et_pb_image_wrap {
	width: 100%;
	min-height: 640px;
}

.lio-dv-mayor-portrait img {
	width: 100%;
	height: 100%;
	min-height: 640px;
	object-fit: cover;
	object-position: center 34%;
}

.lio-dv-hotel-photo .et_pb_image_wrap,
.lio-dv-hotel-photo img {
	display: block;
	width: 100%;
	height: 210px;
	object-fit: cover;
}

.lio-dv-feed-stay-photo.et_pb_image {
	float: left;
	width: 33.333333%;
}

.lio-dv-feed-stay-photo .et_pb_image_wrap,
.lio-dv-feed-stay-photo img {
	display: block;
	width: 100%;
	height: 218px;
	object-fit: cover;
}

.lio-dv-feed-partner-logo.et_pb_image {
	display: flex;
	float: left;
	align-items: center;
	justify-content: center;
	width: 50%;
	height: 109px;
	padding: 18px;
}

.lio-dv-feed-partner-logo .et_pb_image_wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 73px;
}

.lio-dv-feed-partner-logo img {
	width: auto;
	max-width: 100%;
	max-height: 65px;
	object-fit: contain;
}

.lio-dv-feed-body-start {
	clear: both;
	padding-top: 30px;
}

.lio-dv-sponsor-logo,
.lio-dv-sponsor-logo .et_pb_image_wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 108px;
}

.lio-dv-sponsor-logo img {
	width: 100%;
	max-width: 200px;
	height: 98px;
	object-fit: contain;
}

.lio-dv-gallery .et_pb_gallery_image img,
.lio-dv-gallery-image img {
	width: 100%;
	height: 180px;
	object-fit: cover;
}

@media (max-width: 980px) {
	.lio-dv-mayor-card {
		display: block;
	}
	.lio-dv-mayor-portrait,
	.lio-dv-mayor-portrait .et_pb_image_wrap,
	.lio-dv-mayor-portrait img {
		min-height: 0;
		height: 520px;
	}
	.lio-dv-gallery .et_pb_gallery_image img,
	.lio-dv-gallery-image img {
		height: 160px;
	}
}

@media (max-width: 600px) {
	.lio-dv-home-hero,
	.lio-dv-hero-background > .et_pb_column,
	.lio-dv-hero-slider,
	.lio-dv-hero-slider .et_pb_slides,
	.lio-dv-hero-slider .et_pb_slide,
	.lio-dv-hero-slider .et_pb_slide_description,
	.lio-dv-home-hero .lio-dv-hero-copy {
		min-height: 610px;
	}
	.lio-dv-mayor-portrait,
	.lio-dv-mayor-portrait .et_pb_image_wrap,
	.lio-dv-mayor-portrait img {
		height: 430px;
	}
	.lio-dv-gallery .et_pb_gallery_image img,
	.lio-dv-gallery-image img {
		height: 140px;
	}
}
