/**
 * Global footer.
 */

.tw-site-footer {
	margin-top: clamp(3rem, 8vw, 7rem);
	background: var(--tw-footer-bg);
	color: var(--tw-footer-text);
}

.tw-footer-grid {
	display: grid;
	padding-block: clamp(3.5rem, 7vw, 6rem);
	grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, 1fr));
	gap: clamp(2rem, 4vw, 4.5rem);
}

.tw-footer-logo-link,
.tw-footer-logo {
	display: block;
}

.tw-footer-logo {
	width: auto;
	max-width: 220px;
	max-height: 62px;
	object-fit: contain;
}

.tw-footer-title {
	color: var(--tw-footer-heading);
	font-size: 1.4rem;
	font-weight: 820;
	text-decoration: none;
}

.tw-footer-brand p {
	max-width: 36ch;
	margin-top: 1.25rem;
}

.tw-footer-column h2 {
	margin-bottom: 1rem;
	color: var(--tw-footer-heading);
	font-size: 1rem;
	letter-spacing: 0.02em;
}

.tw-footer-menu,
.tw-footer-contact ul,
.tw-footer-legal-menu,
.tw-social-links ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.tw-footer-menu li + li,
.tw-footer-contact li + li {
	margin-top: 0.65rem;
}

.tw-site-footer a {
	color: var(--tw-footer-link);
	text-decoration: none;
}

.tw-site-footer a:hover {
	color: var(--tw-footer-heading);
	text-decoration: underline;
}

.tw-social-links {
	margin-top: 1.5rem;
}

.tw-social-links ul {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem 1rem;
}

.tw-social-links a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 24px;
	min-height: 24px;
	font-size: 0.88rem;
	font-weight: 700;
}

.tw-social-links__icon {
	display: block;
	width: 20px;
	height: 20px;
}

.tw-footer-bottom {
	border-top: 1px solid var(--tw-footer-border);
}

.tw-footer-bottom-inner {
	display: flex;
	min-height: 76px;
	align-items: center;
	justify-content: space-between;
	gap: 1rem 2rem;
}

.tw-footer-bottom p {
	margin: 0;
	font-size: 0.83rem;
}

.tw-footer-legal-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.25rem;
}

.tw-footer-legal-menu a {
	font-size: 0.82rem;
}
