/* ETF Site: footer, a solid off-white band with a hairline on top (apple.com): logo and one sentence, two
   link groups in the current language, one fact line. Small text (0.8125rem), secondary #6e6e73 (4.66:1 on the
   band). No disclaimer and no compensation line here: the disclaimer stays next to the projections in the widget. */
.wp-site-blocks > footer.wp-block-template-part {
	margin-block-start: 0; /* the last section or the page's own padding provides the space above */
}

.etf-site-footer {
	padding-block: 2.5rem 2rem;
	border-top: 1px solid var(--etf-site-hairline);
	background: var(--etf-site-offwhite);
	color: var(--etf-site-text-2);
	font-size: 0.8125rem;
	letter-spacing: 0;
	line-height: 1.45;
}

.etf-site-footer__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem 2rem;
}

.etf-site-footer p {
	margin: 0;
}

.etf-site-footer__about p:last-child {
	max-width: 26rem;
}

/* The logo (header.css) at the same size; its link keeps the 44 px target of every footer link */
.etf-site-footer__title {
	color: var(--etf-site-text);
}

.etf-site-footer__nav {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem 2rem;
}

.etf-site-footer__heading {
	margin: 0 0 0.25rem;
	color: var(--etf-site-text);
	font-size: 0.8125rem;
	font-weight: 600;
	letter-spacing: 0;
	line-height: 1.4;
}

.etf-site-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.etf-site-footer a {
	display: inline-flex;
	align-items: center;
	min-width: var(--etf-site-hit); /* short names ("Over") still get a 44 px target */
	min-height: var(--etf-site-hit);
	color: var(--etf-site-nav);
	text-decoration: none;
	transition: opacity var(--etf-site-dur) var(--etf-site-ease);
}

.etf-site-footer__title a,
.etf-site-footer a[aria-current="page"] {
	color: var(--etf-site-text);
}

.etf-site-footer a[aria-current="page"] {
	font-weight: 600;
}

@media (hover: hover) and (pointer: fine) {
	.etf-site-footer a:hover {
		color: var(--etf-site-text);
		text-decoration: underline;
		text-underline-offset: 0.2em;
	}
}

/* Feedback on pointer-down: the link dims at once, then recovers on the damped curve */
.etf-site-footer a:active {
	opacity: 0.55;
	transition-duration: var(--etf-site-dur-press);
	transition-timing-function: var(--etf-site-ease-press);
}

.etf-site-footer__fact {
	grid-column: 1 / -1;
	padding-top: 1.25rem;
	border-top: 1px solid var(--etf-site-hairline);
}

@media (width >= 48em) {
	.etf-site-footer__inner {
		grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
	}
}

@media (prefers-contrast: more) {
	.etf-site-footer a {
		text-decoration: underline;
	}
}

@media (prefers-reduced-motion: reduce) {
	.etf-site-footer a {
		transition: none;
	}
}
