.text-container {
	> * + * {
		margin-top: spacing('base');
	}

	&--spacing-tight {
		> * + * {
			margin-top: spacing('tight');
		}
	}

	&--spacing-loose {
		> * + * {
			margin-top: spacing('loose');
		}
	}

	&--centered {
		text-align: center;
		> * {
			margin-left: auto;
			margin-right: auto;
		}
	}
}

.heading {
	@include typescale('heading-lg');
	font-weight: $font-weight-bold;
}
.subheading {
	@include typescale('heading-md');
	font-weight: $font-weight-bold;
}

.text {
	@include typescale('body');
	font-weight: $font-weight-normal;
	font-feature-settings: 'onum', 'pnum';
	font-variant-numeric: oldstyle-nums proportional-nums;
	.icon {
		height: 0.85em;
		width: 0.85em;
		margin: 0 0.2rem;
		position: relative;
		bottom: -0.1em;
	}
	.btn {
		padding: 0;
		&:hover,
		&:active,
		&:not(:disabled):not(:active):focus {
			background-color: transparent;
			color: $c-primary-light;
			text-decoration: underline;
		}
	}
}

.text a,
a.text {
	color: $c-primary;
	display: inline-flex;
	align-items: center;
	font-weight: inherit;
	.icon {
		&:not(.icon--no-fill) {
			fill: $c-primary;
		}
		&.icon--stroke {
			stroke: $c-primary;
		}
	}
}

.text__style {
	&--strong {
		font-weight: $font-weight-bold;
	}
	&--emphasis {
		font-style: italic;
	}
	&--subdued {
		opacity: 0.5;
	}
}
