/**
 * Demo 20 — Headline: Bold Banner (افقی • تیتر بنری)
 * A full-width horizontal banner — magazine cover / feature vibe.
 * Huge uppercase title fills the row, price as a colored block on the side,
 * an accent line animates across the top on hover. Dark, high contrast.
 */
.jespw-demo-20-headline-banner .jespw-card {
	position: relative;
	background: #0c0a09;
	border: none;
	border-radius: 0;
	padding: 26px 24px;
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 22px;
	overflow: hidden;
	transition: transform .35s ease;
}
/* Top accent line — animates across on hover. */
.jespw-demo-20-headline-banner .jespw-card::before {
	content: "";
	position: absolute;
	inset-block-start: 0;
	inset-inline-start: 0;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, #f59e0b, #f97316, #ef4444);
	transition: width .5s cubic-bezier(.2, .8, .2, 1);
}
.jespw-demo-20-headline-banner .jespw-card:hover::before {
	width: 100%;
}
.jespw-demo-20-headline-banner .jespw-card:hover {
	transform: translateY(-2px);
}
/* Faint glow behind the title on hover. */
.jespw-demo-20-headline-banner .jespw-card::after {
	content: "";
	position: absolute;
	inset-block-start: 50%;
	inset-inline-start: 12%;
	width: 240px;
	height: 240px;
	transform: translateY(-50%);
	background: radial-gradient(circle, rgba(245, 158, 11, 0.18), transparent 70%);
	opacity: 0;
	transition: opacity .4s ease;
	pointer-events: none;
}
.jespw-demo-20-headline-banner .jespw-card:hover::after {
	opacity: 1;
}
/* Text-only banner — hide the image. */
.jespw-demo-20-headline-banner .jespw-image,
.jespw-demo-20-headline-banner .jespw-image-wrap {
	display: none !important;
}
.jespw-demo-20-headline-banner .jespw-text-accent {
	display: none;
}
/* The big ordinal index — ghosted behind / beside the title. */
.jespw-demo-20-headline-banner .jespw-index {
	font-family: "Arial Black", "Helvetica Neue", sans-serif;
	font-size: 80px;
	font-weight: 900;
	line-height: 0.85;
	color: transparent;
	-webkit-text-stroke: 2px rgba(245, 158, 11, 0.55);
	font-style: normal;
	flex-shrink: 0;
	transition: -webkit-text-stroke-color .35s ease, transform .35s ease;
}
.jespw-demo-20-headline-banner .jespw-card:hover .jespw-index {
	-webkit-text-stroke-color: #f59e0b;
	transform: scale(1.06);
}
/* Content: title dominates, meta sits below. */
.jespw-demo-20-headline-banner .jespw-content {
	flex: 1;
	display: flex;
	flex-direction: column;
	gap: 6px;
	min-width: 0;
}
.jespw-demo-20-headline-banner .jespw-category {
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: #f59e0b;
}
.jespw-demo-20-headline-banner .jespw-title {
	font-family: "Arial Black", "Helvetica Neue", sans-serif;
	font-size: 30px;
	font-weight: 900;
	line-height: 1.1;
	color: #fafaf9;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: -0.5px;
	transition: color .3s ease;
}
.jespw-demo-20-headline-banner .jespw-card:hover .jespw-title {
	color: #f59e0b;
}
.jespw-demo-20-headline-banner .jespw-title a {
	color: inherit;
	text-decoration: none;
}
.jespw-demo-20-headline-banner .jespw-excerpt {
	font-size: 13px;
	line-height: 1.6;
	color: #a8a29e;
	margin: 0;
	max-width: 50ch;
}
/* Meta row: rating + price. */
.jespw-demo-20-headline-banner .jespw-rating {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 12px;
	color: #a8a29e;
	margin-block-start: 4px;
}
/* Price as a colored block on the side. */
.jespw-demo-20-headline-banner .jespw-price {
	background: #f59e0b;
	color: #0c0a09;
	padding: 12px 18px;
	border-radius: 6px;
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 2px;
	white-space: nowrap;
	flex-shrink: 0;
	align-self: stretch;
	justify-content: center;
	transition: transform .3s ease;
}
.jespw-demo-20-headline-banner .jespw-card:hover .jespw-price {
	transform: scale(1.04);
}
.jespw-demo-20-headline-banner .jespw-regular-price {
	font-size: 20px;
	font-weight: 900;
	color: #0c0a09;
}
.jespw-demo-20-headline-banner .jespw-regular-price del {
	color: rgba(12, 10, 9, 0.55);
	font-size: 12px;
	font-weight: 400;
	text-decoration: line-through;
}
.jespw-demo-20-headline-banner .jespw-sale-price ins {
	font-size: 20px;
	font-weight: 900;
	color: #0c0a09;
	text-decoration: none;
}
.jespw-demo-20-headline-banner .jespw-discount-percent {
	font-size: 11px;
	font-weight: 800;
	color: #0c0a09;
	background: rgba(12, 10, 9, 0.12);
	padding: 1px 7px;
	border-radius: 999px;
}
/* Button: solid amber block. */
.jespw-demo-20-headline-banner .jespw-button {
	padding: 10px 18px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #0c0a09;
	background: #fafaf9;
	border: none;
	border-radius: 4px;
	transition: all .25s ease;
	white-space: nowrap;
}
.jespw-demo-20-headline-banner .jespw-button:hover {
	background: #f59e0b;
	color: #0c0a09;
}
/* Badges as stark blocks. */
.jespw-demo-20-headline-banner .jespw-badge {
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 1px;
	padding: 3px 9px;
	border-radius: 2px;
	background: #f59e0b;
	color: #0c0a09;
	text-transform: uppercase;
}
.jespw-demo-20-headline-banner .jespw-badges {
	position: static;
	display: inline-flex;
	gap: 6px;
	margin-block-end: 4px;
}
/* Grid: stacked full-width banners. */
.jespw-demo-20-headline-banner .jespw-grid {
	grid-template-columns: 1fr;
	gap: 8px;
}
/* Slider: each slide is one banner. */
.jespw-demo-20-headline-banner.jespw-layout-slider .jespw-card {
	height: 100%;
}
/* Responsive: shrink the index + title, stack the price block. */
@media (max-width: 768px) {
	.jespw-demo-20-headline-banner .jespw-card {
		flex-wrap: wrap;
		padding: 20px 16px;
	}
	.jespw-demo-20-headline-banner .jespw-index {
		font-size: 54px;
	}
	.jespw-demo-20-headline-banner .jespw-title {
		font-size: 22px;
	}
	.jespw-demo-20-headline-banner .jespw-price {
		flex-basis: 100%;
		flex-direction: row;
		justify-content: space-between;
		align-items: center;
	}
}
