.jw-story-cards .jw-story-card { min-width: 0; margin: 0; }
.jw-story-cards .jw-story-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}
.jw-story-cards .jw-story-card__main { display: block; color: inherit; text-decoration: none; }
.jw-story-cards .jw-story-card__main:hover,
.jw-story-cards .jw-story-card__main:focus { color: inherit; text-decoration: none; }
.jw-story-cards .jw-story-card__cover {
	position: relative;
	display: block;
	flex-shrink: 0;
	aspect-ratio: 1055 / 1491;
	border-radius: 12px;
	box-shadow: 0 12px 24px -12px color-mix(in srgb, var(--global-palette1) 85%, transparent);
	transition: transform 220ms ease, box-shadow 220ms ease;
}
.jw-story-cards .jw-story-card__image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
}
.jw-single-story .jw-single__cover { position: relative; }
.jw-product-badges { position: absolute; top: 8px; left: 8px; z-index: 1; display: flex; flex-flow: row nowrap; gap: 6px; pointer-events: none; }
.jw-product-badge { display: inline-block; flex: 0 0 auto; padding: 4px 8px; border-radius: 6px; font-size: 12px; font-weight: 700; line-height: 1.4; white-space: nowrap; }
.jw-product-badge--sale { background: var(--global-palette13); color: var(--global-palette8); }
.jw-product-badge--new { background: var(--global-palette9); color: var(--global-palette3); }
.jw-product-badges[hidden], .jw-product-badge[hidden] { display: none; }
.jw-story-cards .jw-story-card__title {
	color: inherit;
	font-size: 1.125rem;
	line-height: 1.35;
	margin: 1rem 0 0;
}
.jw-story-cards .jw-story-card__description {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	overflow: hidden;
	font-size: .875rem;
	line-height: 1.5;
	margin: .5rem 0 0;
}
.jw-story-cards .jw-story-card__details {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: .75rem;
	margin-top: auto;
	padding-top: 1rem;
}
.jw-story-cards .jw-story-card__price { flex: 0 0 auto; white-space: nowrap; }
.jw-story-cards .jw-story-card__price .woocommerce-Price-amount.amount { font-size: 22px; }
.jw-story-cards .jw-story-card__cta {
	box-sizing: border-box;
	display: block;
	flex: 1 0 auto;
	text-align: center;
	min-width: 0;
	max-width: 100%;
	white-space: normal;
	font-size: 14px;
    padding: 10px;
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
	.jw-story-cards .jw-story-card__link:hover .jw-story-card__cover {
		transform: translateY(-4px);
		box-shadow: 0 18px 28px -10px color-mix(in srgb, var(--global-palette1) 95%, transparent);
	}
}

@media (max-width: 1024px) {
	.jw-story-cards .jw-story-card__details { flex-direction: column; align-items: stretch; }
}

.jw-story-cards .jw-story-card__main:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	.jw-story-cards .jw-story-card__cover { transition: none; }
}
