/* ==========================================================================
   Ethan J. Hulbert — Global Footer 2026
   ========================================================================== */

footer.ejh-footer-2026 {
	box-sizing: border-box;
	width: 100%;
	margin: 0;
	padding: 0;
	background: #254621;
	color: #f7f7f2;
	border-top: 7px solid #6f8d67;
	font-family: 'Lato', Arial, sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.45;
	letter-spacing: 0.2px;
}

footer.ejh-footer-2026 *,
footer.ejh-footer-2026 *::before,
footer.ejh-footer-2026 *::after {
	box-sizing: border-box;
}

.ejh-footer-inner-2026 {
	width: min(1180px, calc(100% - 52px));
	margin: 0 auto;
	padding: 38px 0 122px;
}

/* Three-column layout ----------------------------------------------------- */

.ejh-footer-grid-2026 {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(120px, 0.8fr) minmax(120px, 0.8fr);
	gap: clamp(46px, 8vw, 128px);
	align-items: start;
}

.ejh-footer-identity-2026,
.ejh-footer-nav-2026,
.ejh-footer-social-2026 {
	min-width: 0;
}

/* Back to top ------------------------------------------------------------- */

.ejh-footer-return-2026 {
	appearance: none;
	-webkit-appearance: none;
	display: block;
	margin: 0 0 16px;
	padding: 0;
	border: 0;
	background: transparent;
	color: #dfe9dc;
	font-family: 'Lato', Arial, sans-serif;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.6px;
	text-transform: uppercase;
	cursor: pointer;
}

.ejh-footer-return-2026 span {
	display: inline-block;
	margin-right: 5px;
	font-size: 14px;
	line-height: 1;
	transition: transform 160ms ease;
}

.ejh-footer-return-2026:hover,
.ejh-footer-return-2026:focus-visible {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.ejh-footer-return-2026:hover span {
	transform: translateY(-2px);
}

.ejh-footer-return-2026:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 4px;
	border-radius: 2px;
}

/* Identity --------------------------------------------------------------- */

.ejh-footer-name-2026 {
	display: inline-block;
	margin: 0 0 8px;
	color: #ffffff !important;
	font-size: 19px;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.35px;
	text-decoration: none;
}

.ejh-footer-name-2026:hover,
.ejh-footer-name-2026:focus-visible {
	color: #ffffff !important;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ejh-footer-copyright-2026 {
	margin: 0;
	padding: 0;
	color: #e4eadf;
	font-family: 'Lato', Arial, sans-serif !important;
	font-size: 15px !important;
	font-weight: 400 !important;
	line-height: 1.35 !important;
	letter-spacing: 0.2px !important;
}

.ejh-year-start-2026,
.ejh-year-current-2026 {
	white-space: nowrap;
}

.ejh-year-separator-2026 {
	padding: 0 3px;
}

.ejh-footer-copyright-2026 .ejh-year-secret-2026,
.ejh-footer-copyright-2026 .ejh-year-secret-2026:link,
.ejh-footer-copyright-2026 .ejh-year-secret-2026:visited,
.ejh-footer-copyright-2026 .ejh-year-secret-2026:hover,
.ejh-footer-copyright-2026 .ejh-year-secret-2026:active {
	color: inherit !important;
	text-decoration: none !important;
}

.ejh-footer-copyright-2026 .ejh-year-secret-2026:focus-visible {
	outline: 1px dotted #ffffff;
	outline-offset: 2px;
}

/* Cheat trigger -----------------------------------------------------------
   Intentionally keeps the old-game / arcade-button treatment from the
   original footer, scaled down for the new layout.
   ----------------------------------------------------------------------- */

