/*
 * Event templates for the homepage hero band (inc/home-hero-templates.php).
 * Supports: sale (brand purple), black-friday (obsidian + gold), nowruz (spring emerald + gold),
 * and christmas (winter pine + crimson + gold).
 * Loaded only when an event template is active on the home page (or in admin/Customizer preview).
 * Colours come from ye-tokens.css; zero external assets and no fixed white backgrounds.
 */

/* ---------- Shared event hero layout ---------- */
.head-hero.ye-hero.ye-hero--event {
	position: relative;
	margin-bottom: 0;
	padding: 36px 0 42px;
	color: #f6f3fc;
	font-weight: var(--ye-w-bold);
	border-bottom: 1px solid rgba(245, 200, 98, .22);
}

.head-hero.ye-hero.ye-hero--event .container {
	position: relative;
	z-index: 2;
	padding: 0 56px;
}

/* Decorative atmosphere clipped strictly inside the band so the pencil divider below stays unclipped. */
.ye-hero-bf__bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
	pointer-events: none;
	z-index: 0;
}

.ye-hero-bf__gridlines {
	position: absolute;
	inset: 0;
	opacity: .2;
	background-image:
		linear-gradient(to right, rgba(245, 200, 98, .12) 1px, transparent 1px),
		linear-gradient(to bottom, rgba(255, 255, 255, .06) 1px, transparent 1px);
	background-size: 48px 48px;
	-webkit-mask-image: radial-gradient(75% 85% at 50% 45%, #000 0%, transparent 85%);
	mask-image: radial-gradient(75% 85% at 50% 45%, #000 0%, transparent 85%);
}

.ye-hero-bf__glow {
	position: absolute;
	border-radius: 50%;
	filter: blur(52px);
	opacity: .55;
}

.ye-hero-bf__glow--violet {
	top: -110px;
	right: 8%;
	width: 340px;
	height: 340px;
	background: rgba(111, 63, 192, .55);
}

.ye-hero-bf__glow--gold {
	bottom: -130px;
	left: 10%;
	width: 300px;
	height: 300px;
	background: rgba(245, 200, 98, .26);
}

.ye-hero-bf__watermark {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-family: "Bonyade Koodak VF", system-ui, -apple-system, sans-serif;
	font-size: clamp(72px, 11vw, 152px);
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1;
	white-space: nowrap;
	color: transparent;
	-webkit-text-stroke: 1px rgba(245, 200, 98, .09);
	user-select: none;
}

/* Handcrafted seasonal SVG scene (pine/ornaments, spring blossoms, hanging price tags, festive ribbons) */
.head-hero.ye-hero.ye-hero--event .ye-ev-scene {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	margin: 0;
	object-fit: cover;
	object-position: center top;
	pointer-events: none;
	user-select: none;
	opacity: .94;
}

/* Portrait-anchored seasonal SVG props (Santa hat on Yalda, Nowruz Sabzeh, Black Friday tag, Sale gift) */
.head-hero.ye-hero.ye-hero--event .ye-ev-prop {
	position: absolute;
	z-index: 4;
	margin: 0;
	max-width: none;
	height: auto;
	pointer-events: none;
	user-select: none;
	filter: drop-shadow(0 10px 18px rgba(8, 4, 20, .38));
}

/* yalda-christmas.webp adds 114px headroom at the top for the animated Santa hat; keep the dashed halo a true 1:1 circle anchored around Yalda's white circle so the hat rises cleanly above it. */
.head-hero.ye-hero.ye-hero--christmas .ye-bf-portrait__halo {
	top: auto;
	bottom: 8px;
	left: 12px;
	right: 12px;
	aspect-ratio: 1 / 1;
}

.head-hero.ye-hero.ye-hero--event .ye-ev-prop--nowruz {
	bottom: -5%;
	right: -12%;
	width: 44%;
}

.head-hero.ye-hero.ye-hero--event .ye-ev-prop--yalda {
	bottom: -6%;
	right: -13%;
	width: 44%;
}

.head-hero.ye-hero.ye-hero--event .ye-ev-prop--black-friday {
	top: -4%;
	right: -10%;
	width: 34%;
}

.head-hero.ye-hero.ye-hero--event .ye-ev-prop--sale {
	bottom: -3%;
	right: -9%;
	width: 35%;
}

/* ---------- Skin 1: Sale (signature YEnglish purple + warm sun gold) ---------- */
.head-hero.ye-hero.ye-hero--sale {
	background:
		radial-gradient(60% 125% at 76% 40%, #5b18c4 0%, rgba(91, 24, 196, 0) 64%),
		radial-gradient(44% 90% at 14% 85%, rgba(245, 200, 98, .2) 0%, transparent 65%),
		var(--ye-brand);
	border-bottom-color: rgba(255, 255, 255, .16);
}

.head-hero.ye-hero.ye-hero--sale .ye-hero-bf__gridlines {
	opacity: .14;
	background-image: radial-gradient(rgba(255, 255, 255, .28) 1.2px, transparent 1.2px);
	background-size: 32px 32px;
}

.head-hero.ye-hero.ye-hero--sale .ye-hero-bf__watermark {
	-webkit-text-stroke: 1px rgba(255, 255, 255, .07);
}

.head-hero.ye-hero.ye-hero--sale .ye-bf-timer {
	background: rgba(24, 6, 56, .42);
	border-color: rgba(245, 200, 98, .36);
}

/* ---------- Skin 2: Black Friday (obsidian-indigo + champagne gold) ---------- */
.head-hero.ye-hero.ye-hero--black-friday {
	background:
		radial-gradient(56% 125% at 78% 42%, rgba(111, 63, 192, .44) 0%, rgba(64, 0, 149, .14) 46%, transparent 72%),
		radial-gradient(46% 95% at 14% 84%, rgba(245, 200, 98, .18) 0%, transparent 66%),
		linear-gradient(135deg, #0a0812 0%, #141024 52%, #1e1238 100%);
}

/* ---------- Skin 3: Nowruz (Persian spring emerald-turquoise + violet depth + gold) ---------- */
.head-hero.ye-hero.ye-hero--nowruz {
	background:
		radial-gradient(54% 120% at 78% 36%, rgba(45, 212, 191, .28) 0%, rgba(18, 84, 74, 0) 64%),
		radial-gradient(48% 96% at 16% 84%, rgba(245, 200, 98, .22) 0%, transparent 66%),
		linear-gradient(135deg, #08332e 0%, #115147 46%, #281b5a 100%);
	border-bottom-color: rgba(110, 231, 183, .28);
}

.head-hero.ye-hero.ye-hero--nowruz .ye-hero-bf__gridlines {
	opacity: .24;
	background-image:
		radial-gradient(3px 3px at 16% 24%, rgba(252, 211, 77, .65) 45%, transparent 50%),
		radial-gradient(2.5px 2.5px at 38% 72%, rgba(249, 168, 212, .55) 45%, transparent 50%),
		radial-gradient(3.5px 3.5px at 68% 18%, rgba(110, 231, 183, .55) 45%, transparent 50%),
		radial-gradient(2px 2px at 84% 62%, rgba(255, 241, 196, .6) 45%, transparent 50%);
	background-size: 260px 200px;
}

.head-hero.ye-hero.ye-hero--nowruz .ye-hero-bf__glow--violet {
	background: rgba(45, 212, 191, .35);
}

.head-hero.ye-hero.ye-hero--nowruz .ye-bf-portrait__halo {
	border-color: rgba(110, 231, 183, .48);
	background: radial-gradient(circle at 50% 42%, rgba(45, 212, 191, .26) 0%, rgba(8, 51, 46, .18) 64%, transparent 74%);
}

.head-hero.ye-hero.ye-hero--nowruz .ye-bf-pill {
	border-color: rgba(110, 231, 183, .42);
	background: rgba(16, 185, 129, .14);
}

.head-hero.ye-hero.ye-hero--nowruz .ye-bf-timer {
	background: rgba(6, 36, 32, .54);
	border-color: rgba(110, 231, 183, .32);
}

/* ---------- Skin 4: Christmas & New Year (winter pine + ruby glow + snowfall + gold) ---------- */
.head-hero.ye-hero.ye-hero--christmas {
	background:
		radial-gradient(52% 118% at 78% 38%, rgba(176, 38, 72, .34) 0%, rgba(176, 38, 72, 0) 64%),
		radial-gradient(48% 95% at 15% 84%, rgba(245, 200, 98, .2) 0%, transparent 66%),
		linear-gradient(135deg, #0d211d 0%, #15312b 46%, #2a1330 100%);
	border-bottom-color: rgba(245, 200, 98, .26);
}

.head-hero.ye-hero.ye-hero--christmas .ye-hero-bf__gridlines {
	opacity: .36;
	background-image:
		radial-gradient(2px 2px at 14% 20%, rgba(255, 255, 255, .85) 50%, transparent 55%),
		radial-gradient(1.5px 1.5px at 32% 64%, rgba(255, 255, 255, .65) 50%, transparent 55%),
		radial-gradient(2.4px 2.4px at 56% 30%, rgba(255, 245, 214, .8) 50%, transparent 55%),
		radial-gradient(1.6px 1.6px at 78% 72%, rgba(255, 255, 255, .7) 50%, transparent 55%),
		radial-gradient(2px 2px at 90% 18%, rgba(255, 255, 255, .75) 50%, transparent 55%);
	background-size: 280px 220px;
}

.head-hero.ye-hero.ye-hero--christmas .ye-hero-bf__glow--violet {
	background: rgba(190, 42, 78, .38);
}

.head-hero.ye-hero.ye-hero--christmas .ye-bf-pill {
	border-color: rgba(245, 200, 98, .42);
	background: rgba(176, 38, 72, .22);
}

.head-hero.ye-hero.ye-hero--christmas .ye-bf-timer {
	background: rgba(11, 27, 23, .56);
	border-color: rgba(245, 200, 98, .3);
}

/* ---------- Skin 5: Yalda Night (deep pomegranate velvet + ruby glow + starry winter gold) ---------- */
.head-hero.ye-hero.ye-hero--yalda {
	background:
		radial-gradient(56% 122% at 78% 38%, rgba(220, 38, 68, .38) 0%, rgba(159, 18, 57, .12) 48%, transparent 72%),
		radial-gradient(48% 96% at 14% 84%, rgba(245, 200, 98, .22) 0%, transparent 66%),
		linear-gradient(135deg, #1b0510 0%, #4b0a22 46%, #290b38 100%);
	border-bottom-color: rgba(251, 113, 133, .28);
}

.head-hero.ye-hero.ye-hero--yalda .ye-hero-bf__gridlines {
	opacity: .3;
	background-image:
		radial-gradient(2px 2px at 14% 24%, rgba(252, 226, 154, .82) 50%, transparent 55%),
		radial-gradient(2.5px 2.5px at 36% 70%, rgba(251, 113, 133, .65) 50%, transparent 55%),
		radial-gradient(1.8px 1.8px at 62% 26%, rgba(255, 244, 214, .78) 50%, transparent 55%),
		radial-gradient(2.2px 2.2px at 84% 66%, rgba(251, 113, 133, .6) 50%, transparent 55%);
	background-size: 260px 210px;
}

.head-hero.ye-hero.ye-hero--yalda .ye-hero-bf__glow--violet {
	background: rgba(220, 38, 68, .42);
}

.head-hero.ye-hero.ye-hero--yalda .ye-bf-portrait__halo {
	border-color: rgba(251, 113, 133, .5);
	background: radial-gradient(circle at 50% 42%, rgba(220, 38, 68, .28) 0%, rgba(27, 5, 16, .2) 64%, transparent 74%);
	box-shadow: 0 0 60px rgba(220, 38, 68, .2), inset 0 0 36px rgba(245, 200, 98, .16);
}

.head-hero.ye-hero.ye-hero--yalda .ye-bf-pill {
	border-color: rgba(251, 113, 133, .45);
	background: rgba(190, 18, 60, .24);
}

.head-hero.ye-hero.ye-hero--yalda .ye-bf-timer {
	background: rgba(24, 5, 14, .58);
	border-color: rgba(245, 200, 98, .34);
}

/* ---------- Main two-column responsive layout inside the existing hero frame ---------- */
.ye-hero-bf__grid {
	display: grid;
	grid-template-columns: minmax(240px, 316px) minmax(0, 1fr);
	align-items: center;
	gap: 24px 44px;
}

/* Visual column: Yalda portrait + golden discount seal */
.ye-hero-bf__visual {
	display: flex;
	justify-content: center;
	align-items: center;
}

.ye-bf-portrait {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 300px;
	padding: 10px 6px 6px;
}

.ye-bf-portrait__halo {
	position: absolute;
	inset: 14px 12px 10px;
	border-radius: 50%;
	border: 1.5px dashed rgba(245, 200, 98, .38);
	background: radial-gradient(circle at 50% 42%, rgba(111, 63, 192, .42) 0%, rgba(20, 16, 36, .18) 64%, transparent 74%);
	box-shadow: 0 0 60px rgba(245, 200, 98, .12), inset 0 0 36px rgba(111, 63, 192, .25);
	pointer-events: none;
}

.ye-bf-portrait__pic {
	position: relative;
	z-index: 1;
	display: block;
	width: 100%;
	max-width: 268px;
}

.head-hero.ye-hero.ye-hero--event .ye-bf-portrait__img {
	display: block;
	width: 100%;
	max-width: 268px;
	height: auto;
	margin: 0 auto;
	filter: drop-shadow(0 18px 34px rgba(5, 2, 14, .52));
}

/* Metallic gold discount seal anchored on the bottom-left of Yalda's portrait */
.ye-bf-seal {
	position: absolute;
	bottom: 8px;
	left: -6px;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-width: 122px;
	min-height: 122px;
	padding: 12px 14px;
	border-radius: 26px;
	border: 2px solid rgba(255, 242, 204, .75);
	background: linear-gradient(145deg, #fce29a 0%, var(--ye-sun) 48%, #dfa12d 100%);
	color: var(--ye-sun-ink);
	text-align: center;
	line-height: 1.15;
	box-shadow:
		0 16px 34px rgba(0, 0, 0, .44),
		0 0 0 5px rgba(245, 200, 98, .16),
		inset 0 1px 0 rgba(255, 255, 255, .65);
	transform: rotate(-6deg);
}

.ye-bf-seal__prefix {
	font-size: 13px;
	font-weight: var(--ye-w-bold);
	opacity: .88;
}

.ye-bf-seal__value {
	display: block;
	margin: 2px 0;
	font-size: 38px;
	font-weight: var(--ye-w-display);
	letter-spacing: -.02em;
	line-height: 1;
	color: #1c0f38;
}

.ye-bf-seal__label {
	font-size: 12.5px;
	font-weight: var(--ye-w-bold);
	color: #2c1854;
}

/* Content column */
.head-hero.ye-hero.ye-hero--event .hero-text.ye-hero-bf__content {
	padding: 12px 0 8px;
	font-size: 28px;
	color: #f8f6fc;
	text-shadow: 0 2px 10px rgba(8, 5, 18, .4);
}

.ye-bf-pill {
	display: inline-flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px 10px;
	max-width: 100%;
	margin: 0 0 14px;
	padding: 5px 8px 5px 14px;
	border: 1px solid rgba(245, 200, 98, .36);
	border-radius: 999px;
	background: rgba(245, 200, 98, .08);
	backdrop-filter: blur(6px);
	color: #f9f3e3;
	font-size: 14.5px;
	font-weight: var(--ye-w-semibold);
	line-height: 1.65;
	text-shadow: none;
}

.ye-bf-pill__dot {
	position: relative;
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	margin-right: 4px;
	border-radius: 50%;
	background: var(--ye-sun);
	box-shadow: 0 0 10px rgba(245, 200, 98, .85);
}

.ye-bf-pill__tag {
	flex: 0 0 auto;
	padding: 1px 10px;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--ye-sun-soft), var(--ye-sun));
	color: var(--ye-sun-ink);
	font-size: 12.5px;
	font-weight: var(--ye-w-display);
	letter-spacing: .04em;
}

.ye-bf-pill__text {
	min-width: 0;
	color: rgba(255, 250, 238, .94);
}

.head-hero.ye-hero.ye-hero--event .hero-seo-title {
	margin: 0 0 10px;
	color: rgba(229, 222, 245, .84);
	font-size: 16.5px;
	font-weight: var(--ye-w-medium);
	line-height: 1.7;
	opacity: 1;
}

.head-hero.ye-hero.ye-hero--event .ye-bf-headline {
	margin: 0 0 12px;
}

.head-hero.ye-hero.ye-hero--event .ye-bf-headline p {
	margin: 0;
	font-size: clamp(24px, 2.8vw, 33px);
	font-weight: var(--ye-w-display);
	line-height: 1.55;
	color: #fff;
}

.ye-ev-accent,
.ye-bf-accent {
	color: var(--ye-sun);
	font-weight: var(--ye-w-display);
}

.ye-bf-subtext {
	max-width: 560px;
	margin: 0 0 22px;
	color: rgba(235, 230, 248, .88);
	font-size: 16px;
	font-weight: var(--ye-w-body);
	line-height: 1.9;
	text-shadow: none;
}

/* Optional inline countdown bar */
.ye-bf-timer {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 14px;
	margin: 0 0 22px;
	padding: 9px 14px;
	border: 1px solid rgba(245, 200, 98, .28);
	border-radius: 16px;
	background: rgba(10, 8, 18, .55);
	text-shadow: none;
}

.ye-bf-timer__caption {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: var(--ye-sun-soft);
	font-size: 13.5px;
	font-weight: var(--ye-w-semibold);
}

.ye-bf-timer__units {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.ye-bf-timer__unit {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	min-width: 46px;
	padding: 4px 7px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 10px;
	background: rgba(255, 255, 255, .07);
	line-height: 1.2;
}

.ye-bf-timer__unit strong {
	color: #fff;
	font-size: 17px;
	font-weight: var(--ye-w-display);
	font-variant-numeric: tabular-nums;
}

.ye-bf-timer__unit small {
	color: rgba(235, 230, 248, .74);
	font-size: 10.5px;
	font-weight: var(--ye-w-medium);
}

.ye-bf-timer__sep {
	color: rgba(245, 200, 98, .75);
	font-size: 16px;
	font-weight: var(--ye-w-bold);
}

/* Action buttons */
.head-hero.ye-hero.ye-hero--event .ye-hero-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 12px;
}

.head-hero.ye-hero.ye-hero--event a.ye-bf-btn-primary,
.head-hero.ye-hero.ye-hero--event span.ye-bf-btn-primary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 12px 26px;
	border: 1px solid rgba(255, 244, 210, .6);
	border-radius: 999px;
	background: linear-gradient(135deg, var(--ye-sun-soft) 0%, var(--ye-sun) 100%);
	color: var(--ye-sun-ink);
	font-size: 16px;
	font-weight: var(--ye-w-display);
	line-height: 1.4;
	text-decoration: none;
	text-shadow: none;
	box-shadow: 0 10px 26px rgba(245, 200, 98, .26);
	transition: transform .16s ease, box-shadow .16s ease, filter .16s ease;
}

.head-hero.ye-hero.ye-hero--event a.ye-bf-btn-primary:hover,
.head-hero.ye-hero.ye-hero--event a.ye-bf-btn-primary:focus {
	color: #1c0f38;
	filter: brightness(1.05);
	box-shadow: 0 14px 30px rgba(245, 200, 98, .34);
	text-decoration: none;
}

.head-hero.ye-hero.ye-hero--event a.ye-bf-btn-primary i {
	padding: 0;
	color: inherit;
}

.head-hero.ye-hero.ye-hero--event .ye-bf-btn-secondary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0;
	padding: 12px 22px;
	border: 1px solid rgba(255, 255, 255, .36);
	border-radius: 999px;
	background: rgba(255, 255, 255, .08);
	color: #fff;
	font-size: 15.5px;
	font-weight: var(--ye-w-bold);
	line-height: 1.4;
	text-shadow: none;
}

.head-hero.ye-hero.ye-hero--event .ye-bf-btn-secondary:hover,
.head-hero.ye-hero.ye-hero--event .ye-bf-btn-secondary:focus {
	border-color: rgba(245, 200, 98, .65);
	background: rgba(255, 255, 255, .15);
	color: #fff;
}

.head-hero.ye-hero.ye-hero--event .ye-bf-btn-secondary i {
	display: inline;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	line-height: 1;
	font-size: 16px;
}

.head-hero.ye-hero.ye-hero--event a.ye-bf-path {
	margin-top: 16px;
	color: rgba(238, 232, 250, .88);
}

.head-hero.ye-hero.ye-hero--event .penicon {
	z-index: 4;
}

/* Gentle atmospheric motion only when the visitor allows motion */
@media (prefers-reduced-motion: no-preference) {
	.ye-bf-pill__dot::after {
		content: "";
		position: absolute;
		inset: -4px;
		border: 1.5px solid var(--ye-sun);
		border-radius: 50%;
		opacity: 0;
		animation: ye-bf-pulse 2.2s ease-out infinite;
	}

	.ye-bf-seal {
		animation: ye-bf-float 5.5s ease-in-out infinite;
	}
}

@keyframes ye-bf-pulse {
	from { opacity: .7; transform: scale(.65); }
	to { opacity: 0; transform: scale(1.85); }
}

@keyframes ye-bf-float {
	0%, 100% { transform: rotate(-6deg) translateY(0); }
	50% { transform: rotate(-4deg) translateY(-5px); }
}

@media (prefers-reduced-motion: reduce) {
	.ye-bf-seal,
	.ye-bf-pill__dot::after {
		animation: none;
	}
	.head-hero.ye-hero.ye-hero--event a.ye-bf-btn-primary {
		transition: none;
	}
}

/* ---------- Tablet ---------- */
@media (max-width: 991px) {
	.head-hero.ye-hero.ye-hero--event .container {
		padding: 0 24px;
	}
	.ye-hero-bf__grid {
		grid-template-columns: minmax(200px, 240px) minmax(0, 1fr);
		gap: 20px 28px;
	}
	.ye-bf-seal {
		min-width: 104px;
		min-height: 104px;
		padding: 10px 12px;
		border-radius: 22px;
	}
	.ye-bf-seal__value {
		font-size: 32px;
	}
}

/* ---------- Phone ---------- */
@media (max-width: 767px) {
	.head-hero.ye-hero.ye-hero--event {
		padding: 20px 0 34px;
		text-align: center;
	}
	.head-hero.ye-hero.ye-hero--event .container {
		padding: 8px 18px 20px;
	}
	.ye-hero-bf__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}
	.ye-bf-portrait {
		max-width: 248px;
		padding: 12px 0 0;
		gap: 14px;
	}
	.head-hero.ye-hero.ye-hero--event .ye-ev-scene {
		opacity: .42;
	}
	.head-hero.ye-hero.ye-hero--event .ye-ev-prop--nowruz,
	.head-hero.ye-hero.ye-hero--event .ye-ev-prop--yalda {
		bottom: -6%;
		right: -14%;
		width: 48%;
	}
	.head-hero.ye-hero.ye-hero--event .ye-ev-prop--sale {
		bottom: -4%;
		right: -12%;
		width: 40%;
	}
	.head-hero.ye-hero.ye-hero--event .ye-ev-prop--black-friday {
		top: -6%;
		right: -12%;
		width: 38%;
	}
	.ye-bf-portrait__halo {
		display: none;
	}
	.ye-bf-portrait__pic {
		max-width: 118px;
		flex: 0 0 auto;
	}
	.head-hero.ye-hero.ye-hero--event .ye-bf-portrait__img {
		max-width: 118px;
	}
	.ye-bf-seal {
		position: relative;
		bottom: auto;
		left: auto;
		min-width: 96px;
		min-height: 96px;
		padding: 9px 12px;
		border-radius: 20px;
		flex: 0 0 auto;
	}
	.ye-bf-seal__prefix {
		font-size: 12px;
	}
	.ye-bf-seal__value {
		font-size: 30px;
	}
	.ye-bf-seal__label {
		font-size: 11.5px;
	}
	.head-hero.ye-hero.ye-hero--event .hero-text.ye-hero-bf__content {
		padding: 4px 0 0;
		font-size: 20px;
	}
	.ye-bf-pill {
		justify-content: center;
		gap: 6px 8px;
		margin-bottom: 10px;
		padding: 5px 12px;
		border-radius: 16px;
		font-size: 12.5px;
	}
	.ye-bf-pill__dot {
		margin-right: 0;
	}
	.ye-bf-pill__tag {
		font-size: 11px;
	}
	.head-hero.ye-hero.ye-hero--event .hero-seo-title {
		margin-bottom: 8px;
		font-size: 14px;
	}
	.head-hero.ye-hero.ye-hero--event .ye-bf-headline p {
		font-size: 21px;
		line-height: 1.55;
	}
	.ye-bf-subtext {
		margin: 0 auto 14px;
		font-size: 14px;
		line-height: 1.85;
	}
	.ye-bf-timer {
		justify-content: center;
		width: 100%;
		margin-bottom: 14px;
		padding: 8px 10px;
		gap: 8px;
	}
	.ye-bf-timer__unit {
		min-width: 42px;
		padding: 3px 5px;
	}
	.ye-bf-timer__unit strong {
		font-size: 15px;
	}
	.head-hero.ye-hero.ye-hero--event .ye-hero-actions {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}
	.head-hero.ye-hero.ye-hero--event a.ye-bf-btn-primary,
	.head-hero.ye-hero.ye-hero--event .ye-bf-btn-secondary {
		width: 100%;
		padding: 11px 8px;
		font-size: 13.5px;
	}
	.head-hero.ye-hero.ye-hero--event .ye-hero-actions .btn i {
		display: none;
	}
	.head-hero.ye-hero.ye-hero--event a.ye-bf-path {
		justify-content: center;
		gap: 6px;
		margin-top: 12px;
		font-size: 13px;
	}
	.head-hero.ye-hero.ye-hero--event a.ye-bf-path strong {
		white-space: nowrap;
	}
}

@media (max-width: 359px) {
	.head-hero.ye-hero.ye-hero--event .ye-hero-actions {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* Night theme harmony */
:root[data-theme="dark"] .head-hero.ye-hero.ye-hero--event {
	border-bottom-color: rgba(245, 200, 98, .18);
}

:root[data-theme="dark"] .head-hero.ye-hero.ye-hero--sale {
	background:
		radial-gradient(60% 125% at 76% 40%, #44159c 0%, rgba(68, 21, 156, 0) 64%),
		radial-gradient(44% 90% at 14% 85%, rgba(245, 200, 98, .15) 0%, transparent 65%),
		var(--ye-brand);
}
