.text-block {
	margin-bottom: var(--section-space);
}

.text-block--top-margin {
	margin-top: var(--section-space);
}

.text-block--has-bg {
	padding-block: var(--section-space);
}

.text-block__inner {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	gap: 2rem;
}

.text-block__heading + .text-block__tagline,
.text-block__tagline + .text-block__heading {
	margin-top: calc(-2rem + 0.5rem);
}

.text-block__heading,
.text-block__tagline,
.text-block__body {
	width: 100%;
	margin: 0;
	color: #4c4d4f;
}

.text-block__heading {
	font-size: 1.5rem;
	font-weight: 400;
	line-height: 1.375;
}

.text-block__tagline {
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
}

.text-block__body {
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.5;
}

.text-block__heading--left,
.text-block__tagline--left,
.text-block__body--left {
	text-align: left;
}

.text-block__heading--center,
.text-block__tagline--center,
.text-block__body--center {
	text-align: center;
}

.text-block__heading--center + .text-block__body {
	margin-top: calc(var(--section-space) - 2rem);
}

.text-block__heading--right,
.text-block__tagline--right,
.text-block__body--right {
	text-align: right;
}

.text-block__body p {
	margin-block: 0 1em;
}

.text-block__body p:last-child {
	margin-bottom: 0;
}

.text-block__body strong,
.text-block__body b {
	font-weight: 900;
}

.text-block__body a {
	color: var(--color-brand-blue, #003da5);
	font-weight: 700;
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

@media (hover: hover) {
	.text-block__body a:hover {
		opacity: 0.85;
	}
}

.text-block__body a:focus-visible {
	outline: 2px solid var(--color-brand-blue, #003da5);
	outline-offset: 2px;
}

.text-block__body img {
	max-width: 100%;
	height: auto;
}

.text-block__body--center img {
	display: inline-block;
}

@media (min-width: 768px) {
	.text-block__heading {
		font-size: 2rem;
		line-height: 1.375;
	}
}
