/* Two overlapping tilted photos ("duo"). Used on the home page and on Voor maneges. */

.duo {
	position: relative;
	height: 280px;
	margin: 8px 0 4px;
}

.duo__a,
.duo__b {
	position: absolute;
	overflow: hidden;
	box-shadow: 0 16px 34px rgba(33, 30, 100, 0.14);
}

.duo__a {
	left: 0;
	top: 0;
	width: 224px;
	height: 224px;
	border-radius: 24px;
	transform: rotate(-5deg);
}

.duo__b {
	right: 20px;
	bottom: 0;
	width: 160px;
	height: 160px;
	border: 8px solid var(--rbnl-white);
	border-radius: 22px;
	transform: rotate(6deg);
	box-shadow: 0 18px 38px rgba(33, 30, 100, 0.18);
}

.duo__a,
.duo__b {
	transition:
		transform 0.7s var(--rbnl-ease),
		box-shadow 0.7s var(--rbnl-ease);
}

.duo:hover .duo__a {
	transform: rotate(-9deg) translate(-14px, -8px);
}

.duo:hover .duo__b {
	transform: rotate(2deg) translate(10px, 6px) scale(1.04);
	box-shadow: 0 26px 50px rgba(33, 30, 100, 0.24);
}

.duo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.9s var(--rbnl-ease);
}

@media (min-width: 1024px) {
	.duo {
		height: 330px;
		margin-top: 12px;
	}

	.duo__a {
		width: 260px;
		height: 260px;
	}

	.duo__b {
		right: 10px;
		width: 180px;
		height: 180px;
	}
}
