/**
 * Image Reveal Styles
 * Simplified version based on working example
 */

.image-reveal {
	position: relative;
	width: 80%;
	margin: 0 auto;
	padding: 1rem;
	overflow: hidden;
}

.image-reveal__item {
	width: 100%;
	padding: 1.25rem 0;
	cursor: pointer;
	text-align: center;
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	text-decoration: none;
	color: inherit;
	position: relative;
	z-index: 11;
}

.image-reveal__item:last-child {
	border-bottom: none;
}

.image-reveal__item:hover,
.image-reveal__item:focus {
	outline: none;
	text-decoration: none;
}

.image-reveal__item:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

.image-reveal__item:hover .image-reveal__label,
.image-reveal__item:focus .image-reveal__label {
	opacity: 0.8;
}

.image-reveal__label {
	margin: 0;
	padding: 0;
	font-size: 3rem;
	font-weight: 400;
	line-height: 1.2;
	color: inherit;
}

@media (max-width: 768px) {
	.image-reveal__label {
		font-size: 2rem;
	}
}

.image-reveal__tag {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.image-reveal__tag-dot {
	width: 0.75rem;
	height: 0.75rem;
	background-color: currentColor;
	display: inline-block;
	border-radius: 50%;
}

.image-reveal__preview {
	position: fixed;
	width: 300px;
	height: 220px;
	border-radius: 0.5rem;
	object-fit: cover;
	transform: translate(-50%, -50%);
	z-index: 20;
	opacity: 0;
	pointer-events: none;
}

.image-reveal__preview.active {
	opacity: 1;
}

/* Accessibility: Reduced Motion */
@media (prefers-reduced-motion: reduce) {
	.image-reveal__preview {
		transform: translate(-50%, -50%);
	}
}
