/* image_text. One look: the values of the .eight-week-offer row of the evvr. rebrand block of live page 313557,
   plus an optional icon at the left of the heading. The live page switches layouts at 1201px (desktop) and
   767px (mobile) and has no designed layout in between, so every width up to 1200px uses the mobile layout here. */

body.single-sa28_programs .programs-it-inner {
	box-sizing: border-box;
}

body.single-sa28_programs .programs-it-image img {
	display: block;
}

body.single-sa28_programs .programs-it-head {
	display: flex;
	align-items: center;
}

body.single-sa28_programs .programs-it-icon {
	object-fit: contain;
}

body.single-sa28_programs .programs-it-heading {
	margin: 0;
	padding: 0;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	letter-spacing: -0.02em;
	color: #111111;
}

body.single-sa28_programs .programs-it-body {
	font-family: "Inter", sans-serif;
	font-weight: 400;
}

body.single-sa28_programs .programs-it-body p {
	margin: 0;
}

/* Only the colour loses to the host's paragraph rule, so only the colour carries the :not(#_) chain.
   Font size and line height can lose to the rule of a body paragraph that carries an id (p#...). */
body.single-sa28_programs:not(#_):not(#_) .programs-it-body p {
	color: #645D56;
}

/* Button. The host's link colour rule has id-level specificity, so this needs :not(#_) to win; hover and
   focus force the colour with !important because the host's link hover does too. */
body.single-sa28_programs:not(#_):not(#_) .programs-it-button {
	box-sizing: border-box;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 48px;
	min-height: 48px;
	margin-top: 20px;
	padding: 0;
	font-family: "Inter", sans-serif;
	font-size: 14px;
	font-weight: 400;
	line-height: 48px;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	text-decoration: none;
	color: #FFFFFF;
	background: #5E30FF;
	border: 0;
	border-radius: 999px;
	box-shadow: none;
}

