/* -----------------------------------------------------------------------------
   telix.pl fancy footer (golem.de-style), loaded site-wide.
-------------------------------------------------------------------------------- */

/* Hide GeneratePress's default footer (widgets + copyright) — we render our own.
   NOTE: this also visually hides a spam "footer widget" that was injected into the
   site; that widget should be removed from the DB, not just hidden (see
   migration/remove-footer-spam-widget.php). */
.site-footer { display: none !important; }

.telix-footer {
	background: #14181f;
	color: #aeb4bf;
	margin-top: 56px;
	-webkit-font-smoothing: antialiased;
}

.telix-footer__inner {
	max-width: 1250px;
	margin: 0 auto;
	padding: 54px 20px 40px;
	display: grid;
	grid-template-columns: minmax(220px, 1fr) 2.7fr;
	gap: 52px;
}

/* ----- Brand block --------------------------------------------------------- */
.telix-footer__logo { display: inline-block; }
.telix-footer__logo img { max-height: 40px; width: auto; height: auto; display: block; }
.telix-footer__logo-text { font-size: 1.5rem; font-weight: 800; color: #fff; letter-spacing: -.01em; }

.telix-footer__tagline {
	margin: 16px 0 20px;
	font-size: .9rem;
	line-height: 1.6;
	color: #8b919c;
	max-width: 300px;
}

.telix-footer__social { display: flex; gap: 10px; }
.telix-footer__soc {
	width: 38px;
	height: 38px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: rgba(255, 255, 255, .07);
	color: #c2c7d0;
	transition: background .15s ease, color .15s ease, transform .15s ease;
}
.telix-footer__soc svg { width: 18px; height: 18px; }
.telix-footer__soc:hover {
	background: var(--telix-accent, #ffcc00);
	color: #14181f;
	transform: translateY(-2px);
}

/* ----- Category columns ---------------------------------------------------- */
.telix-footer__cols {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
	gap: 30px 26px;
}
.telix-footer__col-head {
	position: relative;
	font-size: .82rem;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: .04em;
	margin: 0 0 16px;
	padding-bottom: 9px;
}
.telix-footer__col-head a { color: #fff; text-decoration: none; }
.telix-footer__col-head a:hover { color: var(--telix-accent, #ffcc00); }
.telix-footer__col-head::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 26px;
	height: 2px;
	background: var(--telix-accent, #ffcc00);
}

.telix-footer__col ul { list-style: none; margin: 0; padding: 0; }
.telix-footer__col li { margin-bottom: 9px; }
.telix-footer__col a {
	color: #aeb4bf;
	font-size: .88rem;
	text-decoration: none;
	transition: color .15s ease;
}
.telix-footer__col a:hover { color: var(--telix-accent, #ffcc00); }

/* ----- Bottom bar ---------------------------------------------------------- */
.telix-footer__bar { border-top: 1px solid rgba(255, 255, 255, .09); }
.telix-footer__bar-inner {
	max-width: 1250px;
	margin: 0 auto;
	padding: 18px 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
	font-size: .85rem;
}
.telix-footer__copy { margin: 0; color: #8b919c; }
.telix-footer__copy strong { color: #fff; font-weight: 700; }

.telix-footer__legal {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin: 0;
	padding: 0;
}
.telix-footer__legal a { color: #aeb4bf; text-decoration: none; }
.telix-footer__legal a:hover { color: var(--telix-accent, #ffcc00); }

.telix-footer__top { color: #aeb4bf; text-decoration: none; white-space: nowrap; }
.telix-footer__top:hover { color: var(--telix-accent, #ffcc00); }

/* ----- Responsive ---------------------------------------------------------- */
@media (max-width: 768px) {
	.telix-footer__inner { grid-template-columns: 1fr; gap: 34px; padding-top: 40px; }
	.telix-footer__tagline { max-width: none; }
	.telix-footer__bar-inner { justify-content: flex-start; }
}
