footer {
	width: 100%;
	background: #071d3c;
	color: #fff;
	max-width: none;
	padding: 40px 24px;
}

footer .footerTop,
footer .footerBottom {
	width: 100%;
	max-width: 1600px;
	margin-inline: auto;
}

footer .footerTop {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

footer .footerTopLeft a img {
	height: 40px;
	width: auto;
	display: block;
	filter: brightness(0) invert(1);
}

footer .footerTopNav ul {
	display: flex;
	flex-flow: row;
	justify-content: space-between;
	align-items: center;
}

footer .footerTopNav ul li {
	margin-right: 50px;
}

footer .footerTopNav ul li:last-child {
	margin-right: 0;
}

footer .footerBottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 30px;
}

footer .footerBottomInfo {
	display: flex;
	flex-flow: row;
	justify-content: space-between;
	align-items: center;
}

footer .footerBottomInfo p {
	position: relative;
	margin-right: 50px;
}

footer .footerBottomInfo p::after {
	content: "";
	display: block;
	background-color: #d8e0ea;
	width: 1px;
	height: 12px;
	position: absolute;
	right: -25px;
	top: 29%;
}

footer .footerBottomInfo p:last-child::after {
	content: "";
	display: none;
}

footer .footerBottomInfo p:last-child {
	margin-right: 0;
}

@media (max-width: 1600px) {
	footer .footerTop,
	footer .footerBottom,
	footer .footerTopNav ul,
	footer .footerBottomInfo {
		flex-wrap: wrap;
		row-gap: 16px;
	}
}

@media (max-width: 767.98px) {
	footer {
		padding-inline: 24px;
	}

	footer .footerTopNav ul {
		gap: 12px 20px;
	}

	footer .footerTopNav ul li,
	footer .footerBottomInfo p {
		margin-right: 0;
	}

	footer .footerBottomInfo p::after {
		display: none;
	}
}

/* Tablet: two tidy rows, no dangling dividers when the info line wraps. */
@media (max-width: 1199.98px) {
	footer {
		padding: 40px 32px 32px;
	}

	footer .footerTop {
		flex-wrap: nowrap;
		gap: 24px;
	}

	footer .footerTopNav ul {
		flex-wrap: wrap;
		justify-content: center;
		gap: 4px 28px;
	}

	footer .footerTopNav ul li {
		margin-right: 0;
	}

	footer .footerTopNav a,
	footer .footerTopRight a {
		display: inline-flex;
		align-items: center;
		min-height: 44px;
	}

	footer .footerBottom {
		display: grid;
		gap: 16px;
		margin-top: 24px;
		padding-top: 24px;
		border-top: 1px solid rgba(255, 255, 255, 0.14);
	}

	footer .footerBottomInfo {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, auto));
		justify-content: space-between;
		gap: 8px 32px;
	}

	footer .footerBottomInfo p {
		margin-right: 0;
	}

	footer .footerBottomInfo p::after {
		display: none;
	}

	footer .footerBottomInfo p:nth-child(even) {
		text-align: right;
	}

	footer .footerBottomCopy {
		color: rgba(255, 255, 255, 0.7);
	}
}

/* Mobile: compact stack, logo and YouTube share the first row. */
@media (max-width: 767.98px) {
	footer {
		padding: 32px 20px 28px;
	}

	footer .footerTop {
		display: grid;
		grid-template-columns: 1fr auto;
		grid-template-areas:
			"logo social"
			"nav nav";
		align-items: center;
		gap: 12px 16px;
	}

	footer .footerTopLeft {
		grid-area: logo;
	}

	footer .footerTopRight {
		grid-area: social;
	}

	footer .footerTopNav {
		grid-area: nav;
	}

	footer .footerTopLeft a img {
		height: 32px;
	}

	footer .footerTopNav ul {
		justify-content: flex-start;
		gap: 0 20px;
	}

	footer .footerBottom {
		margin-top: 16px;
		padding-top: 20px;
		gap: 12px;
	}

	footer .footerBottomInfo {
		grid-template-columns: minmax(0, 1fr);
		gap: 6px;
		font-size: 14px;
		line-height: 1.6;
		word-break: keep-all;
	}

	footer .footerBottomInfo p:nth-child(even) {
		text-align: left;
	}

	footer .footerBottomCopy {
		font-size: 13px;
	}
}