footer.ejh-footer-2026 #toggle-cheat-console.ejh-footer-cheat-2026 {
	appearance: none;
	-webkit-appearance: none;
	display: inline-block;
	width: auto;
	margin: 22px 0 0 !important;
	padding: 9px 11px 8px !important;
	border: 4px solid #222222 !important;
	border-radius: 0 !important;
	background: linear-gradient(to bottom, #888888, #555555) !important;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 2px 0 rgba(0, 0, 0, 0.28) !important;
	color: #ffffff !important;
	font-family: 'Press Start 2P', monospace !important;
	font-size: 10px !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
	letter-spacing: 1px !important;
	text-transform: uppercase !important;
	cursor: pointer;
	transition: transform 90ms ease-in-out, background 90ms ease-in-out, color 90ms ease-in-out, box-shadow 90ms ease-in-out !important;
}

footer.ejh-footer-2026 #toggle-cheat-console.ejh-footer-cheat-2026:hover,
footer.ejh-footer-2026 #toggle-cheat-console.ejh-footer-cheat-2026:focus-visible {
	background: linear-gradient(to bottom, #bbbbbb, #777777) !important;
	color: #ffff00 !important;
}

footer.ejh-footer-2026 #toggle-cheat-console.ejh-footer-cheat-2026:active {
	transform: translateY(4px) !important;
	box-shadow: inset 0 2px 2px rgba(0, 0, 0, 0.28), 0 0 0 rgba(0, 0, 0, 0) !important;
}

footer.ejh-footer-2026 #toggle-cheat-console.ejh-footer-cheat-2026:focus-visible {
	outline: 2px solid #ffff00;
	outline-offset: 4px;
}

/* Link columns ------------------------------------------------------------ */

.ejh-footer-nav-2026 ul,
.ejh-footer-social-2026 ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ejh-footer-nav-2026 li,
.ejh-footer-social-2026 li {
	margin: 0 0 9px !important;
	padding: 0;
	font-size: 16px;
	line-height: 1.35;
}

.ejh-footer-nav-2026 li:last-child,
.ejh-footer-social-2026 li:last-child {
	margin-bottom: 0 !important;
}

.ejh-footer-nav-2026 a,
.ejh-footer-social-2026 a,
.ejh-footer-nav-2026 a:link,
.ejh-footer-social-2026 a:link,
.ejh-footer-nav-2026 a:visited,
.ejh-footer-social-2026 a:visited {
	color: #f7f7f2 !important;
	font-weight: 400;
	letter-spacing: 0.2px;
	text-decoration: none;
}

.ejh-footer-nav-2026 a:hover,
.ejh-footer-social-2026 a:hover,
.ejh-footer-nav-2026 a:focus-visible,
.ejh-footer-social-2026 a:focus-visible {
	color: #ffffff !important;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.ejh-footer-nav-2026 a:focus-visible,
.ejh-footer-social-2026 a:focus-visible {
	outline: 2px solid #ffffff;
	outline-offset: 3px;
	border-radius: 2px;
}

/* Mobile ----------------------------------------------------------------- */

@media screen and (max-width: 767px) {
	.ejh-footer-inner-2026 {
		width: min(100% - 38px, 620px);
		padding: 32px 0 112px;
	}

	.ejh-footer-grid-2026 {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
		gap: 31px 28px;
	}

	.ejh-footer-identity-2026 {
		grid-column: 1 / -1;
	}

	.ejh-footer-return-2026 {
		margin-bottom: 15px;
		font-size: 11px;
	}

	.ejh-footer-name-2026 {
		font-size: 18px;
	}

	.ejh-footer-copyright-2026 {
		font-size: 15px !important;
	}

	footer.ejh-footer-2026 #toggle-cheat-console.ejh-footer-cheat-2026 {
		margin-top: 19px !important;
	}

	.ejh-footer-nav-2026 li,
	.ejh-footer-social-2026 li {
		margin-bottom: 10px !important;
		font-size: 16px;
	}
}

@media screen and (max-width: 360px) {
	.ejh-footer-inner-2026 {
		width: calc(100% - 30px);
	}

	.ejh-footer-grid-2026 {
		column-gap: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ejh-footer-return-2026 span,
	footer.ejh-footer-2026 #toggle-cheat-console.ejh-footer-cheat-2026 {
		transition: none !important;
	}
}