body.single-sa28_programs:not(#_):not(#_) .programs-it-button:hover,
body.single-sa28_programs:not(#_):not(#_) .programs-it-button:focus {
	background: #4A1FE6;
	color: #FFFFFF !important;
	text-decoration: none !important;
}

body.single-sa28_programs:not(#_):not(#_) .programs-it-button:focus-visible {
	outline: 3px solid #5E30FF;
	outline-offset: 2px;
}

/* Desktop */
@media (min-width: 1201px) {
	/* Text and picture, 960px wide. The vertical padding sits on the root so the spacing setting can replace it;
	   the inner min-height is the former 468px minus that padding (2 x 74px). */
	body.single-sa28_programs .programs-it {
		padding-top: 74px;
		padding-bottom: 74px;
	}

	body.single-sa28_programs .programs-it-inner {
		display: flex;
		align-items: center;
		justify-content: flex-start;
		gap: 80px;
		width: 960px;
		max-width: 960px;
		min-height: 320px;
		margin: 0 auto;
	}

	body.single-sa28_programs .programs-it--img-right .programs-it-inner {
		flex-direction: row-reverse;
	}

	body.single-sa28_programs .programs-it-media {
		flex: 0 0 400px;
		width: 400px;
	}

	body.single-sa28_programs .programs-it-copy {
		flex: 0 0 480px;
		width: 480px;
	}

	/* This rule is the default for every picture and sets the width of a single picture. Rows with 2, 3 or 4
	   pictures override its width and height in their own tile rules. */
	body.single-sa28_programs .programs-it-image img {
		width: 320px;
		max-width: 100%;
		height: auto;
		margin: 0 auto;
	}

	body.single-sa28_programs .programs-it-head {
		gap: 16px;
	}

	body.single-sa28_programs .programs-it-icon {
		flex: 0 0 64px;
		width: 64px;
		height: 64px;
	}

	body.single-sa28_programs .programs-it-heading {
		max-width: 480px;
		font-size: 28px;
		line-height: 36px;
	}

	body.single-sa28_programs .programs-it-body p {
		font-size: 16px;
		line-height: 22px;
	}

	body.single-sa28_programs .programs-it-head + .programs-it-body,
	body.single-sa28_programs .programs-it-body p + p {
		margin-top: 16px;
	}

	body.single-sa28_programs:not(#_):not(#_) .programs-it-button {
		width: 230px;
	}

	body.single-sa28_programs .programs-it--align-left .programs-it-copy {
		text-align: left;
	}

	body.single-sa28_programs .programs-it--align-center .programs-it-copy {
		text-align: center;
	}

	body.single-sa28_programs .programs-it--align-right .programs-it-copy {
		text-align: right;
	}

	body.single-sa28_programs .programs-it--align-left .programs-it-head {
		justify-content: flex-start;
	}

	body.single-sa28_programs .programs-it--align-center .programs-it-head {
		justify-content: center;
	}

	body.single-sa28_programs .programs-it--align-right .programs-it-head {
		justify-content: flex-end;
	}

	body.single-sa28_programs:not(#_):not(#_) .programs-it--align-left .programs-it-button {
		margin-right: auto;
		margin-left: 0;
	}

	body.single-sa28_programs:not(#_):not(#_) .programs-it--align-center .programs-it-button {
		margin-right: auto;
		margin-left: auto;
	}

	body.single-sa28_programs:not(#_):not(#_) .programs-it--align-right .programs-it-button {
		margin-right: 0;
		margin-left: auto;
	}
}

/* Mobile and tablet */
@media (max-width: 1200px) {
	/* Picture on top, centred text below. */
	body.single-sa28_programs .programs-it {
		padding-top: 52px;
		padding-bottom: 47px;
	}

	body.single-sa28_programs .programs-it-inner {
		display: flex;
		flex-direction: column;
		align-items: center;
		width: 390px;
		max-width: 100%;
		margin: 0 auto;
	}

	body.single-sa28_programs .programs-it-image img {
		width: 100%;
		max-width: 392px;
		height: auto;
	}

	body.single-sa28_programs .programs-it-copy {
		width: 340px;
		max-width: 100%;
		text-align: center;
	}

	body.single-sa28_programs .programs-it:not(.programs-it--imgs-0) .programs-it-copy {
		margin-top: 26px;
	}

	body.single-sa28_programs .programs-it-head {
		justify-content: center;
		gap: 12px;
	}

	body.single-sa28_programs .programs-it-icon {
		flex: 0 0 44px;
		width: 44px;
		height: 44px;
	}

	body.single-sa28_programs .programs-it-heading {
		font-size: 22px;
		line-height: 28.5px;
	}

	body.single-sa28_programs .programs-it-body p {
		font-size: 14px;
		line-height: 20px;
	}

	body.single-sa28_programs .programs-it-head + .programs-it-body,
	body.single-sa28_programs .programs-it-body p + p {
		margin-top: 22px;
	}

	body.single-sa28_programs:not(#_):not(#_) .programs-it-button {
		width: 340px;
		max-width: 100%;
		margin-right: auto;
		margin-left: auto;
	}
}

/* Padding input: Zero top and Zero bottom remove the row's own space above and below (its padding).
   Scoped to the row root so no other section is touched; placed after the row's own rules, with more weight than they have. */
body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-it.programs-pad-zero-top {
	margin-top: 0;
	padding-top: 0;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-it.programs-pad-zero-bottom {
	margin-bottom: 0;
	padding-bottom: 0;
}

body.single-sa28_programs:not(#_):not(#_):not(#_) .programs-it.programs-pad-zero-top-bottom {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: 0;
	padding-bottom: 0;
}

/* Two pictures: two square tiles, the second drawn over the first. --programs-it-overlap (a share of a tile's side, one
   value for every picture count) is defined once on .programs-it-media right below; with the media width W, a tile is
   W / (2 - overlap) and the second starts at W * (1 - overlap) / (2 - overlap), so the pair fills the media area
   exactly. The media area of a 2-picture row sets no margin of its own on purpose, so Image position still places it. */
body.single-sa28_programs .programs-it-media {
	--programs-it-overlap: 0.05;
}

body.single-sa28_programs .programs-it--imgs-2 .programs-it-media {
	position: relative;
	aspect-ratio: 1 / 1;
	isolation: isolate;
}

body.single-sa28_programs .programs-it--imgs-2 .programs-it-image {
	position: absolute;
	width: calc(100% / (2 - var(--programs-it-overlap)));
	aspect-ratio: 1 / 1;
}

body.single-sa28_programs .programs-it--imgs-2 .programs-it-image--1 {
	left: 0;
	top: 0;
	z-index: 1;
}

body.single-sa28_programs .programs-it--imgs-2 .programs-it-image--2 {
	left: calc(100% * (1 - var(--programs-it-overlap)) / (2 - var(--programs-it-overlap)));
	top: calc(100% * (1 - var(--programs-it-overlap)) / (2 - var(--programs-it-overlap)));
	z-index: 2;
}

body.single-sa28_programs .programs-it--imgs-2 .programs-it-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
	display: block;
}

/* The corners where the two tiles meet are square. Two 16px round corners meeting on a diagonal paint an overlap only if
   it is deeper than 9.4px, and a round corner of tile 1 would also leave a small background nick beside tile 2. The 5%
   overlap is 10.3px at 400px (a thin lens would remain) and 8.7px at 340px (none). */
body.single-sa28_programs .programs-it--imgs-2 .programs-it-image--1 img {
	border-bottom-right-radius: 0;
}

body.single-sa28_programs .programs-it--imgs-2 .programs-it-image--2 img {
	border-top-left-radius: 0;
}

/* Three pictures: one large tile and two small ones. With o = --programs-it-overlap and the media width W, the large tile
   has side H = W * (2 - o) / (3 - 2 * o), which is also the height of the media area, and a small tile has side
   b = W / (3 - 2 * o); the small ones start at x = H - o * b. The media area sets no margin on purpose, so Image
   position still places it. */
body.single-sa28_programs .programs-it--imgs-3 .programs-it-media {
	position: relative;
	aspect-ratio: calc((3 - 2 * var(--programs-it-overlap)) / (2 - var(--programs-it-overlap)));
	isolation: isolate;
}

body.single-sa28_programs .programs-it--imgs-3 .programs-it-image {
	position: absolute;
	aspect-ratio: 1 / 1;
}

body.single-sa28_programs .programs-it--imgs-3 .programs-it-image--1 {
	width: calc(100% * (2 - var(--programs-it-overlap)) / (3 - 2 * var(--programs-it-overlap)));
	left: 0;
	top: 0;
	z-index: 1;
}

body.single-sa28_programs .programs-it--imgs-3 .programs-it-image--2 {
	width: calc(100% / (3 - 2 * var(--programs-it-overlap)));
	left: calc(100% * (2 - 2 * var(--programs-it-overlap)) / (3 - 2 * var(--programs-it-overlap)));
	top: 0;
	z-index: 2;
}

body.single-sa28_programs .programs-it--imgs-3 .programs-it-image--3 {
	width: calc(100% / (3 - 2 * var(--programs-it-overlap)));
	left: calc(100% * (2 - 2 * var(--programs-it-overlap)) / (3 - 2 * var(--programs-it-overlap)));
	bottom: 0;
	z-index: 3;
}

body.single-sa28_programs .programs-it--imgs-3 .programs-it-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
	display: block;
}

