.content-footer {
	container-type: inline-size;
  container-name: content-footer;
	font: var(--l-bold);
}

.content-footer .page-functions {
	margin-top: 2rem;
	margin-bottom: 2rem;
	padding-top: 2rem;
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
	border-top: 1px solid var(--color-primary);
}

@container content-footer (width >= 630px) {
	.content-footer .page-functions {
		grid-template-columns: 1fr auto;
	}
}

.content-footer .page-functions-group {
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	justify-items: center;
}

.content-footer .page-functions-group:first-of-type {
	order: 1;
}

@container content-footer (width >= 500px) {
	.content-footer .page-functions-group {
		grid-template-columns: auto 1fr;
		justify-items: start;
		gap: 1rem;
	}

	.content-footer .page-functions-group:first-of-type {
		order: 0;
	}
}

.content-footer .page-functions-group ul {
	margin-bottom: 0;
}

.page-functions-heading {
	margin-top: 0;
	margin-bottom: 0.75rem;
}

@container content-footer (width >= 500px) {
	.page-functions-heading {
		margin-bottom: 0;
	}
}

.content-footer .button.button--print {
	padding: 0;
	margin: 0;
	display: block;
	border: 1px solid transparent;
	transition: none;
}

.content-footer .button.button--print:hover,
.content-footer .button.button--print:focus {
	border: 1px solid var(--black);
	border-radius: 50%;
	background-color: transparent;
	transition: none;
}

.content-footer button img,
.content-footer a img {
	padding: 1px;
	border: 1px solid transparent;
	border-radius: 50%;
}

.content-footer button:hover img,
.content-footer a:hover img {
	border-color: var(--black);
}

.content-footer button:focus img,
.content-footer a:focus img {
	border-color: var(--black);
}
