/* nov2 inner banner: "7-inner banner" 2:100435 (1380x287) and "4-inner banner-Mobile" 33:33769 (390x368).
   A fixed-ratio stage; its groups sit on a grid whose lines are Figma's own edges (--u = one design px). */
/* the page root: the live month's banner.css clipped it, and without it the site header's Pay Online button
   (right edge 1243px at a 1200 viewport) makes the page scroll sideways at 768-1200. On body only: body's overflow
   propagates to the viewport, so the page still can't scroll sideways, while `html` stays visible. With html in the
   rule, the popup's scroll lock (body fixed) left html 0px tall with overflow hidden, and the popup's tagged
   elements measured as clipped to nothing at desktop (verify round 3, popup-form/-success desktop) */
body {
	overflow-x: hidden;
}

#nov2-banner {
	container-type: inline-size;
	width: 100%;
	max-width: 1380px;
}
#nov2-banner .nov2-b-stage {
	--u: calc(100cqw / 1380);
	display: grid;
	/* x: 0 | 74.5 badge text | 128.1 title | 214.5 | 748 group | 773 title end | 1342.9 group end | 1380 */
	grid-template-columns: calc(74.5 * var(--u)) calc(53.6 * var(--u)) calc(86.4 * var(--u)) calc(533.5 * var(--u)) calc(25 * var(--u)) calc(569.9 * var(--u)) minmax(0, 1fr);
	/* y: 0 | 11.1 badge | 60 group | 77 title | 146.1 | 211 | 221 | 287 */
	grid-template-rows: calc(11.1 * var(--u)) calc(48.9 * var(--u)) calc(17 * var(--u)) calc(69.1 * var(--u)) calc(64.9 * var(--u)) calc(10 * var(--u)) calc(66 * var(--u));
	width: 100%;
	aspect-ratio: 1380 / 287;
	overflow: hidden;
	background-color: #1d1d1d;
}
#nov2-banner .nov2-b-bg {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-position: center;
	background-size: cover;
	background-repeat: no-repeat;
	background-image: url(../images/banner/banner-back.jpg);
	background-image: -webkit-image-set(url("../images/banner/banner-back.webp") 1x, url("../images/banner/banner-back@2x.webp") 2x);
	background-image: image-set(url("../images/banner/banner-back.webp") 1x, url("../images/banner/banner-back@2x.webp") 2x);
}
#nov2-banner .nov2-b-badge {
	position: absolute;
	left: calc(63 * var(--u));
	top: calc(-1 * var(--u));
	width: calc(163.1 * var(--u));
	height: calc(159.2 * var(--u));
	margin: 0;
}
/* the export is trimmed to the disc's ink (152x149); Figma's badge frame (2:126776) is the rotated frame's 163.1x159.2
   box, the ink at 6,6 in it: the transparent padding makes the img that box, the ink where it was */
#nov2-banner .nov2-b-badge img { box-sizing: content-box; width: calc(152 * var(--u)); max-width: none; height: auto; margin: 0; padding: calc(6 * var(--u)) calc(5.1 * var(--u)) calc(4.2 * var(--u)) calc(6 * var(--u)); }
#nov2-banner .nov2-b-badge-text {
	grid-column: 2 / 4;
	position: relative;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	transform: rotate(10.97deg);   /* centred on the badge's disc (144.25,78.75) */
	font-family: 'Lato', sans-serif;
	font-weight: 900;
	font-size: calc(19.35 * var(--u));
	line-height: 1.426;
	text-transform: capitalize;
	color: #ffffff;
}
#nov2-banner .nov2-b-badge-text { grid-row: 1 / 5; padding-top: calc(11.1 * var(--u)); }
#nov2-banner .nov2-b-title {
	grid-column: 3 / 6;
	grid-row: 4 / 6;
	position: relative;
	z-index: 1;
	margin: 0;
	/* revision (ticket reply, Dorka): the stamp's "Get 9 Months" ends at ~209 and Figma's "7" starts at 203, so live they
	   overlapped. The padding moves the centred copy 28 right (ink ~231-724, clear of the stamp and of the group at 806);
	   the content box (176.1-773, 597 wide) still holds "7 Days of Black" (492.5) on one line, so the wrap is Figma's */
	padding-left: calc(56 * var(--u));
	font-family: 'Bouncy-Black', sans-serif;
	font-weight: 900;
	font-size: calc(57.26 * var(--u));
	line-height: 1.17;
	letter-spacing: calc(2.99 * var(--u));
	color: #ffca00;
	/* fix (verify round 2): the shadow-ring fake stroke never set -webkit-text-stroke, so the client's "desktop stroke
	   still missing" report (ticket reply, Wenqian) stayed true — verify measured 0px against Figma's OUTSIDE 1.507
	   (hard rule 4: an OUTSIDE stroke of w is -webkit-text-stroke: 2w with paint-order: stroke fill). Mobile already
	   uses a real stroke + a single drop-shadow text-shadow entry (2:126767's one DROP_SHADOW, 3.013/3.013 #fff) and
	   verify passes it there; desktop now does the same */
	-webkit-text-stroke: max(1px, calc(3.014 * var(--u))) #000000;
	paint-order: stroke fill;
	text-shadow: calc(3.013 * var(--u)) calc(3.013 * var(--u)) 0 #ffffff;
}
#nov2-banner .nov2-b-cta-group {
	grid-column: 5 / 7;
	grid-row: 3 / 7;
	position: relative;
	z-index: 1;
}
#nov2-banner .nov2-b-sub {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin: 0;
	width: 100%;
	font-family: 'Bouncy-Black', sans-serif;
	font-weight: 900;
	font-size: calc(29.27 * var(--u));
	line-height: 1.52;
	letter-spacing: calc(3.51 * var(--u));
	white-space: nowrap;
	color: #ffffff;
}
#nov2-banner .nov2-b-bar {
	display: block;
	width: calc(416 * var(--u));
	height: calc(41 * var(--u));
	margin: calc(-1.5 * var(--u)) 0 0;
	/* revision (ticket reply, Wenqian, x2): the caps sat high in the bar. Top padding p with a (41 - p) line box moves the
	   baseline p/2, so 3.5 only moved it 1.75 (baseline 27.4 below the bar's top). Figma's is 28.9 (the 44.5 line at 44.5,
	   Bouncy's hhea 1247/530 of 2048, the bar at 43): p = 6.5 puts it there, the caps' ink 8 below the top, 6 above the
	   bottom, as Figma draws it (Bouncy's caps hang below the baseline) */
	box-sizing: border-box;
	padding-top: calc(6.5 * var(--u));
	line-height: calc(34.5 * var(--u));
	background: #900200;
}
#nov2-banner .nov2-b-cta {
	margin-top: calc(27 * var(--u));
	width: max(150px, calc(235 * var(--u)));
	height: max(30px, calc(45 * var(--u)));
	padding: 0;
	border-radius: 54px;
	background: #ffffff;
	color: #000000;
	font-size: max(13px, calc(20 * var(--u)));
	line-height: 1;
	cursor: pointer;
}
#nov2-banner .nov2-b-cta span { color: #000000; }

