.g-footer {
	background: var(--g-color-black);
	color: var(--g-color-white);
}

.g-footer__inner {
	width: min(100% - 48px, var(--g-layout-max-width));
	margin-inline: auto;
	padding-block: 4rem 2rem;
}

.g-footer__layout {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	grid-template-areas: "brand nav social";
	align-items: center;
	gap: 2rem;
}

.g-footer__brand {
	grid-area: brand;
	margin: 0;
	text-align: center;
}

.g-footer__brand a,
.g-footer__logo {
	display: block;
}

.g-footer__logo {
	width: 11.25rem;
	height: auto;
}

.g-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.g-footer__nav {
	grid-area: nav;
	justify-self: center;
}

.g-footer__menu a {
	color: inherit;
	font-size: 0.85rem;
	text-decoration: none;
}

.g-footer__menu a:hover {
	color: var(--g-color-gold);
}

.g-footer__social {
	grid-area: social;
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 1rem;
}

.g-footer__social a {
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	transition: opacity 0.25s ease;
}

.g-footer__social a:hover {
	opacity: 0.65;
}

.g-footer__social img {
	display: block;
	width: 2rem;
	height: 2rem;
	object-fit: contain;
}

.g-footer__copy {
	margin: 3rem 0 0;
	font-size: 0.9rem;
	text-align: center;
	color:#A1A1A1;
}

@media (max-width: 900px) {
	.g-footer__layout {
		grid-template-columns: 1fr;
		grid-template-areas:
			"brand"
			"nav"
			"social";
		justify-items: center;
	}

	.g-footer__brand {
		grid-row: 1;
	}

	.g-footer__menu,
	.g-footer__social {
		justify-content: center;
	}
}

@media (max-width: 599px) {
	.g-footer__inner {
		width: calc(100% - 32px);
		padding-top: 3rem;
	}

	.g-footer__menu {
		flex-direction: column;
		align-items: center;
	}
}
