/* ===== Real apps: a fan of phone screenshots (sized from --pw, the phone width) ===== */
.ig-showcase {
	overflow: hidden;
	background: var(--wp--preset--color--grey);
}
.ig-fan {
	--pw: min(100px, calc((100vw - 40px) / 3.9));
	--ov: calc(var(--pw) * -0.3);
	display: flex;
	align-items: flex-end;
	justify-content: center;
	margin-top: 44px;
}
.ig-fan > .wp-block-image {
	position: relative;
	z-index: 3;
	flex: none;
	width: var(--pw);
	margin-left: var(--ov);
}
.ig-fan > .wp-block-image img {
	display: block;
	width: 100%;
	height: auto;
	filter: drop-shadow(0 16px 22px rgba(0, 0, 0, 0.28));
}
.ig-fan > .wp-block-image:first-child { margin-left: 0; rotate: -14deg; }
.ig-fan > .wp-block-image:nth-child(2) { z-index: 4; rotate: -7deg; }
.ig-fan > .wp-block-image:nth-child(3) {
	z-index: 5;
	width: calc(var(--pw) * 1.1);
	translate: 0 calc(var(--pw) * -0.1);
}
.ig-fan > .wp-block-image:nth-child(3) img { filter: drop-shadow(0 22px 30px rgba(0, 93, 166, 0.5)); }
.ig-fan > .wp-block-image:nth-child(4) { z-index: 4; rotate: 7deg; }
.ig-fan > .wp-block-image:nth-child(5) { rotate: 14deg; }
/* A screenshot with wide transparent margins around its phone: scaled up so the phone matches its neighbours. */
.ig-fan > .ig-fan__padded { width: calc(var(--pw) * 1.16); }
/* A frameless screenshot in the fan uses the phone frame style, scaled to the fan's phone width. */
.ig-fan > .is-style-ig-phone {
	padding: calc(var(--pw) * 0.04);
	border-radius: calc(var(--pw) * 0.15);
}
.ig-fan > .is-style-ig-phone img {
	height: 100%;
	border-radius: calc(var(--pw) * 0.12);
	filter: none;
}
@media (min-width: 640px) {
	.ig-fan { --pw: 150px; }
}
@media (min-width: 782px) {
	.ig-fan { --pw: 180px; }
}
@media (min-width: 1024px) {
	.ig-fan { --pw: 200px; margin-top: 64px; }
}
