/* Block: Section Intro */
.block--section-intro { text-align: center; }
.block--section-intro .section-intro__eyebrow { margin-bottom: 1rem; }
.block--section-intro .section-intro__heading { margin-bottom: 1.25rem; }
/* Accent words: wrap them in <em> in the heading to get terracotta italics. */
.block--section-intro .section-intro__heading em { color: var(--color-terracotta); font-style: italic; }
.block--section-intro .section-intro__text { color: var(--color-oxford); font-size: 1.0625rem; }

/* Ruled variant: thin rules above and below */
.block--section-intro.section-intro--ruled .section-intro__inner {
	padding-block: clamp(2rem, 5vw, 3.5rem);
	border-top: 2px solid var(--color-terracotta);
	border-bottom: 2px solid var(--color-terracotta);
}
/* A ruled intro immediately after a coloured band doesn't repeat the top rule */
.block.bg-ivory + .block--section-intro.section-intro--ruled .section-intro__inner {
	border-top: 0;
}
/* Plain intro before the contact form: add the ruled intro's inner padding to the
   bottom so its gap to the contact band matches the ruled intro's top gap. */
.block--section-intro:not(.section-intro--ruled):has(+ .block--contact-form) {
	padding-bottom: calc(var(--section-gap) / 4 + clamp(2rem, 5vw, 3.5rem));
}
