/* Gill's dec 2026 "Find the Yeti" inner banner (flip of Growby's). One DOM, flex; sizes in cqw of the banner (the
   design is 1338 wide on desktop, frame 1:10462, and 390 on phones, frame 1:12079). The band is 1:10463 (217 tall, 16
   below the frame top); the waving yeti (1:10824) hangs over its top and under its bottom, as in Figma. */
.container.promo-wrapper.dec-wrapper {
	/* the theme's .container is border-box with a 15px/side gutter (public/css/core.css): width:1338px there would
	   leave #dec-banner only 1308px of content (a 2.2% shrink that threw every cqw number off on desktop, e.g. the
	   waving yeti's Frame 1 measuring 238.5px tall against Figma's 244). content-box makes 1338px the content width,
	   matching what banner.css's cqw math assumes, same as the mobile override below already does via width:100%. */
	box-sizing: content-box;
	width: 1338px !important;
	max-width: 100%;
	margin-top: 60px;
	margin-bottom: 60px;
}
#dec-banner {
	width: 100%;
	container-type: inline-size;
}
#dec-banner p,
#dec-banner h2 {
	margin: 0;
}
#dec-banner picture img {
	display: block;
	max-width: none;
}
#dec-banner .dec-band {
	/* the band (1:10463) sits 16px below the outer frame's (1:10462) own top; Frame 1's -1.196cqw (-16px) below is
	   relative to the band, so the band itself needs this push, or the waving yeti (and the band art) render 16px
	   higher than Figma, as measured (Frame 1 at top -15.5px against Figma's 0). */
	margin-top: 1.196cqw;
	align-items: flex-start;
	height: 16.218cqw;
}
#dec-banner .dec-band-bg img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}
/* the waving yeti: Figma's Frame 1 (1:10824) box, 453,-16 of the band (269.2x244); its image (4px pad) overflows it */
#dec-banner .dec-wave {
	position: absolute;
	left: 33.857cqw;
	top: -1.196cqw;
	width: 20.12cqw;
	height: 18.236cqw;
	z-index: 1;
	pointer-events: none;
}
#dec-banner .dec-wave-tag {
	position: absolute;
	left: 33.857cqw;
	top: -1.196cqw;
	width: 20.12cqw;
	height: 18.236cqw;
	pointer-events: none;
}
#dec-banner .dec-wave img {
	position: absolute;
	left: -0.299cqw;
	top: -0.299cqw;
	width: 20.777cqw;
	height: 18.834cqw;
}
/* Figma layers baked into the band art, tagged on empty boxes at their places (band px / 1338) */
#dec-banner .dec-tags,
#dec-banner .dec-tag {
	position: absolute;
	pointer-events: none;
}
#dec-banner .dec-tags {
	inset: 0;
}
#dec-banner .dec-t-sky { left: 0; top: 0; width: 100%; height: 100%; }
#dec-banner .dec-t-red,
#dec-banner .dec-t-stripes { left: 42.9cqw; top: 0; width: 57.1cqw; height: 100%; }
/* g1: "Find The / Yeti!" (4:10970) at 105,26 of the band, 315 wide */
#dec-banner .dec-title {
	position: relative;
	z-index: 2;
	flex: 0 0 23.543cqw;
	width: 23.543cqw;
	/* verify (round 1, measured against the desktop frame): rendered 9.9px higher than the design's g1 box
	   (top 42px = .dec-band's 16px + this 26px); nudged down to match, isolated to this element */
	margin: 2.683cqw 0 0 7.848cqw;
	color: #073767;
	font-size: 6.511cqw;
	line-height: 6.244cqw;
	font-weight: 400;
	text-align: center;
}
#dec-banner .dec-find {
	display: block;
	color: #073767;
}
#dec-banner .dec-yeti {
	display: block;
	color: #009546;
	font-size: 7.571cqw;
	line-height: 6.244cqw;
}
/* g2 + g3: the offer (4:10979) at 728,34, 471 wide; Play Now (4:10984) at 880,145, 200x45 */
#dec-banner .dec-offer {
	z-index: 2;
	flex: 0 0 35.202cqw;
	width: 35.202cqw;
	margin: 2.541cqw 0 0 23.019cqw;
	align-items: flex-start;
}
#dec-banner .dec-guess .dec-l1 {
	display: inline;
}
#dec-banner .dec-guess {
	width: 100%;
	font-size: 2.242cqw;
	line-height: 2.541cqw;
	text-align: center;
}
#dec-banner .dec-cta {
	width: 14.948cqw;
	height: 3.363cqw;
	min-height: 32px;
	margin: 0.673cqw 0 0 11.36cqw;
	padding: 0;
	border-radius: 54px;
	background-color: #009546;
	color: #fff;
	font-size: max(12px, 1.495cqw);
	line-height: 1;
	white-space: nowrap;
}
#dec-banner .dec-cta:hover,
#dec-banner .dec-cta:focus-visible {
	filter: brightness(1.12);
}

