/* Reldom Services Group — matches Gasser structure: <a> card, flex-grow image area, title mt-auto. */

/* Carousel: only when overflow enabled — visible on right (peek), left hidden via ::before */
.gva-element-reldom-services-group .gsc-services-group.layout-carousel.reldom-overflow-visible,
.gva-element-reldom-services-group .gsc-services-group.layout-carousel.reldom-overflow-visible .owl-carousel .owl-stage-outer {
	overflow: visible;
}

.gva-element-reldom-services-group .gsc-services-group.layout-carousel.reldom-overflow-visible {
	position: relative;
}

.gva-element-reldom-services-group .gsc-services-group.layout-carousel.reldom-overflow-visible::before {
	content: "";
	height: 100%;
	width: calc(100vw - 100%);
	left: calc(-100vw + 100%);
	top: 0;
	position: absolute;
	z-index: 10;
}

.gva-element-reldom-services-group .reldom-card {
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
	text-decoration: none;
	color: inherit;
	border: none;
	box-shadow: none;
	overflow: hidden;
	width: 100%;
	background-color: #F5F5F4;
	border-radius: 6px;
}

/* Flex-grow: image area fills space so title sits at bottom (mt-auto) */
.gva-element-reldom-services-group .reldom-card__image-wrap {
	flex-grow: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 0;
	padding: 0;
}

.gva-element-reldom-services-group .reldom-card__image {
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	line-height: 0;
}

.gva-element-reldom-services-group .reldom-card__img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: 238px;
	object-fit: cover;
	vertical-align: middle;
	margin: 0 auto;
	border-radius: 6px;
}

/* Title at bottom: mt-auto, centered, padding like pt-6 pb-8 */
.gva-element-reldom-services-group .reldom-card__title {
	margin: 0;
	margin-top: auto;
	padding: 24px 0 32px;
	text-align: center;
	font-family: inherit;
	font-weight: inherit;
}
