.wsh-site-footer,
.wsh-site-footer * {
	box-sizing: border-box;
}

.wsh-site-footer {
	--wsh-footer-c1: #ffffff;
	--wsh-footer-c3: #c2c9cf;
	--wsh-footer-c4: #a2acb5;
	--wsh-footer-c5: #1a1a1a;
	--wsh-footer-c6: #466556;
	position: relative;
	z-index: 1;
	margin: 0;
	background: var(--wsh-footer-c5);
	color: var(--wsh-footer-c1);
	font-family: "IBM Plex Sans Thai", sans-serif;
}

.wsh-site-footer__inner {
	width: min(100% - clamp(2.5rem, 8.5vw, 12rem), 90rem);
	margin-inline: auto;
	padding-block: clamp(4.5rem, 7vw, 7rem) clamp(2rem, 3.5vw, 3rem);
}

.wsh-site-footer__grid {
	display: grid;
	grid-template-columns: minmax(20rem, 2.1fr) repeat(3, minmax(9.5rem, 1fr));
	gap: clamp(3rem, 5vw, 6rem);
}

.wsh-site-footer__brand {
	max-width: 31rem;
}

.wsh-site-footer .wsh-site-footer__wordmark.v21-logo {
	--ink: var(--wsh-footer-c1);
	display: inline-flex;
	width: auto;
	height: auto;
	color: var(--wsh-footer-c1);
	font-size: clamp(2rem, 3vw, 3.25rem);
	font-weight: 600;
	letter-spacing: -.025em;
	line-height: 1;
	text-decoration: none;
}

/* V21 geometry and motion come from the existing global Header logo.
 * Scale its fixed 22px geometry proportionally to the Footer wordmark. */
.wsh-site-footer .wsh-site-footer__wordmark .v21-panel > path {
	fill: currentColor;
}
.wsh-site-footer .wsh-site-footer__wordmark .v21-slot {
	width: .538em;
	height: .74em;
}

.wsh-site-footer .wsh-site-footer__wordmark .v21-slot svg {
	width: .840909em;
	height: .74em;
}

@media (hover: hover) and (pointer: fine) and (min-width: 1101px) {
	.wsh-site-footer .wsh-site-footer__wordmark.v21-logo:is(:hover, :focus-visible) .v21-suffix {
		transform: translate3d(.295455em, 0, 0);
	}
}

.wsh-site-footer__description {
	margin: 1.75rem 0 0;
	color: var(--wsh-footer-c3);
	font-size: 1rem;
	line-height: 1.75;
}

.wsh-site-footer__nav-title {
	margin: 0 0 1rem;
	color: var(--wsh-footer-c4);
	font-size: .8125rem;
	font-weight: 500;
	letter-spacing: .08em;
	line-height: 1.5;
}

.wsh-site-footer__links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.wsh-site-footer__links li + li {
	margin-top: .125rem;
}

.wsh-site-footer__links a,
.wsh-site-footer__legal {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 2.25rem;
	color: var(--wsh-footer-c1);
	font-size: .9375rem;
	line-height: 1.5;
	text-decoration: none;
}

.wsh-site-footer__link-label {
	position: relative;
	display: inline-block;
	line-height: inherit;
}

.wsh-site-footer .wsh-site-footer__links a:is(:hover, :focus-visible) {
	color: var(--wsh-footer-c1);
}

.wsh-site-footer__link-label::after {
	position: absolute;
	right: 0;
	bottom: .1em;
	left: 0;
	height: 1px;
	background: currentColor;
	content: "";
	transform: scaleX(0);
	transform-origin: right;
	transition: transform 220ms cubic-bezier(.22, .61, .36, 1);
}

.wsh-site-footer__links a:is(:hover, :focus-visible) .wsh-site-footer__link-label::after {
	transform: scaleX(1);
	transform-origin: left;
}

.wsh-site-footer__social-links {
	display: flex;
	gap: .25rem;
	margin: 1rem 0 0 -.625rem;
	padding: 0;
	list-style: none;
}

.wsh-site-footer__social-links a {
	display: grid;
	width: 2.25rem;
	height: 2.25rem;
	align-items: center;
	justify-items: start;
	color: var(--wsh-footer-c1);
	transition: color 180ms ease, transform 180ms ease;
}

.wsh-site-footer__social-links svg {
	display: block;
	width: 2rem;
	height: 2rem;
}

/* Offset the TikTok mark to balance its optical gap with Facebook–Instagram. */
.wsh-site-footer__social-item--tiktok {
	margin-left: 9px;
}

.wsh-site-footer__social-links a:is(:hover, :focus-visible) {
	color: var(--wsh-footer-c6);
	transform: translateY(-2px);
}

.wsh-site-footer a:focus-visible {
	outline: 2px solid var(--wsh-footer-c3);
	outline-offset: 4px;
}

.wsh-site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	margin-top: clamp(4rem, 7vw, 7rem);
	padding-top: 1.5rem;
	border-top: 1px solid color-mix(in srgb, var(--wsh-footer-c4) 42%, transparent);
}

.wsh-site-footer__copyright {
	margin: 0;
	color: var(--wsh-footer-c4);
	font-size: .8125rem;
	line-height: 1.5;
}

.wsh-site-footer__legal {
	min-height: 2rem;
	color: var(--wsh-footer-c3);
	font-size: .8125rem;
	transition: color 180ms ease;
}

.wsh-site-footer__legal:is(:hover, :focus-visible) {
	color: var(--wsh-footer-c6);
}

@media (max-width: 1100px) {
	.wsh-site-footer__inner {
		width: calc(100% - 6rem);
	}

	.wsh-site-footer__grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 3.5rem 2.5rem;
	}

	.wsh-site-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767px) {
	.wsh-site-footer__inner {
		width: calc(100% - 2.5rem);
		padding-block: 4rem 1.75rem;
	}

	.wsh-site-footer__grid {
		grid-template-columns: 1fr;
		gap: 2.75rem;
	}

	.wsh-site-footer__brand {
		grid-column: auto;
	}

	.wsh-site-footer .wsh-site-footer__wordmark.v21-logo {
		font-size: 2.25rem;
	}

	.wsh-site-footer__description {
		margin-top: 1.25rem;
	}

	.wsh-site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
		margin-top: 3.5rem;
		padding-top: 1.25rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wsh-site-footer__link-label::after {
		transition: none;
	}

	.wsh-site-footer__legal {
		transition: none;
	}

	.wsh-site-footer__social-links a {
		transition: none;
	}

	.wsh-site-footer__social-links a:is(:hover, :focus-visible) {
		transform: none;
	}
}
