/* -------------------------------------------------------------------------------- */
/*                                      Footer                                      */
/* -------------------------------------------------------------------------------- */

#nf-page #nf-footer {
	background: var(--pri-neutral);
	color: var(--sec-neutral);
	font-size: 15px;
	line-height: 1.55;
	padding: 36px 0 24px;
}

#nf-page #nf-footer .nf-container {
	padding-bottom: 40px;
	padding-top: 0px;
}

/* Navigation (first block inside footer) */
#nf-page #nf-footer .nf-footer-nav {
	width: 100%;
}

#nf-page #nf-footer .nf-footer-nav .nf-footer-menu {
	display: grid;
	gap: 64px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	list-style: none;
	margin-bottom: 28px;
	margin-top: 0;
	padding-left: 0;
}

#nf-page #nf-footer .nf-footer-nav .nf-footer-menu input {
	border: 0;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
}

#nf-page #nf-footer .nf-footer-nav .nf-footer-menu label {
	border: 0;
	cursor: default;
	display: block;
	font-weight: 700;
	padding: 0 0 12px;
	text-align: left;
	width: 100%;
}

#nf-page #nf-footer .nf-footer-nav .nf-footer-menu ul {
	display: grid;
	gap: 12px;
	list-style: none;
	margin: 0;
	padding: 0;
}

/* Middle strip (brand, links, social) */
#nf-page #nf-footer .nf-footer-mid {
	align-items: center;
	display: grid;
	gap: 24px;
	grid-template-columns: auto 1fr auto;
	padding: 18px 0;
	width: 100%;
}

#nf-page #nf-footer .nf-footer-mid .nf-footer-brand {
	display: inline-block;
}

#nf-page #nf-footer .nf-footer-mid .nf-footer-brand img {
	height: auto;
	width: 76px;
}

#nf-page #nf-footer .nf-footer-mid .nf-footer-links {
	align-items: center;
	display: grid;
	gap: 24px;
	grid-auto-flow: column;
	justify-content: center;
}

#nf-page #nf-footer .nf-footer-mid .nf-footer-social {
	display: flex;
	gap: 18px;
	justify-content: end;
}

#nf-page #nf-footer .nf-footer-mid .nf-footer-social a {
	font-size: 18px;
}

/* Legal (last block inside footer) */
#nf-page #nf-footer .nf-footer-legal > div:first-child {
	color: var(--sec-neutral);
	font-size: 13px;
	line-height: 1.6;
	margin: 16px 0;
}

#nf-page #nf-footer .nf-footer-legal > div:last-child {
	color: var(--sec-neutral);
	font-size: 13px;
}

/* -------------------------------------------------------------------------------- */
/*                                    Responsive                                    */
/* -------------------------------------------------------------------------------- */
@media (max-width:959px) {
	#nf-page #nf-footer .nf-footer-nav .nf-footer-menu {
		gap: 0px;
		grid-template-columns: 1fr;
		margin-bottom: 0px;
	}

	#nf-page #nf-footer .nf-footer-nav .nf-footer-menu > li {
		border-top: 1px solid var(--sec-neutral);
		padding: 15px;
	}

	#nf-page #nf-footer .nf-footer-nav .nf-footer-menu label {
		align-items: center;
		cursor: pointer;
		display: flex;
		justify-content: space-between;
		padding: 0px;
	}

	#nf-page #nf-footer .nf-footer-nav .nf-footer-menu label::after {
		content: "\f067";
		display: inline-block;
		font-family: FontAwesome;
		font-style: normal;
		font-weight: 400;
		line-height: inherit;
		position: absolute;
		right: 35px;
		text-align: center;
	}

	#nf-page #nf-footer .nf-footer-nav .nf-footer-menu input:checked + label::after {
		content: "\f068";
	}

	#nf-page #nf-footer .nf-footer-nav .nf-footer-menu input:checked + label + ul {
		display: grid;
	}

	#nf-page #nf-footer .nf-footer-nav .nf-footer-menu ul {
		display: none;
		gap: 0;
		margin-top: 12px;
		padding: 0px 5px;
	}

	#nf-page #nf-footer .nf-footer-nav .nf-footer-menu ul li {
		border-bottom: 1px solid var(--pri-dark);
		margin: 0;
		padding: 8px 5px;
	}

	#nf-page #nf-footer .nf-footer-nav .nf-footer-menu ul li:last-child {
		border-bottom: 0px;
	}

	#nf-page #nf-footer .nf-footer-mid {
		border-top: 1px solid var(--sec-neutral);
		gap: 0px;
		grid-template-columns: 1fr;
		padding-bottom: 0px;
	}

	#nf-page #nf-footer .nf-footer-mid .nf-footer-brand {
		border-bottom: 1px solid var(--sec-neutral);
		justify-self: center;
		padding-bottom: 18px;
		text-align: center;
		width: 100%;
	}

	#nf-page #nf-footer .nf-footer-mid .nf-footer-links {
		display: flex;
		flex-direction: column;
		gap: 0px;
		grid-auto-flow: row;
		justify-items: start;
	}

	#nf-page #nf-footer .nf-footer-mid .nf-footer-links a {
		align-self: stretch;
		border-bottom: 1px solid var(--sec-neutral);
		padding: 10px;
		width: 100%;
	}

	#nf-page #nf-footer .nf-footer-mid .nf-footer-social {
		justify-content: center;
		padding-top: 15px;
	}

}
