/**
 * Footer — single-row: logo | menu + socials | © year name (white bg).
 */

.tws-site-footer {
	box-sizing: border-box;
	width: 100%;
	background: #ffffff;
	color: #6b6b6b;
	font-family: Geist, Inter, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	font-size: 15px;
	line-height: 1.45;
	margin-top: auto;
	border-top: 1px solid #f2f2f2;
}

.tws-site-footer__inner {
	box-sizing: border-box;
	max-width: 1380px;
	margin: 0 auto;
	padding: clamp(18px, 3.5vw, 28px) clamp(16px, 4vw, 28px);
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px 28px;
}

/* Left — Customizer Site Logo */
.tws-site-footer__logo-wrap {
	flex: 0 1 auto;
	min-width: 0;
	line-height: 0;
	display: flex;
	align-items: center;
}

.tws-site-footer__logo-wrap .custom-logo-link {
	display: inline-block;
	line-height: 0;
	text-decoration: none;
}

/* Site Identity logo image — not hand-built markup */
.tws-site-footer__logo-wrap .custom-logo-link img,
.tws-site-footer__logo-wrap .custom-logo {
	display: block;
	height: auto;
	width: auto;
	max-height: clamp(34px, 5vw, 44px);
	max-width: min(260px, 52vw);
	object-fit: contain;
}

.tws-site-footer__title-fallback {
	font-weight: 700;
	font-size: 1rem;
	text-decoration: none;
	color: #111;
	letter-spacing: -0.02em;
}

.tws-site-footer__title-fallback:hover,
.tws-site-footer__title-fallback:focus-visible {
	text-decoration: underline;
	color: #000;
}

/* Center — Footer menu + social */
.tws-site-footer__center {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: clamp(14px, 3vw, 28px);
	flex: 1 1 auto;
	min-width: 0;
}

.tws-site-footer__nav .tws-site-footer__menu {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 8px 22px;
}

.tws-site-footer__nav .tws-site-footer__menu a {
	text-decoration: none;
	color: #6b6b6b;
	font-size: 0.9375rem;
	font-weight: 400;
	transition: color 0.15s ease;
}

.tws-site-footer__nav .tws-site-footer__menu a:hover,
.tws-site-footer__nav .tws-site-footer__menu a:focus-visible {
	color: #333;
}

.tws-site-footer__social {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.tws-site-footer__social-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: #606369;
	text-decoration: none;
	line-height: 0;
	transition: color 0.15s ease, transform 0.15s ease;
}

.tws-site-footer__social-link:hover,
.tws-site-footer__social-link:focus-visible {
	color: #f3839f;
}

.tws-site-footer__icon {
	display: block;
	width: 18px;
	height: 18px;
	flex-shrink: 0;
}

/* Right — copyright */
.tws-site-footer__copyright {
	flex: 0 0 auto;
	min-width: 0;
	text-align: right;
}

.tws-site-footer__copy {
	margin: 0;
	font-size: 0.9375rem;
	font-weight: 400;
	color: #6b6b6b;
	white-space: nowrap;
}

@media (max-width: 900px) {
	.tws-site-footer__inner {
		justify-content: center;
		text-align: center;
	}

	.tws-site-footer__logo-wrap {
		flex: 1 1 100%;
		justify-content: center;
	}

	.tws-site-footer__copyright {
		flex: 1 1 100%;
		text-align: center;
	}

	.tws-site-footer__copy {
		white-space: normal;
	}
}

@media (max-width: 520px) {
	.tws-site-footer__center {
		flex-direction: column;
		gap: 14px;
	}
}