/* Only the outer corners of the three tiles are round; every corner that touches another tile is square. The overlap
   strips are only 5.9px to 6.9px deep, shallower than the 16px of a round corner: a round corner on an edge of the
   media area would leave a small background nick, and one inside would show the tile below. */
body.single-sa28_programs .programs-it--imgs-3 .programs-it-image--1 img {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

body.single-sa28_programs .programs-it--imgs-3 .programs-it-image--2 img {
	border-top-left-radius: 0;
	border-bottom-left-radius: 0;
	border-bottom-right-radius: 0;
}

body.single-sa28_programs .programs-it--imgs-3 .programs-it-image--3 img {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-left-radius: 0;
}

/* Four pictures: a 2x2 grid of square tiles. With o = --programs-it-overlap and the media width W, a tile has side
   s = W / (2 - o) and the media area is W high; the tiles sit in the four corners, so neighbours overlap by o * s and
   all four share an o * s square in the middle. The media area sets no margin on purpose, so Image position still
   places it. */
body.single-sa28_programs .programs-it--imgs-4 .programs-it-media {
	position: relative;
	aspect-ratio: 1 / 1;
	isolation: isolate;
}

body.single-sa28_programs .programs-it--imgs-4 .programs-it-image {
	position: absolute;
	width: calc(100% / (2 - var(--programs-it-overlap)));
	aspect-ratio: 1 / 1;
}

body.single-sa28_programs .programs-it--imgs-4 .programs-it-image--1 {
	left: 0;
	top: 0;
	z-index: 1;
}

body.single-sa28_programs .programs-it--imgs-4 .programs-it-image--2 {
	right: 0;
	top: 0;
	z-index: 2;
}

body.single-sa28_programs .programs-it--imgs-4 .programs-it-image--3 {
	left: 0;
	bottom: 0;
	z-index: 3;
}

body.single-sa28_programs .programs-it--imgs-4 .programs-it-image--4 {
	right: 0;
	bottom: 0;
	z-index: 4;
}

body.single-sa28_programs .programs-it--imgs-4 .programs-it-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 16px;
	display: block;
}

/* Only the outer corner of each tile is round; the other three corners touch a neighbour and are square. The overlap
   strips are 8.7px (W=340) to 10.3px (W=400) deep, shallower than the 16px of a round corner: a round corner would
   leave a background nick of 1.8px (W=340) or 1.1px (W=400) on the edge of the media area, and in the middle four
   round corners would leave a hole at W=340, while at W=400 the tile underneath would show through. */
body.single-sa28_programs .programs-it--imgs-4 .programs-it-image--1 img {
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

body.single-sa28_programs .programs-it--imgs-4 .programs-it-image--2 img {
	border-top-left-radius: 0;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}

body.single-sa28_programs .programs-it--imgs-4 .programs-it-image--3 img {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-right-radius: 0;
}

body.single-sa28_programs .programs-it--imgs-4 .programs-it-image--4 img {
	border-top-left-radius: 0;
	border-top-right-radius: 0;
	border-bottom-left-radius: 0;
}

@media (max-width: 1200px) {
	body.single-sa28_programs .programs-it--imgs-2 .programs-it-media {
		width: 340px;
		max-width: 100%;
	}

	body.single-sa28_programs .programs-it--imgs-3 .programs-it-media {
		width: 340px;
		max-width: 100%;
	}

	body.single-sa28_programs .programs-it--imgs-4 .programs-it-media {
		width: 340px;
		max-width: 100%;
	}
}