/* phones: the 390 frame (45:45), the same art as the hero's GB block */
@media screen and (max-width: 767px) {
	.container.promo-wrapper.dec-wrapper {
		width: 100% !important;
		padding-left: 0;
		padding-right: 0;
		margin-top: 30px;
		margin-bottom: 30px;
	}
	#dec-banner .dec-band {
		/* the 390 frame has no frame-to-band gap (the sign sits flush at the band's own top, see below): undo the
		   desktop-only push */
		margin-top: 0;
		flex-direction: column;
		align-items: center;
		height: 104.359cqw;
	}
	/* the sign (1:12354): 24,-3 (342x243); its image stays at 23,0 (344x240) */
	#dec-banner .dec-wave {
		z-index: 0;
		left: 6.154cqw;
		top: -0.769cqw;
		width: 87.692cqw;
		height: 62.308cqw;
	}
	/* Revision (ticket, 19 Nov, still missing): the board's own drop shadow (Figma's effect on 1:12582, the "Group"
	   inside this Dropping Sign — offset 2.14/2.86, radius 1.43, 25% black) never made it into this image (the hero's
	   sign-m.png, reused here): same fix as the hero's .dec-peek img, the "clean image + CSS drop-shadow" treatment
	   ported from Affordable's popup card, since baking it in would need re-exporting past the sign's own clip. Added
	   only here, not to .dec-band-bg/back.png: Figma's desktop banner composite (1:10462) carries no shadow effect
	   anywhere in its own layers. */
	#dec-banner .dec-wave img {
		left: -0.256cqw;
		top: 0.769cqw;
		width: 88.205cqw;
		height: 61.538cqw;
		filter: drop-shadow(0.55cqw 0.733cqw 0.367cqw rgba(0, 0, 0, 0.25));
	}
	/* the sign as Figma's frame shows it (clipped at its top): 24,0, 342x240 */
	#dec-banner .dec-wave-tag {
		left: 6.154cqw;
		top: 0;
		width: 87.692cqw;
		height: 61.538cqw;
	}
	/* Figma's frame clips these at its sides: 0-390 */
	#dec-banner .dec-m-rect { left: 0; top: 0; width: 100cqw; height: 54.872cqw; }
	#dec-banner .dec-m-snow { left: 0; top: 0.769cqw; width: 100cqw; height: 93.333cqw; }
	#dec-banner .dec-m-red { left: 0.256cqw; top: 50cqw; width: 99.744cqw; height: 45.641cqw; }
	#dec-banner .dec-m-stripes { left: 0; top: 50cqw; width: 100cqw; height: 54.359cqw; }
	#dec-banner .dec-m-sign { left: 6.154cqw; top: 0; width: 89.058cqw; height: 61.538cqw; }
	/* the mobile text node is navy with white characters, as in Figma */
	#dec-banner .dec-find {
		color: #fff;
	}
	#dec-banner .dec-title {
		flex: 0 0 auto;
		width: auto;
		/* verify (round 1, measured against the 390 frame): rendered 8.9px higher than the design's g1 box (89.8px) */
		margin: 25.308cqw 0 0;
		font-size: 18.7cqw;
		line-height: 17.931cqw;
	}
	#dec-banner .dec-yeti {
		color: #fff;
		font-size: 21.744cqw;
		line-height: 17.931cqw;
	}
	#dec-banner .dec-offer {
		flex: 0 0 auto;
		width: 99.744cqw;
		margin: 8.718cqw 0 0;
		align-items: center;
	}
	#dec-banner .dec-guess {
		font-size: 5.128cqw;
		line-height: 4.103cqw;
		letter-spacing: 0.103cqw;
		-webkit-text-stroke: 0.07cqw #fff;
	}
	#dec-banner .dec-guess .dec-l1,
	#dec-banner .dec-guess .dec-l2 {
		display: block;
	}
	#dec-banner .dec-guess .dec-l2 {
		margin-top: 2.863cqw;
	}
	#dec-banner .dec-cta {
		width: 60.256cqw;
		height: 11.538cqw;
		/* verify round 2 (measured against the 390 frame): rendered 6.1px (1.564cqw) below the design's
		   Play Now box (top 329px) */
		margin: 3.359cqw 0 0;
		border-radius: 13.846cqw;
		font-size: 5.128cqw;
	}
}
