/* Site footer, mirroring the main joinnumu.com footer (Nuxt UI dark theme values). */
.nm-footer {
	--nm-bg: #0d0d13;
	--nm-border: rgba(255, 255, 255, 0.08);
	--nm-ring: rgba(255, 255, 255, 0.12);
	--nm-text: #fff;
	--nm-muted: #8f8fad;
	--nm-social-bg: #0a0a0f;
	--nm-social-hover: #13131f;

	border-top: 1px solid var(--nm-border);
	background: var(--nm-bg);
	color: var(--nm-text);
	font-family: Poppins, sans-serif;
	font-size: 16px;
	line-height: 24px;
	text-align: left;
}

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

/* The theme forces an Arabic font on RTL pages; the footer stays in Poppins like the main site. */
.nm-footer,
.nm-footer * {
	font-family: Poppins, sans-serif !important;
}

.nm-footer h3,
.nm-footer p,
.nm-footer ul {
	margin: 0;
	padding: 0;
}

.nm-footer ul {
	list-style: none;
}

.nm-footer a {
	text-decoration: none;
}

/* Same box as the theme's .container-site, so the footer lines up with the header and content. */
.nm-footer__inner {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
	padding: 56px 1.5rem 28px;
}

.nm-footer__left {
	margin-bottom: 40px;
}

.nm-footer__logo {
	display: block;
	width: auto;
	height: 32px;
	max-width: 100%;
	margin-bottom: 20px;
}

.nm-footer__desc {
	max-width: 332px;
	margin-bottom: 24px !important;
	color: var(--nm-muted);
	font-size: 16px;
	line-height: 26px;
	text-wrap: pretty;
}

.nm-footer__heading {
	color: var(--nm-text);
	font-size: 18px;
	font-weight: 700;
	line-height: 28px;
}

.nm-footer__heading--follow {
	margin-bottom: 16px !important;
}

.nm-footer__socials {
	display: flex;
	gap: 12px;
}

.nm-footer__social {
	display: inline-flex;
	align-items: center;
	padding: 8px;
	border-radius: 12px;
	background: var(--nm-social-bg);
	box-shadow: inset 0 0 0 1px var(--nm-ring);
	color: var(--nm-text);
	transition: background-color 0.15s ease, color 0.15s ease;
}

.nm-footer__social:hover {
	background: var(--nm-social-hover);
	color: var(--nm-text);
}

.nm-footer__social svg {
	display: block;
	flex-shrink: 0;
	width: 20px;
	height: 20px;
}

.nm-footer__center {
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.nm-footer__list {
	margin-top: 16px !important;
}

.nm-footer__list li + li {
	margin-top: 10px;
}

.nm-footer__link {
	display: flex;
	color: var(--nm-muted);
	font-size: 14px;
	line-height: 20px;
	border-radius: 6px;
	transition: color 0.15s ease;
}

.nm-footer__link:hover,
.nm-footer__link:focus-visible {
	color: var(--nm-text);
}

.nm-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	margin-top: 40px;
	padding-top: 24px;
	border-top: 1px solid var(--nm-border);
	color: var(--nm-muted);
	font-size: 14px;
	line-height: 20px;
}

.nm-footer__legal {
	display: flex;
	gap: 20px;
}

.nm-footer__legal a {
	color: var(--nm-muted);
	transition: color 0.15s ease;
}

.nm-footer__legal a:hover {
	color: var(--nm-text);
}

@media (min-width: 1024px) {
	.nm-footer__center {
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: minmax(0, 1fr);
	}
}

@media (min-width: 1280px) {
	.nm-footer__nav {
		display: grid;
		grid-template-columns: repeat(4, minmax(0, 1fr));
		gap: 32px;
	}

	.nm-footer__left {
		margin-bottom: 0;
	}

	.nm-footer__center {
		grid-column: span 3 / span 3;
	}
}
