.footer-container {
	--footer-gap: 3rem;
	--footer-padding: 7rem;

	background-color: #000;
	color: #fff;
	display: grid;
	grid-template-areas: "company projects contact" "company accreditations accreditations" "copyright copyright copyright";
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto auto;
	gap: 0;
	place-content: stretch;
	place-items: stretch;
}

/* .footer-grid {
	width: 100%;
	display: grid;
	grid-template-areas: "projects contact";
	grid-template-columns: repeat(2, 1fr);
	gap: var(--footer-gap);
	grid-area: grid;
} */

.footer-projects {
	grid-area: projects;
	border-right: .1rem solid rgba(var(--color-dark-grey-rgb), .65);
}

.footer-contact {
	grid-area: contact;
}

.footer-accreditations {
	grid-area: accreditations;
	border-top: .1rem solid rgba(var(--color-dark-grey-rgb), .65);
}

.footer-company,
.footer-column {
	width: 100%;
	display: flex;
	flex-direction: column;
}

.footer-company,
.footer-column {
	padding: var(--footer-padding) var(--footer-padding);
}

.footer-company {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-content: flex-start;
	align-items: flex-start;
	gap: 2rem;
	width: 100%;
	border-right: .1rem solid rgba(var(--color-dark-grey-rgb), .65);
	grid-area: company;
}

.footer-logo {
	width: clamp(100px, 100%, 260px);
	height: auto;
	margin-top: -1rem;
	margin-bottom: 1.3rem;
	object-fit: cover;
}

.footer-copyright {
	border-top: .1rem solid rgba(var(--color-dark-grey-rgb), .65);
	width: 100%;
	padding: clamp(2rem, 2.5vw, 3rem) var(--footer-padding);
	grid-area: copyright;
	font-size: 1.4rem;
	line-height: 1.7;
	flex-direction: row;
	justify-content: space-between;
	align-content: center;
	align-items: center;
	gap: .5rem;
}

.footer-abn {
	color: var(--grey);
	font-size: 1.4rem;
}

.footer-nav {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: 1fr;
	column-gap: 1rem;
	row-gap: .9rem;
	justify-content: start;
	align-content:stretch;
	align-items: stretch;
}

.footer-projects .footer-nav {
	grid-template-columns: repeat(2, 1fr);
}

.footer-nav > li {
	padding: 0;
	margin: 0;
}


.footer-nav > li > * {
	font-size: 1.4rem;
	line-height: 1.7;
	display: block;
}

.footer-nav > li > :has(i) {
	display: grid;
	grid-template-areas: "icon text";
	grid-template-columns: 2.4rem 1fr;
	gap: .7rem;
	place-content: start;
	justify-items: start;
	align-items: start;
}

.footer-nav > li > * > i {
	grid-area: icon;
	margin-top: -.2rem;
}

.footer-nav > li > * > :not(i) {
	grid-area: text;
}

.footer-nav a {
	transition: .2s;
}

.footer-nav a:hover {
	color: var(--color-grey);
}

hr.footer-break {
	margin: 2rem 0;
	width: 6.5rem;
	color: var(--color-grey);
	background-color: var(--color-dark-grey);
}

.footer-accreditations ul {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: var(--footer-gap);
	row-gap: 2rem;
	place-content: start;
	place-items: start;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-accreditations ul > li > a {
	display: grid;
	grid-template-columns: 6.4rem 1fr;
	gap: 1.5rem;
	justify-content: stretch;
	justify-items: start;
	align-content: center;
	align-items: center;
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 1.4rem;
	line-height: 1.7;
}

.footer-accreditations ul > li > a > img {
	width: 100%;
	height: auto;
	object-fit: contain;
	object-position: center;
	display: block;
}

.footer-credit > a {
	display: inline-grid;
	grid-template-columns: 1fr 3.3rem;
	gap: .5rem;
}

.footer-credit > a > div {
	position: relative;
}

.footer-credit > a > div > svg {
	display: block;
	width: 3.3rem;
	height: 1.8rem;
	position: absolute;
	top: 50%;
	left: 0;
	translate: 0 -50%;
}

.footer-credit > a > div > svg * {
	fill: var(--color-dark-grey);
	transition: .2s;
}

.footer-credit > a:hover > div > svg * {
	fill: var(--color-grey);
}

.footer-title > a {
	display: inline-flex;
	justify-content: flex-start;
	align-items: center;
	gap: 1rem;
}

/* xlarge view */
@media only screen and (max-width: 1539px) {
	.footer-container {
		--footer-gap: 2.5rem;
		--footer-padding: 6rem;
	}
}

/* large view */
@media only screen and (max-width: 1279px) {
	.footer-container {
		--footer-gap: 5rem;
		--footer-padding: 5rem;

		grid-template-areas: "company company" "projects contact" "accreditations accreditations" "copyright copyright";
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: auto auto auto auto;
	}

	.footer-contact,
	.footer-projects {
		border-top: .1rem solid rgba(var(--color-dark-grey-rgb), .65);
	}

	.footer-accreditations ul {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* tablet view */
@media only screen and (max-width: 1023px) {
	.footer-container {
		--footer-gap: 4rem;
		--footer-padding: 4rem;
	}

	.footer-company {
		border-right: none !important;
	}

	.footer-accreditations ul {
		grid-template-columns: repeat(2, 1fr);
	}

	.footer-logo {
		width: clamp(100px, 100%, 200px);
	}
}

/* mobile view */
@media only screen and (max-width: 767px) {
	.footer-container {
		--footer-gap: 5rem;
		--footer-padding: 4rem;
	}

	.footer-logo {
		width: clamp(100px, 100%, 200px);
	}

	.footer-projects .footer-nav {
		grid-template-columns: 1fr;
	}
}


/* mobile view */
@media only screen and (max-width: 575px) {
	.footer-container {
		--footer-gap: 5rem;
		--footer-padding: 4rem;

		grid-template-areas: "company" "projects" "contact" "accreditations" "copyright";
		grid-template-columns: 1fr;
		grid-template-rows: auto auto auto auto auto;
	}

	.footer-projects {
		border-right: none !important;
	}

	.footer-accreditations ul {
		grid-template-columns: 1fr;
	}

	.footer-projects .footer-nav {
		grid-template-columns: repeat(2, 1fr);
	}
}