/*
 * Site-wide TPM footer (inc/tpm-site-footer.php) — Hub s554, Max review 02.11 item A.
 * Same look as the in-content footer of the TPM review pages (Home, Paradigm, Research & Evidence).
 * Every rule is scoped to footer#colophon.tpm-site-footer so the old Eduma footer styles
 * (#colophon / .site-footer) and the in-content copy are not affected.
 */
footer#colophon.tpm-site-footer {
	position: relative;
	/* Above the fixed docs TOC box (.docs-right-sticky, z-index 100) so it slides under the footer. */
	z-index: 110;
	display: block;
	clear: both;
	margin: 0;
	padding: 38px 24px 24px;
	background: #23445d;
	color: #fff;
	font-family: "Roboto Condensed", Arial, sans-serif;
	line-height: 1.35;
	text-align: left;
}
footer#colophon.tpm-site-footer * {
	box-sizing: border-box;
}
footer#colophon.tpm-site-footer a {
	color: inherit;
	text-decoration: none;
	background: none;
	border: 0;
}
footer#colophon.tpm-site-footer a:hover strong {
	text-decoration: underline;
}
footer#colophon.tpm-site-footer a:focus-visible {
	outline: 3px solid #e0b164;
	outline-offset: 3px;
}
footer#colophon.tpm-site-footer h3,
footer#colophon.tpm-site-footer p {
	margin: 0;
	padding: 0;
	color: inherit;
	font-family: inherit;
	text-transform: none;
	letter-spacing: normal;
}
footer#colophon.tpm-site-footer .tx-icon {
	display: inline-block;
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	vertical-align: middle;
	stroke-width: 1.7;
}
footer#colophon.tpm-site-footer .tx-footwrap {
	max-width: 1240px;
	margin: auto;
}
footer#colophon.tpm-site-footer .tx-footbrand {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 32px;
	padding-bottom: 24px;
	border-bottom: 1px solid #ffffff30;
}
footer#colophon.tpm-site-footer .tx-footbrand img {
	display: block;
	width: 210px;
	max-width: 100%;
	height: auto;
}
footer#colophon.tpm-site-footer .tx-footbrand p {
	font-size: 19px;
	line-height: 1.35;
}
footer#colophon.tpm-site-footer .tx-footgrid {
	display: grid;
	grid-template-columns: repeat(6, minmax(0, 1fr));
	gap: 24px;
}
footer#colophon.tpm-site-footer .tx-footgrid > div {
	min-width: 0;
}
footer#colophon.tpm-site-footer .tx-footgrid h3 {
	margin-bottom: 12px;
	color: #b8cbd8;
	font-size: 18px;
	font-weight: 500;
	line-height: 1.35;
}
footer#colophon.tpm-site-footer .tx-footgrid a {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	min-height: 40px;
	padding: 8px 0;
	font-size: 16px;
	line-height: 1.35;
	overflow-wrap: anywhere;
}
footer#colophon.tpm-site-footer .tx-footgrid a strong,
footer#colophon.tpm-site-footer .tx-footlegal strong,
footer#colophon.tpm-site-footer .tx-language-nav strong {
	font-weight: 400;
}
footer#colophon.tpm-site-footer .tx-footgrid .tx-icon {
	width: 18px;
	height: 20px;
	flex-basis: 18px;
}
footer#colophon.tpm-site-footer .tx-system-views {
	list-style: none;
	margin: 0;
	padding: 0 0 0 16px;
	border-left: 1px solid #ffffff40;
}
footer#colophon.tpm-site-footer .tx-system-views li {
	margin: 0;
	padding: 0;
	list-style: none;
}
footer#colophon.tpm-site-footer .tx-system-views li::before {
	display: none;
}
footer#colophon.tpm-site-footer .tx-language-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin-top: 24px;
}
footer#colophon.tpm-site-footer .tx-language-nav a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 40px;
	font-size: 15px;
}
footer#colophon.tpm-site-footer .tx-footlegal {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin-top: 28px;
	padding-top: 20px;
	border-top: 1px solid #ffffff30;
}
footer#colophon.tpm-site-footer .tx-footlegal a {
	display: flex;
	align-items: center;
	gap: 8px;
	min-height: 36px;
	font-size: 14px;
}
footer#colophon.tpm-site-footer .tx-footlegal .tx-icon {
	width: 17px;
	height: 17px;
	flex-basis: 17px;
}

@media (max-width: 1100px) {
	footer#colophon.tpm-site-footer .tx-footgrid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px;
	}
	footer#colophon.tpm-site-footer .tx-footbrand p {
		font-size: 17px;
	}
}

@media (max-width: 600px) {
	footer#colophon.tpm-site-footer {
		padding: 32px 20px 24px;
	}
	footer#colophon.tpm-site-footer .tx-footbrand {
		display: block;
	}
	footer#colophon.tpm-site-footer .tx-footbrand img {
		width: 200px;
	}
	footer#colophon.tpm-site-footer .tx-footbrand p {
		max-width: 27ch;
		margin-top: 16px;
		font-size: 16px;
	}
	footer#colophon.tpm-site-footer .tx-footgrid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 24px 20px;
	}
	footer#colophon.tpm-site-footer .tx-footgrid a {
		font-size: 15px;
	}
	footer#colophon.tpm-site-footer .tx-footlegal {
		gap: 6px 18px;
	}
}
