/* Site footer — refined dark layout */
.footer {
	margin-top: 0;
	background: linear-gradient(180deg, #121a2e 0%, #172238 100%);
	color: rgba(255, 255, 255, 0.72);
}

.footer::before {
	content: "";
	display: block;
	height: 2px;
	background: linear-gradient(90deg, transparent 0%, #15499a 18%, #2a7de8 50%, #15499a 82%, transparent 100%);
	opacity: 0.9;
}

.footer .footer-widgets-area .inner {
	max-width: 1280px;
	padding-left: 24px;
	padding-right: 24px;
}

.footer .foot-widgets,
.footer .footer-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 32px 28px;
	margin: 0 auto;
	padding: 56px 0 44px;
	width: 100%;
	box-sizing: border-box;
}

.footer .foot-widgets .widget {
	float: none;
	display: block;
	width: auto !important;
	padding: 0 !important;
	vertical-align: top;
	box-sizing: border-box;
}

.footer .foot-widgets .widget:nth-child(even) {
	padding: 0 !important;
	width: auto !important;
}

.footer .foot-widgets .widget-title,
.footer .foot-widgets .widget-title b {
	margin-bottom: 18px;
	padding-bottom: 12px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.3;
	text-align: left;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	color: rgba(255, 255, 255, 0.92) !important;
	background: transparent;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
	position: relative;
}

.footer .foot-widgets .widget-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 40px;
	height: 2px;
	background: linear-gradient(90deg, #15499a 0%, #2a7de8 100%);
	border-radius: 1px;
}

.footer .foot-widgets .textwidget,
.footer .foot-widgets .widget-section ul,
.footer .foot-widgets .widget p {
	font-size: 14px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.62);
}

.footer .foot-widgets .textwidget p,
.footer .foot-widgets .widget p {
	margin-bottom: 10px;
}

.footer .foot-widgets .textwidget p:last-child,
.footer .foot-widgets .widget p:last-child {
	margin-bottom: 0;
}

.footer .foot-widgets .textwidget strong {
	color: rgba(255, 255, 255, 0.42);
	font-weight: 600;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 0.06em;
}

.footer a:link,
.footer a:visited {
	color: rgba(255, 255, 255, 0.72) !important;
	text-decoration: none;
	transition: color 0.22s ease;
}

.footer a:hover {
	color: #2a7de8 !important;
}

.footer .foot-widgets .widget_nav_menu ul li a:hover,
.footer .foot-widgets .widget_nav_menu ul li:hover a {
	color: #2a7de8 !important;
}

.footer .foot-link-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer .foot-link-list li {
	margin: 0 0 6px;
	padding: 0;
}

.footer .foot-link-list li:last-child {
	margin-bottom: 0;
}

.footer .foot-link-list li::before {
	display: none !important;
}

.footer .foot-nav-widget .widget-title {
	margin-bottom: 14px;
	padding-bottom: 10px;
}

.footer .foot-nav-widget .foot-link-list a {
	display: inline-block;
	font-size: 13px;
	line-height: 1.45;
}

.footer .foot-bar,
.footer .footer-bottom {
	padding: 20px 0 24px;
	color: rgba(255, 255, 255, 0.45);
	background: #0f1524;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer .footer-bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 16px 24px;
	max-width: 1280px;
	padding-left: 24px;
	padding-right: 24px;
}

.footer .foot-bar-lt {
	float: none;
	max-width: none;
	flex: 1 1 320px;
}

.footer .foot-bar-lt p {
	margin: 0 0 6px;
	font-size: 12px;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.42);
}

.footer .foot-bar-lt p.foot-bar-copy {
	color: rgba(255, 255, 255, 0.5);
}

.footer .foot-bar-lt p.foot-bar-note {
	font-size: 11px;
	line-height: 1.55;
	color: rgba(255, 255, 255, 0.32);
}

.footer .foot-bar-lt p:last-child {
	margin-bottom: 0;
}

.footer .foot-bar-rt {
	float: none;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: flex-end;
	gap: 4px 0;
	max-width: none;
}

.footer .foot-bar-rt a {
	padding: 0 14px;
	font-size: 13px;
	line-height: 1.4;
	color: rgba(255, 255, 255, 0.55) !important;
	border-right: 1px solid rgba(255, 255, 255, 0.12);
}

.footer .foot-bar-rt a:last-child {
	padding-right: 0;
	border-right: none;
}

.footer .foot-bar-rt a:first-child {
	padding-left: 0;
}

.footer .foot-bar-rt a:hover,
.footer .foot-bar-rt a:active {
	color: #fff !important;
}

.footer .foot-widgets .widget .widget-title:after {
	display: none;
}

@media only screen and (max-width: 1199px) {
	.footer .foot-widgets,
	.footer .footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 28px 24px;
		padding-top: 48px;
	}
}

@media only screen and (max-width: 767px) {
	.footer .foot-widgets,
	.footer .footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 12px 14px;
		padding: 32px 0 24px;
	}

	.footer .foot-widgets .widget:first-child,
	.footer .foot-widgets .widget:last-child {
		grid-column: 1 / -1;
	}

	.footer .foot-nav-widget .widget-title {
		margin-bottom: 8px;
		padding-bottom: 6px;
		font-size: 12px;
	}

	.footer .foot-nav-widget .textwidget {
		display: grid;
		grid-template-columns: 1fr;
		gap: 0;
	}

	.footer .foot-nav-widget .foot-link-list {
		display: grid;
		grid-template-columns: 1fr;
		gap: 2px 0;
	}

	.footer .foot-nav-widget .foot-link-list li {
		margin: 0;
	}

	.footer .foot-nav-widget .foot-link-list a {
		display: block;
		padding: 3px 0;
		font-size: 12px;
		line-height: 1.35;
	}

	.footer .foot-widgets .widget:first-child .textwidget p,
	.footer .foot-widgets .widget:last-child .textwidget p {
		margin-bottom: 6px;
		font-size: 13px;
		line-height: 1.55;
	}

	.footer .foot-bar,
	.footer .footer-bottom {
		padding: 14px 0 50px;
	}

	.footer .footer-bottom-inner {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 10px;
		padding-left: 16px;
		padding-right: 16px;
	}

	.footer .foot-bar-lt {
		flex: none;
		width: 100%;
	}

	.footer .foot-bar-lt p {
		margin: 0;
		font-size: 11px;
		line-height: 1.45;
	}

	.footer .foot-bar-lt p.foot-bar-note,
	.footer .foot-bar-lt #web_share {
		display: none !important;
	}

	.footer .foot-bar-rt {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 6px 8px;
		width: 100%;
		justify-content: center;
	}

	.footer .foot-bar-rt a {
		padding: 6px 4px;
		font-size: 11px;
		line-height: 1.35;
		text-align: center;
		border-right: none;
		border-radius: 4px;
		background: rgba(255, 255, 255, 0.04);
	}

	.footer .foot-bar-rt a:not(:last-child)::after {
		display: none;
	}
}
