/* Flyer rotator - portrait 8.5 x 11 (Letter) */
.flyer-rotator .g-swiper,
.flyer-rotator .swiper-container {
	width: 100%;
	height: auto !important;
	aspect-ratio: 8.5 / 11;
}
@supports not (aspect-ratio: 8.5 / 11) {
	.flyer-rotator .g-swiper,
	.flyer-rotator .swiper-container {
		height: 0 !important;
		padding-bottom: 129.41%;
	}
}
.flyer-rotator .swiper-wrapper,
.flyer-rotator .swiper-slide {
	height: 100% !important;
}
.flyer-rotator .swiper-slide img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	object-fit: cover;
	object-position: top center;
}
.flyer-rotator .swiper-pagination {
	bottom: 4px;
	text-align: center;
	z-index: 5;
}
.flyer-rotator .swiper-pagination-bullet {
	background: #ffffff;
	opacity: .65;
	margin: 0 3px !important;
}
.flyer-rotator .swiper-pagination-bullet-active {
	opacity: 1;
}

/* Single-slide flyers do not rotate and show no pagination dots */
.flyer-rotator.flyer-rotator--single .swiper-pagination,
.flyer-rotator .g-swiper:has(.swiper-slide:only-child) .swiper-pagination {
	display: none !important;
}
/* The particle emits modern Swiper pagination classes (swiper-pagination-parent-*), so match any of them */
.flyer-rotator.flyer-rotator--single [class*="swiper-pagination"] {
	display: none !important;
}

/* Cap the flyer width and centre it (block centred in its column, flyer centred inside the 8.5x11 frame) */
.flyer-rotator {
	max-width: 360px;
	margin-left: auto;
	margin-right: auto;
}
.flyer-rotator .g-swiper {
	margin-left: auto;
	margin-right: auto;
}
.flyer-rotator .swiper-slide {
	display: flex;
	align-items: center;
	justify-content: center;
}
.flyer-rotator .swiper-slide img {
	object-fit: contain !important;
	object-position: center center !important;
	margin: auto;
}

/* Flyer section a little larger (overrides the 360px cap above) */
.flyer-rotator {
	max-width: 420px;
}
