/* Shared chrome for the skillsren/* section blocks. Loaded by any block that uses it. */

.section {
	padding-block: clamp(3.25rem, 6vw, 5.5rem);
	padding-inline: var(--sr-gutter);
}

/* Nothing in a section may widen the page. */
.section {
	overflow-x: clip;
}

/* Everything inside a section lines up on the same container. */
.section > * {
	max-width: var(--sr-container);
	margin-inline: auto;
}

.section__head {
	margin-inline: auto;
	margin-block-end: clamp(2.25rem, 4vw, 3.375rem);
	max-width: 46rem;
	text-align: center;
}

.section__head--start {
	margin-inline: 0;
	text-align: start;
}

.section__eyebrow {
	margin: 0 0 0.875rem;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--sr-teal);
}

.section__heading {
	margin: 0 0 0.875rem;
	font-size: clamp(1.875rem, 3.4vw, 2.875rem);
	font-weight: 900;
	line-height: 1.14;
	letter-spacing: -0.018em;
	text-wrap: balance;
}

.section__lede {
	margin: 0 auto;
	max-width: 35rem;
	font-size: clamp(1rem, 1.3vw, 1.125rem);
	line-height: 1.6;
	color: rgb(58 58 54 / 84%);
}

.section__rule {
	display: block;
	width: 132px;
	height: 16px;
	margin: 1.125rem auto 0;
	color: var(--sr-teal);
}

/* **word** in a lede, picked out in the brand colour. */
.section__accent {
	font-weight: 900;
	color: var(--sr-teal);
}
