/* Keep the Free Wishes poster inside whichever column or stream it is moved to. */
.escore.esc-page-feed #esc-section-free-wishes,
.escore.esc-page-feed [data-esh-house="free-wishes"],
.escore.esc-page-feed .esc-provider-esh_free_wishes {
	box-sizing: border-box;
	max-width: 100%;
	min-width: 0;
	overflow: hidden;
}

.escore.esc-page-feed #esc-section-free-wishes .euw-sidebar-promo,
.escore.esc-page-feed [data-esh-house="free-wishes"] .euw-sidebar-promo,
.escore.esc-page-feed .esc-provider-esh_free_wishes .euw-sidebar-promo {
	display: block !important;
	max-width: 100% !important;
	margin: 0 !important;
	line-height: 0 !important;
}

.escore.esc-page-feed #esc-section-free-wishes .euw-sidebar-promo img,
.escore.esc-page-feed [data-esh-house="free-wishes"] .euw-sidebar-promo img,
.escore.esc-page-feed .esc-provider-esh_free_wishes .euw-sidebar-promo img {
	display: block !important;
	width: 100% !important;
	height: auto !important;
	max-width: 100% !important;
	max-height: none !important;
	aspect-ratio: 700 / 933 !important;
	object-fit: contain !important;
	margin: 0 !important;
}

.escore.esc-page-feed .esc-book-review-spotlight {
	max-width: 100%;
	min-width: 0;
	box-sizing: border-box;
}

/*
 * The shop mixer paints rail order with [data-esh-mix-o] { order: N !important }.
 * When the poster is in the right rail, force it above Book Spotlight (mix-o 1).
 * An ID selector is required so this beats those rules. The class rule is for clones.
 */
html body.escore-shell .escore.esc-page-feed [data-feed-page] > aside[data-column-host="3"] > #esc-section-free-wishes,
html body.escore-shell .escore.esc-page-feed [data-feed-page] > aside[data-column-host="3"] > [data-esh-house="free-wishes"],
html body.escore-shell .escore.esc-page-feed [data-feed-page] > aside[data-column-host="3"] > .esc-provider-esh_free_wishes.efss-wishes-lead,
html body.escore-shell .escore.esc-page-feed [data-feed-page] > aside[data-column-host="3"] > .efss-wishes-lead {
	order: 0 !important;
}