@media (max-width: 767px) {
	#nov2-banner { max-width: 390px; }
	#nov2-banner .nov2-b-stage {
		--u: calc(100cqw / 390);
		aspect-ratio: 390 / 368;
		/* x: 0 | -3.3 badge text 83.8 | ... one column for the copy, centred */
		grid-template-columns: calc(83.8 * var(--u)) minmax(0, 1fr);
		/* y: 0 badge | 71 title | 160.5 | 174.8 subtitle | 325 cta bottom | 368 */
		grid-template-rows: calc(71 * var(--u)) calc(89.5 * var(--u)) calc(25.2 * var(--u)) auto minmax(0, 1fr);
	}
	#nov2-banner .nov2-b-bg {
		background-image: url(../images/banner/banner-back-m.jpg);
		background-image: -webkit-image-set(url("../images/banner/banner-back-m.webp") 1x, url("../images/banner/banner-back-m@2x.webp") 2x);
		background-image: image-set(url("../images/banner/banner-back-m.webp") 1x, url("../images/banner/banner-back-m@2x.webp") 2x);
	}
	#nov2-banner .nov2-b-badge { left: 0; top: 0; width: calc(90.9 * var(--u)); height: calc(91.6 * var(--u)); overflow: visible; }
	#nov2-banner .nov2-b-badge img { width: calc(94 * var(--u)); margin: calc(-4 * var(--u)) 0 0 calc(-4 * var(--u)); padding: 0; }
	#nov2-banner .nov2-b-badge-text {
		grid-column: 1 / 2;
		grid-row: 1 / 3;
		align-self: start;
		justify-self: start;
		width: calc(88.5 * var(--u));   /* the box centred on the badge's disc (44.25,42.5) */
		height: calc(85 * var(--u));
		padding-top: 0;
		font-size: calc(12.03 * var(--u));
		line-height: 1.43;
	}
	#nov2-banner .nov2-b-title {
		grid-column: 1 / 3;
		grid-row: 2 / 3;
		justify-self: start;
		width: calc(431 * var(--u));
		margin-left: calc(-20.5 * var(--u));
		padding-left: 0;
		font-size: calc(38.27 * var(--u));
		letter-spacing: calc(2 * var(--u));
		-webkit-text-stroke: max(1px, calc(2.01 * var(--u))) #000000;
		paint-order: stroke fill;
		text-shadow: calc(2.01 * var(--u)) calc(2.01 * var(--u)) 0 #ffffff;
	}
	#nov2-banner .nov2-b-cta-group {
		grid-column: 1 / 3;
		grid-row: 4 / 5;
		justify-self: center;
		width: 100%;
	}
	#nov2-banner .nov2-b-sub {
		margin-top: calc(-10.9 * var(--u));
		font-size: calc(21.82 * var(--u));
		line-height: 1.703;
		letter-spacing: calc(2.6 * var(--u));
	}
	#nov2-banner .nov2-b-bar { width: calc(313 * var(--u)); height: calc(37 * var(--u)); padding-top: calc(2.6 * var(--u)); line-height: calc(34.4 * var(--u)); margin: calc(-0.9 * var(--u)) 0 0 calc(1 * var(--u)); }
	#nov2-banner .nov2-b-cta {
		margin-top: calc(30.9 * var(--u));
		width: calc(235 * var(--u));
		height: calc(45 * var(--u));
		background: #900200;
		color: #ffffff;
		font-size: calc(20 * var(--u));
	}
	#nov2-banner .nov2-b-cta span { color: #ffffff; }
}
