/*
 * SME - Intro.
 *
 * Read from cp-all-designer sme.html:54-90, css/sme.css:62-108, 672-674 and
 * css/app.css:1217-1289 (.statsband, .sb).
 *
 * Colour, type, padding, the corner and the spaces between the parts arrive
 * from the Style tab and are not repeated here.
 */

/* sme.css:70 — one centred column */
.custom-sme-intro .custom-sme-intro__lede {
	max-width: 900px;
	margin: 0 auto;
}

/* sme.css:73-76 */
.custom-sme-intro .custom-sme-intro__pledge {
	margin-right: auto;
	margin-left: auto;
	text-align: center;
}

/* sme.css:19-21, 79-84 — the site's quotation mark, drawn rather than typed, so
   it is neither copied with the words nor read aloud */
.custom-sme-intro .custom-sme-intro__mark {
	display: block;
	aspect-ratio: 44 / 34;
	margin-right: auto;
	margin-left: auto;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M0 18V9.5C0 4.3 3.2.7 8 0l.8 2.6C6 3.4 4.4 5.2 4.4 7.4H8V18zm13 0V9.5c0-5.2 3.2-8.8 8-9.5l.8 2.6c-2.8.8-4.4 2.6-4.4 4.8H21V18z'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 18'%3E%3Cpath d='M0 18V9.5C0 4.3 3.2.7 8 0l.8 2.6C6 3.4 4.4 5.2 4.4 7.4H8V18zm13 0V9.5c0-5.2 3.2-8.8 8-9.5l.8 2.6c-2.8.8-4.4 2.6-4.4 4.8H21V18z'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* sme.css:85-89 */
.custom-sme-intro .custom-sme-intro__pledge-title {
	margin-top: 0;
	margin-right: 0;
	margin-left: 0;
	padding: 0;
	font-family: inherit;
	font-style: normal;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
}

/* sme.css:90-93 */
.custom-sme-intro .custom-sme-intro__pledge-text {
	margin: 0;
	padding: 0;
	font-family: inherit;
	font-style: normal;
	font-weight: 400;
	line-height: 1.9;
	letter-spacing: 0;
	text-transform: none;
}

/* ------------------------------------------------------------------ */
/* The band of figures — app.css:1225-1251                             */
/* ------------------------------------------------------------------ */

.custom-sme-intro .custom-sme-intro__figures {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	box-shadow: 0 34px 80px -20px rgba(22, 65, 140, 0.3);   /* --sh-lg, app.css:161 */
}

/* the picture is texture only: held back, and a veil of the band's own green over it */
.custom-sme-intro .custom-sme-intro__figures-picture {
	position: absolute;
	inset: 0;
	z-index: -2;
}

.custom-sme-intro .custom-sme-intro__figures-picture img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	opacity: 0.5;
}

.custom-sme-intro .custom-sme-intro__figures::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	pointer-events: none;
}

/* sme.css:102 — two centred stacks across the band */
.custom-sme-intro .custom-sme-intro__figures-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: start;
}

/* app.css:1253-1256 */
.custom-sme-intro .custom-sme-intro__figure {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	min-width: 0;
	text-align: center;
}

/* app.css:1258-1264 — a rule under the figure, across the column */
.custom-sme-intro .custom-sme-intro__figure-value {
	align-self: stretch;
	border-bottom-width: 2px;              /* app.css:1262 measures 1px */
	border-bottom-style: solid;
	font-family: inherit;
	font-style: normal;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0;                     /* -0.03em of the figure: -0.76px, the nearest even is 0 */
	text-transform: none;
}

.custom-sme-intro .custom-sme-intro__figure-before {
	font-size: 45%;                        /* app.css:1264 */
	font-weight: 500;
	opacity: 0.9;
}

/* app.css:1265 */
.custom-sme-intro .custom-sme-intro__figure-name {
	font-family: inherit;
	font-style: normal;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0;
	text-transform: none;
}

/* app.css:1272-1279 */
.custom-sme-intro .custom-sme-intro__figure-note {
	max-width: 100%;
	margin-right: 0;
	margin-bottom: 0;
	margin-left: 0;
	padding: 0;
	font-family: inherit;
	font-style: normal;
	font-weight: 300;
	line-height: 1.55;
	letter-spacing: 0;
	text-transform: none;
}

/* ------------------------------------------------------------------ */
/* Mobile — up to 767px (app.css:1284-1289, drawn at 640)              */
/* ------------------------------------------------------------------ */

@media (max-width: 767px) {
	/* the note is the first thing to go */
	.custom-sme-intro .custom-sme-intro__figure-note {
		display: none;
	}
}
