/**
 * Homepage-Slider: volles Bild, kein Crop, kein schwarzer Letterbox-Rand.
 */
.trickart-homepage-slider {
	position: relative;
	width: 100%;
	background: transparent;
	overflow: visible;
}

.trickart-hp-track {
	position: relative;
	width: 100%;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;
	background: transparent;
}

.trickart-hp-slide {
	margin: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: 0;
	transition: opacity 0.7s ease;
	pointer-events: none;
}

.trickart-homepage-slider:not(.is-single) .trickart-hp-slide {
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
}

.trickart-hp-slide.is-active {
	opacity: 1;
	pointer-events: auto;
	z-index: 1;
}

.trickart-hp-slide img {
	display: block;
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: center center !important;
	vertical-align: middle;
}

.trickart-homepage-slider.is-single .trickart-hp-slide {
	position: relative;
	width: 100%;
	opacity: 1;
}

.trickart-hp-dots {
	display: flex;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.5rem 0 0;
	position: relative;
	z-index: 2;
	pointer-events: none;
}

.trickart-hp-dots .trickart-hp-dot {
	pointer-events: auto;
}

.trickart-hp-dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: none;
	padding: 0;
	background: rgba(0, 0, 0, 0.25);
	cursor: pointer;
}

.trickart-hp-dot.is-active {
	background: rgba(0, 0, 0, 0.55);
	transform: scale(1.15);
}

.trickart-hp-error {
	color: #b32d2e;
	font-size: 0.9rem;
}

/* Theme-Overrides (z. B. X Theme, Page Builder) */
.entry-content .trickart-homepage-slider .trickart-hp-slide img,
.x-text .trickart-homepage-slider .trickart-hp-slide img,
.x-text img.trickart-hp-slide-img,
figure.trickart-hp-slide img,
.trickart-homepage-slider img {
	width: 100% !important;
	max-width: 100% !important;
	height: auto !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: center center !important;
}
