/* YAJTOOL Footer – light minimalist layout */
:root {
	--yaj-footer-bg: #f9f5f1;
	--yaj-footer-text: #333333;
	--yaj-footer-muted: #6b6560;
	--yaj-footer-border: #e8e2dc;
	--yaj-footer-heading: #111111;
}

/* Hide default Astra footer sections (fallback if PHP remove fails) */
.site-primary-footer-wrap,
.site-below-footer-wrap,
.site-above-footer-wrap {
	display: none !important;
}

#colophon.site-footer {
	background: var(--yaj-footer-bg) !important;
	padding: 0 !important;
	margin-top: 0 !important;
	border: none !important;
}

.yaj-site-footer {
	background: var(--yaj-footer-bg);
	color: var(--yaj-footer-text);
}

.yaj-site-footer__inner {
	max-width: var(--yaj-container-width, 1200px);
	margin: 0 auto;
	padding: 0 20px;
}

/* Main 4-column area */
.yaj-site-footer__main {
	padding: 52px 0 44px;
}

.yaj-site-footer__main .yaj-site-footer__inner {
	display: grid;
	grid-template-columns: 1.2fr 1fr 1fr 1fr;
	gap: 36px 28px;
	align-items: start;
}

.yaj-footer-col__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--yaj-footer-heading);
	margin: 0 0 14px;
	line-height: 1.3;
}

.yaj-footer-col--brand .custom-logo-link,
.yaj-footer-col--brand .yaj-footer-logo {
	display: inline-block;
}

.yaj-footer-col--brand .custom-logo,
.yaj-footer-col--brand img {
	max-width: 150px;
	height: auto;
	display: block;
}

.yaj-footer-logo {
	font-size: 22px;
	font-weight: 700;
	color: var(--yaj-footer-heading);
	text-decoration: none;
}

.yaj-footer-menu {
	list-style: none;
	margin: 0;
	padding: 0;
}

.yaj-footer-menu li {
	margin: 0 0 8px;
}

.yaj-footer-menu a {
	color: var(--yaj-footer-muted);
	text-decoration: none;
	font-size: 14px;
	line-height: 1.5;
	transition: color 0.2s ease;
}

.yaj-footer-menu a:hover {
	color: var(--yaj-blue, #0056b3);
}

/* Bottom bar */
.yaj-site-footer__bar {
	border-top: 1px solid var(--yaj-footer-border);
	padding: 16px 0 20px;
}

.yaj-site-footer__bar .yaj-site-footer__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.yaj-site-footer__secure,
.yaj-site-footer__copyright {
	margin: 0;
	font-size: 13px;
	line-height: 1.5;
	color: var(--yaj-footer-muted);
}

.site-footer {
	margin-top: 0;
	background: var(--yaj-footer-bg);
}

@media (max-width: 921px) {
	.yaj-site-footer__main .yaj-site-footer__inner {
		grid-template-columns: 1fr 1fr;
		gap: 32px 24px;
	}

	.yaj-footer-col--brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 544px) {
	.yaj-site-footer__main {
		padding: 36px 0 28px;
	}

	.yaj-site-footer__main .yaj-site-footer__inner {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.yaj-site-footer__bar .yaj-site-footer__inner {
		flex-direction: column;
		align-items: flex-start;
	}
}
