/* Shared footer. Global full-bleed and reset rules live in site-shell.css. */
.wp-block-block:has(.th-footer) {
	width: 100% !important;
	max-width: none !important;
	margin-block: 0 !important;
	padding: 0 !important;
}

.wp-site-blocks > *:has(+ .wp-block-block .th-footer) {
	margin-bottom: 0 !important;
}

.th-footer {
	padding: 54px 0 30px;
	background: #101719;
	color: var(--th-white);
	font-family: Arial, Helvetica, sans-serif;
}

.th-footer .th-container {
	width: min(var(--th-shell-width), calc(100% - 40px));
	margin: auto;
}

.th-footer-grid {
	display: grid;
	grid-template-columns: 1.4fr 1fr 1fr;
	gap: 50px;
}

.th-footer img {
	width: 230px;
	height: 80px;
	max-width: 230px;
	object-fit: contain;
	filter: invert(1);
	opacity: 0.86;
}

.th-footer p {
	max-width: 300px;
	color: #bfc7c8;
	font-size: 0.86rem;
	line-height: 1.65;
}

.th-footer h3 {
	margin: 0 0 15px;
	color: var(--th-white);
	font-size: 0.72rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
}

.th-footer ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.th-footer li {
	margin: 8px 0;
	color: #bfc7c8;
	font-size: 0.86rem;
}

.th-footer a {
	color: var(--th-white);
	text-decoration: none;
}

.th-copy {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	flex-wrap: wrap;
	margin-top: 38px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	color: #879193;
	font-size: 0.76rem;
}

.th-creator-credit {
	color: #879193;
}

.th-creator-credit a {
	color: #bfc7c8;
}

.th-creator-credit a:hover,
.th-creator-credit a:focus-visible {
	color: var(--th-white);
}

@media (max-width: 800px) {
	.th-footer-grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 560px) {
	.th-footer-grid {
		grid-template-columns: 1fr;
	}
}
