/**
 * EU AI disclosure labels for editorial Elementor images.
 *
 * The label is intentionally an interface overlay rather than part of the
 * source bitmap. Dynamic WPCarSync vehicle images never receive this marker.
 */


/*
 * Zero selector specificity is deliberate: media containers without an
 * existing positioning context become relative, while slider slides keep
 * their component-defined absolute positioning.
 */
:where([data-dabag-ai-image]) {
	position: relative;
}

.dabag-ai-image-label {
	position: absolute;
	inset-block-start: clamp(0.65rem, 1.35vw, 1.15rem);
	inset-inline-end: clamp(0.65rem, 1.35vw, 1.15rem);
	z-index: 12;
	display: block;
	width: clamp(5.5rem, 7vw, 6.5rem);
	max-width: calc(100% - 1.3rem);
	line-height: 0;
	pointer-events: none;
	filter: drop-shadow(0 0.125rem 0.3rem rgb(0 0 0 / 22%));
}

.dabag-ai-image-label img {
	display: block;
	width: 100%;
	height: auto;
	max-width: none;
	object-fit: contain;
	object-position: center;
}

.dabag-ai-image-label .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 767px) {
	.dabag-ai-image-label {
		inset-block-start: 0.65rem;
		inset-inline-end: 0.65rem;
		width: clamp(4.5rem, 22vw, 5.5rem);
	}
}

@media print {
	.dabag-ai-image-label {
		filter: none;
	}
}
