/* Archive image swap wrapper */
.wcsai-wrap {
	display: block;
	position: relative;
	overflow: hidden;
}

/* Both images sit in the same space */
.wcsai-wrap .wcsai-img {
	display: block;
	width: 100%;
	height: auto;
	transition: opacity 0.3s ease;
}

/* Secondary image overlays the primary */
.wcsai-wrap .wcsai-img--secondary {
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
}

/* Reveal secondary on hover or keyboard focus of the parent link */
.wcsai-wrap:hover .wcsai-img--secondary,
.wcsai-wrap:focus-within .wcsai-img--secondary {
	opacity: 1;
}

.wcsai-wrap:hover .wcsai-img--primary,
.wcsai-wrap:focus-within .wcsai-img--primary {
	opacity: 0;
}
