/**
 * LicenceForge Brand Colour Overrides
 *
 * Overrides the 352 Digital Theme colour variables with the
 * LicenceForge brand palette (navy + green) extracted from the logo.
 *
 * Navy:  #1b3a55 (core) — authority, headings, dark sections
 * Green: #43895c (core) — CTAs, links, accents, active states
 *
 * @package LicenceForge_Theme
 * @since 1.0.0
 */

:root {
	/* ── Primary: Navy ──────────────────────── */
	--theme-352-primary: #1b3a55;
	--theme-352-primary-dark: #142d44;
	--theme-352-primary-light: #245070;

	/* ── Secondary: Dark Navy (text/headings) ── */
	--theme-352-secondary: #18355e;
	--theme-352-secondary-dark: #0f2440;
	--theme-352-secondary-light: #2a4d72;

	/* ── Accent: Green ─────────────────────── */
	--theme-352-accent: #43895c;
	--theme-352-accent-dark: #357548;
	--theme-352-accent-light: #4f9a68;

	/* ── Semantic (keep consistent) ─────────── */
	--theme-352-success: #43895c;
}

/*
 * Site-wide link and active-menu colour.
 * The parent uses --theme-352-primary for links; we shift interactive
 * elements to use the green accent while keeping structural elements navy.
 */
.primary-menu .current-menu-item > a,
.primary-menu a:hover,
.primary-menu a:focus {
	color: var(--theme-352-accent);
}

/* Breadcrumb links */
.breadcrumbs a:hover {
	color: var(--theme-352-accent);
}

/* Entry content links */
.entry-content a {
	color: var(--theme-352-accent);
}

.entry-content a:hover {
	color: var(--theme-352-accent-dark);
}

/* Back-to-top button */
.back-to-top {
	background-color: var(--theme-352-primary);
}

.back-to-top:hover {
	background-color: var(--theme-352-primary-dark);
}

/* ── Branded Footer ───────────────────────────────── */

.lf-footer {
	background-color: #0f2440;
	color: rgba(255, 255, 255, 0.8);
	padding: 4rem 0 0;
}

.lf-footer__container {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 1.5rem;
}

.lf-footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1fr;
	gap: 3rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

/* Brand column */
.lf-footer__brand {
	padding-right: 1rem;
}

.lf-footer__logo-link {
	display: inline-block;
	margin-bottom: 1rem;
}

.lf-footer__logo {
	max-width: 200px;
	height: auto;
	filter: brightness(0) invert(1);
}

.lf-footer__site-name {
	display: inline-block;
	font-size: 1.5rem;
	font-weight: 700;
	color: #fff;
	text-decoration: none;
	margin-bottom: 1rem;
}

.lf-footer__site-name:hover {
	color: var(--theme-352-accent);
}

.lf-footer__tagline {
	font-size: 0.9rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.55);
	margin: 0;
}

/* Link columns */
.lf-footer__heading {
	color: #fff;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	margin: 0 0 1.25rem;
}

.lf-footer__links {
	list-style: none;
	margin: 0;
	padding: 0;
}

.lf-footer__links li {
	margin-bottom: 0.65rem;
}

.lf-footer__links a {
	color: rgba(255, 255, 255, 0.65);
	text-decoration: none;
	font-size: 0.9rem;
	transition: color 0.2s ease;
}

.lf-footer__links a:hover,
.lf-footer__links a:focus {
	color: var(--theme-352-accent-light);
}

/* Bottom bar */
.lf-footer__bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem 0;
}

.lf-footer__copyright,
.lf-footer__credit {
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.4);
	margin: 0;
}

.lf-footer__credit a {
	color: rgba(255, 255, 255, 0.55);
	text-decoration: none;
	transition: color 0.2s ease;
}

.lf-footer__credit a:hover {
	color: var(--theme-352-accent-light);
}

/* ── Footer responsive ──────────────────────────── */
@media (max-width: 991px) {
	.lf-footer__grid {
		grid-template-columns: 1fr 1fr;
		gap: 2.5rem;
	}

	.lf-footer__brand {
		grid-column: 1 / -1;
		padding-right: 0;
	}
}

@media (max-width: 575px) {
	.lf-footer__grid {
		grid-template-columns: 1fr;
		gap: 2rem;
	}

	.lf-footer__bottom {
		flex-direction: column;
		gap: 0.5rem;
		text-align: center;
	}
}
