/* ==========================================================================
   Footer (Chrome.tsx → Footer)
   ========================================================================== */

.efa-footer {
	color: var(--efa-white-85);
}

.efa-footer > * {
	margin: 0;
}

.efa-footer__grid {
	display: grid;
	gap: 2.5rem;
	max-width: 1240px;
	margin-inline: auto;
	padding: 3.5rem 1.25rem;
}

.efa-footer__grid > * {
	margin: 0 !important;
}

@media (min-width: 640px) {
	.efa-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.efa-footer__brand {
		grid-column: span 2;
	}
}

@media (min-width: 1024px) {
	.efa-footer__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
		padding-inline: 2rem;
	}

	.efa-footer__brand {
		grid-column: span 1;
	}
}

.efa-footer__logo {
	margin: 0;
}

.efa-footer__logo img {
	display: block;
	width: auto;
	height: 3.5rem;
}

.efa-footer__mission {
	margin-top: 1rem !important;
	max-width: 20rem;
	font-size: 1rem;
	line-height: 1.5rem;
	color: var(--efa-white-70);
}

.efa-footer .efa-footer__heading {
	font-size: 1.125rem;
	line-height: 1.75rem;
	color: #fff;
}

/* Plain link lists (list style "Plain links") */
.is-style-efa-links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.efa-footer__links {
	margin-top: 1rem !important;
}

.efa-footer__links li + li {
	margin-top: 0.625rem;
}

.efa-footer__links a {
	font-size: 1rem;
	line-height: 1.5rem;
	color: var(--efa-white-75);
	text-decoration: none;
	transition: color 0.15s var(--efa-ease);
}

.efa-footer__links a:hover {
	color: var(--wp--preset--color--leaf);
}

.efa-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	border-top: 1px solid rgb(255 255 255 / 0.15);
	padding: 1.5rem max(1.25rem, calc((100% - 1176px) / 2));
	font-size: 0.875rem;
	line-height: 1.25rem;
	color: var(--efa-white-60);
}

.efa-footer__bottom > * {
	margin: 0 !important;
}

@media (min-width: 640px) {
	.efa-footer__bottom {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}
}

@media (min-width: 1024px) {
	.efa-footer__bottom {
		padding-inline: max(2rem, calc((100% - 1176px) / 2));
	}
}
