/* ─────────────────────────────────────────────────────────────
 * Network Footer Client — v1.4.0
 * Base layout neutral (no colors), variants via .theme-* + .font-*
 * Themes: default, dark, light, transparent
 * Font colors (optional override): font-light, font-dark
 * ─────────────────────────────────────────────────────────────*/

.footer-bar-align-left .footer-bar { float: none; }

/* ── Base layout (color-agnostic) ────────────────────────────── */
.network-footer-wrap {
	width: 100%;
	box-sizing: border-box;
}

.network-footer {
	width: 100%;
	margin: 0 auto;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 40px;
	padding: 40px 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.footer-column {
	padding: 15px;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.group-block {
	padding: 10px 15px;
	border-radius: 8px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.group-block h5 {
	font-size: 16px;
	font-weight: 400;
	padding-bottom: 5px;
	margin: 0 0 10px 0;
}

.sites-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.sites-list li { padding: 0; }

.sites-list a {
	text-decoration: none;
	font-size: 14px;
	transition: color .2s ease, transform .2s ease;
	display: block;
	padding: 0;
	float: none;
	width: auto;
	text-align: left;
	margin: 0;
}

.sites-list a:hover { transform: translateX(3px); }

/* ── Theme: default (backward-compat = dark-ish gray) ────────── */
.network-footer-wrap.theme-default {
	background: #2a2a2a;
	color: #999;
}
.network-footer-wrap.theme-default .group-block h5 {
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,.1);
}
.network-footer-wrap.theme-default .sites-list a { color: #808080; }
.network-footer-wrap.theme-default .sites-list a:hover { color: #fff; }

/* ── Theme: dark (deeper black) ──────────────────────────────── */
.network-footer-wrap.theme-dark {
	background: #111;
	color: #ccc;
}
.network-footer-wrap.theme-dark .group-block h5 {
	color: #fff;
	border-bottom: 1px solid rgba(255,255,255,.12);
}
.network-footer-wrap.theme-dark .sites-list a { color: #bbb; }
.network-footer-wrap.theme-dark .sites-list a:hover { color: #fff; }

/* ── Theme: light ────────────────────────────────────────────── */
.network-footer-wrap.theme-light {
	background: #fff;
	color: #333;
}
.network-footer-wrap.theme-light .group-block h5 {
	color: #111;
	border-bottom: 1px solid rgba(0,0,0,.1);
}
.network-footer-wrap.theme-light .sites-list a { color: #444; }
.network-footer-wrap.theme-light .sites-list a:hover { color: #000; }

/* ── Theme: transparent (inherit parent bg + color) ──────────── */
.network-footer-wrap.theme-transparent {
	background: transparent;
	color: inherit;
}
.network-footer-wrap.theme-transparent .group-block h5 {
	color: inherit;
	border-bottom: 1px solid rgba(127,127,127,.2);
	opacity: .9;
}
.network-footer-wrap.theme-transparent .sites-list a { color: inherit; opacity: .75; }
.network-footer-wrap.theme-transparent .sites-list a:hover { opacity: 1; }

/* ── Font color overrides (composable with any theme) ────────── */
.network-footer-wrap.font-light,
.network-footer-wrap.font-light .group-block h5,
.network-footer-wrap.font-light .sites-list a {
	color: #fff;
}
.network-footer-wrap.font-light .group-block h5 {
	border-bottom-color: rgba(255,255,255,.15);
}
.network-footer-wrap.font-light .sites-list a { color: rgba(255,255,255,.78); }
.network-footer-wrap.font-light .sites-list a:hover { color: #fff; }

.network-footer-wrap.font-dark,
.network-footer-wrap.font-dark .group-block h5,
.network-footer-wrap.font-dark .sites-list a {
	color: #111;
}
.network-footer-wrap.font-dark .group-block h5 {
	border-bottom-color: rgba(0,0,0,.15);
}
.network-footer-wrap.font-dark .sites-list a { color: rgba(0,0,0,.72); }
.network-footer-wrap.font-dark .sites-list a:hover { color: #000; }

/* ── Error placeholder ───────────────────────────────────────── */
.network-footer-error {
	color: #d63638;
	padding: 10px;
	background: #fde8e8;
	border: 1px solid #f5c2c7;
	border-radius: 4px;
	margin: 10px 0;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 1024px) {
	.network-footer {
		grid-template-columns: repeat(2, 1fr);
		gap: 30px;
		padding: 30px 15px;
	}
}
@media (max-width: 640px) {
	.network-footer {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 20px 15px;
	}
}
