/* Footer alignment — loaded after style.css */
.site-footer,
.site-footer * {
	box-sizing: border-box;
}

.site-footer {
	text-align: left !important;
}

.site-footer > .container {
	max-width: 1140px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.site-footer .widget-area {
	display: grid !important;
	grid-template-columns: 1fr !important;
	align-items: start !important;
	justify-items: stretch !important;
	gap: 24px !important;
	padding: 28px 0 20px !important;
	margin: 0 !important;
}

.site-footer .widget-area > .widget {
	float: none !important;
	width: 100% !important;
	max-width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
	text-align: left !important;
}

/* Equal title row so body text starts on one line */
.site-footer .widget-title {
	display: block !important;
	min-height: 0 !important;
	margin: 0 0 14px !important;
	padding: 0 !important;
	line-height: 1.2 !important;
	text-align: left !important;
}

.site-footer .widget_logo .widget-title {
	line-height: 1 !important;
	min-height: 0 !important;
}

.site-footer .widget_logo .custom-logo {
	display: block !important;
	max-width: 209px !important;
	width: 209px !important;
	height: auto !important;
	max-height: none !important;
	object-fit: contain !important;
	object-position: left center !important;
}

.site-footer .textwidget,
.site-footer .textwidget p {
	margin: 0 !important;
	max-width: none !important;
	width: 100% !important;
	text-align: left !important;
	line-height: 1.55 !important;
}

.site-footer .widget_logo .textwidget p {
	text-align: justify !important;
}

.site-footer .textwidget p + p {
	margin-top: 10px !important;
}

.site-footer .social-navigation:empty {
	display: none !important;
}

.site-footer .footer-useful-links {
	display: grid !important;
	grid-template-columns: 1fr 1fr !important;
	gap: 0 20px !important;
	align-items: start !important;
	margin: 0 !important;
	padding: 0 !important;
}

.site-footer .footer-useful-links > .menu {
	margin: 0 !important;
	padding: 0 !important;
	list-style: none !important;
}

.site-footer .footer-useful-links .menu li {
	margin: 0 0 8px !important;
	padding: 0 !important;
}

.site-footer .footer-useful-links .menu li:last-child {
	margin-bottom: 0 !important;
}

.site-footer-bottom {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 8px !important;
	padding: 16px 0 22px !important;
	margin: 0 !important;
	text-align: left !important;
}

.site-footer-bottom .site-footer-credits,
.site-footer-bottom .site-footer-cookies {
	width: 100% !important;
	margin: 0 !important;
	text-align: left !important;
}

@media (min-width: 992px) {
	.site-footer .widget-area {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr) !important;
		column-gap: 28px !important;
		row-gap: 0 !important;
		padding: 36px 0 18px !important;
	}

	.site-footer-bottom {
		flex-direction: row !important;
		align-items: center !important;
		justify-content: space-between !important;
		gap: 20px !important;
	}

	.site-footer-bottom .site-footer-credits {
		width: auto !important;
		flex: 0 0 auto !important;
		white-space: nowrap !important;
	}

	.site-footer-bottom .site-footer-cookies {
		width: auto !important;
		flex: 1 1 auto !important;
		text-align: right !important;
	}
}

@media (max-width: 991px) {
	.site-footer .footer-useful-links {
		grid-template-columns: 1fr 1fr !important;
		column-gap: 16px !important;
	}
}
