:root {
	--brandrow-h: 70px;
	--brandrow-gap: 0.5rem;
}

.ag-footer__columns {
	background: var(--color-night-sky-blue);
	color: var(--color-off-white);
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
	gap: 2rem;
	padding: 2rem;
	margin-top: auto;
}

.ag-footer__col--tools {
	flex: 1.2;
	min-width: 250px;
}

.ag-footer__col--resources {
	flex: 0.8;
	min-width: 180px;
}

.ag-footer__col--contact {
	flex: 1.2;
	min-width: 260px;
}

.ag-footer__col h6 {
	margin-top: 0;
}

.ag-footer__heading {
	text-transform: uppercase;
	font-size: 0.9rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	color: #ffffff;
}

.ag-footer__brandrow {
	grid-column: 1 / span 2;
	grid-row: 1;
	height: var(--brandrow-h);
	display: flex;
	align-items: center;
	gap: 0;
	margin-bottom: var(--brandrow-gap);
}

.ag-footer__logo {
	height: 70px;
	width: auto;
	display: block;
	transform: translateX(-8px);
}

.ag-footer__wordmark {
	height: 32px;
	width: auto;
	display: block;
}

.ag-footer__brandicon {
	height: var(--brandrow-h);
	width: var(--brandrow-h);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: var(--brandrow-gap);
}

.ag-footer__brandicon img {
	max-height: 60px;
	max-width: 60px;
}

.ag-footer__col--resources::before {
	content: "";
	display: block;
	height: var(--brandrow-h);
	margin-bottom: var(--brandrow-gap);
}

.ag-footer__tools {
	display: flex;
	gap: 3rem;
}

.ag-footer__tools ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ag-footer__tools li {
	margin: 0.35rem 0;
}

.ag-footer__tools a {
	color: #bfc2da;
	text-decoration: none;
}

.ag-footer__tools a:hover {
	color: #fff;
}

.ag-footer__list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.ag-footer__list li {
	margin: 0.35rem 0;
}

.ag-footer__list a {
	color: #bfc2da;
	text-decoration: none;
}

.ag-footer__list a:hover {
	color: #fff;
}

.ag-footer__contactgrid {
	display: grid;
	grid-template-columns: 56px 1fr;
	column-gap: 1rem;
	row-gap: 0.25rem;
}

.ag-footer__contactgrid .ag-footer__heading,
.ag-footer__contactgrid .ag-footer__address,
.ag-footer__contactgrid .ag-footer__contact,
.ag-footer__contactgrid .ag-footer__social {
	grid-column: 2;
}

.ag-footer__address {
	font-style: normal;
	opacity: 0.9;
	margin: 0.75rem 0 0.4rem;
}

.ag-footer__contact a {
	color: #bfc2da;
	font-weight: 500;
	text-decoration: none;
}

.ag-footer__contact a:hover {
	color: #fff;
}

.ag-footer__social {
	margin-top: 1rem;
	display: flex;
	gap: 1.2rem;
}

.ag-footer__social img {
	height: 35px;
	opacity: 0.9;
	transition: opacity 0.2s ease;
}

.ag-footer__social img:hover {
	opacity: 1;
}

@media (max-width: 900px) {
	.ag-footer__columns {
		flex-direction: column;
		gap: 2.5rem;
	}
}

@media (max-width: 767.98px) {
	.ag-footer__tools {
		flex-direction: column;
		gap: 1rem;
	}

	.ag-footer__contactgrid {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.ag-footer__brandrow {
		justify-content: center;
	}

	.ag-footer__social {
		justify-content: center;
	}
}