/*
 * Site footer — header-style bar with multiple menu sections.
 */

body.sat-has-site-footer .site-footer {
	display: none;
}

.sa-site-footer {
	box-sizing: border-box;
	width: calc(100% - 44px);
	max-width: var(--gp-container--max-width, 1290px);
	margin: 24px auto 20px;
	padding: 0;
}

.sa-site-footer__bar {
	background: linear-gradient(
		180deg,
		#2f3a48 0%,
		#1a2430 35%,
		#121a24 100%
	);
	border-radius: 40px;
	border: 1px solid rgba(0, 0, 0, 0.28);
	border-top-color: rgba(255, 255, 255, 0.1);
	box-shadow:
		inset 0 1px 2px rgba(255, 255, 255, 0.12),
		0 6px 16px rgba(0, 0, 0, 0.18);
	overflow: hidden;
}

.sa-site-footer__sections {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	gap: 1.25rem 2rem;
	padding: 22px 28px 18px;
}

.sa-site-footer__section {
	min-width: 0;
}

.sa-site-footer__heading {
	margin: 0 0 0.55rem;
	color: rgba(255, 255, 255, 0.72);
	font-size: 0.78rem;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.sa-site-footer__nav {
	min-width: 0;
}

.sa-site-footer__menu {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.35rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.sa-site-footer__menu li {
	margin: 0;
	padding: 0;
	width: 100%;
}

.sa-site-footer__menu a {
	display: inline-block;
	padding: 0.15rem 0.35rem;
	margin-left: -0.35rem;
	border-radius: 8px;
	color: #fff;
	text-decoration: none;
	font-size: 0.92rem;
	line-height: 1.45;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.sa-site-footer__menu a:hover,
.sa-site-footer__menu a:focus {
	color: #fff;
	background: rgba(255, 255, 255, 0.1);
}

.sa-site-footer__menu .current-menu-item > a,
.sa-site-footer__menu .current_page_item > a {
	background: rgba(255, 255, 255, 0.08);
}

.sa-site-footer__bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding: 12px 28px 16px;
}

.sa-site-footer__copyright {
	margin: 0;
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.88rem;
	line-height: 1.4;
	text-align: center;
}

@media (max-width: 768px) {
	.sa-site-footer {
		width: calc(100% - 24px);
		margin: 20px auto 16px;
	}

	.sa-site-footer__bar {
		border-radius: 28px;
	}

	.sa-site-footer__sections {
		grid-template-columns: 1fr;
		gap: 1rem;
		padding: 18px 18px 14px;
	}

	.sa-site-footer__bottom {
		padding: 12px 18px 14px;
	}

	.sa-site-footer__menu {
		align-items: flex-start;
	}
}
