/* Velopedia's global footer: primary destinations, then quieter legal links. */
body.vpcp-footer-organized #astra-footer-menu > .vpcp-footer-main-link {
	order: 1;
}

body.vpcp-footer-organized #astra-footer-menu > .vpcp-footer-legal-link {
	order: 10;
}

body.vpcp-footer-organized #astra-footer-menu > .vpcp-footer-legal-link > a {
	color: #8585ad;
	font-size: .78rem;
}

@media (min-width: 769px) {
	body.vpcp-footer-organized #astra-footer-menu {
		align-items: center;
		column-gap: 6px;
		display: flex !important;
		flex-wrap: wrap;
		justify-content: center;
		row-gap: 7px;
	}

	body.vpcp-footer-organized #astra-footer-menu::after {
		content: "";
		flex-basis: 100%;
		height: 0;
		order: 5;
	}
}

@media (max-width: 768px) {
	body.vpcp-footer-organized #astra-footer-menu {
		display: grid !important;
		gap: 7px 14px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		margin: 0 auto;
		max-width: 520px;
		width: 100%;
	}

	body.vpcp-footer-organized #astra-footer-menu::after {
		background: rgba(155, 155, 197, .28);
		content: "";
		grid-column: 1 / -1;
		height: 1px;
		margin: 5px 8px;
		order: 5;
	}

	body.vpcp-footer-organized #astra-footer-menu > .menu-item > .menu-link {
		padding: 2px 8px !important;
	}
}
