#footer-outer {
	background-color: var(--ri-blue, #0f4c81);
	color: #fff;
}

#footer-outer #footer-widgets {
	padding: 0;
	background-color: transparent;
}

#footer-outer #footer-widgets > .container {
	width: min(1760px, calc(100% - clamp(36px, 8.333vw, 160px)));
	max-width: 1760px;
	padding: 0;
}

#footer-outer #footer-widgets > .container > .row,
#footer-outer #footer-widgets > .container > .row > .col {
	margin: 0;
	padding: 0;
}

#footer-outer #footer-widgets .widget {
	margin: 0;
}

#footer-outer .ri-footer {
	position: relative;
	margin: 0;
	padding: 125px 0 40px;
	background: transparent url('../figma/vector-09.svg') center bottom / min(1920px, 100%) auto no-repeat;
	color: #fff;
	text-align: center;
}

#footer-outer .ri-footer__logo {
	display: block;
	width: min(277px, 72vw);
	margin: 0 auto 42px;
}

#footer-outer .ri-footer__logo img {
	display: block;
	width: 100%;
	height: auto;
}

#footer-outer .ri-footer__nav {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px 25px;
	margin: 0 auto 32px;
	font-size: 13px;
}

#footer-outer .ri-footer__nav a,
#footer-outer .ri-footer__legal a {
	color: #fff;
	text-decoration: none;
}

#footer-outer .ri-footer__contacts {
	display: flex;
	justify-content: center;
	gap: 20px;
	margin-bottom: 76px;
}

#footer-outer .ri-footer__contacts a {
	display: inline-flex;
	min-width: min(425px, calc(50% - 10px));
	min-height: 85px;
	align-items: center;
	justify-content: center;
	gap: 17px;
	padding: 15px 26px;
	border: 1px solid rgba(255,255,255,.25);
	border-radius: 48px;
	background: rgba(236, 241, 248, .42);
	color: #fff;
	font-size: 15px;
	text-decoration: none;
}

#footer-outer .ri-footer__contacts a span {
	font-size: 21px;
}

#footer-outer .ri-footer__contacts a span img {
	display: block;
	max-width: none;
	height: auto;
}

#footer-outer .ri-footer__legal {
	display: flex;
	justify-content: center;
	gap: 28px;
	padding-top: 20px;
	border-top: 1px solid rgba(255,255,255,.22);
	font-size: 11px;
}

@media (max-width: 820px) {
	#footer-outer #footer-widgets > .container {
		width: calc(100% - 48px);
	}

	#footer-outer .ri-footer__contacts a {
		min-width: 0;
		flex: 1 1 0;
	}
}

@media (max-width: 560px) {
	#footer-outer #footer-widgets > .container {
		width: calc(100% - 36px);
	}

	#footer-outer .ri-footer {
		padding: 82px 0 30px;
	}

	#footer-outer .ri-footer__nav {
		gap: 10px 17px;
		margin-bottom: 25px;
		font-size: 11px;
	}

	#footer-outer .ri-footer__contacts {
		flex-direction: column;
		gap: 10px;
		margin-bottom: 25px;
	}

	#footer-outer .ri-footer__contacts a {
		min-height: 64px;
		font-size: 13px;
	}

	#footer-outer .ri-footer__legal {
		flex-wrap: wrap;
		gap: 10px 20px;
		font-size: 10px;
	}
}
