/**
 * Land Sellers Network — professional site footer.
 */

.ls-site-footer,
.ls-site-footer *,
.ls-site-footer *::before,
.ls-site-footer *::after {
	box-sizing: border-box;
}

.ls-site-footer {
	background: linear-gradient(
		180deg,
		var(--ls-chrome-bg, #1a301f) 0%,
		var(--ls-chrome-bg-deep, #14261a) 100%
	);
	color: rgba(232, 239, 233, 0.9);
	margin-top: 0;
	padding: 3rem 0 0;
	font-family: var(--ls-brand-font, "Source Sans 3", sans-serif);
	width: 100%;
	max-width: 100%;
	overflow-x: clip;
	border-top: 1px solid rgba(201, 168, 76, 0.28);
}

.ls-site-footer.alignfull {
	width: 100% !important;
	max-width: 100% !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	left: auto !important;
	right: auto !important;
}

.ls-site-footer__inner {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 0 var(--ls-page-gutter, 1.5rem);
}

.ls-site-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.4fr) repeat(3, minmax(0, 1fr));
	gap: 2rem 2.5rem;
	padding-bottom: 2.5rem;
	border-bottom: 0;
	min-width: 0;
}

.ls-site-footer__brand,
.ls-site-footer__col {
	min-width: 0;
}

.ls-site-footer__logo {
	margin: 0 0 0.35rem;
	font-size: 1.35rem;
	font-weight: 700;
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.ls-site-footer__logo a {
	color: #fff !important;
	text-decoration: none;
}

.ls-site-footer__logo a:hover,
.ls-site-footer__logo a:focus {
	color: var(--ls-chrome-accent-soft, #e0c36a) !important;
}

.ls-site-footer__tagline {
	margin: 0 0 0.75rem;
	font-size: 0.85rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--ls-chrome-accent, #c9a84c) !important;
}

.ls-site-footer__desc {
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.6;
	color: rgba(232, 239, 233, 0.82) !important;
	max-width: 28rem;
}

.ls-site-footer__social {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.65rem;
	list-style: none;
	margin: 1.15rem 0 0;
	padding: 0;
}

.ls-site-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.35rem;
	height: 2.35rem;
	border-radius: 999px;
	border: 1px solid rgba(255, 255, 255, 0.18);
	background: rgba(255, 255, 255, 0.06);
	color: #fff !important;
	text-decoration: none !important;
	transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.ls-site-footer__social-link:hover,
.ls-site-footer__social-link:focus {
	background: var(--ls-chrome-accent, #c9a84c);
	border-color: var(--ls-chrome-accent, #c9a84c);
	color: #1a1a1a !important;
}

.ls-site-footer__social-icon {
	display: block;
	fill: currentColor;
}

.ls-site-footer__social .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.ls-site-footer__heading {
	margin: 0 0 1rem;
	font-size: 0.8rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--ls-chrome-accent, #c9a84c) !important;
}

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

.ls-site-footer__links li + li {
	margin-top: 0.55rem;
}

.ls-site-footer__links a {
	color: rgba(232, 239, 233, 0.92) !important;
	text-decoration: none;
	font-size: 0.95rem;
	font-weight: 500;
	transition: color 0.15s ease;
	overflow-wrap: anywhere;
}

.ls-site-footer__links a:hover,
.ls-site-footer__links a:focus {
	color: var(--ls-chrome-accent-soft, #e0c36a) !important;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ls-site-footer__bottom {
	display: block;
	width: 100%;
	margin: 0;
	padding: 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	background: transparent;
	font-size: 0.85rem;
	color: rgba(232, 239, 233, 0.72);
}

.ls-site-footer__bottom-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.5rem;
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 1.15rem var(--ls-page-gutter, clamp(1rem, 2.5vw, 2.5rem)) 1.5rem;
	box-sizing: border-box;
	min-width: 0;
}

.ls-site-footer__copy {
	margin: 0;
	min-width: 0;
	overflow-wrap: anywhere;
	color: rgba(232, 239, 233, 0.72) !important;
}

.ls-site-footer__domain {
	margin: 0;
	flex-shrink: 0;
}

.ls-site-footer__domain a {
	color: rgba(232, 239, 233, 0.85) !important;
	text-decoration: none;
	font-weight: 600;
}

.ls-site-footer__domain a:hover,
.ls-site-footer__domain a:focus {
	color: var(--ls-chrome-accent-soft, #e0c36a) !important;
}

/* Hide legacy demo footer blocks if template-part filter misses edge cases. */
footer.wp-block-template-part .wp-block-group.alignfull:not(.ls-site-footer) {
	display: none;
}

footer.wp-block-template-part {
	max-width: 100%;
	overflow-x: clip;
}

@media (max-width: 960px) {
	.ls-site-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ls-site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 781px) {
	.ls-site-footer {
		padding-top: 2.25rem;
		padding-left: 1rem;
		padding-right: 1rem;
	}

	.ls-site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.75rem;
	}

	.ls-site-footer__brand {
		grid-column: auto;
	}

	.ls-site-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		padding-top: 1rem;
		padding-bottom: 1.35rem;
		gap: 0.65rem;
	}
}

@media (max-width: 560px) {
	.ls-site-footer {
		padding-top: 2.25rem;
	}

	.ls-site-footer__grid {
		grid-template-columns: minmax(0, 1fr);
		gap: 1.75rem;
	}

	.ls-site-footer__bottom-inner {
		flex-direction: column;
		align-items: flex-start;
		padding-top: 1rem;
		padding-bottom: 1.35rem;
	}
}
